/* Blount Discount Pharmacy — design system
   Tokens follow the Lumistry pharmacy design system; brand trio + fonts are per-pharmacy. */

@font-face { font-family: "Figtree"; src: url("/fonts/figtree-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Sans"; src: url("/fonts/notosans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Sans"; src: url("/fonts/notosans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --brand: #193B6D;
  --brand-dark: #10294E;
  --brand-tint: #EDF1F8;
  --gold: #968243;        /* decorative only (rules, icons ≥24px) */
  --gold-ink: #75652F;    /* text-safe gold, 4.5:1 on paper */
  --ink: #22252D;
  --ink-soft: #50565F;
  --line: #E3E0D6;
  --paper: #FBFAF7;
  --cream: #F3F1EA;
  --ok: #1E6B3C;
  --font-display: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-body: "Noto Sans", "Segoe UI", system-ui, sans-serif;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(36, 30, 30, .06), 0 8px 24px -12px rgba(36, 30, 30, .18);
  --shadow-rest: 0 1px 2px rgba(36, 30, 30, .04);
  --wrap: 1160px;
  --title-navy: #10294E;
  --title-gold: #968243;
  --title-gold-soft: #E7D9A6;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; max-width: 72ch; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: .35em; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 2px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--brand); color: #fff; padding: 10px 18px; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
section { padding: clamp(44px, 7vw, 84px) 0; }
.section-cream { background: var(--cream); }
.section-head { max-width: 640px; margin-bottom: clamp(30px, 4vw, 46px); }
.kicker { font-family: var(--font-body); font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); display: block; margin-bottom: 10px; }
.hero-locations { color: var(--gold-ink); letter-spacing: .09em; }
.hero-locations b { color: var(--gold); padding: 0 .25em; }
.section-head h2 { margin-bottom: .4em; color: var(--title-navy); }
.section-head p { color: var(--ink-soft); margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-size: .93rem; font-weight: 600;
  padding: 11px 18px; min-height: 44px; min-width: 44px;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s ease-out, color .15s ease-out, border-color .15s ease-out;
}
.btn-lg { padding: 15px 26px; font-size: 1rem; }
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand-tint); color: var(--brand-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-soft); }
.btn-white { background: #fff; color: var(--brand); border-color: #fff; }
.btn-white:hover { background: var(--brand-tint); border-color: var(--brand-tint); color: var(--brand-dark); }
.btn-white-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn-white-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

/* ---------- Topbar ---------- */
.topbar { background: var(--brand-dark); color: #E8EDF5; font-size: .85rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: center; min-height: 40px; padding-top: 4px; padding-bottom: 4px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.topbar-summary { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; letter-spacing: .01em; }
@media (max-width: 700px) { .topbar { display: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251, 250, 247, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 92px; }
.logo-link { display: flex; align-items: center; flex: none; }
.logo-link img { height: 76px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav a, .nav-drop-btn {
  display: inline-flex; align-items: center; gap: 5px; padding: 10px 13px; min-height: 44px;
  font-size: .95rem; font-weight: 600; color: var(--ink); text-decoration: none;
  background: none; border: 0; font-family: var(--font-body); cursor: pointer; border-radius: 8px;
}
.main-nav a:hover, .nav-drop-btn:hover { color: var(--brand); background: var(--brand-tint); }
.nav-drop { position: relative; }
.nav-drop-btn svg { transition: transform .15s ease-out; }
.nav-drop.open .nav-drop-btn svg { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px; margin: 0; list-style: none; display: none; z-index: 110;
}
.nav-drop.open .nav-drop-menu { display: block; }
.nav-drop-menu a { display: block; padding: 9px 12px; border-radius: 7px; font-weight: 400; width: 100%; }
.about-menu a { display: flex; align-items: center; gap: 10px; min-height: 48px; }
.about-menu a svg { flex: none; color: var(--gold-ink); }
.nav-drop-menu.services-menu {
  width: min(610px, calc(100vw - 32px)); grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px; padding: 12px;
}
.nav-drop.open .nav-drop-menu.services-menu { display: grid; }
.services-menu li { min-width: 0; }
.services-menu .services-menu-all { grid-column: 1 / -1; border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-bottom: 2px; }
.services-menu a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 9px 11px; }
.services-menu a svg { flex: none; color: var(--gold-ink); }
.services-menu a span { line-height: 1.25; }
.header-ctas { display: flex; gap: 10px; margin-left: 8px; }
.header-ctas a.btn-primary { background: var(--brand); color: #fff; border: 2px solid var(--brand); padding: 10px 17px; border-radius: 999px; font-size: .93rem; }
.header-ctas a.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.header-ctas a.btn-outline { background: transparent; color: var(--brand); border: 2px solid var(--brand); padding: 10px 17px; border-radius: 999px; font-size: .93rem; }
.header-ctas a.btn-outline:hover { background: var(--brand-tint); color: var(--brand-dark); }
.header-ctas a.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); padding: 10px 17px; border-radius: 999px; font-size: .93rem; }
.header-ctas a.btn-ghost:hover { border-color: var(--ink-soft); background: none; }
.nav-toggle { display: none; }

@media (max-width: 1120px) {
  .header-ctas .btn:nth-child(3) { display: none; }
}
@media (max-width: 1023px) {
  .main-nav, .header-ctas { display: none; }
  .site-header .wrap { min-height: 72px; }
  .logo-link img { height: 54px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; margin-left: auto; background: none;
    border: 1px solid var(--line); border-radius: 9px; cursor: pointer; color: var(--ink);
  }
}

/* ---------- Mobile drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(16, 41, 78, .45); z-index: 140; opacity: 0; pointer-events: none; transition: opacity .2s ease-out; }
.drawer-backdrop.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 92vw); z-index: 150;
  background: var(--paper); box-shadow: var(--shadow); transform: translateX(102%);
  transition: transform .25s cubic-bezier(.16, 1, .3, 1); display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.drawer-head img { height: 44px; width: auto; }
.drawer-close { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; color: var(--ink); }
.drawer-nav { flex: 1; overflow-y: auto; padding: 10px 18px; }
.drawer-nav ul { list-style: none; margin: 0; padding: 0; }
.drawer-nav a, .drawer-sub-btn {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 13px 4px; min-height: 48px; font-size: 1.02rem; font-weight: 600; color: var(--ink);
  text-decoration: none; background: none; border: 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-body); cursor: pointer; text-align: left;
}
.drawer-sub { display: none; padding: 4px 0 8px 14px; }
.drawer-sub.open { display: block; }
.drawer-sub a { font-weight: 400; min-height: 44px; padding: 10px 4px; border-bottom: 0; }
.drawer-ctas { padding: 16px 18px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-ctas .btn { width: 100%; }
body.drawer-locked { overflow: hidden; }
body.drawer-locked .mobile-cta-bar { visibility: hidden; }

/* ---------- Sticky mobile CTA bar ---------- */
.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; display: none;
  grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 250, 247, .97); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .25s ease-out;
}
.mobile-cta-bar.show { transform: translateY(0); }
@media (max-width: 767px) { .mobile-cta-bar { display: grid; } body { padding-bottom: 0; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: clamp(590px, 69vw, 760px); padding: clamp(76px, 9vw, 128px) 0 0; overflow: hidden;
  background: url("/images/hero-mountains.webp") center 48% / cover no-repeat;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 680px) 1fr; align-items: center; padding-bottom: clamp(108px, 12vw, 154px); }
.hero-content { grid-column: 1; }
.hero h1 { margin-bottom: .4em; color: #F9F7F1; text-shadow: 0 3px 24px rgba(2, 15, 32, .42); font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -.035em; font-size: clamp(2.7rem, 5.4vw, 4.5rem); line-height: 1.04; }
.hero-tagline { display: block; width: 100%; max-width: 700px; height: auto; }
.hero-locations {
  display: inline-flex; width: fit-content; padding: 9px 15px; margin-bottom: 22px;
  color: #F6E8BD; background: rgba(8, 31, 62, .68); border: 1px solid rgba(246, 232, 189, .3);
  border-radius: 999px; box-shadow: 0 10px 28px -24px rgba(2, 15, 32, .8);
}
.hero .lede { font-size: 1.12rem; color: #EDF2F7; max-width: 54ch; text-shadow: 0 2px 18px rgba(2, 15, 32, .48); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 22px; }
.hero .btn-outline { color: #F9F7F1; border-color: rgba(249, 247, 241, .78); background: rgba(8, 31, 62, .18); }
.hero .btn-outline:hover { color: var(--brand-dark); background: #F9F7F1; border-color: #F9F7F1; }
.hero-meta { display: flex; gap: 10px; flex-wrap: wrap; color: #F1F4F8; font-size: .92rem; align-items: center; }
.hero-meta > span { padding: 7px 11px; border-radius: 999px; background: rgba(8, 31, 62, .58); border: 1px solid rgba(255, 255, 255, .16); }
.hero-meta strong { color: #F6E8BD; }
@media (max-width: 900px) {
  .hero { min-height: 620px; background-position: 58% 48%; }
  .hero-grid { grid-template-columns: minmax(0, 640px); }
}

/* ---------- Location bar (below hero) ---------- */
.loc-bar { position: relative; z-index: 3; background: transparent; color: #fff; padding: 0 0 34px; margin-top: -58px; }
.loc-bar .wrap {
  max-width: 1240px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden;
  background: linear-gradient(105deg, var(--brand-dark), #244f89);
  border-radius: 22px 22px 22px 7px; box-shadow: 0 24px 55px -35px rgba(14, 39, 76, .85);
}
.loc-tile { min-width: 0; padding: 28px clamp(22px, 3vw, 38px); border-left: 1px solid rgba(255, 255, 255, .14); }
.loc-tile:first-child { border-left: 0; }
.loc-tile .lt-name { font-family: var(--font-display); font-weight: 600; display: block; margin-bottom: 3px; }
.loc-tile .lt-location { display: block; }
.loc-tile .lt-address { display: block; font-size: .85rem; color: #C6D2E4; margin: 8px 0; }
.loc-tile .lt-hours { font-size: .85rem; color: #C6D2E4; display: block; }
.loc-tile a { color: #EDD9A3; text-decoration: none; font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center; min-height: 44px; }
.loc-tile a:hover { text-decoration: underline; color: #F5E7C0; }
@media (max-width: 760px) {
  .loc-bar .wrap { grid-template-columns: 1fr; }
  .loc-tile { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .loc-tile:first-child { border-top: 0; }
}
@media (max-width: 560px) {
  .hero { padding-bottom: 34px; }
  .hero-locations { display: block; border-radius: 16px; line-height: 1.6; }
  .loc-bar { margin-top: 0; padding-bottom: 18px; background: var(--brand); }
  .loc-bar .wrap { grid-template-columns: 1fr; border-radius: 0; box-shadow: none; }
  .loc-tile { border-left: 0 !important; border-top: 1px solid rgba(255,255,255,.14); }
  .loc-tile:first-child { border-top: 0; }
}

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-rest); transition: box-shadow .15s ease-out, border-color .15s ease-out;
  display: flex; flex-direction: column; align-items: flex-start;
}
a.card { text-decoration: none; color: inherit; }
.card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.icon-chip {
  width: 46px; height: 46px; border-radius: 12px; background: var(--brand-tint);
  display: inline-flex; align-items: center; justify-content: center; color: var(--brand); margin-bottom: 14px; flex: none;
}
.card h3 { margin-bottom: .3em; }
.card p { font-size: .95rem; color: var(--ink-soft); margin-bottom: 12px; }
.card .more { margin-top: auto; font-weight: 600; font-size: .92rem; color: var(--brand); display: inline-flex; align-items: center; gap: 5px; min-height: 44px; }

/* ---------- Homepage warmth ---------- */
.home-services {
  background:
    radial-gradient(420px 250px at 100% 0%, rgba(237, 217, 163, .28), transparent 72%),
    var(--paper);
}
.home-services .section-head { max-width: 690px; }
.home-services .section-head h2,
.home-trust h2,
.portal-copy h2,
.home-locations-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.home-services .section-head h2,
.home-trust h2,
.home-locations-head h2 { color: var(--title-navy); }
.home-services .grid-3 { gap: 20px; }
.home-services .card {
  border-color: rgba(25, 59, 109, .1); border-radius: 20px 20px 20px 7px;
  box-shadow: 0 16px 40px -34px rgba(25, 59, 109, .65);
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease, border-color .25s ease;
}
.home-services .card:nth-child(3n+2) { transform: translateY(10px); }
.home-services .card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -34px rgba(25, 59, 109, .75); }
.home-services .icon-chip { background: rgba(237, 217, 163, .36); color: var(--brand); border-radius: 14px 14px 14px 5px; }
.home-trust { position: relative; overflow: hidden; }
.home-trust::after {
  content: ""; position: absolute; width: 340px; height: 340px; right: -180px; bottom: -190px;
  border: 1px solid rgba(150, 130, 67, .18); border-radius: 50%; box-shadow: 0 0 0 48px rgba(150,130,67,.05), 0 0 0 96px rgba(150,130,67,.035);
}
.home-trust .split { position: relative; z-index: 1; }
.home-trust .split-img img { border-radius: 28px 28px 8px 28px; }
.portal-panel { border-radius: 24px 24px 24px 8px; box-shadow: 0 24px 52px -34px rgba(25, 59, 109, .75); }
.home-reviews {
  background: var(--paper);
}
.reviews-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px;
}
.home-reviews .section-head { margin-bottom: 0; }
.home-reviews .section-head > p:last-child { max-width: 620px; }
.reviews-title { white-space: nowrap; font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
.fun-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  width: fit-content; background: var(--brand-tint); color: var(--brand);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 12px;
  font: 700 .78rem var(--font-body); letter-spacing: .16em; text-transform: uppercase;
}
.fun-accent { color: var(--gold-ink); font-style: italic; white-space: nowrap; }
.portal-copy .fun-kicker { background: rgba(255,255,255,.14); color: #F5D678; }
.pp-accent { color: #F5D678; font-style: italic; white-space: nowrap; }
.reviews-track-wrap { overflow: hidden; }
.reviews-track {
  display: flex; gap: 20px; list-style: none; margin: 0 auto; padding: 6px 20px 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
}
.reviews-track.is-auto-scrolling { scroll-snap-type: none; }
.reviews-track::-webkit-scrollbar { display: none; }
.review-card {
  flex: 0 0 min(360px, 82vw); scroll-snap-align: start; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 24px; box-shadow: 0 6px 18px rgba(36,30,30,.07);
  display: flex; flex-direction: column; gap: 12px;
}
.review-stars { display: inline-flex; gap: 2px; color: #D9A514; letter-spacing: 2px; }
.review-card blockquote { margin: 0; }
.review-card blockquote p {
  margin: 0; font-size: .93rem; color: var(--ink-soft);
}
.review-card footer {
  margin-top: auto; font: 600 .82rem var(--font-body); color: var(--ink);
  letter-spacing: .04em; text-transform: uppercase;
}
.reviews-cta { text-align: center; margin-top: 26px; }
.reviews-cta p {
  max-width: 680px; margin: 0 auto 14px; text-align: center;
  font: 600 1.05rem Georgia, "Times New Roman", serif; color: var(--ink);
}
.review-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; }
@media (max-width: 900px) {
  .home-services .card:nth-child(3n+2) { transform: none; }
}
@media (max-width: 560px) {
  .reviews-title { white-space: normal; }
  .review-actions { width: 100%; gap: 10px; }
  .review-actions .btn { width: 100%; }
  .page-hero { padding-block: 34px 42px; }
  .page-hero h1 { font-size: clamp(2.1rem, 11vw, 3.05rem); }
}

/* ---------- Homepage locations ---------- */
.home-locations {
  background: #F1EBDD; position: relative; overflow: hidden;
  padding-block: clamp(58px, 7vw, 92px);
}
.home-locations::after {
  content: ""; position: absolute; right: -100px; top: -150px; width: 390px; height: 390px;
  border: 1px solid rgba(150, 130, 67, .22); border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(150,130,67,.055), 0 0 0 88px rgba(150,130,67,.035);
  pointer-events: none;
}
.home-locations .wrap { position: relative; z-index: 1; }
.home-locations-head {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: clamp(28px, 6vw, 80px); align-items: end; margin-bottom: 32px;
}
.home-locations-head .kicker { margin-bottom: 10px; }
.home-locations-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0; }
.home-locations-head > p { color: var(--ink-soft); margin: 0 0 5px; max-width: 48ch; }
.home-locations-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(25,59,109,.14); border-radius: 22px; overflow: hidden;
  background: rgba(255,255,255,.58);
}
.home-location-card {
  min-width: 0; padding: clamp(22px, 2.5vw, 30px);
  border-right: 1px solid rgba(25,59,109,.14);
  display: flex; flex-direction: column;
}
.home-location-card:last-child { border-right: 0; }
.home-location-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.home-location-number {
  color: rgba(25,59,109,.42); font: 700 .76rem/1 var(--font-body); letter-spacing: .13em;
}
.home-location-pin {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  color: var(--brand); background: rgba(237,217,163,.62);
}
.home-location-card h3 { font-size: 1.16rem; margin-bottom: 10px; }
.home-location-address { color: var(--ink-soft); font-size: .92rem; line-height: 1.55; margin-bottom: 18px; }
.home-location-hours {
  display: grid; gap: 3px; margin: auto 0 22px; padding-top: 18px;
  border-top: 1px solid rgba(25,59,109,.1); font-size: .84rem;
}
.home-location-hours strong { color: var(--ink); }
.home-location-hours-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.home-location-hours span { color: var(--ink-soft); }
.home-location-actions { display: grid; gap: 3px; }
.home-location-actions a {
  min-height: 40px; display: inline-flex; align-items: center; gap: 7px;
  color: var(--brand); font-weight: 700; font-size: .88rem; text-decoration: none;
}
.home-location-actions a:hover { text-decoration: underline; }
.home-locations-more { margin: 24px 0 0; text-align: right; }
.home-locations-more a {
  display: inline-flex; align-items: center; gap: 7px; color: var(--brand); font-weight: 700;
}
@media (max-width: 980px) {
  .home-locations-grid { grid-template-columns: 1fr; }
  .home-location-card { border-right: 0; border-bottom: 1px solid rgba(25,59,109,.14); }
  .home-location-card:last-child { border-bottom: 0; }
}
@media (max-width: 650px) {
  .home-locations-head { grid-template-columns: 1fr; gap: 14px; }
  .home-locations-grid { grid-template-columns: 1fr; }
  .home-location-card { border-right: 0; border-bottom: 1px solid rgba(25,59,109,.14); }
  .home-location-card:nth-child(3) { border-bottom: 1px solid rgba(25,59,109,.14); }
  .home-location-card:last-child { border-bottom: 0; }
  .home-location-top { margin-bottom: 18px; }
  .home-locations-more { text-align: left; }
}

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split-img img { border-radius: 14px; box-shadow: var(--shadow); width: 100%; }
.split .kicker { margin-bottom: 8px; }
.check-list { list-style: none; padding: 0; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 9px; }
.check-list svg { flex: none; margin-top: 4px; color: var(--gold-ink); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Portal promo (PDF spec) ---------- */
.portal-promo { padding-top: 0; }
.portal-panel {
  position: relative; border-radius: 16px; overflow: hidden;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Cpath d='M26 0H0v26' fill='none' stroke='%23EDD9A3' stroke-opacity='.12'/%3E%3C/svg%3E"),
    linear-gradient(115deg, var(--brand-dark) 0%, #2B5CA6 100%);
  background-repeat: repeat, no-repeat;
  color: #fff; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 55% 1fr; gap: 30px; align-items: end;
}
.portal-panel::before, .portal-panel::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .07); pointer-events: none;
}
.portal-panel::before { width: 340px; height: 340px; top: -140px; left: -110px; }
.portal-panel::after { width: 420px; height: 420px; bottom: -190px; right: -150px; }
.portal-copy { padding: clamp(30px, 5vw, 56px); align-self: center; position: relative; z-index: 1; }
.portal-copy .kicker { color: #A9C6EE; }
.portal-copy h2 { color: #fff; }
.portal-copy p { color: #D4DFEF; max-width: 52ch; }
.portal-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.portal-phones { position: relative; height: 100%; min-height: 500px; z-index: 1; }
.portal-phones img { position: absolute; bottom: 36px; width: 44%; border-radius: 18px; }
.portal-phones .ph-back { left: 4%; transform: rotate(-8deg); bottom: 28px; }
.portal-phones .ph-front { left: 46%; transform: rotate(6deg); }
@media (max-width: 860px) {
  .portal-panel { grid-template-columns: 1fr; }
  .portal-phones { min-height: 300px; }
  .portal-phones .ph-back { left: 8%; } .portal-phones .ph-front { left: 42%; }
}

/* ---------- Testimonials ---------- */
.t-actions { margin-top: 16px; }
.t-marquee { overflow: hidden; }
.t-track { display: flex; width: max-content; animation: t-marquee 70s linear infinite; }
.t-set { display: flex; gap: 22px; padding: 4px 11px 18px; }
.t-marquee:hover .t-track, .t-marquee:focus-within .t-track { animation-play-state: paused; }
@keyframes t-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .t-marquee { overflow-x: auto; }
  .t-track { width: auto; }
  .t-set[aria-hidden="true"] { display: none; }
}
.t-scroll { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; }
.t-card {
  scroll-snap-align: start; flex: 0 0 340px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-rest);
}
.t-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; font-size: .95rem; }
.t-quote { font-size: .97rem; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 14px; }
.t-who { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 480px) { .t-card { flex-basis: 86%; } }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(42px, 6vw, 72px) 0 clamp(46px, 6.5vw, 78px);
  background:
    linear-gradient(90deg, rgba(237,241,248,.98), rgba(237,241,248,.93)),
    var(--brand-tint);
  border-bottom: 1px solid rgba(150,130,67,.28);
}
.page-hero::after {
  content: ""; position: absolute; width: min(32vw, 420px); aspect-ratio: 1; right: -9%; bottom: -72%;
  border: 1px solid rgba(150,130,67,.28); border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(150,130,67,.07), 0 0 0 68px rgba(150,130,67,.035);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.breadcrumb { font-size: .85rem; color: var(--ink-soft); margin-bottom: 12px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--ink-soft); }
.page-hero h1 {
  max-width: 19ch; margin: 0; color: var(--title-navy);
  font-size: clamp(2.35rem, 5vw, 4.15rem); font-weight: 700;
  letter-spacing: -.045em; line-height: 1.02;
}
.page-hero h1::after {
  content: ""; display: block; width: 64px; height: 4px; margin-top: 19px;
  background: var(--title-gold);
}
.page-hero .lede { max-width: 67ch; margin: 18px 0 0; }

/* ---------- Service detail pages ---------- */
.service-page {
  --service-navy: #10294E;
  --service-blue: #193B6D;
  --service-gold: #B39A4A;
  --service-paper: #F8F6F0;
  background: var(--service-paper);
}
.service-page .service-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6.5vw, 76px) 0 clamp(48px, 7vw, 88px);
  color: #F8F6F0;
  background:
    linear-gradient(112deg, rgba(16,41,78,.99) 0%, rgba(25,59,109,.98) 68%, rgba(20,50,91,.94) 100%);
  border: 0;
}
.service-page .service-hero::before,
.service-page .service-hero::after {
  content: ""; position: absolute; pointer-events: none; border: 1px solid rgba(232, 211, 137, .28); border-radius: 50%;
}
.service-page .service-hero::before {
  width: min(48vw, 620px); aspect-ratio: 1; right: -13%; top: -55%;
  box-shadow: 0 0 0 42px rgba(232,211,137,.055), 0 0 0 84px rgba(232,211,137,.035);
}
.service-page .service-hero::after {
  width: 230px; height: 230px; left: -125px; bottom: -155px;
}
.service-page .service-hero .wrap { position: relative; z-index: 1; }
.service-page .service-hero .breadcrumb { color: #D4DFEF; margin-bottom: 20px; }
.service-page .service-hero .breadcrumb a { color: #F2DC94; }
.service-page .service-hero .breadcrumb li + li::before { color: rgba(242,220,148,.55); }
.service-page .service-hero h1 {
  max-width: 18ch; margin: 0;
  color: #FFFDF7; font-size: clamp(2.45rem, 5.6vw, 4.8rem); font-weight: 700;
  letter-spacing: -.045em; line-height: .98;
}
.service-page .service-hero h1::after {
  content: ""; display: block; width: 70px; height: 5px; margin-top: 24px; background: var(--service-gold);
}
.service-page .service-hero .lede {
  max-width: 63ch; margin: 21px 0 0; color: #E0E8F3; font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.75;
}
.service-detail { padding: clamp(46px, 7vw, 92px) 0 clamp(60px, 8vw, 110px); }
.service-page .pure-products-hero {
  background: linear-gradient(90deg, rgba(16,41,78,.86), rgba(16,41,78,.68) 55%, rgba(16,41,78,.30)), url("/images/pure-hero.webp") center / cover no-repeat;
}
.service-page .pure-products-hero::before,
.service-page .pure-products-hero::after { display: none; }
.product-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 20px; margin: 28px 0 36px; }
.product-photo-grid picture { display: block; }
.product-photo-grid picture:only-child { grid-column: 1 / -1; }
.product-photo-grid img { display: block; width: 100%; height: auto; border-radius: 8px; }
.product-photo-grid picture:not(:only-child) img { aspect-ratio: 1 / 1; object-fit: cover; object-position: center; }
@media (max-width: 560px) {
  .product-photo-grid { grid-template-columns: 1fr; }
  .service-page .pure-products-hero { background-position: 65% center; }
}
.service-page .svc-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 318px);
  gap: clamp(38px, 7vw, 96px); align-items: start;
}
.service-page .prose { max-width: 760px; }
.service-page .prose > :first-child { margin-top: 0; }
.service-page .prose h2 {
  margin: 1.9em 0 .55em; padding-top: .15em; color: var(--service-navy);
  font-size: clamp(1.7rem, 3vw, 2.65rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.08;
}
.service-page .prose h2 + p { font-size: 1.05rem; }
.service-page .prose h3 {
  position: relative; margin: 1.8em 0 .42em; padding-left: 17px; color: var(--service-blue);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 700;
}
.service-page .prose h3::before { content: ""; position: absolute; left: 0; top: .22em; width: 5px; height: 1.05em; background: var(--service-gold); }
.service-page .prose p { margin-bottom: 1.35em; color: #394451; font-size: 1rem; line-height: 1.82; }
.service-page .prose a { color: var(--service-blue); font-weight: 600; text-decoration-color: var(--service-gold); text-decoration-thickness: 2px; }
.service-page .prose .check-list { margin: 1.55em 0 1.9em; padding: 22px 24px; border-left: 4px solid var(--service-gold); background: #EEECE4; }
.service-page .prose .check-list li { gap: 12px; margin: 0 0 12px; line-height: 1.62; }
.service-page .prose .check-list li:last-child { margin-bottom: 0; }
.service-page .prose .check-list svg { color: var(--service-blue); margin-top: 5px; }
.service-page .svc-figure { margin: 0 0 34px; overflow: hidden; border-radius: 2px 26px 2px 26px; border-bottom: 7px solid var(--service-gold); box-shadow: 0 22px 36px -30px rgba(16,41,78,.7); }
.service-page .svc-figure img { width: 100%; max-height: 440px; object-fit: cover; }
.service-page .svc-delivery-figure { width: 100%; margin: 28px 0 0; border-radius: 14px; border-bottom: 0; box-shadow: none; }
.service-page .svc-figure img[src="/images/svc-delivery.jpg"] { height: auto; max-height: none; border-radius: 0; margin-bottom: 0; box-shadow: none; }
.service-page .svc-aside { position: sticky; top: 118px; display: grid; gap: 18px; }
.service-page .aside-card { overflow: hidden; background: #FFFDF8; border: 1px solid #DDD7C8; border-radius: 3px 18px 3px 18px; box-shadow: 0 16px 34px -29px rgba(16,41,78,.55); }
.service-page .aside-card h3 {
  margin: 0; padding: 15px 20px; color: #FFFDF7; background: var(--service-navy);
  font-size: .77rem; font-weight: 700; letter-spacing: .13em; line-height: 1.35; text-transform: uppercase;
}
.service-page .aside-card ul { list-style: none; margin: 0; padding: 7px 20px 11px; }
.service-page .aside-card li { padding: 12px 0; margin: 0; border-bottom: 1px solid #E6E1D6; color: #5B6470; font-size: .9rem; line-height: 1.55; }
.service-page .aside-card li:last-child { border-bottom: 0; }
.service-page .aside-card strong { display: block; color: var(--service-navy); font-family: var(--font-display); font-size: .96rem; }
.service-page .aside-card a { display: block; color: var(--service-blue); font-weight: 600; text-decoration: none; }
.service-page .aside-card .service-location-phone { display: flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.service-page .aside-card a:hover { color: var(--gold-ink); text-decoration: underline; text-decoration-color: var(--service-gold); text-underline-offset: 4px; }
@media (max-width: 800px) {
  .service-page .svc-layout { grid-template-columns: 1fr; gap: 36px; }
  .service-page .svc-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .service-page .service-hero { padding-block: 30px 42px; }
  .service-page .service-hero h1 { font-size: clamp(2.2rem, 12vw, 3.15rem); }
  .service-page .prose h2 { margin-top: 1.6em; }
  .service-page .prose .check-list { padding: 18px; }
  .service-page .svc-aside { grid-template-columns: 1fr; }
}

/* ---------- Modern About page ---------- */
.about-mission-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 8vw, 100px); align-items: center; }
.about-mission-copy { position: relative; }
.about-mission-copy::before { content: "“"; position: absolute; left: -34px; top: 30px; color: rgba(150,130,67,.18); font: 700 7rem/1 var(--font-display); }
.about-mission-copy h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
.about-mission-copy p { font-size: 1.08rem; line-height: 1.85; }
.about-photo-stack { position: relative; min-height: 480px; }
.about-photo-main { position: absolute; inset: 0 0 50px 12%; overflow: hidden; border-radius: 22px; }
.about-photo-main img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-float { position: absolute; width: 48%; left: 0; bottom: 0; overflow: hidden; border: 8px solid var(--paper); border-radius: 18px; }
.about-photo-float img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-year { position: absolute; right: -12px; bottom: 24px; background: var(--brand); color: #fff; padding: 16px 22px; border-radius: 12px; font-size: .82rem; }
.about-year strong { display: block; color: #EDD9A3; font: 700 1.7rem/1 var(--font-display); margin-bottom: 4px; }
.about-timeline { max-width: 900px; margin: 0 auto; border-left: 1px solid rgba(150,130,67,.35); }
.about-era { display: grid; grid-template-columns: 70px 1fr; gap: 26px; padding: 0 0 36px 28px; position: relative; }
.about-era::before { content: ""; position: absolute; left: -6px; top: 5px; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px var(--cream); }
.about-era-n { color: var(--gold-ink); font: 700 .8rem/1.4 var(--font-display); letter-spacing: .12em; }
.about-era p { margin: 0; line-height: 1.78; }
.about-history-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.about-awards { text-align: center; }
.about-awards p { margin-left: auto; margin-right: auto; }
.about-awards-photo { display: block; width: 100%; max-width: 800px; height: auto; margin: 24px auto 0; border-radius: 14px; }
.about-history-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 14px; }
.about-people-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 170px; gap: 14px; }
.about-people-grid figure { overflow: hidden; border-radius: 16px; margin: 0; }
.about-people-grid figure:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.about-people-grid figure:nth-child(2) { grid-column: span 4; grid-row: span 3; }
.about-people-grid figure:nth-child(3) { grid-column: span 4; grid-row: span 2; }
.about-people-grid figure:nth-child(4), .about-people-grid figure:nth-child(5) { grid-column: span 4; }
.about-people-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) {
  .about-mission-grid { grid-template-columns: 1fr; }
  .about-photo-stack { min-height: 400px; }
  .about-history-gallery { grid-template-columns: 1fr; }
  .about-people-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; }
  .about-people-grid figure:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .about-people-grid figure:nth-child(3) { grid-column: span 2; }
}
@media (max-width: 480px) {
  .about-era { grid-template-columns: 38px 1fr; gap: 12px; padding-left: 20px; }
  .about-people-grid { grid-template-columns: 1fr; }
  .about-people-grid figure:nth-child(n) { grid-column: span 1; }
}
.page-hero .lede { color: var(--ink-soft); font-size: 1.08rem; line-height: 1.72; }

/* ---------- Sitewide content hierarchy ---------- */
/* Shared title treatment for every standard page body. The service template
   carries its own dark-field variation above; the homepage retains its hero art. */
main > section:not(.hero):not(.cta-band) > .wrap > h2:not(.visually-hidden),
main > section:not(.hero):not(.cta-band) .split > div > h2,
.section-head h2,
.about-mission-copy h2,
.policy-body h2,
.hs-card h3 {
  color: var(--title-navy);
  letter-spacing: -.028em;
}
main > section:not(.hero):not(.cta-band) > .wrap > h2:not(.visually-hidden),
main > section:not(.hero):not(.cta-band) .split > div > h2,
.section-head h2,
.about-mission-copy h2,
.policy-body h2 {
  position: relative;
  margin-bottom: .7em;
  padding-bottom: .42em;
}
main > section:not(.hero):not(.cta-band) > .wrap > h2:not(.visually-hidden)::after,
main > section:not(.hero):not(.cta-band) .split > div > h2::after,
.section-head h2::after,
.about-mission-copy h2::after,
.policy-body h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 42px; height: 3px;
  background: var(--title-gold);
}
main > section:not(.hero):not(.cta-band) .split > div > h2 {
  margin-bottom: .5em;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
}
.team-card h3,
.loc-card-body h3,
.card h3,
.about-era h3,
.review-item h3 { color: var(--title-navy); }
.policy-body h2 { margin-top: 2.15em; font-size: clamp(1.55rem, 2.8vw, 2.2rem); }
.policy-body h2 + p { margin-top: .9em; }
.review-item { border-top: 3px solid var(--title-gold-soft); }

/* ---------- Prose / service pages ---------- */
.prose h2 { margin-top: 1.4em; }
.prose ul { color: var(--ink); }
.svc-layout { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }
.svc-aside { position: sticky; top: 116px; display: grid; gap: 22px; }
.aside-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.aside-card h3 { font-size: 1.05rem; }
.aside-card .btn { width: 100%; margin-top: 8px; }
.aside-card ul { list-style: none; padding: 0; margin: 0; font-size: .93rem; }
.aside-card li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.aside-card li:last-child { border-bottom: 0; }
.svc-figure img { border-radius: 14px; box-shadow: var(--shadow); margin-bottom: 26px; }
@media (max-width: 900px) { .svc-layout { grid-template-columns: 1fr; } .svc-aside { position: static; } }

/* ---------- Team ---------- */
.team-card { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; box-shadow: var(--shadow-rest); }
.team-card img { width: 148px; height: 148px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 3px solid var(--brand-tint); }
.team-card h3 { margin-bottom: 2px; }
.team-card .role { font-size: .85rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--gold-ink); }

/* ---------- Contact / locations ---------- */
.contact-locations-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.contact-locations-grid .loc-card { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 1000px) { .contact-locations-grid { grid-template-columns: 1fr; } }
.loc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-rest); display: flex; flex-direction: column; }
.contact-highlights {
  display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 28px;
}
.contact-highlights > div {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  background: var(--brand-tint); border: 1px solid rgba(25, 59, 109, .12); border-radius: 16px;
}
.contact-highlights .icon-chip { flex: none; margin: 0; background: var(--brand); color: #fff; }
.contact-highlights p { display: grid; gap: 3px; margin: 0; color: var(--ink-soft); }
.contact-highlights strong { color: var(--ink); font-family: var(--font-display); }
.contact-highlights a { color: var(--brand); font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 700px) { .contact-highlights { grid-template-columns: 1fr; } }
.loc-card-photo { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--line); }
.loc-card-body { padding: 22px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.loc-card-body h3 { margin-bottom: 6px; }
.loc-line { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 9px; align-items: center; min-height: 44px; margin: 0; font-size: .95rem; color: var(--ink-soft); }
.loc-line svg { margin: 0; color: var(--brand); }
.loc-line a { min-width: 0; min-height: 44px; display: flex; align-items: center; overflow-wrap: anywhere; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .93rem; margin: 8px 0 4px; }
.hours-table caption { text-align: left; font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); padding-bottom: 6px; }
.hours-table td { padding: 4px 0; color: var(--ink-soft); }
.hours-table td:last-child { text-align: right; color: var(--ink); }
.loc-card-actions { margin-top: auto; padding-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.map-embed { border: 0; width: 100%; height: 380px; border-radius: var(--radius); box-shadow: var(--shadow-rest); }
.contact-social { margin: 28px 0 0; text-align: center; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band { background: #F1EBD9; color: var(--brand-dark); border-top: 4px solid var(--gold); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.cta-band h2 { color: var(--brand-dark); margin: 0 0 6px; }
.cta-band p { color: #394451; margin: 0; }
.cta-band .btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-dark); color: #C6D2E4; font-size: .93rem; }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 34px; padding: clamp(44px, 6vw, 64px) 0 34px; }
.footer-logo { background: #fff; border-radius: 12px; padding: 12px 16px; display: inline-block; margin-bottom: 16px; }
.footer-logo img { height: 52px; width: auto; }
.site-footer h3 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 4px; }
.site-footer a { color: #DCE4F0; text-decoration: none; display: inline-flex; min-height: 34px; align-items: center; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-loc { margin-bottom: 14px; }
.footer-loc strong { color: #fff; display: block; }
.social-link { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); align-items: center; justify-content: center; color: #fff; margin-top: 10px; }
.social-link:hover { background: rgba(255,255,255,.22); }
.footer-legal { border-top: 1px solid rgba(255,255,255,.15); padding: 20px 0 26px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: center; }
.footer-legal ul { display: flex; gap: 4px 18px; flex-wrap: wrap; }
.footer-legal p { margin: 0; max-width: none; }
@media (max-width: 960px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }

/* ---------- Policy pages ---------- */
.policy-body { max-width: 780px; }
.policy-body h2 { margin-top: 1.6em; }

/* ---------- Reviews page ---------- */
.review-cols { columns: 3; column-gap: 22px; }
.review-item { break-inside: avoid; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 22px; box-shadow: var(--shadow-rest); }
.review-item p { font-size: .95rem; margin-bottom: 10px; }
@media (max-width: 960px) { .review-cols { columns: 2; } }
@media (max-width: 620px) { .review-cols { columns: 1; } }

/* ---------- Portal page ---------- */
.feature-list { list-style: none; padding: 0; display: grid; gap: 18px; margin: 24px 0; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .icon-chip { margin: 0; }
.feature-list strong { display: block; }
.feature-list span.fd { color: var(--ink-soft); font-size: .95rem; }
.portal-shots { position: relative; min-height: 410px; }
.portal-shots img { position: absolute; width: 48%; max-width: 250px; border-radius: 20px; }
.portal-shots .ph-back { left: 8%; top: 8%; transform: rotate(-7deg); }
.portal-shots .ph-front { right: 8%; top: 2%; transform: rotate(5deg); }
@media (max-width: 860px) {
  .portal-shots { min-height: 0; height: 360px; margin-top: 10px; }
  .portal-shots img { width: 44%; }
}
.portal-list { list-style: none; margin: 18px 0 26px; padding: 0; }
.portal-list li { position: relative; padding-left: 26px; margin-bottom: 12px; }
.portal-list li::before { content: ""; position: absolute; left: 0; top: .42em; width: 11px; height: 11px; border-radius: 50%; background: var(--brand); }
.hs-card {
  background: var(--brand-tint); border-radius: 16px; padding: clamp(28px, 4vw, 48px);
  display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 4vw, 56px); align-items: center;
}
.hs-card h3 { font-size: 1.35rem; margin-bottom: .5em; }
.hs-card p { max-width: 58ch; margin-bottom: 20px; }
.hs-orb { width: 170px; height: 170px; border-radius: 50%; overflow: hidden; background: var(--brand-dark); display: flex; align-items: center; justify-content: center; }
.hs-orb img { width: 68%; height: auto; border-radius: 26px; }
@media (max-width: 700px) { .hs-card { grid-template-columns: 1fr; } .hs-orb { margin: 0 auto; } }

/* ---------- Compounding patient and provider guide ---------- */
.compound-guide { background: #edf2f7; border-top: 1px solid #d4deea; }
.compound-guide-intro { max-width: 760px; margin-bottom: 36px; }
.compound-guide-intro h2 { color: var(--brand-dark); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.compound-guide-intro > p:not(.kicker) { color: #465568; line-height: 1.7; }
.compound-jump { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.compound-jump a { display: inline-flex; align-items: center; gap: 16px; min-height: 48px; padding: 10px 18px; border: 1px solid var(--brand); border-radius: 8px; color: var(--brand); font-weight: 700; text-decoration: none; background: #fff; }
.compound-jump a:hover { background: var(--brand); color: #fff; }
.compound-audiences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.compound-audience { padding: 0; background: #fff; border: 1px solid #d4deea; border-radius: 16px; scroll-margin-top: 140px; }
.compound-audience-head { padding: 30px; background: #f7f4eb; border-radius: 15px 15px 0 0; border-top: 4px solid var(--gold); }
.compound-audience:nth-child(2) .compound-audience-head { background: var(--brand-dark); border-top-color: var(--gold); }
.compound-audience-icon { display: inline-flex; padding: 12px; color: var(--brand); background: #e9dfbd; border-radius: 12px; margin-bottom: 18px; }
.compound-audience-head h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.65rem, 2.5vw, 2rem); line-height: 1.18; color: var(--brand-dark); margin-bottom: 14px; }
.compound-audience-head p { color: #465568; margin: 0; line-height: 1.65; }
.compound-audience:nth-child(2) .compound-audience-head h2 { color: #fff; }
.compound-audience:nth-child(2) .compound-audience-head p { color: #dae3ef; }
.compound-topic { border-top: 1px solid #dbe3ec; }
.compound-topic summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 20px 26px; color: var(--brand-dark); font-weight: 700; line-height: 1.5; cursor: pointer; }
.compound-topic summary::-webkit-details-marker { display: none; }
.compound-topic summary svg { flex: none; transition: transform .2s; }
.compound-topic[open] summary svg { transform: rotate(180deg); }
.compound-topic summary:hover, .compound-topic[open] summary { background: #f3f6fa; }
.compound-topic summary:focus-visible { outline: 3px solid var(--brand); outline-offset: -4px; border-radius: 4px; }
.compound-answer { padding: 0 26px 24px; color: #394451; line-height: 1.8; }
.compound-answer p { margin: 16px 0 0; max-width: none; }
.compound-answer ul { padding-left: 22px; margin: 16px 0; }
.compound-answer li { margin-bottom: 10px; }
.compound-answer li::marker { color: var(--brand); }
.compound-contact { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding: 30px; margin-top: 30px; border-left: 4px solid var(--gold); background: #fff; }
.compound-contact h3 { color: var(--brand-dark); margin-bottom: 8px; }
.compound-contact p { color: #465568; margin: 0; max-width: 58ch; }
.compound-contact .btn { flex: none; }
.compound-source { font-size: .875rem; color: #526174; max-width: 95ch; margin: 24px 0 0; line-height: 1.7; }
@media (max-width: 800px) {
  .compound-audiences { grid-template-columns: 1fr; }
  .compound-audience-head { padding: 24px; }
  .compound-topic summary { padding-inline: 22px; }
  .compound-answer { padding-inline: 22px; }
  .compound-contact { padding: 24px; }
}

.portal-phones.portal-single, .portal-shots.portal-single { display: flex; align-items: center; justify-content: center; min-height: 0; height: auto; padding: 28px 0; }
.portal-single img.ph-front { position: relative; inset: auto; width: min(64%, 270px); height: auto; transform: rotate(3deg); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
