/* ==========================================================================
   GreenLife Dietetica — stile minimale, luminoso, moderno
   ========================================================================== */

:root {
  --bg: #FDFCF8;
  --bg-tint: #F3F6EF;
  --surface: #FFFFFF;
  --ink: #22302A;
  --muted: #5D6B62;
  --green: #2F6B4F;
  --green-deep: #245540;
  --green-soft: #E4EFE5;
  --line: #E6E4DA;
  --danger: #B3472E;
  --ok: #2F6B4F;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(34, 48, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(34, 48, 42, 0.14);

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--green); }

h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.15; }

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 24px;
}

.accent { color: var(--green); font-style: italic; }

.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

.ico {
  width: 18px; height: 18px;
  flex: none;
}
.ico--lg { width: 22px; height: 22px; color: var(--green); }
.ico--xl { width: 30px; height: 30px; color: var(--green); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(253, 252, 248, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(34, 48, 42, 0.06);
}

.header__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand__leaf {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  color: var(--green);
}

.brand__copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.brand__name {
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.015em;
  text-align: center;
  color: #454545;
}

.brand__text {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
}

.brand__text em {
  font-style: italic;
  font-weight: 400;
  color: var(--green);
}

.brand--light { color: #FDFCF8; }
.brand--light .brand__text em { color: #A9CC97; }
.brand--light .brand__leaf { color: #A9CC97; }
.brand--light .brand__name { color: #DEDEDE; }

.nav { display: flex; align-items: center; gap: 30px; }

.nav__link {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
  transition: color 0.2s ease;
}

.nav__link:hover { color: var(--green); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.nav-toggle__icon { width: 26px; height: 26px; }

.nav-toggle__icon--close { display: none; }

.nav-toggle.is-open .nav-toggle__icon--bars { display: none; }
.nav-toggle.is-open .nav-toggle__icon--close { display: block; }

/* --------------------------------------------------------------------------
   Bottoni
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1.5px solid var(--green);
  background: var(--green);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--ghost {
  background: transparent;
  color: var(--green);
}

.btn--ghost:hover { background: var(--green-soft); color: var(--green-deep); }

.btn--sm { padding: 10px 22px; font-size: 0.92rem; }

.btn--full { width: 100%; }

.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 96px;
  background:
    radial-gradient(52vw 60vh at 85% 12%, #EAF2E3 0%, transparent 62%),
    radial-gradient(40vw 50vh at 0% 100%, #F3F6EF 0%, transparent 55%),
    var(--bg);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero__title {
  font-size: clamp(2.4rem, 5.2vw, 3.9rem);
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.hero__lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34em;
  margin-bottom: 30px;
}

.hero__lead strong { color: var(--ink); font-weight: 600; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero__trust {
  list-style: none;
  display: grid;
  gap: 8px;
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.hero__trust .ico { color: var(--green); }

.hero__media {
  position: relative;
}

.hero__media > img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero__card {
  position: absolute;
  left: -28px;
  bottom: -26px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px 12px 12px;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.hero__card-logo {
  width: 56px;
  height: 56px;
  flex: none;
}

.hero__card strong { display: block; font-size: 0.95rem; line-height: 1.3; }
.hero__card span { font-size: 0.8rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Sezioni
   -------------------------------------------------------------------------- */

.section { padding: 96px 0; }

.section--tinted { background: var(--bg-tint); }

.section__head { max-width: 720px; margin-bottom: 56px; }

.section__head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  margin-bottom: 18px;
}

/* Titolo che deve stare su una sola riga (su schermi stretti torna a capo) */
.section__head h2.h2--line {
  white-space: nowrap;
  font-size: clamp(1.35rem, 2.9vw, 2.3rem);
}

@media (max-width: 760px) {
  .section__head h2.h2--line { white-space: normal; }
}

.section__intro { color: var(--muted); font-size: 1.1rem; }

/* --------------------------------------------------------------------------
   Chi sono / CV
   -------------------------------------------------------------------------- */

.about {
  position: relative;
}

/* L'immagine è galleggiante a destra: il testo la avvolge a sinistra */
.about__media {
  float: right;
  width: min(42%, 420px);
  margin: 8px 0 26px 44px;
}

.about__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about::after { content: ""; display: block; clear: both; }

.about > p { color: var(--muted); }

.about > p strong { color: var(--ink); }

.about > p + p { margin-top: 14px; }

/* Testo rimanente a sinistra + callout/curriculum a destra:
   griglia a due colonne, con un leggero margine per staccare dal testo sopra */
.about__grid {
  clear: right;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
  margin-top: 28px;
}

.about__columns p { color: var(--muted); }

.about__columns p + p { margin-top: 14px; }

.about__aside { display: grid; gap: 34px; align-content: start; }

.callout {
  display: flex;
  gap: 16px;
  padding: 24px 26px;
  background: var(--green-soft);
  border-radius: var(--radius);
  border-left: 4px solid var(--green);
}

.callout strong { display: block; margin-bottom: 6px; color: var(--green-deep); }

.callout p { font-size: 0.97rem; color: #40584B; }

.timeline__title {
  font-size: 1.35rem;
  margin-bottom: 22px;
}

.timeline__list {
  list-style: none;
  position: relative;
  display: grid;
  gap: 24px;
  padding-left: 26px;
}

.timeline__list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}

.timeline__list li { position: relative; }

.timeline__list li::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--green);
}

.timeline__year {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.timeline__list div { color: var(--muted); font-size: 0.99rem; }
.timeline__list div strong { color: var(--ink); }

/* --------------------------------------------------------------------------
   Vita sana
   -------------------------------------------------------------------------- */

.healthy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 72px;
}

.healthy__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.healthy__text p { color: var(--muted); }

.healthy__text p + p { margin-top: 16px; }

.healthy__text strong { color: var(--ink); }

.healthy__note {
  padding: 20px 22px;
  margin-top: 24px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--muted) !important;
  font-size: 0.98rem;
}

.pillars {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.pillar h3 { font-size: 1.3rem; margin: 14px 0 8px; }

.pillar p { font-size: 0.97rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Piramide
   -------------------------------------------------------------------------- */

.pyramid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.pyramid__media img { width: 100%; }

.pyramid__legend {
  list-style: none;
  display: grid;
  gap: 12px;
}

.pyramid__legend li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pyramid__legend li:hover { transform: translateX(4px); box-shadow: var(--shadow); }

.pyramid__legend strong { display: block; font-size: 0.97rem; line-height: 1.35; }

.pyramid__legend span:not(.chip) { font-size: 0.84rem; color: var(--muted); }

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green-deep);
}

.chip--1 { background: #F3E3B8; }
.chip--2 { background: #E8D5A3; }
.chip--3 { background: #D5DCA8; }
.chip--4 { background: #BBD5A6; }
.chip--5 { background: #9CCB93; }
.chip--6 { background: #7BB77E; }
.chip--7 { background: #4E9163; color: #fff; }

.pyramid__note {
  margin-top: 40px;
  font-size: 0.92rem;
  color: var(--muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Servizi
   -------------------------------------------------------------------------- */

.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card h3 { font-size: 1.35rem; margin: 16px 0 10px; }

.card p { color: var(--muted); font-size: 0.99rem; }

/* --------------------------------------------------------------------------
   Tariffe
   -------------------------------------------------------------------------- */

.tariffe-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

/* La foto riempie il riquadro mantenendo l'altezza della tariffa accanto. */
.tariffe-photo {
  position: relative;
  min-height: 240px;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.tariffe-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* La card "Certificazioni" occupa tutta la larghezza sotto tariffa e foto. */
.tariffe-grid .card:nth-child(3) { grid-column: 1 / -1; }

.price-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 14px 0 12px;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 10px;
  font-size: 0.99rem;
  color: var(--ink);
}

.price-list li:last-child { border-bottom: none; padding-bottom: 0; }

.price-list .price { color: var(--green); font-weight: 600; white-space: nowrap; }

.price-list__note { margin-top: 14px; font-size: 0.88rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Contatti
   -------------------------------------------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.info-list {
  list-style: none;
  display: grid;
  gap: 20px;
  margin-bottom: 28px;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.info-list .ico--lg { margin-top: 3px; }

.info-list strong { display: block; font-size: 1rem; }

.info-list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.info-list a:hover { color: var(--green); }

.info-list span { color: var(--muted); font-size: 0.97rem; }

.contact__note {
  font-size: 0.92rem;
  color: var(--muted);
  padding: 16px 18px;
  background: var(--bg-tint);
  border-radius: var(--radius-sm);
}

.contact__form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 20px;
}

/* --------------------------------------------------------------------------
   Sedi e orari
   -------------------------------------------------------------------------- */

.locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 64px;
}

.locations__title { grid-column: 1 / -1; margin-bottom: 2px; }

.location {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
}

.location h3 { font-size: 1.25rem; margin-bottom: 4px; }

.location__detail { color: var(--muted); font-size: 0.95rem; margin-bottom: 10px; }

.location__address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  margin-bottom: 16px;
}

.location__address .ico { margin-top: 3px; color: var(--green); flex-shrink: 0; }

.location__hours {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.location__hours li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.97rem;
}

.location__hours .ico { margin-top: 3px; color: var(--green); flex-shrink: 0; }

.location__note { font-size: 0.9rem; color: var(--muted); margin-bottom: 16px; }

.location__map {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--green);
  text-decoration: none;
}

.location__map:hover { text-decoration: underline; }

.locations-note { margin-top: 24px; }

.location { position: relative; padding-top: 28px; }

.location::before {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: var(--green);
  margin-bottom: 16px;
}

.location__hours li {
  background: var(--bg-tint);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

/* --------------------------------------------------------------------------
   Prenotazioni online
   -------------------------------------------------------------------------- */

.booking {
  margin-top: 40px;
  padding: 30px 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.booking h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.booking__intro { color: var(--muted); margin-bottom: 18px; }

.booking__links {
  display: grid;
  gap: 12px;
}

.booking__link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.booking__link:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
}

.booking__link .ico {
  color: var(--green);
  flex-shrink: 0;
  align-self: center;
}

.booking__link strong { color: var(--green); white-space: nowrap; }

.booking__link span { color: var(--muted); font-size: 0.94rem; }

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field { display: grid; gap: 7px; }

.field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.field label small { color: var(--muted); font-weight: 400; }

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(47, 107, 79, 0.12);
}

.field textarea { resize: vertical; min-height: 120px; }

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--danger); }

.field--hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field--checkbox .checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--muted);
  cursor: pointer;
}

.checkbox input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--green);
  flex: none;
}

.field__error {
  font-size: 0.85rem;
  color: var(--danger);
}

.form__status {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.97rem;
  font-weight: 500;
  text-align: center;
}

.form__status.is-ok {
  background: var(--green-soft);
  color: var(--green-deep);
  border: 1px solid #CBDFCB;
}

.form__status.is-error {
  background: #FBEFEA;
  color: var(--danger);
  border: 1px solid #F0D5CB;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  background: #1C3A2C;
  color: #C9D6CC;
  padding: 64px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer__brand p { margin-top: 16px; font-size: 0.95rem; }

.footer__nav {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer__nav a {
  color: #C9D6CC;
  text-decoration: none;
  font-size: 0.97rem;
  transition: color 0.2s ease;
}

.footer__nav a:hover { color: #fff; }

.footer__legal { font-size: 0.9rem; }

.footer__disclaimer {
  margin-top: 12px;
  font-size: 0.83rem;
  color: #93A89A;
}

.footer__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #93A89A;
}

/* --------------------------------------------------------------------------
   Animazioni di reveal
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn:hover, .pillar:hover, .card:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .hero__inner,
  .healthy,
  .pyramid,
  .contact { grid-template-columns: 1fr; gap: 48px; }

  .locations,
  .tariffe-grid { grid-template-columns: 1fr; gap: 20px; }

  .about__grid { grid-template-columns: 1fr; gap: 40px; }


  .about__media {
    float: none;
    width: auto;
    max-width: 440px;
    margin: 0 auto 30px;
  }

  .pillars { grid-template-columns: 1fr 1fr; }

  .hero { padding: 56px 0 72px; }

  .hero__card { left: 16px; }

  .section { padding: 72px 0; }
}

@media (max-width: 1040px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 12px 24px 20px;
    display: none;
  }

  .nav.is-open { display: flex; }

  .nav__link { padding: 14px 4px; border-bottom: 1px solid var(--line); }

  .nav__link.btn { margin-top: 14px; border-bottom: none; text-align: center; }

}

@media (max-width: 720px) {
  .header__inner { gap: 12px; }

  .header .brand { flex: 1; min-width: 0; }

  .brand__leaf { width: 38px; height: 38px; }

  .brand__text { font-size: clamp(1.05rem, 5vw, 1.7rem); }

  .brand__name { font-size: clamp(0.8rem, 3.6vw, 0.94rem); }

  .nav-toggle { flex-shrink: 0; }

  .form__row { grid-template-columns: 1fr; }

  .services { grid-template-columns: 1fr; }

  .pillars { grid-template-columns: 1fr; }

  .contact__form { padding: 26px 22px; }

  .footer__inner { grid-template-columns: 1fr; gap: 36px; }

  .hero__actions .btn { flex: 1; }

  .hero__card {
    position: relative;
    z-index: 1;
    margin-top: -48px;
    width: fit-content;
    max-width: calc(100% - 32px);
    border: 1px solid var(--line);
  }

  /* Mantiene visibile la qualifica anche su mobile. */
  .hero__card span { display: block; }

  /* Prenotazioni: nome sopra, descrizione sotto su tutta la larghezza */
  .booking { padding: 24px 20px; }

  .booking__link { flex-wrap: wrap; }

  .booking__link span { flex: 1 1 100%; }
}
