/* =========================================================
   Coyle Internal Medicine — Design System
   ========================================================= */
:root {
  --navy: #0a3d62;
  --navy-dark: #062a47;
  --navy-soft: #e8f0f7;
  --navy-tint: #f4f8fc;
  --gold: #c9a14a;
  --gold-dark: #a8852f;
  --gold-soft: #f7f0db;
  --white: #ffffff;
  --bg: #fbfcfd;
  --ink: #11253a;
  --ink-soft: #56697d;
  --ink-mute: #8597a8;
  --border: #e3e8ee;
  --border-strong: #c8d3df;
  --shadow-sm: 0 1px 2px rgba(10, 61, 98, 0.06);
  --shadow-md: 0 4px 16px rgba(10, 61, 98, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 61, 98, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", "Iowan Old Style", serif;
  --container: 1140px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* =========================================================
   Reset + base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--gold-dark); }
button { font: inherit; cursor: pointer; }

h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--navy-dark);
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  line-height: 1.15;
}
h1 { font-size: clamp(2rem, 4.2vw + 1rem, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; font-family: var(--font-sans); color: var(--ink); letter-spacing: 0; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.lead { font-size: 1.15rem; color: var(--ink); line-height: 1.6; }

/* =========================================================
   Layout helpers
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head .eyebrow { color: var(--gold-dark); }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .75rem;
}
.divider {
  width: 56px; height: 3px;
  background: var(--gold);
  border: 0; border-radius: 2px;
  margin: 0 0 1.25rem;
}
.section-head .divider { margin: 0 auto 1.25rem; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.4rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: transform .12s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease), color .15s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--navy); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--navy-dark); color: var(--white); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy-dark); }
.btn--gold { background: var(--gold); color: var(--navy-dark); }
.btn--gold:hover { background: var(--gold-dark); color: var(--white); }
.btn svg { width: 18px; height: 18px; }

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .9rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--navy-dark);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.1;
}
.brand:hover { color: var(--navy-dark); }
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--navy);
  color: var(--white);
  border-radius: 9px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .02em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.brand-logo {
  display: block;
  height: 112px;
  width: auto;
}
@media (max-width: 900px) {
  .brand-logo { height: 72px; }
}
@media (max-width: 600px) {
  .brand-logo { height: 56px; }
}

/* Toggle full-text label vs short-text label inside nav CTAs */
.nav-cta-short { display: none; }
.brand-text small {
  display: block;
  font-family: var(--font-sans);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links li {
  position: relative;
  padding: 0 1.35rem;
}
.nav-links li:first-child { padding-left: 0; }
.nav-links li:last-child  { padding-right: 0; }
.nav-links li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 22px;
  background: var(--gold);
}
.nav-links a {
  color: var(--ink);
  font-weight: 600;
  font-size: 1.1rem;
  padding: .35rem 0;
  position: relative;
  letter-spacing: .01em;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a[aria-current="page"] { color: var(--navy-dark); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--gold);
  border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: .75rem; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--navy-tint);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--navy);
  transition: background .15s var(--ease), border-color .15s var(--ease);
}
.nav-toggle:hover { background: var(--navy-soft); border-color: var(--navy); }
.nav-toggle svg { width: 24px; height: 24px; }

/* CTAs injected into the open mobile menu — hidden by default,
   only shown inside the open mobile dropdown */
