/* Talea Catering — sito pubblico. Marchio Gruppo Talea, font self-hosted (nessuna chiamata a terzi). */

@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --ink: #142a2f;
  --ink-soft: #46595d;
  --deep: #1f3a40;
  --deep-2: #284a51;
  --teal: #557a82;
  --sage: #a3d1ae;
  --sage-2: #8fc49c;
  --sage-soft: #e4f1e7;
  --mist: #f2f6f4;
  --paper: #ffffff;
  --line: #dde6e2;
  --on-deep: #eef5f1;
  --on-deep-soft: #bcd3c7;
  --error: #b42318;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(72px, 10vw, 136px);
  --radius: 6px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--teal);
}
::selection { background: var(--sage); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; margin: 0; text-wrap: balance; font-optical-sizing: auto; }
h3 { letter-spacing: 0; font-weight: 450; }
p { margin: 0; text-wrap: pretty; }
svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible, .page-hero :focus-visible, .band :focus-visible, .quote-intro :focus-visible, .site-footer :focus-visible, .over-hero:not(.is-solid) :focus-visible, .service-panel:focus-visible { outline-color: var(--sage); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--deep); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 52px; padding: 0 26px;
  background: var(--deep); color: #fff;
  border: 1.5px solid var(--deep); border-radius: var(--radius);
  font: 600 16px/1 var(--sans); letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease-out);
}
.btn:hover { background: var(--deep-2); border-color: var(--deep-2); }
.btn:active { transform: translateY(1px); }
.btn svg { transition: transform 0.25s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sage-soft); border-color: var(--sage-soft); }
.btn-outline { background: transparent; color: var(--deep); }
.btn-outline:hover { background: var(--mist); }
.btn-sage, .hero .btn:not(.btn-ghost), .quote .btn { background: var(--sage); border-color: var(--sage); color: var(--ink); }
.btn-sage:hover, .hero .btn:not(.btn-ghost):hover, .quote .btn:hover { background: #b6dcbf; border-color: #b6dcbf; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 600; color: var(--deep); text-decoration: none; border-bottom: 1.5px solid var(--sage-2); padding-bottom: 2px; }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow svg { transition: transform 0.25s var(--ease-out); }

/* ---------- Intestazione ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.site-header.over-hero { position: fixed; inset: 0 0 auto; background: transparent; border-color: transparent; color: #fff; }
.site-header.over-hero.is-solid { background: rgba(255, 255, 255, 0.97); border-color: var(--line); color: var(--ink); box-shadow: 0 6px 24px -18px rgba(20, 42, 47, 0.5); }
.header-in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo img { width: 40px; height: 40px; }
.logo-word { display: flex; align-items: baseline; gap: 7px; line-height: 1; }
.logo-talea { font: 700 21px/1 var(--sans); letter-spacing: 0.14em; }
.logo-catering { font: italic 400 23px/1 var(--serif); color: var(--teal); }
.over-hero:not(.is-solid) .logo-catering { color: var(--sage); }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav ul a { font-weight: 600; font-size: 15.5px; text-decoration: none; padding: 6px 0; border-bottom: 1.5px solid transparent; transition: border-color 0.2s; }
.nav ul a:hover, .nav ul a[aria-current="page"] { border-color: var(--sage-2); }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.over-hero:not(.is-solid) .btn-small { background: var(--sage); border-color: var(--sage); color: var(--ink); }
.header-call, .header-quote { display: none; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; background: none; color: inherit; cursor: pointer; border-radius: var(--radius); }
.menu-toggle svg { width: 28px; height: 28px; margin: auto; }
.menu-toggle svg + svg, .menu-open .menu-toggle svg:first-of-type { display: none; }
.menu-open .menu-toggle svg + svg { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 940px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--deep); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; animation: settle 2.4s var(--ease-out) both; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 42, 47, 0.86) 0%, rgba(20, 42, 47, 0.6) 42%, rgba(20, 42, 47, 0.08) 78%),
    linear-gradient(0deg, rgba(20, 42, 47, 0.55) 0%, rgba(20, 42, 47, 0) 45%);
}
@media (min-width: 961px) {
  /* la foto occupa la destra, il testo sta su un fondo pieno che sfuma nella foto */
  .hero-img { left: auto; width: 68%; object-position: 30% 40%; }
  .hero::after {
    background:
      linear-gradient(90deg, var(--deep) 0%, var(--deep) 32%, rgba(31, 58, 64, 0.82) 42%, rgba(31, 58, 64, 0.2) 62%, rgba(31, 58, 64, 0) 80%),
      linear-gradient(0deg, rgba(20, 42, 47, 0.45) 0%, rgba(20, 42, 47, 0) 40%);
  }
}
.hero-in { position: relative; z-index: 1; padding: calc(var(--header-h) + 64px) 0 clamp(64px, 11vh, 120px); }
.hero h1 { font-size: clamp(2.7rem, 6.2vw, 5.6rem); max-width: 12ch; line-height: 1.04; letter-spacing: -0.01em; animation: rise 1.1s 0.15s var(--ease-out) both; }
.hero .lead { margin-top: 24px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 40ch; color: var(--on-deep); animation: rise 1.1s 0.3s var(--ease-out) both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero .hero-actions { animation: rise 1.1s 0.45s var(--ease-out) both; }
@keyframes settle { from { transform: scale(1.07); filter: brightness(0.8); } to { transform: none; filter: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Testata pagine interne ---------- */
.page-hero { position: relative; min-height: clamp(380px, 58vh, 560px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--deep); }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 42, 47, 0.9) 0%, rgba(20, 42, 47, 0.6) 55%, rgba(20, 42, 47, 0.3) 100%); }
.page-hero-in { position: relative; z-index: 1; padding: 120px 0 clamp(44px, 7vw, 76px); }
.page-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); max-width: 18ch; }
.page-hero .lead { margin-top: 18px; max-width: 58ch; font-size: clamp(1rem, 1.4vw, 1.18rem); color: var(--on-deep); }
.crumbs { font-size: 14px; margin-bottom: 18px; color: #e3ede8; font-weight: 500; }
.crumbs a { color: inherit; }
.crumbs a:hover { color: #fff; }
.article .crumbs { color: var(--ink-soft); }
.article .crumbs a:hover { color: var(--ink); }

/* ---------- Sezioni ---------- */
.section { padding: var(--section) 0; }
.section-tint { background: var(--mist); }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
.section-head p { margin-top: 16px; color: var(--ink-soft); font-size: 1.08rem; }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }

/* Servizi: pannelli fotografici */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.services-two { grid-template-columns: repeat(2, 1fr); }
.service-panel { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); color: #fff; text-decoration: none; background: var(--deep); }
.services-two .service-panel { aspect-ratio: 3 / 2; }
.service-panel img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.service-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 42, 47, 0.92) 0%, rgba(20, 42, 47, 0.55) 38%, rgba(20, 42, 47, 0) 70%); }
.service-panel:hover img { transform: scale(1.045); }
.service-text { position: absolute; inset: auto 0 0; z-index: 1; min-height: 46%; justify-content: flex-end; padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 8px; }
.service-name { font: 400 clamp(1.7rem, 2.4vw, 2.2rem)/1.05 var(--serif); }
.service-short { color: var(--on-deep); font-size: 15.5px; min-height: 3.1em; }
.service-more { display: inline-flex; align-items: center; gap: 0.4em; margin-top: 6px; font-weight: 600; font-size: 15px; color: var(--sage); }
.service-more svg { transition: transform 0.25s var(--ease-out); }
.service-panel:hover .service-more svg { transform: translateX(4px); }

