/* ==========================================================================
   East Yorkshire Back Clinic — stylesheet
   Clean & clinical design system
   ========================================================================== */

:root {
  --navy-900: #0a2f5c;
  --navy-800: #123a6e;
  --navy-700: #173979;
  --navy-600: #2e78b7;
  --teal-600: #f97f26;
  --teal-700: #b85d1c;
  --teal-100: #fef2e9;
  --ink-900: #16202b;
  --ink-700: #3c4a58;
  --ink-500: #64748b;
  --paper-0: #ffffff;
  --paper-50: #f6f9fb;
  --paper-100: #eef3f7;
  --line-200: #e2e8f0;
  --gold-500: #d9a441;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.06), 0 1px 3px rgba(10, 37, 64, 0.08);
  --shadow-md: 0 4px 12px rgba(10, 37, 64, 0.08), 0 2px 4px rgba(10, 37, 64, 0.06);
  --shadow-lg: 0 12px 32px rgba(10, 37, 64, 0.12), 0 4px 8px rgba(10, 37, 64, 0.06);

  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink-900);
  background: var(--paper-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
svg { width: 20px; height: 20px; flex: none; vertical-align: -4px; }
h1 svg, h2 svg { display: none; }
.card-icon svg { width: 24px; height: 24px; vertical-align: baseline; }
.stats-icon svg { width: 18px; height: 18px; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--navy-900);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 300; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-700); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-700);
  background: var(--teal-100);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  white-space: normal;
  text-align: center;
  max-width: 100%;
}
.btn:hover { transform: translateY(-1px); }
.btn-book {
  background: var(--teal-600);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-book:hover { background: var(--teal-700); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-navy {
  background: var(--navy-800);
  color: #fff;
}
.btn-navy:hover { background: var(--navy-900); }
.btn-ghost {
  background: var(--paper-100);
  color: var(--navy-800);
}
.btn-ghost:hover { background: var(--line-200); }
.btn-outline-navy {
  background: transparent;
  border-color: var(--navy-700);
  color: var(--navy-800);
}
.btn-outline-navy:hover { background: var(--paper-100); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-900);
  color: #cfe0ee;
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: #cfe0ee; }
.topbar .topbar-locations { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar .topbar-locations a:hover { color: #fff; }
.topbar .topbar-phone { font-weight: 700; color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line-200);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-900);
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  flex: none;
}
.brand-text { line-height: 1.15; }
.brand-text strong { display: block; font-size: 1.08rem; color: var(--navy-900); }
.brand-text span { display: block; font-size: 0.78rem; color: var(--ink-500); letter-spacing: 0.03em; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 54px; width: auto; flex: none; }
.brand-text-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
@media (max-width: 640px) { .brand-logo { height: 42px; } }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
}
.main-nav a.nav-link {
  display: inline-block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink-700);
  font-weight: 600;
  font-size: 0.94rem;
}
.main-nav a.nav-link:hover { background: var(--paper-100); color: var(--navy-900); text-decoration: none; }
.main-nav a.nav-link.is-active { color: var(--navy-900); background: var(--paper-100); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; }

@media (max-width: 1140px) {
  .main-nav ul { display: none; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--paper-100);
    border: 1px solid var(--line-200);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-weight: 700;
    color: var(--navy-900);
  }
  .main-nav.is-open ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line-200);
    padding: 8px 16px 16px;
    box-shadow: var(--shadow-md);
  }
}

@media (max-width: 640px) {
  .site-header .container { gap: 10px; padding-left: 16px; padding-right: 16px; }
  .brand { gap: 8px; min-width: 0; }
  .brand-mark { width: 38px; height: 38px; font-size: 0.95rem; }
  .brand-text strong { font-size: 0.92rem; }
  .brand-text span { display: none; }
  .nav-toggle { padding: 9px 10px; font-size: 0.85rem; }
  .nav-cta.btn { padding: 9px 12px; font-size: 0.82rem; }
  .topbar .container { padding-left: 16px; padding-right: 16px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .booking-strip .container { flex-direction: column; align-items: flex-start; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(249,127,38,0.35), transparent 60%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff;
  padding: 64px 0 76px;
  position: relative;
  overflow: hidden;
}
.hero.hero-compact { padding: 36px 0 80px; }
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 3;
}
.hero.hero-compact .container { grid-template-columns: 1fr; text-align: left; gap: 6px; }
@media (max-width: 880px) {
  .hero .container { grid-template-columns: 1fr; text-align: left; }
}
.hero h1 { color: #fff; }
.hero p.lead { color: #d7e6f2; font-size: 1.12rem; max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Decorative treatment for dark sections (hero-compact + section-navy) ---------- */
.hero::before, .section-navy::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1.5px 1.5px, rgba(255,255,255,0.16) 1.5px, transparent 0);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 900px 500px at 78% 15%, #000 0%, transparent 72%);
          mask-image: radial-gradient(ellipse 900px 500px at 78% 15%, #000 0%, transparent 72%);
  z-index: 1;
  pointer-events: none;
}
.hero::after, .section-navy::after {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,127,38,0.45), transparent 70%);
  top: -180px; right: -120px;
  z-index: 1;
  pointer-events: none;
  animation: driftGlow 9s ease-in-out infinite alternate;
}
.section-navy::after { background: radial-gradient(circle, rgba(46,120,183,0.4), transparent 70%); top: auto; bottom: -220px; left: -140px; right: auto; }
@keyframes driftGlow {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-18px, 14px) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::after, .section-navy::after { animation: none; }
}

