/* ============================================
   Paragon Medical Group — Site Stylesheet
   "Clinical Editorial" — cool porcelain canvas,
   deep trustworthy blue, warm clay accent,
   Bricolage Grotesque display + Hanken Grotesk
   body. Calm, premium, reassuring; built for
   accident patients, often older and on mobile.
   ============================================ */

:root {
  /* Warm neutrals — blue stays an accent, not the canvas */
  --bone: #f6f5f1;        /* page canvas, warm porcelain */
  --bone-deep: #efede7;   /* alternating section */
  --paper: #ffffff;       /* card / surface */
  --ink: #16191c;         /* near-black ink */
  --ink-soft: #535a62;    /* secondary text */
  --ink-faint: #8b929b;

  /* Brand */
  --blue: #2052c9;        /* primary — confident, trustworthy */
  --blue-deep: #143a96;
  --blue-bright: #4a7af0;
  --blue-tint: #e3ebfb;
  --clay: #c25a2b;        /* warm accent — energy, highlight */
  --clay-deep: #a4481f;
  --clay-tint: #f6e6da;

  /* Dark surfaces (header / footer / cta) */
  --midnight: #0d1424;    /* deep navy-black */
  --midnight-soft: #16213a;

  --line: #e6e3db;        /* warm hairline */
  --line-strong: #d4d0c5;

  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-soft: 0 1px 2px rgba(19,26,40,0.05);
  --shadow-hover: 0 22px 48px -20px rgba(20,46,110,0.30);
  --max-width: 1180px;

  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.68;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* faint warm atmosphere */
  background-image:
    radial-gradient(900px 520px at 88% -8%, rgba(74,122,240,0.045), transparent 60%),
    radial-gradient(760px 480px at -6% 6%, rgba(194,90,43,0.035), transparent 60%);
  background-attachment: fixed;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}

/* Language toggle: show only active language */
html[data-lang="en"] .es { display: none !important; }
html[data-lang="es"] .en { display: none !important; }

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

a { color: var(--blue); }

