/* =========================================================
   Dr. Om Parkash Dental — Redesign
   Direction: "Heritage clinic, modern hands"
   Evergreen + Ivory + Brass · Signature: the smile-arc
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Brand palette — Dr. Om Parkash Dental teal/cyan identity.
     (token names are legacy from the first pass; values are the real brand hues) */
  --ink:          #12312f;   /* deep teal — headings & body text (brand #173435) */
  --evergreen:    #0e4e50;   /* deep teal — dominant dark sections */
  --evergreen-2:  #0b4144;   /* deeper teal */
  --evergreen-3:  #083539;   /* deepest teal — footer */
  --pine-soft:    #e2f2f0;   /* light teal tint — alternate sections */
  --ivory:        #f4f7f6;   /* cool near-white — page ground */
  --ivory-2:      #e6f0ee;
  --surface:      #ffffff;
  --brass:        #1ec8a1;   /* bright mint — primary buttons & accents (brand CTA) */
  --brass-2:      #0a7a6f;   /* deep teal — accent text on light backgrounds (AA) */
  --brass-soft:   #5cd8df;   /* bright cyan — accents on dark (brand primary) */
  --muted:        #55706e;   /* muted teal-gray — body text (brand #657e7e) */
  --muted-on-dark: rgba(230, 245, 243, .78);
  --line:         rgba(18, 49, 47, .12);
  --line-on-dark: rgba(230, 245, 243, .18);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --wrap: 1200px;
  --pad: clamp(1.15rem, 4vw, 2.5rem);
  --sect-y: clamp(4.5rem, 9vw, 8rem);
  --radius: 16px;

  --arc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M2,4 Q50,15 98,4' stroke='%231ec8a1' stroke-width='3.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  --arc-bright: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M2,4 Q50,15 98,4' stroke='%235cd8df' stroke-width='3.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--ivory); padding: .7rem 1.1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--sect-y); }
.hide-mobile { display: inline; }

.eyebrow {
  font-family: var(--sans);
  font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brass-2);
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem;
}
.eyebrow-light { color: var(--brass-soft); }
.eyebrow-dot { width: 22px; height: 1px; background: currentColor; display: inline-block; }

.section-title { font-size: clamp(1.9rem, 1.1rem + 3.1vw, 3.25rem); }
.section-head { max-width: 40rem; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-center .eyebrow { justify-content: center; }
.section-sub { color: var(--muted); margin-top: .9rem; font-size: 1.08rem; }
.lede { font-size: clamp(1.08rem, 1rem + .5vw, 1.28rem); color: var(--ink); margin-bottom: 1.1rem; line-height: 1.55; }

/* smile-arc underline */
.arced {
  background-image: var(--arc);
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 100% .34em;
  padding-bottom: .06em;
}
.arced-ink { color: inherit; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brass); --btn-fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--sans); font-weight: 600; font-size: .96rem; letter-spacing: .005em;
  padding: .85rem 1.5rem; border-radius: 100px; border: 1.5px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg); cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn-brass { background: var(--brass); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(4, 120, 106, .75); }
.btn-brass:hover { background: #14b492; box-shadow: 0 16px 30px -12px rgba(4, 120, 106, .9); }
.btn-ghost-light { background: transparent; color: var(--ivory); border-color: var(--line-on-dark); }
.btn-ghost-light:hover { background: rgba(246, 241, 231, .1); border-color: rgba(246, 241, 231, .5); }
.btn-lg { padding: 1.02rem 1.9rem; font-size: 1rem; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--evergreen);
  padding-bottom: 3px; border-bottom: 1.5px solid var(--brass); transition: gap .25s ease, color .2s ease;
}
.text-link:hover { gap: .85rem; color: var(--brass-2); }
.text-link svg { transition: transform .25s ease; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Arch (the signature) ---------- */
.arch { border-radius: 280px 280px 22px 22px; overflow: hidden; position: relative; }
.arch-sm { border-radius: 130px 130px 16px 16px; overflow: hidden; }
.arch img, .arch-sm img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .75s ease, transform .75s cubic-bezier(.22,.9,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; padding-block: 1.05rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ivory); }
.brand-logo { height: 44px; width: auto; display: block; }
.brand-logo--dark { display: none; }
.site-header.scrolled .brand-logo--light,
.site-header.menu-open .brand-logo--light { display: none; }
.site-header.scrolled .brand-logo--dark,
.site-header.menu-open .brand-logo--dark { display: block; }
.footer-brand .brand-logo { height: 48px; }
@media (max-width: 560px) { .brand-logo { height: 38px; } }
.brand-mark { width: 34px; height: 38px; color: var(--brass-soft); flex: none; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.28rem; font-weight: 500; letter-spacing: -.01em; }
.brand-sub { font-family: var(--sans); font-size: .58rem; font-weight: 600; letter-spacing: .28em; margin-top: .3rem; opacity: .8; }

