/* =========================================
   Cruz Care — Brand styles v3
   Navy + white + sage green palette
   ========================================= */

:root {
  --navy: #0f3a5f;
  --navy-deep: #0a2942;
  --navy-soft: #1a4a73;
  /* Brand accent — sage */
  --accent: #557a5c;
  --accent-soft: #cbd9ce;
  --accent-deep: #3d5c43;
  --accent-tint: #f0f4f1;

  --paper: #ffffff;
  --white: #ffffff;
  --ink: #0a2942;
  --muted: #5a6b7a;
  --rule: rgba(15, 58, 95, 0.12);

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 10px 40px -12px rgba(15, 58, 95, 0.18);
  --shadow-card: 0 6px 24px -10px rgba(15, 58, 95, 0.22);
  --shadow-hover: 0 18px 50px -16px rgba(15, 58, 95, 0.32);

  --container: 1180px;
}

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

/* Anchor scroll-margin so jump targets clear the sticky header */
[id] { scroll-margin-top: 100px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -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 0.2s ease; }
a:hover { color: var(--accent-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); letter-spacing: -0.02em; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-body);
  text-decoration: none;
}
.btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-soft); border-color: var(--navy-soft); transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(15, 58, 95, 0.35); }
.btn-light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-light:hover { background: var(--accent-soft); border-color: var(--accent-soft); transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.2); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); transform: translateY(-2px); }
.btn .arrow { transition: transform 0.25s ease; display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 20px -8px rgba(15, 58, 95, 0.12); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 12px; transition: transform 0.3s ease; }
.brand:hover { transform: scale(1.03); }
.brand img { height: 50px; width: auto; }
.nav-links { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.98rem;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  pointer-events: none;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; gap: 12px; align-items: center; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; flex-direction: column; gap: 5px; justify-content: center; align-items: center; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 100px 0 150px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(203, 217, 206, 0.15), transparent 50%),
    radial-gradient(ellipse at 10% 70%, rgba(203, 217, 206, 0.08), transparent 50%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.hero h1 { color: var(--white); font-size: clamp(2.8rem, 5.6vw, 4.6rem); margin-bottom: 24px; letter-spacing: -0.025em; }
.hero h1 .accent { color: var(--accent-soft); font-style: italic; font-weight: 500; }
.hero-lead { font-size: 1.18rem; color: rgba(255,255,255,0.88); max-width: 520px; margin-bottom: 36px; line-height: 1.55; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.45);
  background: linear-gradient(135deg, var(--navy-soft) 0%, var(--navy-deep) 100%);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.wave-divider { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; z-index: 2; }
.wave-divider svg { width: 100%; height: 80px; display: block; }

.section-wave { position: relative; height: 60px; margin-bottom: -1px; line-height: 0; }
.section-wave svg { width: 100%; height: 60px; display: block; }

/* ---------- Sections ---------- */
section { padding: 100px 0; position: relative; }

.section-sky { background: var(--accent-soft); position: relative; }
.section-sky-tint { background: var(--accent-tint); position: relative; }
.section-navy { background: var(--navy); color: var(--white); position: relative; }
.section-navy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 90% 10%, rgba(85, 122, 92, 0.12), transparent 50%);
  pointer-events: none;
}
.section-navy > .container { position: relative; z-index: 1; }
.section-navy h2 { color: var(--white); }

.eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; padding: 6px 14px; background: var(--accent); border: 1.5px solid var(--accent); border-radius: 999px; }
.section-navy .eyebrow { color: var(--white); background: var(--accent); border-color: var(--accent); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.squiggle { width: 60px; height: 16px; margin-bottom: 18px; color: var(--accent); }

/* ---------- Services grid ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-card);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(15, 58, 95, 0.08);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(85, 122, 92, 0.18) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(15, 58, 95, 0.18);
}
.service-card:hover::after { opacity: 1; }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  margin-bottom: 20px;
  transition: all 0.35s ease;
}
.service-card:hover .service-icon {
  background: var(--navy);
  color: var(--white);
  transform: rotate(-6deg) scale(1.05);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* ---------- Values / Why ---------- */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 56px; }