.icon-badge {
  position: relative; z-index: 3;
  width: 58px; height: 58px;
  border-radius: 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: center;
  color: #faa567;
  margin-bottom: 14px;
  backdrop-filter: blur(2px);
}
.icon-badge svg { width: 28px; height: 28px; }
.section-navy .icon-badge { margin: 0 auto 14px; }

.hero-photo {
  position: relative; z-index: 3;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.35);
  box-shadow: var(--shadow-md);
  margin-bottom: 14px;
  display: block;
}
.doctor-byline { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.doctor-byline img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--paper-0);
  box-shadow: var(--shadow-sm);
  flex: none;
}
.doctor-byline .eyebrow { margin-bottom: 0; }

.wave-divider { position: absolute; left: 0; width: 100%; height: 64px; display: block; z-index: 2; line-height: 0; }
.wave-divider.wave-bottom { bottom: -1px; }
.wave-divider.wave-top { top: -1px; transform: scaleY(-1); }
.wave-divider svg { width: 100%; height: 100%; display: block; }
.hero-stats {
  display: flex;
  gap: 26px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-stats div strong { display: block; font-size: 1.5rem; color: #fff; font-family: "Open Sans", Arial, sans-serif; }
.hero-stats div span { font-size: 0.82rem; color: #b7cbdd; }
.hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  padding: 26px;
  backdrop-filter: blur(6px);
}
.hero-card h3 { color: #fff; margin-bottom: 6px; }
.hero-card p { color: #cfe0ee; font-size: 0.95rem; }
.hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: var(--shadow-lg);
}

/* ---------- Full-bleed hero banner image ---------- */
.hero-banner { line-height: 0; background: #0a2540; }
.hero-banner picture, .hero-banner img { width: 100%; height: auto; display: block; }
.hero-cta-bar { background: var(--paper-50); padding: 34px 0 38px; border-bottom: 1px solid var(--line-200); }
.hero-stats-light div strong { color: var(--navy-900); }
.hero-stats-light div span { color: var(--ink-500); }
.hero-stats-light { justify-content: center; margin-top: 24px; }

/* ---------- Booking strip (sticky prominence) ---------- */
.booking-strip {
  background: var(--teal-600);
  color: var(--navy-900);
}
.booking-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}
.booking-strip p { margin: 0; color: var(--navy-900); font-weight: 600; }
.booking-strip strong { color: var(--navy-900); }

/* ---------- Rotating testimonial banner ---------- */
.testi-rotator-grid {
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
.testi-rotator-label h2 { color: #fff; margin: 0 0 4px; }
.testi-rotator-label p { color: #cbdcea; margin: 0; }
.testi-rotator-panel {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}
.testi-nav {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}
.testi-nav:hover { background: rgba(255,255,255,0.2); }
.testi-nav svg { width: 20px; height: 20px; }
.testi-rotator-quote { min-width: 0; flex: 1; }
.testi-rotator-text {
  font-style: italic;
  font-size: 1.15rem;
  color: #fff;
  margin: 0 0 10px;
  min-height: 3.6em;
}
.testi-rotator-name { color: #faa567; font-weight: 700; margin: 0; }
@media (max-width: 700px) {
  .testi-rotator-grid { grid-template-columns: 1fr; gap: 20px; }
  .testi-rotator-panel { gap: 12px; }
  .testi-nav { width: 38px; height: 38px; }
  .testi-rotator-text { font-size: 1.05rem; min-height: 4.8em; }
}

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-alt { background: var(--paper-50); }
.section-navy { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.section-navy .container { position: relative; z-index: 3; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: #cbdcea; }
.section-navy-photo {
  background-image:
    linear-gradient(135deg, rgba(10,47,92,0.90), rgba(10,47,92,0.80)),
    var(--cta-bg-image);
  background-size: cover;
  background-position: center 30%;
}
.hero.hero-compact-photo {
  background-image:
    linear-gradient(135deg, rgba(10,47,92,0.88), rgba(10,47,92,0.72)),
    var(--hero-bg-image);
  background-size: cover;
  background-position: center 25%;
}
.anatomy-thumb { display: block; width: 200px; max-width: 100%; height: auto; margin: 20px auto 0; border-radius: var(--radius-md, 12px); box-shadow: var(--shadow-md); }
.section-head { max-width: 680px; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; min-width: 0; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-1 { grid-template-columns: minmax(0, 1fr); }
.grid > * { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--teal-100);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.card-icon svg { width: 24px; height: 24px; }

/* ---------- Testimonials ---------- */
.quote-card {
  background: #fff;
  border: 1px solid var(--line-200);
  border-left: 4px solid var(--teal-600);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.quote-card p { color: var(--ink-900); font-style: italic; margin-bottom: 10px; }
.quote-card cite { font-style: normal; font-weight: 700; color: var(--navy-800); font-size: 0.9rem; }
.stars { color: var(--gold-500); letter-spacing: 2px; margin-bottom: 10px; display: block; }

/* ---------- Video grid ---------- */
.video-card { background: #fff; border: 1px solid var(--line-200); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--navy-900); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card h3 { padding: 16px 18px 0; font-size: 1.05rem; }
.video-card p { padding: 0 18px 18px; font-size: 0.92rem; }
.podcast-frame { width: 100%; height: 152px; background: var(--paper-50); }
.podcast-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.watch-listen-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px; align-items: start; }
.watch-listen-layout .section-head { max-width: none; margin-bottom: 24px; }
.video-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.podcast-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.videos-head-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.podcast-jump-btn { display: none; white-space: nowrap; }
#podcasts-anchor { scroll-margin-top: 90px; }
@media (max-width: 900px) {
  .watch-listen-layout { grid-template-columns: 1fr; }
  .podcast-jump-btn { display: inline-flex; }
}
@media (max-width: 480px) {
  .video-list { grid-template-columns: 1fr; }
}

/* ---------- Location cards / details ---------- */
.loc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
}
.loc-hero > * { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 880px) { .loc-hero { grid-template-columns: 1fr; } }
.loc-card { background: #fff; border: 1px solid var(--line-200); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
table.hours { width: 100%; border-collapse: collapse; margin-top: 10px; }
table.hours td { padding: 8px 0; border-bottom: 1px solid var(--line-200); font-size: 0.95rem; }
table.hours td:first-child { font-weight: 700; color: var(--navy-800); width: 45%; }
table.hours tr:last-child td { border-bottom: none; }
.map-embed { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line-200); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- Contact form ---------- */
.contact-form-card {
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  max-width: 720px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 4px 18px;
}
.form-row > * { min-width: 0; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; font-size: 0.92rem; color: var(--navy-800); margin-bottom: 6px; }
.form-group .required { color: var(--teal-700); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink-900);
  background: var(--paper-50);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(46, 120, 183, 0.15);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.form-note { font-size: 0.85rem; color: var(--ink-500); }
.form-submit-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-submit-row .btn { flex: none; }

/* ---------- Booking widget wrap ---------- */
.booking-panel {
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.booking-panel iframe {
  width: 100%;
  min-height: 760px;
  border: 0;
  display: block;
}
.booking-note {
  background: var(--paper-100);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  font-size: 0.92rem;
  color: var(--ink-700);
}

/* ---------- FAQ ---------- */
details.faq {
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  padding: 4px 20px;
  margin-bottom: 12px;
}
details.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy-900);
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--teal-700); font-size: 1.3rem; }
details.faq[open] summary::after { content: "\2212"; }
details.faq p { padding-bottom: 16px; margin: 0; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-family: "Open Sans", Arial, sans-serif;
}

/* ---------- Credentials list ---------- */
.credential-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.credential-list li {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--paper-50);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.95rem;
  color: var(--ink-700);
}
.credential-list li .dot { color: var(--teal-600); font-weight: 900; margin-top: 2px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #b7cbdd;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid > * { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: inherit; font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: #b7cbdd; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 0.92rem; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  padding-top: 22px;
  font-size: 0.82rem;
  color: #7d94a9;
}
.footer-bottom a { color: #7d94a9; }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--line-200); border: 0; margin: 40px 0; }
.badge-row { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.badge-row span { font-size: 0.85rem; color: var(--ink-500); font-weight: 600; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: #fff; padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }
