/* =========================================================
   Il Dentista Gentile — design system
   Palette "Laguna": deep ink-teal + pearl + aqua, coral-red for H24.
   (Deliberately far from the old site's grey / terracotta / brown.)
   ========================================================= */
:root {
  --ink: #07161b;
  --deep: #0b232b;
  --lagoon: #12404b;
  --sea: #1d6b78;
  --aqua: #6ee7d2;
  --aqua-2: #a9f3e6;
  --aqua-ink: #0c7d6d;
  --pearl: #f3f6f4;
  --sand: #e7eeeb;
  --white: #ffffff;
  --text: #0b1b21;
  --muted: #5b6d72;
  --muted-d: rgba(233, 245, 242, .68);
  --line: rgba(11, 27, 33, .12);
  --line-d: rgba(255, 255, 255, .12);
  --sos: #ff4a5e;
  --sos-2: #ff7a88;
  --wa: #25d366;

  --f-head: "Fraunces", Georgia, serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --sec-y: clamp(76px, 9.5vw, 136px);
  --r: 28px;
  --r-sm: 16px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --hdr-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* strict: no italic anywhere */
em, i, cite, address, dfn, var { font-style: normal; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--aqua); color: var(--ink); }
:focus-visible { outline: 2px solid var(--aqua); 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; }
.skip { position: fixed; top: -60px; left: 16px; z-index: 300; background: var(--aqua); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 16px; }

/* ---------- layout ---------- */
.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; position: relative; }
.sec { position: relative; padding-block: var(--sec-y); overflow: clip; }
.is-dark { background: var(--ink); color: #fff; }
.is-deep { background: var(--deep); color: #fff; }
.is-light { background: var(--pearl); color: var(--text); }
.is-white { background: #fff; color: var(--text); }
.is-dark .lead, .is-deep .lead { color: var(--muted-d); }

/* grain + glows for dark sections */
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; opacity: .55; }
.glow--aqua { background: radial-gradient(circle, rgba(110, 231, 210, .55), transparent 65%); }
.glow--sea { background: radial-gradient(circle, rgba(29, 107, 120, .9), transparent 65%); }
.glow--sos { background: radial-gradient(circle, rgba(255, 74, 94, .55), transparent 65%); }
.sec > .wrap { z-index: 2; }

/* ---------- type ---------- */
.h-xl, .h-lg, .h-md, .h-sm, .display {
  font-family: var(--f-head);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-weight: 560;
  letter-spacing: -.025em;
  margin: 0;
  text-wrap: balance;
}
.h-xl { font-size: clamp(3.1rem, 9.2vw, 9.6rem); line-height: .9; letter-spacing: -.035em; }
.h-lg { font-size: clamp(2.35rem, 5.4vw, 5.3rem); line-height: .98; }
.h-md { font-size: clamp(1.9rem, 3.6vw, 3.45rem); line-height: 1.04; }
.h-sm { font-size: clamp(1.3rem, 1.9vw, 1.7rem); line-height: 1.15; letter-spacing: -.01em; }
.acc { color: var(--aqua-ink); }
.is-dark .acc, .is-deep .acc { color: var(--aqua); }
.acc-sos { color: var(--sos); }
.lead { font-size: clamp(1.02rem, 1.2vw, 1.18rem); line-height: 1.65; color: var(--muted); max-width: 54ch; margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 22px;
  font: 700 .74rem/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--aqua-ink);
}
.is-dark .eyebrow, .is-deep .eyebrow { color: var(--aqua); }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; transform-origin: left; animation: eyeline 2.6s var(--ease) infinite; }
@keyframes eyeline { 0% { transform: scaleX(0); } 45%, 70% { transform: scaleX(1); transform-origin: left; } 71% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
.hl {
  display: inline-flex; align-items: center; gap: 12px; padding: 11px 18px 11px 14px; border-radius: 999px;
  font: 800 .76rem/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase;
  background: rgba(12, 125, 109, .09); color: var(--aqua-ink); border: 1px solid rgba(12, 125, 109, .2);
}
.hl::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(110, 231, 210, .25); flex: none; }
.is-dark .hl, .is-deep .hl { background: rgba(110, 231, 210, .08); color: var(--aqua); border-color: rgba(110, 231, 210, .24); }
.hl--sos { background: rgba(255, 74, 94, .1) !important; color: var(--sos) !important; border-color: rgba(255, 74, 94, .3) !important; }
.note { font-size: .8rem; line-height: 1.5; color: var(--muted); margin: 0; }
.is-dark .note, .is-deep .note { color: rgba(233, 245, 242, .5); }
.note::before { content: "* "; color: var(--aqua-ink); font-weight: 800; }
.is-dark .note::before, .is-deep .note::before { color: var(--aqua); }
p { margin: 0 0 1em; }

