/* ==========================================================================
   Dr. Mutha's Dental — brand site design system
   Direction: modern clinical calm. Brand blue flowing into fresh aqua
   (clean-enamel / mint signature). "Smile curve" arches + gloss.
   Type: Space Grotesk (display) / Inter (body) / Space Mono (clinical labels).
   Motion: load stagger, scroll reveal, count-up, marquees. Reduced-motion safe.
   ========================================================================== */

:root {
  --ink: #0a2540;          /* clinical navy ink */
  --ink-soft: #33455f;
  --muted: #6a7c93;
  --blue-900: #0a3a86;
  --blue: #0e5ad8;         /* brand blue */
  --blue-600: #2f74ee;
  --aqua: #06c4c0;         /* fresh dental aqua */
  --aqua-300: #7fe3df;
  --aqua-100: #d5f5f2;
  --ice: #eef5fd;          /* soft blue-white bg */
  --mint: #e7f7f5;
  --paper: #f6fafe;
  --white: #ffffff;
  --line: #e3edf7;
  --gold: #f7b23b;         /* stars only */

  --grad: linear-gradient(120deg, var(--blue) 0%, var(--aqua) 100%);
  --grad-soft: linear-gradient(135deg, #e9f2fe, #e4f7f4);

  --radius: 20px;
  --radius-sm: 12px;
  --arch: 160px 160px 24px 24px;   /* the smile-curve arch */
  --shadow-sm: 0 2px 6px rgba(10, 37, 64, .06);
  --shadow: 0 18px 44px rgba(10, 37, 64, .10);
  --shadow-lg: 0 34px 80px rgba(10, 45, 100, .18);
  --glow: 0 14px 40px rgba(6, 196, 192, .28);
  --ring: 0 0 0 4px rgba(14, 90, 216, .2);

  --container: 1200px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", var(--sans);
  --mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white);
  line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.1; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 128px) 0; position: relative; }
.section--ice { background: var(--ice); }
.section--mint { background: var(--mint); }
.section--ink { background: var(--ink); color: #cfe0f2; }
.center { text-align: center; }

/* Clinical label (mono eyebrow) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono);
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); }
.section--ink .eyebrow, .hero .eyebrow { color: var(--aqua); }
.section__head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 68px); }
.section__head.center { text-align: center; }
.lead { font-size: 1.16rem; color: var(--ink-soft); }
.section--ink .lead { color: #a9c2de; }
.muted { color: var(--muted); }

/* --------------------------------- Motion -------------------------------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .08s; }
.js .reveal[data-d="2"] { transition-delay: .16s; }
.js .reveal[data-d="3"] { transition-delay: .24s; }
.js .reveal[data-d="4"] { transition-delay: .32s; }
.js .reveal[data-d="5"] { transition-delay: .40s; }

/* Scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad); z-index: 200; transition: width .1s linear; }

/* --------------------------------- Buttons ------------------------------- */
.btn {
  --_bg: var(--blue); --_fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--display); font-weight: 600; font-size: 1rem; padding: 14px 26px;
  border-radius: 999px; border: 1.6px solid transparent; background: var(--_bg); color: var(--_fg);
  cursor: pointer; transition: transform .16s ease, box-shadow .22s ease, background .2s; white-space: nowrap;
  box-shadow: 0 8px 22px rgba(14, 90, 216, .26);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--glow); color: #fff; }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn--lg { padding: 17px 32px; font-size: 1.06rem; }
.btn--grad { background: var(--grad); }
.btn--ghost { background: #fff; color: var(--blue-900); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { background: var(--ice); color: var(--blue-900); border-color: var(--aqua-300); }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.34); box-shadow: none; backdrop-filter: blur(4px); }
.btn--light:hover { background: rgba(255,255,255,.22); }

/* --------------------------------- Header -------------------------------- */
.site-header { position: sticky; top: 0; z-index: 90; transition: background .25s, box-shadow .25s, height .25s; background: rgba(255,255,255,.72); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(255,255,255,.94); box-shadow: 0 6px 24px rgba(10,37,64,.07); border-bottom-color: var(--line); }
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 80px; transition: height .25s; }
.scrolled .header__bar { height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { height: 54px; width: auto; transition: height .25s; }
.scrolled .brand img { height: 46px; }
.brand__name { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1.16rem; line-height: 1; letter-spacing: -.02em; }
.brand__name small { display: block; font-family: var(--mono); font-size: .6rem; font-weight: 400; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { font-family: var(--display); font-weight: 500; font-size: .95rem; color: var(--ink); padding: 9px 13px; border-radius: 9px; transition: background .15s, color .15s; white-space: nowrap; }
.nav a:hover { background: var(--ice); color: var(--blue); }
.nav a svg { width: 15px; height: 15px; vertical-align: -2px; }
.nav a { position: relative; }
.nav a.active { color: var(--blue); }
.nav a.active::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; background: var(--grad); border-radius: 2px; }
.nav__item { position: relative; }
.nav__menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .16s ease; }
.nav__item:hover .nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__menu a { display: block; padding: 10px 12px; border-radius: 10px; }
.nav__menu small { display: block; color: var(--muted); font-weight: 400; font-size: .78rem; font-family: var(--mono); }
.header__cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