.value-item { display: flex; gap: 20px; align-items: flex-start; }
.value-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--navy);
  opacity: 0.22;
  line-height: 1; font-weight: 700;
  flex-shrink: 0;
  width: 56px;
}
.section-sky .value-num,
.section-sky-tint .value-num { color: var(--navy); opacity: 0.25; }
.section-navy .value-num { color: var(--accent-soft); opacity: 1; }
.value-item h3 { color: var(--white); margin-bottom: 6px; font-size: 1.2rem; }
.section-sky .value-item h3,
.section-sky-tint .value-item h3 { color: var(--navy); }
.value-item p { color: rgba(255,255,255,0.8); margin: 0; font-size: 0.97rem; }
.section-sky .value-item p,
.section-sky-tint .value-item p { color: var(--ink); opacity: 0.78; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px 50px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute;
  right: -60px; bottom: -60px;
  width: 280px; height: 280px;
  background: var(--accent);
  opacity: 0.1;
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.6s ease;
}
.cta-banner:hover::after { transform: scale(1.15); }
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.8); margin: 0; }
.cta-banner .btn-row { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.75); padding: 90px 0 30px; position: relative; }
.footer-wave { position: absolute; top: -1px; left: 0; width: 100%; line-height: 0; transform: rotate(180deg); }
.footer-wave svg { width: 100%; height: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.site-footer h3 { color: var(--accent-soft); font-family: var(--font-body); font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; }
.footer-brand img { height: 60px; margin-bottom: 18px; }
.footer-brand p { font-size: 0.95rem; max-width: 280px; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 10px; }
.footer-list a { color: rgba(255,255,255,0.75); font-size: 0.95rem; display: inline-block; transition: all 0.2s ease; }
.footer-list a:hover { color: var(--accent-soft); transform: translateX(3px); }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; }

/* ---------- Page hero ---------- */
.page-hero { background: var(--navy); color: var(--white); padding: 90px 0 110px; position: relative; overflow: hidden; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(85, 122, 92, 0.14), transparent 50%);
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); max-width: 700px; }
.page-hero .lead { font-size: 1.18rem; color: rgba(255,255,255,0.85); max-width: 600px; margin: 0; line-height: 1.55; }
.page-hero .breadcrumb { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 18px; font-weight: 600; }

/* ---------- About ---------- */
/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.contact-info { background: var(--navy); color: var(--white); padding: 50px 40px; border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.contact-info::after { content: ""; position: absolute; bottom: -80px; right: -80px; width: 240px; height: 240px; background: var(--accent); opacity: 0.18; border-radius: 50%; pointer-events: none; }
.contact-info h2 { color: var(--white); }
.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
  align-items: flex-start;
  position: relative;
  z-index: 2;
  padding: 8px;
  margin-left: -8px;
  border-radius: 12px;
  transition: background 0.2s ease;
}
.contact-detail:hover { background: rgba(255,255,255,0.05); }
.contact-detail-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(85, 122, 92, 0.2); display: flex; align-items: center; justify-content: center; color: var(--accent-soft); flex-shrink: 0; }
.contact-detail-icon svg { width: 22px; height: 22px; }
.contact-detail strong { display: block; color: var(--accent-soft); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.contact-detail a, .contact-detail span { color: rgba(255,255,255,0.92); font-size: 1.02rem; }
.contact-detail a:hover { color: var(--accent-soft); }

form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 6px; position: relative; }
.form-field label { font-weight: 600; font-size: 0.88rem; color: var(--navy); }
/* Required field marker on form labels */
.required-marker {
  color: var(--accent-deep);
  margin-left: 2px;
  font-weight: 700;
}
.form-field input, .form-field textarea, .form-field select {
  padding: 14px 16px;
  border: 1.5px solid rgba(15, 58, 95, 0.15);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-field input:hover, .form-field textarea:hover, .form-field select:hover { border-color: rgba(15, 58, 95, 0.3); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(15, 58, 95, 0.1); }
.form-field input.invalid, .form-field textarea.invalid { border-color: #c44; background: #fdf3f3; }
.form-field .error-msg { font-size: 0.82rem; color: #c44; margin-top: 2px; font-weight: 500; display: none; }
.form-field.has-error .error-msg { display: block; }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-success { background: #e8f5e9; color: #1b5e20; border: 1.5px solid #a5d6a7; border-radius: 12px; padding: 16px 20px; margin-bottom: 18px; display: none; font-weight: 500; }
.form-success.visible { display: block; animation: fadeUp 0.4s ease; }

/* ---------- Services list ---------- */
.service-list { display: grid; gap: 24px; }
.service-row {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  border: 1px solid var(--rule);
}
.service-row:hover { transform: translateX(8px); box-shadow: var(--shadow-hover); border-color: rgba(15, 58, 95, 0.2); }
.service-row .num { font-family: var(--font-display); font-size: 2.5rem; color: var(--navy); opacity: 0.25; font-weight: 700; line-height: 1; transition: opacity 0.3s ease; }
.service-row:hover .num { opacity: 0.6; }
.service-row h3 { margin-bottom: 6px; }
.service-row p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.service-row .arrow { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; color: var(--navy); transition: all 0.3s ease; }
.service-row:hover .arrow { background: var(--navy); color: var(--white); transform: rotate(-15deg) scale(1.1); }

/* ---------- Animations ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.7s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-stagger.in-view > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.05s; }
.reveal-stagger.in-view > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.reveal-stagger.in-view > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.25s; }
.reveal-stagger.in-view > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }
.reveal-stagger.in-view > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }
.reveal-stagger.in-view > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.55s; }



/* ---------- Floating mobile CTA ---------- */
.floating-cta {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  right: 20px;
  z-index: 40;
  background: var(--navy);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 12px 30px -8px rgba(15, 58, 95, 0.45);
  display: none;
  align-items: center;
  gap: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.floating-cta:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -8px rgba(15, 58, 95, 0.55); color: var(--white); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  left: 20px;
  z-index: 40;
  background: var(--white);
  color: var(--navy);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--navy); color: var(--white); transform: translateY(-3px); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { grid-template-columns: 1fr; padding: 40px 30px; }
  .cta-banner .btn-row { justify-content: flex-start; }
  .service-row { grid-template-columns: 60px 1fr; padding: 28px; }
  .service-row .arrow { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px 24px; gap: 16px; box-shadow: var(--shadow-soft); border-bottom: 1px solid var(--rule); }
  .nav-links.open { display: flex; }
  .nav-cta .btn { display: none; }
  .hero { padding: 70px 0 110px; }
  section { padding: 70px 0; }
  .floating-cta { display: inline-flex; }
  .back-to-top { left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .floating-cta { padding: 12px 18px; font-size: 0.88rem; }
}

/* =========================================
   Capacity badge — small "now taking new participants" pill
   ========================================= */
.capacity-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: var(--accent-soft);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.capacity-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: 0 0 0 4px rgba(203, 217, 206, 0.25);
  animation: capacityPulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes capacityPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.9); }
}

/* Funding-types line under hero CTAs */
.funding-line {
  margin-top: 28px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.funding-line strong {
  color: var(--accent-soft);
  font-weight: 600;
}
.funding-line .dot-sep {
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: inline-block;
}

/* =========================================
   Testimonials — three-up cards
   ========================================= */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 38px 32px 30px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--rule);
  position: relative;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.testimonial-card .quote-mark {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 0.5;
  position: absolute;
  top: 26px;
  left: 28px;
  opacity: 0.35;
  pointer-events: none;
  pointer-events: none;
}
.testimonial-card .quote-text {
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 26px 0 24px;
  font-style: italic;
  font-weight: 500;
  position: relative;
  z-index: 1;
}
.testimonial-card .quote-attr {
  border-top: 1px solid var(--rule);
  padding-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-card .quote-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.testimonial-card .quote-attr strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 1px;
}
.testimonial-card .quote-attr span {
  color: var(--muted);
  font-size: 0.83rem;
}
.testimonial-card .placeholder-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  pointer-events: none;
  background: var(--accent-tint);
  color: var(--accent-deep);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 4px;
  border: 1px dashed var(--accent);
}

