/* AV Digital Group · avdgroup.it
   Palette: il mare di Torvaianica di sera (blu-verde notte), la perla della schiuma, l'albicocca del tramonto.
   Caratteri serviti dal sito (SIL Open Font License, assets/fonts/): Bodoni Moda per i titoli, Archivo per il testo. */
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("assets/fonts/bodoni-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400 900; font-display: swap; src: url("assets/fonts/bodoni-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url("assets/fonts/archivo-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url("assets/fonts/archivo-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --night: #0D1B1E;
  --night-2: #14272B;
  --night-3: #1E373C;
  --pearl: #EEF0EC;
  --pearl-2: #E1E6E0;
  --pearl-3: #D2D9D2;
  --pearl-soft: #A9BAB7;
  --sea-ink: #0F2A2E;
  --sea-soft: #44605F;
  --apricot: #F4A261;
  --apricot-2: #F7B47E;
  --apricot-3: #F9C59A;

  --bg: var(--night);
  --surface: var(--night-2);
  --surface-2: var(--night-3);
  --ink: var(--pearl);
  --muted: var(--pearl-soft);
  --accent: var(--apricot);
  --on-accent: var(--night);

  --m: clamp(16px, 2.6vw, 40px);
  --gap: clamp(12px, 1.6vw, 24px);
  --section: clamp(112px, 13vw, 200px);
  --serif: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --sans: "Archivo", system-ui, sans-serif;
  --t-hero: clamp(54px, 7.2vw, 132px);
  --t-display: clamp(44px, 6.2vw, 112px);
  --t-statement: clamp(22px, 2.2vw, 32px);
  --t-body: clamp(17px, 1.2vw, 19px);
  --t-small: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
.light { --bg: var(--pearl); --surface: var(--pearl-2); --surface-2: var(--pearl-3); --ink: var(--sea-ink); --muted: var(--sea-soft); --accent: var(--apricot); --on-accent: var(--night); background: var(--bg); color: var(--ink); }
.warm { --bg: var(--apricot); --surface: var(--apricot-2); --surface-2: var(--apricot-3); --ink: var(--night); --muted: #4E3622; --accent: var(--night); --on-accent: var(--pearl); background: var(--bg); color: var(--ink); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; background: var(--night); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: var(--t-body); line-height: 1.55; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em { font-style: italic; }
::selection { background: var(--apricot); color: var(--night); }
:focus-visible { outline: 3px solid var(--apricot); outline-offset: 3px; }
.warm :focus-visible { outline-color: var(--night); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: var(--m); top: -60px; z-index: 100; padding: 10px 14px; background: var(--pearl); color: var(--night); text-decoration: none; }
.skip:focus { top: 12px; }

.display, .hero-title, .clauses, .foot-invite, .foot-word, .blank-sentence, .row-text h3, .legal-title { font-family: var(--serif); font-weight: 500; font-optical-sizing: auto; letter-spacing: -.02em; }
.display { font-size: var(--t-display); line-height: .98; }
.statement { font-size: var(--t-statement); line-height: 1.3; letter-spacing: -.005em; max-width: 30ch; }

/* ── Tasti: pillole piene ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: scale .25s var(--ease), background-color .25s, color .25s; }
.btn:active { scale: .97; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--ink); color: var(--bg); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: var(--accent); color: var(--on-accent); }
.btn-ghost { background: var(--surface-2); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-big { min-height: 60px; padding: 0 30px; font-size: 17px; }
.btn .wa { width: 20px; height: 20px; flex: none; }

/* ── Barra in alto ── */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 32px; height: 80px; padding: 0 var(--m); background: var(--night); color: var(--pearl); transition: transform .45s var(--ease); }
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; }
.brand img { width: 46px; filter: invert(1) brightness(1.6); }
.brand span { font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: -.01em; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { position: relative; font-weight: 500; font-size: 16px; text-decoration: none; color: var(--pearl); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--apricot); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav .btn-accent { --accent: var(--apricot); --on-accent: var(--night); --ink: var(--pearl); --bg: var(--night); }
.nav-menu { display: none; min-height: 44px; padding: 0 4px; border: 0; background: none; font-weight: 600; font-size: 17px; color: var(--pearl); cursor: pointer; }
.menu { position: fixed; inset: 80px 0 0; z-index: 49; display: flex; flex-direction: column; justify-content: space-between; padding: 24px var(--m) 32px; background: var(--night); }
.menu[hidden] { display: none; }
.menu nav { display: grid; }
.menu nav a { padding: 6px 0; font-family: var(--serif); font-size: 44px; text-decoration: none; }

/* ── Prima schermata: il mare che diventa AV ── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-start; overflow: hidden; background: var(--night); }
.sea { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-mark { position: absolute; right: 8vw; top: 20%; width: min(42vw, 600px); opacity: .9; }
.has-sea .hero-mark { display: none; }
.hero-copy { position: relative; z-index: 1; width: min(56%, 820px); padding: clamp(120px, 16svh, 168px) 0 0 var(--m); }
.hero-title { font-size: var(--t-hero); line-height: .98; }
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line-in { display: inline-block; white-space: nowrap; }
.hero-title em { color: var(--apricot); }
.hero-lede { max-width: 42ch; margin-top: 36px; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.5; color: var(--pearl); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ── Servizi: righe appese a un asse ── */
.services { padding: var(--section) var(--m); }
.services-intro { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-content: center; min-height: 56svh; }
.services-intro h2 { grid-column: 4 / 13; }
.services-intro .statement { grid-column: 4 / 10; margin-top: 40px; }
.row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; margin-top: clamp(88px, 9vw, 136px); }
.row-text { grid-column: 4 / 9; }
.row-text h3 { font-size: clamp(36px, 3.8vw, 62px); line-height: 1; }
.row-text p { max-width: 38ch; margin-top: 20px; }
.row-media { grid-column: 9 / 13; justify-self: end; width: 100%; }
.w-a { max-width: 240px; }
.w-b { max-width: 360px; }
.w-c { max-width: 420px; }
.w-d { max-width: 280px; }
.w-e { max-width: 340px; }

.phone { aspect-ratio: 9 / 17; padding: 10px; background: var(--night); border-radius: 32px; }
.phone-site { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 18px 14px; overflow: hidden; background: var(--pearl); color: var(--sea-ink); border-radius: 24px; }
.ps-logo { font-weight: 700; font-size: 14px; }
.ps-title { font-family: var(--serif); font-size: 28px; line-height: 1; }
.ps-btn { align-self: start; padding: 8px 14px; border-radius: 999px; background: var(--apricot); color: var(--night); font-size: 13px; font-weight: 600; }
.ps-img { flex: 1; min-height: 60px; overflow: hidden; border-radius: 12px; }
.ps-img img { width: 100%; height: 100%; object-fit: cover; }
.ps-line { height: 8px; border-radius: 4px; background: var(--pearl-3); }
.ps-line.short { width: 60%; }

.shop { padding: 22px; border-radius: 20px; background: var(--surface); font-size: 15px; }
.shop-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-size: 17px; }
.shop-top span { color: var(--muted); font-size: 14px; }
.shop-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; }
.shop-item small { display: block; color: var(--muted); font-size: 13px; }
.sw { width: 52px; height: 52px; border-radius: 10px; background: var(--c); }
.shop-total { display: flex; justify-content: space-between; padding-top: 10px; color: var(--muted); }
.shop-total.big { color: var(--ink); font-weight: 700; font-size: 18px; }
.shop-pay { display: block; margin-top: 16px; padding: 13px; border-radius: 999px; background: var(--sea-ink); color: var(--pearl); text-align: center; font-weight: 600; }