/* Foto + testo */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-text h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
.points { margin: 32px 0 36px; display: grid; gap: 26px; }
.points div { padding-top: 22px; border-top: 1px solid #cddbd5; }
.points dt { font: 400 1.5rem/1.2 var(--serif); }
.points dd { margin: 8px 0 0; color: var(--ink-soft); }

/* Passaggi */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 40px); counter-reset: none; }
.steps li { padding-top: 26px; border-top: 2px solid var(--deep); }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sage); font: 600 17px/1 var(--sans); font-variant-numeric: tabular-nums; }
.steps h3 { margin-top: 20px; font-size: 1.5rem; }
.steps p { margin-top: 10px; color: var(--ink-soft); font-size: 16px; }

/* Fascia fotografica */
.band { position: relative; padding: clamp(96px, 14vw, 180px) 0; color: #fff; overflow: hidden; background: var(--deep); }
.band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(20, 42, 47, 0.78); }
.band-in { position: relative; z-index: 1; max-width: 760px; margin-left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); }
.band h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.band p { margin: 20px 0 32px; font-size: 1.12rem; color: var(--on-deep); max-width: 52ch; }

/* Articoli */
.posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 40px); }
.post-card { display: flex; flex-direction: column; text-decoration: none; }
.post-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border-radius: var(--radius); transition: opacity 0.3s; }
.post-card:hover img { opacity: 0.88; }
.post-meta { margin-top: 10px; font-size: 13.5px; font-weight: 600; letter-spacing: 0.02em; color: var(--teal); }
.post-title { margin-top: 18px; font: 400 1.5rem/1.2 var(--serif); text-wrap: balance; }
.post-card:hover .post-title { text-decoration: underline; text-decoration-color: var(--sage-2); text-underline-offset: 0.18em; }
.post-excerpt { margin-top: 10px; color: var(--ink-soft); font-size: 15.5px; }

