/* ==========================================================================
   Kenwood Advanced Dentistry — design system
   ========================================================================== */

:root {
  --bg: #f7f4ef;
  --bg-2: #efeae2;
  --surface: #ffffff;
  --ink: #0f1e1d;
  --ink-2: #4b5a58;
  --ink-3: #5f6d6b;
  --line: #e3ddd2;
  --brand: #1d4b47;
  --brand-2: #2e6b64;
  --brand-tint: #e3ece9;
  --accent: #b88f55;
  --accent-text: #7f6033; /* accent shade that passes 4.5:1 for small text */
  --accent-soft: #f1e6d4;
  --dark: #0c1918;
  --dark-2: #142624;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(15, 30, 29, .06), 0 2px 8px rgba(15, 30, 29, .04);
  --shadow: 0 10px 30px -12px rgba(15, 30, 29, .18), 0 2px 6px rgba(15, 30, 29, .05);
  --shadow-lg: 0 30px 60px -20px rgba(15, 30, 29, .28);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.02em; font-variation-settings: "opsz" 120; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; color: var(--brand-2); font-variation-settings: "opsz" 144; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 58ch; }
.muted { color: var(--ink-2); }
::selection { background: var(--brand); color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--alt { background: var(--bg-2); }
.section--dark { background: var(--dark); color: #e9efed; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark h2 em { color: #d7b781; }
.section--dark .lead, .section--dark .muted { color: #a9b8b5; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-2); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.section--dark .eyebrow { color: #d7b781; }

.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 40px; }
.section-head--center { text-align: center; justify-items: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; gap: 18px; } }

/* Buttons ----------------------------------------------------------------- */
.btn {
  --btn-bg: var(--brand); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 .98rem/1 var(--font-body); text-decoration: none; letter-spacing: .01em;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: var(--brand-2); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: rgba(15, 30, 29, .2); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--light:hover { background: var(--accent-soft); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255, 255, 255, .3); }
.btn--outline-light:hover { background: #fff; color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--brand); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Top bar + header -------------------------------------------------------- */
.topbar { background: var(--dark); color: #b9c6c3; font-size: .84rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { text-decoration: none; color: #e9efed; }
.topbar a:hover { color: #d7b781; }
.topbar__items { display: flex; gap: 24px; align-items: center; }
.topbar__items span { display: inline-flex; gap: 8px; align-items: center; }
.topbar svg { width: 14px; height: 14px; opacity: .7; }
.open-dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa6a4; display: inline-block; }
.open-dot.is-open { background: #5fd39a; box-shadow: 0 0 0 4px rgba(95, 211, 154, .18); }
@media (max-width: 760px) { .topbar__hide-sm { display: none !important; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
/* blur lives on a pseudo-element so it doesn't trap the fixed mobile menu */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(247, 244, 239, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15, 30, 29, .4); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.brand__mark svg { width: 22px; height: 22px; }
.brand__text { display: grid; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: -.02em; }
.brand__sub { font-size: .62rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px; text-decoration: none;
  font-size: .95rem; font-weight: 600; color: var(--ink-2);
  transition: color .2s, background .2s; background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink); background: rgba(15, 30, 29, .05); }
.nav__link svg { width: 14px; height: 14px; transition: transform .2s; }
.nav__item--drop { position: relative; }
.nav__drop {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
  min-width: 280px; padding: 10px; border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .22s var(--ease);
}
.nav__drop::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__item--drop:hover .nav__drop, .nav__item--drop:focus-within .nav__drop { opacity: 1; visibility: visible; transform: none; }
.nav__item--drop:hover .nav__link svg { transform: rotate(180deg); }
.nav__drop a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; text-decoration: none; }
.nav__drop a:hover { background: var(--bg); }
.nav__drop strong { font-weight: 600; font-size: .95rem; }
.nav__drop span { font-size: .84rem; color: var(--ink-3); }
.header-cta { margin-left: 12px; }

.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; place-items: center; }
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: background .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .menu-toggle { display: grid; }
  .nav {
    position: fixed; top: var(--nav-top, 118px); left: 0; right: 0; bottom: 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 24px;
    background: var(--bg); padding: 24px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .3s var(--ease);
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { width: 100%; justify-content: space-between; font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: var(--ink); padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav__link:hover, .nav__link[aria-current="page"] { background: none; color: var(--brand-2); }
  .nav__link svg { display: none; }
  .nav__drop { position: static; translate: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 4px 0 8px; min-width: 0; }
  .nav__drop a { padding: 10px 0; }
  .header-cta { margin: 0; width: 100%; }
}

/* Hero -------------------------------------------------------------------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -380px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(46, 107, 100, .12), transparent 70%); pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: center; position: relative; }
.hero h1 { margin-bottom: 26px; }
.hero .lead { margin-bottom: 36px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, auto); gap: 28px; margin-top: 52px; padding-top: 32px; border-top: 1px solid var(--line); justify-content: start; }
.fact strong { display: block; font-family: var(--font-display); font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 400; letter-spacing: -.02em; line-height: 1.1; }
.fact span { font-size: .86rem; color: var(--ink-2); line-height: 1.4; display: block; margin-top: 6px; }

.hero__media { position: relative; }
.hero__frame { position: relative; border-radius: 240px 240px var(--radius-lg) var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(1.04); transform: scale(1.04); }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(12, 25, 24, .35)); }
.float-card {
  position: absolute; z-index: 2; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px;
  font-size: .9rem; line-height: 1.35;
}
.float-card strong { display: block; font-weight: 700; }
.float-card span { color: var(--ink-2); }
.float-card__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; flex: none; }
.float-card__icon svg { width: 20px; height: 20px; }
.float-card--a { left: -28px; bottom: 64px; animation: floaty 6s ease-in-out infinite; }
.float-card--b { right: -18px; top: 70px; animation: floaty 7s ease-in-out -2s infinite; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
.hero__badge {
  position: absolute; right: 22px; bottom: 22px; z-index: 2; width: 116px; height: 116px; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-items: center; text-align: center;
  font-family: var(--font-display); line-height: 1.05; box-shadow: var(--shadow);
}
.hero__badge strong { font-size: 2.1rem; font-weight: 400; display: block; }
.hero__badge span { font-family: var(--font-body); font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; margin: 0 auto; width: 100%; }
  .float-card--a { left: 8px; } .float-card--b { right: 8px; }
}
@media (max-width: 560px) {
  .hero__facts { grid-template-columns: 1fr 1fr; gap: 22px; }
  .hero__facts .fact:last-child { grid-column: 1 / -1; }
  .float-card { font-size: .82rem; padding: 12px 14px; }
  .float-card--b { top: 24px; }
  .hero__badge { width: 92px; height: 92px; } .hero__badge strong { font-size: 1.6rem; }
}

/* Marquee ----------------------------------------------------------------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg); }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 48px; font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.8rem); color: var(--ink); white-space: nowrap; font-style: italic; }
.marquee__track span::after { content: "✦"; font-style: normal; font-size: .8rem; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* About / doctor ---------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

.photo-stack { position: relative; padding: 0 0 60px 0; }
.photo-stack__main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 6; box-shadow: var(--shadow-lg); }
.photo-stack__main img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack__sub { position: absolute; right: -24px; bottom: 0; width: 46%; border-radius: var(--radius); overflow: hidden; border: 6px solid var(--bg); box-shadow: var(--shadow); aspect-ratio: 1; }
.photo-stack__sub img { width: 100%; height: 100%; object-fit: cover; }
.section--alt .photo-stack__sub { border-color: var(--bg-2); }
@media (max-width: 560px) { .photo-stack__sub { right: 0; } }

.signature { display: flex; align-items: center; gap: 16px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.signature__name { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; }
.signature__role { font-size: .86rem; color: var(--ink-2); }

.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; flex: none; color: var(--brand-2); margin-top: 2px; }
.check-list--2 { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
@media (max-width: 600px) { .check-list--2 { grid-template-columns: 1fr; } }

/* Services grid ----------------------------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 30px 28px 28px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); text-decoration: none; color: inherit; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-card__icon { width: 54px; height: 54px; border-radius: 16px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; transition: background .3s, color .3s; }
.service-card:hover .service-card__icon { background: var(--brand); color: #fff; }
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.4rem; }
.service-card p { color: var(--ink-2); font-size: .95rem; margin: 0; flex: 1; }
.service-card .link-arrow { font-size: .9rem; margin-top: 6px; }
.service-card--feature { background: var(--brand); color: #fff; border-color: var(--brand); }
.service-card--feature p { color: #c9dad6; }
.service-card--feature .service-card__icon { background: rgba(255, 255, 255, .12); color: #fff; }
.service-card--feature .link-arrow { color: #d7b781; }
.service-card--feature:hover .service-card__icon { background: #fff; color: var(--brand); }

/* Implant process (dark) -------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 34px 30px; border-radius: var(--radius); background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .07); }
.step__num { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: #d7b781; font-style: italic; margin-bottom: 22px; display: block; }
.step h3 { margin-bottom: 12px; }
.step p { color: #a9b8b5; font-size: .96rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

.feature-band { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; margin-bottom: clamp(48px, 7vw, 80px); }
.feature-band__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.feature-band__img img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
@media (max-width: 900px) { .feature-band { grid-template-columns: 1fr; } }

/* Gallery mosaic ---------------------------------------------------------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.mosaic__item { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); cursor: zoom-in; border: 0; padding: 0; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mosaic__item:hover img { transform: scale(1.06); }
.mosaic__item figcaption, .mosaic__cap {
  position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); font-size: .82rem; font-weight: 600; color: var(--ink);
  font-family: var(--font-body);
}
.mosaic__item--wide { grid-column: span 2; }
.mosaic__item--tall { grid-row: span 2; }
@media (max-width: 860px) { .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; } }
@media (max-width: 520px) { .mosaic { grid-auto-rows: 150px; gap: 10px; } .mosaic__item--tall { grid-row: span 1; } }

/* Reviews ----------------------------------------------------------------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { display: flex; flex-direction: column; gap: 22px; padding: 34px 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.review:nth-child(2) { transform: translateY(28px); }
.stars { display: flex; gap: 3px; color: var(--accent); }
.stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0; font-family: var(--font-display); font-size: 1.28rem; line-height: 1.45; letter-spacing: -.01em; flex: 1; }
.review__who { display: flex; align-items: center; gap: 12px; font-size: .92rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); font-weight: 700; font-size: .9rem; }
.review__who span { color: var(--ink-3); display: block; font-size: .82rem; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } .review:nth-child(2) { transform: none; } }

/* Insurance --------------------------------------------------------------- */
.logo-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .92rem; font-weight: 600; }
.chip small { font-weight: 500; color: var(--ink-3); font-size: .78rem; }

/* CTA band ---------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--brand); color: #fff; padding: clamp(44px, 7vw, 80px);
  display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center;
}
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -220px; background: radial-gradient(closest-side, rgba(215, 183, 129, .35), transparent); }
.cta-band::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; left: -120px; bottom: -240px; border: 1px solid rgba(255, 255, 255, .15); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band h2 em { color: #e6c993; }
.cta-band p { color: #c9dad6; margin: 0; max-width: 52ch; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* Contact block ----------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; align-items: stretch; }
.contact-card { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 28px; align-content: start; }
.contact-row { display: flex; gap: 16px; }
.contact-row__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; flex: none; }
.contact-row__icon svg { width: 20px; height: 20px; }
.contact-row h3 { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.contact-row p, .contact-row a { margin: 0; font-size: 1.05rem; text-decoration: none; }
.contact-row a:hover { color: var(--brand-2); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; background: var(--bg-2); border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(.35) contrast(1.02); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.hours { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; width: 100%; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 12px; border-radius: 10px; font-size: .98rem; }
.hours li span:last-child { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.hours li.is-today { background: var(--brand-tint); font-weight: 700; }
.hours li.is-today span:last-child { color: var(--brand); }
.hours li.is-closed span:last-child { color: var(--ink-3); }

/* Page hero (inner pages) ------------------------------------------------- */
.page-hero { position: relative; padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 760px; height: 760px; left: -280px; top: -440px; border-radius: 50%; background: radial-gradient(closest-side, rgba(184, 143, 85, .14), transparent 70%); }
.page-hero .container { position: relative; }
.crumbs { display: flex; gap: 10px; font-size: .86rem; color: var(--ink-3); margin-bottom: 26px; }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--brand); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); max-width: 16ch; margin-bottom: 22px; }
.page-hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; }
@media (max-width: 860px) { .page-hero__grid { grid-template-columns: 1fr; gap: 24px; } }