.nav { display: flex; gap: 1.9rem; margin-left: auto; }
.nav a {
  color: var(--ivory); font-weight: 500; font-size: .96rem; position: relative; padding-block: .3rem;
  transition: color .2s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px; background: var(--brass);
  transition: width .28s ease;
}
.nav a:hover { color: var(--brass-soft); }
.nav a:hover::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--brass-soft); }
.nav a[aria-current="page"]::after { width: 100%; }
.site-header.scrolled .nav a[aria-current="page"] { color: var(--brass-2); }
.mobile-nav a[aria-current="page"] { color: var(--brass-2); }

.header-cta { display: flex; align-items: center; gap: 1.15rem; }
.phone-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--ivory); font-weight: 600; font-size: .92rem; }
.phone-link svg { color: var(--brass-soft); }
.phone-link:hover { color: var(--brass-soft); }

/* scrolled state */
.site-header.scrolled { background: rgba(246, 241, 231, .88); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line), 0 12px 30px -22px rgba(20, 38, 30, .5); }
.site-header.scrolled .brand { color: var(--ink); }
.site-header.scrolled .brand-mark { color: var(--evergreen); }
.site-header.scrolled .nav a { color: var(--ink); }
.site-header.scrolled .nav a:hover { color: var(--brass-2); }
.site-header.scrolled .phone-link { color: var(--ink); }
.site-header.scrolled .phone-link svg { color: var(--brass-2); }

/* menu-open state (mobile) */
.site-header.menu-open { background: var(--ivory); box-shadow: 0 1px 0 var(--line); }
.site-header.menu-open .brand { color: var(--ink); }
.site-header.menu-open .brand-mark { color: var(--evergreen); }
.site-header.menu-open .nav-toggle span { background: var(--ink); }