/* Testo lungo */
.prose { max-width: 68ch; }
.prose h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: 24px; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 2.2em 0 0.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.35rem; margin: 1.8em 0 0.5em; }
.prose p, .prose ul, .prose ol, .prose blockquote { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--teal); }
.prose a { color: var(--deep); text-decoration-color: var(--sage-2); }
.prose strong { font-weight: 650; }
.prose blockquote { margin: 1.8em 0; padding: 22px 26px; background: var(--sage-soft); border-radius: var(--radius); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose .intro { font-size: 1.2rem; line-height: 1.6; color: var(--ink); margin-bottom: 1.6em; }
.prose-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.prose-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; position: sticky; top: calc(var(--header-h) + 24px); }
.prose-photo img { width: 100%; height: 100%; object-fit: cover; }
.ticks { list-style: none; padding: 0 !important; display: grid; gap: 4px; }
.ticks li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid var(--line); margin: 0 !important; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.aside-note { margin-top: 28px !important; color: var(--ink-soft); }
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.formats div { padding-top: 24px; border-top: 2px solid var(--deep); }
.formats h3 { font-size: 1.55rem; }
.formats p { margin-top: 10px; color: var(--ink-soft); }
.other-services { padding-top: var(--section); }

/* Articolo */
.article-head { padding: calc(var(--header-h) + 8px) 0 0; }
.article-head .wrap.narrow { padding-top: clamp(32px, 6vw, 64px); }
.article-head h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); margin-top: 14px; letter-spacing: -0.02em; }
.article-head .post-meta { margin-top: 22px; }
.article-head .lead { margin-top: 20px; font-size: 1.2rem; color: var(--ink-soft); }
.article-photo { margin: clamp(36px, 5vw, 56px) auto 0; max-width: 1100px; }
.article-photo img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius); }
.article-body { padding: clamp(40px, 6vw, 72px) 0 var(--section); font-size: 18px; }
.article .wrap.narrow { margin-inline: auto; }
.site-header:not(.over-hero) ~ main .article-head { padding-top: 0; }