.crop-app { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 0 0; border-radius: 16px; }

.ad { overflow: hidden; border-radius: 18px; background: #fff; font-size: 14px; color: var(--sea-ink); }
.ad-head { display: flex; gap: 10px; align-items: center; padding: 12px; }
.ad-head small { display: block; color: var(--sea-soft); font-size: 13px; }
.ad-av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sea-ink); color: var(--pearl); font-size: 13px; font-weight: 700; }
.ad-img { aspect-ratio: 1; overflow: hidden; }
.ad-img img { width: 100%; height: 100%; object-fit: cover; }
.ad-foot { display: flex; gap: 10px; justify-content: space-between; align-items: center; padding: 12px; background: var(--pearl-2); }
.ad-foot b { padding: 7px 14px; border-radius: 999px; background: var(--sea-ink); color: var(--pearl); font-size: 13px; font-weight: 600; }

.serp { padding: 20px; border-radius: 18px; background: #fff; font-size: 15px; color: var(--sea-ink); }
.serp-q { display: flex; gap: 10px; align-items: center; padding: 10px 14px; background: var(--pearl-2); border-radius: 99px; }
.serp-q svg { width: 16px; height: 16px; }
.serp-r { display: grid; margin-top: 16px; }
.serp-r b { font-size: 18px; }
.serp-r small { color: #1D7A3A; font-size: 14px; }
.stars { display: block; width: 92px; margin-top: 6px; color: #C2410C; }
.stars svg { display: block; width: 100%; height: auto; }
.serp-acts { display: flex; gap: 8px; margin-top: 14px; }
.serp-acts span { padding: 6px 12px; background: var(--pearl-2); border-radius: 99px; font-size: 13px; font-weight: 600; }

/* ── Il gestionale, tre distanze ── */
.showcase { position: relative; background: var(--night); color: var(--pearl); }
.showcase-stage { position: relative; height: 100svh; display: grid; grid-template-columns: 1fr minmax(0, 54vw) 1fr; grid-template-rows: 1fr auto auto 1fr; column-gap: var(--gap); padding: 0 var(--m); overflow: hidden; }
.showcase-title { display: contents; }
.half { display: block; grid-column: 1 / 4; justify-self: center; text-align: center; white-space: nowrap; }
.half-a { grid-row: 1; align-self: end; margin-bottom: .25em; }
.half-b { grid-row: 3; margin-top: .2em; color: var(--apricot); }
.frame { grid-row: 2; grid-column: 2; aspect-ratio: 1584 / 935; overflow: hidden; border-radius: 18px; background: #0d0e14; }
.frame img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; will-change: transform; }
.showcase-notes { grid-row: 2; grid-column: 3; position: relative; align-self: start; }
.note { position: absolute; top: 0; left: 0; max-width: 28ch; font-size: 17px; color: var(--pearl-soft); }
.note b { display: block; margin-bottom: 8px; font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.1; color: var(--pearl); }
.js .note-2, .js .note-3 { opacity: 0; }
html:not(.js) .note { position: static; margin-bottom: 16px; }

/* ── Metodo: due campi, un cursore ── */
.method { position: relative; background: var(--night-2); }
.method-fields { display: grid; grid-template-columns: 1fr 1fr; min-height: 90svh; }
.method-left { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(64px, 8vw, 128px) var(--m) 160px; background: var(--apricot); color: var(--night); }
.clauses { position: relative; display: grid; font-size: clamp(44px, 5.4vw, 96px); line-height: 1; }
.clause { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .35s, transform .5s var(--ease), visibility 0s .35s; }
.clause.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s .05s, transform .5s .05s var(--ease); }
.explains { display: grid; max-width: 40ch; margin-top: 40px; }
.explain { grid-area: 1 / 1; opacity: 0; visibility: hidden; font-size: clamp(18px, 1.35vw, 21px); transition: opacity .3s, visibility 0s .3s; }
.explain.is-on { opacity: 1; visibility: visible; transition: opacity .3s .1s; }
.method-right { display: grid; place-items: center; padding: 64px var(--m) 160px; background: var(--night-2); }
.frag { grid-area: 1 / 1; width: min(440px, 100%); opacity: 0; visibility: hidden; transform: translateY(14px) scale(.98); transition: opacity .3s, transform .5s var(--ease), visibility 0s .3s; }
.frag.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .3s .05s, transform .5s .05s var(--ease); }
.method-control { position: absolute; left: var(--m); right: var(--m); bottom: 40px; }
.range { position: relative; height: 32px; --p: 0%; }
.range::before, .range-fill { content: ""; position: absolute; left: 0; top: 13px; height: 6px; border-radius: 3px; background: rgba(238, 240, 236, .32); }
.range::before { right: 0; }
.range-fill { width: var(--p); background: var(--pearl); transition: width .35s var(--ease); }
.method input[type=range] { position: relative; -webkit-appearance: none; appearance: none; width: 100%; height: 32px; margin: 0; background: transparent; cursor: pointer; }
.method input[type=range]::-webkit-slider-runnable-track { height: 6px; background: transparent; }
.method input[type=range]::-moz-range-track { height: 6px; background: transparent; }
.method input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -12px; border: 0; border-radius: 50%; background: var(--pearl); transition: scale .2s; }
.method input[type=range]::-moz-range-thumb { width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--pearl); }
.method input[type=range]:active::-webkit-slider-thumb { scale: 1.15; }
.step-names { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 10px; }
.step-names li:nth-child(2) { text-align: center; padding-right: 12%; }
.step-names li:nth-child(3) { text-align: center; padding-left: 12%; }
.step-names li:last-child { text-align: right; }
.step-names button { padding: 6px 0; border: 0; background: none; font-size: 16px; font-weight: 500; color: var(--night); opacity: .7; cursor: pointer; }
.step-names li:nth-child(n+3) button { color: var(--pearl); }
.step-names li.is-on button { opacity: 1; font-weight: 700; }