/* mobile toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 0; margin-left: auto; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ivory); border-radius: 2px; transition: transform .3s ease, opacity .3s ease, background .3s ease; }
.site-header.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; gap: .3rem; padding: .5rem var(--pad) 1.4rem; background: var(--ivory); border-top: 1px solid var(--line); }
.mobile-nav a { padding: .85rem .3rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-nav a:last-of-type { border-bottom: 0; }
.mobile-nav .btn { margin-top: .8rem; color: var(--ink); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; background: var(--evergreen);
  color: var(--ivory);
  padding-top: clamp(122px, 15vh, 172px);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(92, 216, 223, .18), transparent 55%),
    linear-gradient(180deg, var(--evergreen) 0%, var(--evergreen-2) 100%);
  z-index: 0;
}
.hero-glow { position: absolute; z-index: 0; width: 520px; height: 520px; right: -120px; top: 40px; background: radial-gradient(circle, rgba(92,216,223,.16), transparent 68%); pointer-events: none; }
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero-title { font-size: clamp(2.5rem, 1.3rem + 4.6vw, 4.7rem); font-weight: 400; letter-spacing: -.02em; margin-bottom: 1.4rem; }
.hero-title .arced { background-image: var(--arc-bright); background-size: 0 .34em; background-position: 0 96%; }
.hero-title.in .arced { animation: arcDraw .85s cubic-bezier(.22,.9,.3,1) .5s forwards; }
@keyframes arcDraw { to { background-size: 100% .34em; } }
.hero-lede { font-size: clamp(1.08rem, 1rem + .55vw, 1.32rem); color: var(--muted-on-dark); max-width: 34rem; line-height: 1.6; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.5rem; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 1.6rem 2rem; padding-top: 1.7rem; border-top: 1px solid var(--line-on-dark); }
.hero-trust li { color: var(--muted-on-dark); font-size: .95rem; }
.hero-trust strong { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 500; color: var(--ivory); line-height: 1; margin-bottom: .25rem; }
.hero-trust .star { color: var(--brass-soft); font-size: 1.1rem; margin-left: .1rem; }

.hero-media { position: relative; }
.arch-hero { aspect-ratio: 4 / 3.05; box-shadow: 0 40px 80px -34px rgba(0,0,0,.6); }
.arch-hero::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(92,216,223,.35); pointer-events: none; }
/* Full-width clinic video feature (its own section) */
.video-feature { background: var(--ivory); overflow: hidden; }
.video-feature-frame {
  width: min(100% - 2 * var(--pad), 1500px);
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: #103a38 url("images/clinic-1.jpg") center/cover;
  box-shadow: 0 50px 90px -42px rgba(18, 49, 47, .55);
}
.video-feature-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.video-feature-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(92, 216, 223, .28); pointer-events: none; }
.hero-badge {
  position: absolute; left: -14px; bottom: 26px; background: var(--ivory); color: var(--ink);
  padding: .85rem 1.1rem; border-radius: 14px; display: flex; align-items: center; gap: .75rem;
  box-shadow: 0 24px 50px -24px rgba(0,0,0,.5); max-width: 250px;
}
.hero-badge-num { font-family: var(--serif); font-size: 1.02rem; font-weight: 600; color: var(--evergreen); line-height: 1.05; padding-right: .75rem; border-right: 1px solid var(--line); text-transform: uppercase; letter-spacing: .02em; }
.hero-badge-txt { font-size: .82rem; font-weight: 500; color: var(--muted); line-height: 1.25; }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { background: var(--evergreen-3); color: var(--ivory); overflow: hidden; padding-block: 1rem; border-block: 1px solid rgba(92,216,223,.16); }
.marquee-track { display: flex; align-items: center; gap: 1.6rem; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--serif); font-size: 1.15rem; font-style: italic; white-space: nowrap; opacity: .92; }
.marquee .sep { color: var(--brass); font-family: var(--sans); font-style: normal; font-size: .7rem; opacity: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   ABOUT
   ========================================================= */
.about { background: var(--ivory); }
.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-media { position: relative; }
.arch-about { aspect-ratio: 3 / 3.2; box-shadow: 0 40px 80px -40px rgba(20,38,30,.5); }
.about-values { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.about-values span {
  font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--evergreen);
  padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 100px; background: var(--surface);
}
.about-copy .section-title { margin-bottom: 1.4rem; }
.about-copy p { color: var(--muted); margin-bottom: 1.1rem; }
.about-copy .lede { color: var(--ink); }
.about-copy .text-link { margin-top: .6rem; }

/* =========================================================
   SERVICES
   ========================================================= */
.services { background: var(--pine-soft); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.service-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1.4rem 1.4rem 1.6rem;
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 30px 55px -34px rgba(20,38,30,.45); border-color: var(--brass-soft); }
.service-media { aspect-ratio: 16 / 10; margin-bottom: 1.3rem; border-radius: 74px 74px 12px 12px; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-media img { transform: scale(1.05); }
.service-media--icon { display: grid; place-items: center; background: linear-gradient(155deg, var(--evergreen), var(--evergreen-2)); color: var(--brass-soft); }
.service-media--icon svg { width: 58px; height: 58px; transition: transform .4s ease; }
.service-card:hover .service-media--icon svg { transform: scale(1.08); }
.service-card h3 { font-size: 1.3rem; margin-bottom: .5rem; color: var(--ink); }
.service-card p { color: var(--muted); font-size: .98rem; margin-bottom: 1.3rem; }
.service-link { margin-top: auto; font-family: var(--sans); font-weight: 600; font-size: .9rem; color: var(--brass-2); display: inline-flex; align-items: center; gap: .4rem; }
.service-link em { font-style: normal; transition: transform .25s ease; }
.service-card:hover .service-link em { transform: translateX(4px); }
.services-note { text-align: center; margin-top: 2.6rem; color: var(--muted); font-size: 1.05rem; }
.services-note strong { color: var(--evergreen); }

/* =========================================================
   WHY / PILLARS (dark)
   ========================================================= */
.why { background: var(--evergreen); color: var(--ivory); }
.why .section-title { color: var(--ivory); }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.pillar { padding-top: 1.6rem; border-top: 1px solid var(--line-on-dark); }
.pillar-icon { width: 54px; height: 54px; color: var(--brass-soft); margin-bottom: 1.2rem; }
.pillar-icon svg { width: 100%; height: 100%; }
.pillar h3 { font-size: 1.28rem; color: var(--ivory); margin-bottom: .6rem; }
.pillar p { color: var(--muted-on-dark); font-size: .96rem; }

.tech-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1rem; justify-content: center;
  margin-top: clamp(2.8rem, 5vw, 4rem); padding: 1.4rem 1.6rem; border: 1px solid var(--line-on-dark); border-radius: 16px;
  background: rgba(8, 53, 57, .5);
}
.tech-strip span { font-size: .92rem; color: var(--ivory); font-weight: 500; }
.tech-strip i { color: var(--brass); font-style: normal; }
.tech-strip-label { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem !important; font-weight: 600; color: var(--brass-soft) !important; }

/* =========================================================
   SMILES GALLERY
   ========================================================= */
.smiles { background: var(--ivory); text-align: center; }
.smiles .section-head { margin-inline: auto; }
.smiles .eyebrow { justify-content: center; }
.smiles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); max-width: 900px; margin-inline: auto; }
.smile-frame { aspect-ratio: 3 / 4.4; box-shadow: 0 30px 60px -34px rgba(20,38,30,.5); border: 6px solid var(--surface); }
.smile-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.smile-frame:hover img { transform: scale(1.04); }

