/* Virginia Dental Care - New Patients landing.
   Standalone stylesheet (no framework). Design tokens mirror the main site. */

:root {
  color-scheme: light;
  --ink: #121212;
  --muted: #5d5d5d;
  --brand-fill: #121212;
  --on-brand: #ffffff;
  --brand-deep: #050505;
  --gold: #c7a44a;
  --mist: #f4f4f2;
  --line: #d8d8d2;
  --surface: #ffffff;
  --page: #ffffff;
  --header-bg: rgba(5, 5, 5, 0.96);
  --hero-bg: #050505;
  --booking-bg: #f4f4f2;
  --warm-panel: #050505;
  --warm-text: #ffffff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.1);
  --display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f5f5f2;
  --muted: #bdbdb7;
  --brand-fill: #f5f5f2;
  --on-brand: #050505;
  --brand-deep: #ffffff;
  --gold: #d2b25b;
  --mist: #111111;
  --line: #2a2a2a;
  --surface: #0b0b0b;
  --page: #050505;
  --header-bg: rgba(5, 5, 5, 0.94);
  --booking-bg: #0b0b0b;
  --warm-panel: #f5f5f2;
  --warm-text: #050505;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

svg {
  flex: 0 0 auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  color: #050505;
  background: var(--gold);
  font-weight: 850;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Icons ---------- */

.i {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.i-17 { width: 17px; height: 17px; }
.i-18 { width: 18px; height: 18px; }
.i-22 { width: 22px; height: 22px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(10px, 1.25vw, 18px);
  align-items: center;
  min-height: 72px;
  padding: 12px clamp(18px, 3vw, 40px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  grid-column: 1;
  grid-row: 1;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
}

.brand-emblem {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: contain;
}

.brand-wordmark {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.brand-rule {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gold);
}

.brand strong,
.brand small {
  display: block;
  color: #ffffff;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand strong {
  font-family: "Avenir Next Condensed", "Arial Narrow", var(--display);
  font-size: clamp(0.98rem, 1.12vw, 1.24rem);
  font-weight: 900;
  letter-spacing: 0.06em;
}

.brand small {
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.24em;
}

.site-nav {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  display: flex;
  gap: clamp(10px, 1vw, 16px);
  align-items: center;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.site-nav a {
  padding: 8px 0;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold);
}

.header-actions {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  gap: 8px;
  align-items: center;
}

.social-links {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.social-links a {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: #050505;
}

.phone-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 850;
  white-space: nowrap;
}

.theme-toggle,
.menu-button {
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  color: #ffffff;
  background: #050505;
  cursor: pointer;
  line-height: 1;
}

.theme-toggle {
  width: 40px;
  height: 40px;
}

.menu-button {
  grid-column: 4;
  grid-row: 1;
  display: none;
  width: 46px;
  height: 46px;
}

.theme-toggle .icon-sun,
:root[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

.menu-button .icon-close,
.site-header.is-open .menu-button .icon-open {
  display: none;
}

.site-header.is-open .menu-button .icon-close {
  display: block;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--on-brand);
  background: var(--brand-fill);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.btn-secondary {
  color: var(--brand-deep);
  border-color: var(--line);
  background: var(--surface);
}

.site-header .btn-primary {
  min-height: 40px;
  padding: 0 14px;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
  box-shadow: none;
  font-size: 0.76rem;
}

.btn-gold,
.hero .btn-primary,
.cta-band .btn-primary {
  color: #050505;
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: none;
}

.btn-ghost,
.hero .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.42);
  background: transparent;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(470px, 1fr) auto;
  min-height: calc(100svh - 72px);
  max-height: 900px;
  align-items: center;
  overflow: hidden;
  padding: clamp(44px, 7vw, 82px) clamp(20px, 6vw, 76px) clamp(54px, 5vw, 78px);
  background: var(--hero-bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  filter: grayscale(1) contrast(1.04);
  object-fit: cover;
  object-position: 60% 40%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.74), rgba(5, 5, 5, 0.48) 34%, rgba(5, 5, 5, 0.76) 66%, rgba(5, 5, 5, 0.94)),
    linear-gradient(90deg, rgba(5, 5, 5, 0.62), rgba(5, 5, 5, 0.18), rgba(5, 5, 5, 0.64));
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 1;
  grid-row: 1;
  align-self: center;
  width: min(1100px, 100%);
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: #ffffff;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.4vw, 5rem);
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero-lede {
  max-width: 740px;
  margin: 24px auto 0;
  color: #ededed;
  font-size: clamp(1.05rem, 1.45vw, 1.24rem);
  font-weight: 460;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.hero-panel {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(170px, 1fr));
  width: min(var(--max), 100%);
  margin: 0 auto;
  overflow: hidden;
  transform: translateY(-40px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(5, 5, 5, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-panel div {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 850;
}

.hero-panel svg {
  color: var(--gold);
}

.hero-panel div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

/* ---------- Sections ---------- */

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
  scroll-margin-top: 92px;
}

.section-tint {
  width: 100%;
  padding-inline: max(20px, calc((100vw - var(--max)) / 2));
  background: var(--booking-bg);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-heading > span,
.kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

h2.title,
.section-heading h2 {
  margin: 0;
  color: var(--brand-deep);
  font-family: var(--display);
  font-size: 3.4rem;
  font-weight: 420;
  line-height: 0.98;
}

.section-heading p,
.lede {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.why-grid article,
.financing-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.06);
}

.why-grid .icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--gold);
  background: #050505;
}

.why-grid h3,
.financing-grid h3 {
  margin: 0;
  color: var(--brand-deep);
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.02;
}

.why-grid p,
.financing-grid p {
  margin: 0;
  color: var(--muted);
  font-weight: 560;
}

.financing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 560px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  filter: grayscale(1) contrast(1.05);
  object-fit: cover;
}

.split-media img.badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 78px;
  height: 78px;
  min-height: 0;
  max-height: none;
  padding: 8px;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  filter: none;
  object-fit: contain;
}

.split.reverse .split-media {
  order: 2;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 2px 16px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--mist);
}