.cal { padding: 26px; border-radius: 22px; background: var(--pearl); color: var(--sea-ink); }
.cal > b { display: block; font-family: var(--serif); font-weight: 500; font-size: 26px; }
.cal > small { color: var(--sea-soft); font-size: 15px; }
.cal-days, .cal-slots, .cal-mode { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.cal-mode { grid-template-columns: repeat(3, 1fr); }
.cal-days span, .cal-slots span, .cal-mode span { display: grid; place-items: center; padding: 10px 4px; border-radius: 12px; background: var(--pearl-2); font-size: 14px; font-weight: 600; text-align: center; }
.cal-days b { font-size: 22px; }
.cal .on { background: var(--sea-ink); color: var(--pearl); }
.draft { overflow: hidden; border-radius: 18px; background: var(--pearl); color: var(--sea-ink); }
.draft-bar { display: flex; gap: 6px; align-items: center; padding: 10px 12px; background: var(--pearl-3); }
.draft-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--sea-soft); }
.draft-bar em { margin-left: 8px; font-style: normal; font-size: 13px; color: var(--sea-soft); }
.draft-body { position: relative; }
.draft-body img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.draft-body b { position: absolute; left: 16px; top: 14px; padding: 4px 10px; border-radius: 8px; background: var(--pearl); font-family: var(--serif); font-weight: 600; font-size: 20px; }
.draft-body small { display: block; padding: 12px 16px; font-size: 15px; }
.draft-note { padding: 12px 16px; background: var(--sea-ink); color: var(--pearl); font-size: 15px; }
.draft-note b { color: var(--apricot); }
.checks { display: grid; gap: 8px; }
.checks li { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-radius: 14px; background: var(--pearl); color: var(--sea-ink); font-weight: 600; }
.checks li::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--sea-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23F4A261' stroke-width='3'/%3E%3C/svg%3E") center / 16px no-repeat; }
.chat { display: grid; gap: 10px; padding: 20px; border-radius: 22px; background: #E9E2D8; color: #111; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: 16px; line-height: 1.35; }
.msg.in { justify-self: start; background: #fff; }
.msg.out { justify-self: end; background: #D7F7C5; }

/* ── Zone ── */
.zones { padding: var(--section) var(--m) 0; }
.zones-title em { color: var(--sea-soft); }
.zones-body { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); margin-top: 96px; align-items: end; }
.zones-photo { grid-column: 1 / 5; grid-row: 1; }
.zones-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; }
.zones-photo figcaption { margin-top: 10px; font-size: var(--t-small); color: var(--muted); }
.zones-name { grid-column: 7 / 8; grid-row: 1; align-self: start; font-size: var(--t-small); font-weight: 600; }
.zones-table { grid-column: 8 / 13; grid-row: 1; align-self: start; }
.zones-table li { display: grid; grid-template-columns: 28% 1fr auto; gap: 16px; align-items: baseline; padding: 14px 0; font-size: 16px; }
.zones-table li.gap { margin-top: 28px; }
.zones-table li span:first-child { font-family: var(--serif); font-weight: 500; font-size: 24px; }
.zones-table li span:nth-child(2) { color: var(--muted); }
.zones-table b { font-weight: 600; text-align: right; }
.zones-strip { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: var(--gap); padding-top: clamp(64px, 7vw, 112px); }
.zones-strip img { width: 100%; height: clamp(200px, 24vw, 380px); object-fit: cover; border-radius: 18px; }

/* ── Chi siamo ── */
.about { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); padding: var(--section) var(--m); }
.about-facts { grid-column: 1 / 3; display: grid; align-content: start; gap: 18px; padding-top: .4em; font-size: var(--t-small); }
.about-facts span { display: block; color: var(--muted); }
.about-facts a { font-weight: 600; text-decoration: none; }
.about-facts a:hover { color: var(--sea-soft); }
.about-text { grid-column: 3 / 13; }
.about-lead, .about-more { font-family: var(--serif); font-size: clamp(24px, 2.5vw, 38px); line-height: 1.3; letter-spacing: -.01em; color: var(--muted); }
.about-lead b { color: var(--ink); font-weight: 600; }
.about-more { margin-top: 1.2em; }
.dropcap { float: left; height: 3.5em; width: auto; margin: .2em .5em 0 0; }