/* =========================================================
   STATS
   ========================================================= */
.stats { background: var(--evergreen-2); color: var(--ivory); padding-block: clamp(3rem, 6vw, 4.5rem); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat { position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 15%; height: 70%; width: 1px; background: var(--line-on-dark); }
.stat-num { display: block; font-family: var(--serif); font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4rem); font-weight: 500; color: var(--brass-soft); line-height: 1; }
.stat-num em { font-style: normal; color: var(--brass); }
.stat-star { font-size: .5em; vertical-align: .35em; }
.stat-label { display: block; margin-top: .7rem; color: var(--muted-on-dark); font-size: .92rem; font-weight: 500; }

/* =========================================================
   STORIES
   ========================================================= */
.stories { background: var(--ivory); }
.stories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.story {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1.9rem 1.7rem;
  position: relative; display: flex; flex-direction: column;
}
.story-stars { color: var(--brass); letter-spacing: .12em; font-size: .95rem; margin-bottom: 1rem; }
.story p { font-family: var(--serif); font-size: 1.12rem; font-style: italic; line-height: 1.5; color: var(--ink); margin-bottom: 1.5rem; flex: 1; }
.story footer { display: flex; align-items: center; gap: .7rem; font-weight: 600; font-size: .95rem; color: var(--ink); }
.story footer em { font-style: normal; font-weight: 500; color: var(--muted); font-size: .86rem; }
.story-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--evergreen); color: var(--brass-soft); display: grid; place-items: center; font-family: var(--serif); font-size: 1.05rem; flex: none; }

/* =========================================================
   INTERNATIONAL (dark)
   ========================================================= */
