/* ==========================================================================
   Dr. Nancy Bishay, DDS  |  site.css  (2026 refresh)
   Single lightweight stylesheet: no framework, no jQuery.
   ========================================================================== */

:root {
	--ink: #0b2b28;
	--ink-2: #35514d;
	--muted: #5b6f6b;
	--teal: #1abc9c;           /* brand */
	--teal-d: #0b7f6b;         /* text/links on light (AA) */
	--teal-dd: #0a5c4f;
	--mint: #e9f8f4;
	--mint-2: #d3f1ea;
	--coral: #ff6f61;
	--bg: #fbfdfc;
	--card: #ffffff;
	--line: #e3ece9;
	--shadow-sm: 0 2px 10px rgba(11, 43, 40, .06);
	--shadow: 0 18px 50px -18px rgba(11, 43, 40, .28);
	--r: 22px;
	--r-lg: 32px;
	--ease: cubic-bezier(.22, .8, .24, 1);
	--header-h: 116px;
	--font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--display: "Fraunces", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink-2);
	background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-d); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-dd); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
em.serif, h1 em, h2 em { font-family: var(--display); font-style: italic; font-weight: 500; color: var(--teal-d); letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 200; transition: top .2s; }
.skip:focus { top: 12px; color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-d); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--teal); border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.center .eyebrow { justify-content: center; }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head.center { margin-inline: auto; }

