/* =========================================================
   Vitalis Dental & Health — calm clinic (demo by MOORPROD)
   Fonts: Plus Jakarta Sans (UI/text) + Instrument Serif (accent words)
   ========================================================= */
:root {
  --teal: #0f766e;
  --teal-600: #0d6b64;
  --teal-900: #0b3f3b;
  --mint: #e7f4f1;
  --mint-2: #d3ece6;
  --sky: #f4f9f8;
  --ink: #10201f;
  --ink-2: #33494a;
  --mute: #566b6a;
  --line: #dbe7e4;
  --white: #fff;
  --danger: #b42318;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(16,32,31,.04), 0 12px 32px -12px rgba(16,32,31,.14);
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --gutter: clamp(20px, 4vw, 40px);
  --max: 1240px;
  --ribbon-h: 36px;
  --ease: cubic-bezier(.22, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font: 400 17px/1.65 var(--sans); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; padding-bottom: var(--ribbon-h); overflow-x: hidden; }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { list-style: none; padding: 0; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid #2bb3a3; outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.fit { white-space: nowrap; }

/* ---------- Type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 12.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--light { color: #8fe0d3; }
.section-title { font: 700 clamp(36px, 5.6vw, 64px)/1.08 var(--sans); letter-spacing: -.035em; }
.section-title em, .hero__title em { font: italic 400 1.12em/1 var(--serif); letter-spacing: -.01em; color: var(--teal); padding-right: .04em; }
.section-title--light { color: #fff; }
.section-title--light em { color: #8fe0d3; }
.section-sub { color: var(--mute); max-width: 36em; margin-top: 14px; font-size: 18px; }
.section-sub a { color: var(--teal); font-weight: 600; white-space: nowrap; }
.section { padding: 96px 0; }
.section--tint { background: var(--sky); }
.section-head { margin-bottom: 44px; min-width: 0; }
.section-head--center { text-align: center; display: grid; justify-items: center; }
.fine-print { font-size: 13.5px; color: var(--mute); margin-top: 28px; text-align: center; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; font: 600 16px/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; transition: background .3s var(--ease), color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s; white-space: nowrap; }
.btn svg { width: 19px; height: 19px; }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px -8px rgba(15,118,110,.6); }
.btn--primary:hover { background: var(--teal-900); transform: translateY(-1px); }
.btn--ghost { border-color: var(--mint-2); color: var(--teal-900); background: #fff; }
.btn--ghost:hover { border-color: var(--teal); }
.btn--lg { min-height: 58px; font-size: 17px; }
.btn--block { width: 100%; }

/* ---------- Topbar + header ---------- */
.topbar { display: none; background: var(--teal-900); color: #d6efea; font-size: 13.5px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 20px; }
.topbar p, .topbar a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.topbar a { color: #fff; font-weight: 600; }
.topbar svg { width: 16px; height: 16px; }
@media (min-width: 960px) { .topbar { display: block; } }

.header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); transition: box-shadow .35s; }
.header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(16,32,31,.25); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 72px; transition: height .35s var(--ease); }
.header.is-scrolled .header__inner { height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--teal); margin-right: auto; }
.brand__mark { width: 40px; height: 40px; transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg); }
.brand__name { font: 800 21px/1 var(--sans); letter-spacing: -.03em; color: var(--ink); display: grid; gap: 3px; }
.brand__name small { font: 600 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.brand--light .brand__name, .brand--light .brand__name small { color: #fff; }
.nav { display: none; gap: 4px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15.5px; color: var(--ink-2); padding: 10px 14px; border-radius: 999px; transition: background .25s, color .25s; }
.nav a:hover { background: var(--mint); color: var(--teal-900); }
.header__cta { display: none; min-height: 46px; }
.burger { width: 46px; height: 46px; border-radius: 14px; background: var(--mint); display: grid; place-content: center; gap: 5px; }
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--teal-900); transition: transform .4s var(--ease), opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { position: absolute; left: 12px; right: 12px; top: calc(100% + 6px); background: #fff; border-radius: var(--radius); box-shadow: 0 24px 60px -20px rgba(16,32,31,.35), 0 0 0 1px var(--line); padding: 14px; display: grid; gap: 10px; transform-origin: top; transform: translateY(-8px) scale(.98); opacity: 0; transition: transform .35s var(--ease), opacity .35s var(--ease); }
.mobile-nav.is-open { transform: none; opacity: 1; }
.mobile-nav nav { display: grid; margin-bottom: 6px; }
.mobile-nav nav a { text-decoration: none; font-weight: 600; font-size: 19px; padding: 12px 12px; border-radius: 12px; }
.mobile-nav nav a:hover { background: var(--mint); }
@media (min-width: 960px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .burger, .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky) 0%, #fff 100%); padding: 22px 0 30px; }
.hero__glow { position: absolute; width: 760px; height: 760px; right: -280px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(43,179,163,.22), rgba(43,179,163,0) 65%); pointer-events: none; }
.hero__grid { position: relative; display: grid; gap: 22px; }
.hero__text { min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 11px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 600; color: var(--teal-900); margin-bottom: 14px; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: #18a957; box-shadow: 0 0 0 0 rgba(24,169,87,.5); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(24,169,87,0); } 100% { box-shadow: 0 0 0 0 rgba(24,169,87,0); } }
.hero__title { font: 800 clamp(38px, 11vw, 84px)/1.05 var(--sans); letter-spacing: -.045em; }
.hero__lead { margin-top: 12px; color: var(--ink-2); font-size: 16.5px; line-height: 1.55; max-width: 31em; }
.hero__ctas { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.hero__ctas .btn { flex: 1 1 auto; }
.checks { display: none; }
.checks li { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.checks svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--mint); color: var(--teal); stroke-width: 2.4; }
.hero__stage { position: relative; display: grid; justify-items: center; }
.glassbox { width: min(90vw, 560px); aspect-ratio: 1; border-radius: 32px; background: radial-gradient(circle at 50% 38%, #ffffff 0%, #e3f3ef 45%, #b9ded6 100%); touch-action: pan-y; overflow: hidden; }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-radius: 18px; padding: 10px 16px 10px 10px; box-shadow: var(--shadow); font-size: 14px; line-height: 1.25; }
.float-card small { display: block; color: var(--mute); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.float-card strong { font-weight: 700; color: var(--ink); }
.float-card__icon { width: 40px; height: 40px; border-radius: 12px; background: var(--teal); color: #fff; display: grid; place-items: center; }
.float-card__icon svg { width: 20px; height: 20px; }
.float-card--slot { left: 10px; bottom: 10px; animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-6px); } }
@media (min-width: 960px) {
  .hero { padding: 40px 0 56px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 56px; }
  .glassbox { width: min(560px, 62vh, 46vw); }
  .hero__lead { font-size: 19px; margin-top: 18px; }
  .hero__ctas { margin-top: 30px; }
  .hero__ctas .btn { flex: 0 0 auto; min-height: 56px; padding: 0 30px; }
  .checks { display: grid; gap: 12px; margin-top: 34px; }
  .float-card--slot { left: -28px; bottom: 44px; }
}

/* ---------- Insurance strip ---------- */
.insurance { background: var(--teal-900); color: #e3f4f0; }
.insurance__inner { display: grid; gap: 14px; padding-top: 22px; padding-bottom: 22px; }
.insurance__title { display: flex; align-items: center; gap: 10px; font: 700 15px/1.2 var(--sans); letter-spacing: .02em; color: #fff; white-space: nowrap; }
.insurance__title svg { color: #8fe0d3; }
.insurance__list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.insurance__list::-webkit-scrollbar { display: none; }
.insurance__list li { flex: none; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); font-size: 14.5px; font-weight: 500; white-space: nowrap; }
@media (min-width: 960px) {
  .insurance__inner { grid-template-columns: auto 1fr; align-items: center; gap: 28px; }
  .insurance__list { flex-wrap: wrap; margin: 0; padding: 0; justify-content: flex-end; }
}

/* ---------- Tabs + service cards ---------- */
.tabs { position: relative; display: inline-flex; padding: 5px; background: var(--mint); border-radius: 999px; margin-bottom: 30px; }
.tab { position: relative; z-index: 1; min-height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 15.5px; color: var(--teal-900); transition: color .3s; }
.tab.is-active { color: #fff; }
.tabs__ink { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: 0; border-radius: 999px; background: var(--teal); transition: transform .45s var(--ease), width .45s var(--ease); }
.cards { display: grid; gap: 16px; }
@media (min-width: 680px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 22px; } #panel-health .cards { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; background: #fff; border-radius: var(--radius); padding: 26px 24px 22px; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--mint-2), 0 22px 44px -22px rgba(15,118,110,.35); }
.card__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--mint); color: var(--teal); display: grid; place-items: center; margin-bottom: 18px; transition: background .3s, color .3s; }
.card:hover .card__icon { background: var(--teal); color: #fff; }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font: 700 20px/1.25 var(--sans); letter-spacing: -.02em; }
.card p { color: var(--mute); font-size: 16px; margin-top: 8px; }
.card .card__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.card__meta span { font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 8px; background: var(--sky); color: var(--ink-2); }
.card__link { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 15.5px; color: var(--teal); text-decoration: none; align-self: flex-start; }
.card__link svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.card__link:hover svg { transform: translateX(4px); }
.card--accent { background: linear-gradient(160deg, #fff6f4, #fff); box-shadow: 0 0 0 1px #f4d9d4; }
.card--accent .card__icon { background: #fde7e3; color: var(--danger); }
.card--accent .card__link { color: var(--danger); }
.card--accent:hover .card__icon { background: var(--danger); }
.tab-panel { animation: fadeUp .5s var(--ease); }
@media (max-width: 679px) {
  .card { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; padding: 20px 18px 14px; align-items: start; }
  .card__icon { grid-row: 1 / span 4; width: 48px; height: 48px; margin: 0; }
  .card > :not(.card__icon) { grid-column: 2; }
  .card p { font-size: 15.5px; margin-top: 4px; }
  .card .card__meta { margin-top: 10px; }
  .card__link { padding-top: 4px; }
  .steps__list li { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 22px 20px; }
  .steps__num { grid-row: 1 / span 2; margin: 0; }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Photo frames (gradient fallbacks) ---------- */
.photo { position: relative; overflow: hidden; border-radius: var(--radius); background: linear-gradient(150deg, #bfe3dc 0%, #6fb7ab 45%, #2f7f75 100%); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(90% 70% at 25% 15%, rgba(255,255,255,.35), transparent 60%); }

/* ---------- Comfort band ---------- */
.comfort { background: radial-gradient(120% 80% at 90% 0%, #136b63 0%, var(--teal-900) 55%, #082d2a 100%); color: #e6f5f2; padding: 96px 0; }
.comfort__grid { display: grid; gap: 44px; align-items: center; }
.photo--clinic { aspect-ratio: 4 / 3.4; background: linear-gradient(150deg, #e1f1ee 0%, #9fcfc6 40%, #4a9a8f 80%, #2c6f66 100%); }
.photo__badge { position: absolute; z-index: 1; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow); font-size: 13.5px; line-height: 1.25; font-weight: 600; }
.photo__badge strong { font: 800 34px/1 var(--sans); color: var(--teal); letter-spacing: -.04em; }
.comfort__body { min-width: 0; }
.comfort__lead { color: #c4e3dd; font-size: 18px; margin-top: 16px; max-width: 32em; }
.features { display: grid; gap: 14px; margin-top: 30px; }
.features li { display: flex; gap: 16px; padding: 18px; border-radius: 18px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.features svg { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: rgba(143,224,211,.14); color: #8fe0d3; }
.features h3 { font: 700 17px/1.3 var(--sans); color: #fff; }
.features p { font-size: 15.5px; color: #b8d9d3; margin-top: 2px; }
@media (min-width: 960px) {
  .comfort { padding: 120px 0; }
  .comfort__grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .photo--clinic { aspect-ratio: 4 / 4.6; }
  .features { grid-template-columns: 1fr 1fr; }
}

/* ---------- Steps ---------- */
.steps__list { display: grid; gap: 16px; counter-reset: s; }
.steps__list li { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--sky); }
.steps__num { width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--teal); display: grid; place-items: center; font: 800 20px/1 var(--sans); box-shadow: 0 0 0 1px var(--line); margin-bottom: 18px; }
.steps__list h3 { font: 700 21px/1.25 var(--sans); letter-spacing: -.02em; }
.steps__list p { color: var(--mute); margin-top: 8px; font-size: 16.5px; }
@media (min-width: 860px) {
  .steps__list { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .steps__list li:not(:last-child)::after { content: ""; position: absolute; top: 54px; right: -22px; width: 22px; height: 2px; background: var(--mint-2); }
}

/* ---------- Team ---------- */
.team__grid { display: grid; gap: 30px; }
.person .photo { aspect-ratio: 4 / 4.4; margin-bottom: 18px; }
.photo--p1 { background: linear-gradient(160deg, #d7eee9 0%, #8ccabf 55%, #3d8c81 100%); }
.photo--p2 { background: linear-gradient(160deg, #e3efed 0%, #a5cfc8 50%, #5b9b92 100%); }
.photo--p3 { background: linear-gradient(160deg, #e9f4ef 0%, #b2d9cb 50%, #4f9483 100%); }
.person h3 { font: 700 20px/1.3 var(--sans); letter-spacing: -.02em; }
.person__role { color: var(--teal); font-weight: 600; font-size: 15px; margin-top: 2px; }
.person__bio { color: var(--mute); margin-top: 8px; font-size: 16px; }
@media (min-width: 760px) { .team__grid { grid-template-columns: repeat(3, 1fr); gap: 26px; } }

/* ---------- Reviews ---------- */
.reviews__grid { display: grid; gap: 16px; }
.review { background: #fff; border-radius: var(--radius); padding: 28px 26px; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 14px; }
.review__label { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); background: var(--sky); padding: 4px 10px; border-radius: 6px; }
.stars { display: flex; gap: 2px; color: #e2a13a; }
.stars svg { width: 19px; height: 19px; fill: currentColor; stroke: none; }
.review blockquote { font: italic 400 23px/1.35 var(--serif); color: var(--ink); }
.review__who { margin-top: auto; font-weight: 600; font-size: 15px; color: var(--ink-2); }
@media (min-width: 860px) { .reviews__grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: 10px; }
.accordion { display: grid; gap: 12px; }
.acc { background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; transition: box-shadow .3s; }
.acc.is-open { box-shadow: 0 0 0 1.5px var(--teal); }
.acc h3 { font: inherit; }
.acc button { width: 100%; min-height: 64px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; font: 700 17px/1.35 var(--sans); }
.acc__icon { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--mint); flex: none; transition: background .3s, transform .4s var(--ease); }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--teal); transform: translate(-50%, -50%); transition: transform .4s var(--ease), background .3s; }
.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc.is-open .acc__icon { background: var(--teal); transform: rotate(180deg); }
.acc.is-open .acc__icon::before, .acc.is-open .acc__icon::after { background: #fff; }
.acc.is-open .acc__icon::after { transform: translate(-50%, -50%) rotate(0); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc__panel > p { overflow: hidden; padding: 0 20px; color: var(--mute); font-size: 16.5px; }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc.is-open .acc__panel > p { padding-bottom: 20px; }
@media (min-width: 960px) { .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } .faq .section-head { position: sticky; top: 110px; } }

/* ---------- Booking ---------- */
.book__grid { display: grid; gap: 24px; align-items: start; }
.book-form { display: grid; gap: 18px; }
.step { border: 0; margin: 0; padding: 22px 14px; border-radius: var(--radius); background: var(--sky); min-width: 0; }
.step legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; font: 700 19px/1.2 var(--sans); letter-spacing: -.02em; margin-bottom: 18px; padding: 0; }
.step legend + * { clear: both; }
.step legend span { width: 32px; height: 32px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 15px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 18px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 12px; font-weight: 600; font-size: 15.5px; color: var(--ink-2); transition: background .3s, color .3s; }
.seg input:checked + span { background: var(--teal); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid #2bb3a3; outline-offset: 2px; }
.fields { display: grid; gap: 14px; }
@media (min-width: 600px) { .fields { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; color: var(--ink-2); }
.opt { font-weight: 400; color: var(--mute); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-size: 16.5px; transition: border-color .25s, box-shadow .25s; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15,118,110,.14); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__err { color: var(--danger); font-size: 14px; font-weight: 600; min-height: 0; margin-top: 6px; }
.field__err:empty { display: none; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--mute); }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; font-size: 15.5px; color: var(--ink-2); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--teal); flex: none; }
.form-note { text-align: center; font-size: 14px; color: var(--mute); }

/* calendar */
.cal { background: #fff; border-radius: 18px; padding: 10px 6px; box-shadow: 0 0 0 1px var(--line); }
@media (min-width: 600px) { .cal { padding: 14px; } .step { padding: 26px 22px; } }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal__month { font-weight: 700; font-size: 17px; }
.cal__nav { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--teal-900); transition: background .25s; }
.cal__nav:hover:not(:disabled) { background: var(--mint); }
.cal__nav:disabled { opacity: .3; cursor: not-allowed; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; }
.cal__dow span { font-size: 12px; font-weight: 700; color: var(--mute); padding: 6px 0; letter-spacing: .04em; }
.day { height: 44px; min-width: 0; border-radius: 12px; font-weight: 600; font-size: 15.5px; display: grid; place-items: center; position: relative; transition: background .2s, color .2s; }
.day:not(:disabled):hover { background: var(--mint); }
.day:disabled { color: #b4c3c1; cursor: not-allowed; text-decoration: line-through; text-decoration-color: rgba(180,195,193,.6); }
.day.is-today::after { content: ""; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--teal); }
.day[aria-pressed="true"] { background: var(--teal); color: #fff; }
.day[aria-pressed="true"]::after { background: #fff; }
.day--blank { visibility: hidden; }
.cal__legend { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mute); margin-top: 10px; flex-wrap: wrap; }
.dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.dot--free { background: var(--mint-2); }
.dot--closed { background: #e7ecec; margin-left: 10px; }
.slots { margin-top: 18px; }
.slots__label { font-weight: 600; font-size: 15px; color: var(--ink-2); margin-bottom: 10px; }
.slots__group { display: flex; flex-wrap: wrap; gap: 8px; }
.slots__group + .slots__group { margin-top: 8px; }
.slots__group[data-title]::before { content: attr(data-title); width: 100%; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin: 4px 0 2px; }
.slot { min-height: 44px; min-width: 84px; padding: 0 14px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: 15px; transition: all .2s; }
.slot:not(:disabled):hover { box-shadow: inset 0 0 0 1.5px var(--teal); }
.slot:disabled { color: #b4c3c1; text-decoration: line-through; cursor: not-allowed; background: #f6f8f8; }
.slot[aria-pressed="true"] { background: var(--teal); color: #fff; box-shadow: none; }

/* summary */
.summary { position: relative; }
.summary__card, .success { background: linear-gradient(160deg, var(--teal-900), #0e5c55); color: #e6f5f2; border-radius: var(--radius); padding: 28px 26px; }
.summary__title { font: 700 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #8fe0d3; margin-bottom: 16px; }
.summary dl div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.summary dt { color: #a9d3cc; font-size: 15px; }
.summary dd { font-weight: 700; text-align: right; color: #fff; font-size: 15.5px; }
.summary__note { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 14.5px; color: #c4e3dd; }
.summary__note svg { color: #8fe0d3; width: 20px; height: 20px; margin-top: 1px; }
.success { text-align: center; display: grid; justify-items: center; gap: 10px; outline: none; }
.success__icon { width: 64px; height: 64px; border-radius: 50%; background: #8fe0d3; color: var(--teal-900); display: grid; place-items: center; animation: pop .6s var(--ease); }
.success__icon svg { width: 32px; height: 32px; stroke-width: 2.6; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.success__title { font: 800 26px/1.2 var(--sans); color: #fff; letter-spacing: -.03em; }
.success p:not(.success__title) { color: #c4e3dd; }
.success .btn { margin-top: 10px; }
@media (min-width: 960px) {
  .book__grid { grid-template-columns: 1.5fr 1fr; gap: 32px; }
  .summary { position: sticky; top: 100px; }
  .step { padding: 30px 30px; }
  .step:nth-child(2) { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; align-items: start; }
  .step:nth-child(2) legend { grid-column: 1 / -1; }
  .step:nth-child(2) .slots { margin-top: 0; }
  .step:nth-child(2) .field__err { grid-column: 1 / -1; }
}

/* ---------- Find us ---------- */
.find__grid { display: grid; gap: 36px; align-items: center; }
.find__addr { font: 700 22px/1.4 var(--sans); font-style: normal; letter-spacing: -.02em; margin-top: 4px; }
.find__meta { color: var(--mute); margin-top: 10px; }
.hours { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 16px; }
.hours th, .hours td { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; color: var(--ink-2); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--teal); font-weight: 700; }
.hours tr.is-today th::after { content: "Today"; margin-left: 10px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; background: var(--mint); padding: 3px 8px; border-radius: 6px; vertical-align: 2px; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 6 / 5; box-shadow: 0 0 0 1px var(--line); }
.map svg { width: 100%; height: 100%; display: block; stroke-width: 1; }
.map__cta { position: absolute; left: 16px; bottom: 16px; }
@media (min-width: 960px) { .find__grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } }

/* ---------- Footer ---------- */
.footer { background: #0a2a27; color: #b8d4cf; padding: 72px 0 26px; font-size: 15.5px; }
.footer__grid { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
.footer__brand { grid-column: 1 / -1; }
.footer__brand p { margin-top: 16px; max-width: 24em; }
.footer h3 { font: 700 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #8fe0d3; margin-bottom: 14px; }
.footer li { padding: 5px 0; }
.footer a { text-decoration: none; }
.footer ul a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; color: #8fb0aa; }
@media (min-width: 860px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer__brand { grid-column: auto; } }

/* ---------- Ribbon ---------- */
.ribbon { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; height: var(--ribbon-h); display: flex; align-items: center; justify-content: center; gap: 6px; background: #071f1d; color: #cfe7e2; font-size: 12.5px; text-decoration: none; white-space: nowrap; overflow: hidden; padding: 0 12px; border-top: 1px solid rgba(255,255,255,.08); }
.ribbon strong { color: #8fe0d3; font-weight: 700; }
.ribbon:hover strong { text-decoration: underline; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