/* --------------------------------- Hero ---------------------------------- */
.hero { position: relative; background: var(--paper); overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(40px); z-index: 0; }
.hero::before { width: 540px; height: 540px; background: radial-gradient(circle, rgba(6,196,192,.22), transparent 65%); top: -180px; right: -120px; }
.hero::after { width: 480px; height: 480px; background: radial-gradient(circle, rgba(14,90,216,.16), transparent 65%); bottom: -220px; left: -160px; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(48px, 7vw, 92px) 0 clamp(64px, 8vw, 110px); }
.hero h1 { margin-bottom: 1.1rem; }
.hero h1 .hl { position: relative; white-space: nowrap; color: var(--blue); }
.hero h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .34em; background: var(--aqua-100); z-index: -1; border-radius: 4px; transform: scaleX(0); transform-origin: left; animation: hl-in 1s .5s cubic-bezier(.22,.61,.36,1) forwards; }
@keyframes hl-in { to { transform: scaleX(1); } }
.hero__lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 540px; margin-bottom: 1.8rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2rem; }
.hero__trust { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.rating-pill { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 9px 16px; border-radius: 999px; font-weight: 600; }
.rating-pill .stars { color: var(--gold); letter-spacing: 1px; }
.rating-pill small { color: var(--muted); font-weight: 500; font-family: var(--mono); font-size: .72rem; }
.hero__chips { display: flex; gap: 16px; flex-wrap: wrap; color: var(--ink-soft); font-size: .92rem; font-weight: 500; }
.hero__chips span { display: inline-flex; align-items: center; gap: 7px; }
.hero__chips svg { width: 18px; height: 18px; color: var(--aqua); }

.hero__media { position: relative; }
.hero__media .frame { position: relative; border-radius: var(--arch); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/4.6; background: var(--ice); }
.hero__media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__media .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,37,64,.28)); }
.hero__media .glow { position: absolute; inset: auto -18px -18px auto; width: 62%; height: 62%; background: var(--grad); filter: blur(46px); opacity: .5; z-index: -1; border-radius: 50%; }
.float-card { position: absolute; left: -22px; bottom: 40px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 16px 20px; display: flex; align-items: center; gap: 14px; }
.float-card .fc-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.float-card .fc-ico svg { width: 24px; height: 24px; }
.float-card b { font-family: var(--display); font-size: 1.3rem; display: block; line-height: 1; }
.float-card small { color: var(--muted); font-size: .8rem; font-family: var(--mono); }
.float-card--tr { left: auto; right: -14px; bottom: auto; top: 34px; animation: floaty 5s ease-in-out infinite; }
.float-card--bl { animation: floaty 6s ease-in-out infinite reverse; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Curve divider */
.curve { display: block; width: 100%; height: 70px; }
.curve path { fill: currentColor; }

/* --------------------------------- Stats --------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; }
.stat__num { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { color: var(--ink-soft); font-size: .95rem; margin-top: 8px; font-family: var(--mono); letter-spacing: .02em; }
.section--ink .stat__label { color: #9fbadb; }

/* --------------------------------- Grid / cards -------------------------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); }

/* Services page grouped blocks */
.svc-group { margin-bottom: clamp(40px, 6vw, 64px); }
.svc-group:last-child { margin-bottom: 0; }
.svc-group__head { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.svc-group__ico { width: 42px; height: 42px; border-radius: 12px; background: var(--grad-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.svc-group__ico svg { width: 22px; height: 22px; }
.svc-group__head h2 { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.svc-group__count { margin-left: auto; font-family: var(--mono); font-size: .78rem; color: var(--muted); background: var(--ice); padding: 3px 11px; border-radius: 999px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .22s ease, box-shadow .24s ease, border-color .2s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--aqua-300); }

.service { padding: 28px; position: relative; }
.service::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--grad); transition: width .3s ease; border-radius: 0 4px 4px 0; }
.service:hover::before { width: 100%; }
.service__icon { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: var(--grad-soft); color: var(--blue); margin-bottom: 18px; transition: transform .25s; }
.service:hover .service__icon { transform: translateY(-3px) rotate(-4deg); }
.service__icon svg { width: 28px; height: 28px; }
.service h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.service p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.service__tag { display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); background: var(--ice); padding: 4px 10px; border-radius: 999px; }

.feature { display: flex; gap: 16px; padding: 26px; }
.feature__icon { flex: none; width: 50px; height: 50px; border-radius: 14px; background: var(--grad-soft); color: var(--blue); display: grid; place-items: center; }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.12rem; margin-bottom: .3rem; }
.feature p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* Doctor card */
.doctor { display: flex; gap: 18px; padding: 28px; align-items: flex-start; }
.doctor__avatar { flex: none; width: 66px; height: 66px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.35rem; }
.doctor h3 { margin-bottom: 0; font-size: 1.2rem; }
.doctor__role { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin: 4px 0 9px; }
.doctor p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: 28px 28px 120px 28px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3.2; object-fit: cover; }
.split__media::before { content: ""; position: absolute; inset: auto -16px -16px auto; width: 55%; height: 55%; background: var(--grad); opacity: .16; filter: blur(30px); border-radius: 50%; z-index: -1; }
.split--rev .split__media { order: 2; }
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 13px; color: var(--ink-soft); }
.check-list svg { flex: none; width: 24px; height: 24px; color: var(--aqua); margin-top: 1px; }