.banner-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21 / 8; box-shadow: var(--shadow); }
.banner-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .banner-img { aspect-ratio: 4 / 3; } }

/* Services detail page ---------------------------------------------------- */
.svc-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.svc-nav { position: sticky; top: 104px; display: grid; gap: 2px; }
.svc-nav__title { font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px 14px; }
.svc-nav a { padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .95rem; border-left: 2px solid transparent; transition: all .2s; }
.svc-nav a:hover { color: var(--ink); background: rgba(15, 30, 29, .04); }
.svc-nav a.is-active { color: var(--brand); background: var(--brand-tint); }
@media (max-width: 960px) {
  .svc-layout { grid-template-columns: 1fr; }
  .svc-nav { position: sticky; top: 78px; z-index: 5; display: flex; overflow-x: auto; gap: 6px; padding: 12px 0; margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter); background: rgba(247, 244, 239, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); scrollbar-width: none; }
  .svc-nav::-webkit-scrollbar { display: none; }
  .svc-nav__title { display: none; }
  .svc-nav a { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .88rem; background: var(--surface); }
}

.svc { padding: 0 0 clamp(56px, 7vw, 88px); margin-bottom: clamp(56px, 7vw, 88px); border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.svc:last-child { border-bottom: 0; margin-bottom: 0; }
.svc__head { display: flex; gap: 20px; align-items: center; margin-bottom: 26px; }
.svc__head .service-card__icon { width: 60px; height: 60px; flex: none; }
.svc__kicker { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); display: block; margin-bottom: 6px; }
.svc h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.svc h3 { font-size: 1.3rem; margin: 34px 0 12px; }
.svc p { color: var(--ink-2); max-width: 68ch; }
.svc .check-list { margin-top: 18px; }
.svc .check-list li { color: var(--ink); }
.callout { margin-top: 28px; padding: 24px 26px; border-radius: var(--radius); background: var(--accent-soft); display: flex; gap: 16px; align-items: flex-start; }
.callout svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 3px; }
.callout p { margin: 0; color: var(--ink); }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 20px; }
.mini { padding: 20px 22px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.mini strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; margin-bottom: 6px; }
.mini p { margin: 0; font-size: .93rem; }
.numbered { list-style: none; padding: 0; margin: 20px 0 0; counter-reset: n; display: grid; gap: 12px; }
.numbered li { counter-increment: n; display: flex; gap: 16px; align-items: flex-start; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.numbered li::before { content: counter(n, decimal-leading-zero); font-family: var(--font-display); font-style: italic; color: var(--accent-text); font-size: 1.2rem; line-height: 1.4; flex: none; }

/* Timeline (implants) ----------------------------------------------------- */
.timeline { position: relative; display: grid; gap: 28px; }
.timeline::before { content: ""; position: absolute; left: 31px; top: 20px; bottom: 20px; width: 1px; background: linear-gradient(var(--line), var(--accent), var(--line)); }
.tl-item { display: grid; grid-template-columns: 64px 1fr; gap: 28px; }
.tl-item__dot { width: 64px; height: 64px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.4rem; font-style: italic; color: var(--brand); position: relative; z-index: 1; box-shadow: var(--shadow-sm); }
.tl-item__body { padding: 30px 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.tl-item__body h3 { margin-bottom: 12px; }
.tl-item__body h4 { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin: 22px 0 8px; }
.tl-item__body p { color: var(--ink-2); }
.tl-item__body p:last-child { margin-bottom: 0; }
@media (max-width: 600px) {
  .timeline::before { left: 21px; }
  .tl-item { grid-template-columns: 44px 1fr; gap: 14px; }
  .tl-item__dot { width: 44px; height: 44px; font-size: 1.05rem; }
  .tl-item__body { padding: 24px 22px; }
}

.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefit { padding: 28px 24px; border-radius: var(--radius); background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .07); }
.benefit svg { width: 28px; height: 28px; color: #d7b781; margin-bottom: 18px; }
.benefit h3 { font-size: 1.25rem; margin-bottom: 8px; }
.benefit p { font-size: .93rem; color: #a9b8b5; margin: 0; }
@media (max-width: 960px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .benefits { grid-template-columns: 1fr; } }

/* Patient info ------------------------------------------------------------ */
.info-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; }
.panel { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.panel h2 { font-size: clamp(1.35rem, 2vw, 1.6rem); letter-spacing: -.01em; margin-bottom: 10px; }
.ins-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.ins-list li { display: flex; justify-content: space-between; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .98rem; }
.ins-list li small { color: var(--ink-3); font-weight: 500; font-size: .8rem; }
@media (max-width: 960px) { .info-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ins-list { grid-template-columns: 1fr; } }
.pay-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.pay-list li { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--bg); font-weight: 600; }
.pay-list svg { width: 22px; height: 22px; color: var(--brand); flex: none; }

.forms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-card { display: flex; gap: 22px; align-items: center; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.form-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.form-card__icon { width: 64px; height: 76px; border-radius: 10px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; flex: none; position: relative; }
.form-card__icon::after { content: "PDF"; position: absolute; bottom: 8px; font-size: .6rem; font-weight: 800; letter-spacing: .1em; }
.form-card__icon svg { width: 26px; height: 26px; margin-top: -10px; }
.form-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.form-card p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.form-card .dl { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: all .3s; }
.form-card:hover .dl { background: var(--brand); color: #fff; border-color: var(--brand); }
.form-card .dl svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .forms-grid { grid-template-columns: 1fr; } }

.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.6rem; font-weight: 300; color: var(--brand); transition: transform .3s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 22px; margin: 0; }

/* Tour page --------------------------------------------------------------- */
.tour-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 200px; gap: 14px; }
.tour-grid .mosaic__item:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.tour-grid .mosaic__item:nth-child(2) { grid-column: span 2; grid-row: span 2; }
.tour-grid .mosaic__item:nth-child(3) { grid-column: span 3; grid-row: span 2; }
.tour-grid .mosaic__item:nth-child(4) { grid-column: span 3; grid-row: span 2; }
.tour-grid .mosaic__item:nth-child(5) { grid-column: span 2; grid-row: span 2; }
.tour-grid .mosaic__item:nth-child(6) { grid-column: span 2; grid-row: span 2; }
.tour-grid .mosaic__item:nth-child(7) { grid-column: span 2; grid-row: span 2; }
@media (max-width: 760px) {
  .tour-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 10px; }
  .tour-grid .mosaic__item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .tour-grid .mosaic__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
}
.street-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.street-grid figure { margin: 0; }
.street-grid figcaption { margin-top: 12px; font-weight: 600; }
.street-grid figcaption span { display: block; font-weight: 400; color: var(--ink-2); font-size: .92rem; }
.street-grid iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius); display: block; background: var(--bg-2); }
@media (max-width: 860px) { .street-grid { grid-template-columns: 1fr; } }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8, 16, 15, .92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 84vh; max-width: min(1200px, 92vw); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox__cap { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: #e9efed; font-size: .95rem; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: rgba(255, 255, 255, .16); }
.lightbox button svg { width: 20px; height: 20px; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 20px; top: 50%; translate: 0 -50%; }
@media (max-width: 600px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 64px; translate: none; } }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: var(--dark); color: #a9b8b5; padding: clamp(64px, 8vw, 96px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-footer .brand { color: #fff; }
.site-footer .brand__sub { color: #8fa09d; }
.site-footer .brand__mark { background: #fff; color: var(--brand); }
.site-footer h4 { font-family: var(--font-body); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: #c6d2cf; transition: color .2s; }
.site-footer a:hover { color: #d7b781; }
.site-footer p { font-size: .95rem; }
.footer-blurb { margin: 22px 0 26px; max-width: 34ch; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); display: grid; place-items: center; transition: all .2s; }
.socials a:hover { background: #fff; color: var(--dark); border-color: #fff; }
.socials svg { width: 18px; height: 18px; }
.site-footer .hours li { padding: 5px 0; font-size: .92rem; }
.site-footer .hours li span:last-child { color: #c6d2cf; }
.site-footer .hours li.is-today { background: none; color: #fff; }
.site-footer .hours li.is-today span:last-child { color: #d7b781; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: .86rem; color: #7f908d; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile call bar --------------------------------------------------------- */
.call-bar { display: none; }
@media (max-width: 760px) {
  .call-bar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(12, 25, 24, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow-lg); transform: translateY(140%); transition: transform .4s var(--ease); }
  .call-bar.is-visible { transform: none; }
  .call-bar a { flex: 1; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .92rem; color: #fff; }
  .call-bar a:first-child { background: #8a6a3a; }
  .call-bar svg { width: 16px; height: 16px; }
  .site-footer { padding-bottom: 100px; }
}

/* Reveal animation -------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Full-arch implants (All-on-4 / All-on-6) ------------------------------- */
.arch-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.arch-card { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.arch-card h3 { margin-bottom: 12px; }
.arch-card p { color: var(--ink-2); }
.arch-card__count { position: absolute; right: 24px; top: 4px; font-family: var(--font-display); font-style: italic; font-size: 7rem; line-height: 1; color: var(--brand-tint); pointer-events: none; }
.arch-card > :not(.arch-card__count) { position: relative; }
.arch-card:first-child { background: var(--brand); border-color: var(--brand); color: #fff; }
.arch-card:first-child h3 { color: #fff; }
.arch-card:first-child p, .arch-card:first-child .check-list li { color: #c9dad6; }
.arch-card:first-child .check-list svg { color: #d7b781; }
.arch-card:first-child .arch-card__count { color: rgba(255, 255, 255, .08); }
sup { font-size: .5em; vertical-align: super; line-height: 0; }
.trademark { margin: 40px 0 0; font-size: .8rem; color: var(--ink-3); }
@media (max-width: 760px) { .arch-compare { grid-template-columns: 1fr; } }
