/* =========================================================
   Linden Dental Associates — static site stylesheet
   Palette + type matched to the live Avada theme:
   accent #0067B1, body Open Sans / heads Montserrat (400),
   gray #747474 text, light layout.
   ========================================================= */

:root {
  --accent:     #0067B1;   /* brand blue — kept, the practice's true identity */
  --accent-dark:#084e7f;
  --accent-deep:#0d2b3e;   /* footer / dark surfaces */
  --navy:       #0067B1;   /* legacy alias -> accent */
  --navy-dark:  #084e7f;
  --teal:       #0067B1;   /* legacy alias -> accent */
  --teal-dark:  #084e7f;
  --gold:       #b3872f;   /* signature accent: kickers, hero arc, stars */
  --ink:        #33454e;   /* body text — was #747474, now real contrast */
  --ink-deep:   #10222c;   /* headings */
  --heading:    #10222c;
  --muted:      #64757e;
  --link:       #084e7f;
  --line:       #dfe6ea;
  --bg:         #ffffff;
  --bg-soft:    #f7fafc;
  --bg-tint:    #eef4f8;
  --wash:       #f3f8fc;
  --maxw:       1180px;
  --radius:     10px;
  --radius-lg:  14px;
  --shadow-sm:  0 1px 3px rgba(13,43,62,.08), 0 1px 2px rgba(13,43,62,.05);
  --shadow-md:  0 10px 30px rgba(13,43,62,.12), 0 2px 8px rgba(13,43,62,.06);
  --font-head:  "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body:  "Figtree", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); color: var(--ink);
  background: var(--bg); line-height: 1.7; font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--accent); }