/* ---------- buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  --bh: 58px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--bh); padding: 0 28px; border-radius: 999px; white-space: nowrap;
  font: 800 .78rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase;
  transition: transform .5s var(--ease), background .3s, box-shadow .4s, color .3s, border-color .3s;
  isolation: isolate; will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .lbl { position: relative; display: inline-block; overflow: hidden; line-height: 1.25; }
.btn .lbl > span { display: block; transition: transform .55s var(--ease); }
.btn .lbl::after { content: attr(data-t); position: absolute; left: 0; top: 100%; width: 100%; transition: transform .55s var(--ease); }
.btn:hover .lbl > span, .btn:hover .lbl::after { transform: translateY(-100%); }
.btn--sos { background: var(--sos); color: #fff; box-shadow: 0 14px 40px -14px rgba(255, 74, 94, .9); }
.btn--sos:hover { background: #ff3049; box-shadow: 0 18px 50px -12px rgba(255, 74, 94, 1); }
.btn--aqua { background: var(--aqua); color: var(--ink); box-shadow: 0 14px 40px -16px rgba(110, 231, 210, .9); }
.btn--aqua:hover { background: var(--aqua-2); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--lagoon); }
.btn--ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .26); background: rgba(255, 255, 255, .04); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .1); }
.btn--line { color: var(--text); border: 1px solid rgba(11, 27, 33, .22); }
.btn--line:hover { border-color: var(--text); background: rgba(11, 27, 33, .04); }
.btn--wa svg { color: var(--wa); }
.btn--sm { --bh: 46px; padding: 0 20px; font-size: .72rem; }
.btn--xl { --bh: 68px; padding: 0 34px; font-size: .84rem; }
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #fff; flex: none; }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #fff; animation: ping 1.6s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.1); opacity: 0; } }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; font: 800 .76rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.arrow-link svg { width: 18px; transition: transform .4s var(--ease); }
.arrow-link:hover svg { transform: translateX(5px); }

/* ---------- header ---------- */
.hdr {
  position: fixed; z-index: 120; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(var(--maxw) + 40px, 100% - 2 * var(--gutter) + 20px);
  height: var(--hdr-h); display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 0 10px 0 22px; border-radius: 999px;
  background: rgba(7, 22, 27, .5); border: 1px solid rgba(255, 255, 255, .09);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: height .5s var(--ease), background .4s, top .5s var(--ease), box-shadow .4s;
}
.hdr.is-scrolled { --hdr-h: 64px; top: 10px; background: rgba(7, 22, 27, .78); box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .6); }
.hdr-logo { display: flex; align-items: center; gap: 11px; flex: none; }
.hdr-logo .mk { height: 44px; width: auto; transition: height .5s var(--ease); }
.hdr-logo .wm { height: 19px; width: auto; }
.hdr.is-scrolled .hdr-logo .mk { height: 34px; }
.hdr-nav { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 30px); }
.hdr-nav a { position: relative; font-weight: 600; font-size: .9rem; color: rgba(255, 255, 255, .78); transition: color .3s; padding: 6px 0; }
.hdr-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--aqua); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.hdr-nav a:hover, .hdr-nav a[aria-current="page"] { color: #fff; }
.hdr-nav a:hover::after, .hdr-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.hdr-nav a.nav-sos { color: var(--sos-2); }
.hdr-act { display: flex; align-items: center; gap: 8px; }
.hdr-sos {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--sos); color: #fff; font: 800 .74rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 10px 30px -10px rgba(255, 74, 94, .9); transition: background .3s, transform .4s var(--ease);
}
.hdr-sos:hover { background: #ff3049; }
.hdr-sos .num { font-weight: 700; letter-spacing: .02em; opacity: .9; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .35); }
.hdr-cta { height: 52px; }
.hdr-burger { display: none; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .08); position: relative; }
.hdr-burger span { position: absolute; left: 16px; right: 16px; height: 2px; background: #fff; border-radius: 2px; transition: transform .5s var(--ease), top .5s var(--ease); }
.hdr-burger span:nth-child(1) { top: 21px; } .hdr-burger span:nth-child(2) { top: 29px; }
.dg-menu-open .hdr-burger span:nth-child(1) { top: 25px; transform: rotate(45deg); }
.dg-menu-open .hdr-burger span:nth-child(2) { top: 25px; transform: rotate(-45deg); }

.dg-menu {
  position: fixed; inset: 0; z-index: 110; background: var(--ink); color: #fff;
  display: flex; flex-direction: column; justify-content: center; padding: 120px var(--gutter) 120px;
  clip-path: circle(0% at calc(100% - 50px) 50px); visibility: hidden;
  transition: clip-path .9s var(--ease), visibility 0s .9s;
}
.dg-menu-open .dg-menu { clip-path: circle(150% at calc(100% - 50px) 50px); visibility: visible; transition: clip-path .9s var(--ease); }
.dg-menu-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dg-menu-links a { display: flex; align-items: baseline; gap: 14px; font-family: var(--f-head); font-variation-settings: "SOFT" 100; font-weight: 520; font-size: clamp(2.1rem, 8.5vw, 4rem); line-height: 1.12; letter-spacing: -.02em; }
.dg-menu-links a small { font: 700 .72rem/1 var(--f-body); letter-spacing: .14em; color: var(--aqua); }
.dg-menu-links li { overflow: hidden; }
.dg-menu-links li > a { transform: translateY(110%); transition: transform .8s var(--ease); }
.dg-menu-open .dg-menu-links li > a { transform: none; }
.dg-menu-open .dg-menu-links li:nth-child(2) > a { transition-delay: .06s; }
.dg-menu-open .dg-menu-links li:nth-child(3) > a { transition-delay: .12s; }
.dg-menu-open .dg-menu-links li:nth-child(4) > a { transition-delay: .18s; }
.dg-menu-open .dg-menu-links li:nth-child(5) > a { transition-delay: .24s; }
.dg-menu-foot { margin-top: 44px; display: grid; gap: 12px; color: var(--muted-d); font-size: .95rem; }
.dg-menu-foot a { color: #fff; }

/* ---------- mobile sticky bar ---------- */
.mbar { display: none; }

/* ---------- page transition curtain ---------- */
.curtain { position: fixed; inset: 0; z-index: 200; pointer-events: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.curtain span { background: var(--deep); transform: scaleY(0); transform-origin: bottom; }
.curtain span:nth-child(odd) { background: var(--ink); }
.curtain .cur-mark { position: absolute; left: 50%; top: 50%; width: 64px; transform: translate(-50%, -50%); opacity: 0; }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--aqua); mix-blend-mode: difference; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s; opacity: 0; }
.cursor.on { opacity: 1; }
.cursor.big { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
@media (pointer: coarse) { .cursor { display: none; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; user-select: none; }
.mq-track { display: inline-flex; gap: 0; animation: mq 38s linear infinite; }
.mq-track > span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; }
.mq-track .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--aqua); flex: none; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- split text helpers ---------- */
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word { display: inline-block; white-space: nowrap; }
.split-char { display: inline-block; will-change: transform; }

/* ---------- journey (shared timeline) ---------- */
.journey { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); margin-top: clamp(40px, 5vw, 72px); }
.jr-rail { position: absolute; left: 0; right: 0; top: 34px; height: 1px; background: var(--line); }
.is-dark .jr-rail, .is-deep .jr-rail { background: var(--line-d); }
.jr-rail i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--aqua), var(--sea)); transform: scaleX(0); transform-origin: left; }
.jr-step { position: relative; padding-top: 0; }
.jr-dot { position: relative; z-index: 1; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--pearl); border: 1px solid var(--line); font: 600 1.1rem/1 var(--f-head); color: var(--aqua-ink); transition: background .5s, color .5s, border-color .5s, box-shadow .5s; }
.is-white .jr-dot { background: #fff; }
.is-dark .jr-dot, .is-deep .jr-dot { background: var(--deep); border-color: var(--line-d); color: var(--aqua); }
.jr-step.on .jr-dot { background: var(--aqua); color: var(--ink); border-color: var(--aqua); box-shadow: 0 0 0 10px rgba(110, 231, 210, .15); }
.jr-step h3 { margin: 26px 0 10px; font-family: var(--f-head); font-variation-settings: "SOFT" 100; font-weight: 560; font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.1; letter-spacing: -.01em; }
.jr-step p { color: var(--muted); max-width: 32ch; margin: 0; }
.is-dark .jr-step p, .is-deep .jr-step p { color: var(--muted-d); }
.jr-quote { margin-top: clamp(40px, 5vw, 64px); }

/* ---------- payments (shared) ---------- */
.pay { position: relative; }
.pay-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.pay-zero { position: relative; font-family: var(--f-head); font-variation-settings: "SOFT" 100; font-weight: 600; line-height: .8; letter-spacing: -.06em; font-size: clamp(9rem, 26vw, 22rem); display: flex; align-items: flex-start; justify-content: center; }
.pay-zero .z { background: linear-gradient(180deg, var(--aqua-2), var(--aqua) 45%, var(--sea)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pay-zero .pc { font-size: .38em; margin-top: .14em; color: transparent; -webkit-text-stroke: 2px var(--aqua); }
.pay-zero small { position: absolute; bottom: -.1em; left: 50%; transform: translateX(-50%); font: 800 .78rem/1 var(--f-body); letter-spacing: .24em; text-transform: uppercase; color: var(--aqua); white-space: nowrap; }
.pay-words { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; }
.pay-words span { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-d); font: 700 .78rem/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }

/* ---------- final CTA (shared) ---------- */
.final { text-align: center; padding-block: clamp(96px, 13vw, 180px); }
.final .h-lg { max-width: 15ch; margin-inline: auto; }
.final .lead { margin: 22px auto 36px; text-align: center; }
.final .btn-row { justify-content: center; }
.aurora { position: absolute; inset: -20%; z-index: 0; pointer-events: none; filter: blur(70px) saturate(130%); opacity: .75; }
.aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.aurora span:nth-child(1) { width: 46vw; height: 46vw; left: 8%; top: 18%; background: radial-gradient(circle, rgba(29, 107, 120, .95), transparent 62%); animation: drift1 18s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { width: 38vw; height: 38vw; right: 6%; top: 8%; background: radial-gradient(circle, rgba(110, 231, 210, .45), transparent 62%); animation: drift2 22s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { width: 34vw; height: 34vw; left: 38%; bottom: 0; background: radial-gradient(circle, rgba(18, 64, 75, 1), transparent 62%); animation: drift3 16s ease-in-out infinite alternate; }
.aurora--sos span:nth-child(2) { background: radial-gradient(circle, rgba(255, 74, 94, .42), transparent 62%); }
@keyframes drift1 { to { transform: translate(18%, -12%) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-22%, 16%) scale(.9); } }
@keyframes drift3 { to { transform: translate(-14%, -18%) scale(1.2); } }
.final-mark { width: 74px; margin: 0 auto 28px; opacity: .9; }
.final-small { margin-top: 26px; font-size: .9rem; color: var(--muted-d); }
.final-small a { color: var(--sos-2); font-weight: 700; border-bottom: 1px solid rgba(255, 122, 136, .4); }
.spot { position: absolute; z-index: 0; width: 520px; height: 520px; left: 0; top: 0; margin: -260px 0 0 -260px; border-radius: 50%; background: radial-gradient(circle, rgba(110, 231, 210, .16), transparent 60%); pointer-events: none; }

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { position: relative; }
.fld input, .fld select, .fld textarea {
  width: 100%; height: 62px; padding: 24px 20px 8px; border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .16); color: #fff; outline: none;
  transition: border-color .3s, background .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.fld textarea { height: 120px; resize: vertical; padding-top: 28px; }
.fld label { position: absolute; left: 21px; top: 21px; font-size: .95rem; color: rgba(255, 255, 255, .6); pointer-events: none; transition: transform .35s var(--ease), color .3s, font-size .35s; transform-origin: left top; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--aqua); background: rgba(110, 231, 210, .06); box-shadow: 0 0 0 4px rgba(110, 231, 210, .12); }
.fld input:focus + label, .fld input:not(:placeholder-shown) + label,
.fld textarea:focus + label, .fld textarea:not(:placeholder-shown) + label,
.fld select + label { transform: translateY(-12px); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--aqua); font-weight: 700; }
.fld select option { color: var(--ink); }
.fld.err input { border-color: var(--sos); }
.fld .opt { font-weight: 500; text-transform: none; letter-spacing: 0; opacity: .6; }
.chk { display: flex; gap: 12px; align-items: flex-start; font-size: .84rem; line-height: 1.5; color: rgba(255, 255, 255, .7); cursor: pointer; }
.chk input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chk .box { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1px solid rgba(255, 255, 255, .35); display: grid; place-items: center; transition: background .3s, border-color .3s; margin-top: 1px; }
.chk .box svg { width: 13px; opacity: 0; transform: scale(.4); transition: .35s var(--ease); color: var(--ink); }
.chk input:checked + .box { background: var(--aqua); border-color: var(--aqua); }
.chk input:checked + .box svg { opacity: 1; transform: none; }
.chk input:focus-visible + .box { outline: 2px solid var(--aqua); outline-offset: 2px; }
.chk.err .box { border-color: var(--sos); }
.chk a { color: var(--aqua); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; }
.form .btn { width: 100%; margin-top: 6px; }
.form-ok { display: none; text-align: center; padding: 30px 10px; }
.form-ok .tick { width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%; background: var(--aqua); color: var(--ink); display: grid; place-items: center; }
.form-ok .tick svg { width: 34px; }
.form-ok h3 { font-family: var(--f-head); font-variation-settings: "SOFT" 100; font-weight: 560; font-size: 1.9rem; margin: 0 0 8px; }
.form-ok p { color: var(--muted-d); margin: 0; }
.form.sent > :not(.form-ok) { display: none; }
.form.sent .form-ok { display: block; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: inline-flex; align-items: center; height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); font-weight: 700; font-size: .86rem; transition: .3s; }
.seg input:checked + span { background: var(--aqua); color: var(--ink); border-color: var(--aqua); }
.seg input:focus-visible + span { outline: 2px solid var(--aqua); outline-offset: 2px; }
.seg-lbl { font: 700 .7rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin: 6px 0 2px; }
.glass { background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: clamp(22px, 3vw, 40px); }