/* ---------- scroll progress + back to top ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; background: transparent; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--teal), #6ee7cf); }
.to-top {
	position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
	background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow);
	opacity: 0; transform: translateY(14px); pointer-events: none; transition: .3s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--teal-d); }

/* ---------- buttons ---------- */
.btn {
	--bg-b: var(--ink); --fg-b: #fff;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; border: 2px solid transparent;
	font: 700 1rem/1 var(--font); padding: 16px 28px; border-radius: 999px; background: var(--bg-b); color: var(--fg-b);
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s; position: relative; overflow: hidden; text-align: center;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -12px rgba(11, 43, 40, .5); color: var(--fg-b); }
.btn:active { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-teal { --bg-b: var(--teal-d); }
.btn-teal:hover { background: var(--teal-dd); }
.btn-ghost { --bg-b: transparent; --fg-b: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { --bg-b: #fff; --fg-b: var(--ink); }
.btn-light:hover { color: var(--ink); }
.btn-ghost-light { --bg-b: transparent; --fg-b: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-sm { padding: 12px 20px; font-size: .92rem; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--ink); color: #cfe6e1; font-size: .86rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; flex-wrap: wrap; padding-block: 6px; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.topbar a { color: #e8f6f3; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.topbar a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topbar svg { width: 15px; height: 15px; color: var(--teal); }
.tb-cdcp { background: rgba(26, 188, 156, .18); border: 1px solid rgba(26, 188, 156, .5); border-radius: 999px; padding: 3px 12px; }

.header {
	position: sticky; top: 0; z-index: 100; height: var(--header-h);
	background: rgba(251, 253, 252, .78); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
	border-bottom: 1px solid transparent; transition: height .35s var(--ease), box-shadow .3s, border-color .3s, background .3s;
}
.header.scrolled { --header-h: 76px; border-color: var(--line); box-shadow: 0 8px 30px -18px rgba(11, 43, 40, .35); background: rgba(255, 255, 255, .88); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }
.logo { display: inline-flex; align-items: center; }
.logo img { width: 165px; height: 100px; transition: width .35s var(--ease), height .35s var(--ease); }
.header.scrolled .logo img { width: 99px; height: 60px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { font-weight: 700; color: var(--ink); padding: 10px 16px; border-radius: 999px; font-size: .98rem; position: relative; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { background: var(--mint); color: var(--teal-dd); }
.nav .btn { margin-left: 8px; }
.burger { display: none; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 0; position: relative; }
.burger span, .burger span::before, .burger span::after { content: ""; position: absolute; left: 13px; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.burger span { top: 22px; }
.burger span::before { left: 0; top: -7px; }
.burger span::after { left: 0; top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 90px) 0 clamp(56px, 8vw, 110px); isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero::before { width: 520px; height: 520px; background: #bff1e5; top: -160px; left: -140px; animation: drift 14s ease-in-out infinite alternate; }
.hero::after { width: 380px; height: 380px; background: #ffe0da; right: -120px; bottom: 30px; animation: drift 17s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.12); } }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-weight: 700; font-size: .88rem; color: var(--ink); margin-bottom: 22px; }
.pill .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(26, 188, 156, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(26, 188, 156, 0); } 100% { box-shadow: 0 0 0 0 rgba(26, 188, 156, 0); } }
.hero h1 { margin-bottom: .35em; }
.hero .lead { margin-bottom: 30px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; background: rgba(255, 255, 255, .8); border: 1px solid var(--line); border-radius: 999px; font-weight: 700; font-size: .88rem; color: var(--ink); backdrop-filter: blur(6px); }
.chips svg { width: 16px; height: 16px; color: var(--teal-d); }
.hero-media { position: relative; }
.hero-photo { border-radius: 46% 54% 40% 60% / 52% 44% 56% 48%; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); animation: morph 16s ease-in-out infinite alternate; background: var(--mint); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
@keyframes morph { 50% { border-radius: 58% 42% 52% 48% / 44% 56% 44% 56%; } 100% { border-radius: 42% 58% 46% 54% / 56% 44% 58% 42%; } }
.float-card { position: absolute; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .8); border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); animation: bob 6s ease-in-out infinite; }
.float-card small { display: block; font-weight: 600; color: var(--muted); font-size: .78rem; }
.float-card b { font-size: 1.35rem; line-height: 1; display: block; }
.float-card .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--mint); color: var(--teal-d); display: grid; place-items: center; flex: none; }
.float-card .ic svg { width: 22px; height: 22px; }
.fc-1 { left: -6%; bottom: 6%; }
.fc-2 { right: -3%; top: -9%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-12px); } }

/* ---------- CDCP band ---------- */
.cdcp { padding: 0; margin-top: -34px; position: relative; z-index: 5; }
.cdcp-card {
	display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 48px); align-items: center;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 34px) clamp(22px, 4vw, 48px); box-shadow: var(--shadow);
	position: relative; overflow: hidden;
}
.cdcp-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: linear-gradient(var(--coral), #e63946); }
.cdcp-logo { width: clamp(170px, 22vw, 260px); }
.cdcp-card h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); margin: 0 0 6px; }
.cdcp-card h2 em { color: #d4202c; }
.cdcp-card p { margin: 0; max-width: 56ch; }
.cdcp-card.big { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.cdcp-card.big::before { display: none; }

/* ---------- service cards (spotlight) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
	--mx: 50%; --my: 0%;
	position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 32px 30px;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; overflow: hidden; isolation: isolate;
}
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(26, 188, 156, .16), transparent 60%); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--mint-2); }
.card:hover::before { opacity: 1; }
.card .ic { width: 58px; height: 58px; border-radius: 18px; background: var(--mint); color: var(--teal-d); display: grid; place-items: center; margin-bottom: 22px; transition: transform .4s var(--ease), background .3s, color .3s; }
.card:hover .ic { transform: rotate(-8deg) scale(1.08); background: var(--teal-d); color: #fff; }
.card .ic svg { width: 28px; height: 28px; }
.card p { margin: 0; }

/* ---------- new patients ---------- */
.np { background: linear-gradient(135deg, #0b2b28 0%, #0e4a42 55%, #0b7f6b 120%); color: #cfe6e1; border-radius: var(--r-lg); padding: clamp(32px, 6vw, 72px); position: relative; overflow: hidden; }
.np::after { content: ""; position: absolute; width: 480px; height: 480px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(26, 188, 156, .45), transparent 65%); }
.np h2, .np h3 { color: #fff; }
.np h2 em { color: #6ee7cf; }
.np .eyebrow { color: #6ee7cf; }
.np-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; z-index: 1; }
.np ul.ticks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 14px; }
.np ul.ticks li { display: flex; gap: 14px; align-items: flex-start; color: #e6f5f2; font-weight: 600; }
.ticks .tk { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: #05302a; display: grid; place-items: center; margin-top: 1px; }
.ticks .tk svg { width: 16px; height: 16px; }
.np-offer { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r); padding: 30px; backdrop-filter: blur(10px); }
.np-offer .tag { display: inline-block; background: var(--coral); color: #fff; font-weight: 800; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.np-offer h3 { font-size: 1.7rem; margin-bottom: 8px; }
.np-offer p { color: #cfe6e1; }
.np-offer .mini { border-top: 1px solid rgba(255, 255, 255, .18); margin-top: 20px; padding-top: 20px; font-size: .95rem; }
.np-offer .mini b { color: #fff; }

/* ---------- Invisalign ---------- */
.inv { background: linear-gradient(180deg, #f3fbf9, #fff); overflow: hidden; }
.inv-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.inv-badge { display: inline-flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); padding: 12px 20px; border-radius: 18px; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.inv-badge img { height: 44px; width: auto; }
.inv-badge span { font-weight: 800; color: var(--ink); font-size: .85rem; line-height: 1.25; border-left: 2px solid var(--line); padding-left: 16px; }
.inv h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.inv-points { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 12px; }
.inv-points li { display: flex; gap: 12px; font-weight: 600; color: var(--ink); }
.inv-points svg { width: 22px; height: 22px; color: var(--teal-d); flex: none; margin-top: 3px; }
.inv-collage { position: relative; min-height: 520px; }
.inv-collage figure { margin: 0; position: absolute; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--mint); }
.inv-collage img { width: 100%; height: 100%; object-fit: cover; }
.ic-a { inset: 0 18% 26% 0; transition: transform .6s var(--ease); }
.ic-b { inset: 40% 0 0 40%; border: 8px solid #fff; transition: transform .6s var(--ease); }
.inv-collage:hover .ic-a { transform: translate(-6px, -6px) rotate(-1deg); }
.inv-collage:hover .ic-b { transform: translate(6px, 6px) rotate(1.5deg); }
.ic-b img { object-position: 60% 20%; }
.inv-sticker { position: absolute; left: 6%; bottom: 4%; z-index: 3; background: var(--ink); color: #fff; padding: 16px 22px; border-radius: 20px; font-weight: 800; box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite; }
.inv-sticker small { display: block; color: #9fd9cd; font-weight: 600; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(40px, 6vw, 72px); counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.step img { aspect-ratio: 5/3; width: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.step:hover img { transform: scale(1.06); }
.step div { padding: 22px 24px 26px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 14px; left: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; font-size: .97rem; }
.step .media { overflow: hidden; display: block; }

/* ---------- treatments ---------- */
.tx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.tx { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; display: flex; flex-direction: column; }
.tx:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.tx .media { overflow: hidden; aspect-ratio: 625/300; background: #fff; display: block; border-bottom: 1px solid var(--line); }
.tx img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease); }
.tx:hover img { transform: scale(1.07); }
.tx div.body { padding: 24px 26px 28px; }
.tx h3 { margin-bottom: 8px; }
.tx p { margin: 0; font-size: .98rem; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px 16px; transition: transform .3s var(--ease), box-shadow .3s; }
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stat b { display: block; font-size: clamp(2rem, 4.2vw, 3.2rem); color: var(--ink); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat b span { color: var(--teal-d); }
.stat small { font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }

/* ---------- forms ---------- */
.book-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.book-side { background: linear-gradient(160deg, #0b2b28, #0e4a42); color: #cfe6e1; padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.book-side::after { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; bottom: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(26, 188, 156, .45), transparent 65%); }
.book-side h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.book-side h2 em { color: #6ee7cf; }
.book-side .eyebrow { color: #6ee7cf; }
.book-side ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; position: relative; z-index: 1; }
.book-side li { display: flex; gap: 14px; align-items: center; color: #fff; font-weight: 700; }
.book-side li svg { width: 22px; height: 22px; color: #6ee7cf; flex: none; }
.book-side li a { color: #fff; }
.form-box { padding: clamp(26px, 5vw, 56px); }
.form-box h3 { font-size: 1.5rem; margin-bottom: 20px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field .lbl { font-weight: 700; font-size: .86rem; color: var(--ink); }
.field label small, .field .lbl small { font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
	width: 100%; font: 600 1rem/1.4 var(--font); color: var(--ink); background: #f5faf8; border: 2px solid #e3ece9; border-radius: 14px; padding: 14px 16px; transition: border-color .2s, box-shadow .2s, background .2s;
	appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230b2b28' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8aa09b; font-weight: 500; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c8ddd7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--teal); box-shadow: 0 0 0 5px rgba(26, 188, 156, .18); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d93b3b; background: #fff6f6; }
.field .err { color: #b42323; font-size: .82rem; font-weight: 700; min-height: 0; }
.seg { display: inline-flex; background: #f5faf8; border: 2px solid #e3ece9; border-radius: 999px; padding: 4px; width: max-content; max-width: 100%; }
.seg label { position: relative; cursor: pointer; margin: 0; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: block; padding: 10px 22px; border-radius: 999px; font-weight: 700; color: var(--ink-2); transition: .25s var(--ease); }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field.form-foot { flex-direction: row; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-note { font-size: .82rem; color: var(--muted); margin: 0; }
.status { grid-column: 1 / -1; border-radius: 14px; padding: 0 18px; max-height: 0; overflow: hidden; opacity: 0; font-weight: 700; transition: .4s var(--ease); }
.status.show { max-height: 200px; opacity: 1; padding: 14px 18px; }
.status.ok { background: #e6f8f1; color: #08604f; border: 1px solid #a8e5d2; }
.status.bad { background: #fff0ee; color: #9d2b21; border: 1px solid #ffc9c2; }
.spin { width: 18px; height: 18px; border: 3px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: rot .7s linear infinite; display: none; }
.btn[disabled] .spin { display: inline-block; }
@keyframes rot { to { transform: rotate(360deg); } }

/* ---------- reviews ---------- */
.reviews { background: linear-gradient(180deg, #fff, #f3fbf9); overflow: hidden; }
.rev-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.g-badge { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); padding: 10px 18px; border-radius: 999px; font-weight: 800; color: var(--ink); box-shadow: var(--shadow-sm); font-size: .92rem; }
.g-badge svg { width: 22px; height: 22px; }
.rev-ctrl { display: flex; gap: 10px; }
.rev-ctrl button { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: .25s var(--ease); }
.rev-ctrl button:hover:not(:disabled) { background: var(--ink); color: #fff; transform: scale(1.06); }
.rev-ctrl button:disabled { opacity: .35; cursor: default; }
.rev-ctrl svg { width: 20px; height: 20px; }
.track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 20px 36px; margin-inline: -20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-padding-inline: 20px; }
.track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; flex: 0 0 min(400px, 86vw); background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 16px; transition: transform .35s var(--ease), box-shadow .35s; }
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.review .qm { width: 36px; height: 36px; color: var(--teal); opacity: .9; }
.review blockquote { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review.open blockquote { -webkit-line-clamp: unset; display: block; }
.review .more { align-self: flex-start; background: none; border: 0; padding: 0; font: 800 .9rem var(--font); color: var(--teal-d); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.review .more[hidden] { display: none; }
.review footer { margin-top: auto; display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--mint); color: var(--teal-dd); display: grid; place-items: center; font-weight: 800; flex: none; }
.review cite { font-style: normal; font-weight: 800; color: var(--ink); display: block; line-height: 1.2; }
.review footer small { color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.review footer small svg { width: 14px; height: 14px; }
.rev-cta { text-align: center; margin-top: 8px; }

/* ---------- team / about ---------- */
.team-photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.team-photo img { width: 100%; transition: transform 1.2s var(--ease); }
.team-photo:hover img { transform: scale(1.03); }
.page-hero { position: relative; color: #fff; padding: clamp(80px, 12vw, 150px) 0 clamp(70px, 10vw, 120px); overflow: hidden; isolation: isolate; background: #0b2b28; }
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transform: scale(1.08); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11, 43, 40, .92) 10%, rgba(11, 43, 40, .45)); }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.2rem); }
.page-hero h1 em { color: #6ee7cf; }
.page-hero .lead { color: #d8efe9; }
.page-hero .eyebrow { color: #6ee7cf; }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.perk { display: flex; gap: 18px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 14px; transition: transform .3s var(--ease), box-shadow .3s; }
.perk:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.perk .ic { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--mint); color: var(--teal-d); display: grid; place-items: center; }
.perk .ic svg { width: 24px; height: 24px; }
.perk p { margin: 0; font-weight: 700; color: var(--ink); font-size: .98rem; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 28px; padding: 0; list-style: none; }
.langs li { background: var(--mint); color: var(--teal-dd); font-weight: 800; font-size: .8rem; letter-spacing: .06em; padding: 7px 14px; border-radius: 999px; }
.hours { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--header-h) + 20px); }
.hours.nosticky { position: static; }
.hours h3 { margin-bottom: 4px; }
.hours > p { color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.hours dl { margin: 0; }
.hours .row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 600; }
.hours dt { font-weight: 800; color: var(--ink); }
.hours dd { margin: 0; text-align: right; }
.hours .row.today { background: linear-gradient(90deg, var(--mint), transparent); margin-inline: -14px; padding-inline: 14px; border-radius: 10px; }
.hours .closed { color: #b42323; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: var(--r-lg); overflow: hidden; }
.tile { padding: clamp(28px, 4vw, 48px); color: #fff; position: relative; overflow: hidden; }
.tile h3 { color: #fff; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .03em; }
.tile p { color: rgba(255, 255, 255, .92); margin: 0; position: relative; z-index: 1; }
.tile svg.bg { position: absolute; right: -24px; bottom: -28px; width: 150px; height: 150px; opacity: .14; transition: transform .6s var(--ease); }
.tile:hover svg.bg { transform: rotate(-12deg) scale(1.15); }
.t1 { background: #0b7f6b; } .t2 { background: #0a5c4f; } .t3 { background: #0b2b28; }
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ic { width: 44px; height: 44px; border-radius: 13px; background: var(--mint); color: var(--teal-d); display: grid; place-items: center; flex: none; }
.info-list .ic svg { width: 22px; height: 22px; }
.info-list b { display: block; color: var(--ink); line-height: 1.3; }
.map { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); aspect-ratio: 16/7; background: var(--mint); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #b9d3ce; padding: clamp(56px, 8vw, 96px) 0 0; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; width: 560px; height: 560px; left: -200px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(26, 188, 156, .3), transparent 65%); pointer-events: none; }
.f-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(28px, 5vw, 64px); position: relative; }
.footer h3, .footer h4 { color: #fff; }
.footer h4 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: #6ee7cf; margin-bottom: 16px; }
.footer a { color: #e8f6f3; }
.footer a:hover { color: #fff; }
.f-big { font-size: clamp(1.05rem, 1.7vw, 1.35rem); font-weight: 800; color: #fff; display: block; line-height: 1.35; overflow-wrap: anywhere; }
.f-big small { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #8fb6ae; font-weight: 700; }
.f-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.news { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.news input { flex: 1 1 200px; min-width: 0; font: 600 1rem var(--font); padding: 14px 18px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .07); color: #fff; }
.news input::placeholder { color: #8fb6ae; }
.news input:focus { outline: none; border-color: var(--teal); background: rgba(255, 255, 255, .12); }
.news-msg { font-weight: 700; font-size: .9rem; margin-top: 10px; min-height: 1.4em; color: #6ee7cf; }
.news-msg.bad { color: #ffb3aa; }
.socials { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.social { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #fff; transition: transform .3s var(--ease), background .3s, box-shadow .3s, border-color .3s; position: relative; }
.social svg { width: 24px; height: 24px; }
.social:hover { transform: translateY(-6px) rotate(-4deg); color: #fff; box-shadow: 0 16px 30px -12px var(--sc, #1abc9c); border-color: transparent; background: var(--sc, var(--teal)); }
.social.fb { --sc: #1877f2; } .social.gg { --sc: #4285f4; } .social.yp { --sc: #d32323; }
.social::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px); background: #fff; color: var(--ink); font-size: .75rem; font-weight: 800; padding: 5px 10px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: .25s var(--ease); }
.social:hover::after, .social:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.copy { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid rgba(255, 255, 255, .12); padding: 24px 0; font-size: .9rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; position: relative; }
.copy a { text-decoration: underline; text-underline-offset: 3px; }
.copy nav { display: flex; gap: 18px; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.left { transform: translateX(-40px); } .js .reveal.right { transform: translateX(40px); }
.js .reveal.left.in, .js .reveal.right.in { transform: none; }
.js .reveal.zoom { transform: scale(.94); }
.js .reveal.zoom.in { transform: none; }

/* thank-you */
.thanks { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.thanks .big { width: 96px; height: 96px; border-radius: 50%; background: var(--mint); color: var(--teal-d); display: grid; place-items: center; margin: 0 auto 28px; }
.thanks .big svg { width: 48px; height: 48px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
	.hero-grid, .inv-grid, .np-grid, .about-grid, .contact-grid, .book-wrap, .f-grid { grid-template-columns: 1fr; }
	.hero-media { max-width: 520px; margin-inline: auto; width: 100%; }
	.fc-1 { left: 0; } .fc-2 { right: 0; }
	.cards, .steps, .tiles { grid-template-columns: 1fr; }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.cdcp-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.cdcp-card::before { inset: 0 0 auto 0; width: auto; height: 6px; }
	.inv-collage { min-height: 440px; max-width: 560px; margin-inline: auto; width: 100%; }
	.hours { position: static; }
	.step img { aspect-ratio: 16/9; }
}
@media (max-width: 860px) {
	.burger { display: block; }
	.nav {
		position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; background: rgba(255, 255, 255, .98);
		padding: 18px 20px 28px; border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -24px rgba(11, 43, 40, .4);
		transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .35s var(--ease); max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
	}
	.nav.open { transform: none; opacity: 1; visibility: visible; }
	.nav a:not(.btn) { padding: 16px 18px; font-size: 1.1rem; }
	.nav .btn { margin: 10px 0 0; }
	.topbar .tb-hide { display: none; }
}
@media (max-width: 620px) {
	body { font-size: 16px; }
	.container { width: calc(100% - 32px); }
	.form { grid-template-columns: 1fr; }
	.field.full { grid-column: auto; }
	.stats { gap: 12px; }
	.stat { padding: 22px 10px; }
	.cta-row .btn { flex: 1 1 100%; }
	.float-card { padding: 10px 14px; } .float-card b { font-size: 1.1rem; }
	.fc-1 { bottom: 4%; } .fc-2 { top: 2%; }
	.topbar ul { gap: 14px; }
	.rev-ctrl { display: none; }
	.inv-collage { min-height: 380px; }
	.inv-sticker { padding: 12px 16px; font-size: .9rem; }
	.hours .row { flex-direction: column; gap: 2px; } .hours dd { text-align: left; }
	.copy { flex-direction: column; }
	.seg span { padding: 10px 18px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
	.js .reveal { opacity: 1; transform: none; }
}
@media print { .topbar, .header, .to-top, .progress, .footer .news { display: none; } }
