/* =========================================================
   Colonial Manor Nursing Center — Design System
   Palette: Williamsburg navy, warm brass, parchment cream
   ========================================================= */

:root {
  --navy: #1a3a5c;
  --navy-deep: #122a45;
  --navy-soft: #2c5278;
  --brass: #b8893a;
  --brass-soft: #d4a85a;
  --brass-deep: #8e6826;
  --cream: #faf6ed;
  --cream-warm: #f3ead6;
  --parchment: #ede2c8;
  --sage: #8a9a7b;
  --ink: #1f2530;
  --slate: #4a5568;
  --muted: #6b7280;
  --line: #e3d9bf;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(18, 42, 69, 0.06), 0 1px 3px rgba(18, 42, 69, 0.05);
  --shadow-md: 0 4px 14px rgba(18, 42, 69, 0.08), 0 2px 6px rgba(18, 42, 69, 0.05);
  --shadow-lg: 0 16px 40px rgba(18, 42, 69, 0.12), 0 6px 12px rgba(18, 42, 69, 0.06);

  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;

  --maxw: 1200px;
  --maxw-narrow: 880px;
  --radius: 4px;
  --radius-lg: 8px;
  --transition: 200ms ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--brass-deep); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  color: var(--navy-deep);
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.18;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.2rem; font-family: var(--font-sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-deep);
  font-weight: 600;
  margin-bottom: 0.85rem;
  position: relative;
  padding-left: 38px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 28px; height: 1px;
  background: var(--brass);
}

.lede {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  line-height: 1.55;
  color: var(--slate);
  font-style: italic;
}

/* -------- Layout helpers -------- */

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

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--cream { background: var(--cream-warm); }
.section--navy { background: var(--navy-deep); color: var(--cream); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--cream); }
.section--navy .eyebrow { color: var(--brass-soft); }
.section--navy .eyebrow::before { background: var(--brass-soft); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-head .eyebrow { padding: 0; }
.section-head .eyebrow::before { display: none; }

/* Decorative thin gold rule with center diamond */
.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 28px;
  width: 140px;
  color: var(--brass);
}
.rule::before, .rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--brass);
}
.rule span {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--brass);
  transform: rotate(45deg);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn--primary {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}
.btn--primary:hover {
  background: var(--navy-deep);
  border-color: var(--brass);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--brass {
  background: var(--brass);
  color: var(--white);
  border-color: var(--brass);
}
.btn--brass:hover {
  background: var(--brass-deep);
  border-color: var(--brass-deep);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.btn--ghost:hover {
  background: var(--cream);
  color: var(--navy-deep);
}
.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--cream);
}

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

.topbar {
  background: var(--navy-deep);
  color: var(--cream);
  font-size: 0.85rem;
  padding: 8px 0;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.topbar a { color: var(--brass-soft); }
.topbar a:hover { color: var(--cream); }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span::before {
  content: "•";
  color: var(--brass);
  margin-right: 10px;
}
.topbar-info span:first-child::before { display: none; }

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(6px);
  background: rgba(250, 246, 237, 0.94);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand-mark {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy);
  color: var(--brass-soft);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  border: 2px solid var(--brass);
}
.brand-text { line-height: 1.1; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy-deep);
  letter-spacing: 0.01em;
}
.brand-tag {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--brass-deep);
  margin-top: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px;
  bottom: 4px;
  height: 1.5px;
  background: var(--brass);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav a:hover::after,
.nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--navy-deep); }
.nav .btn { margin-left: 12px; padding: 10px 20px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  padding: 8px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.2rem;
}

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

.hero {
  position: relative;
  padding: 120px 0 140px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(18, 42, 69, 0.78) 0%, rgba(26, 58, 92, 0.55) 60%, rgba(18, 42, 69, 0.85) 100%),
    radial-gradient(ellipse at 20% 30%, #2c5278 0%, #122a45 70%);
  color: var(--cream);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(212, 168, 90, 0.12) 0%, transparent 35%),
    radial-gradient(circle at 85% 70%, rgba(212, 168, 90, 0.10) 0%, transparent 40%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, transparent 0%, var(--brass) 20%, var(--brass-soft) 50%, var(--brass) 80%, transparent 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
  color: var(--cream);
  margin-bottom: 24px;
  max-width: 780px;
}
.hero h1 em {
  font-style: italic;
  color: var(--brass-soft);
  font-weight: 400;
}
.hero p.lede {
  color: rgba(250, 246, 237, 0.92);
  max-width: 620px;
}
.hero .eyebrow { color: var(--brass-soft); }
.hero .eyebrow::before { background: var(--brass-soft); }
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
}

