/* ==========================================================
   BIOMA · Biondi Marziali Odontoiatria
   Landing page monopagina. Colori e font da Brandbook 2026.
   ========================================================== */

@font-face {
  font-family: "BDO Grotesk";
  src: url("../fonts/BDOGrotesk-VF.ttf") format("truetype");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand (Brandbook p.5) */
  --sage: #A5B3A3;
  --sand: #D1C1A9;
  /* Tinte derivate dal mockup */
  --sage-100: #E3E7E2;
  --cream: #F0EBE4;
  --ink: #222A24;          /* testo principale, bottoni */
  --ink-soft: #3B423C;     /* testo su sabbia */
  --muted: #5B625C;        /* testo secondario su fondi chiari */
  --white: #FFFFFF;
  --line: #D6DBD5;

  /* Accento: un solo punto di definizione */
  --cta-bg: var(--ink);
  --cta-fg: var(--white);

  --font: "BDO Grotesk", "Helvetica Neue", Arial, sans-serif;
  --radius-xl: 48px;
  --radius-lg: 32px;
  --radius-md: 24px;
  --container: 1200px;
  --gutter: 32px;
  --section-y: 96px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.bg-sage { background: var(--sage); }
.bg-sage-100 { background: var(--sage-100); }
.bg-cream { background: var(--cream); }
.bg-sand { background: var(--sand); }
.bg-white { background: var(--white); }

/* ---------- Componenti ---------- */
.eyebrow {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.bg-sage .eyebrow, .bg-sand .eyebrow { color: var(--ink); }

.h-display { font-size: clamp(44px, 5vw, 64px); }
.h-section { font-size: clamp(34px, 4.2vw, 54px); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); margin-top: 22px; max-width: 760px; }
.bg-sage .lead { color: var(--ink); }
.bg-sand .lead { color: var(--ink-soft); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 60px; padding: 16px 44px;
  border: 0; border-radius: 999px;
  background: var(--cta-bg); color: var(--cta-fg);
  font-size: 18px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.btn:hover { background: #0F1411; }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 48px; padding: 10px 26px; font-size: 16px; }
.btn--block { width: 100%; }
.microcopy { font-size: 15px; color: var(--muted); margin-top: 16px; }

.spark { width: 1em; height: 1em; flex: none; fill: currentColor; }

.media { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: var(--sand); }
.media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--sage); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 40px; }
.nav a:not(.btn) { text-decoration: none; font-size: 17px; font-weight: 500; color: var(--ink); }
.nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 6px; }
.menu-toggle { display: none; background: transparent; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 30px; height: 30px; display: block; }

/* ---------- Hero ---------- */
.hero { background: var(--sage-100); padding: 72px 0 56px; }
.hero__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 64px; align-items: center; }
.hero__text .lead { max-width: 560px; }
.hero__cta { margin-top: 36px; }
.hero__media { aspect-ratio: 3 / 3.9; max-height: 640px; width: 100%; }
.hero__media .spark-deco { position: absolute; top: 28px; right: 28px; width: 72px; height: 72px; fill: var(--white); }
.pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; padding: 0; list-style: none; }
.pills li { display: flex; align-items: center; gap: 14px; background: var(--white); border-radius: 999px; padding: 18px 26px; font-weight: 500; font-size: 17px; }
.pills .spark { color: var(--sage); width: 22px; height: 22px; }

/* ---------- Team ---------- */
.team__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; margin-top: 56px; align-items: start; }
.team__photo { aspect-ratio: 4 / 3; }
.team__photo img { object-position: 50% 0; }
.team__cards { display: flex; flex-direction: column; gap: 24px; }
.doc-card { position: relative; background: var(--white); border-radius: var(--radius-lg); padding: 36px 40px; flex: 1; }
.doc-card .spark { position: absolute; top: 34px; right: 34px; width: 34px; height: 34px; color: var(--sage); }
.doc-card h3 { font-size: 26px; padding-right: 44px; }
.doc-card .tags { font-size: 15px; font-weight: 600; color: var(--muted); margin-top: 10px; }
.doc-card p:last-child { margin-top: 18px; font-size: 17px; }
.team__cta { margin-top: 28px; }