/* Location card */
.loc-card { display: flex; flex-direction: column; }
.loc-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.loc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.loc-card:hover .loc-card__media img { transform: scale(1.06); }
.loc-card__badge { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.94); color: var(--blue-900); font-weight: 600; font-size: .78rem; padding: 6px 13px; border-radius: 999px; box-shadow: var(--shadow-sm); font-family: var(--mono); }
.loc-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.loc-card__body h3 { margin-bottom: .4rem; }
.loc-card__meta { color: var(--ink-soft); font-size: .92rem; display: flex; gap: 9px; align-items: flex-start; margin-bottom: 9px; }
.loc-card__meta svg { flex: none; width: 18px; height: 18px; color: var(--aqua); margin-top: 3px; }
.loc-card__actions { margin-top: auto; display: flex; gap: 10px; padding-top: 16px; flex-wrap: wrap; }
.loc-card__actions .btn { padding: 10px 17px; font-size: .92rem; }

/* Review card + marquee */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 24px; width: max-content; animation: marquee var(--speed, 60s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee--rev .marquee__track { animation-direction: reverse; }
.review { padding: 28px; display: flex; flex-direction: column; gap: 14px; width: 360px; flex: none; }
.review__stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; }
.review__text { color: var(--ink); font-size: 1rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review__by { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review__by img, .review__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--ice); flex: none; }
.review__name { font-weight: 600; font-size: .95rem; }
.review__src { color: var(--muted); font-size: .78rem; font-family: var(--mono); }
.review-grid .review { width: auto; }

/* Photo marquee */
.photo-marquee img { width: 300px; height: 220px; flex: none; object-fit: cover; border-radius: 18px; }

