/* ============================================================
   Isabella Ferrara — isabellaferrara.it
   Design system: navy + arancio (dal logo), carta calda.
   Font: Libre Baskerville (titoli) + Inter (testo).
   ============================================================ */

:root {
  --navy: #12233d;
  --navy-2: #1a3050;
  --navy-3: #24405f;
  --paper: #fdfaf4;
  --cream: #f4ead9;
  --cream-ink: #cdd8e4;   /* testo secondario su navy */
  --cream-muted: #9fb3c8; /* testo terziario su navy */
  --orange: #d96f1e;      /* solo decorativo o su navy: su chiaro non passa AA */
  --orange-dark: #b0570e; /* riempimento bottoni: bianco sopra = 4.98:1 ✓ */
  --orange-dark-2: #9e4d08;
  --orange-text: #9c4d0c; /* testo arancio su fondi chiari: 5.8:1 ✓ */
  --green-wa: #17853f;    /* bianco sopra = 4.71:1 ✓ */
  --green-wa-2: #107c3e;
  --teal: #1d5b7a;
  --ink: #22303f;
  --muted: #5b6a79;
  --line: #e6dcc9;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(18, 35, 61, 0.10);
  --font-serif: "Libre Baskerville", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

[id] { scroll-margin-top: 90px; }

::selection { background: var(--orange); color: #fff; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  z-index: 100;
  background: var(--navy);
  color: var(--cream);
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  font-weight: 700;
  transition: top 0.2s;
}

.skip-link:focus { top: 0; }

/* Blindatura contro lo scorrimento orizzontale su mobile
   ("clip" non rompe position:sticky, a differenza di "hidden") */
html, body { overflow-x: clip; }

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

body.no-scroll { overflow: hidden; }

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

a { color: var(--orange-dark); }

h1, h2, h3 { font-family: var(--font-serif); line-height: 1.25; color: var(--navy); text-wrap: balance; }

h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin-bottom: 1.2rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; }

.container { width: min(1120px, 92%); margin: 0 auto; }

.section { padding: 4.5rem 0; }
.section--tight { padding: 3rem 0; }
.section--dark { background: var(--navy); }
.section--dark h2, .section--dark h3 { color: var(--cream); }
.section--dark p { color: var(--cream-ink); }
.section--dark a:not(.btn) {
  color: var(--cream);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 3px;
}
.section--cream { background: var(--cream); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-text);
  margin-bottom: 0.9rem;
}

.hero .eyebrow, .section--dark .eyebrow { color: var(--orange); }

.lead { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }
.section--dark .lead { color: var(--cream-ink); }

.center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

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

/* NB: niente backdrop-filter qui — creerebbe un "containing block" che
   intrappola il menu mobile (position: fixed) dentro l'header, rompendolo. */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 250, 244, 0.97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s;
}

.header.is-scrolled { box-shadow: 0 4px 18px rgba(18, 35, 61, 0.12); }

.header__quick { display: none; }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}

.header__logo img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 1.4rem; }

.nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover { color: var(--orange-dark); }

.nav a.is-active { color: var(--orange-dark); font-weight: 700; }

.nav__cta {
  background: var(--orange-dark);
  color: #fff !important;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 700 !important;
}

.nav__cta:hover { background: var(--orange-dark-2); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s, background 0.2s;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--orange-dark); color: #fff; }
.btn--primary:hover { background: var(--orange-dark-2); }