/* ---------- Servizi ---------- */
.services__head { display: grid; grid-template-columns: 1.5fr 0.6fr; gap: 56px; align-items: center; }
.services__head .media { aspect-ratio: 3 / 2; border-radius: var(--radius-lg); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.svc { display: flex; flex-direction: column; border-radius: var(--radius-lg); padding: 32px 32px 30px; background: var(--sage-100); }
.svc:nth-child(3n+2) { background: var(--cream); }
.svc__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--sage); color: var(--white); margin-bottom: 26px; }
.svc:nth-child(3n+2) .svc__icon { background: var(--sand); }
.svc__icon .spark { width: 26px; height: 26px; }
.svc h3 { font-size: 24px; }
.svc .tags { font-size: 14px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.svc p { font-size: 17px; margin-top: 18px; }
.svc__link { margin-top: auto; padding-top: 24px; font-weight: 600; font-size: 17px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.svc__link:hover { text-decoration-thickness: 2px; }

/* ---------- Come lavoriamo ---------- */
.method__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: start; }
.method .lead { color: var(--ink); }
.ticks { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 26px; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; }
.ticks .spark { color: var(--white); width: 26px; height: 26px; margin-top: 2px; }
.ticks strong { display: block; font-size: 19px; }
.ticks span { display: block; font-size: 17px; margin-top: 4px; }
.method__note { margin-top: 36px; font-weight: 600; font-size: 19px; max-width: 620px; }
.method__cta { margin-top: 36px; }
.method__media { display: grid; gap: 40px; }
.method__media .media { aspect-ratio: 3 / 2; }

/* ---------- Comfort ---------- */
.comfort__grid { display: grid; grid-template-columns: 0.95fr 1fr; gap: 80px; align-items: center; }
.comfort__media { position: relative; padding-bottom: 60px; }
.comfort__media .media--main { aspect-ratio: 4 / 5; width: 88%; }
.comfort__media .media--small { position: absolute; right: 0; bottom: 0; width: 56%; aspect-ratio: 3 / 2; border-radius: var(--radius-lg); border: 8px solid var(--sage-100); }
.feature-cards { display: grid; gap: 18px; margin-top: 36px; }
.feature { display: grid; grid-template-columns: 30px 1fr; gap: 18px; background: var(--white); border-radius: var(--radius-md); padding: 24px 30px; }
.feature .spark { color: var(--sage); width: 28px; height: 28px; margin-top: 2px; }
.feature strong { display: block; font-size: 19px; }
.feature span { display: block; color: var(--muted); font-size: 17px; margin-top: 4px; }
.comfort__cta { margin-top: 36px; }

/* ---------- Instagram ---------- */
.reels__layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.reels__more { margin-top: 28px; }
.reels__follow { font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.reels__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.reel { margin: 0; }
.reel__frame { position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); }
.reel__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--ink); }
.reel__frame.is-playing::after, .reel__frame.is-playing .reel__play { display: none; }
.reel__error { position: absolute; inset: auto 16px 16px 16px; z-index: 4; background: var(--white); color: var(--ink); border-radius: 14px; padding: 10px 14px; font-size: 14px; }
.reel__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(34,42,36,0) 55%, rgba(34,42,36,.55) 100%); pointer-events: none; }
.reel__play { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: flex-start; padding: 24px; border: 0; background: transparent; cursor: pointer; color: var(--white); text-align: left; }
.reel__play span { display: inline-flex; align-items: center; gap: 10px; background: var(--white); color: var(--ink); border-radius: 999px; padding: 10px 20px 10px 14px; font-weight: 600; font-size: 16px; }
.reel__play svg { width: 26px; height: 26px; }
.reel figcaption { margin-top: 16px; font-size: 17px; }
.reel figcaption strong { display: block; font-size: 19px; }
.reel figcaption span { color: var(--muted); }