.international { background: var(--evergreen); color: var(--ivory); }
.intl-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.international .section-title { color: var(--ivory); }
.intl-copy .lede { color: var(--muted-on-dark); }
.intl-facts { display: grid; gap: .8rem; margin: 1.8rem 0 2.2rem; }
.intl-facts li { display: flex; align-items: center; gap: .8rem; color: var(--ivory); font-size: 1.02rem; }
.tick { width: 26px; height: 26px; border-radius: 50%; background: rgba(92,216,223,.16); color: var(--brass-soft); display: grid; place-items: center; font-size: .8rem; font-weight: 700; flex: none; }
.intl-media { aspect-ratio: 4 / 3.4; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.intl-media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(92,216,223,.35); }

/* =========================================================
   FINAL CTA (dark)
   ========================================================= */
.cta-final { background: linear-gradient(180deg, var(--evergreen-2), var(--evergreen-3)); color: var(--ivory); padding-block: clamp(4rem, 8vw, 6.5rem); text-align: center; position: relative; overflow: hidden; }
.cta-final::before { content: ""; position: absolute; inset: auto 0 -60% 0; height: 100%; background: radial-gradient(60% 60% at 50% 100%, rgba(30,200,161,.22), transparent 70%); pointer-events: none; }
.cta-inner { position: relative; max-width: 40rem; margin-inline: auto; }
.cta-inner .eyebrow { justify-content: center; }
.cta-title { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem); color: var(--ivory); margin-bottom: 1rem; }
.cta-sub { color: var(--muted-on-dark); font-size: 1.15rem; margin-bottom: 2rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-bottom: 1.6rem; }
.cta-fineprint { color: var(--muted-on-dark); font-size: .9rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--evergreen-3); color: var(--muted-on-dark); padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand .brand { color: var(--ivory); margin-bottom: 1.2rem; }
.footer-brand .brand-mark { color: var(--brass-soft); }
.footer-tag { font-size: .95rem; max-width: 22rem; margin-bottom: 1.4rem; }
.socials { display: flex; gap: .7rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-on-dark); display: grid; place-items: center; color: var(--ivory); transition: background .25s ease, border-color .25s ease, transform .25s ease; }
.socials a:hover { background: var(--brass); color: var(--ink); border-color: var(--brass); transform: translateY(-3px); }
.footer-col h4 { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 1.2rem; }
.footer-col a, .footer-contact p { display: block; color: var(--muted-on-dark); font-size: .95rem; padding-block: .38rem; transition: color .2s ease; }
.footer-col a:hover { color: var(--ivory); }
.footer-contact p { padding-block: .2rem; }
.footer-contact a { font-weight: 600; color: var(--ivory); }
.footer-hours { margin-top: 1rem; font-size: .86rem !important; color: var(--brass-soft) !important; font-weight: 500; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .6rem; padding-block: 1.5rem; border-top: 1px solid var(--line-on-dark); font-size: .84rem; }
.footer-preview { color: var(--brass-soft); font-weight: 600; letter-spacing: .04em; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.2rem; }
  .stories-grid { grid-template-columns: 1fr; max-width: 40rem; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav:not([hidden]) { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 30rem; margin-inline: auto; order: -1; width: 100%; }
  .arch-hero { aspect-ratio: 4 / 3.4; }
  .about-grid, .intl-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 30rem; }
  .intl-media { order: -1; max-width: 32rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2.2rem 1rem; }
  .stat:nth-child(3)::before, .stat + .stat::before { display: none; }
}