.nav-cta-mobile { display: none; }
.nav-cta-mobile .btn { width: 100%; justify-content: center; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }

  /* Compact CTAs inline on mobile */
  .nav-cta { gap: .5rem; }
  .nav-cta .btn { padding: .55rem .85rem; font-size: .95rem; }
  .nav-cta .btn--ghost { padding: .55rem; }
  .nav-cta .nav-cta-text { display: none; }
  .nav-cta .nav-cta-short { display: inline; }

  .nav { position: relative; }

  .nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    left: -1.25rem;
    right: -1.25rem;
    top: calc(100% + .9rem);
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: .5rem 1.25rem 1.25rem;
    z-index: 49;
  }
  .nav.is-open .nav-links > li { width: 100%; padding: 0; }
  .nav.is-open .nav-links > li::after { display: none; }
  .nav.is-open .nav-links a {
    display: block;
    width: 100%;
    padding: .95rem .25rem;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
  }
  .nav.is-open .nav-links a[aria-current="page"] { color: var(--navy-dark); }
  .nav.is-open .nav-links a[aria-current="page"]::after { display: none; }

  .nav.is-open .nav-cta-mobile {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding-top: 1rem;
    margin-top: .5rem;
    border-top: 1px solid var(--border);
  }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  background-image:
    linear-gradient(100deg,
      rgba(6, 42, 71, 0.94) 0%,
      rgba(10, 61, 98, 0.82) 45%,
      rgba(10, 61, 98, 0.55) 100%),
    url("assets/holiday_streetscape_beaver_pa.jpg");
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
  color: var(--white);
}
.hero::after { display: none; }

/* Light-on-dark overrides for the photo hero */
.hero h1 { color: var(--white); }
.hero .lead { color: rgba(255, 255, 255, 0.88); }
.hero .eyebrow { color: var(--gold); }
.hero .hero-meta { color: rgba(255, 255, 255, 0.82); }
.hero .hero-meta strong { color: var(--white); }
.hero .hero-meta-item svg { color: var(--gold); }
.hero .btn--primary { background: var(--gold); color: var(--navy-dark); }
.hero .btn--primary:hover { background: var(--gold-dark); color: var(--white); }
.hero .btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.hero .btn--ghost:hover { color: var(--white); border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 { margin-top: .5rem; }
.hero .lead { max-width: 540px; }
.hero-actions {
  display: flex; flex-wrap: wrap; gap: .75rem;
  margin-top: 1.75rem;
}
.hero-meta {
  margin-top: 2rem;
  display: flex; flex-wrap: wrap;
  gap: 1.5rem 2rem;
  color: var(--ink-soft);
  font-size: .92rem;
}
.hero-meta strong { color: var(--ink); font-weight: 600; }
.hero-meta-item { display: flex; align-items: center; gap: .55rem; }
.hero-meta-item svg { width: 18px; height: 18px; color: var(--gold-dark); flex-shrink: 0; }

.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(201,161,74,.5), transparent 40%);
  z-index: -1;
}
.hero-portrait {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  overflow: hidden;
  position: relative;
}
.hero-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-portrait span { position: relative; z-index: 1; }

.hero-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem .5rem .25rem;
}
.hero-card-meta-name {
  font-family: var(--font-serif);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 1.05rem;
}
.hero-card-meta-title {
  color: var(--ink-soft);
  font-size: .85rem;
}
.hero-card-badge {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
  background: var(--gold-soft);
  padding: .35rem .6rem;
  border-radius: 999px;
}

@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .hero-card { max-width: 420px; margin: 0 auto; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-meta { justify-content: center; }
}

/* =========================================================
   Page header (interior pages) — Beaver Main Street background
   ========================================================= */
.page-header {
  position: relative;
  background-image:
    linear-gradient(100deg,
      rgba(6, 42, 71, 0.94) 0%,
      rgba(10, 61, 98, 0.82) 45%,
      rgba(10, 61, 98, 0.55) 100%),
    url("assets/beavermainst.png");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.5rem);
  color: var(--white);
}
.page-header h1 { max-width: 800px; color: var(--white); }
.page-header .lead { max-width: 680px; color: rgba(255, 255, 255, 0.88); }
.page-header .eyebrow { color: var(--gold); }

.page-header--centered { text-align: center; }
.page-header--centered h1 { margin-left: auto; margin-right: auto; }
.page-header--centered .lead { margin-left: auto; margin-right: auto; }
.page-header--centered .divider { margin-left: auto; margin-right: auto; }

/* Auto-center page headers on mobile (Services / Contact catch-all) */
@media (max-width: 880px) {
  .page-header { text-align: center; }
  .page-header h1 { margin-left: auto; margin-right: auto; }
  .page-header .lead { margin-left: auto; margin-right: auto; }
  .page-header .divider { margin-left: auto; margin-right: auto; }
}