.btn--ghost {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn--ghost:hover { background: rgba(18, 35, 61, 0.07); }

/* Sugli sfondi scuri (hero, sezioni navy, pannelli CTA) il ghost diventa chiaro:
   senza queste regole il bottone era navy su navy, praticamente invisibile. */
.section--dark .btn--ghost,
.hero .btn--ghost,
.cta-band .btn--ghost {
  border-color: var(--cream);
  color: var(--cream);
}

.section--dark .btn--ghost:hover,
.hero .btn--ghost:hover,
.cta-band .btn--ghost:hover { background: rgba(244, 234, 217, 0.14); }

.btn--whatsapp {
  background: var(--green-wa);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.btn--whatsapp::before {
  content: "";
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" fill="white"><path d="M16 2.9C8.8 2.9 2.9 8.8 2.9 16c0 2.6.8 5 2.1 7.1L2.7 29.4l6.5-2.2c2 1.2 4.3 1.8 6.8 1.8 7.2 0 13.1-5.9 13.1-13.1S23.2 2.9 16 2.9zm0 23.9c-2.2 0-4.3-.6-6.1-1.7l-.4-.3-3.9 1.3 1.3-3.8-.3-.4a10.7 10.7 0 0 1-1.7-5.9C4.9 9.9 9.9 4.9 16 4.9S27.1 9.9 27.1 16 22.1 26.8 16 26.8zm6-8c-.3-.2-1.9-1-2.2-1.1-.3-.1-.5-.2-.7.2s-.8 1.1-1 1.3c-.2.2-.4.2-.7.1-.3-.2-1.4-.5-2.6-1.6-1-.9-1.6-1.9-1.8-2.2-.2-.3 0-.5.1-.7l.5-.6c.2-.2.2-.3.3-.6.1-.2 0-.4 0-.6l-1-2.4c-.3-.6-.5-.5-.7-.5h-.6c-.2 0-.6.1-.9.4-.3.3-1.1 1.1-1.1 2.7s1.2 3.1 1.3 3.3c.2.2 2.3 3.5 5.6 4.9.8.3 1.4.5 1.9.7.8.2 1.5.2 2.1.1.6-.1 1.9-.8 2.2-1.5.3-.8.3-1.4.2-1.5-.1-.2-.3-.3-.6-.4z"/></svg>') center/contain no-repeat;
}

.btn--whatsapp:hover { background-color: var(--green-wa-2); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }

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

.hero {
  background: linear-gradient(160deg, var(--navy) 55%, var(--navy-3) 100%);
  color: var(--cream);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  padding: 4.5rem 0;
}

.hero h1 { color: var(--cream); margin-bottom: 1.2rem; }

.hero p { color: var(--cream-ink); font-size: 1.15rem; max-width: 34rem; }

.hero__photo {
  display: flex;
  justify-content: center;
  align-self: center;
}

.hero__figure {
  background: linear-gradient(165deg, var(--navy-3), var(--teal));
  border: 1px solid rgba(244, 234, 217, 0.22);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.6rem 0;
  max-width: 290px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(6, 12, 24, 0.45);
}

.hero__figure img {
  max-height: 270px;
  width: auto;
  margin: 0 auto;
}

.hero__figure figcaption {
  background: rgba(18, 35, 61, 0.85);
  margin: 0 -1.6rem;
  padding: 0.8rem 1.2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--cream);
  border-top: 2px solid var(--orange);
}

.hero__figure figcaption span {
  display: block;
  color: var(--cream-muted);
  font-size: 0.78rem;
}

.hero--inner { padding: 4rem 0; }
.hero--inner h1 { margin-bottom: 0.8rem; }

/* ---------- Breadcrumb ---------- */

.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1.1rem;
  color: var(--cream-muted);
}

.breadcrumb a { color: var(--cream-ink); text-decoration: none; }
.breadcrumb a:hover { color: var(--cream); text-decoration: underline; }
.breadcrumb span[aria-current] { color: var(--cream); }

/* ---------- Trust strip ---------- */

.strip { background: var(--navy-2); padding: 1.1rem 0; }

.strip__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 2rem;
}

.strip__item { color: var(--cream-ink); font-size: 0.875rem; }
.strip__item strong { color: var(--cream); display: block; font-size: 1rem; }

/* ---------- Cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 2rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card { transition: transform 0.2s, box-shadow 0.2s; }

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(18, 35, 61, 0.14);
}

.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.9375rem; flex-grow: 1; }

.card__link {
  margin-top: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--orange-text);
}

.card__link::after { content: " →"; content: " →" / ""; }

.card--featured { border-top: 4px solid var(--orange); }

.card__tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--cream);
  color: #8f4509;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

/* ---------- Liste con spunta ---------- */