/* ---------- Come funziona ---------- */
.steps__head { text-align: center; }
.steps { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.step { text-align: center; }
.step__num { margin: 0 auto; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: var(--white); font-size: 36px; font-weight: 700; }
.step:nth-child(2) .step__num { background: var(--sand); }
.step h3 { font-size: 26px; margin-top: 30px; }
.step p { color: var(--muted); margin-top: 14px; font-size: 17px; }
.steps__cta { text-align: center; margin-top: 56px; }

/* ---------- Contatti / Form ---------- */
.contact__grid { display: grid; grid-template-columns: 0.9fr 1fr; gap: 64px; align-items: start; }
.info-card { background: var(--cream); border-radius: var(--radius-lg); padding: 36px 40px; margin-top: 44px; display: grid; gap: 22px; }
.info-card dt { font-weight: 700; font-size: 17px; }
.info-card dd { margin: 2px 0 0; color: var(--ink-soft); font-size: 17px; }
.info-card a { text-decoration: none; }
.info-card a:hover { text-decoration: underline; }
.info-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.chip-link { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 16px; font-size: 15px; font-weight: 600; text-decoration: none !important; }
.chip-link svg { width: 18px; height: 18px; }
.map-card { position: relative; margin-top: 28px; aspect-ratio: 3 / 1.6; border-radius: var(--radius-lg); overflow: hidden; background: var(--sage-100); }
.map-card__map { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.map-card__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 12px; padding: 22px 24px; font-size: 15px; color: var(--ink-soft); }
.map-card__placeholder p { max-width: 380px; }
.map-card.is-loaded .map-card__placeholder { display: none; }
.map-card__cover { display: none; position: absolute; inset: 0; z-index: 2; }
.map-card.is-loaded .map-card__cover { display: block; }
.map-card__link { position: absolute; left: 16px; bottom: 16px; z-index: 3; display: block; background: var(--white); border-radius: 18px; padding: 12px 18px; font-size: 15px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.map-card__link strong { display: block; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; }
.map-card__link:hover strong { text-decoration-thickness: 2px; }
.btn--light { background: var(--white); color: var(--ink); border: 1.5px solid var(--ink); }
.btn--light:hover { background: var(--cream); }

.form-card { background: var(--white); border-radius: var(--radius-xl); padding: 48px 48px 40px; }
.form-card h3 { font-size: 34px; margin-bottom: 28px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 16px; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 58px; padding: 14px 22px;
  background: var(--cream); border: 1.5px solid var(--line); border-radius: 18px;
  font-size: 17px; color: var(--ink);
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 130px; resize: vertical; border-radius: 18px; }
.field input::placeholder, .field textarea::placeholder { color: #7A817B; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23222A24' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 20px center; padding-right: 48px; }
.phone-row { display: grid; grid-template-columns: 128px 1fr; gap: 10px; }
.phone-row select { padding: 14px 34px 14px 16px; background-position: right 14px center; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; margin: 8px 0 26px; font-size: 15px; color: var(--muted); }
.check input { width: 24px !important; height: 24px; min-height: 0; margin: 0; accent-color: var(--ink); }
.check a { color: var(--ink); font-weight: 700; }
.form-msg { margin-top: 14px; font-size: 15px; color: #8A1C1C; min-height: 1em; }
.form-card .microcopy { text-align: center; }
.form-success { text-align: left; }
.form-success .spark { width: 44px; height: 44px; color: var(--sage); }
.form-success h3 { margin: 20px 0 14px; }
.form-success p { color: var(--muted); }
.form-success .demo { margin-top: 18px; font-size: 14px; background: var(--cream); padding: 12px 16px; border-radius: 12px; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; margin-top: 48px; }
.faq-item { background: var(--sage-100); border-radius: var(--radius-lg); padding: 32px 40px; }
.faq-item:nth-child(4n+2), .faq-item:nth-child(4n+3) { background: var(--cream); }
.faq-item h3 { font-size: 21px; letter-spacing: -0.01em; }
.faq-item p { color: var(--muted); margin-top: 10px; font-size: 17px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--sage); padding: 64px 0 28px; color: var(--ink); }
.footer__grid { display: grid; grid-template-columns: 0.8fr 1.6fr 0.6fr; gap: 40px; }
.footer__logo img { width: 210px; height: auto; }
.footer__info { font-size: 17px; line-height: 1.75; }
.footer__info strong { font-size: 18px; }
.footer__info a { text-decoration: none; }
.footer__info a:hover, .footer__links a:hover { text-decoration: underline; }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; align-content: start; }
.footer__links a { text-decoration: none; font-weight: 500; }
.footer__legal { border-top: 1px solid rgba(34,42,36,.25); margin-top: 48px; padding-top: 24px; font-size: 14px; }
.footer__copy { text-align: center; font-size: 14px; margin-top: 36px; }

/* ---------- Pagine legali ---------- */
.legal { padding: 64px 0 88px; }
.legal .container { max-width: 860px; }
.legal h1 { font-size: clamp(36px, 4.4vw, 52px); }
.legal .updated { color: var(--muted); margin-top: 14px; font-size: 16px; }
.legal h2 { font-size: 24px; margin: 44px 0 12px; letter-spacing: -0.01em; }
.legal h3 { font-size: 19px; margin: 24px 0 8px; }
.legal p, .legal li { font-size: 17px; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 10px 0 0; }
.legal li + li { margin-top: 6px; }
.legal a { font-weight: 700; color: var(--ink); }
.legal table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.legal th { background: var(--sage-100); font-weight: 700; }
.table-wrap { overflow-x: auto; }
mark.todo { background: #F4E7B8; color: var(--ink); padding: 0 4px; border-radius: 4px; }
.site-header--simple .container { justify-content: space-between; }
.footer__links button { background: none; border: 0; padding: 0; font: inherit; font-weight: 500; color: var(--ink); cursor: pointer; text-align: left; }
.footer__links button:hover { text-decoration: underline; }

/* ---------- Thank you page ---------- */
.ty { background: var(--sage-100); padding: 64px 0 88px; }
.ty__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: start; }
.ty__icon { width: 56px; height: 56px; color: var(--sage); }
.ty h1 { font-size: clamp(38px, 4.6vw, 58px); margin-top: 18px; }
.ty .lead { margin-top: 18px; }
.ty-steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 16px; counter-reset: s; }
.ty-steps li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; background: var(--white); border-radius: var(--radius-md); padding: 22px 26px; }
.ty-steps li::before { counter-increment: s; content: counter(s); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: var(--white); font-weight: 700; font-size: 22px; }
.ty-steps li:nth-child(2)::before { background: var(--sand); }
.ty-steps strong { display: block; font-size: 19px; }
.ty-steps span { display: block; color: var(--muted); margin-top: 4px; font-size: 17px; }
.ty__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ty-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; }
.ty-card__photo { aspect-ratio: 4 / 3; }
.ty-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.ty-card__body { padding: 28px 30px 32px; }
.ty-card h2 { font-size: 26px; }
.ty-card p { margin-top: 10px; color: var(--ink-soft); font-size: 17px; }
.ty-card .btn { margin-top: 20px; }
.ty-card .btn + .btn { margin-top: 10px; }
.btn--wa { background: var(--sage); color: var(--ink); }
.btn--wa:hover { background: #95A593; }
.btn svg { width: 22px; height: 22px; }
.ty-info { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 16px; color: var(--ink-soft); }
.ty-info strong { color: var(--ink); }

/* ---------- Banner cookie ---------- */
.cookie-banner { position: fixed; right: 24px; bottom: 24px; z-index: 80; width: min(520px, calc(100% - 48px)); background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 24px; padding: 24px 26px 22px; }
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 20px; letter-spacing: -0.01em; padding-right: 36px; }
.cookie-banner p { font-size: 15px; color: var(--ink-soft); margin-top: 10px; }
.cookie-banner a { color: var(--ink); font-weight: 700; }
.cookie-banner__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; font-size: 26px; line-height: 1; }
.cookie-banner__close:hover { background: var(--cream); }
.cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.cookie-banner__actions .btn { min-height: 48px; padding: 10px 16px; font-size: 16px; }
.cookie-banner__actions .cookie-banner__custom { grid-column: 1 / -1; background: transparent; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; min-height: 36px; }
.cookie-prefs { margin-top: 16px; display: grid; gap: 10px; }
.cookie-prefs[hidden] { display: none; }
.cookie-pref { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; background: var(--cream); border-radius: 16px; padding: 14px 16px; }
.cookie-pref strong { display: block; font-size: 16px; }
.cookie-pref span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.cookie-pref input { width: 22px; height: 22px; accent-color: var(--ink); }
.cookie-pref em { font-style: normal; font-size: 13px; color: var(--muted); }