/* =========================================
   Accessibility polish
   ========================================= */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--navy);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
  z-index: 1000;
  transition: top 0.18s ease;
}
.skip-link:focus {
  top: 16px;
  outline: 3px solid var(--accent-soft);
  outline-offset: 2px;
}

/* Visible keyboard focus indicators */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Honour reduced-motion preferences (consolidated) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .capacity-badge .dot { animation: none; }
}

/* Acknowledgement of Country block — sits above the standard footer-bottom row */
.acknowledgement {
  margin: 40px 0 24px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.78);
}
.acknowledgement p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 880px;
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 3px;
}
.footer-bottom a:hover { color: var(--accent-soft); }

/* =========================================
   Print stylesheet — for plan managers, families, and anyone who prints a page
   ========================================= */
@media print {
  /* Hide interactive chrome */
  .site-header,
  .nav-toggle,
  .nav-cta,
  .floating-cta,
  .back-to-top,
  .wave-divider,
  .section-wave,
  .footer-wave,
  .skip-link,
  .capacity-badge,
  .placeholder-tag {
    display: none !important;
  }

  /* Strip decorative backgrounds, force readable colours */
  body,
  .section-navy,
  .section-sky,
  .section-sky-tint,
  .page-hero,
  .hero,
  .cta-banner,
  .site-footer {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .section-navy *,
  .page-hero *,
  .hero *,
  .cta-banner *,
  .site-footer * {
    color: #000000 !important;
  }
  .section-navy::before,
  .page-hero::before,
  .cta-banner::after {
    display: none !important;
  }

  /* Show link URLs after each link, except internal anchors */
  a[href^="http"]::after,
  a[href^="mailto:"]::after,
  a[href^="tel:"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    word-wrap: break-word;
  }

  /* Tighten layout for paper */
  body { font-size: 11pt; line-height: 1.45; }
  h1 { font-size: 22pt; }
  h2 { font-size: 16pt; }
  h3 { font-size: 12pt; }
  section { padding: 16px 0 !important; }
  .container { padding: 0 !important; max-width: 100% !important; }
  .testimonial-card,
  .service-card,
  .value-item { break-inside: avoid; }
  img { max-width: 100% !important; height: auto !important; }
}

/* Tighter testimonial padding on narrow screens */
@media (max-width: 560px) {
  .testimonial-card { padding: 32px 24px 26px; }
  .testimonial-card .quote-mark { font-size: 3.5rem; left: 22px; top: 22px; }
  .testimonial-card .quote-text { font-size: 1.02rem; margin-top: 22px; }
  .acknowledgement { padding: 18px 18px; }
  .acknowledgement p { font-size: 0.88rem; }
}

/* =========================================
   Editorial polish
   ========================================= */
.lead-para {
  font-size: 1.12rem;
  line-height: 1.7;
  margin-bottom: 1.1em;
}
.dropcap {
  float: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 4.6rem;
  line-height: 0.85;
  color: var(--accent-deep);
  padding: 6px 14px 0 0;
  margin-top: 4px;
}

.pull-quote {
  margin: 36px 0;
  padding: 22px 28px 22px 30px;
  border-left: 4px solid var(--accent-soft);
  position: relative;
}
.pull-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.55rem;
  line-height: 1.35;
  color: var(--accent-soft);
  margin: 0;
  font-weight: 500;
}