@media (max-width: 560px) {
  .hide-mobile { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .smiles-grid { grid-template-columns: 1fr; max-width: 20rem; }
  .pillar-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .hero-badge { left: 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .arced { background-size: 100% .34em; }
  .marquee-track { animation: none; }
}

/* =========================================================
   INNER PAGES — shared components
   ========================================================= */

/* Compact page hero (dark teal) */
.page-hero { position: relative; background: var(--evergreen); color: var(--ivory); padding-top: clamp(128px, 16vh, 178px); padding-bottom: clamp(3rem, 6vw, 5rem); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(92, 216, 223, .16), transparent 55%),
    linear-gradient(180deg, var(--evergreen) 0%, var(--evergreen-2) 100%);
}
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero-inner { max-width: 48rem; }
.page-hero .eyebrow { color: var(--brass-soft); }
.page-hero-title { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem); color: var(--ivory); font-weight: 500; letter-spacing: -.015em; line-height: 1.06; }
.page-hero-lede { color: var(--muted-on-dark); font-size: clamp(1.06rem, 1rem + .5vw, 1.28rem); line-height: 1.6; margin-top: 1.1rem; max-width: 42rem; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .82rem; color: var(--muted-on-dark); margin-bottom: 1.4rem; font-weight: 500; }
.breadcrumb a { color: var(--brass-soft); }
.breadcrumb a:hover { color: var(--ivory); }
.breadcrumb i { opacity: .55; font-style: normal; }

/* Centered link under a grid */
.section-cta { text-align: center; margin-top: clamp(2.2rem, 4vw, 3.2rem); }

/* Light feature cards (icon + title + text) — reusable */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1.7rem 1.6rem; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.feature:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -34px rgba(18, 49, 47, .4); border-color: var(--brass-soft); }
.feature-icon { width: 56px; height: 56px; border-radius: 15px; background: var(--pine-soft); color: var(--brass-2); display: grid; place-items: center; margin-bottom: 1.15rem; }
.feature-icon svg { width: 30px; height: 30px; }
.feature h3 { font-size: 1.24rem; margin-bottom: .5rem; color: var(--ink); }
.feature p { color: var(--muted); font-size: .97rem; }

/* Team cards (monogram avatars) */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.team-card { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1.2rem 1.2rem 1.6rem; transition: transform .3s ease, box-shadow .3s ease; }
.team-card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -34px rgba(18, 49, 47, .4); }
.team-photo { aspect-ratio: 4 / 4.7; border-radius: 96px 96px 14px 14px; overflow: hidden; margin-bottom: 1.1rem; background: var(--pine-soft); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; transition: transform .5s ease; }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-avatar { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 1.1rem; display: grid; place-items: center; font-family: var(--serif); font-size: 2rem; font-weight: 500; background: linear-gradient(155deg, var(--evergreen), var(--evergreen-2)); color: var(--brass-soft); }
.team-card h3 { font-size: 1.18rem; margin-bottom: .3rem; color: var(--ink); }
.team-role { color: var(--brass-2); font-weight: 600; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }

/* Generic image + copy split (image left; add .reverse to flip) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split + .split { margin-top: clamp(3rem, 6vw, 5rem); }
.split-media { position: relative; }
.split.reverse .split-media { order: 2; }
.split-copy .section-title { margin-bottom: 1.2rem; }
.split-copy p { color: var(--muted); margin-bottom: 1.05rem; }
.split-copy .lede { color: var(--ink); }

/* Readable prose block */
.prose { max-width: 46rem; }
.prose p { color: var(--muted); margin-bottom: 1.1rem; }
.prose h3 { color: var(--ink); font-size: 1.4rem; margin: 2rem 0 .7rem; }
.prose ul.ticks { display: grid; gap: .7rem; margin: 1.2rem 0; }
.prose ul.ticks li { display: flex; gap: .7rem; color: var(--ink); }
.prose ul.ticks .tick { background: var(--pine-soft); color: var(--brass-2); }

/* Page-hero call-to-action spacing */
.page-hero-actions { margin-top: 1.9rem; display: flex; flex-wrap: wrap; gap: .9rem; }

/* Numbered process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.step { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.step-num { font-family: var(--serif); font-size: 2.1rem; font-weight: 500; color: var(--brass-2); line-height: 1; display: block; margin-bottom: .8rem; }
.step h3 { font-size: 1.15rem; color: var(--ink); margin-bottom: .45rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* FAQ (native accordion) */
.faq { max-width: 48rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.25rem 0; font-family: var(--serif); font-size: 1.16rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brass-2); font-size: 1.5rem; line-height: 1; transition: transform .3s ease; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.35rem; color: var(--muted); max-width: 44rem; }

/* Values strip */
.values-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.value { position: relative; padding-left: 1.2rem; border-left: 2px solid var(--brass); }
.value-name { font-family: var(--serif); font-size: 1.45rem; color: var(--evergreen); margin-bottom: .4rem; }
.value-desc { color: var(--muted); font-size: .94rem; }

/* ---- Video section (lite YouTube) ---- */
.video-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(.8rem, 1.5vw, 1.25rem); }
.video-card { display: flex; flex-direction: column; }
.yt-frame { position: relative; aspect-ratio: 9 / 16; border-radius: 66px 66px 14px 14px; overflow: hidden; background: var(--evergreen-2); box-shadow: 0 22px 44px -30px rgba(18, 49, 47, .55); }
.yt-lite { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background-size: cover; background-position: center; }
.yt-lite::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,49,47,.05) 40%, rgba(9,49,47,.5)); transition: background .3s ease; }
.yt-lite:hover::before { background: linear-gradient(180deg, rgba(9,49,47,.12) 30%, rgba(9,49,47,.62)); }
.yt-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--evergreen); display: grid; place-items: center; transition: transform .3s ease, background .3s ease; }
.yt-play svg { width: 24px; height: 24px; margin-left: 2px; }
.yt-lite:hover .yt-play { transform: translate(-50%,-50%) scale(1.1); background: #fff; }
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-cap { margin-top: .85rem; font-size: .88rem; color: var(--muted); font-weight: 500; text-align: center; line-height: 1.4; }

/* ---- Google reviews badge ---- */
.greviews { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.2rem, 3vw, 2.5rem); }
.greviews-badge { display: inline-flex; align-items: center; gap: 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1.15rem 1.6rem; box-shadow: 0 24px 50px -38px rgba(18,49,47,.45); }
.g-logo { width: 44px; height: 44px; flex: none; }
.g-score { font-family: var(--serif); font-size: 2.3rem; font-weight: 500; color: var(--ink); line-height: 1; }
.g-right { text-align: left; }
.g-stars { color: var(--brass); letter-spacing: .1em; font-size: 1rem; margin-bottom: .2rem; }
.g-sub { font-size: .82rem; color: var(--muted); font-weight: 500; }
.g-top { display: flex; align-items: baseline; gap: .5rem; }
.greviews-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Outline button (light backgrounds) */
.btn-outline { background: transparent; color: var(--evergreen); border-color: var(--line); }
.btn-outline:hover { background: var(--evergreen); color: var(--ivory); border-color: var(--evergreen); }

/* Smile gallery captions */
.smile-item { display: flex; flex-direction: column; }
.smile-cap { text-align: center; margin-top: 1rem; font-size: .92rem; color: var(--muted); font-weight: 500; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.info-item { display: flex; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.info-item:first-child { padding-top: 0; }
.info-ic { width: 46px; height: 46px; border-radius: 13px; background: var(--pine-soft); color: var(--brass-2); display: grid; place-items: center; flex: none; }
.info-ic svg { width: 22px; height: 22px; }
.info-item h3 { font-family: var(--sans); font-size: .74rem; text-transform: uppercase; letter-spacing: .13em; color: var(--muted); margin-bottom: .35rem; font-weight: 700; }
.info-item a, .info-item p { color: var(--ink); font-weight: 500; line-height: 1.5; }
.info-item a { display: block; }
.info-item a:hover { color: var(--brass-2); }
.contact-info .socials { margin-top: 1.6rem; }
.contact-info .socials a { border-color: var(--line); color: var(--evergreen); }
.contact-info .socials a:hover { background: var(--brass); color: var(--ink); border-color: var(--brass); }

/* Form */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: 0 30px 60px -40px rgba(18, 49, 47, .4); }
.form-card h2 { font-size: 1.5rem; color: var(--ink); margin-bottom: .4rem; }
.form-card .form-sub { color: var(--muted); font-size: .95rem; margin-bottom: 1.6rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: .45rem; }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: .98rem; color: var(--ink); background: var(--ivory); border: 1px solid var(--line); border-radius: 12px; padding: .85rem 1rem; transition: border-color .2s ease, box-shadow .2s ease; }
.field input::placeholder, .field textarea::placeholder { color: #9aada9; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2355706e' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px; padding-right: 2.4rem; cursor: pointer; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(30, 200, 161, .18); }
.field textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: .9rem; text-align: center; }
.form-note a { color: var(--brass-2); font-weight: 600; }
.form-success { text-align: center; padding: 1.5rem 0; }
.form-success-tick { width: 62px; height: 62px; margin: 0 auto 1.2rem; border-radius: 50%; background: var(--pine-soft); color: var(--brass-2); display: grid; place-items: center; font-size: 1.9rem; font-weight: 700; }
.form-success h2 { font-size: 1.5rem; color: var(--ink); margin-bottom: .5rem; }
.form-success p { color: var(--muted); max-width: 26rem; margin: 0 auto; }