/* ── Domande ── */
.faq { padding: var(--section) var(--m); background: var(--night); }
.qa { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: baseline; margin-top: clamp(56px, 6vw, 84px); }
.qa:first-child { margin-top: 0; }
.q { grid-column: 1 / 7; font-family: var(--serif); font-size: clamp(28px, 2.8vw, 44px); font-weight: 500; line-height: 1.1; letter-spacing: -.012em; }
.q.soft { color: var(--apricot); font-style: italic; }
.qa > p { grid-column: 8 / 13; max-width: 42ch; font-size: clamp(17px, 1.2vw, 18px); line-height: 1.6; color: var(--pearl-soft); }

/* ── La frase da completare ── */
.write { padding: var(--section) var(--m); }
.blank-sentence { font-size: clamp(40px, 7vw, 120px); line-height: 1.04; }
.bs-a, .bs-b { display: block; }
.bs-b { display: flex; align-items: stretch; gap: .14em; margin-top: .08em; }
.blank-sentence input { flex: 0 1 8.4em; min-width: 0; height: 1.08em; padding: 0 .3em; border: 0; border-radius: .54em; background: var(--surface-2); font-family: var(--serif); font-style: italic; vertical-align: top; outline-offset: 0; }
.blank-sentence input::placeholder { color: var(--muted); opacity: .75; }
.blank-send { flex: none; height: 1.08em; padding: 0 .45em; border: 0; border-radius: .54em; background: var(--night); color: var(--pearl); font-family: var(--serif); cursor: pointer; transition: background-color .25s, color .25s; }
.blank-send:hover { background: var(--pearl); color: var(--night); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chips button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--surface); font-size: 16px; font-weight: 500; cursor: pointer; transition: background-color .2s, scale .2s var(--ease); }
.chips button:hover { background: var(--surface-2); }
.chips button:active { scale: .96; }
.chips button.is-on { background: var(--night); color: var(--pearl); }
.blank-after { margin-top: 24px; font-size: 16px; color: var(--muted); }
.blank-after a { color: var(--ink); font-weight: 600; }

