/* ============================================================
   Accreditation Partners — Shared Stylesheet
   Brand colors sampled directly from the AP logo
   ============================================================ */

:root {
  /* Logo-sampled palette */
  --navy:        #0A2F64;  /* ACCREDITATION wordmark */
  --navy-bright: #08437B;  /* bridge + left figure */
  --navy-deep:   #061F45;  /* deep shade for footers */
  --green:       #4D823A;  /* right figure */
  --green-dark:  #45743D;  /* PARTNERS wordmark */
  --green-light: #6BA355;

  --white:   #ffffff;
  --paper:   #f6f8fa;
  --line:    #dfe5ec;
  --ink:     #263243;
  --muted:   #5d6b7d;

  --radius: 4px;
  --shadow-sm: 0 1px 3px rgba(10,47,100,.08);
  --shadow:    0 3px 18px rgba(10,47,100,.10);
  --shadow-lg: 0 12px 42px rgba(10,47,100,.16);

  --serif: 'Libre Baskerville', 'Georgia', 'Times New Roman', serif;
  --sans:  'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

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

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

h1, h2, h3, h4, h5 { font-family: var(--serif); line-height: 1.28; color: var(--navy); font-weight: 700; }
p { margin-bottom: 1.1rem; }
a { color: var(--navy-bright); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin-left: 1.2rem; margin-bottom: 1.1rem; }
li { margin-bottom: .45rem; }
strong { color: var(--navy); font-weight: 600; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 28px; }

.section { padding: 82px 0; }
.section-sm { padding: 56px 0; }
.section-paper { background: var(--paper); }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ── Skip link (accessibility) ─────────────────────────────── */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: 10px 18px;
  border-radius: 0 0 var(--radius) 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* ── HEADER / NAV ──────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 2px 14px rgba(10,47,100,.10); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 92px; padding-top: 10px; padding-bottom: 10px;
}

.brand { display: block; flex-shrink: 0; }
.brand img { height: 68px; width: auto; }

.main-nav ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; }
.main-nav li { margin: 0; }
.main-nav a {
  display: block;
  font-size: .88rem; font-weight: 600;
  letter-spacing: .055em; text-transform: uppercase;
  color: var(--navy);
  padding: 10px 15px;
  border-radius: var(--radius);
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s, background .2s;
}
.main-nav a:hover { color: var(--green); background: rgba(77,130,58,.07); }
.main-nav a.active { color: var(--green-dark); border-bottom-color: var(--green); }

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  border-bottom-color: transparent !important;
  margin-left: 10px;
  box-shadow: var(--shadow-sm);
}
.nav-cta:hover { background: var(--green-dark) !important; color: var(--white) !important; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: all .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .95rem; font-weight: 700; letter-spacing: .035em;
  padding: 14px 30px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.btn-primary { background: var(--navy); color: var(--white); box-shadow: 0 3px 12px rgba(10,47,100,.22); }
.btn-primary:hover { background: var(--navy-bright); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(10,47,100,.30); }

.btn-green { background: var(--green); color: var(--white); box-shadow: 0 3px 12px rgba(77,130,58,.24); }
.btn-green:hover { background: var(--green-dark); color: var(--white); transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-row.center { justify-content: center; }

/* ── PAGE HERO (interior pages) ────────────────────────────── */
.page-hero {
  background: var(--paper);
  border-bottom: 3px solid var(--green);
  padding: 62px 0 54px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 14px; }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 720px; margin: 0 auto; }

.breadcrumb { font-size: .8rem; color: var(--muted); margin-bottom: 16px; letter-spacing: .04em; text-transform: uppercase; }
.breadcrumb a { color: var(--green-dark); font-weight: 600; }

/* ── HOME HERO ─────────────────────────────────────────────── */
.home-hero { background: var(--white); padding: 70px 0 60px; overflow: hidden; }
.home-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }

.eyebrow {
  display: inline-block;
  font-size: .76rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-dark);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green);
  margin-bottom: 20px;
}

.home-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 20px; }
.home-hero h1 .accent { color: var(--green-dark); }
.home-hero .lead { font-size: 1.15rem; color: var(--muted); margin-bottom: 26px; max-width: 540px; }

.pull-quote {
  border-left: 4px solid var(--green);
  background: var(--paper);
  padding: 18px 24px;
  margin: 0 0 30px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--navy);
  font-size: 1rem;
}
.pull-quote strong { font-style: normal; }

.hero-logo-panel { display: flex; justify-content: center; align-items: center; }
.hero-logo-panel img { max-width: 460px; width: 100%; }