/* ---- Floating WhatsApp button ---- */
.wa-fab { position: fixed; z-index: 90; right: clamp(16px, 3vw, 26px); bottom: clamp(16px, 3vw, 26px); width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37,211,102,.55), 0 6px 16px -8px rgba(0,0,0,.35); transition: transform .25s ease, background .25s ease, box-shadow .25s ease; animation: waIn .45s cubic-bezier(.22,.9,.3,1) .6s both; }
.wa-fab svg { width: 30px; height: 30px; position: relative; }
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: waPulse 2.6s ease-out infinite; }
.wa-fab:hover { transform: scale(1.08); background: #20bd5a; box-shadow: 0 16px 34px -8px rgba(37,211,102,.65), 0 6px 16px -8px rgba(0,0,0,.35); }
.wa-fab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@keyframes waIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes waPulse { 0% { transform: scale(1); opacity: .5; } 70% { transform: scale(1.75); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 560px) { .wa-fab { width: 52px; height: 52px; } .wa-fab svg { width: 27px; height: 27px; } }
@media (prefers-reduced-motion: reduce) { .wa-fab { animation: none; } .wa-fab::before { display: none; } }

/* ---- Lead capture bar (below hero) ---- */
.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; }
.lead-section { background: var(--ivory); padding-block: clamp(2rem, 4vw, 3.2rem); }
.lead-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.1rem); box-shadow: 0 34px 66px -46px rgba(18, 49, 47, .45); display: grid; grid-template-columns: minmax(200px, .8fr) 2.3fr; gap: clamp(1.3rem, 3vw, 2.4rem); align-items: center; }
.lead-copy .eyebrow { margin-bottom: .4rem; }
.lead-title { font-size: clamp(1.35rem, 1rem + 1.3vw, 1.8rem); color: var(--ink); line-height: 1.08; }
.lead-sub { color: var(--muted); font-size: .92rem; margin-top: .4rem; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: .75rem; align-items: center; }
.lead-form .field { margin: 0; }
.lead-form .btn { white-space: nowrap; }
@media (max-width: 1024px) { .lead-card { grid-template-columns: 1fr; gap: 1.3rem; } }
@media (max-width: 680px) { .lead-form { grid-template-columns: 1fr; } .lead-form .btn { width: 100%; } }

/* Map */
.map-embed { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); line-height: 0; box-shadow: 0 30px 60px -40px rgba(18, 49, 47, .4); }
.map-embed iframe { width: 100%; height: 440px; border: 0; display: block; }

/* Alternate-tint section */
.section.tint { background: var(--pine-soft); }

@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: -1; }
  .split-media { max-width: 32rem; }
}
@media (max-width: 860px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .values-strip { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .smiles-grid { grid-template-columns: 1fr; max-width: 22rem; margin-inline: auto; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}