/* ---------- Modulo preventivo ---------- */
.quote { background: var(--deep); color: var(--on-deep); padding: var(--section) 0; }
.quote-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.quote h2 { color: #fff; font-size: clamp(2.1rem, 4vw, 3.3rem); }
.quote-intro p { margin-top: 18px; font-size: 1.1rem; max-width: 40ch; }
.quote-direct { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 14px; }
.quote-direct a { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; }
.quote-direct svg { width: 22px; height: 22px; margin-top: 3px; color: var(--sage); }
.quote-direct span { display: flex; flex-direction: column; font-size: 15px; color: var(--on-deep-soft); }
.quote-direct strong { color: #fff; font-size: 1.1rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.quote-direct a:hover strong { text-decoration: underline; text-decoration-color: var(--sage); }
.quote-form { background: var(--paper); color: var(--ink); border-radius: calc(var(--radius) + 2px); padding: clamp(24px, 3.4vw, 44px); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.55); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field > span { font-weight: 600; font-size: 14.5px; }
.field small { font-weight: 400; color: var(--ink-soft); font-size: 13px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid #7d938c; border-radius: var(--radius); background: #fff; color: var(--ink);
  font: 400 16px/1.4 var(--sans);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f3a40' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.field input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0.7; cursor: pointer; filter: invert(18%) sepia(17%) saturate(1200%) hue-rotate(145deg); }
.field input::placeholder, .field textarea::placeholder { color: #5b6b6f; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--teal); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--deep); box-shadow: 0 0 0 4px rgba(163, 209, 174, 0.55); }
.field em, .check-error { font-style: normal; font-size: 13.5px; color: var(--error); font-weight: 500; }
.field em:empty, .check-error:empty { display: none; }
.field.has-error input { border-color: var(--error); }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 6px; font-size: 14.5px; color: var(--ink-soft); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--deep); flex: none; }
.check a { color: var(--deep); }
.quote-form .btn { margin-top: 18px; min-height: 56px; font-size: 17px; }
.quote-form .btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.form-error { margin-bottom: 18px; padding: 12px 16px; background: #fdecea; color: var(--error); border-radius: var(--radius); font-size: 15px; font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Pagine messaggio */
.message-page { padding: calc(var(--header-h) + 96px) 0 140px; background: var(--mist); }
.message-page h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.message-page .lead { margin-top: 20px; font-size: 1.15rem; color: var(--ink-soft); }
.message-page a:not(.btn) { color: var(--deep); }
.legal { padding-top: calc(var(--section) * 0.7); }

/* ---------- Piè di pagina ---------- */
.site-footer { background: var(--ink); color: var(--on-deep-soft); padding: 80px 0 32px; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { color: #fff; }
.footer-brand .logo-catering { color: var(--sage); }
.footer-brand p { margin-top: 20px; max-width: 34ch; }
.site-footer h2 { font: 600 13px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--on-deep); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--sage); }
.site-footer li a, .site-footer li span { display: inline-flex; align-items: center; gap: 10px; }
.site-footer li svg { color: var(--sage); }
.footer-legal { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: #93aaa2; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-phone span { display: none; }
  .nav ul { gap: 20px; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .menu-toggle { display: grid; margin-left: 0; }
  .header-call { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: auto; border-radius: var(--radius); color: inherit; }
  .header-call svg { width: 22px; height: 22px; }
  .header-quote { display: inline-flex; min-height: 40px; padding: 0 14px; font-size: 14px; }
  .over-hero:not(.is-solid) .header-quote { background: var(--sage); border-color: var(--sage); color: var(--ink); }
  .nav .btn-small { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; z-index: 29;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; color: var(--ink); padding: 8px var(--gutter) 28px;
    border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(20, 42, 47, 0.35);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.3s var(--ease-out), visibility 0s 0.3s;
  }
  .menu-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity 0.25s, transform 0.3s var(--ease-out); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 16px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav ul a[aria-current="page"] { border-color: var(--line); color: var(--teal); }
  .nav-phone { padding: 18px 0; font-size: 17px; }
  .nav-phone span { display: inline; }
  .nav .btn-small { min-height: 52px; font-size: 16px; }
  .menu-open .site-header.over-hero { background: #fff; color: var(--ink); }
  .menu-open .over-hero .logo-catering { color: var(--teal); }
  .services, .posts, .formats { grid-template-columns: 1fr; }
  .services-two { grid-template-columns: 1fr; }
  .service-panel { aspect-ratio: 4 / 3; }
  .split, .prose-split, .quote-grid { grid-template-columns: 1fr; }
  .split-photo { aspect-ratio: 4 / 3; }
  .prose-photo { position: static; aspect-ratio: 4 / 3; order: -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .posts { gap: 44px; }
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .logo img { width: 34px; height: 34px; }
  .logo-talea { font-size: 18px; }
  .logo-catering { font-size: 20px; }
  .hero { min-height: 100svh; }
  /* su telefono la foto sta nella metà alta, il testo sotto su fondo pieno */
  .hero-img { height: 54%; object-position: 70% 45%; }
  .hero::after { background: linear-gradient(0deg, var(--deep) 0%, var(--deep) 46%, rgba(31, 58, 64, 0) 62%), linear-gradient(180deg, rgba(20, 42, 47, 0.55) 0%, rgba(20, 42, 47, 0) 22%); }
  .hero-in { padding-top: 0; }
  .logo-word { gap: 5px; }
  .header-in { gap: 10px; }
  .header-quote { margin-left: auto; }
  .logo-talea { letter-spacing: 0.1em; }
  .hero-actions .btn { flex: 1 1 100%; }
  .fields { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .article-body { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
@media (max-width: 420px) {
  /* il telefono resta nel menu: in testata il preventivo e il menu */
  .header-call { display: none; }
  .logo img { width: 30px; height: 30px; }
  .logo { gap: 8px; }
  .logo-talea { font-size: 16px; }
  .logo-catering { font-size: 18px; }
}
