/* StatRCC — Rural Care Connect
   Professional healthcare design system */

:root {
  --navy: #0a3558;
  --navy-deep: #06243f;
  --blue: #0c73c4;
  --blue-hover: #0a63a8;
  --blue-soft: #e8f3fb;
  --sky: #f0f7fc;
  --mist: #f6fafc;
  --ink: #1a3348;
  --muted: #5a7085;
  --muted-2: #6b8194;
  --line: #d4e3ef;
  --line-soft: #e6eef5;
  --white: #ffffff;
  --shadow-sm: 0 4px 18px rgba(10, 53, 88, 0.06);
  --shadow: 0 14px 40px rgba(10, 53, 88, 0.1);
  --shadow-lg: 0 24px 60px rgba(10, 53, 88, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --container: 1200px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  font-weight: 600;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.35rem, 4.2vw, 3.65rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.15rem;
}

h2 {
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  margin-bottom: 0.9rem;
}

h3 {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 0.65rem;
}

h4 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 36rem;
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--blue);
  flex-shrink: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 8px 28px rgba(10, 53, 88, 0.06);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: 210px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
}

.primary-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.primary-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  display: inline-block;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #2c4a63;
  border-radius: 6px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
  color: var(--blue);
  background: transparent;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  background: var(--blue);
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(12, 115, 196, 0.22);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.header-cta:hover {
  background: var(--blue-hover);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(12, 115, 196, 0.28);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.menu-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.menu-toggle-bars span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line-soft);
  padding: 8px 0 28px;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  background: var(--white);
}

.mobile-nav.open { display: block; }

.mobile-nav ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 0;
}

.mobile-nav a {
  display: block;
  padding: 16px 4px;
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--navy);
  border-bottom: 1px solid var(--line-soft);
}

.mobile-nav .btn {
  width: 100%;
  margin-top: 8px;
  padding: 16px 22px;
  font-size: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 22px rgba(12, 115, 196, 0.2);
}

.btn-primary:hover {
  background: var(--blue-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  border-color: #b7cdda;
  background: var(--white);
  color: var(--navy);
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.btn-light:hover {
  background: var(--sky);
  color: var(--navy);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(12, 115, 196, 0.07), transparent 55%),
    linear-gradient(165deg, #f8fbfd 0%, #eef6fb 48%, #e6f1f8 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
  padding: 64px 0 72px;
  min-height: 0;
}

.hero-copy { max-width: 34rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.75rem;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--blue-soft);
  aspect-ratio: 4 / 5;
  max-height: 520px;
}

.hero-visual picture,
.image-panel picture {
  display: block;
  width: 100%;
  height: 100%;
}

.feature-band-media picture {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.hero-photo,
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 480px;
  object-fit: cover;
}

.feature-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Honeypot — hidden from users, present for bots */
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notice-warning {
  background: #fff6e8;
  color: #6a4a12;
  border: 1px solid #f0d9a8;
}

.hero-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: rgba(255, 255, 255, 0.96);
  border-left: 3px solid var(--blue);
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  max-width: 300px;
}

.hero-caption strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}

.hero-caption span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.45;
}

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  padding: 72px 0 64px;
  background:
    radial-gradient(ellipse 50% 80% at 90% 20%, rgba(12, 115, 196, 0.06), transparent 50%),
    linear-gradient(160deg, #f7fbfd 0%, #eaf4fa 100%);
  border-bottom: 1px solid var(--line-soft);
}