.ticks { list-style: none; margin-top: 1rem; }

.ticks li {
  padding-left: 1.7rem;
  position: relative;
  margin-bottom: 0.55rem;
}

.ticks li::before {
  content: "✓";
  content: "✓" / "";
  position: absolute;
  left: 0;
  color: var(--orange-text);
  font-weight: 700;
}

.section--dark .ticks li::before, .hero .ticks li::before { color: var(--orange); }

.section--dark .ticks li { color: #cdd8e4; }

/* ---------- Due colonne ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split--wide-left { grid-template-columns: 1.2fr 0.8fr; }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 2rem;
  counter-reset: step;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--orange);
  display: block;
  margin-bottom: 0.6rem;
}

.step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.9375rem; }

/* ---------- Sample / citazione portfolio ---------- */

.sample {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.sample__label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 0.6rem;
}

.sample p { color: var(--ink); font-style: italic; font-size: 0.9375rem; }

/* ---------- Prezzi lezioni ---------- */

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 2rem;
}

.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.price-card--featured {
  border: 2px solid var(--orange);
  position: relative;
}

/* La card in evidenza sporge senza transform: scale() sfocherebbe testo e bordi */
@media (min-width: 901px) {
  .price-card--featured { margin: -0.75rem 0; padding: 2.6rem 1.8rem; }
}

.price-card__badge {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card h3 { margin-bottom: 0.3rem; }

.price-card__hours { color: var(--muted); font-size: 0.95rem; }

.price-card__price {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--navy);
  margin: 1rem 0 0.2rem;
}

.price-card__rate { color: var(--muted); font-size: 0.875rem; margin-bottom: 1.4rem; }

.price-card .btn { margin-top: auto; }

/* ---------- Testimonianze (compaiono solo se compilate dal pannello admin) ---------- */

.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.testimonial blockquote {
  font-style: italic;
  color: var(--ink);
  flex-grow: 1;
  position: relative;
  padding-top: 1.6rem;
}

.testimonial blockquote::before {
  content: "\201C";
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--orange);
  position: absolute;
  top: -0.2rem;
  left: 0;
}

.testimonial cite {
  margin-top: 1.2rem;
  font-style: normal;
  font-weight: 700;
  color: var(--navy);
}

.testimonial cite span {
  display: block;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- FAQ ---------- */

.faq { max-width: 46rem; margin: 2rem auto 0; }

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem 1.3rem;
  margin-bottom: 0.8rem;
}

.faq summary {
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 1.6rem;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  content: "+" / "";
  position: absolute;
  right: 0;
  top: 0.05em;
  width: 1em;
  text-align: center;
  color: var(--orange-text);
  font-size: 1.2rem;
  line-height: 1.4;
}

.faq details[open] summary::after { content: "–"; content: "–" / ""; }

.faq details p { margin-top: 0.7rem; color: var(--muted); font-size: 0.9375rem; }

/* ---------- Tabelle ---------- */

/* La cornice arrotondata sta sul wrapper: con border-collapse
   il border-radius sul <table> non viene applicato dai browser */
.table-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

table.langs {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.9375rem;
}