/* ---------- footer ---------- */
.ftr { position: relative; background: var(--ink); color: #fff; padding: clamp(64px, 7vw, 96px) 0 calc(28px + env(safe-area-inset-bottom)); overflow: clip; border-top: 1px solid var(--line-d); }
.ftr-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.ftr-brand img { width: 300px; max-width: 100%; }
.ftr-brand p { color: var(--muted-d); margin: 20px 0 22px; max-width: 34ch; font-size: .95rem; }
.ftr h3, .ftr h4 { margin: 4px 0 16px; font: 800 .72rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--aqua); }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr li, .ftr address { color: rgba(255, 255, 255, .78); font-size: .95rem; line-height: 1.55; }
.ftr a:hover { color: var(--aqua); }
.ftr .ftr-sos { color: var(--sos-2); font-weight: 800; }
.ftr-loc + .ftr-loc { margin-top: 16px; }
.ftr-loc strong { display: block; color: #fff; font-weight: 700; }
.ftr-word { margin: clamp(48px, 6vw, 80px) 0 0; opacity: .07; }
.ftr-word img { width: 100%; }
.ftr-bot { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-d); font-size: .8rem; color: rgba(255, 255, 255, .5); }
.ftr-bot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.ftr-credit { display: inline-flex; align-items: center; gap: 8px; }
.ftr-credit img { width: 18px; height: 18px; border-radius: 4px; }
.ftr-credit a { color: rgba(255, 255, 255, .8); font-weight: 700; }

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

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hdr-nav { display: none; }
  .hdr-burger { display: block; }
  .hdr-sos .num { display: none; }
}
@media (max-width: 900px) {
  :root { --hdr-h: 64px; }
  .hdr { top: 10px; padding: 0 6px 0 14px; }
  .hdr-cta { display: none; }
  .hdr-logo .mk { height: 34px; }
  .hdr-logo .wm { height: 17px; }
  .hdr-sos { height: 46px; padding: 0 14px; }
  .hdr-burger { width: 46px; height: 46px; }
  .hdr-burger span { left: 14px; right: 14px; }
  .hdr-burger span:nth-child(1) { top: 18px; } .hdr-burger span:nth-child(2) { top: 26px; }
  .dg-menu-open .hdr-burger span:nth-child(1), .dg-menu-open .hdr-burger span:nth-child(2) { top: 22px; }
  .mbar {
    display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 6px; position: fixed; z-index: 115;
    left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 6px; border-radius: 22px;
    background: rgba(7, 22, 27, .82); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .5);
  }
  .mbar a { height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; font: 800 .68rem/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, .07); }
  .mbar a svg { width: 18px; height: 18px; }
  .mbar .mb-sos { background: var(--sos); }
  .mbar .mb-wa svg { color: var(--wa); }
  .mbar .mb-book { background: var(--aqua); color: var(--ink); }
  .mbar--book { grid-template-columns: 1.6fr 1fr 1fr; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .ftr { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .journey { grid-template-columns: 1fr; gap: 0; }
  .jr-rail { left: 34px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .jr-rail i { transform: scaleY(0); transform-origin: top; }
  .jr-step { display: grid; grid-template-columns: 68px 1fr; gap: 0 20px; padding-bottom: 34px; }
  .jr-step h3 { margin: 18px 0 6px; }
  .jr-step p { grid-column: 2; }
  .jr-step .jr-dot { grid-row: span 2; }
  .pay-grid { grid-template-columns: 1fr; }
  .pay-zero { order: -1; }
  .ftr-top { grid-template-columns: 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .btn { --bh: 54px; padding: 0 22px; font-size: .72rem; letter-spacing: .1em; }
  .btn-row .btn { flex: 1 1 100%; }
  .hdr-logo .wm { height: 14px; }
  .hdr-logo { gap: 8px; }
  .hdr-sos .t-long { display: none; }
  .hdr-sos { gap: 8px; }
  .ftr-top { grid-template-columns: 1fr; }
}