/* ---------- Barra CTA mobile ---------- */
.sticky-cta { display: none; }

/* ---------- Comparsa sezioni ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .nav { gap: 24px; }
  .nav a:not(.btn) { font-size: 16px; }
  .hero__grid, .method__grid, .comfort__grid, .contact__grid { gap: 48px; }
}

@media (max-width: 920px) {
  .ty__grid { grid-template-columns: 1fr; }
  :root { --section-y: 72px; --header-h: 72px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--sage); padding: 8px var(--gutter) 28px;
    border-top: 1px solid rgba(34,42,36,.15);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 16px 0; font-size: 20px; border-bottom: 1px solid rgba(34,42,36,.12); }
  .nav .btn { margin-top: 20px; }
  .brand img { width: 128px; }

  .hero__grid, .team__grid, .services__head, .method__grid, .comfort__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__media { max-height: none; aspect-ratio: 4 / 4.4; }
  .services__head .media { max-width: 520px; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .reels__layout { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .comfort__media { order: 2; }
  .faq__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__logo { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; --section-y: 60px; --radius-xl: 32px; --radius-lg: 26px; }
  body { font-size: 17px; }
  .hero { padding: 28px 0 40px; }
  .h-display { font-size: 42px; }
  .h-section { font-size: 33px; }
  .lead { font-size: 18px; margin-top: 16px; }
  .hero__cta { margin-top: 24px; }
  .hero__cta .btn { width: 100%; }
  .hero__media { aspect-ratio: 4 / 4.2; }
  .hero__media .spark-deco { width: 48px; height: 48px; top: 18px; right: 18px; }
  .pills { grid-template-columns: 1fr; gap: 10px; margin-top: 32px; }
  .pills li { padding: 14px 20px; }
  .doc-card { padding: 28px 24px; }
  .doc-card .spark { top: 26px; right: 22px; width: 28px; height: 28px; }
  .doc-card h3 { font-size: 23px; }
  .services__grid { grid-template-columns: 1fr; gap: 18px; }
  .reels__grid { grid-template-columns: 1fr; gap: 28px; max-width: 360px; }
  .svc { padding: 26px 24px; }
  .method__media { gap: 18px; }
  .comfort__media { padding-bottom: 0; display: grid; gap: 14px; }
  .comfort__media .media--main { width: 100%; aspect-ratio: 4 / 4.4; }
  .comfort__media .media--small { position: static; width: 100%; border: 0; }
  .feature { padding: 20px 22px; gap: 14px; }
  .info-card { padding: 28px 24px; }
  .form-card { padding: 32px 22px 28px; }
  .form-card h3 { font-size: 28px; }
  .phone-row { grid-template-columns: 118px 1fr; }
  .faq-item { padding: 26px 24px; }
  .footer__grid { grid-template-columns: 1fr; }
  .btn { padding: 16px 32px; }
  .ty__grid { grid-template-columns: 1fr; }
  .ty { padding: 36px 0 64px; }
  .ty-steps li { grid-template-columns: 44px 1fr; padding: 18px 18px; gap: 14px; }
  .ty-steps li::before { width: 44px; height: 44px; font-size: 19px; }
  .ty__actions .btn { width: 100%; }
  .ty-card__body { padding: 24px 22px 26px; }
  .legal { padding: 40px 0 64px; }
  .cookie-banner { left: 0; right: 0; bottom: 0; width: 100%; border-radius: 22px 22px 0 0; border-width: 1px 0 0; padding: 20px 18px calc(16px + env(safe-area-inset-bottom)); }
  .map-card { aspect-ratio: 4 / 3.2; }

  .sticky-cta {
    display: flex; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: var(--white); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .sticky-cta.is-visible { transform: none; }
  .sticky-cta .btn { flex: 1; min-height: 52px; padding: 12px 18px; }
  .sticky-cta .wa { flex: none; width: 52px; min-height: 52px; padding: 0; border-radius: 50%; background: var(--sage); color: var(--ink); }
  .sticky-cta .wa svg { width: 24px; height: 24px; }
  body { padding-bottom: 76px; }
}
body.cookie-open .sticky-cta { display: none; }