.page-hero .lead,
.page-hero > .container > p {
  max-width: 40rem;
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

.page-hero h1 { margin-bottom: 1rem; }

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

.section-sm { padding: 72px 0; }

.section-soft { background: var(--mist); }

.section-sky { background: var(--sky); }

.section-navy {
  background: var(--navy);
  color: #d5e6f2;
}

.section-navy h2,
.section-navy h3 { color: #fff; }

.section-navy .eyebrow { color: #7ec6f4; }

.section-navy .eyebrow::before { background: #7ec6f4; }

.section-navy p,
.section-navy .section-head p { color: #b8d0e0; }

.section-head {
  max-width: 40rem;
  margin-bottom: 48px;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.section-head.center .eyebrow {
  justify-content: center;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.7;
}

/* ---------- Trust / value blocks ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.trust-item {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  background: var(--white);
}

.trust-item:last-child { border-right: 0; }

.trust-item .trust-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.trust-item h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.trust-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

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

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

.cards-4 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color 0.2s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.card:hover {
  border-color: #b8d2e6;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.card .card-link {
  display: inline-flex;
  margin-top: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue);
}

.card .card-link:hover { color: var(--blue-hover); }

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 18px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.solution-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.solution-card .card-body {
  padding: 26px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.solution-card h3 { margin-bottom: 8px; }

/* ---------- Split layouts ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-wide-media { grid-template-columns: 1.05fr 0.95fr; }

.split.reverse > :first-child { order: 2; }

.image-panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--blue-soft);
  position: relative;
}

.image-panel.tall img {
  min-height: 440px;
  max-height: 520px;
}

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

.check-list li {
  position: relative;
  padding-left: 32px;
  color: #4a6378;
  font-size: 1rem;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c73c4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Process steps ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 8%, var(--line) 92%, transparent);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 18px;
}

.process-step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--line);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.section-navy .process-step .step-num {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #8fd0f5;
  box-shadow: none;
}

.section-navy .process::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18) 8%, rgba(255, 255, 255, 0.18) 92%, transparent);
}

.process-step h3 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.process-step p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 220px;
  margin-inline: auto;
}

.section-navy .process-step p { color: #b8d0e0; }

.section-navy .process-step h3 { color: #fff; }

/* Expect steps (numbered list style) */
.expect-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: expect;
  list-style: none;
  margin: 0;
  padding: 0;
}

.expect-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  counter-increment: expect;
}

.expect-item::before {
  content: counter(expect, decimal-leading-zero);
  display: block;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 14px;
}

.expect-item h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
}

.expect-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Rural / feature band ---------- */
.feature-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-band-media {
  position: relative;
  min-height: 320px;
}

.feature-band-media picture,
.feature-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-band-media picture {
  position: absolute;
  inset: 0;
}

.feature-band-media img {
  position: absolute;
  inset: 0;
}

.feature-band-content {
  background: var(--navy);
  color: #d5e6f2;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-band-content h2 { color: #fff; }

.feature-band-content .eyebrow { color: #7ec6f4; }

.feature-band-content .eyebrow::before { background: #7ec6f4; }

.feature-band-content p {
  color: #b8d0e0;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 1.25rem;
  max-width: 28rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #0d4f82 55%, #0c73c4 140%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
}

.cta-band p {
  margin: 0;
  color: #c8dcec;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

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

/* ---------- Audience pathways ---------- */
.pathway {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pathway-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  background: var(--white);
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease), border-color 0.2s var(--ease);
}

.pathway-card:hover {
  border-color: #b8d2e6;
  box-shadow: var(--shadow-sm);
}

.pathway-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
}

.pathway-card h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.pathway-card p {
  color: var(--muted);
  margin: 0 0 24px;
  line-height: 1.6;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-box {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.contact-box + .contact-box { margin-top: 14px; }

.contact-box h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.contact-box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-box a {
  color: var(--blue);
  font-weight: 650;
}

.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

.form-field .optional {
  font-weight: 500;
  color: var(--muted-2);
}

.form-field input,
.form-field textarea,
.form-field select {
  font: inherit;
  border: 1.5px solid #c8d8e4;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  outline: none;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(12, 115, 196, 0.12);
}

.form-field input.is-invalid,
.form-field textarea.is-invalid,
.form-field select.is-invalid {
  border-color: #c44949;
}

.form-field .field-error {
  font-size: 0.8rem;
  color: #c44949;
  display: none;
}

.form-field.has-error .field-error { display: block; }

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.notice {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
  color: #3d5a70;
  font-size: 0.88rem;
  margin-top: 16px;
  line-height: 1.5;
}

.notice-success {
  background: #e8f5ee;
  color: #1f5c3a;
  margin-bottom: 16px;
}

/* ---------- Prose / legal ---------- */
.prose { max-width: 42rem; }

.prose p {
  font-size: 1.05rem;
  color: #4e667a;
  line-height: 1.75;
  margin: 0 0 1.15rem;
}

.prose h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.prose ul {
  color: #4e667a;
  padding-left: 1.25rem;
  margin: 0 0 1.15rem;
  line-height: 1.7;
}

/* ---------- Commitment list ---------- */
.commitment-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1200px) {
  .commitment-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.commitment-item {
  text-align: center;
  padding: 28px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.commitment-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.commitment-item span {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  color: #a8c0d4;
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr 0.85fr 0.9fr;
  gap: 48px;
}

.footer-logo-wrap {
  display: inline-block;
  margin-bottom: 18px;
}

.footer-logo-wrap img {
  width: 190px;
  max-height: none;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 4px;
}

.footer-brand-sub {
  font-size: 0.85rem;
  color: #7ec6f4;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 14px;
}

.footer p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #a8c0d4;
  margin: 0;
  max-width: 280px;
}

.footer h3 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}

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

.footer a {
  font-size: 0.92rem;
  color: #a8c0d4;
  transition: color 0.2s;
}

.footer a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 48px;
  padding-top: 22px;
  font-size: 0.82rem;
  color: #7a96ab;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover,
  .header-cta:hover,
  .card:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(1),
  .trust-item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .commitment-grid { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  :root { --header-h: 72px; }

  .primary-nav,
  .header-cta { display: none; }

  .menu-toggle { display: inline-flex; }

  .hero-inner,
  .split,
  .contact-grid,
  .pathway,
  .feature-band {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .split.reverse > :first-child { order: 0; }

  .hero-inner { padding: 48px 0 56px; }

  .hero-visual {
    aspect-ratio: 16 / 11;
    max-height: 400px;
  }

  .cards,
  .cards-2,
  .cards-4 { grid-template-columns: 1fr 1fr; }

  .process {
    grid-template-columns: 1fr 1fr;
    gap: 36px 16px;
  }

  .process::before { display: none; }

  .expect-list { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }

  .feature-band-content { padding: 40px 32px; }

  .feature-band-media {
    min-height: 280px;
    order: -1;
  }

  .feature-band-media img { position: relative; min-height: 280px; }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 32px;
  }

  .section { padding: 80px 0; }

  .page-hero { padding: 56px 0 48px; }
}

@media (max-width: 620px) {
  .container { width: min(var(--container), calc(100% - 32px)); }

  .brand img { width: 168px; max-height: 44px; }

  .header-inner { min-height: 68px; }

  .section { padding: 64px 0; }

  h1 { font-size: 2.15rem; }

  h2 { font-size: 1.7rem; }

  .lead { font-size: 1.05rem; }

  .cards,
  .cards-2,
  .cards-4,
  .stats,
  .trust-grid,
  .process,
  .expect-list,
  .footer-grid,
  .form-grid,
  .commitment-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child { border-bottom: 0; }

  .hero-inner { padding: 36px 0 48px; gap: 28px; }

  .hero-visual {
    aspect-ratio: 4 / 3;
    max-height: 300px;
  }

  .hero-caption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }

  .image-panel img {
    min-height: 260px;
    max-height: 320px;
  }

  .cta-band { padding: 32px 24px; }

  .form-panel { padding: 24px 20px; }

  .footer { padding: 56px 0 24px; }

  .footer-bottom { flex-direction: column; gap: 6px; }

  .process-step { text-align: left; padding: 0; }

  .process-step p { margin-inline: 0; max-width: none; }

  .process-step .step-num {
    width: 56px;
    height: 56px;
    font-size: 1rem;
  }
}

@media (min-width: 1440px) {
  .hero-inner { padding: 72px 0 80px; }
}