/* Section with split content stacked vertically and all centered */
.section--centered .split {
  grid-template-columns: 1fr;
  text-align: center;
  gap: 2.5rem;
}
.section--centered .split-media {
  max-width: 480px;
  margin: 0 auto;
}
.section--centered .split > *:not(.split-media) {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.section--centered .split .divider {
  margin-left: auto;
  margin-right: auto;
}
.section--centered .pullquote {
  border-left: 0;
  border-top: 3px solid var(--gold);
  padding: 1.5rem 0 0;
  margin: 2rem auto;
  text-align: center;
}

/* Section with a photo background and a soft white overlay (narrative sections) */
.section--photo {
  background-image:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.80) 0%,
      rgba(255, 255, 255, 0.72) 100%),
    url("assets/cimrealoffice.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* =========================================================
   Feature cards (trust pillars / services)
   ========================================================= */
.feature-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--navy-soft);
  color: var(--navy);
  display: grid; place-items: center;
  margin-bottom: 1rem;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: .35rem; }
.feature p { margin: 0; font-size: .96rem; }

.feature--accent .feature-icon { background: var(--gold-soft); color: var(--gold-dark); }

@media (max-width: 600px) {
  .feature { text-align: center; }
  .feature .feature-icon { margin-left: auto; margin-right: auto; }
  .feature .treatment-list { display: inline-grid; text-align: left; }
  .feature--wide .feature-link { justify-self: center; }
}

/* Full-width featured card inside the .feature-grid */
.feature--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem 1.75rem;
}
.feature--wide .feature-icon { margin-bottom: 0; }
.feature--wide h3 { margin-bottom: .25rem; }
.feature--wide p { margin: 0; max-width: 56ch; }
.feature--wide .feature-link { margin-top: 0; white-space: nowrap; }
@media (max-width: 720px) {
  .feature--wide {
    grid-template-columns: auto 1fr;
    row-gap: .75rem;
  }
  .feature--wide .feature-link {
    grid-column: 2 / 3;
    justify-self: start;
  }
}
@media (max-width: 480px) {
  .feature--wide { grid-template-columns: 1fr; }
  .feature--wide .feature-link { grid-column: 1; justify-self: center; }
}

.treatment-label {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 700;
  margin: 1.25rem 0 .55rem;
}
.treatment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .4rem;
}
.treatment-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--ink);
  font-size: .94rem;
  line-height: 1.5;
}
.treatment-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* Cosmetic-section cards: center icons, headings, and subheadings at all viewports */
#cosmetic .feature { text-align: center; }
#cosmetic .feature .feature-icon { margin-left: auto; margin-right: auto; }
#cosmetic .feature .treatment-list { display: inline-grid; text-align: left; }

/* Trust badge — supplier / training affiliation displayed above a card grid */
.brand-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.brand-trust-label {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 700;
  margin: 0;
}
.brand-trust-logo {
  height: 42px;
  width: auto;
  display: block;
  opacity: .85;
  filter: saturate(.9);
}
.brand-trust-attribution {
  font-size: .65rem;
  letter-spacing: .04em;
  color: var(--ink-mute);
  opacity: .55;
  margin-top: .15rem;
}
.brand-trust-attribution a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.brand-trust-attribution a:hover { color: var(--navy); opacity: 1; }

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: 1rem;
  font-weight: 600;
  font-size: .92rem;
  color: var(--navy);
}
.feature-link svg { width: 14px; height: 14px; transition: transform .15s var(--ease); }
.feature-link:hover svg { transform: translateX(3px); }