/* Blog card */
.post { display: flex; flex-direction: column; }
.post__tile { aspect-ratio: 16/9; background: var(--grad); position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #fff; }
.post__tile::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% -25%, rgba(255,255,255,.24), transparent 46%); }
.post__tile-ico { position: relative; transition: transform .3s ease; }
.post__tile-ico svg { width: 46px; height: 46px; opacity: .96; }
.post:hover .post__tile-ico { transform: translateY(-3px) scale(1.06); }
.post__tile-cat { position: relative; font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; opacity: .95; }
.post__media { aspect-ratio: 16/9; overflow: hidden; background: var(--ice); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post:hover .post__media img { transform: scale(1.06); }
.post__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post__cat { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin-bottom: 10px; }
.post__body h3 { font-size: 1.14rem; margin-bottom: .5rem; }
.post__excerpt { color: var(--ink-soft); font-size: .94rem; margin-bottom: 16px; }
.post__foot { margin-top: auto; display: flex; gap: 14px; color: var(--muted); font-size: .8rem; font-family: var(--mono); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 16px; background: var(--ice); }
.gallery a:nth-child(6n+1) { grid-row: span 2; aspect-ratio: 1/2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery a:hover img { transform: scale(1.08); }

/* Info / hours */
.info-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 28px; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.hours li:last-child { border-bottom: 0; }
.hours .day { color: var(--ink-soft); font-weight: 500; }
.hours .time { color: var(--ink); text-align: right; font-family: var(--mono); font-size: .84rem; }
.hours .closed { color: #d5573f; font-weight: 500; }
.contact-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 15px; }
.contact-line svg { flex: none; width: 22px; height: 22px; color: var(--aqua); margin-top: 3px; }
.contact-line a { color: var(--ink); font-weight: 500; }
.map-embed { border: 0; width: 100%; height: 340px; border-radius: var(--radius); box-shadow: var(--shadow-sm); background: var(--ice); }

/* Forms */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .84rem; font-weight: 600; color: var(--ink-soft); font-family: var(--mono); letter-spacing: .02em; }
.field input, .field textarea, .field select { font: inherit; font-size: 1rem; padding: 13px 15px; border: 1.6px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); transition: border .15s, box-shadow .15s, background .15s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: var(--ring); }
.form__note { font-size: .82rem; color: var(--muted); }
.form .btn { justify-self: start; }
.form-success { background: var(--mint); border: 1px solid var(--aqua-300); color: #0a7a76; padding: 15px 17px; border-radius: var(--radius-sm); font-weight: 500; }

/* CTA band */
.cta-band { position: relative; color: #fff; border-radius: var(--radius); overflow: hidden; padding: clamp(44px, 7vw, 76px); background: var(--ink); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 88% -10%, rgba(6,196,192,.4), transparent 42%), radial-gradient(circle at 8% 120%, rgba(14,90,216,.5), transparent 46%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #bcd2ee; max-width: 560px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }

/* FAQ accordion */
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq__item summary { cursor: pointer; padding: 18px 22px; font-family: var(--display); font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--blue); font-weight: 400; transition: transform .2s ease; flex: none; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 22px 20px; color: var(--ink-soft); }

/* Page hero */
.page-hero { position: relative; background: var(--ink); color: #fff; padding: clamp(72px, 10vw, 120px) 0 clamp(56px, 8vw, 88px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 0%, rgba(6,196,192,.34), transparent 40%), radial-gradient(circle at 0% 100%, rgba(14,90,216,.4), transparent 46%); }
.page-hero > * { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: .5rem; }
.page-hero p { color: #bcd2ee; max-width: 660px; margin: 0; }
.page-hero .eyebrow { color: var(--aqua); }
.breadcrumb { font-family: var(--mono); font-size: .78rem; color: #86a6cb; margin-bottom: 1.1rem; letter-spacing: .04em; }
.breadcrumb a { color: #bcd2ee; }

/* Article */
.article { max-width: 760px; margin: 0 auto; }
.article img { border-radius: var(--radius); margin: 1.6rem 0; box-shadow: var(--shadow-sm); }
.article h2 { margin-top: 2.2rem; }
.article h3 { margin-top: 1.6rem; }
.article p, .article ul, .article ol { color: var(--ink-soft); }
.article > p:first-of-type { font-size: 1.14rem; color: var(--ink); }
.article h2 { position: relative; padding-left: 18px; }
.article h2::before { content: ""; position: absolute; left: 0; top: .16em; bottom: .16em; width: 4px; border-radius: 3px; background: var(--grad); }
.article li { margin-bottom: 7px; }
.article__meta { display: flex; gap: 16px; color: var(--muted); font-size: .84rem; margin-bottom: 1.6rem; flex-wrap: wrap; font-family: var(--mono); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2rem; }
.tag { font-family: var(--mono); font-size: .74rem; background: var(--ice); color: var(--blue); padding: 5px 12px; border-radius: 999px; }

/* Footer */
.site-footer { background: var(--ink); color: #a9c1de; padding: clamp(56px, 8vw, 88px) 0 28px; position: relative; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; font-family: var(--display); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.footer__brand img { height: 60px; width: auto; margin-bottom: 18px; }
.footer__brand p { color: #93add0; font-size: .93rem; }
.footer a { color: #a9c1de; }
.footer a:hover { color: var(--aqua-300); }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: 10px; font-size: .93rem; }
.footer__loc { font-size: .89rem; color: #93add0; margin-bottom: 15px; }
.footer__loc strong { color: #fff; display: block; font-weight: 600; margin-bottom: 3px; font-family: var(--display); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 24px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: #7793b5; font-family: var(--mono); }

.mobile-cta { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6,20,40,.94); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 14px; box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 20px; right: 26px; background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; line-height: 1; }

/* --------------------------------- Responsive ---------------------------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 480px; margin: 0 auto; order: -1; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .split, .split--rev .split__media { grid-template-columns: 1fr; order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery a:nth-child(6n+1) { grid-row: auto; aspect-ratio: 1; }
  .nav, .header__cta .btn--ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 2px; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 12px 20px 20px; }
  .nav.open a { padding: 12px 10px; border-radius: 9px; }
  .nav.open .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 60px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .brand__name small { display: none; }
  .float-card--tr { display: none; }
  .float-card { left: 10px; bottom: 14px; }
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 95; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(10,37,64,.1); }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px; font-weight: 600; font-family: var(--display); }
  .mobile-cta a svg { width: 20px; height: 20px; }
  .mobile-cta .call { color: var(--blue); }
  .mobile-cta .book { background: var(--grad); color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee__track, .float-card--tr, .float-card--bl, .hero h1 .hl::after { animation: none !important; }
  .hero h1 .hl::after { transform: scaleX(1); }
  * { scroll-behavior: auto !important; }
}
