/* Albamare · Studio Dentistico — demo */
@font-face { font-family: "Sora"; src: url(../assets/fonts/sora-latin-wght-normal.woff2) format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(../assets/fonts/figtree-latin-wght-normal.woff2) format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Instrument"; src: url(../assets/fonts/instrument-serif-latin-400-italic.woff2) format("woff2"); font-style: italic; font-display: swap; }

:root {
  --bg: #f4f9f9;
  --bg-2: #e8f3f3;
  --white: #ffffff;
  --teal: #0e5a63;
  --teal-2: #0a434a;
  --aqua: #34b3ad;
  --aqua-l: #d6f0ee;
  --coral: #f06a5d;
  --ink: #0f2a2e;
  --muted: #5d7479;
  --line: rgba(15, 42, 46, 0.09);
  --display: "Sora", system-ui, sans-serif;
  --accent: "Instrument", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1200px;
  --r: 22px;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--aqua); color: #fff; }
a { color: inherit; }
svg { display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; line-height: 1.05; letter-spacing: -0.035em; }
em { font-family: var(--accent); font-style: italic; font-weight: 400; color: var(--aqua); letter-spacing: -0.01em; }
h1 em, h2 em { font-size: 1.1em; }
p { margin: 0; }
.wrap { width: min(var(--wrap), calc(100% - 56px)); margin: 0 auto; }
.kick { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.kick::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 4px var(--aqua-l); }
.lead { font-size: 18.5px; color: var(--muted); max-width: 540px; }
section h2 { font-size: clamp(38px, 4.6vw, 64px); }
.s-head { margin-bottom: 46px; max-width: 760px; }

/* bottoni */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 26px; border-radius: 999px; font: 700 15.5px var(--sans); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: transform 0.45s var(--ease), background-color 0.3s, box-shadow 0.3s; }
.btn .ar { width: 18px; height: 18px; transition: transform 0.45s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .ar { transform: translateX(4px); }
.btn-dark { background: var(--teal); color: #fff; box-shadow: 0 16px 30px -16px rgba(14, 90, 99, 0.8); }
.btn-dark:hover { background: var(--teal-2); }
.btn-soft { background: #fff; color: var(--teal); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-soft:hover { box-shadow: inset 0 0 0 1.5px var(--aqua); }
.btn-sm { height: 46px; padding: 0 20px; font-size: 14.5px; gap: 0; }
.btn-sm .ar { margin-left: 8px; }

/* nastro demo + badge */
.demo-ribbon { position: relative; z-index: 60; display: block; text-align: center; padding: 9px 16px; background: var(--teal-2); color: #bfe3e1; font-size: 13px; text-decoration: none; }
.demo-ribbon span { display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 999px; background: var(--aqua); color: #fff; font-weight: 800; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; }
.demo-ribbon b { color: #fff; }
.demo-fab { position: fixed; left: 18px; bottom: 18px; z-index: 80; display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 999px; background: rgba(11, 19, 34, 0.9); color: #e8eef8; text-decoration: none; font-size: 13.5px; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.45); }
.demo-fab b { color: #8cc4ff; }
.demo-fab .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.25); }
.js .demo-fab { opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity 0.4s, transform 0.4s var(--ease); }
.js .demo-fab.show { opacity: 1; transform: none; pointer-events: auto; }

/* nav */
.nav { position: sticky; top: 0; z-index: 70; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px max(28px, calc((100% - var(--wrap)) / 2)); transition: background-color 0.4s, box-shadow 0.4s; }
.nav.scrolled { background: rgba(244, 249, 249, 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-t { width: 34px; height: 40px; color: var(--aqua); filter: drop-shadow(0 6px 10px rgba(52, 179, 173, 0.35)); }
.b-txt { display: grid; line-height: 1.1; }
.b-txt b { font: 700 21px var(--display); letter-spacing: -0.03em; color: var(--teal); }
.b-txt small { font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.links { display: flex; gap: 28px; }
.links a { font-size: 15px; font-weight: 600; text-decoration: none; color: var(--muted); transition: color 0.3s; }
.links a:hover { color: var(--teal); }

/* hero */
.hero { position: relative; padding: 20px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 40px; align-items: center; min-height: calc(100svh - 170px); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border-radius: 999px; background: #fff; box-shadow: 0 10px 24px -14px rgba(14, 90, 99, 0.4), inset 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 700; color: var(--teal); margin-bottom: 26px; }
.pill-ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--aqua); color: #fff; }
.pill-ic svg { width: 16px; height: 16px; }
.h-title { font-size: clamp(50px, 6.1vw, 92px); margin-bottom: 26px; letter-spacing: -0.045em; }
.h-title .ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.06em; }
.h-title .ln > span { display: inline-block; white-space: nowrap; }
.h-title em { font-size: 1.12em; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.trust { list-style: none; padding: 0; margin: 38px 0 0; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.trust li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; }
.trust li span { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--aqua-l); color: var(--teal); }
.trust li svg { width: 19px; height: 19px; }

.hero-art { position: relative; height: min(620px, 74vh); }
.blob { position: absolute; left: 50%; top: 50%; width: 78%; aspect-ratio: 1; transform: translate(-50%, -50%); background: linear-gradient(140deg, #bfe9e5, #e4f5f3 55%, #cfeff7); border-radius: 58% 42% 55% 45% / 45% 55% 45% 55%; animation: morph 14s ease-in-out infinite alternate; }
.blob.b2 { width: 60%; left: 62%; top: 38%; background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0)); animation-duration: 10s; animation-direction: alternate-reverse; }
@keyframes morph { 0% { border-radius: 58% 42% 55% 45% / 45% 55% 45% 55%; } 50% { border-radius: 42% 58% 40% 60% / 58% 42% 58% 42%; } 100% { border-radius: 50% 50% 62% 38% / 40% 60% 40% 60%; } }
.orbit { position: absolute; left: 50%; top: 50%; width: 88%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1.5px dashed rgba(14, 90, 99, 0.16); animation: orbit 30s linear infinite; }
.o-dot { position: absolute; left: 50%; top: -7px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 6px rgba(52, 179, 173, 0.18); }
@keyframes orbit { to { transform: translate(-50%, -50%) rotate(360deg); } }
.h-tooth-w { position: absolute; left: 50%; top: 50%; width: min(300px, 50%); transform: translate(-50%, -52%); }
.h-tooth { width: 100%; height: auto; overflow: visible; }
.fcard { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 20px 40px -22px rgba(14, 90, 99, 0.45); white-space: nowrap; }
.fcard small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.02em; }
.fcard b { font: 600 15px var(--display); letter-spacing: -0.02em; }
.fc-ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--teal); color: #fff; flex: 0 0 auto; }
.fc-ic svg { width: 20px; height: 20px; }
.f1 { left: 0; top: 16%; }
.f2 { right: 0; top: 54%; }
.f2 .fc-ic { background: var(--aqua); }
.f3 { left: 8%; bottom: 6%; }
.f3 .fc-ic { background: var(--coral); }

/* trattamenti */
.tr { padding: 110px 0; background: #fff; border-radius: 48px 48px 0 0; }
.tr-box { display: grid; grid-template-columns: 380px 1fr; gap: 26px; align-items: stretch; }
.tr-tabs { display: flex; flex-direction: column; gap: 6px; }
.tr-tab { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; padding: 18px 20px; border: 0; border-radius: 18px; background: transparent; text-align: left; cursor: pointer; font-family: var(--sans); color: var(--ink); transition: background-color 0.35s, color 0.35s, transform 0.4s var(--ease); }
.tr-tab:hover { background: var(--bg); }
.tt-n { font: 600 13px var(--display); color: var(--muted); }
.tt-t { font: 600 18px var(--display); letter-spacing: -0.025em; }
.tt-p { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.tr-tab.on { background: var(--teal); color: #fff; transform: translateX(8px); }
.tr-tab.on .tt-n, .tr-tab.on .tt-p { color: #a9dedb; }
.tr-panels { position: relative; display: grid; border-radius: 32px; background: linear-gradient(160deg, var(--bg), var(--bg-2)); overflow: hidden; }
.tr-panel { grid-area: 1 / 1; display: grid; grid-template-rows: 1fr auto; opacity: 0; visibility: hidden; }
.tr-panel.on { opacity: 1; visibility: visible; }
.tr-stage { display: grid; place-items: center; padding: 30px 30px 26px; }
.tr-art { width: min(340px, 100%); height: auto; overflow: hidden; border-radius: 28px; background: #fff; box-shadow: 0 24px 50px -30px rgba(14, 90, 99, 0.45); }
.tr-info { padding: 0 36px 34px; }
.tr-info h3 { font-size: 30px; margin-bottom: 10px; }
.tr-info p { color: var(--muted); max-width: 560px; }
.tr-meta { display: flex; gap: 10px; margin: 18px 0 20px; flex-wrap: wrap; }
.tr-meta span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700; color: var(--teal); }
.tr-meta svg { width: 17px; height: 17px; }

/* prima / dopo */
.ba { padding: 120px 0; }
.ba-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.shades { display: flex; align-items: center; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.sh { padding: 10px 20px; border-radius: 999px; font: 700 15px var(--display); }
.sh.a3 { background: #efe0b6; color: #6b5a2e; }
.sh.b1 { background: #fff; color: var(--teal); box-shadow: inset 0 0 0 1.5px var(--line); }
.sh-arrow { color: var(--aqua); }
.sh-arrow .ar { width: 22px; height: 22px; }
.shades small { width: 100%; font-size: 13px; color: var(--muted); }
.ba-view { position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 520 / 300; background: #3b1e26; box-shadow: 0 40px 70px -40px rgba(14, 90, 99, 0.6); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ba-before, .ba-after { position: absolute; inset: 0; }
.ba-view .smile { width: 100%; height: 100%; }
.ba-after { clip-path: inset(0 0 0 50%); }
.ba-lb { position: absolute; top: 16px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); pointer-events: none; }
.lb-a { left: 16px; }
.lb-b { right: 16px; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); }
.ba-handle span { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--teal); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.45); }
.ba-handle svg { width: 24px; height: 24px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-note { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* costi */
.costi { padding: 110px 0; background: var(--teal); color: #fff; }
.costi .kick { color: #a9dedb; }
.costi .kick::before { box-shadow: 0 0 0 4px rgba(52, 179, 173, 0.3); }
.costi .lead { color: #b8d8d9; }
.costi em { color: #7fe0d8; }
.costi-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; }
.calc { padding: 34px; border-radius: 32px; background: #fff; color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.5); }
.c-l { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.c-l b { font: 600 18px var(--display); letter-spacing: -0.02em; text-transform: none; color: var(--teal); }
.ccs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-bottom: 30px; }
.cc { display: grid; gap: 2px; text-align: left; padding: 14px 16px; border-radius: 16px; border: 0; background: var(--bg); cursor: pointer; font-family: var(--sans); color: var(--ink); transition: all 0.3s var(--ease); box-shadow: inset 0 0 0 1.5px transparent; }
.cc b { font-size: 15px; line-height: 1.25; }
.cc span { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.cc:hover { box-shadow: inset 0 0 0 1.5px var(--aqua); }
.cc.on { background: var(--aqua-l); box-shadow: inset 0 0 0 2px var(--aqua); }
.c-range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--aqua) var(--p, 27%), var(--bg-2) var(--p, 27%)); outline: none; cursor: pointer; }
.c-range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 3px solid var(--aqua); box-shadow: 0 6px 16px -4px rgba(14, 90, 99, 0.5); cursor: grab; }
.c-range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--aqua); cursor: grab; }
.c-scale { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: var(--muted); margin: 10px 2px 26px; }
.c-out { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding: 24px 26px; border-radius: 22px; background: linear-gradient(135deg, var(--bg), var(--aqua-l)); }
.c-out small { display: block; font-size: 13px; font-weight: 700; color: var(--muted); }
.c-out b { font: 700 clamp(46px, 5vw, 64px) var(--display); letter-spacing: -0.05em; color: var(--teal); line-height: 1; }
.c-out b i { font: 600 18px var(--sans); font-style: normal; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.c-tax { display: flex; gap: 6px; }
.c-tax span { padding: 6px 12px; border-radius: 999px; background: #fff; font-size: 12.5px; font-weight: 800; color: var(--teal); }
.c-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); }

/* prima visita */
.visita { padding: 120px 0; }
.visita-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: start; }
.v-head { position: sticky; top: 120px; }
.v-head .btn { margin-top: 30px; }
.steps { position: relative; list-style: none; margin: 0; padding: 0; }
.st-line { position: absolute; left: 27px; top: 30px; bottom: 60px; width: 2px; background: var(--bg-2); }
.st-line i { position: absolute; inset: 0; background: linear-gradient(var(--aqua), var(--teal)); transform-origin: top; }
.st { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding-bottom: 54px; }
.st-dot { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 6px var(--bg), inset 0 0 0 2px var(--aqua); font: 700 20px var(--display); color: var(--teal); transition: background-color 0.4s, color 0.4s; }
.st.lit .st-dot { background: var(--teal); color: #fff; box-shadow: 0 0 0 6px var(--bg), 0 10px 24px -8px rgba(14, 90, 99, 0.6); }
.st h3 { font-size: 24px; margin: 12px 0 8px; }
.st p { color: var(--muted); max-width: 480px; }

/* respiro */
.calm { padding: 110px 0; background: linear-gradient(180deg, var(--bg), #e2f2f1); overflow: hidden; }
.calm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.breath { position: relative; width: min(440px, 100%); aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; }
.br-ring, .br-core { position: absolute; border-radius: 50%; }
.br-ring.r3 { inset: 0; background: rgba(52, 179, 173, 0.1); }
.br-ring.r2 { inset: 13%; background: rgba(52, 179, 173, 0.16); }
.br-core { inset: 27%; background: radial-gradient(circle at 35% 30%, #5fd0c9, var(--teal)); display: grid; place-items: center; box-shadow: 0 30px 60px -20px rgba(14, 90, 99, 0.6); }
.br-core span { font: 600 22px var(--display); color: #fff; letter-spacing: -0.02em; }
.calm-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.calm-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; }
.calm-list svg { width: 26px; height: 26px; flex: 0 0 auto; padding: 5px; border-radius: 50%; background: var(--aqua); color: #fff; margin-top: 1px; }

/* team */
.team { padding: 110px 0; background: #fff; }
.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.doc { padding: 30px; border-radius: 28px; background: var(--bg); transition: transform 0.5s var(--ease), box-shadow 0.4s; }
.doc:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -30px rgba(14, 90, 99, 0.45); }
.av { width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; background: linear-gradient(140deg, var(--aqua), var(--teal)); margin-bottom: 22px; position: relative; overflow: hidden; }
.av::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%); transform: translateX(-100%); transition: transform 0.9s var(--ease); }
.doc:hover .av::after { transform: translateX(100%); }
.av span { font: 700 28px var(--display); color: #fff; letter-spacing: -0.04em; }
.doc h3 { font-size: 22px; }
.doc small { display: block; margin: 6px 0 14px; font-size: 13.5px; font-weight: 800; color: var(--aqua); letter-spacing: 0.02em; }
.doc p { color: var(--muted); font-size: 15.5px; }

/* prenotazione */
.book { padding: 120px 0; }
.book-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 50px; align-items: start; }
.bk-head h2 { font-size: clamp(36px, 3.8vw, 52px); }
.hero-grid > *, .book-grid > *, .costi-grid > *, .ba-grid > *, .tr-box > *, .info-grid > * { min-width: 0; }
.urg-box { display: flex; gap: 14px; margin-top: 34px; padding: 18px 20px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(240, 106, 93, 0.35); }
.urg-box > span { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 13px; display: grid; place-items: center; background: var(--coral); color: #fff; }
.urg-box svg { width: 20px; height: 20px; }
.urg-box b { font: 600 16px var(--display); }
.urg-box p { font-size: 14.5px; color: var(--muted); }
.bk { position: relative; padding: 34px; border-radius: 32px; background: #fff; box-shadow: 0 40px 80px -50px rgba(14, 90, 99, 0.55); }
.bk-l { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 26px 0 12px; }
.bk-l:first-child { margin-top: 0; }
.mos { display: flex; flex-wrap: wrap; gap: 8px; }
.mo { display: grid; text-align: left; padding: 11px 16px; border-radius: 16px; border: 0; background: var(--bg); cursor: pointer; font-family: var(--sans); color: var(--ink); transition: all 0.3s var(--ease); }
.mo b { font-size: 15px; }
.mo span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.mo:hover { box-shadow: inset 0 0 0 1.5px var(--aqua); }
.mo.on { background: var(--teal); color: #fff; }
.mo.on span { color: #a9dedb; }
.mo.urg.on { background: var(--coral); }
.mo.urg.on span { color: #ffe0dc; }
.urg-msg { display: flex; gap: 12px; align-items: center; margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: #fff1ef; color: #8b2c23; font-size: 15px; }
.urg-msg[hidden] { display: none; }
.urg-msg svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--coral); }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg); }
.seg button { height: 40px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; font: 700 14.5px var(--sans); color: var(--muted); cursor: pointer; transition: all 0.3s; }
.seg button.on { background: #fff; color: var(--teal); box-shadow: 0 6px 14px -8px rgba(14, 90, 99, 0.5); }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 12px; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.day { flex: 0 0 auto; width: 66px; padding: 10px 0; border-radius: 16px; border: 0; background: var(--bg); cursor: pointer; display: flex; flex-direction: column; align-items: center; font-family: var(--sans); color: var(--ink); transition: all 0.3s; }
.day small { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.day b { font: 600 24px var(--display); letter-spacing: -0.03em; line-height: 1.25; }
.day.on { background: var(--teal); color: #fff; }
.day.on small { color: #a9dedb; }
.times { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; min-height: 96px; }
.tm { height: 42px; border-radius: 12px; border: 0; background: var(--bg); font: 700 14.5px var(--sans); color: var(--ink); cursor: pointer; transition: all 0.25s; }
.tm:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--aqua); }
.tm.on { background: var(--aqua); color: #fff; }
.tm:disabled { opacity: 0.35; text-decoration: line-through; cursor: default; }
.t-sep { grid-column: 1 / -1; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.bk-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.fld { display: grid; gap: 6px; }
.fld span { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.fld input { height: 54px; padding: 0 18px; border-radius: 16px; border: 0; background: var(--bg); font: 500 16px var(--sans); color: var(--ink); outline: none; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow 0.3s; }
.fld input:focus { box-shadow: inset 0 0 0 1.5px var(--aqua); }
.fld.bad input { box-shadow: inset 0 0 0 1.5px var(--coral); }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0 22px; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cbx { width: 24px; height: 24px; flex: 0 0 auto; border-radius: 8px; box-shadow: inset 0 0 0 1.5px rgba(15, 42, 46, 0.25); display: grid; place-items: center; color: transparent; background: #fff; transition: all 0.25s; }
.cbx svg { width: 16px; height: 16px; }
.consent input:checked + .cbx { background: var(--aqua); color: #fff; box-shadow: none; }
.consent input:focus-visible + .cbx { outline: 2px solid var(--teal); outline-offset: 2px; }
.consent.bad .cbx { box-shadow: inset 0 0 0 1.5px var(--coral); }
.bk-submit { width: 100%; }
.bk-note { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--muted); }
.bk-done { position: absolute; inset: 0; border-radius: 32px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 36px; }
.bk-done[hidden] { display: none; }
.bd-ic { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--aqua); color: #fff; box-shadow: 0 0 0 12px var(--aqua-l); margin-bottom: 14px; }
.bd-ic svg { width: 38px; height: 38px; }
.bk-done b { font: 600 30px var(--display); letter-spacing: -0.03em; }
.bk-done p { max-width: 400px; }
.bk-done .muted { color: var(--muted); font-size: 13.5px; margin-bottom: 8px; }
.shake { animation: shake 0.4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* info */
.info { padding: 110px 0; background: #fff; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.orari { list-style: none; padding: 0; margin: 30px 0 24px; }
.orari li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 16px; border-radius: 14px; font-size: 15.5px; color: var(--muted); }
.orari li:nth-child(odd) { background: var(--bg); }
.orari li b { font-weight: 700; color: var(--ink); text-align: right; }
.orari li.today { background: var(--teal); color: #cdeae8; }
.orari li.today b { color: #fff; }
.orari li.today span::after { content: "oggi"; margin-left: 10px; padding: 2px 8px; border-radius: 999px; background: var(--aqua); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; vertical-align: 1px; }
.addr { font-size: 15px; color: var(--muted); }
.addr b { color: var(--ink); }
.fq { border-bottom: 1px solid var(--line); }
.fq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; font: 600 19px var(--display); letter-spacing: -0.025em; }
.fq summary::-webkit-details-marker { display: none; }
.pm { position: relative; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: var(--bg); transition: background-color 0.3s; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--teal); border-radius: 2px; transition: transform 0.35s var(--ease); }
.pm::after { transform: rotate(90deg); }
.fq[open] .pm { background: var(--aqua); }
.fq[open] .pm::before, .fq[open] .pm::after { background: #fff; }
.fq[open] .pm::after { transform: rotate(0); }
.fq p { padding: 0 40px 20px 0; color: var(--muted); }

/* footer */
.foot { padding: 50px 0; background: var(--teal-2); color: #b8d8d9; font-size: 14px; }
.foot-in { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; }
.f-brand { display: flex; align-items: center; gap: 12px; }
.f-brand b { display: block; font: 700 22px var(--display); color: #fff; letter-spacing: -0.03em; }
.f-brand small { font-size: 12px; }
.f-legal { font-size: 12.5px; }
.foot a { color: #7fe0d8; }

/* intro */
.intro { display: none; }
.anim .intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; align-content: center; gap: 18px; background: var(--bg); }
.intro svg { width: 90px; height: 108px; }
.intro span { font: 700 26px var(--display); letter-spacing: -0.03em; color: var(--teal); }

/* stati animazione */
.anim [data-h], .anim [data-r] { opacity: 0; }
.anim .h-title .ln > span { transform: translateY(110%); }
.anim .h-tooth-w, .anim .fcard { opacity: 0; }

@media (max-width: 1000px) {
  .links { display: none; }
  .hero-grid, .ba-grid, .costi-grid, .visita-grid, .calm-grid, .book-grid, .info-grid { grid-template-columns: 1fr; }
  .hero-grid > *, .book-grid > *, .costi-grid > *, .ba-grid > * { min-width: 0; }
  .hero-grid { min-height: 0; }
  .hero-art { height: 500px; order: -1; }
  .tr-box { grid-template-columns: 1fr; }
  .tr-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .tr-tabs::-webkit-scrollbar { display: none; }
  .tr-tab { flex: 0 0 auto; grid-template-columns: auto auto; padding: 12px 16px; }
  .tr-tab .tt-p { display: none; }
  .tr-tab.on { transform: none; }
  .v-head { position: relative; top: 0; }
  .docs { grid-template-columns: 1fr 1fr; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .nav { padding: 12px 18px; }
  .btn-sm .long { display: none; }
  .demo-ribbon { font-size: 11.5px; padding: 8px 10px; }
  .hero { padding: 6px 0 60px; }
  .hero-art { height: 380px; }
  .h-tooth-w { width: 42%; }
  .fcard { padding: 8px 12px 8px 8px; border-radius: 14px; gap: 8px; }
  .fcard b { font-size: 12.5px; }
  .fcard small { font-size: 10.5px; }
  .fc-ic { width: 30px; height: 30px; border-radius: 10px; }
  .fc-ic svg { width: 16px; height: 16px; }
  .f1 { top: 6%; }
  .f2 { top: 60%; }
  .f3 { left: 0; bottom: 2%; }
  .h-title { font-size: 12.4vw; }
  .ctas .btn { width: 100%; }
  .trust { flex-direction: column; }
  .tr { padding: 70px 0; border-radius: 32px 32px 0 0; }
  .tr-panels { border-radius: 26px; }
  .tr-info { padding: 0 22px 24px; }
  .tr-info h3 { font-size: 25px; }
  .ba, .costi, .visita, .calm, .team, .book, .info { padding: 80px 0; }
  .calc, .bk { padding: 22px; border-radius: 26px; }
  .ccs { grid-template-columns: 1fr 1fr; }
  .docs { grid-template-columns: 1fr; }
  .times { grid-template-columns: repeat(4, 1fr); }
  .bk-2 { grid-template-columns: 1fr; }
  .breath { width: 76%; }
  .foot { padding-bottom: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  .blob, .orbit { animation: none; }
}