/* ── Chiusura ── */
.foot { position: relative; display: flex; flex-direction: column; min-height: 100svh; padding: clamp(80px, 9vw, 140px) var(--m) 0; overflow: hidden; background: var(--night); color: var(--pearl); }
.foot-top { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
.foot-top > div { grid-column: 1 / 9; }
.foot-invite { margin-bottom: 40px; font-size: clamp(44px, 5.6vw, 100px); line-height: 1; }
.foot-invite em { color: var(--apricot); }
.foot-links { grid-column: 10 / 13; display: grid; align-content: start; gap: 12px; font-size: 17px; }
.foot-links a { text-decoration: none; font-weight: 500; transition: color .2s; }
.foot-links a:hover { color: var(--apricot); }
.foot-legal { display: flex; justify-content: space-between; gap: 24px; margin-top: auto; padding-top: 64px; font-size: 13px; color: var(--pearl-soft); }
.foot-legal a { color: var(--pearl); }
.foot-legal .credits { max-width: 70ch; text-align: right; }
.foot-word { margin: 0 0 0 -.04em; font-size: 24vw; line-height: .78; white-space: nowrap; color: #4F767C; transform: translateY(16%); }

/* ── WhatsApp sempre a portata ── */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #1FAF5A; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); /* taste-skill-ignore: tasto sempre in primo piano */ transition: transform .3s var(--ease), opacity .3s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float.is-away { visibility: hidden; opacity: 0; pointer-events: none; transform: scale(.8); transition: none; }
.wa-float svg { width: 32px; height: 32px; }

/* ── Prenotazione ── */
.book { --bg: var(--pearl); --surface: var(--pearl-2); --surface-2: var(--pearl-3); --ink: var(--sea-ink); --muted: var(--sea-soft); width: min(560px, calc(100vw - 24px)); max-height: calc(100svh - 24px); padding: 0; border: 0; border-radius: 24px; background: var(--bg); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); /* taste-skill-ignore: finestra in primo piano */ }
.book::backdrop { background: rgba(13, 27, 30, .7); }
.book[open] { animation: book-in .45s var(--ease); }
@keyframes book-in { from { opacity: 0; transform: translateY(24px); } }
.book-form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 34px); }
.book-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.book-head h2 { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1.02; letter-spacing: -.015em; }
.book-close { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--surface); font-size: 26px; line-height: 1; cursor: pointer; }
.book-sub { font-size: 16px; color: var(--muted); }
.book-sub a { color: var(--ink); }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { padding: 0; font-size: 15px; font-weight: 600; }
.field input:not([type=checkbox]):not([type=radio]), .field select { height: 50px; padding: 0 14px; border: 2px solid var(--surface-2); border-radius: 14px; background: #fff; font-size: 16px; }
.field input:focus, .field select:focus { border-color: var(--ink); outline: none; }
.field.two { grid-template-columns: 1fr 1fr; gap: 12px; }
.field.two > div { display: grid; gap: 6px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.opts label { position: relative; cursor: pointer; font-weight: 500; }
.opts input { position: absolute; opacity: 0; }
.opts span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; background: var(--surface); font-size: 15px; transition: background-color .2s; }
.opts input:checked + span { background: var(--ink); color: var(--bg); }
.opts input:focus-visible + span { outline: 3px solid var(--apricot); outline-offset: 2px; }
.book-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.book-actions .btn { flex: 1 1 200px; }
.book .btn-ink { background: var(--sea-ink); color: var(--pearl); }

/* ── Pagina privacy e cookie ── */
.nav-static { position: sticky; }
.legal { padding: clamp(64px, 8vw, 120px) var(--m) var(--section); }
.legal-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
.legal-title { grid-column: 1 / 7; font-size: clamp(56px, 8vw, 140px); line-height: .98; }
.legal-title em { color: var(--sea-soft); }
.legal-head > div { grid-column: 7 / 13; }
.legal-lead { max-width: 30ch; font-size: var(--t-statement); line-height: 1.3; }
.legal-date { margin-top: 20px; font-size: var(--t-small); color: var(--muted); }
.legal-block { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); margin-top: clamp(64px, 7vw, 104px); }
.legal-block h2 { grid-column: 1 / 5; font-family: var(--serif); font-size: clamp(28px, 2.8vw, 44px); font-weight: 500; line-height: 1.1; }
.legal-block > div { grid-column: 6 / 12; display: grid; gap: 16px; max-width: 62ch; line-height: 1.65; }
.legal-block ul { display: grid; gap: 10px; padding-left: 1.2em; list-style: disc; }
.legal-block a { font-weight: 600; }
.legal-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 40px var(--m); background: var(--night); color: var(--pearl-soft); font-size: var(--t-small); }
.legal-foot a { color: var(--pearl); }