table.langs th, table.langs td {
  padding: 0.8rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

table.langs th {
  background: var(--navy);
  color: var(--cream);
  font-weight: 600;
}

table.langs tr:last-child td { border-bottom: 0; }

/* ---------- CTA band: pannello navy autonomo, coerente su ogni sfondo ---------- */

.cta-band { text-align: center; }

.cta-band .container {
  background: linear-gradient(160deg, var(--navy) 55%, var(--navy-3) 100%);
  border-radius: 22px;
  border-top: 5px solid var(--orange);
  padding: 3.2rem 2rem;
  box-shadow: 0 20px 50px rgba(18, 35, 61, 0.25);
}

.cta-band h2 { margin-bottom: 0.8rem; color: var(--cream); }

.cta-band p { max-width: 38rem; margin: 0 auto; color: var(--cream-ink); }

.cta-band .btn-row { justify-content: center; }

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

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 2rem;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.contact-card h3 { margin-bottom: 0.5rem; }
.contact-card p { color: var(--muted); font-size: 0.9375rem; margin-bottom: 1.2rem; }

.contact-card__num {
  margin: 0.8rem 0 0 !important;
  font-size: 0.875rem !important;
  color: var(--muted);
}

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

.footer {
  background: var(--navy);
  color: var(--cream-ink);
  padding: 3rem 0 2rem;
  font-size: 0.9375rem;
}

.footer a { color: var(--cream); }

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__logo img { height: 40px; width: auto; margin-bottom: 0.9rem; }

.footer h4 {
  color: var(--cream);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
}

.footer ul { list-style: none; }
.footer li { margin-bottom: 0.45rem; }

.footer__legal {
  border-top: 1px solid var(--navy-3);
  padding-top: 1.4rem;
  font-size: 0.85rem;
  color: var(--cream-muted);
}

/* ---------- Reveal ----------
   L'animazione parte SOLO se il JS ha marcato <html class="js">:
   senza JavaScript i contenuti (prezzi inclusi) restano visibili. */

html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- WhatsApp float: etichetta visibile + anello pulsante ---------- */

.wa-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 60;
  height: 56px;
  padding: 0 1.2rem 0 0.9rem;
  border-radius: 999px;
  background: var(--green-wa);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s, background 0.2s;
}

/* Anello pulsante su pseudo-elemento: anima solo transform/opacity (compositor),
   niente repaint continuo come animare box-shadow */
.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 4px rgba(31, 168, 85, 0.5);
  animation: wa-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

.wa-float:hover { transform: scale(1.05); background: var(--green-wa-2); }

.wa-float svg { width: 30px; height: 30px; fill: #fff; flex-shrink: 0; }

.wa-float__text {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  70%, 100% { transform: scale(1.25); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float::after { animation: none; opacity: 0; }
}

@media (max-width: 600px) {
  .wa-float { padding: 0; width: 56px; justify-content: center; }
  .wa-float__text { display: none; }
}

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

@media print {
  .header, .footer, .wa-float, .nav-toggle, .btn, .btn-row, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .section--dark, .strip, .section--cream { background: #fff !important; }
  .hero h1, .section--dark h2, .section--dark h3 { color: #000 !important; }
  .hero p, .section--dark p, .section--dark .ticks li, .strip__item { color: #222 !important; }
  a::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}

/* Tablet: griglie a 2 colonne invece del salto diretto a 1 (righe troppo lunghe) */
@media (min-width: 601px) and (max-width: 900px) {
  .cards, .steps, .pricing, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .cards > :last-child:nth-child(odd),
  .steps > :last-child:nth-child(odd),
  .pricing > :last-child:nth-child(odd),
  .contact-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero__grid, .split, .split--wide-left { grid-template-columns: 1fr; }

  /* Meno scroll morto: il padding desktop (4.5rem) è eccessivo su schermi piccoli */
  .section { padding: 3rem 0; }

  /* La card "Il più scelto" per prima, dove lo sguardo arriva subito */
  .price-card--featured { order: -1; }

  .header__quick {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    margin-left: auto;
  }

  .header__quick:hover { background: var(--orange-dark); }

  .hero__grid { padding-top: 3rem; padding-bottom: 3rem; gap: 2rem; }
  .hero__figure { max-width: 240px; }
  .hero__figure img { max-height: 210px; }

  .cards, .steps, .pricing, .contact-grid { grid-template-columns: 1fr; }

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

  .nav {
    position: fixed;
    inset: 0;
    z-index: 65;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    padding: 4.5rem 1.5rem;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s;
  }

  .nav.is-open { transform: none; visibility: visible; }

  .nav a { color: var(--cream); font-size: 1.25rem; }

  .nav-toggle { display: block; z-index: 70; position: relative; }

  .nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--cream); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--cream); }

  /* Spazio in fondo perché il bottone WhatsApp flottante non copra i contenuti */
  .footer { padding-bottom: 6rem; }

  .cta-band .container { padding: 2.4rem 1.4rem; }
}