/* Page hero (smaller, for subpages) */
.page-hero {
  background:
    linear-gradient(135deg, rgba(18, 42, 69, 0.88) 0%, rgba(26, 58, 92, 0.78) 100%),
    radial-gradient(ellipse at top, #2c5278, #122a45);
  color: var(--cream);
  padding: 90px 0 70px;
  text-align: center;
  position: relative;
  border-bottom: 4px solid var(--brass);
}
.page-hero h1 { color: var(--cream); margin-bottom: 14px; }
.page-hero p { color: rgba(250, 246, 237, 0.88); max-width: 640px; margin: 0 auto; font-size: 1.1rem; }
.crumbs {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: 14px;
}
.crumbs a { color: var(--brass-soft); }
.crumbs span { margin: 0 10px; opacity: 0.6; }

/* -------- Service cards -------- */

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brass-soft);
}
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-bottom: 12px; }
.card .icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream-warm);
  color: var(--navy);
  border-radius: 50%;
  margin-bottom: 22px;
  border: 1px solid var(--line);
}
.card .icon svg { width: 28px; height: 28px; }
.card-link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-deep);
}
.card-link::after { content: " →"; transition: margin var(--transition); }
.card-link:hover::after { margin-left: 4px; }

/* -------- Two-column "split" sections -------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split--flip .split-text { order: 2; }
.split-text h2 { margin-bottom: 24px; }
.split-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(26, 58, 92, 0.10), rgba(184, 137, 58, 0.15)),
    var(--parchment);
  border: 1px solid var(--line);
  overflow: hidden;
}
.split-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid var(--brass);
  pointer-events: none;
}
.split-visual .visual-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: var(--navy-soft);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  padding: 40px;
  opacity: 0.55;
}
.split-visual .visual-label svg { width: 48px; height: 48px; margin-bottom: 12px; opacity: 0.7; }
.split-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.split-visual:has(> img) { background: var(--navy-deep); }
.split-visual:has(> img) .visual-label { display: none; }

/* Frame aspect overrides — use when a photo's natural shape doesn't fit the default 4:5 panel */
.split-visual.aspect-wide   { aspect-ratio: 4 / 3; }
.split-visual.aspect-square { aspect-ratio: 1 / 1; }

/* Per-image crop adjustments */
.split-visual > img.pos-right    { object-position: 78% center; }
.split-visual > img.pos-left     { object-position: 22% center; }
.split-visual > img.pos-top      { object-position: center 22%; }
.split-visual > img.pos-bottom   { object-position: center 78%; }

/* Show the whole image (no cropping) — used when the source aspect doesn't fit the frame */
.split-visual > img.fit-contain {
  object-fit: contain;
  background: var(--cream-warm);
  padding: 8px;
}

/* -------- Features list -------- */

.features {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}
.features li {
  position: relative;
  padding-left: 32px;
  line-height: 1.55;
}
.features li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 16px; height: 16px;
  background: var(--brass);
  clip-path: polygon(14% 44%, 0 60%, 39% 100%, 100% 16%, 86% 0, 39% 73%);
}

/* -------- Stats / Numbers row -------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  text-align: center;
  padding: 36px 20px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat .num {
  display: block;
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--brass-deep);
  line-height: 1;
  margin-bottom: 10px;
}
.stat .label {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

/* -------- Testimonials -------- */

.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  position: relative;
}
.testimonial .quote-mark {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--brass-soft);
  line-height: 0.4;
  margin-bottom: 10px;
  opacity: 0.7;
}
.testimonial p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink);
}
.testimonial .author {
  margin-top: 18px;
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  letter-spacing: 0.04em;
}
.testimonial .author span {
  display: block;
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 3px;
}

/* -------- CTA panel -------- */