.steps .num {
  grid-row: span 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--on-brand);
  background: var(--brand-fill);
  font-weight: 950;
}

.steps strong {
  font-size: 1.02rem;
  font-weight: 950;
}

.steps p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 26px;
  font-weight: 750;
}

.checklist li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--gold);
  border-radius: 50%;
  content: "";
}

.note {
  margin: 22px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--gold);
  background: var(--mist);
  color: var(--muted);
  font-size: 0.95rem;
}

.doctor {
  display: grid;
  grid-template-columns: minmax(260px, 0.5fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.doctor-photo img {
  width: 100%;
  max-height: 560px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  filter: grayscale(1) contrast(1.05);
  object-fit: cover;
  object-position: center top;
}

.doctor h2 {
  margin: 0;
  color: var(--brand-deep);
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.05;
}

.doctor .role {
  display: block;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.doctor p {
  max-width: 620px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
  color: var(--brand-deep);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 5px;
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.faq details {
  border: 1px solid var(--line);
  background: var(--surface);
}

.faq summary {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  font-weight: 850;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  content: "+";
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

/* ---------- CTA band ---------- */

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 52px);
  color: var(--warm-text);
  background: var(--warm-panel);
  border: 1px solid rgba(199, 164, 74, 0.42);
}

.cta-band h2 {
  margin: 0;
  color: var(--warm-text);
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 420;
  line-height: 1;
}

.cta-band p {
  max-width: 600px;
  margin: 14px 0 0;
  color: var(--warm-text);
  opacity: 0.86;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

:root[data-theme="dark"] .cta-band .btn-ghost {
  color: #050505;
  border-color: rgba(5, 5, 5, 0.5);
}

/* ---------- Location ---------- */

.location {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: stretch;
}

.location address {
  display: grid;
  gap: 18px;
  margin: 26px 0;
  font-style: normal;
}

.location address div {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-weight: 700;
}

.location address svg {
  margin-top: 3px;
  color: var(--gold);
}

.map-panel {
  min-height: 380px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.map-panel iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 34px 18px 38px;
  color: #ffffff;
  text-align: center;
  border-top: 1px solid rgba(199, 164, 74, 0.42);
  background: #050505;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 8px;
  font-weight: 900;
}

.site-footer nav span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.site-footer a:hover {
  text-decoration: underline;
}

.mobile-bottom-bar {
  display: none;
}

/* ---------- Responsive ---------- */

@media (min-width: 1121px) and (max-width: 1380px) {
  .site-nav {
    gap: clamp(8px, 0.95vw, 13px);
    font-size: 0.68rem;
  }

  .phone-link {
    font-size: 0.82rem;
  }
}

@media (max-width: 1120px) {
  .site-header {
    padding: 12px 18px;
  }

  .menu-button {
    display: inline-grid;
    grid-column: 3;
    justify-self: end;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .site-header.is-open {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-header.is-open .menu-button {
    grid-column: 2;
  }

  .site-header.is-open .site-nav,
  .site-header.is-open .header-actions {
    grid-column: 1 / -1;
    display: grid;
    justify-self: stretch;
    justify-items: start;
    gap: 14px;
  }

  .site-header.is-open .site-nav {
    grid-row: 2;
    padding-top: 8px;
  }

  .site-header.is-open .header-actions {
    grid-row: 3;
    grid-auto-flow: column;
    justify-content: start;
    flex-wrap: wrap;
    padding-bottom: 8px;
  }

  .site-header.is-open .header-actions {
    display: flex;
  }

  .hero {
    min-height: auto;
    max-height: none;
  }

  .hero-panel {
    transform: none;
    margin-top: 28px;
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .doctor,
  .location,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-media {
    order: 0;
  }

  .split-media img {
    min-height: 320px;
    max-height: 460px;
  }

  .doctor-photo img {
    max-height: 480px;
  }

  .financing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 92px;
  }

  .site-header {
    min-height: 68px;
    padding: 12px 16px;
  }

  .brand-logo {
    gap: 10px;
  }

  .brand-emblem {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
  }

  .brand strong {
    font-size: clamp(0.72rem, 3vw, 0.96rem);
  }

  .brand small {
    font-size: 0.52rem;
    letter-spacing: 0.18em;
  }

  .hero {
    grid-template-rows: auto auto;
    padding: 56px 18px 28px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 9.5vw, 2.8rem);
    line-height: 1.04;
  }

  .eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    width: 100%;
    margin-bottom: 68px;
  }

  .hero-panel div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
  }

  .section {
    width: calc(100% - 32px);
    padding: 64px 0;
    scroll-margin-top: 84px;
  }

  .section-tint {
    width: 100%;
    padding-inline: 16px;
  }

  h2.title,
  .section-heading h2 {
    font-size: 2.45rem;
  }

  .why-grid,
  .financing-grid {
    grid-template-columns: 1fr;
  }

  .steps li {
    grid-template-columns: 1fr;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .location address div {
    font-size: 0.98rem;
  }

  .map-panel,
  .map-panel iframe {
    min-height: 320px;
  }

  .mobile-bottom-bar {
    position: sticky;
    bottom: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid #d8d8d2;
    background: #ffffff;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.12);
  }

  .mobile-bottom-bar a {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    background: #050505;
    font-weight: 950;
  }

  .mobile-bottom-bar a + a {
    color: #050505;
    background: var(--gold);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Tooth extractions additions ---------- */

.why-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.alert {
  margin: 22px 0 0;
  padding: 16px 18px;
  border-left: 3px solid #b3261e;
  background: var(--mist);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 650;
}

.alert strong {
  color: var(--brand-deep);
}

.card-link {
  align-self: end;
  margin-top: 6px;
}

@media (max-width: 1120px) {
  .why-grid.three {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .why-grid.three {
    grid-template-columns: 1fr;
  }
}

/* ---------- Dental emergency additions ---------- */

.emergency-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 14px;
  padding: 9px 16px;
  color: #050505;
  background: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.emergency-bar a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.triage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.triage-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.06);
}

.triage-card.urgent {
  border-top-color: #b3261e;
}

.triage-card h3 {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0;
  color: var(--brand-deep);
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 500;
  line-height: 1.02;
}

.triage-card.urgent h3 svg {
  color: #b3261e;
}

.triage-card:not(.urgent) h3 svg {
  color: var(--gold);
}

.triage-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.triage-card li {
  position: relative;
  padding-left: 24px;
  font-weight: 700;
}

.triage-card li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--gold);
  border-radius: 50%;
  content: "";
}

.triage-card.urgent li::before {
  background: #b3261e;
}

.triage-card .btn {
  justify-self: start;
  margin-top: 6px;
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.info-strip > div {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: clamp(20px, 3vw, 30px);
}

.info-strip > div + div {
  border-left: 1px solid var(--line);
}

.info-strip svg {
  color: var(--gold);
}

.info-strip h3 {
  margin: 0;
  color: var(--brand-deep);
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.05;
}

.info-strip p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 1120px) {
  .triage-grid {
    grid-template-columns: 1fr;
  }

  .info-strip {
    grid-template-columns: 1fr;
  }

  .info-strip > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .emergency-bar {
    font-size: 0.74rem;
  }

  .triage-card .btn {
    justify-self: stretch;
  }
}
