/* =========================================================
   Premiere Dental Studio — Homepage styles
   Comfortable-luxury: warm ivory, deep navy, sky, soft gold
   ========================================================= */

:root {
  /* Color system */
  --ivory:       #FAF6EF;
  --sand:        #F3ECE0;
  --card:        #FFFFFF;
  --card-warm:   #FFFDF9;
  --navy:        #17263F;
  --navy-deep:   #12203A;
  --navy-mid:    #1F314C;
  --sky:         #0A84D6;   /* cobalt sampled from logo — readable primary accent */
  --sky-bg:      #EAF3FB;
  --sky-line:    #D2E5F5;
  --cobalt-bright:#00A4FA;   /* exact electric sapphire from logo — highlights only */
  --cobalt-deep: #0A4E7A;
  --gold:        #B08D57;
  --gold-light:  #C6A36A;
  --text:        #3B4453;
  --muted:       #66707E;
  --muted-2:     #7A8291;
  --border:      #ECE4D6;
  --border-2:    #DDD3C4;

  /* Type */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --mono:  ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Layout */
  --maxw: 1200px;
  --gutter: 40px;
  --radius: 18px;
  --radius-lg: 20px;
  --pill: 999px;
  --shadow-sm: 0 8px 24px rgba(23,38,63,.08);
  --shadow-md: 0 16px 40px rgba(23,38,63,.12);
  --shadow-lg: 0 30px 60px rgba(23,38,63,.14);
  --shadow-blue: 0 18px 44px rgba(11,60,110,.22);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); margin: 0; line-height: 1.08; font-weight: 500; }
p { margin: 0; }
a { color: var(--sky); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }

.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: 96px; }
[id] { scroll-margin-top: 96px; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--navy); color: var(--ivory);
  padding: 10px 18px; border-radius: 10px; z-index: 200;
  font-weight: 700; transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; color: var(--ivory); }

/* ---------- Typography helpers ---------- */
.display-xl { font-size: clamp(3rem, 5vw, 5rem); line-height: 1.06; letter-spacing: 2px; text-transform: uppercase; color: var(--navy); }
.display-lg { font-size: clamp(2.3rem, 3.7vw, 3.6rem); line-height: 1.12; letter-spacing: 1.5px; text-transform: uppercase; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: #4A5361; }
.muted { color: var(--muted); font-size: 15px; }
.on-navy { color: #FBF7EF; }
.on-navy-muted { color: #C9D2DE; }

.eyebrow {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--sky); font-weight: 700; margin: 0 0 14px;
}
.eyebrow-gold { color: var(--cobalt-bright); }
.eyebrow.center { text-align: center; margin-bottom: 18px; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px;
  padding: 7px 16px; background: var(--sky-bg); border: 1px solid var(--sky-line);
  border-radius: var(--pill); color: var(--sky); font-weight: 700;
}
.eyebrow-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt-bright); box-shadow: 0 0 0 3px rgba(0,164,250,.18); }