::selection { background: var(--clay); color: #fff; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 4px; }

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

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 18px; z-index: 200;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Top utility bar ---------- */
.top-bar {
  background: var(--midnight);
  color: #c7d4ea;
  font-size: 14.5px;
  padding: 9px 0;
  letter-spacing: 0.01em;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.top-bar a { color: #fff; text-decoration: none; font-weight: 600; }
.top-bar a:hover { color: #f3c9b3; }
.top-bar .hours { opacity: 0.7; }

/* ---------- Header / Navigation ---------- */
.site-header {
  background: rgba(13, 20, 36, 0.82);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.brand {
  text-decoration: none;
  line-height: 1.12;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}
.brand-logo { height: 44px; width: auto; display: block; }
.footer-logo { height: 82px; width: auto; display: block; }
.footer-tagline { margin-top: 18px; max-width: 280px; color: #97a8c4; font-size: 15px; line-height: 1.55; font-style: italic; }
.brand .brand-name, .brand .brand-tag { white-space: nowrap; }
.brand .brand-name {
  display: block;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.brand .brand-tag {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  color: #7ea2e6;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-top: 1px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2px;
  align-items: center;
}
.main-nav a {
  display: block;
  padding: 9px 14px;
  text-decoration: none;
  color: #aebfdb;
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.main-nav a[aria-current="page"] { color: #fff; background: rgba(126, 162, 230, 0.20); }

.lang-btn {
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  background: transparent;
  color: #fff;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.lang-btn:hover { border-color: var(--clay); background: var(--clay); color: #fff; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-size: 20px;
  line-height: 1;
  color: #fff;
  cursor: pointer;
}

/* ---------- Hero (light, editorial, dynamic) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 96px;
  text-align: center;
  background: var(--bone);
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--line);
  z-index: 2;
}
.hero .container { position: relative; z-index: 2; }

/* Animated glowing-waves backdrop (drawn on canvas) */
.hero-waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--clay-tint);
  color: var(--clay-deep);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: var(--radius-pill);
  padding: 8px 17px 8px 14px;
  margin-bottom: 30px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--clay);
}

.hero h1 {
  font-size: clamp(42px, 6.6vw, 82px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.012em;
  max-width: 16ch;
  margin: 0 auto 26px;
  color: var(--ink);
}
.hero h1 .es { letter-spacing: -0.01em; }
.hero p.lead {
  font-size: clamp(18px, 2.3vw, 21.5px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 38px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 22px -10px rgba(32,82,201,0.65); }
.btn-primary:hover { background: var(--blue-deep); box-shadow: 0 16px 30px -12px rgba(32,82,201,0.75); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: var(--paper); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--paper); }
.btn-solid { background: #383c49; color: #fff; }
.btn-solid:hover { background: #474c5c; }

/* Buttons on dark panels */
.cta-strip .btn-primary { background: var(--clay); color: #fff; box-shadow: 0 12px 26px -10px rgba(194,90,43,0.6); }
.cta-strip .btn-primary:hover { background: var(--clay-deep); }
.page-hero .btn-outline { border-color: var(--line-strong); }

/* ---------- Hero visual (interactive Ohio map) ---------- */
.hero-visual {
  position: relative;
  max-width: 880px;
  margin: 58px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, #ffffff, #f4f2ec);
  box-shadow: 0 30px 70px -32px rgba(30,34,40,0.28);
}
.hero-visual svg { display: block; width: 100%; height: auto; }

/* clinic interactive groups */
.hero-visual .clinic { cursor: pointer; outline: none; }
.hero-visual .clinic .dot {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1);
}
.hero-visual .clinic:hover .dot,
.hero-visual .clinic:focus-visible .dot { transform: scale(1.5); }
.hero-visual .clinic .city { transition: fill 0.2s ease; }
.hero-visual .clinic:hover .city,
.hero-visual .clinic:focus-visible .city { fill: var(--blue-deep); }
.hero-visual .clinic .phone {
  opacity: 0;
  transition: opacity 0.22s ease;
}
.hero-visual .clinic:hover .phone,
.hero-visual .clinic:focus-visible .phone { opacity: 1; }
.hero-visual .clinic:focus-visible .ring-focus { opacity: 1; }
.hero-visual .ring-focus { opacity: 0; }

/* pulsing radar halos */
.hero-visual .halo {
  transform-box: fill-box;
  transform-origin: center;
  animation: halo 3.4s cubic-bezier(0.22,0.61,0.36,1) infinite;
}
@keyframes halo {
  0%   { transform: scale(0.5);  opacity: 0.85; }
  70%  { opacity: 0; }
  100% { transform: scale(1.5);  opacity: 0; }
}

/* ---------- Illustration band ---------- */
.illustration-band {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  margin: 0 0 52px;
}
.illustration-band svg { display: block; width: 100%; height: auto; }

/* ---------- Sections ---------- */
.section { padding: 98px 0; position: relative; }
.section.alt {
  background: var(--bone-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-title {
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.08;
  color: var(--ink);
  text-align: center;
  margin-bottom: 18px;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
.section-sub {
  text-align: center;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 58px;
  font-size: 19px;
  line-height: 1.62;
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px 34px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--line-strong); }
.card h3 { color: var(--ink); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 9px; }
.card p { color: var(--ink-soft); font-size: 16.5px; line-height: 1.6; }

.card .icon {
  width: 58px; height: 58px;
  background: var(--blue-tint);
  color: var(--blue);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}
.card:hover .icon { background: var(--blue); color: #fff; transform: rotate(-4deg); }

.section-title + .grid { margin-top: 50px; }

.section.alt .card { background: var(--paper); }

/* ---------- Photo bands ---------- */
.photo-band { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }
.photo-band img {
  width: 100%; max-height: 420px; object-fit: cover; display: block;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
}
.photo-band.inset { padding: 0; margin: 40px 0; }
.photo-band.inset img { max-height: 360px; }

/* ---------- Location media ---------- */
.loc-map-wrap { margin-top: 18px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.loc-photo { width: 100%; height: 190px; object-fit: cover; display: block; }
.loc-map { width: 100%; height: 200px; border: 0; display: block; }

/* ---------- Team group titles ---------- */
.team-group-title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 70px 0 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.team-group-title::before {
  content: "";
  width: 26px; height: 3px; border-radius: 2px;
  background: var(--clay);
  align-self: center;
}
.team-group-title:first-child { margin-top: 0; }

/* ---------- Doctors ---------- */
.doctor-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.doctor-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--line-strong); }
.doctor-photo {
  height: 280px;
  background: var(--bone-deep);
  overflow: hidden;
}
.doctor-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  filter: saturate(0.9) contrast(1.02) brightness(1.02);
}
.doctor-photo img.frame-up { object-position: center 32%; }
.doctor-initials {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-size: 62px; font-weight: 600; letter-spacing: -0.03em;
  color: var(--blue);
  background: linear-gradient(160deg, #f1efe8, #e4e1d8);
}
.doctor-info { padding: 26px 26px 30px; }
.doctor-info h3 { color: var(--ink); font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 5px; }
.doctor-info .role { color: var(--clay-deep); font-weight: 700; font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.doctor-info .clinic { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 12px; }
.doctor-info p.bio { color: var(--ink-soft); font-size: 16px; line-height: 1.58; }
.badge {
  display: inline-block;
  background: var(--blue-tint);
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  margin-top: 14px;
}

/* ---------- Locations ---------- */
.location-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 32px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.location-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--line-strong); }
.location-card h3 { color: var(--ink); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 3px; }
.location-card .city { color: var(--clay-deep); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; font-size: 13px; }
.location-card address {
  font-style: normal;
  color: var(--ink-soft);
  margin-bottom: 14px;
  font-size: 17px;
  line-height: 1.55;
}
.location-card .loc-phone {
  display: inline-block;
  font-weight: 700;
  font-size: 19px;
  color: var(--blue);
  text-decoration: none;
  margin-bottom: 14px;
}
.location-card .loc-phone:hover { color: var(--clay); }
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}
.map-link:hover { color: var(--clay); }
.coming-soon-tag {
  display: inline-block;
  background: var(--clay-tint);
  color: var(--clay-deep);
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  margin-bottom: 12px;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-list details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.faq-list details:hover { border-color: var(--line-strong); }
.faq-list details[open] { border-color: var(--blue); box-shadow: 0 12px 30px -18px rgba(32,82,201,0.42); }
.faq-list summary {
  cursor: pointer;
  padding: 22px 26px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 400;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { content: "\2212"; color: var(--clay); }
.faq-list details .answer { padding: 0 26px 24px; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; }
.contact-info-box {
  background: #383c49;
  color: #dfe8fb;
  border: 1px solid #484d5e;
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-info-box h3 { color: #fff; font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: -0.025em; margin-bottom: 18px; }
.contact-info-box p { margin-bottom: 16px; color: #cdddf8; }
.contact-info-box strong { color: #fff; }
.contact-info-box a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,0.4); }
.contact-info-box a:hover { text-decoration-color: #fff; }

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}
.contact-form .field { margin-bottom: 18px; }
.contact-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 15.5px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 17px;
  border: 1.5px solid var(--line-strong);
  border-radius: 11px;
  font-family: inherit;
  background: var(--bone);
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(32,82,201,0.14);
}

/* ---------- CTA strip ---------- */
.cta-strip {
  position: relative;
  overflow: hidden;
  background: var(--midnight);
  color: #fff;
  text-align: center;
  border-radius: var(--radius-lg);
  max-width: var(--max-width);
  margin: 0 auto 98px;
  padding: 80px 40px;
}
.cta-strip::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 320px at 50% -30%, rgba(74,122,240,0.45), transparent 70%),
    radial-gradient(500px 300px at 90% 130%, rgba(194,90,43,0.28), transparent 70%);
  pointer-events: none;
}
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip h2 {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.1;
  margin-bottom: 16px;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
.cta-strip p { font-size: 19px; color: #bcccea; margin-bottom: 34px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 46px 16px;
  box-shadow: var(--shadow-soft);
}
.stat { padding: 8px 18px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .num {
  font-family: var(--display);
  font-size: clamp(42px, 4.6vw, 58px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--blue);
  line-height: 1.05;
}
.stat .label { color: var(--ink-soft); font-weight: 600; font-size: 15.5px; margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--midnight);
  color: #97a8c4;
  padding: 76px 0 32px;
  font-size: 16px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 50px;
}
.site-footer h4 {
  font-family: var(--sans);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  margin-bottom: 18px;
}
.site-footer p { line-height: 1.6; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #97a8c4; text-decoration: none; transition: color 0.15s ease; }
.site-footer a:hover { color: #f3c9b3; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 14.5px;
  opacity: 0.7;
}

/* ---------- Page hero (interior, light editorial) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 64px;
  text-align: center;
  background: radial-gradient(900px 420px at 50% -30%, rgba(32,82,201,0.06), transparent 62%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.06;
  margin-bottom: 18px;
  color: var(--ink);
}
.page-hero p { font-size: 19.5px; line-height: 1.58; color: var(--ink-soft); max-width: 660px; margin: 0 auto; }

.page-hero + .section { padding-top: 70px; }

/* ---------- Prose ---------- */
.prose { max-width: 900px; margin: 0 auto; }
.prose-lead {
  font-size: clamp(20px, 2.5vw, 25px);
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 12px !important;
  letter-spacing: -0.01em;
}
/* ---------- About page (editorial) ---------- */
.about-lede {
  max-width: 860px;
  border-left: 3px solid var(--clay);
  padding-left: 36px;
}
.about-lede p {
  font-family: var(--display);
  font-size: clamp(23px, 3vw, 33px);
  line-height: 1.34;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}
.about-lede em { font-style: italic; color: var(--clay-deep); }

.about-commit { margin-top: 78px; }
.commit-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.4fr;
  gap: 58px;
  align-items: start;
}
.commit-head { position: sticky; top: 110px; }
.commit-head h2 {
  font-family: var(--display);
  font-size: clamp(29px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.04;
  color: var(--ink);
}
.commit-sub {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 32ch;
}
.commit-list { list-style: none; margin: 0; padding: 0; }
.commit-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  padding: 27px 4px;
  border-top: 1px solid var(--line);
  transition: padding-left 0.2s ease;
}
.commit-row:last-child { border-bottom: 1px solid var(--line); }
.commit-row:hover { padding-left: 12px; }
.commit-num {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  color: var(--clay);
  line-height: 1.25;
  letter-spacing: 0.01em;
}
.commit-body h3 {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 8px;
}
.commit-body p { color: var(--ink-soft); font-size: 16.5px; line-height: 1.6; margin: 0; }

.about-different-block { margin-top: 84px; }
.different-panel {
  background: var(--bone-deep);
  border: 1px solid var(--line);
  border-left: 4px solid var(--clay);
  border-radius: var(--radius-lg);
  padding: 46px 50px;
  max-width: 980px;
  margin: 0 auto;
}
.different-panel .eyebrow { margin-bottom: 22px; }
.different-panel h2 {
  font-family: var(--display);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 600;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin-bottom: 16px;
}
.different-panel p { color: var(--ink-soft); font-size: 17.5px; line-height: 1.7; margin: 0; }

@media (max-width: 860px) {
  .about-lede { padding-left: 22px; }
  .commit-grid { grid-template-columns: 1fr; gap: 30px; }
  .commit-head { position: static; }
  .commit-sub { max-width: none; }
  .commit-row:hover { padding-left: 4px; }
  .different-panel { padding: 32px 26px; }
}
.prose h2 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.028em;
  margin: 48px 0 16px;
  font-size: clamp(28px, 3.4vw, 36px);
}
.prose p { margin-bottom: 20px; color: var(--ink-soft); line-height: 1.7; }
.prose ul { margin: 0 0 20px 22px; color: var(--ink-soft); }
.prose li { margin-bottom: 10px; }
.prose li::marker { color: var(--clay); }
.prose strong { color: var(--ink); }

/* ---------- Motion: staggered page-load reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow,
  .hero h1,
  .hero p.lead,
  .hero-actions,
  .hero-visual,
  .page-hero h1,
  .page-hero p {
    opacity: 0;
    transform: translateY(16px);
    animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .hero h1 { animation-delay: 0.08s; }
  .hero p.lead { animation-delay: 0.16s; }
  .hero-actions { animation-delay: 0.24s; }
  .hero-visual { animation-delay: 0.34s; }
  .page-hero p { animation-delay: 0.1s; }

  @keyframes rise {
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual .halo { animation: none; opacity: 0.25; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .brand .brand-name { font-size: 20px; }
  .brand .brand-tag { font-size: 10px; }
  .main-nav a { padding: 8px 10px; font-size: 15px; }
  .cta-strip { margin-left: 28px; margin-right: 28px; }
}

@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .stat + .stat { border-left: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav a { font-size: 15px; padding: 8px 8px; }
}

@media (max-width: 768px) {
  body { font-size: 17px; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--midnight);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.4);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
  .main-nav a {
    padding: 16px 26px;
    font-size: 19px;
    border-radius: 0;
  }
  .header-inner { padding: 12px 16px; gap: 8px; }
  .lang-btn { padding: 8px 13px; font-size: 14px; }
  .nav-toggle { padding: 7px 12px; font-size: 18px; }
  .brand .brand-name { font-size: 18px; }
  .brand .brand-tag { font-size: 9.5px; }
  .grid-2, .grid-3, .grid-4, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 60px; }
  .hero-visual { margin-top: 44px; border-radius: 16px; }
  .section { padding: 60px 0; }
  .stats { padding: 30px 20px; }
  .top-bar .container { justify-content: center; text-align: center; }
  .top-bar .hours { display: none; }
  .btn { width: 100%; max-width: 360px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-strip { margin-left: 16px; margin-right: 16px; padding: 56px 26px; margin-bottom: 60px; }
  .contact-info-box, .contact-form { padding: 28px; }
}

@media (max-width: 480px) {
  .header-inner { padding: 10px 12px; gap: 8px; }
  .brand { gap: 9px; }
  .brand-logo { height: 34px; }
  .brand .brand-name { font-size: 15px; }
  .brand .brand-tag { display: none; }
  .lang-btn { padding: 7px 11px; font-size: 13px; }
  .nav-toggle { padding: 6px 10px; font-size: 17px; }
}