/* ── Tablet ── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-menu { display: block; }
  .hero-copy { width: 100%; padding-right: var(--m); }
  .services-intro h2 { grid-column: 1 / 9; }
  .services-intro .statement { grid-column: 9 / 13; align-self: end; margin-top: 0; font-size: 20px; }
  .row-text { grid-column: 1 / 7; }
  .row-media { grid-column: 7 / 13; }
  .showcase-stage { grid-template-columns: 1fr minmax(0, 76vw) 1fr; }
  .showcase-notes { grid-column: 2; grid-row: 4; align-self: start; margin-top: 56px; min-height: 120px; }
  .note { max-width: 46ch; }
  .zones-name { display: none; }
  .zones-photo { grid-column: 1 / 6; }
  .zones-table { grid-column: 7 / 13; }
  .zones-table li { grid-template-columns: 1fr auto; }
  .zones-table li span:nth-child(2) { grid-row: 2; grid-column: 1 / 3; font-size: 15px; }
  .about-facts { grid-column: 1 / 13; grid-row: 2; grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
  .about-text { grid-column: 1 / 13; }
  .foot-top > div { grid-column: 1 / 13; }
  .foot-links { grid-column: 1 / 13; margin-top: 48px; grid-template-columns: repeat(2, auto); justify-content: start; column-gap: 32px; }
  .legal-block h2, .legal-block > div, .legal-title, .legal-head > div { grid-column: 1 / 13; }
  .legal-block > div, .legal-head > div { margin-top: 20px; }
}

/* ── Telefono ── */
@media (max-width: 640px) {
  .nav { height: 66px; }
  .nav-cta { display: none; }
  .menu { inset: 66px 0 0; }
  .brand img { width: 38px; }
  .brand span { font-size: 20px; }
  .hero-copy { padding-top: 104px; }
  .hero-title { font-size: 13.4vw; }
  .hero-lede { margin-top: 24px; }
  .hero-actions .btn { width: 100%; }
  .hero-mark { left: 50%; right: auto; top: auto; bottom: 18%; width: 64vw; transform: translateX(-50%); }
  .services-intro { min-height: 44svh; }
  .services-intro h2, .services-intro .statement { grid-column: 1 / 13; }
  .services-intro .statement { margin-top: 28px; font-size: 22px; }
  .row { margin-top: 72px; }
  .row-text, .row-media { grid-column: 1 / 13; }
  .row-media { margin-top: 24px; }
  .row:nth-of-type(odd) .row-media { justify-self: end; }
  .row:nth-of-type(even) .row-media { justify-self: start; }
  .w-a { max-width: 62%; }
  .w-b, .w-c, .w-e { max-width: 100%; }
  .w-d { max-width: 78%; }
  .showcase-stage { grid-template-columns: 0 1fr 0; column-gap: 0; grid-template-rows: 1fr auto auto auto 1fr; }
  .half { font-size: clamp(38px, 11vw, 56px); }
  .showcase-notes { grid-row: 4; margin-top: 40px; }
  .frame { aspect-ratio: 4 / 5; }
  .frame img { object-position: 22% 50%; }
  .method { display: flex; flex-direction: column; }
  .method-fields { display: contents; }
  .method-right { order: 1; padding: 40px var(--m) 24px; }
  .method-control { order: 2; position: static; padding: 0 var(--m) 28px; background: var(--night-2); }
  .method-control .range::before { background: rgba(238, 240, 236, .2); }
  .method-control .range-fill, .method input[type=range]::-webkit-slider-thumb { background: var(--apricot); }
  .step-names { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .step-names li:nth-child(n) { padding: 0; text-align: left; }
  .step-names li:nth-child(n) button { color: var(--pearl); }
  .method-left { order: 3; padding: 40px var(--m) 48px; }
  .zones-body { margin-top: 48px; }
  .zones-photo { grid-column: 5 / 13; grid-row: 2; margin-top: 40px; }
  .zones-table { grid-column: 1 / 13; }
  .zones-strip { grid-template-columns: 1fr 1fr; padding-bottom: 72px; }
  .zones-strip img:first-child { grid-column: 1 / 3; }
  .zones-strip img { height: 180px; }
  .about-facts { grid-template-columns: 1fr; gap: 14px; }
  .about-lead, .about-more { font-size: 23px; line-height: 1.35; }
  .dropcap { height: 2.6em; margin-top: .3em; }
  .qa { grid-template-columns: 1fr; }
  .q, .qa > p { grid-column: 1; }
  .q { font-size: 27px; }
  .qa > p { margin-top: 12px; }
  .blank-sentence { font-size: 8vw; }
  .foot { min-height: 0; }
  .foot-legal { padding-top: 48px; flex-direction: column; }
  .foot-legal .credits { text-align: left; }
  .foot-invite { font-size: 8.6vw; }
  .foot-links { grid-template-columns: 1fr; }
  .foot-word { font-size: 32vw; }
  .wa-float { right: 14px; bottom: 14px; width: 56px; height: 56px; }
  .field.two { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