.editable-note { display: block; font-family: var(--mono); font-size: 11px; color: #B79B6B; margin-top: 4px; font-style: normal; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  min-height: 52px; padding: 12px 26px; border-radius: 14px; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease); white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--cobalt-bright); outline-offset: 2px; }
.btn-lg { font-size: 16px; min-height: 56px; padding: 14px 32px; }
.btn-block { width: 100%; }
.btn-shadow { box-shadow: 0 8px 20px rgba(23,38,63,.12); }
.btn-compact { min-height: 44px; padding: 9px 20px; font-size: 14px; border-radius: 12px; }

.btn-primary { background: linear-gradient(180deg,#243A57 0%, #17263F 62%); color: var(--ivory); box-shadow: 0 4px 12px rgba(11,60,110,.16); }
.btn-primary:hover { background: linear-gradient(180deg,#2A3F5C 0%, #1B2C48 62%); color: var(--ivory); box-shadow: 0 8px 20px rgba(11,60,110,.22); }
.btn-outline { background: var(--card); border-color: var(--border-2); color: var(--navy); }
.btn-outline:hover { background: var(--sky-bg); border-color: var(--sky-line); color: var(--navy); }
.btn-outline-dark { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--ivory); }
.btn-gold { background: linear-gradient(180deg,#1F9AE8,#0A84D6); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 6px 16px rgba(0,132,214,.30); }
.btn-gold:hover { background: linear-gradient(180deg,#37abf2,#0F8FE0); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 12px 28px rgba(0,132,214,.38); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.28); color: #EDE7DA; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-map { background: var(--card); border-color: var(--sky-line); color: var(--sky); margin-top: 16px; padding: 10px 20px; font-size: 14px; }
.btn-map:hover { background: var(--sky-bg); color: var(--sky); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,246,239,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-block: 10px; }
.header-inner > .brand { justify-self: start; }
.header-inner > .nav-desktop { justify-self: center; }
.header-inner > .header-actions { justify-self: end; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { display: grid; place-items: center; width: 50px; height: 50px; flex: none; overflow: visible; background: radial-gradient(closest-side, rgba(0,164,250,.12), transparent 72%); transition: transform .2s var(--ease); }
.brand:hover .brand-mark { transform: translateY(-1px); }
.brand-mark img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 2px 5px rgba(10,132,214,.22)); }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 21px; font-weight: 500; color: var(--navy); letter-spacing: 3.5px; text-transform: uppercase; line-height: 1; }
.brand-sub { font-family: var(--sans); font-size: 9.5px; letter-spacing: 3px; text-transform: uppercase; color: var(--cobalt-deep); margin-top: 6px; font-weight: 600; }

.nav-desktop { display: flex; align-items: center; gap: clamp(1.5rem, 2vw, 2.5rem); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { color: var(--navy); font-weight: 700; font-size: 15px; white-space: nowrap; }
.header-phone:hover { color: var(--gold); }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 10px;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--navy); display: block; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: flex; flex-direction: column; gap: 2px;
  border-top: 1px solid var(--border); background: var(--ivory);
  padding: 14px 24px 20px;
}
.nav-mobile a { padding: 12px 6px; color: #2A3547; font-weight: 600; border-bottom: 1px solid #F0E8DA; }
.nav-mobile a:hover { color: var(--gold); }
.nav-mobile .nav-mobile-phone { color: var(--navy); }
.nav-mobile .btn { margin-top: 14px; }

/* ---------- Placeholders ---------- */
.ph {
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.ph-warm { background: repeating-linear-gradient(135deg,#EDE4D4,#EDE4D4 14px,#F4ECDD 14px,#F4ECDD 28px); border: 1px solid #E4D9C6; }
.ph-cool { background: repeating-linear-gradient(135deg,#E4EBF1,#E4EBF1 14px,#EEF2F6 14px,#EEF2F6 28px); border: 1px solid #CBDAE8; }
.ph-label { font-family: var(--mono); font-size: 13px; color: #8A7C5F; line-height: 1.7; padding: 20px; }
.ph-label-dark { color: #9FB0C6; }
.ph-label-sky { color: #6B84A0; }

.ph-hero { aspect-ratio: 4/5; background: repeating-linear-gradient(135deg,#EDE4D4,#EDE4D4 14px,#F4ECDD 14px,#F4ECDD 28px); border: 1px solid #E4D9C6; box-shadow: var(--shadow-lg); }
.ph-portrait { aspect-ratio: 3/4; background: repeating-linear-gradient(135deg,#22344F,#22344F 14px,#283B58 14px,#283B58 28px); border: 1px solid rgba(51,69,97,.5); }
.ph-square { aspect-ratio: 1/1; background: repeating-linear-gradient(135deg,#DCE6EF,#DCE6EF 14px,#E6EDF4 14px,#E6EDF4 28px); border: 1px solid #CBDAE8; box-shadow: var(--shadow-md); }

/* ---------- Hero ---------- */
.hero { padding-block: 70px 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy .lead { margin-top: 18px; max-width: 520px; }
.hero-subhead { margin-top: 16px; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.18; color: var(--navy); font-weight: 600; max-width: 540px; }
.hero-quicklinks { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.hero-quicklinks a { position: relative; font-size: 15px; font-weight: 700; color: var(--sky); text-decoration: none; padding-block: 4px; }
.hero-quicklinks a::after { content: "→"; margin-left: 6px; font-weight: 400; }
.hero-quicklinks a:hover { color: var(--cobalt-deep); }
.reassure { margin-top: 24px; font-size: 14px; color: #8A8375; font-style: italic; }
.hero-media { position: relative; }
.portrait-hero { max-width: 440px; margin-left: auto; }
.hero-badge {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 18px 22px; box-shadow: var(--shadow-md); max-width: 240px;
}
.hero-badge-name { display: block; font-family: var(--serif); font-size: 22px; color: var(--navy); font-weight: 700; }
.hero-badge-sub { display: block; font-size: 13px; color: var(--muted-2); margin-top: 2px; }

/* ---------- Welcome intro ---------- */
.welcome { padding-block: 64px; }
.welcome-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.welcome-inner .display-lg { margin-top: 12px; }
.welcome-body { margin-top: 20px; color: var(--muted); font-size: 17px; line-height: 1.72; text-wrap: pretty; }
.welcome-body a { color: var(--sky); text-decoration: none; border-bottom: 1px solid var(--sky-line); }
.welcome-body a:hover { color: var(--cobalt-deep); border-color: var(--sky); }
.welcome-close { margin-top: 24px; font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--navy); }
.btn-row.center { justify-content: center; margin-top: 30px; }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.pad { padding: 26px 24px; }
.pad-lg { padding: 32px 28px; }
.card-title { font-size: 26px; font-weight: 700; }
.card.pad .muted { margin-top: 8px; font-size: 14.5px; }

.trust .grid-3 { gap: 20px; }
.memberships { margin-top: 32px; text-align: center; }
.chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; margin: 0; padding: 0; }
.chip { border: 1px solid var(--border-2); border-radius: var(--pill); padding: 10px 20px; font-size: 13.5px; font-weight: 600; color: var(--text); background: var(--card-warm); }

/* ---------- Section heads ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head .lead { margin-top: 16px; }
.section-foot { text-align: center; margin-top: 44px; }
.section-foot .btn { margin-top: 18px; }

/* ---------- Navy / sky / sand section backgrounds ---------- */
.section-navy { background: var(--navy); color: #EDE7DA; }
.section-sky { background: var(--sky-bg); }
.section-sand { background: var(--sand); }

/* ---------- Split layouts ---------- */
.split { display: grid; gap: 56px; align-items: center; }
.split-narrow-left { grid-template-columns: .9fr 1.1fr; }
.split-wide-left { grid-template-columns: 1.1fr .9fr; }
.faq-split { grid-template-columns: .8fr 1.2fr; align-items: start; }
.about-copy .lead { margin-top: 20px; max-width: 560px; }
.about-copy .lead + .lead { margin-top: 18px; }

/* ---------- Services ---------- */
.service { transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sky-line); }
.service-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; background: var(--sky-bg);
  font-family: var(--serif); font-weight: 700; color: var(--sky); font-size: 22px;
}
.service-num-gold { background: linear-gradient(180deg,#1F9AE8,#0A84D6); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 14px rgba(0,132,214,.28); }
.service-title { font-size: 25px; margin-top: 20px; }
.service .muted { margin-top: 10px; }

/* ---------- Comfort ---------- */
.comfort-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; max-width: 540px; }
.comfort-copy .lead { max-width: 560px; }
.mini-card { background: var(--card); border: 1px solid var(--sky-line); border-radius: 14px; padding: 18px 20px; }
.mini-title { display: block; font-weight: 700; color: var(--navy); font-size: 16px; }
.mini-sub { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ---------- Before & after ---------- */
.ba-card { overflow: hidden; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; }
.ph-ba { border-radius: 0; aspect-ratio: 1/1; font-family: var(--mono); font-size: 11px; }
.ph-ba.ph-warm { color: #8A7C5F; border: none; border-right: 1px solid var(--border); }
.ph-ba.ph-cool { color: #6B84A0; border: none; }
.ba-cap { padding: 18px 20px; }
.ba-title { display: block; font-weight: 700; color: var(--navy); }

/* ---------- Reviews ---------- */
.review-card { margin: 0; background: var(--navy-mid); border: 1px solid rgba(51,69,97,.5); border-radius: var(--radius); padding: 32px 28px; }
.review-card .stars { color: var(--cobalt-bright); font-size: 20px; letter-spacing: 3px; }
.review-card p { margin-top: 16px; font-size: 16px; color: #D3DBE6; line-height: 1.7; }
.review-card cite { display: block; margin-top: 20px; font-weight: 700; color: #FBF7EF; font-style: normal; }

/* ---------- Office tour ---------- */
.tour-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: 520px; }
.ph-tour { border-radius: var(--radius); font-family: var(--mono); font-size: 12px; }
.tour-lead { grid-row: span 2; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq { background: var(--card); border: 1px solid #E6DECF; border-radius: 14px; padding: 20px 24px; }
.faq summary {
  font-weight: 700; color: var(--navy); font-size: 17px; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 26px; color: var(--sky); line-height: 1; transition: transform .2s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--sky); }
.faq p { margin-top: 12px; font-size: 15.5px; color: var(--muted); }

/* ---------- Location / contact ---------- */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: stretch; }
.loc-details { margin-top: 28px; display: flex; flex-direction: column; gap: 22px; }
.loc-label { display: block; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: #8A8375; font-weight: 700; }
.loc-value { font-size: 17px; color: #2A3547; margin-top: 4px; font-style: normal; line-height: 1.5; overflow-wrap: anywhere; }
.loc-value a { color: var(--sky); }
.strong-link { color: var(--navy) !important; font-weight: 700; }
.hours { margin: 10px 0 0; display: flex; flex-direction: column; max-width: 360px; }
.hours-row { display: flex; justify-content: space-between; gap: 24px; font-size: 17.5px; line-height: 1.5; color: #35404F; padding: 9px 0; border-bottom: 1px solid var(--border); }
.hours-row:last-child { border-bottom: none; }
.hours-row dt { margin: 0; font-weight: 600; color: var(--navy); }
.hours-row dd { margin: 0; }
.hours-row.closed dd { color: var(--navy); font-weight: 600; }
@media (max-width: 480px) { .hours-row { font-size: 16px; } }
.ph-map { min-height: 420px; background: repeating-linear-gradient(135deg,#E4EBF1,#E4EBF1 16px,#EEF2F6 16px,#EEF2F6 32px); border: 1px solid var(--sky-line); }
.ph-map-inner { text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #B9C4D2; padding-top: 72px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand { color: #FBF7EF; font-size: 24px; }
.foot-tag { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--cobalt-bright); margin-top: 14px; }
.foot-desc { margin-top: 18px; font-size: 14.5px; color: #93A0B2; max-width: 300px; }
.social-row { display: flex; gap: 12px; margin-top: 20px; }
.social { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #2E3E58; display: flex; align-items: center; justify-content: center; color: var(--cobalt-bright); font-weight: 700; font-size: 14px; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.social:hover { background: #2E3E58; color: #FBF7EF; }
.social:focus-visible { outline: 2px solid var(--cobalt-bright); outline-offset: 3px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-head { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: #7C899C; font-weight: 700; margin-bottom: 4px; font-family: var(--sans); }
.foot-col a { color: #B9C4D2; font-size: 14.5px; }
.foot-col a:hover { color: var(--gold-light); }
.foot-addr { color: #93A0B2; font-size: 14.5px; }
.foot-bar { margin-top: 48px; padding-top: 24px; padding-bottom: 40px; border-top: 1px solid #23334E; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #7C899C; }
.foot-bar { max-width: var(--maxw); margin-inline: auto; }

/* ---------- Mobile action bar ---------- */
.mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  grid-template-columns: 1fr 1fr 1fr; background: var(--navy); border-top: 1px solid #23334E;
}
.mobile-bar a, .mobile-bar button {
  padding: 14px 6px; text-align: center; color: #EDE7DA; font-weight: 700; font-size: 13px;
  font-family: var(--sans); border: none; border-right: 1px solid #23334E; background: none; cursor: pointer;
}
.mobile-bar a:hover { color: #fff; }
.mobile-bar button { color: #fff; background: linear-gradient(180deg,#1F9AE8,#0A84D6); }
.mobile-bar > *:last-child { border-right: none; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(18,32,58,.55); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal {
  background: var(--ivory); border-radius: var(--radius-lg);
  max-width: 520px; width: 100%; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 40px 90px rgba(0,0,0,.35);
}
.modal-head { padding: 28px 32px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.modal-head h2 { font-size: 30px; }
.modal-sub { font-size: 14px; color: var(--muted-2); margin-top: 4px; }
.modal-sub a { font-weight: 700; }
.modal-close { background: none; border: none; font-size: 30px; line-height: 1; color: #8A8375; cursor: pointer; padding: 0 4px; transition: color .2s var(--ease); }
.modal-close:hover { color: var(--navy); }

.modal-form { padding: 26px 32px 32px; display: flex; flex-direction: column; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--text); }
.field input, .field select {
  padding: 12px 14px; border: 1px solid var(--border-2); border-radius: 10px;
  font-size: 15px; font-weight: 400; background: #fff; color: var(--text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(51,89,126,.15); }
.field input:invalid:not(:placeholder-shown) { border-color: #c47b6b; }
.demo-note { font-size: 12px; color: #98826A; text-align: center; font-family: var(--mono); }

.modal-success { padding: 44px 32px; text-align: center; }
.success-check { width: 60px; height: 60px; border-radius: 50%; background: var(--sky-bg); display: flex; align-items: center; justify-content: center; margin: 0 auto; color: var(--sky); font-size: 30px; }
.modal-success h3 { font-size: 26px; margin-top: 18px; }
.modal-success p { font-size: 15.5px; color: var(--muted); margin-top: 8px; }
.modal-success .btn { margin-top: 24px; }

body.modal-open { overflow: hidden; }

/* ---------- Real portraits & brand imagery ---------- */
.brand-mark img { display: block; }
.portrait { position: relative; z-index: 1; margin: 0; }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
.portrait-hero { aspect-ratio: 4/5; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px rgba(11,60,110,.22); }
.portrait-hero img { object-position: center top; }
.portrait-hero::after { content: ""; position: absolute; inset: 0; border-radius: 22px; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(10,132,214,.4), inset 0 2px 0 rgba(255,255,255,.4); }
.hero-media { position: relative; }
.hero-media::before { content: ""; position: absolute; right: -14px; top: -24px; width: 62%; height: 55%; z-index: 0; background: radial-gradient(closest-side, rgba(0,164,250,.18), transparent 72%); }
.hero-badge { z-index: 2; }

/* ---------- Our Studio (full-width office photo) ---------- */
.studio { background: var(--sky-bg); padding-block: 72px; }
.studio-head { margin-bottom: 40px; }
.studio-frame {
  position: relative; margin: 0;
  border-radius: 24px; overflow: hidden;
  border: 1px solid var(--sky-line);
  box-shadow: 0 24px 56px rgba(11,60,110,.16);
  background: var(--card);
}
.studio-frame img { display: block; width: 100%; height: auto; object-fit: contain; }
.studio-panel {
  position: absolute; left: 26px; bottom: 26px; z-index: 2;
  max-width: min(320px, 42%);
  background: var(--navy-deep); color: var(--ivory);
  border-radius: 16px; padding: 20px 24px;
  box-shadow: 0 18px 40px rgba(11,32,58,.4);
}
.studio-panel-name { display: block; font-family: var(--serif); font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.studio-panel-line { display: block; font-size: 14px; color: rgba(255,255,255,.82); line-height: 1.5; }
.studio-panel-link { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--cobalt-bright); text-decoration: none; }
.studio-panel-link:hover { color: #fff; }
.studio-note { margin-top: 16px; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 720px) {
  .studio { padding-block: 52px; }
  .studio-frame { border: 0; overflow: visible; box-shadow: none; background: transparent; }
  .studio-frame img { border-radius: 16px; border: 1px solid var(--sky-line); box-shadow: 0 14px 34px rgba(11,60,110,.14); }
  .studio-panel {
    position: static; max-width: none; margin-top: 16px;
    border-radius: 14px; box-shadow: var(--shadow-sm);
  }
}

/* ---------- Affiliations strip ---------- */
.affil { padding-block: 30px; }
.affil-strip {
  display: block; max-width: 1120px; margin: 16px auto 0; padding: 20px 28px;
  background: var(--card-warm); border: 1px solid var(--border-2); border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.affil-strip:hover { border-color: var(--sky); box-shadow: var(--shadow-sm); }
.affil-strip:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.affil-strip img { display: block; width: 100%; height: auto; object-fit: contain; }
.affil-link { text-align: center; margin-top: 16px; }
.affil-link a { font-size: 14px; font-weight: 700; color: var(--sky); text-decoration: none; }

/* Embedded, expandable affiliation items */
.affil-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 1120px; margin: 24px auto 0; }
.affil-item { border: 1px solid var(--border-2); border-radius: 14px; background: transparent; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.affil-item[open] { border-color: var(--sky-line); box-shadow: var(--shadow-sm); background: var(--card-warm); }
.affil-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; }
.affil-item summary::-webkit-details-marker { display: none; }
.affil-name { display: flex; flex-direction: column; min-width: 0; }
.affil-abbr { font-family: var(--serif); font-size: 20px; color: var(--navy); font-weight: 600; letter-spacing: .5px; line-height: 1; }
.affil-full { font-size: 12.5px; color: var(--muted); margin-top: 5px; text-wrap: pretty; }
.affil-plus { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border-2); display: flex; align-items: center; justify-content: center; color: var(--sky); font-size: 20px; line-height: 1; transition: transform .25s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.affil-item[open] .affil-plus { transform: rotate(45deg); background: var(--sky); color: #fff; border-color: var(--sky); }
.affil-desc { padding: 0 20px 18px; font-size: 14px; line-height: 1.6; color: var(--text); text-wrap: pretty; }
@media (max-width: 820px) { .affil-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .affil-grid { grid-template-columns: 1fr; } }
.affil-link a:hover { color: var(--cobalt-deep); }

/* ---------- Best of Gwinnett recognition (compact card) ---------- */
.recognition { padding-block: 56px; }
.recognition-card {
  display: flex; align-items: center; gap: 38px;
  max-width: 960px; margin: 0 auto; padding: 36px 40px;
  background: var(--card); border: 1px solid var(--sky-line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.award-media { flex: 0 0 auto; width: 250px; margin: 0; }
.award-media img { display: block; width: 100%; height: auto; object-fit: contain; }
.recognition-title { font-family: var(--serif); font-size: 30px; line-height: 1.15; color: var(--navy); font-weight: 700; margin-top: 8px; }
.recognition-body { margin-top: 14px; color: var(--muted); font-size: 15.5px; line-height: 1.6; max-width: 46ch; }
.recognition-link { margin-top: 18px; }
.recognition-copy .strong-link { font-size: 16px; }
.recognition-copy .editable-note { margin-top: 14px; }
.recognition-badge { display: inline-block; font-family: var(--sans); font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; color: var(--gold); border: 1px solid var(--gold-light); border-radius: 999px; padding: 6px 14px; margin-top: 14px; }
.recognition-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ---------- New Patient $99 offer ---------- */
.offer-card { display: grid; grid-template-columns: 1.15fr .85fr; max-width: 940px; margin: 0 auto; background: var(--card); border: 1px solid var(--border-2); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.offer-body { padding: 40px 44px; }
.offer-eyebrow { font-family: var(--sans); font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.offer-title { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); line-height: 1.12; color: var(--navy); font-weight: 600; margin-top: 10px; }
.offer-sub { margin-top: 14px; font-size: 16px; line-height: 1.6; color: #45505F; }
.offer-list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.offer-list li { position: relative; padding-left: 32px; font-size: 16px; color: #2A3547; line-height: 1.5; }
.offer-list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat; }
.offer-note { margin-top: 20px; font-size: 15px; line-height: 1.6; color: #45505F; }
.offer-fine { margin-top: 20px; font-size: 12.5px; line-height: 1.5; color: var(--muted-2); }
.offer-aside { background: linear-gradient(180deg, #1F314C, #17263F); color: #EDE7DA; padding: 44px 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; position: relative; }
.offer-aside::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(198,167,110,.35); border-radius: 12px; pointer-events: none; }
.offer-aside-label { font-family: var(--sans); font-size: 12.5px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-light); font-weight: 700; }
.offer-aside .offer-price { font-family: var(--serif); font-size: 92px; line-height: .95; color: #fff; font-weight: 600; letter-spacing: -1px; }
.offer-value { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--gold-light); position: relative; padding-top: 12px; margin-top: 4px; }
.offer-value::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 44px; height: 1px; background: rgba(198,167,110,.5); }
.offer-aside .offer-price-label { font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(237,231,218,.75); font-weight: 600; margin-top: 6px; }
.offer-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.offer-actions .btn { width: 100%; }
@media (max-width: 760px) { .offer-card { grid-template-columns: 1fr; } .offer-body { padding: 32px 26px; } .offer-aside { padding: 32px 26px; order: -1; } }

/* Compact homepage offer strip */
.offer-strip { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; max-width: 940px; margin: 0 auto; background: linear-gradient(180deg, #FFFDF9, #F8F1E6); border: 1px solid var(--border-2); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 26px 34px; }
.offer-strip-copy { min-width: 240px; }
.offer-strip .offer-eyebrow { color: var(--gold); }
.offer-strip-title { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); color: var(--navy); font-weight: 600; margin-top: 6px; }
.offer-strip-title span { color: var(--sky); }
.offer-strip-sub { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.offer-strip-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 620px) { .offer-strip { flex-direction: column; align-items: flex-start; } .offer-strip-actions .btn { width: 100%; } }
@media (max-width: 720px) {
  .recognition-card { flex-direction: column; text-align: center; gap: 22px; padding: 24px; }
  .award-media { width: 200px; }
  .recognition-body { max-width: none; }
}

/* ---------- Global "Ready when you are" + Location component ---------- */
.global-cta { padding-block: 76px; }
.gcta-card {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 448px;
  border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg);
}
.gcta-panel {
  background: var(--navy-deep); color: #fff;
  padding: 56px 52px; display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start; text-align: left; gap: 20px;
}
.gcta-panel h2 { margin: 0; }
.gcta-panel .lead { margin: 0; max-width: 42ch; }
.gcta-panel .btn-row { margin: 4px 0 0; }
.gcta-addr { font-style: normal; color: rgba(255,255,255,.78); line-height: 1.6; font-size: 15px; margin: 0; }
.gcta-map { position: relative; min-height: 448px; }
.gcta-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.gcta-maplink {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  background: var(--card); color: var(--navy); font-weight: 700; font-size: 14px;
  text-decoration: none; padding: 11px 16px; border-radius: 10px;
  box-shadow: var(--shadow-md); border: 1px solid var(--border);
}
.gcta-maplink:hover { background: var(--navy); color: #fff; }
.gcta-maplink:focus-visible { outline: 2px solid var(--cobalt-bright); outline-offset: 2px; }

/* ---------- Enriched CTA panel meta (homepage) ---------- */
.gcta-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 40px; margin-top: 8px;
  padding-top: 26px; border-top: 1px solid rgba(198,163,106,.28); width: 100%; }
.gcta-meta-label { display: block; font-family: var(--sans); font-size: 11.5px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold-light); font-weight: 500; margin-bottom: 8px; }
.gcta-hours { margin: 0; display: flex; flex-direction: column; gap: 5px; }
.gcta-hours > div { display: flex; justify-content: space-between; gap: 18px; font-size: 14.5px;
  color: rgba(255,255,255,.82); }
.gcta-hours dt, .gcta-hours dd { margin: 0; }
.gcta-hours .closed dd { color: var(--gold-light); }

/* ---------- Family parallax band ---------- */
.family-band {
  position: relative; min-height: 520px; display: flex; align-items: flex-end;
  background-image: linear-gradient(180deg, rgba(16,29,52,.15) 0%, rgba(16,29,52,.72) 100%),
    url("../assets/family-smiles.png");
  background-size: cover; background-position: center 28%; background-attachment: fixed;
}
.family-band-inner { max-width: var(--maxw); margin: 0 auto; width: 100%;
  padding: 0 var(--gutter) 68px; color: #FBF7EF; }
.family-band-eyebrow { margin: 0 0 14px; font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase; color: var(--gold-light); }
.family-band-line { margin: 0; max-width: 18ch; font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1.08; text-shadow: 0 2px 30px rgba(6,16,32,.5); }
@media (max-width: 768px) {
  .family-band { background-attachment: scroll; min-height: 400px; }
  .gcta-meta { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 880px) {
  .gcta-card { grid-template-columns: 1fr; min-height: 0; }
  .gcta-panel { padding: 40px 30px; min-height: 380px; }
  .gcta-map { min-height: 340px; height: 340px; }
}
@media (max-width: 520px) {
  .gcta-panel .btn-row { flex-direction: column; align-items: stretch; width: 100%; }
  .gcta-panel .btn-row .btn { width: 100%; }
}

.about-media { position: relative; max-width: 430px; }
.about-media::before { content: ""; position: absolute; left: -20px; bottom: -20px; width: 72%; height: 62%; border-radius: 18px; z-index: 0; background: linear-gradient(135deg, rgba(0,164,250,.55), rgba(10,78,122,.45)); }
.portrait-about { position: relative; z-index: 1; aspect-ratio: 3/4; border-radius: 16px; overflow: hidden; border: 7px solid #fff; box-shadow: 0 26px 55px rgba(0,0,0,.32); }
.portrait-about img { object-position: center top; }

.foot-brand-lockup { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.foot-emblem { display: grid; place-items: center; width: 52px; height: 52px; flex: none; background: radial-gradient(closest-side, rgba(0,164,250,.16), transparent 72%); }
.foot-emblem img { width: 48px; height: 48px; object-fit: contain; }
.foot-brand-word { display: flex; flex-direction: column; line-height: 1; }
.foot-brand-name { font-family: var(--serif); font-size: 20px; font-weight: 500; color: #FBF7EF; letter-spacing: 3px; text-transform: uppercase; }
.foot-brand-lockup .foot-tag { margin-top: 6px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .nav-desktop, .header-actions { display: none; }
  .menu-toggle { display: flex; }
  .header-inner { display: flex; justify-content: space-between; }
}

@media (max-width: 980px) {
  :root { --gutter: 28px; }
  .nav-desktop, .header-actions { display: none; }
  .menu-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .split, .split-narrow-left, .split-wide-left, .faq-split { grid-template-columns: 1fr; gap: 40px; }
  .loc-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .about-media { max-width: 420px; }
  .tour-grid { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .tour-lead { grid-row: auto; grid-column: span 2; aspect-ratio: 16/9; }
  .ph-tour { aspect-ratio: 4/3; }
  .section { padding-block: 72px; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  body { padding-bottom: 60px; }
  .grid-3, .foot-grid, .services-grid { grid-template-columns: 1fr; }
  .comfort-grid { grid-template-columns: 1fr; }
  .tour-grid { grid-template-columns: 1fr; }
  .tour-lead { grid-column: auto; aspect-ratio: 16/10; }
  .ph-tour { aspect-ratio: 16/10; }
  .mobile-bar { display: grid; }
  .hero-badge { position: static; margin-top: 16px; max-width: none; }
  .field-row { grid-template-columns: 1fr; }
  .modal-head { padding: 22px 22px; }
  .modal-form { padding: 22px 22px 26px; }
  .foot-bar { flex-direction: column; }
  .section { padding-block: 60px; }
  .hero { padding-block: 40px 20px; }
  .brand-sub { display: none; }
  .brand-name { font-size: 18px; letter-spacing: 2.5px; }
  .brand-mark { width: 44px; height: 44px; border-radius: 11px; }
  .brand-mark img { width: 37px; height: 37px; }
  .about-media { max-width: none; }
  .foot-brand-name { font-size: 21px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .btn:hover, .service:hover { transform: none; }
}

/* =========================================================
   DROPDOWN / MEGA NAVIGATION
   ========================================================= */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { font-family: var(--sans); font-size: 15px; font-weight: 600; line-height: 1; letter-spacing: .1px; color: #2A3547; background: none; border: none; cursor: pointer; padding: 8px 0; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; white-space: nowrap; position: relative; }
.nav-link .caret { width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s var(--ease); opacity: .55; }
.nav-item:hover > .nav-link .caret, .nav-item.open > .nav-link .caret { transform: rotate(225deg) translateY(0); opacity: 1; }
.nav-link:hover, .nav-item:hover > .nav-link { color: var(--sky); }
.nav-link.active, .nav-item.active > .nav-link { color: var(--sky); }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: var(--sky); transform: scaleX(0); transform-origin: center; transition: transform .18s var(--ease); }
.nav-link:hover::after, .nav-item:hover > .nav-link::after, .nav-link.active::after, .nav-item.active > .nav-link::after { transform: scaleX(1); }

.dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); min-width: 264px; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 24px 50px rgba(23,38,63,.16); padding: 12px; opacity: 0; visibility: hidden; transition: opacity .18s var(--ease), transform .18s var(--ease); z-index: 70; }
.dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-item:hover > .dropdown, .nav-item.open > .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(6px); }
.dropdown a { display: block; padding: 11px 14px; border-radius: 10px; color: var(--navy); font-size: 14.5px; font-weight: 600; line-height: 1.3; text-decoration: none; }
.dropdown a small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.dropdown a:hover, .dropdown a.active { background: var(--sky-bg); color: var(--sky); }

.mega { min-width: min(900px, 94vw); max-width: 94vw; display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 30px; row-gap: 2px; padding: 24px 26px; align-items: start; }
.mega-col { display: flex; flex-direction: column; }
.mega-head { display: block; font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold); font-weight: 700; padding: 2px 12px 8px; text-decoration: none; }
a.mega-head:hover, a.mega-head:focus-visible { color: var(--sky); background: none; }
.mega-col a { padding: 7px 12px; font-size: 14px; line-height: 1.25; border-radius: 8px; }
.mega-col a.view-all { color: var(--sky); font-weight: 700; margin-top: 2px; }
.mega-foot { grid-column: 1 / -1; border-top: 1px solid var(--border); margin-top: 8px; padding-top: 8px; }
.mega-foot a { display: block; text-align: center; color: var(--sky); font-weight: 700; padding: 9px; border-radius: 8px; }
.mega-foot a:hover { background: var(--sky-bg); color: var(--sky); }

/* Mobile accordion nav */
.m-acc > .m-acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: none; border: none; font-family: var(--sans); font-size: 16px; font-weight: 600; color: #2A3547; padding: 12px 6px; border-bottom: 1px solid #F0E8DA; cursor: pointer; }
.m-acc > .m-acc-btn .caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s var(--ease); opacity: .6; }
.m-acc.open > .m-acc-btn .caret { transform: rotate(225deg); }
.m-panel { display: none; padding: 4px 6px 12px 16px; }
.m-acc.open > .m-panel { display: block; }
.m-panel a { display: block; padding: 9px 6px; font-size: 14.5px; font-weight: 600; color: #3B4453; border: none; text-decoration: none; }
.m-panel a:hover { color: var(--sky); }
.m-panel .m-sub-head { display: block; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold); font-weight: 700; padding: 10px 6px 2px; }
.m-sub-acc > .m-acc-btn { font-size: 15px; padding: 11px 4px; font-weight: 700; }
.m-panel .m-panel { padding: 2px 4px 8px 14px; }

/* =========================================================
   INNER-PAGE SYSTEM
   ========================================================= */
.page-hero { background: var(--sky-bg); border-bottom: 1px solid var(--sky-line); }
.page-hero .container { padding-block: 52px; }
.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.breadcrumbs a { color: var(--sky); font-weight: 600; }
.breadcrumbs .sep { color: #AEB6C0; }
.breadcrumbs [aria-current] { color: var(--muted); }
.page-hero h1 { font-size: clamp(32px, 3.8vw, 46px); text-transform: uppercase; letter-spacing: 2px; }
.page-hero .lead { margin-top: 14px; max-width: 660px; }

.prose { max-width: 768px; }
.prose > p { margin-top: 18px; font-size: 17px; color: #45505F; }
.prose h2 { font-size: 30px; margin-top: 44px; clear: both; }
.prose h3 { font-size: 21px; margin-top: 28px; color: var(--navy); }
.prose ul { margin-top: 16px; padding-left: 22px; color: #45505F; font-size: 16.5px; }
.prose li { margin-top: 8px; }
.prose a { color: var(--sky); font-weight: 600; }
.prose a.btn-gold, .prose a.btn-primary { color: #fff; font-weight: 700; }
.prose a.btn { margin-top: 4px; }
.emg-callout { margin-top: 22px; background: var(--sky-bg); border: 1px solid var(--sky-line); border-left: 4px solid var(--sky); border-radius: 12px; padding: 16px 20px; }
.emg-callout p { margin: 0; font-size: 16px; line-height: 1.6; color: #2A3547; }
.emg-callout strong { color: var(--navy); }
.video-embed { width: 100%; aspect-ratio: 16 / 9; margin-top: 24px; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); background: var(--navy); }
.video-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.guide-cta { margin-top: 28px; background: var(--sand); border: 1px solid var(--border-2); border-radius: 14px; padding: 22px 24px; }
.guide-cta h3 { margin: 0 0 8px; font-size: 20px; }
.guide-cta p { margin: 0 0 16px; font-size: 15.5px; line-height: 1.6; color: #45505F; }
.sedation-video { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 20px; box-shadow: var(--shadow-sm); background: var(--navy); }
.sedation-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.bond-fig { float: right; width: 260px; max-width: 44%; margin: 6px 0 18px 26px; background: var(--sky-bg); border: 1px solid var(--sky-line); border-radius: 14px; padding: 14px; box-shadow: var(--shadow-sm); }
.bond-fig img { width: 100%; height: auto; border-radius: 8px; display: block; background: #fff; }
.bond-fig figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 560px) { .bond-fig { float: none; width: 100%; max-width: 300px; margin: 18px auto; } }

.confirm-flag { margin-top: 24px; background: #FBF3E4; border: 1px solid #EAD9B8; border-radius: 12px; padding: 14px 18px; font-size: 13.5px; color: #7A6636; display: flex; gap: 12px; align-items: flex-start; }
.confirm-flag b { background: var(--gold); color: #fff; font-size: 10px; letter-spacing: .8px; padding: 4px 9px; border-radius: 999px; text-transform: uppercase; white-space: nowrap; flex: none; }
.unpublished-banner { background: #7A2E2E; color: #FDECEC; text-align: center; padding: 12px 20px; font-size: 14px; font-weight: 600; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.related-card { display: block; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; color: var(--navy); font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--sky-line); color: var(--sky); }
.related-card small { display: block; font-weight: 500; color: var(--muted); font-size: 13.5px; margin-top: 6px; }

/* ---------- Illustrated step guides (brushing / flossing) ---------- */
.step-guide { margin-top: 22px; }
.step-guide-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.step-guide-head h2 { margin: 0; }
.step-guide-head .step-guide-note { font-size: 14.5px; color: var(--muted); }
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.step-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.step-card-media img { width: 100%; height: 100%; object-fit: cover; }
.step-card-num {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--ivory);
  font-family: var(--serif); font-size: 17px; font-weight: 600;
  box-shadow: 0 4px 12px rgba(11,32,58,.3); border: 1.5px solid var(--gold-light);
}
.step-card-body { padding: 16px 18px 20px; }
.step-card-body p { font-size: 14.5px; line-height: 1.55; color: var(--text); }

/* ---------- Sealant auto-rotating diagram ---------- */
.seal-anim { margin: 0; background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); }
.seal-anim-stage { position: relative; aspect-ratio: 492 / 392; background: #CFE3F5; }
.seal-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease); }
.seal-frame.is-active { opacity: 1; }
.seal-anim-cap { min-height: 3.2em; padding: 16px 20px 4px; display: grid; }
.seal-cap-text { grid-area: 1 / 1; font-size: 14.5px; line-height: 1.5; color: var(--text); opacity: 0; transition: opacity .5s var(--ease); }
.seal-cap-text.is-active { opacity: 1; }
.seal-dots { display: flex; gap: 8px; justify-content: center; padding: 6px 0 18px; }
.seal-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-2); transition: background .3s var(--ease), transform .3s var(--ease); }
.seal-dot.is-active { background: var(--sky); transform: scale(1.25); }

@media (max-width: 900px) { .step-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .step-grid { grid-template-columns: 1fr; } }

.cta-band { background: linear-gradient(180deg, #1B2C48, #17263F); color: #EDE7DA; text-align: center; border-radius: var(--radius-lg); padding: 52px 30px; box-shadow: var(--shadow-blue); }
.cta-band h2 { color: #FBF7EF; font-size: 36px; text-transform: uppercase; letter-spacing: 2px; }
.cta-band p { margin-top: 12px; color: #C9D2DE; font-size: 17px; max-width: 520px; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

.forms-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.form-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; color: var(--navy); font-weight: 700; text-decoration: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.form-link:hover { border-color: var(--sky); box-shadow: var(--shadow-sm); color: var(--sky); }
.form-link .arr { color: var(--sky); font-weight: 700; }

.tour-real { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.tour-real img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }
.tour-real .tour-wide { grid-column: span 2; }
.tour-real .tour-wide img { aspect-ratio: 16/9; }

@media (max-width: 980px) {
  .related-grid, .mega { grid-template-columns: 1fr; }
  .forms-list { grid-template-columns: 1fr; }
  .tour-real { grid-template-columns: 1fr 1fr; }
  .tour-real .tour-wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .tour-real, .tour-real .tour-wide { grid-template-columns: 1fr; grid-column: auto; }
  .cta-band h2 { font-size: 30px; }
}

/* =========================================================
   OFFICE TOUR VIDEO
   ========================================================= */
.office-tour-media { margin-top: 8px; opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.office-tour-media.in-view { opacity: 1; transform: none; }
.office-tour-video {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain;
  background: #0C1424; border: 1px solid var(--sky-line); border-radius: 22px;
  box-shadow: 0 26px 60px rgba(23,38,63,.14); overflow: hidden;
}

/* =========================================================
   BEFORE & AFTER (real images) + LIGHTBOX
   ========================================================= */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ba-card2 { margin: 0; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.ba-open { display: block; position: relative; width: 100%; padding: 0; border: none; background: none; cursor: zoom-in; }
.ba-open img { width: 100%; height: auto; display: block; }
.ba-open::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(10,132,214,.16); transition: background .2s var(--ease); }
.ba-open:hover::after { background: rgba(10,132,214,.06); }
.ba-badge { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; pointer-events: none; }
.ba-badge span { background: rgba(18,32,58,.74); color: #fff; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.ba-cap2 { padding: 15px 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ba-cap2 .ba-title { font-weight: 700; color: var(--navy); }

.lightbox { position: fixed; inset: 0; z-index: 130; background: rgba(12,20,36,.9); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox img { max-width: 96vw; max-height: 90vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox-close { position: fixed; top: 16px; right: 22px; background: none; border: none; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; }
.lightbox-close:hover { color: #fff; opacity: .8; }

/* =========================================================
   MAP EMBED
   ========================================================= */
.map-col { display: flex; flex-direction: column; gap: 14px; }
.map-embed { position: relative; min-height: 440px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--sky-line); box-shadow: var(--shadow-md); }
.map-embed::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); pointer-events: none; box-shadow: inset 0 0 0 1px rgba(10,132,214,.14); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* =========================================================
   APPOINTMENT FORM — extended fields
   ========================================================= */
.form-urgent { font-size: 13px; color: #7A2E2E; background: #FBECEC; border: 1px solid #EBC9C9; border-radius: 10px; padding: 10px 14px; margin: 0; font-weight: 600; line-height: 1.45; }
.form-urgent a { color: #7A2E2E; font-weight: 800; }
.field .req { color: var(--sky); font-weight: 700; font-size: 11px; }
.field .opt { color: var(--muted-2); font-weight: 600; font-size: 11px; }
.modal-form fieldset.date-prefs { border: 1px solid var(--border-2); border-radius: 14px; padding: 6px 18px 18px; margin: 2px 0; display: flex; flex-direction: column; gap: 14px; }
.date-prefs legend { font-family: var(--sans); font-weight: 800; font-size: 13.5px; color: var(--navy); padding: 0 8px; }
.hours-inline { font-size: 12.5px; color: var(--muted); margin: 0; }
.prefs-note { font-size: 12.5px; color: var(--muted-2); margin: 0; line-height: 1.45; }
.field textarea { padding: 12px 14px; border: 1px solid var(--border-2); border-radius: 10px; font-family: var(--sans); font-size: 15px; font-weight: 400; background: #fff; color: var(--text); resize: vertical; min-height: 74px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(51,89,126,.15); }
.field-hint { font-size: 12px; color: var(--muted-2); font-weight: 400; line-height: 1.45; }

@media (max-width: 640px) {
  .ba-grid { grid-template-columns: 1fr; }
  .map-embed { min-height: 320px; }
}

/* =========================================================
   BIOGRAPHY — pull quotes & "In Her Own Words" panel
   ========================================================= */
.pull-quote { margin: 26px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--sky); font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; color: var(--navy); font-weight: 600; }
.soft-highlight { font-family: var(--serif); font-size: 21px; font-style: italic; color: var(--cobalt-deep); margin-top: 22px; line-height: 1.35; }
.words-panel { max-width: 900px; margin: 0 auto; text-align: center; }
.words-panel .accent-line { display: block; width: 54px; height: 3px; background: var(--cobalt-bright); margin: 0 auto 22px; border-radius: 2px; }
.words-panel blockquote { margin: 0; font-family: var(--serif); font-size: clamp(26px, 3.2vw, 40px); line-height: 1.28; color: #FBF7EF; font-weight: 600; text-wrap: pretty; }

/* Compact biography + credentials (about page) */
.section-bio { padding-block: 68px; }
.bio-split { display: grid; grid-template-columns: minmax(0, 48fr) minmax(0, 52fr); gap: 56px; align-items: start; }
.bio-split .about-media { max-width: 480px; margin: 0; }
.bio-prose { max-width: 60ch; }
.bio-prose .eyebrow { color: var(--gold); }
.bio-prose h2 {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted);
  margin-top: 38px; margin-bottom: 2px; display: flex; align-items: center; gap: 13px; line-height: 1;
}
.bio-prose h2::before { content: ""; width: 28px; height: 1.5px; background: var(--gold-light); flex: 0 0 auto; }
.bio-prose p { margin-top: 13px; font-size: 16.5px; line-height: 1.72; color: #434C5A; max-width: 60ch; }
.bio-prose .pull-quote {
  margin: 26px 0; padding: 20px 0; border: none;
  border-top: 1px solid var(--border-2); border-bottom: 1px solid var(--border-2);
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(20px, 2vw, 24px); line-height: 1.4; color: var(--navy);
}
.bio-prose .pull-quote::before {
  content: "\201C"; font-family: var(--serif); font-style: normal;
  font-size: 40px; color: var(--gold-light); line-height: 0;
  position: relative; top: 14px; margin-right: 4px;
}
.bio-creds { padding-block: 64px; }
.bio-creds .section-head { margin-bottom: 34px; }
.bio-creds .display-lg { font-size: clamp(28px, 3vw, 36px); }
.bio-creds .grid-3 { gap: 24px; }
.bio-creds .card.pad { min-height: 150px; display: flex; flex-direction: column; justify-content: center; padding: 22px 24px; }
.bio-creds .memberships { margin-top: 32px; }
@media (max-width: 900px) {
  .bio-split { grid-template-columns: 1fr; gap: 32px; }
  .bio-split .about-media { max-width: 420px; }
  .section-bio { padding-block: 48px; }
  .bio-creds { padding-block: 48px; }
  .bio-creds .card.pad { min-height: 0; }
}

/* =========================================================
   LUXURY EDITORIAL HERO (homepage)
   ========================================================= */
.hero-lux {
  position: relative;
  background:
    radial-gradient(120% 90% at 78% 18%, rgba(198,163,106,.16) 0%, rgba(198,163,106,0) 46%),
    radial-gradient(80% 60% at 12% 90%, rgba(10,132,214,.14) 0%, rgba(10,132,214,0) 55%),
    linear-gradient(180deg, #16273F 0%, #101D34 100%);
  color: #F6EFE2;
  overflow: hidden;
}
.hero-lux::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198,163,106,.5) 50%, transparent);
}
.hero-lux-inner {
  max-width: 1360px; margin: 0 auto; padding: 92px var(--gutter);
  display: grid; grid-template-columns: 55fr 45fr; gap: 64px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 16px;
  margin: 0 0 26px; font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 3.4px; text-transform: uppercase; color: var(--gold-light);
}
.hero-eyebrow::before {
  content: ""; width: 42px; height: 1px; background: linear-gradient(90deg, var(--gold-light), rgba(198,163,106,.15));
}
.hero-lux-title {
  font-family: var(--serif); font-weight: 500; color: #FBF7EF;
  font-size: clamp(3.75rem, 5.7vw, 6rem); line-height: 1.06; letter-spacing: 1.5px; text-transform: uppercase;
  margin: 0; text-wrap: balance;
}
.hero-lux-title em { font-style: italic; color: var(--gold-light); font-weight: 500; }
.hero-lux-sub {
  margin: 28px 0 0; max-width: 32em; font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.7; color: #C4CDD9;
}
.hero-lux-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn-hero-primary { background: linear-gradient(180deg,#CBAA71 0%, #B08D57 100%); color: #1A2740; font-weight: 600; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 26px rgba(176,141,87,.34); }
.btn-hero-primary:hover { background: linear-gradient(180deg,#D6B87E 0%, #BC9860 100%); color: #16233A; box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 14px 32px rgba(176,141,87,.42); }
.btn-hero-outline { background: transparent; border-color: rgba(246,239,226,.45); color: #F6EFE2; }
.btn-hero-outline:hover { background: rgba(246,239,226,.08); border-color: rgba(198,163,106,.8); color: #fff; }
.hero-lux-phone {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 24px;
  font-size: 15px; font-weight: 600; color: #E9E0CF;
  letter-spacing: .2px;
}
.hero-lux-phone::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt-bright); box-shadow: 0 0 0 4px rgba(0,164,250,.16); }
.hero-lux-phone:hover { color: #fff; }

.hero-lux-media { position: relative; display: flex; justify-content: center; }
.hero-lux-media::before {
  content: ""; position: absolute; inset: -8% -6% -8% 4%; z-index: 0;
  background: radial-gradient(closest-side, rgba(198,163,106,.30), rgba(198,163,106,.05) 68%, transparent 78%);
  filter: blur(8px);
}
.hero-lux-portrait {
  position: relative; z-index: 1; margin: 0; width: 100%; max-width: 460px;
  aspect-ratio: 4/5; border-radius: 20px; overflow: hidden;
  padding: 8px; background: linear-gradient(160deg, rgba(198,163,106,.55), rgba(198,163,106,.12) 42%, rgba(255,255,255,.06));
  box-shadow: 0 40px 80px rgba(4,14,30,.55);
}
.hero-lux-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 13px; }
.hero-lux-portrait::after {
  content: ""; position: absolute; inset: 8px; border-radius: 13px; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(198,163,106,.6);
}

/* Practice-promise band */
.promise { background: var(--ivory); border-bottom: 1px solid var(--border); }
.promise-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 40px var(--gutter);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
}
.promise-item { padding: 4px 34px; }
.promise-item + .promise-item { border-left: 1px solid var(--border); }
.promise-item:first-child { padding-left: 0; }
.promise-item:last-child { padding-right: 0; }
.promise-title { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--navy); margin: 0; }
.promise-text { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

@media (max-width: 980px) {
  .hero-lux-inner { grid-template-columns: 1.05fr .95fr; gap: 40px; padding: 72px var(--gutter); }
  .hero-lux-title { font-size: clamp(48px, 6.4vw, 62px); }
  .hero-lux-portrait { max-width: 400px; }
}
@media (max-width: 760px) {
  .hero-lux-inner { grid-template-columns: 1fr; gap: 40px; padding: 56px 24px 52px; }
  .hero-lux-media { order: 2; }
  .hero-lux-title { font-size: clamp(52px, 13vw, 64px); }
  .hero-lux-actions { flex-direction: column; align-items: stretch; }
  .hero-lux-actions .btn { width: 100%; }
  .hero-lux-portrait { max-width: 100%; }
  .promise-inner { grid-template-columns: 1fr; gap: 0; padding: 8px 24px; }
  .promise-item { padding: 22px 0; }
  .promise-item + .promise-item { border-left: none; border-top: 1px solid var(--border); }
}