/* Kicker — a lighter alternative to the solid .eyebrow pill */
.kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 10px;
}

/* Photo-feature — magazine-style 2-column block: portrait photo + caption beside */
.photo-feature {
  margin: 60px auto 0;
  max-width: 980px;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 40px;
  align-items: center;
}
.photo-feature img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.photo-feature-caption {
  padding: 8px 0;
}
.photo-feature-caption .kicker {
  color: var(--accent-deep);
  margin-bottom: 12px;
}
.photo-feature-caption h3 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 14px;
}
.photo-feature-caption p {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0;
  color: var(--ink);
  opacity: 0.78;
  max-width: 460px;
}
@media (max-width: 720px) {
  .photo-feature { grid-template-columns: 1fr; gap: 28px; max-width: 480px; }
  .photo-feature img { aspect-ratio: 4 / 5; }
}

/* =========================================
   Proof strip — 4-up credentials under the hero
   ========================================= */
.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-top: 80px;
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.proof-item .proof-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.proof-item .proof-icon svg { width: 18px; height: 18px; }
.proof-item strong {
  display: block;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2px;
}
.proof-item span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.3;
}
@media (max-width: 900px) {
  .proof-strip { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (max-width: 460px) {
  .proof-strip { grid-template-columns: 1fr; }
}

/* =========================================
   Subtle dot texture on navy sections
   ========================================= */
.section-navy::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}

/* Mobile-only CTA inside the nav dropdown */
.nav-mobile-cta { display: none; }
@media (max-width: 900px) {
  .nav-mobile-cta { display: list-item; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--rule); }
  .nav-mobile-cta a {
    background: var(--navy) !important;
    color: var(--white) !important;
    border-color: var(--navy) !important;
  }
  .nav-mobile-cta a:hover {
    background: var(--navy-soft) !important;
    border-color: var(--navy-soft) !important;
  }
}

/* Cap the hero photo height on mobile — a 4/5 portrait at full-screen width is too tall */
@media (max-width: 900px) {
  .hero-photo { max-height: 60vh; aspect-ratio: auto; }
  .hero-photo img { max-height: 60vh; object-position: center 30%; }
}
@media (max-width: 560px) {
  .hero-photo { max-height: 48vh; }
  .hero-photo img { max-height: 48vh; }
}

/* Override default browser styling for <address> in the footer */
.site-footer address {
  font-style: normal;
  font-size: 0.95rem;
}

/* =========================================
   Selection, caret, forced-colors fine print
   ========================================= */
::selection {
  background: var(--accent-soft);
  color: var(--navy);
}
::-moz-selection {
  background: var(--accent-soft);
  color: var(--navy);
}
input, textarea, select {
  caret-color: var(--navy);
}

/* Windows high-contrast mode: keep interactive states identifiable */
@media (forced-colors: active) {
  .btn, .btn-light, .btn-primary, .btn-outline, .btn-outline-light {
    border: 2px solid CanvasText;
  }
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  textarea:focus-visible,
  select:focus-visible {
    outline: 3px solid CanvasText;
  }
}

/* Footer text wordmark (replaced the previous large logo image) */
.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 0 0 14px;
  line-height: 1;
}