/* =========================================================
   Split (image + text) panel
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split-media {
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, var(--navy-soft) 0%, #d9e6f1 100%);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--ink-mute);
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
.split-media::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(closest-side at 25% 25%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(closest-side at 80% 80%, rgba(201,161,74,.18), transparent 65%);
}
.split-media span { position: relative; z-index: 1; }
.split-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.split-media:has(img)::before { display: none; }
.split-media--portrait { aspect-ratio: 3 / 4; }
.split h2 { margin-top: .25rem; }

@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; text-align: center; }
  .split-media { max-width: 480px; margin: 0 auto; }
  .split .divider { margin-left: auto; margin-right: auto; }

  .cta-strip {
    justify-content: center;
    text-align: center;
  }
  .cta-strip p { margin-left: auto; margin-right: auto; }
  .cta-strip-actions { justify-content: center; }
}

/* =========================================================
   List with checkmarks
   ========================================================= */
.checklist {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: .9rem;
}
.checklist li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: .85rem;
  align-items: flex-start;
  color: var(--ink);
}
.checklist li::before {
  content: "";
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23a8852f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 10.5 9 14.5 15 7'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
  margin-top: 2px;
}

/* =========================================================
   CTA strip
   ========================================================= */
.cta-strip {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(201,161,74,.22), transparent 70%);
  right: -80px; top: -120px;
}
.cta-strip h2 { color: var(--white); margin: 0 0 .35rem; }
.cta-strip p { color: rgba(255,255,255,.78); margin: 0; max-width: 520px; }
.cta-strip-actions { display: flex; flex-wrap: wrap; gap: .75rem; position: relative; z-index: 1; }

/* =========================================================
   About + credentials
   ========================================================= */
.credentials {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.credentials h3 {
  font-family: var(--font-serif);
  color: var(--navy-dark);
  font-size: 1.1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: .5rem;
  margin-bottom: .75rem;
}
.credentials ul { list-style: none; padding: 0; margin: 0; }
.credentials li {
  padding: .35rem 0;
  color: var(--ink);
  font-size: .95rem;
}
.credentials li span {
  display: block;
  color: var(--ink-mute);
  font-size: .85rem;
}

.pullquote {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.5vw + 1rem, 1.65rem);
  line-height: 1.45;
  color: var(--navy-dark);
  border-left: 3px solid var(--gold);
  padding: .25rem 0 .25rem 1.5rem;
  margin: 2rem 0;
  max-width: 760px;
}

/* =========================================================
   Contact page
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: grid;
  gap: 1.25rem;
}
.contact-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  align-items: flex-start;
}
.contact-item-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--navy-soft);
  color: var(--navy);
  display: grid; place-items: center;
}
.contact-item-icon svg { width: 20px; height: 20px; }
.contact-item h3 {
  margin: 0 0 .15rem;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}
.contact-item p { margin: 0; color: var(--ink); }
.contact-item a { font-weight: 600; }

.form-slot {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  min-height: 460px;
  display: flex;
  flex-direction: column;
}
.form-slot h2 { font-family: var(--font-sans); font-size: 1.25rem; color: var(--ink); margin-bottom: .25rem; }
.form-slot > p { margin-bottom: 1.25rem; }
.form-embed {
  flex: 1;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  color: var(--ink-mute);
  background: var(--navy-tint);
  font-size: .9rem;
  text-align: center;
  padding: 2rem;
}

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { gap: 2rem; }
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}
.hours-table td {
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .95rem;
}
.hours-table td:last-child { text-align: right; color: var(--ink-soft); }
.hours-table tr:last-child td { border-bottom: 0; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.78);
  padding: 4rem 0 1.5rem;
  margin-top: 5rem;
}
.footer-top {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1.4fr 1fr 1fr;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand { color: var(--white); }
.footer-brand .brand { color: var(--white); }
.footer-brand p {
  margin: 1rem 0 0;
  color: rgba(255,255,255,.7);
  max-width: 360px;
}
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .55rem; font-size: .95rem; }
.footer-col a { color: rgba(255,255,255,.78); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
}
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom .powered-by-link {
  color: #c084fc;
  font-weight: 600;
  text-decoration: none;
}
.footer-bottom .powered-by-link:hover { color: #d8b4fe; }

@media (max-width: 720px) {
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}

/* =========================================================
   404
   ========================================================= */
.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1.25rem;
}
.not-found .eyebrow { color: var(--gold-dark); }

/* =========================================================
   Utility / accessibility
   ========================================================= */
.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;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