h1,h2,h3,h4 { font-family: var(--font-head); color: var(--heading); line-height: 1.3; font-weight: 400; margin: 0 0 .5em; }
p { margin: 0 0 1.1em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons (Avada style: solid accent, uppercase) ---------- */
.btn {
  display: inline-block; cursor: pointer; border: 0;
  font-family: var(--font-body); font-weight: 700; letter-spacing: .03em;
  text-transform: uppercase; font-size: 13px;
  padding: 13px 26px; border-radius: var(--radius); transition: all .2s ease; line-height: 1.2;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: #fff; color: var(--accent); }
.btn-ghost { background: var(--accent); color: #fff; }
.btn-ghost:hover { background: var(--accent-dark); color: #fff; }

/* ---------- Top utility bar (Avada secondary header) ---------- */
.topbar { background: #fff; color: var(--accent); font-size: 13px; border-bottom: 1px solid var(--line); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 56px; gap: 16px; flex-wrap: wrap; }
.topbar ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.topbar ul a { color: var(--accent); text-transform: uppercase; font-weight: 600; letter-spacing: .02em; }
.topbar ul a:hover { color: var(--accent-dark); }
.topbar .social { display: flex; gap: 10px; }
.topbar .social .soc {
  width: 30px; height: 30px; border-radius: 50%; background: #b0b0b0; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; transition: background .18s ease;
}
.topbar .social .soc:hover { background: var(--accent); }
.topbar .social .soc svg { width: 15px; height: 15px; }

/* ---------- Header / identity (white) ---------- */
.identity { background: #fff; border-bottom: 1px solid var(--line); }
.identity .container { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; gap: 24px; flex-wrap: wrap; }
.identity .logo img { max-height: 80px; width: auto; }
.identity .contact { text-align: right; display: flex; align-items: center; gap: 20px; }
.identity .phone { font-family: var(--font-head); font-size: 24px; color: var(--accent); font-weight: 400; }
.identity .phone a { color: var(--accent); }
.header-search { display: flex; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.header-search input { border: 0; padding: 8px 12px; font-family: var(--font-body); font-size: 13px; outline: none; width: 150px; }
.header-search button { border: 0; background: var(--bg-soft); color: var(--heading); padding: 0 12px; cursor: pointer; font-size: 15px; }
.header-search button:hover { background: var(--accent); color: #fff; }

/* ---------- Primary nav (white bar, gray items, blue hover) ---------- */
.mainnav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.mainnav .container { display: flex; align-items: center; justify-content: center; }
.menu > li.mobile-only { display: none; }
.menu { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a {
  display: block; color: var(--heading); font-weight: 400; font-size: 14px;
  text-transform: uppercase; letter-spacing: .02em; padding: 18px 15px;
  border-bottom: 3px solid transparent;
}
.menu > li > a:hover, .menu > li:hover > a { color: var(--accent); border-bottom-color: var(--accent); }
.menu .submenu {
  position: absolute; top: 100%; left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent);
  box-shadow: var(--shadow-md); list-style: none; margin: 0; padding: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px); z-index: 60;
  transition: opacity .15s ease .08s, transform .15s ease .08s, visibility 0s linear .23s;
}
.menu li:hover > .submenu { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s, 0s, 0s; }
.menu .submenu li { position: relative; border-bottom: 1px solid #eee; }
.menu .submenu li:last-child { border-bottom: 0; }
.menu .submenu a { display: block; padding: 11px 18px; color: var(--ink); font-size: 13px; text-transform: none; font-weight: 400; letter-spacing: 0; }
.menu .submenu a:hover { background: var(--bg-soft); color: var(--accent); }
.menu .submenu .submenu { top: -1px; left: 100%; }
.menu .has-children > a::after { content: " \25be"; font-size: 10px; opacity: .6; }
.navtoggle { display: none; margin-left: auto; background: transparent; border: 0; color: var(--heading); font-size: 26px; padding: 12px; cursor: pointer; }

/* ---------- Hero (home slider stand-in) ---------- */
.hero {
  position: relative; color: #fff; text-align: center;
  background: linear-gradient(rgba(0,60,110,.55), rgba(0,60,110,.62)),
              url("../images/invisalign-treatment-home.jpg") center/cover no-repeat;
  padding: 110px 0 120px;
}
.hero h1 { color: #fff; font-size: clamp(30px, 4.5vw, 50px); margin: 0 0 10px; font-weight: 400; }
.hero .kicker { text-transform: uppercase; letter-spacing: .3em; font-size: 13px; color: #fff; font-weight: 600; margin-bottom: 20px; opacity: .92; }
.hero p { max-width: 760px; margin: 0 auto 30px; font-size: 17px; color: #eef4f9; }
.hero .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 70px 0; }
.section-tint { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 46px; }
.section-head .kicker { text-transform: uppercase; letter-spacing: .22em; font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(24px, 3vw, 30px); margin: 0 0 14px; }
.section-head p { color: var(--muted); font-size: 16px; margin: 0; }
.lead { font-size: 17px; color: var(--ink); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s ease; display: flex; flex-direction: column; }
.card:hover { box-shadow: var(--shadow-md); }
.card img { height: 190px; object-fit: cover; width: 100%; }
.card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 20px; margin: 0 0 10px; }
.card h3 a { color: var(--heading); }
.card h3 a:hover { color: var(--accent); }
.card p { color: var(--muted); font-size: 15px; margin: 0 0 18px; flex: 1; }
.card .more { font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: .05em; color: var(--accent); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.split h2 { font-size: clamp(22px, 2.6vw, 30px); margin-top: 0; }

/* ---------- Services link table ---------- */
.svc-table { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.svc-table a { display: block; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--accent); padding: 15px 18px; border-radius: var(--radius); font-weight: 600; color: var(--heading); text-transform: uppercase; font-size: 13px; letter-spacing: .02em; transition: all .18s ease; }
.svc-table a:hover { background: var(--accent); color: #fff; border-left-color: var(--accent-dark); }

/* ---------- Preserve / Enhance / Restore ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.pillars .pillar img { width: 90px; height: 90px; object-fit: contain; margin: 0 auto 18px; }
.pillars h3 { letter-spacing: .1em; font-size: 20px; margin: 0 0 10px; color: var(--accent); }
.pillars p { color: var(--muted); margin: 0; }

/* ---------- CTA band (accent blue) ---------- */
.cta-band { background: var(--accent); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p, .cta-band .lead { color: rgba(255,255,255,.92); }
.cta-band .phone-big { font-family: var(--font-head); font-size: 32px; font-weight: 700; margin: 14px 0 22px; }

/* ---------- Interior page title bar (Avada style: slim, title left, crumbs right) ---------- */
.page-hero { background: #f6f6f6; border-top: 1px solid #e5e4e4; border-bottom: 1px solid #e5e4e4; color: var(--heading); padding: 22px 0; }
.page-hero .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.page-hero h1 { color: #333; font-size: 26px; margin: 0; font-weight: 600; }
.page-hero p { color: var(--muted); flex-basis: 100%; margin: 4px 0 0; text-align: left; }
.page-hero .crumbs { font-size: 13px; color: var(--muted); }
.page-hero .crumbs a { color: var(--ink); }
.page-hero .crumbs a:hover { color: var(--accent); }

.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { margin-top: 36px; font-size: 22px; }
.prose h3 { font-size: 18px; margin-top: 28px; }
.prose p, .prose li { color: var(--ink); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }

/* ---------- Footer ---------- */
.fusion-footer { margin-top: 0; }
.footer-widgets { background: #2c2e2f; color: #b9bcbe; padding: 50px 0 30px; }
.footer-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; }
.footer-col h4 { font-family: var(--font-head); font-size: 14px; font-weight: 600; margin: 0 0 10px; text-transform: none; }
.footer-col h4 + h4 { margin-top: 22px; }
.footer-col h4 a { color: #fff; }
.footer-col h4 a:hover { color: var(--accent); }
.footer-col ul { list-style: none; margin: 0 0 4px; padding: 0; }
.footer-col li { margin-bottom: 7px; font-size: 13.5px; }
.footer-col a { color: #b9bcbe; }
.footer-col a:hover { color: #fff; }
.footer-copyright { background: #232425; color: #8f9295; padding: 18px 0; font-size: 13px; }
.footer-copyright .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-copyright a { color: #8f9295; }
.footer-copyright a:hover { color: #fff; }
.copyright-social a { margin-left: 14px; }

/* ---------- Bio pages ---------- */
.bio blockquote { border-left: 3px solid var(--accent); margin: 22px 0 0; padding: 6px 0 6px 22px; font-style: italic; color: var(--muted); }

/* ---------- Team grid ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.team-card { text-align: center; }
.team-card img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; margin: 0 auto 14px; box-shadow: var(--shadow-sm); background: var(--bg-soft); }
.team-card .name { font-family: var(--font-head); color: var(--heading); font-size: 19px; font-weight: 400; }
.team-card .role { color: var(--accent); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; margin-top: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .navtoggle { display: block; }
  .mainnav .container { flex-wrap: wrap; }
  .menu { display: none; flex-direction: column; width: 100%; }
  .menu.open { display: flex; }
  .menu li { position: relative; }
  .menu > li > a { padding: 13px 48px 13px 4px; border-bottom: 1px solid var(--line); }
  .menu .submenu { display: none; position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-top: 0; background: var(--bg-soft); padding-left: 10px; transition: none; min-width: 0; }
  .menu li.sub-open > .submenu { display: block; animation: subSlide .22s ease; }
  .menu .submenu a { padding-right: 48px; }
  .menu .submenu .submenu { left: 0; }
  .submenu-toggle { display: flex; }
  .identity .container { justify-content: center; text-align: center; }
  .identity .contact { justify-content: center; }
  .pillars, .svc-table, .cards, .team-grid { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
}

/* ====================== Homepage ====================== */
.btn-green { background: var(--accent); color: #fff; }
.btn-green:hover { background: var(--accent-dark); color: #fff; }
.header-cta { padding: 14px 22px; }

.textured { background: url("../images/body-bg.jpg") left top repeat; }

/* Hero banner (animated) */
.home-hero {
  position: relative; overflow: hidden;
  min-height: 600px; display: flex; align-items: center; padding: 60px 0;
}
.home-hero::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 0;
  background: linear-gradient(100deg, rgba(8,14,20,.62) 0%, rgba(8,14,20,.34) 46%, rgba(8,14,20,.05) 72%, rgba(8,14,20,0) 100%),
              url("../images/Linden-Associates-scaled.jpg") center 40%/cover no-repeat;
  animation: heroZoom 7s ease-out both;
}
.home-hero .container { position: relative; z-index: 1; }
.home-hero-inner { max-width: 620px; color: #fff; }
.home-hero h1 { color: #fff; font-weight: 700; text-transform: uppercase; font-size: clamp(30px,4vw,46px); line-height: 1.2; margin: 0 0 18px; }
.home-hero p { color: #fff; font-size: 16px; line-height: 1.8; margin: 0 0 24px; max-width: 470px; }

/* Trusted care + feature cards */
.home-features { padding: 30px 0 50px; border-top: 1px solid #e5e4e4; border-bottom: 1px solid #e5e4e4; }
.expertise { text-align: center; max-width: 1000px; margin: 0 auto 36px; }
.expertise h2 { font-size: clamp(24px,3vw,34px); line-height: 1.4; margin: 0 0 14px; color: var(--heading); }
.expertise p { color: var(--ink); }
.feature-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.feature { background: #fff; padding: 12px; text-align: center; box-shadow: 0 0 3px rgba(0,0,0,.12); }
.feature img { width: auto; max-height: 250px; margin: 0 auto 12px; }
.feature h3 { font-size: 20px; margin: 0 0 8px; color: var(--heading); }
.feature p { font-size: 14px; color: var(--ink); margin: 0 0 12px; }
.read-more { display: inline-block; font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .03em; color: var(--accent); }
.read-more:hover { color: var(--accent-dark); }

/* Blue intro band */
.home-band { background: #00528d; padding: 30px 0; }
.home-band p { color: #fff; font-size: 18px; text-align: center; max-width: 1100px; margin: 0 auto; }

/* Services table + schedule split */
.info-split-section { padding: 65px 0 35px; }
.info-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.info-col { text-align: center; }
.info-col img.glow { box-shadow: 0 0 3px rgba(0,0,0,.3); margin: 0 auto 18px; }
.info-col h3 { font-size: 20px; margin: 0 0 14px; color: var(--heading); }
.info-col p { color: var(--ink); margin: 0 0 8px; }
.svc-link-table { width: 100%; border-collapse: collapse; }
.svc-link-table td { width: 50%; padding: 6px 10px; font-size: 13.5px; vertical-align: top; }
.svc-link-table a { color: var(--accent); text-transform: uppercase; font-weight: 600; font-size: 13px; }
.svc-link-table a:hover { color: var(--accent-dark); }

/* Pillars */
.pillars-section { padding: 25px 0 0; border-top: 1px solid #c6c6c6; border-bottom: 1px solid #c6c6c6; }
.pillars-section .pillar { padding-bottom: 25px; }

/* Homepage responsive */
@media (max-width: 980px) {
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .feature-cards { grid-template-columns: repeat(2, 1fr); }
  .info-split { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  .menu > li.mobile-only { display: block; }
  .identity .contact { flex-direction: column; gap: 12px; }
  .footer-cols { grid-template-columns: 1fr; }
  .feature-cards { grid-template-columns: 1fr; }
  .footer-copyright .container { flex-direction: column; text-align: center; }
  .home-hero-inner { text-align: center; margin: 0 auto; }
}

/* ====================== Hero entrance animations ====================== */
@keyframes heroZoom  { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes heroInLeft{ from { opacity: 0; transform: translateX(-45px); } to { opacity: 1; transform: none; } }
@keyframes heroInUp  { from { opacity: 0; transform: translateY(28px);  } to { opacity: 1; transform: none; } }

.home-hero h1   { animation: heroInLeft .9s cubic-bezier(.22,.61,.36,1) .15s both; }
.home-hero p    { animation: heroInUp   .8s cubic-bezier(.22,.61,.36,1) .55s both; }
.home-hero .btn { animation: heroInUp   .8s cubic-bezier(.22,.61,.36,1) .95s both; }

@media (prefers-reduced-motion: reduce) {
  .home-hero::before, .home-hero h1, .home-hero p, .home-hero .btn { animation: none; }
}

/* ====================== Menu behavior support ====================== */
.submenu-toggle {
  display: none; position: absolute; right: 0; top: 0; height: 44px; width: 44px;
  background: transparent; border: 0; cursor: pointer; color: var(--heading);
  align-items: center; justify-content: center; font-size: 14px;
}
.submenu-toggle::before { content: "\25be"; transition: transform .2s ease; }
li.sub-open > .submenu-toggle::before { transform: rotate(180deg); }
@keyframes subSlide { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.mainnav.is-stuck { box-shadow: 0 2px 10px rgba(0,0,0,.12); }

/* Mobile header CTA (real site shows phone + schedule on mobile) */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .identity .contact { display: none; }
  .mobile-cta { display: flex; width: 100%; flex-direction: column; align-items: center; gap: 10px; padding-top: 4px; }
  .mobile-cta .mobile-phone { font-family: var(--font-head); font-size: 22px; color: var(--accent); }
}

/* Hero parallax smoothing */
.home-hero-inner { transition: transform .3s ease-out; will-change: transform; }

/* ====================== Contact page + forms ====================== */
.contact-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; }

.contact-main h3:first-child { margin-top: 0; }
.map-embed { border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 350px; border: 0; display: block; }

.wform .field { margin-bottom: 16px; }
.wform label { display: block; font-weight: 600; font-size: 14px; color: var(--heading); margin-bottom: 6px; }
.wform .req { color: #c0392b; }
.wform input, .wform textarea {
  width: 100%; padding: 10px 12px; font-family: var(--font-body); font-size: 15px;
  color: var(--ink); border: 1px solid var(--line); border-radius: 2px; background: #fff;
}
.wform input:focus, .wform textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(0,103,177,.12); }
.wform .name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wform button { margin-top: 4px; }

.contact-aside h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-dark); margin: 0 0 6px; }
.contact-aside h4 + p, .contact-aside h4 + table { margin-top: 0; }
.contact-aside p { margin-bottom: 20px; }
.contact-aside .hours { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 14.5px; }
.contact-aside .hours td { padding: 5px 0; border-bottom: 1px solid #eee; }
.contact-aside .hours td:last-child { text-align: right; color: var(--muted); }

@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .wform .name-row { grid-template-columns: 1fr; }
}

/* ====================== Interior pages: sidebar layout ====================== */
.interior { padding: 50px 0 60px; }
.interior-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 48px; align-items: start; }
.page-main .prose { max-width: none; margin: 0; }
/* Heading system: semibold, dark, short accent bar under section heads.
   Scraped WP content uses h1–h6 unpredictably, so normalize all levels. */
.page-main h1, .page-main h2, .page-main h3, .prose h2, .contact-main h3 {
  position: relative; font-weight: 600; color: #333;
  margin: 36px 0 18px; padding-bottom: 12px;
}
.page-main h1 { font-size: 24px; }
.page-main h2, .prose h2, .contact-main h3 { font-size: 23px; }
.page-main h3 { font-size: 20px; }
.page-main h1::after, .page-main h2::after, .page-main h3::after,
.prose h2::after, .contact-main h3::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; background: var(--accent);
}
.page-main h1:first-child, .page-main h2:first-child, .page-main h3:first-child,
.contact-main h3:first-child { margin-top: 0; }
.page-main h4 { font-size: 15px; font-weight: 700; color: var(--accent-dark); text-transform: uppercase; letter-spacing: .04em; margin: 24px 0 8px; }
.page-main h5, .page-main h6 { font-size: 15px; font-weight: 600; color: #333; margin: 20px 0 8px; }
.page-main ul, .page-main ol { padding-left: 22px; }
.page-main li { margin-bottom: 8px; }
.page-main table { width: 100%; border-collapse: collapse; }
.page-main td, .page-main th { padding: 8px 10px; border-bottom: 1px solid #eee; vertical-align: top; text-align: left; }

/* Content images: first image floats as a feature beside text (via site.js),
   all others render as clean centered blocks. */
.page-main img { display: block; max-width: 100%; height: auto; margin: 22px auto; box-shadow: 0 0 3px rgba(0,0,0,.3); }
.page-main img.img-feature { float: right; width: 44%; max-width: 420px; margin: 4px 0 20px 28px; }
.page-main .split { align-items: start; grid-template-columns: 340px minmax(0,1fr); gap: 40px; }
.page-main .split img { float: none; width: auto; max-width: 100%; margin: 0; box-shadow: 0 0 3px rgba(0,0,0,.3); }
.page-main .team-grid { grid-template-columns: repeat(3, 1fr); }
.page-main .team-grid img { float: none; width: 150px; height: 150px; margin: 0 auto 14px; box-shadow: var(--shadow-sm); }

/* Sidebar widgets */
.side-nav .side-widget { background: #f9f9f9; border: 1px solid var(--line); margin-bottom: 24px; }
.side-nav h4 { margin: 0; padding: 13px 16px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-nav li { border-bottom: 1px solid #ececec; }
.side-nav li:last-child { border-bottom: 0; }
.side-nav a { display: block; padding: 10px 16px; font-size: 14px; color: var(--ink); border-left: 3px solid transparent; }
.side-nav a:hover { background: #fff; color: var(--accent); border-left-color: #cfe3f2; }
.side-nav li.current > a { background: #fff; color: var(--accent-dark); font-weight: 700; border-left-color: var(--accent); }

@media (max-width: 980px) {
  .interior-layout { grid-template-columns: 1fr; gap: 36px; }
  .page-main img.img-feature { float: none; width: 100%; max-width: none; margin: 0 0 18px; }
  .page-main .split { grid-template-columns: 1fr; }
  .page-main .split img { width: auto; max-width: 100%; margin: 0 0 6px; }
  .page-main .team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Service landing rows: image + copy media pattern */
.svc-row { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 28px; align-items: start; padding: 28px 0; border-bottom: 1px solid #eee; }
.svc-row:first-of-type { padding-top: 8px; }
.svc-row:last-of-type { border-bottom: 0; }
.svc-row img { width: 100%; margin: 0; box-shadow: 0 0 3px rgba(0,0,0,.3); }
.svc-row h3 { margin-top: 0; }
.svc-row p { margin-bottom: 10px; }
@media (max-width: 640px) { .svc-row { grid-template-columns: 1fr; gap: 14px; } }

/* =========================================================
   Design elevation v2 — typography, rhythm, surfaces, motion
   Appended layer: same-or-higher specificity wins by order.
   ========================================================= */

/* --- Type system ------------------------------------------------------- */
body { font-size: 16.5px; line-height: 1.75; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink-deep);
  font-weight: 600; line-height: 1.18; letter-spacing: -0.02em; margin: 0 0 .55em; }
h1 { font-size: clamp(2.15rem, 1.4rem + 3vw, 3.35rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.1rem); margin-top: 1.5em; }
h3 { font-size: clamp(1.18rem, 1.05rem + .6vw, 1.45rem); margin-top: 1.3em; }
.page-main > h2:first-child, .page-main > img:first-child + h2 { margin-top: .2em; }
p { margin: 0 0 1.05em; }
.lead { font-size: 1.17rem; line-height: 1.7; color: #24363f; }
.kicker { text-transform: uppercase; letter-spacing: .2em; color: var(--gold);
  font-weight: 700; font-size: 12.5px; margin-bottom: 10px; font-family: var(--font-body); }
::selection { background: #d8eaf7; color: var(--ink-deep); }

/* --- Signature: hero wash + gold arc under every page title ------------ */
.page-hero { background:
    radial-gradient(900px 340px at 12% -60%, rgba(0,103,177,.10), transparent 60%),
    linear-gradient(180deg, var(--wash) 0%, #fff 100%);
  border-bottom: 1px solid var(--line); }
.page-hero h1 { position: relative; padding-bottom: 12px; margin-bottom: 0;
  font-size: clamp(1.45rem, 1.2rem + 1vw, 1.8rem); font-weight: 600;
  color: var(--ink-deep); }
.page-hero h1::after { content: ""; position: absolute; left: 2px; bottom: 2px;
  width: 58px; height: 8px; border: 0; border-bottom: 3px solid var(--gold);
  border-radius: 0 0 50% 50% / 0 0 100% 100%; opacity: .9; }
.crumbs { color: var(--muted); font-size: .92rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }

/* --- Links & focus ------------------------------------------------------ */
.page-main a:not(.btn) { color: var(--link); font-weight: 600;
  text-decoration: underline; text-decoration-color: #bcd6ea;
  text-underline-offset: 3px; transition: color .18s ease, text-decoration-color .18s ease; }
.page-main a:not(.btn):hover { color: var(--accent); text-decoration-color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px;
  border-radius: 4px; }

/* --- Buttons ------------------------------------------------------------ */
.btn { border-radius: 8px; font-family: var(--font-body); font-weight: 600;
  letter-spacing: .01em; transition: background .18s ease, color .18s ease,
  box-shadow .18s ease, transform .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); box-shadow: 0 2px 10px rgba(0,103,177,.28); }
.btn-primary:hover { background: var(--accent-dark);
  box-shadow: 0 6px 18px rgba(8,78,127,.32); }
.btn-ghost { border: 1.5px solid var(--accent); color: var(--accent-dark); }
.btn-ghost:hover { background: var(--accent); color: #fff; }

/* --- Surfaces: cards, features, team, pillars --------------------------- */
.card, .feature, .team-card, .pillar, .side-widget {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.card:hover, .feature:hover, .team-card:hover, .pillar:hover {
  box-shadow: var(--shadow-md); transform: translateY(-3px);
  border-color: #cfdde6; }
.page-main img { border-radius: 12px; box-shadow: var(--shadow-md);
  margin: 6px 0 24px; }
.section-tint { background: var(--bg-tint); }

/* --- Interior layout & sidebar ------------------------------------------ */
.interior { padding: clamp(34px, 6vw, 64px) 0 clamp(48px, 7vw, 84px); }
.side-nav a { border-radius: 8px; transition: background .16s ease, color .16s ease; }
.side-nav a:hover { background: var(--wash); color: var(--accent-dark); }
.side-nav a.current { background: var(--wash); color: var(--accent-dark);
  box-shadow: inset 3px 0 0 var(--gold); font-weight: 600; }

/* --- Tables & forms ------------------------------------------------------ */
.hours th, .svc-table th { color: var(--ink-deep); font-weight: 600; }
.hours tr:nth-child(even) td { background: var(--bg-soft); }
.wform input, .wform textarea, .wform select {
  border-radius: 8px; border: 1.5px solid var(--line);
  transition: border-color .16s ease, box-shadow .16s ease; }
.wform input:focus, .wform textarea:focus, .wform select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,103,177,.14);
  outline: none; }

/* --- Footer: confident brand close --------------------------------------- */
.fusion-footer .footer-widgets { background: var(--accent-deep); color: #b8c8d3; }
.fusion-footer .footer-widgets h4, .fusion-footer .footer-widgets h4 a { color: #fff; }
.fusion-footer .footer-widgets a { color: #b8c8d3; }
.fusion-footer .footer-widgets a:hover { color: #fff; }
.fusion-footer .footer-copyright { background: #0a2333; color: #8fa3b0; }
.fusion-footer .footer-copyright a { color: #b8c8d3; }
.fusion-footer .footer-copyright a:hover { color: #fff; }
.legal-links { margin: 10px 0 4px; display: flex; gap: 22px; flex-wrap: wrap;
  justify-content: center; font-size: .92rem; }
.legal-links a { text-decoration: underline; text-decoration-color: rgba(184,200,211,.4);
  text-underline-offset: 3px; }

/* --- Header polish -------------------------------------------------------- */
.identity { box-shadow: 0 1px 0 var(--line); }
.mainnav { box-shadow: var(--shadow-sm); }
.menu > li > a { transition: color .16s ease; }

/* --- Motion & accessibility ---------------------------------------------- */
html { scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   v3 — Editorial interiors, conversion strip, stats, motion
   ========================================================= */

/* --- Reconcile interior heading system (overrides legacy 23px/#333 rules) */
.page-main h1, .page-main h2, .page-main h3, .prose h2, .contact-main h3 {
  font-family: var(--font-head); color: var(--ink-deep); font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.22; padding-bottom: 0;
}
.page-main h1::after, .page-main h2::after, .page-main h3::after,
.prose h2::after, .contact-main h3::after { content: none; }
.page-main h2, .prose h2, .contact-main h3 {
  font-size: clamp(1.42rem, 1.15rem + 1.1vw, 1.85rem); margin: 2.1em 0 .65em;
}
.page-main h1 { font-size: clamp(1.42rem, 1.15rem + 1.1vw, 1.85rem); margin: 2.1em 0 .65em; }
.page-main h3 { font-size: clamp(1.16rem, 1.05rem + .5vw, 1.4rem); margin: 1.7em 0 .5em; }
.page-main h2::before, .prose h2::before, .page-main h1::before,
.contact-main h3::before {
  content: ""; display: block; width: 34px; height: 3px;
  background: var(--gold); border-radius: 2px; margin: 0 0 12px;
}
.page-main > h2:first-child, .page-main > h1:first-child,
.page-main > img:first-child + h2 { margin-top: .3em; }

/* --- Editorial text treatment ------------------------------------------- */
.page-main p, .page-main li { max-width: 68ch; }
.page-main > p:first-of-type { font-size: 1.15rem; line-height: 1.75; color: #22343d; }
.page-main ul { list-style: none; padding-left: 0; }
.page-main ul > li { position: relative; padding-left: 26px; margin: 0 0 .7em; }
.page-main ul > li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 8px; height: 8px; border: 2px solid var(--gold); border-radius: 50%;
}
.page-main ol > li { margin: 0 0 .7em; }
.page-main ol > li::marker { color: var(--gold); font-weight: 700; }
.page-main table { border-collapse: collapse; width: 100%; margin: 8px 0 24px; }
.page-main table th { text-align: left; color: var(--ink-deep); font-weight: 600; }
.page-main table th, .page-main table td {
  padding: 12px 14px; border-bottom: 1px solid var(--line); }
.page-main blockquote {
  margin: 26px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold);
  font-family: var(--font-head); font-size: 1.18rem; color: #24363f; font-weight: 600;
}
hr { border: 0; height: 1px; margin: 34px 0;
  background: linear-gradient(90deg, var(--line), transparent); }

/* --- Hero eyebrow -------------------------------------------------------- */
.hero-eyebrow { text-transform: uppercase; letter-spacing: .2em;
  color: var(--gold); font-weight: 700; font-size: 11px; margin: 0 0 2px; }
.page-hero { padding: clamp(16px, 2.6vw, 24px) 0; }
.page-hero .crumbs, .crumbs { font-size: 12.5px; }

/* --- Stats band (homepage) ----------------------------------------------- */
.stats-band { background: #fff; border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr);
  padding: clamp(26px, 4vw, 40px) 0; }
.stat { text-align: center; padding: 6px 16px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.7rem); color: var(--accent-dark);
  line-height: 1.1; }
.stat span { display: block; margin-top: 6px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .14em; font-size: 11.5px;
  font-weight: 600; }
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; gap: 18px; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line);
    padding-top: 18px; }
}

/* --- Closing CTA strip (all content pages) -------------------------------- */
.cta-strip { background:
    radial-gradient(700px 260px at 88% -40%, rgba(255,255,255,.14), transparent 60%),
    linear-gradient(120deg, var(--accent) 0%, #085e9e 55%, var(--accent-dark) 100%);
  color: #fff; padding: clamp(40px, 6vw, 62px) 0; margin-top: clamp(30px, 5vw, 54px); }
.cta-strip-inner { display: flex; align-items: center; justify-content: space-between;
  gap: 34px; flex-wrap: wrap; }
.cta-strip h2 { color: #fff; margin: 0 0 8px; font-weight: 600;
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.05rem); position: relative;
  padding-top: 15px; }
.cta-strip h2::before { content: ""; position: absolute; top: 0; left: 1px;
  width: 34px; height: 3px; background: var(--gold); border-radius: 2px; }
.cta-strip p { color: rgba(255,255,255,.9); margin: 0; max-width: 46ch; }
.cta-strip-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-light { background: #fff; color: var(--accent-dark); }
.btn-light:hover { background: var(--wash); color: var(--accent-dark);
  box-shadow: 0 6px 18px rgba(8,40,62,.3); }
.btn-ghost-light { border: 1.5px solid rgba(255,255,255,.85); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--accent-dark); }

/* --- Scroll reveal -------------------------------------------------------- */
.rv { opacity: 0; transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
}

/* =========================================================
   v4 — Local SEO sections, FAQ, mobile action bar, skip link
   ========================================================= */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent-dark); color: #fff; padding: 12px 20px;
  border-radius: 0 0 8px 0; font-weight: 600; }
.skip-link:focus { left: 0; color: #fff; }

.local-intro { padding: clamp(48px, 7vw, 76px) 0; }
.local-intro .section-head { margin-bottom: 26px; }
.local-intro-cols { display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px); }
.local-intro-cols p { margin: 0; font-size: 1.06rem; line-height: 1.8; }
@media (max-width: 800px) { .local-intro-cols { grid-template-columns: 1fr; } }

.faq-section { padding: clamp(48px, 7vw, 76px) 0; }
.faq-list { max-width: 780px; margin: 26px auto 0; }
.faq { background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 12px;
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease; }
.faq[open] { box-shadow: var(--shadow-md); border-color: #cfdde6; }
.faq summary { cursor: pointer; list-style: none; display: flex;
  align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 22px; font-family: var(--font-head); font-weight: 600;
  font-size: 1.08rem; color: var(--ink-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; width: 28px; height: 28px;
  display: grid; place-items: center; border: 1.5px solid var(--gold);
  border-radius: 50%; color: var(--gold); font-weight: 700; font-size: 18px;
  font-family: var(--font-body); transition: transform .2s ease; }
.faq[open] summary::after { content: "\2212"; transform: rotate(180deg); }
.faq > p { margin: 0; padding: 0 22px 20px; max-width: none; }

.mobile-action-bar { display: none; }
@media (max-width: 760px) {
  .mobile-action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: 1fr 1fr;
    box-shadow: 0 -6px 20px rgba(13,43,62,.18); }
  .mobile-action-bar a { display: block; text-align: center; padding: 15px 10px;
    font-weight: 700; font-size: 15px; letter-spacing: .01em; }
  .mab-call { background: #fff; color: var(--accent-dark);
    border-top: 1px solid var(--line); }
  .mab-book { background: var(--accent); color: #fff; }
  .mab-book:hover, .mab-call:hover { filter: brightness(.97); }
  body { padding-bottom: 52px; }
}
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* =========================================================
   v5 — Mobile optimization + usability polish
   ========================================================= */

/* Wide tables scroll instead of breaking the viewport */
.page-main table, .hours table { display: block; overflow-x: auto;
  -webkit-overflow-scrolling: touch; }
.page-main table tbody, .hours table tbody { display: table; width: 100%;
  min-width: 420px; }

/* Desktop dropdown affordance */
@media (min-width: 761px) {
  .menu > li.has-children > a::after { content: "\25BE"; font-size: 9px;
    margin-left: 6px; color: var(--muted); vertical-align: 2px; }
  .menu > li.has-children:hover > a::after { color: var(--accent); }
}

/* Current-page indicator in the main nav (class set by site.js) */
.menu > li > a.nav-active { color: var(--accent-dark); font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--gold); }

@media (max-width: 760px) {
  /* Homepage hero: right-sized for phones */
  .home-hero { min-height: 440px; padding: 44px 0; }

  /* Top utility bar: fewer, bigger targets */
  .topbar { font-size: 12.5px; }
  .topbar ul li a { display: inline-block; padding: 8px 6px; }
  .menu > li > a.nav-active { box-shadow: inset 3px 0 0 var(--gold); }

  /* Comfortable thumb-size buttons */
  .btn { padding: 13px 20px; }
  .cta-strip-actions { width: 100%; }
  .cta-strip-actions .btn { flex: 1; text-align: center; }

  /* Section rhythm tightens on small screens */
  .local-intro, .faq-section { padding: 38px 0; }
}

@media (max-width: 560px) {
  .topbar .social { display: none; }
  .topbar ul li:nth-child(4), .topbar ul li:nth-child(5) { display: none; }
}

/* iPhone safe area for the fixed action bar */
@media (max-width: 760px) {
  .mobile-action-bar a { padding-bottom: calc(15px + env(safe-area-inset-bottom)); }
  body { padding-bottom: calc(52px + env(safe-area-inset-bottom)); }
}

/* v6 — full-audit fixes: real buttons everywhere, a11y label, card casing */
.btn { background: var(--accent); color: #fff; }
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost, .btn-ghost-light { background: transparent; }
.btn-ghost:hover { background: var(--accent); }
.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; }
.feature h3 { text-transform: uppercase; letter-spacing: .04em; }

/* =========================================================
   v7 — Smile Gallery: carousel, treatment grid, proof band
   ========================================================= */
.gallery-page .section-head { text-align: center; max-width: 720px; margin: 0 auto 30px; }
.gallery-lead { font-size: 1.15rem; color: #24363f; }
.gallery-grid-head { margin-top: clamp(48px, 7vw, 72px); }

.gallery-carousel { position: relative; max-width: 920px; margin: 0 auto; }
.gc-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; gap: 20px; padding: 4px; border-radius: var(--radius-lg);
  scrollbar-width: none; }
.gc-track::-webkit-scrollbar { display: none; }
.gc-slide { flex: 0 0 100%; scroll-snap-align: center; margin: 0; }
.gc-slide img { width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); display: block; }
.gc-slide figcaption { text-align: center; margin-top: 12px; color: var(--muted);
  font-size: .95rem; letter-spacing: .02em; }
.gc-btn { position: absolute; top: 42%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,.94); color: var(--accent-dark); font-size: 26px;
  line-height: 1; cursor: pointer; box-shadow: var(--shadow-md);
  transition: background .18s ease, transform .18s ease; display: grid; place-items: center; }
.gc-btn:hover { background: var(--accent); color: #fff; transform: translateY(-50%) scale(1.05); }
.gc-prev { left: -14px; } .gc-next { right: -14px; }
.gc-dots { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.gc-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0;
  background: var(--line); cursor: pointer; transition: background .18s ease, transform .18s ease; }
.gc-dots button.on { background: var(--gold); transform: scale(1.25); }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  margin-top: 8px; }
.g-card { position: relative; display: block; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease; }
.g-card img { width: 100%; height: 190px; object-fit: cover; display: block;
  border-radius: 0; box-shadow: none; margin: 0;
  transition: transform .35s ease; }
.g-card span { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 16px 14px;
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem;
  background: linear-gradient(180deg, transparent, rgba(10,35,51,.85)); }
.g-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.g-card:hover img { transform: scale(1.05); }

.gallery-proof { text-align: center; margin-top: clamp(48px, 7vw, 72px);
  padding: clamp(30px, 5vw, 44px); background: var(--wash);
  border: 1px solid var(--line); border-radius: var(--radius-lg); }
.gallery-proof .stars { color: var(--gold); font-size: 26px; letter-spacing: 6px;
  margin-bottom: 10px; }
.gallery-proof p { margin: 0 0 6px; font-size: 1.08rem; }
.gp-actions { margin: 18px 0 10px !important; display: flex; gap: 14px;
  justify-content: center; flex-wrap: wrap; }
.gp-note { color: var(--muted); font-size: .98rem !important; }

@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .gc-prev { left: 6px; } .gc-next { right: 6px; }
  .gc-btn { width: 40px; height: 40px; font-size: 22px; }
}
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; }
  .g-card img { height: 210px; } }
@media (prefers-reduced-motion: reduce) {
  .gc-track { scroll-behavior: auto; }
  .g-card img, .gc-btn, .gc-dots button { transition: none; }
}

/* =========================================================
   v8 — Mobile impeccability: iOS zoom, tables, tap targets
   ========================================================= */

/* iOS: inputs under 16px trigger auto-zoom on focus */
.wform input, .wform textarea, .wform select { font-size: 16px; }

/* Long tokens (policy URLs) must never overflow narrow screens */
body { overflow-wrap: break-word; }

/* Hours table is narrow — remove the wide-table minimum it inherited */
.hours table tbody { min-width: 0; }

/* Homepage services table: single readable column on phones */
@media (max-width: 560px) {
  .svc-link-table td { display: block; width: 100%; padding: 9px 0;
    border-bottom: 1px solid var(--line); }
  .svc-link-table tr:last-child td:last-child { border-bottom: 0; }
}

/* Comfortable tap targets in the footer directory */
@media (max-width: 760px) {
  .footer-col li { font-size: 14.5px; margin-bottom: 4px; }
  .footer-col li a, .legal-links a { display: inline-block; padding: 6px 0; }
  .footer-col h4 { margin-top: 18px; }

  /* Split sections: tighter vertical rhythm when stacked */
  .split { gap: 26px; }

  /* Carousel dots sized for thumbs */
  .gc-dots button { width: 14px; height: 14px; }
  .gc-dots { gap: 14px; }
}

/* =========================================================
   v9 — Load polish: graceful entrance, consolidated weights
   ========================================================= */
@keyframes pageEnter { from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; } }
.page-hero .hero-eyebrow { animation: pageEnter .45s ease both; }
.page-hero h1 { animation: pageEnter .45s ease .06s both; }
.page-hero .crumbs { animation: pageEnter .45s ease .12s both; }
.home-hero-inner > * { animation: pageEnter .55s ease both; }
.home-hero-inner > *:nth-child(2) { animation-delay: .08s; }
.home-hero-inner > *:nth-child(3) { animation-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
  .page-hero .hero-eyebrow, .page-hero h1, .page-hero .crumbs,
  .home-hero-inner > * { animation: none; }
}

/* v10 — Visit Us footer column */
.footer-visit .f-addr { margin: 0 0 8px; line-height: 1.55; }
.footer-visit .f-tel a { font-family: var(--font-head); font-weight: 700;
  font-size: 1.05rem; color: #fff; }
.f-hours { list-style: none; margin: 10px 0; padding: 0; }
.f-hours li { display: flex; justify-content: space-between; gap: 12px;
  font-size: 13px; padding: 3px 0; border-bottom: 1px solid rgba(184,200,211,.18); }
.f-hours li span:first-child { color: #fff; font-weight: 600; }
.footer-visit .f-mail a { font-size: 12.5px; }

/* v11 — Blog: post cards */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--line); background: #fff;
  box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease; }
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.post-card img { width: 100%; height: 210px; object-fit: cover; margin: 0;
  border-radius: 0; box-shadow: none; }
.pc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.pc-tag { text-transform: uppercase; letter-spacing: .16em; font-size: 11px;
  font-weight: 700; color: var(--gold); }
.post-card h3 { margin: 0; font-size: 1.14rem; line-height: 1.35; color: var(--ink-deep); }
.post-card p { margin: 0; color: var(--ink); font-size: .97rem; }
.post-card .more { margin-top: 6px; color: var(--accent-dark); font-weight: 600; }
@media (max-width: 760px) { .post-grid { grid-template-columns: 1fr; } }

/* =========================================================
   v12 — Team page elevation + rebuilt 404
   ========================================================= */
.page-main .team-grid { gap: 26px; }
.page-main .team-grid img, .team-card img {
  float: none; width: 100%; height: auto; aspect-ratio: 1 / 1;
  object-fit: cover; object-position: top center;
  border-radius: var(--radius-lg); margin: 0 0 14px;
  box-shadow: var(--shadow-sm); background: var(--bg-soft); }
.team-card { text-align: left; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 14px 14px 18px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px);
  border-color: #cfdde6; }
.team-card .name { font-family: var(--font-head); color: var(--ink-deep);
  font-size: 1.06rem; font-weight: 600; line-height: 1.3; }
.team-card .role { color: var(--gold); font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; margin-top: 4px; }
@media (max-width: 560px) { .page-main .team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .team-card { padding: 10px 10px 14px; } }

/* 404 recovery layout */
.nf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  margin-top: clamp(30px, 5vw, 44px); text-align: left; }
.nf-col h3 { font-size: 1.05rem; margin: 0 0 10px; }
.nf-col h3::before { content: ""; display: block; width: 26px; height: 3px;
  background: var(--gold); border-radius: 2px; margin-bottom: 8px; }
.nf-col ul { list-style: none; margin: 0; padding: 0; }
.nf-col li { margin: 0 0 8px; }
.nf-col a { color: var(--link); font-weight: 600; }
.nf-col a:hover { color: var(--accent); }
.nf-phone { margin-top: clamp(26px, 4vw, 38px); font-size: 1.06rem; }
@media (max-width: 760px) { .nf-grid { grid-template-columns: 1fr; gap: 22px; } }

/* =========================================================
   v13 — Button cascade repair (variant colors re-asserted
   after the v6 base rule) + 404 visual anchor
   ========================================================= */
.btn-ghost { color: var(--accent-dark); background: transparent; }
.btn-ghost:hover { color: #fff; background: var(--accent); }
.btn-light { color: var(--accent-dark); background: #fff; }
.btn-light:hover { color: var(--accent-dark); background: var(--wash); }
.btn-ghost-light { color: #fff; background: transparent; }
.btn-ghost-light:hover { color: var(--accent-dark); background: #fff; }
.btn-outline { color: #fff; background: transparent; }
.btn-outline:hover { color: var(--accent); background: #fff; }
.mab-call { color: var(--accent-dark); }

/* 404: oversized code numeral */
.nf-code { font-family: var(--font-head); font-weight: 700;
  font-size: clamp(4.5rem, 12vw, 8rem); line-height: 1; color: var(--accent);
  opacity: .12; letter-spacing: .02em; margin-bottom: -14px; user-select: none; }

/* =========================================================
   v14 — Gallery rebuilt: compact B/A cards, mosaic wall, lightbox
   ========================================================= */
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ba-card { margin: 0; }
.ba-card .lb-open { display: block; width: 100%; padding: 14px; border: 1px solid var(--line);
  background: #fff; border-radius: var(--radius-lg); cursor: zoom-in;
  box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease; }
.ba-card .lb-open:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.ba-card img { width: 100%; height: 340px; object-fit: contain; margin: 0;
  border-radius: 8px; box-shadow: none; background: var(--wash); }
.ba-card figcaption { text-align: center; margin-top: 10px; color: var(--muted);
  font-size: .92rem; }

.smile-wall { display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 150px; gap: 14px; }
.wall-tile { padding: 0; border: 0; background: none; cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden; position: relative;
  box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease; }
.wall-tile img { width: 100%; height: 100%; object-fit: cover; margin: 0;
  border-radius: 0; box-shadow: none; transition: transform .4s ease; }
.wall-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); z-index: 2; }
.wall-tile:hover img { transform: scale(1.06); }
.wall-tile.wide { grid-column: span 2; }
.wall-tile.tall { grid-row: span 2; }

.lightbox { position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; padding: 30px;
  background: rgba(10, 28, 40, .92); }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 82vh;
  border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); margin: 0; }
.lb-caption { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center;
  color: rgba(255,255,255,.85); font-size: .98rem; padding: 0 60px; }
.lb-close, .lb-prev, .lb-next { position: absolute; border: 0; cursor: pointer;
  background: rgba(255,255,255,.12); color: #fff; border-radius: 50%;
  width: 48px; height: 48px; font-size: 24px; display: grid; place-items: center;
  transition: background .18s ease; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--accent); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

@media (max-width: 900px) { .ba-grid { grid-template-columns: 1fr; }
  .ba-card img { height: 360px; }
  .smile-wall { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; } }
@media (max-width: 480px) { .smile-wall { gap: 10px; grid-auto-rows: 120px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-close { top: 12px; right: 12px; } }

/* =========================================================
   v15 — Languages + demand strip
   ========================================================= */
.tb-es a { color: var(--gold) !important; font-weight: 700; }
.lang-pill { display: inline-block; margin-left: 14px; padding: 11px 18px;
  border-radius: 30px; background: rgba(255,255,255,.14); color: #fff;
  border: 1.5px solid rgba(255,255,255,.7); font-weight: 700; font-size: 14px;
  transition: background .18s ease, color .18s ease; }
.lang-pill:hover { background: #fff; color: var(--accent-dark); }
.demand-strip { background: var(--accent-deep); padding: 14px 0; }
.demand-strip .container { display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap; }
.ds-label { color: var(--gold); font-weight: 700; text-transform: uppercase;
  letter-spacing: .18em; font-size: 11.5px; flex: 0 0 auto; }
.ds-links { display: flex; gap: 8px 10px; flex-wrap: wrap; }
.ds-links a { color: #dce8f0; border: 1px solid rgba(220,232,240,.35);
  border-radius: 30px; padding: 7px 16px; font-size: 13.5px; font-weight: 600;
  transition: background .18s ease, color .18s ease, border-color .18s ease; }
.ds-links a:hover { background: #fff; color: var(--accent-dark); border-color: #fff; }
.es-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.es-col h3 { font-size: 1.08rem; margin: 0 0 12px; }
.es-col h3::before { content: ""; display: block; width: 26px; height: 3px;
  background: var(--gold); border-radius: 2px; margin-bottom: 8px; }
.es-col ul { list-style: none; margin: 0; padding: 0; }
.es-col li { margin: 0 0 9px; }
.es-col a { color: var(--link); font-weight: 600; }
.es-col a:hover { color: var(--accent); }
.f-langs { font-size: 11.5px; color: #8fa3b0; margin-top: 10px; line-height: 1.7; }
@media (max-width: 900px) { .es-services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .es-services { grid-template-columns: 1fr; }
  .lang-pill { margin-left: 0; margin-top: 12px; display: inline-block; } }

/* v16 — Reviews page, blog bylines, homepage blog strip */
.rv-stars { font-size: 34px; }
.rv-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  margin-top: clamp(34px, 5vw, 50px); text-align: left; }
.rv-point { background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.rv-point h3 { margin: 0 0 8px; font-size: 1.08rem; }
.rv-point h3::before { content: ""; display: block; width: 26px; height: 3px;
  background: var(--gold); border-radius: 2px; margin-bottom: 8px; }
.rv-point p { margin: 0; font-size: .96rem; }
.post-meta { color: var(--muted); font-size: .9rem; margin: -4px 0 18px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.post-grid.cols3 { grid-template-columns: repeat(3, 1fr); }
.post-grid.cols3 .post-card img { height: 170px; }
.home-blog { padding: clamp(48px, 7vw, 80px) 0; }
@media (max-width: 900px) { .rv-points, .post-grid.cols3 { grid-template-columns: 1fr; } }

/* v17 — Insurance grid, Spanish twins */
.ins-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin: 22px 0; }
.ins-card { background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 4px; }
.ins-card strong { color: var(--ink-deep); font-family: var(--font-head);
  font-size: 1rem; }
.ins-card span { color: var(--muted); font-size: .88rem; }
.ins-note { background: var(--wash); border-left: 3px solid var(--gold);
  padding: 12px 16px; border-radius: 0 var(--radius) var(--radius) 0; }
.es-en-link { margin-top: 18px; font-size: .92rem; }
@media (max-width: 900px) { .ins-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ins-grid { grid-template-columns: 1fr; } }

/* v18 — Compact footer hours */
.f-hours-line { margin: 10px 0; font-size: 12.5px; line-height: 1.8; color: inherit; }
.f-hours-line span { color: #fff; font-weight: 600; }
.footer-visit .f-langs { margin-top: 8px; }

/* v19 — Leave-a-review page + print handout mode */
.lr-wrap { text-align: center; }
.lr-btn { font-size: 1.05rem; padding: 16px 34px; }
.lr-qr { margin-top: clamp(30px, 5vw, 44px); }
.lr-qr img { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 14px; box-shadow: var(--shadow-sm); }
.lr-qr p { margin-top: 12px; color: var(--muted); }
.lr-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  max-width: 760px; margin: clamp(30px, 5vw, 44px) auto 0; }
.lr-step span { display: grid; place-items: center; width: 40px; height: 40px;
  margin: 0 auto 10px; border-radius: 50%; background: var(--accent); color: #fff;
  font-family: var(--font-head); font-weight: 700; }
.lr-step p { margin: 0; font-size: .95rem; }
.lr-thanks { margin-top: clamp(34px, 5vw, 48px); color: var(--muted);
  font-style: italic; max-width: 560px; margin-left: auto; margin-right: auto; }
.f-review a { color: var(--gold); font-weight: 700; font-size: 13px; }
@media (max-width: 640px) { .lr-steps { grid-template-columns: 1fr; gap: 14px; } }
@media print {
  .topbar, .identity, .mainnav, .site-footer, .mobile-action-bar, .skip-link,
  .page-hero .crumbs { display: none !important; }
  .lr-wrap { padding-top: 20px; }
  .lr-btn { display: none; }
  .lr-qr img { width: 320px; height: 320px; }
}

/* v20 — Baked Google review cards */
.gr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  text-align: left; }
.gr-card { background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.gr-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 8px; }
.gr-text { margin: 0 0 12px; font-size: .96rem; }
.gr-author { margin: 0; font-weight: 600; color: var(--ink-deep); font-size: .92rem; }
.gr-author span { color: var(--muted); font-weight: 400; }
.gr-attrib { margin-top: 20px; font-size: .88rem; color: var(--muted); }
@media (max-width: 900px) { .gr-grid { grid-template-columns: 1fr; } }

/* v20.1 — QR centered regardless of img display mode */
.lr-qr img { display: block; margin-left: auto; margin-right: auto; }

/* v21 — Driving directions button */
.dir-btn { display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; margin: 16px 0 6px; font-size: 15px; }
.dir-btn svg { flex: 0 0 auto; }
.dir-note { margin: 0 0 14px; text-align: center; font-size: .88rem; color: var(--muted); }

/* =========================================================
   v22 — Wow layer: trust chips, tech band, count-up support
   ========================================================= */
.trust-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip { background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.4);
  color: #fff; border-radius: 30px; padding: 7px 15px; font-size: 13px;
  font-weight: 600; letter-spacing: .01em; backdrop-filter: blur(2px); }
.chips-hero-es { justify-content: center; margin-top: 16px; }
.chips-hero-es .chip { background: rgba(255,255,255,.55); border-color: var(--line);
  color: var(--ink-deep); backdrop-filter: none; }

.tech-band { background: linear-gradient(135deg, var(--accent-deep) 0%, #0d3654 60%, #0a2c46 100%);
  padding: clamp(52px, 8vw, 92px) 0; color: #dce8f0; }
.tech-band .section-head h2 { color: #fff; max-width: 720px; }
.tech-band .section-head h2::before { background: var(--gold); }
.kicker-light { color: var(--gold); }
.tech-lead { color: #b8cbd8; max-width: 620px; }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-top: clamp(30px, 5vw, 44px); }
.tech-tile { background: rgba(255,255,255,.055); border: 1px solid rgba(220,232,240,.16);
  border-radius: var(--radius-lg); padding: 24px 24px 26px;
  transition: transform .22s ease, background .22s ease, border-color .22s ease; }
.tech-tile:hover { transform: translateY(-5px); background: rgba(255,255,255,.09);
  border-color: rgba(201,162,39,.55); }
.tt-icon { display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 12px; background: rgba(201,162,39,.16); color: var(--gold);
  margin-bottom: 14px; }
.tt-icon svg { width: 24px; height: 24px; }
.tech-tile h3 { color: #fff; margin: 0 0 8px; font-size: 1.08rem; }
.tech-tile p { margin: 0; font-size: .95rem; color: #c4d4de; }
.tech-tile a { color: var(--gold-soft, #e3c05a); font-weight: 600; }
.tech-tile a:hover { color: #fff; }
.tech-band-inline { border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 50px) clamp(22px, 4vw, 44px);
  margin-top: clamp(44px, 6vw, 64px); }
.tech-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .tech-grid, .tech-grid-3 { grid-template-columns: 1fr; } }
.rv-photo { max-width: 720px; margin: clamp(30px,5vw,44px) auto 0; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); display: block; height: auto; }

/* v23 — Truthful review proof: tappable, starred, house-styled */
a.chip-link:hover { background: #fff; color: var(--accent-dark); }
a.stat-link { text-decoration: none; border-radius: var(--radius);
  transition: background .18s ease, transform .18s ease; padding: 6px 10px; margin: -6px -10px; }
a.stat-link:hover { background: rgba(201,162,39,.1); transform: translateY(-2px); }
.stat-stars { display: block; color: var(--gold); letter-spacing: 3px;
  font-size: 13px; margin-top: 3px; }

/* v24 — Clickable feature tiles, tighter stats, gold AI lines, wall spacing */
a.feature { display: block; color: inherit; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease; }
a.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
a.feature:hover .read-more { color: var(--accent); }
a.feature h3, a.feature p { color: inherit; }

.stats-band { padding: clamp(22px, 3.5vw, 36px) 0; }
.stats { gap: clamp(18px, 4vw, 44px); }
.stat strong { font-size: clamp(1.9rem, 4vw, 2.5rem); }
.stat span { font-size: .85rem; }

.tech-band .kicker-light { color: var(--gold); font-size: 13.5px;
  font-weight: 800; letter-spacing: .2em; }
.tech-lead { color: var(--gold) !important; font-weight: 600;
  font-size: 1.06rem; }

.smile-wall { margin-top: clamp(34px, 5vw, 50px); }

/* v25 — Services hub: premium clickable category cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 26px; margin-top: clamp(28px, 4vw, 40px); }
a.svc-card { position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; color: inherit; text-decoration: none;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
a.svc-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--gold); transform: scaleX(0);
  transform-origin: left; transition: transform .3s ease; z-index: 1; }
a.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg);
  border-color: rgba(201,162,39,.5); }
a.svc-card:hover::before { transform: scaleX(1); }
a.svc-card img { width: 100%; height: 172px; object-fit: cover;
  transition: transform .45s ease; }
a.svc-card:hover img { transform: scale(1.05); }
.svc-body { display: flex; flex-direction: column; gap: 9px;
  padding: 20px 22px 22px; flex: 1; }
.svc-body h3 { margin: 0; font-size: 1.14rem; color: var(--ink-deep); }
.svc-body p { margin: 0; font-size: .93rem; color: var(--muted); flex: 1; }
.svc-go { display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: .9rem; color: var(--accent-dark); margin-top: 4px; }
.svc-go .arr { transition: transform .22s ease; }
a.svc-card:hover .svc-go { color: var(--accent); }
a.svc-card:hover .svc-go .arr { transform: translateX(5px); }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; }
  a.svc-card img { height: 200px; } }

/* v26 — Contact page, $100M pass */
.contact-grid, .contact-wrap { align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow-md); }
.form-title { margin: 6px 0 20px; font-size: clamp(1.25rem, 2.4vw, 1.55rem); }
.wform .name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wform .field { margin-bottom: 16px; }
.wform label { display: block; font-weight: 600; font-size: .88rem;
  color: var(--ink-deep); margin-bottom: 6px; }
.wform .req { color: var(--accent); }
.wform input[type="text"], .wform input[type="email"], .wform input[type="tel"],
.wform textarea { width: 100%; height: 48px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 10px; font: inherit;
  background: #fbfcfd; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.wform textarea { height: auto; min-height: 140px; resize: vertical; }
.wform input:focus, .wform textarea:focus { outline: none; background: #fff;
  border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,39,.15); }
.wform .btn { width: 100%; height: 50px; font-size: 1rem; }
.aside-card { background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow-sm); position: sticky; top: 96px; }
.aside-card h4 { margin: 18px 0 6px; }
.aside-card h4:first-child { margin-top: 0; }
.contact-social a { font-weight: 700; color: var(--accent-dark); }
.contact-social a:hover { color: var(--accent); }
@media (max-width: 560px) { .wform .name-row { grid-template-columns: 1fr; } }

/* v27 — Service page FAQ band */
.svc-faq { background: #fafbfc; border-top: 1px solid var(--line); }
.svc-faq .section-head { margin-bottom: 18px; }

/* v28 — Review excerpts */
.rv-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  max-width: 920px; margin: clamp(30px,5vw,44px) auto 0; }
.rv-quote { margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.rv-quote blockquote { margin: 8px 0 10px; font-size: .98rem; color: var(--ink); }
.rv-quote figcaption { font-size: .85rem; font-weight: 600; color: var(--muted); }
.rv-stars { color: var(--gold); letter-spacing: 3px; font-size: 14px; }
.quote-band { background: #fafbfc; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); padding: clamp(44px,6vw,70px) 0; }
.qb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px;
  margin-top: clamp(24px,4vw,36px); }
.qb { margin: 0; background: #fff; border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0; padding: 22px 26px;
  font-size: 1.05rem; color: var(--ink-deep); box-shadow: var(--shadow-sm); }
.qb cite { display: block; margin-top: 12px; font-style: normal;
  font-size: .85rem; font-weight: 700; color: var(--muted); }
.qb-more { text-align: center; margin: 26px 0 0; font-weight: 700; }
@media (max-width: 800px) { .rv-quotes, .qb-grid { grid-template-columns: 1fr; } }

/* v29 — Brand line */
.brand-line { font-weight: 500; color: var(--ink-deep); }

/* v30 — Freshness line */
.page-reviewed { max-width: var(--content, 1080px); margin: 26px auto 0;
  font-size: .82rem; color: var(--muted); font-style: italic; }

/* v31 — Page copy system: every added passage gets a proper reading measure */
.page-copy { max-width: 820px; margin: 0 auto; padding: 4px 24px; }
.page-copy p { margin: 0 0 18px; line-height: 1.8; color: var(--ink); font-size: 1.02rem; }
.page-copy p:last-child { margin-bottom: 0; }
.page-copy h2 { margin: 40px 0 16px; font-size: clamp(1.35rem, 2.4vw, 1.6rem); color: var(--ink-deep); }
.page-copy h2:first-child { margin-top: 8px; }
.page-copy a:not([class*="btn"]) { color: var(--blue, #1d4ed8); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.page-copy a[class*="btn"] { text-decoration: none; }
section.tail-copy { background: #fff; padding: clamp(36px, 5.5vw, 60px) 0; }
section.tail-copy + section.tail-copy { padding-top: 0; }
.page-main .page-copy { padding-left: 0; padding-right: 0; }
.pillars-section { padding: clamp(44px, 6vw, 64px) 0 clamp(46px, 6vw, 66px); }

/* v32 — Plain-language summary cards (layered legal notices) */
.plain-summary { background: #f6f9fc; border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: clamp(22px, 3.5vw, 34px) clamp(22px, 3.5vw, 38px);
  margin: 26px 0 38px; }
.plain-summary h2 { margin: 0 0 10px; font-size: 1.4rem; color: var(--ink-deep); }
.plain-summary .ps-label { font-size: .88rem; font-style: italic; color: var(--muted);
  margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.plain-summary p { margin: 0 0 14px; line-height: 1.75; }
.plain-summary .ps-close { margin: 18px 0 0; font-weight: 700; font-size: .92rem;
  color: var(--ink-deep); }

/* v33 — Home welcome band + comprehensive mobile optimization */
.home-welcome { background: #fff; padding: clamp(44px, 6.5vw, 76px) 0; border-top: 1px solid var(--line); }
.home-welcome .section-head { text-align: center; margin-bottom: 30px; }
.welcome-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1080px; margin: 0 auto; }
.w-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg); padding: 26px 24px 24px;
  box-shadow: 0 1px 3px rgba(16,42,67,.05); transition: box-shadow .25s ease, transform .25s ease; }
.w-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.w-card h3 { margin: 0 0 10px; font-size: 1.12rem; letter-spacing: .01em; color: var(--accent-dark); }
.w-card p { margin: 0; line-height: 1.75; font-size: .99rem; color: var(--ink); }
.welcome-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr 1fr; gap: 18px; }
  .page-copy h2 { font-size: 1.3rem; margin-top: 30px; }
}
@media (max-width: 760px) {
  .pillars { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pillar { text-align: center; }
  .quote-band .container > div, .quote-band blockquote { max-width: 100%; }
  section.tail-copy { padding: clamp(28px, 6vw, 40px) 0; }
  .page-copy { padding: 4px 18px; }
  .page-copy p { font-size: 1rem; line-height: 1.75; }
  .plain-summary { padding: 20px 16px 22px 18px; border-radius: 0 12px 12px 0; margin: 20px 0 30px; }
  .plain-summary h2 { font-size: 1.2rem; }
  .home-welcome { padding: 40px 0 46px; }
  .welcome-ctas .btn { width: 100%; max-width: 340px; text-align: center; }
  .g-proof { flex-direction: column; text-align: center; gap: 10px; }
  details.faq summary { padding-top: 14px; padding-bottom: 14px; }
}
@media (max-width: 560px) {
  .page-copy h2 { font-size: 1.2rem; }
  .plain-summary .ps-label { font-size: .82rem; }
  .welcome-copy p { font-size: 1rem; }
  .home-welcome .section-head h2 { font-size: 1.45rem; }
}


/* v35 — Welcome trio responsive */
@media (max-width: 980px) { .welcome-grid { grid-template-columns: 1fr; max-width: 640px; gap: 16px; } }
@media (max-width: 760px) { .w-card { padding: 22px 18px 20px; } .home-welcome .section-head { margin-bottom: 22px; } }



/* v38 — Mobile topbar: centered wrap, tighter rhythm */
@media (max-width: 560px) {
  .topbar .container { justify-content: center; min-height: 0; padding-top: 3px; padding-bottom: 3px; row-gap: 0; }
  .topbar ul { width: 100%; justify-content: center; gap: 0 18px; }
  .topbar ul li a { padding: 6px 4px; }
}