.cta-panel {
  background:
    linear-gradient(135deg, rgba(18, 42, 69, 0.95), rgba(26, 58, 92, 0.92)),
    radial-gradient(ellipse at top right, var(--navy-soft), var(--navy-deep));
  color: var(--cream);
  padding: 72px 56px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--brass);
}
.cta-panel::before, .cta-panel::after {
  content: "";
  position: absolute;
  width: 200px; height: 200px;
  border: 1px solid var(--brass-soft);
  border-radius: 50%;
  opacity: 0.15;
}
.cta-panel::before { top: -80px; left: -80px; }
.cta-panel::after { bottom: -80px; right: -80px; }
.cta-panel h2 { color: var(--cream); margin-bottom: 14px; }
.cta-panel p { color: rgba(250, 246, 237, 0.85); max-width: 560px; margin: 0 auto 28px; font-size: 1.1rem; }

/* -------- Forms -------- */

.form {
  display: grid;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(184, 137, 58, 0.18);
}
.form-msg {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  display: none;
}
.form-msg.ok { background: #e7efe1; color: #3d5a2a; border: 1px solid var(--sage); display: block; }
.form-msg.err { background: #fbe9e7; color: #8a2c1f; border: 1px solid #d97965; display: block; }

/* -------- Info / Contact boxes -------- */

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.info-box {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--brass);
  box-shadow: var(--shadow-sm);
}
.info-box h4 {
  color: var(--navy);
  margin-bottom: 14px;
  font-size: 0.9rem;
}
.info-box p { font-size: 1.05rem; line-height: 1.55; }
.info-box .icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream-warm);
  border-radius: 50%;
  margin-bottom: 18px;
  color: var(--brass-deep);
}

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

.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq summary {
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--navy-deep);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 1.6rem;
  color: var(--brass);
  font-weight: 300;
  transition: transform var(--transition);
}
.faq details[open] summary::after { content: "−"; }
.faq details > p { margin-top: 14px; color: var(--slate); }

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

.site-footer {
  background: var(--navy-deep);
  color: rgba(250, 246, 237, 0.78);
  padding: 72px 0 24px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--brass) 30%, var(--brass-soft) 50%, var(--brass) 70%, transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 48px;
}
.site-footer h4 {
  color: var(--brass-soft);
  font-size: 0.8rem;
  margin-bottom: 22px;
}
.site-footer a {
  color: rgba(250, 246, 237, 0.78);
  display: block;
  padding: 6px 0;
  font-size: 0.95rem;
}
.site-footer a:hover { color: var(--brass-soft); }
.site-footer .brand-name { color: var(--cream); font-size: 1.35rem; }
.site-footer .brand-tag { color: var(--brass-soft); }
.site-footer p { font-size: 0.95rem; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(184, 137, 58, 0.25);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(250, 246, 237, 0.55);
}

/* -------- Misc -------- */

.intro-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.intro-row h2 { margin: 0; }

.banner-strip {
  background: var(--brass);
  color: var(--navy-deep);
  text-align: center;
  padding: 14px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.banner-strip a {
  color: var(--navy-deep);
  text-decoration: underline;
  text-decoration-color: rgba(18, 42, 69, 0.4);
  margin-left: 6px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.value {
  text-align: center;
  padding: 16px;
}
.value .icon {
  width: 64px; height: 64px;
  background: var(--white);
  border: 1px solid var(--brass);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  color: var(--brass-deep);
}

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

@media (max-width: 1010px) and (min-width:721px) {
.nav a {padding: 10px 3px; font-size: 13px;}
.nav .btn {padding: 5px;font-size: 12px;letter-spacing: 0;margin-left: 5px;}
.site-header .wrap {padding:18px 10px;}
}

@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--flip .split-text { order: 0; }
  .intro-row { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .values-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .cta-panel { padding: 56px 28px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--cream); padding: 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); align-items: stretch; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: none; }
  .nav a::after { display: none; }
  .nav .btn { margin: 8px 0 0; text-align: center; justify-content: center; }
  .nav-toggle { display: inline-flex; }
  .site-header .wrap { position: relative; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .topbar-info { gap: 12px; }
  .topbar-info span::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .hero { padding: 80px 0 90px; }
  body { font-size: 16px; }
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-deep);
  color: var(--cream);
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 8px; top: 8px; }