/* ── PILLAR BAND ───────────────────────────────────────────── */
.pillar-band { background: var(--navy); padding: 42px 0; }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.pillar {
  text-align: center; padding: 0 22px; color: rgba(255,255,255,.92);
  position: relative;
}
.pillar + .pillar::before {
  content: ''; position: absolute; left: 0; top: 8%; height: 84%;
  border-left: 1px solid rgba(255,255,255,.18);
}
.pillar svg { width: 34px; height: 34px; margin: 0 auto 12px; display: block; color: #fff; opacity: .9; }
.pillar h3 { font-family: var(--sans); font-size: .82rem; font-weight: 700; color: #fff; letter-spacing: .07em; text-transform: uppercase; line-height: 1.4; }

/* ── SECTION HEADINGS ──────────────────────────────────────── */
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }

.rule { width: 64px; height: 3px; background: var(--green); border: 0; margin: 0 0 22px; }
.section-head.center .rule { margin-left: auto; margin-right: auto; }

/* ── CARDS ─────────────────────────────────────────────────── */
.card-grid { display: grid; gap: 26px; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  position: relative; overflow: hidden;
}
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--navy); }
.card:nth-child(even)::before { background: var(--green); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }

.card-icon {
  width: 54px; height: 54px; border-radius: 8px;
  background: rgba(10,47,100,.07);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card:nth-child(even) .card-icon { background: rgba(77,130,58,.10); }
.card-icon svg { width: 27px; height: 27px; color: var(--navy); }
.card:nth-child(even) .card-icon svg { color: var(--green); }

.card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.card p { font-size: .96rem; color: var(--muted); margin-bottom: 14px; }
.card p:last-child { margin-bottom: 0; }

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tag {
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 3px;
  background: var(--paper); color: var(--navy); border: 1px solid var(--line);
}

/* ── SPLIT / TWO-COLUMN ────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.split.align-start { align-items: start; }
.split-wide-left { grid-template-columns: 1.15fr .85fr; }

/* ── VALUE LIST ────────────────────────────────────────────── */
.value-list { list-style: none; margin: 0; }
.value-list li {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px solid var(--line); margin: 0;
}
.value-list li:first-child { padding-top: 0; }
.value-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.value-icon {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(77,130,58,.11);
  display: flex; align-items: center; justify-content: center;
}
.value-icon svg { width: 20px; height: 20px; color: var(--green-dark); }
.value-list li:nth-child(even) .value-icon { background: rgba(10,47,100,.08); }
.value-list li:nth-child(even) .value-icon svg { color: var(--navy); }
.value-body h4 { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.value-body p { font-size: .94rem; color: var(--muted); margin: 0; }

/* ── PROCESS STEPS ─────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 33px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--green), var(--navy)); z-index: 0;
}
.step { text-align: center; padding: 0 18px; position: relative; z-index: 1; }
.step-badge {
  width: 66px; height: 66px; border-radius: 50%;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: #fff;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 1px var(--line);
}
.step:nth-child(1) .step-badge { background: var(--green); }
.step:nth-child(2) .step-badge { background: var(--navy-bright); }
.step:nth-child(3) .step-badge { background: var(--green-dark); }
.step:nth-child(4) .step-badge { background: var(--navy); }
.step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ── QUOTE BAND ────────────────────────────────────────────── */
.quote-band {
  background: var(--navy);
  padding: 72px 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.quote-band::after {
  content: ''; position: absolute; right: -60px; bottom: -60px;
  width: 260px; height: 260px; border-radius: 50%;
  background: rgba(77,130,58,.16);
}
.quote-band .container { position: relative; z-index: 1; }
.quote-band img.qmark { width: 62px; margin: 0 auto 24px; opacity: .95; }
.quote-band blockquote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  color: #fff; line-height: 1.55;
  max-width: 840px; margin: 0 auto 18px;
}
.quote-band blockquote .accent { color: #9DC98A; font-style: normal; }
.quote-band cite {
  display: block; font-family: var(--sans); font-style: normal;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.6); font-weight: 700;
}

/* ── CALLOUT ───────────────────────────────────────────────── */
.callout {
  background: var(--paper);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 26px 30px;
  margin: 30px 0;
}
.callout h4 { font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-dark); margin-bottom: 10px; }
.callout p:last-child { margin-bottom: 0; }

.callout-navy { border-left-color: var(--navy); }
.callout-navy h4 { color: var(--navy); }

/* ── CHECK LIST ────────────────────────────────────────────── */
.check-list { list-style: none; margin-left: 0; }
.check-list li {
  position: relative; padding-left: 32px; margin-bottom: .7rem;
  color: var(--ink);
}
.check-list li::before {
  content: ''; position: absolute; left: 0; top: .42em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat,
           linear-gradient(#000,#000);
  -webkit-mask-composite: xor; mask-composite: exclude;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* Fallback simple check bullets */
.check-list.simple li::before {
  content: '\2713'; background: none; mask: none; -webkit-mask: none;
  color: var(--green); font-weight: 700; font-size: 1rem; top: 0;
  width: auto; height: auto; border-radius: 0;
}

/* ── ACCORDION (CARF page) ─────────────────────────────────── */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--serif); font-size: 1.05rem; font-weight: 700; color: var(--navy);
  padding: 22px 44px 22px 0; position: relative;
  transition: color .2s;
}
.acc-trigger:hover { color: var(--green-dark); }
.acc-trigger::after {
  content: ''; position: absolute; right: 8px; top: 50%;
  width: 11px; height: 11px; margin-top: -7px;
  border-right: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green);
  transform: rotate(45deg); transition: transform .28s;
}
.acc-trigger[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: -2px; }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-panel-inner { padding: 0 0 24px; color: var(--muted); font-size: .97rem; }
.acc-panel-inner p:last-child, .acc-panel-inner ul:last-child { margin-bottom: 0; }

/* ── TIMELINE (CARF page) ──────────────────────────────────── */
.timeline { list-style: none; margin: 0; padding-left: 0; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 17px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(180deg, var(--green), var(--navy));
}
.timeline li { position: relative; padding-left: 56px; margin-bottom: 30px; }
.timeline li:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute; left: 0; top: 2px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--green);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: .9rem; color: var(--navy);
}
.timeline li:nth-child(even) .timeline-dot { border-color: var(--navy-bright); }
.timeline h4 { font-family: var(--sans); font-size: 1.02rem; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.timeline p { font-size: .95rem; color: var(--muted); margin: 0; }

/* ── STAT ROW ──────────────────────────────────────────────── */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.stat {
  text-align: center; padding: 30px 22px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.stat-num { font-family: var(--serif); font-size: 2.1rem; font-weight: 700; color: var(--green-dark); line-height: 1.1; margin-bottom: 6px; }
.stat-label { font-size: .84rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }

/* ── CONTACT ───────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }

.contact-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
}
.contact-list { list-style: none; margin: 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid var(--line); margin: 0; }
.contact-list li:first-child { padding-top: 0; }
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-list svg { width: 21px; height: 21px; color: var(--green-dark); flex-shrink: 0; margin-top: 3px; }
.contact-list strong { display: block; color: var(--navy); font-size: .95rem; }
.contact-list span, .contact-list a { font-size: .94rem; color: var(--muted); }
.contact-list a:hover { color: var(--green); }

form.ap-form {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; margin-bottom: 7px;
  font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy);
}
.form-group label .req { color: var(--green); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 15px;
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--navy-bright);
  box-shadow: 0 0 0 3px rgba(8,67,123,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group .hint { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.ap-form .btn { width: 100%; }

.form-note { font-size: .84rem; color: var(--muted); text-align: center; margin-top: 16px; margin-bottom: 0; }

.form-success {
  display: none; text-align: center; padding: 40px 30px;
  background: rgba(77,130,58,.07); border: 1.5px solid var(--green);
  border-radius: var(--radius);
}
.form-success svg { width: 46px; height: 46px; color: var(--green); margin: 0 auto 14px; }
.form-success h3 { color: var(--green-dark); margin-bottom: 8px; }
.form-success p { color: var(--muted); margin-bottom: 0; font-size: .96rem; }

/* ── CTA BAND ──────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-bright) 60%, #2E6B3A 100%);
  padding: 66px 0; text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 620px; margin: 0 auto 28px; font-size: 1.06rem; }
.cta-band .btn-primary { background: #fff; color: var(--navy); }
.cta-band .btn-primary:hover { background: var(--paper); color: var(--navy); }
.cta-band .btn-outline { color: #fff; border-color: rgba(255,255,255,.55); }
.cta-band .btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

/* ── FOOTER ────────────────────────────────────────────────── */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 44px; padding-bottom: 44px; }
.footer-brand img { width: 200px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .93; }
.footer-brand p { font-size: .89rem; line-height: 1.65; margin-bottom: 0; max-width: 280px; }

.footer-col h4 {
  font-family: var(--sans); font-size: .76rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: #fff; margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.72); font-size: .9rem; }
.footer-col a:hover { color: #9DC98A; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: .84rem; color: rgba(255,255,255,.55);
}

/* ── ANIMATIONS ────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .pillar:nth-child(3)::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .home-hero-grid, .split, .split-wide-left, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-logo-panel { order: -1; }
  .hero-logo-panel img { max-width: 330px; }
  .card-grid.cols-3, .card-grid.cols-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(10,47,100,.12);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 460px; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 28px 22px; }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-cta { margin: 14px 0 0; text-align: center; border-radius: var(--radius) !important; }
  .brand img { height: 56px; }
  .header-inner { min-height: 76px; }
}

@media (max-width: 520px) {
  .container, .container-narrow { padding: 0 20px; }
  form.ap-form { padding: 26px 22px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar::before { display: none !important; }
  .btn { width: 100%; text-align: center; }
  .btn-row { flex-direction: column; }
}

/* ── PRINT ─────────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
}
