/* ============================================================
   DevCourseLab /test — bright education theme
   Poppins headings + Inter body
   Indigo primary, coral accent, photo-led sections
   ============================================================ */

:root {
  --indigo: #5648e0;
  --indigo-deep: #4033c9;
  --indigo-ink: #1e1b3a;
  --indigo-tint: #efedff;
  --coral: #ff6f61;
  --coral-deep: #ef5344;
  --coral-tint: #fff0ed;
  --teal: #0ea5a4;
  --teal-tint: #e2f6f5;
  --amber: #f6a609;
  --ink: #1e1b3a;
  --body: #55536e;
  --mute: #8a87a3;
  --line: #e7e5f2;
  --bg-soft: #f7f6fc;
  --white: #ffffff;
  --good: #1e9e6a;
  --bad: #d93a3a;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 12px 32px -14px rgba(30, 27, 58, .18);
  --shadow-lg: 0 24px 54px -20px rgba(30, 27, 58, .3);
  --font-head: "Poppins", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 .55em;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.45rem); }
h3 { font-size: 1.18rem; font-weight: 600; line-height: 1.35; }
p { margin: 0 0 1em; }

a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--coral-deep); }

::selection { background: var(--coral); color: #fff; }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  background: var(--ink); color: #fff; padding: 10px 18px;
  border-radius: 10px; transition: top .18s ease;
}
.skip-link:focus { top: 14px; color: #fff; }

/* ---------- type helpers ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--indigo); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2.5px; border-radius: 2px; background: var(--coral); }
.eyebrow.center::after { content: ""; width: 22px; height: 2.5px; border-radius: 2px; background: var(--coral); }

.lead { font-size: 1.13rem; color: var(--body); max-width: 58ch; }
.muted { color: var(--mute); }
.small { font-size: .88rem; }

.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; stroke-width: 1.9; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.icon.lg { width: 26px; height: 26px; }
.icon.sm { width: 16px; height: 16px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: all .18s ease; min-height: 50px;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 12px 26px -10px rgba(255, 111, 97, .6); }
.btn-primary:hover { background: var(--coral-deep); color: #fff; transform: translateY(-2px); }

.btn-indigo { background: var(--indigo); color: #fff; box-shadow: 0 12px 26px -10px rgba(86, 72, 224, .55); }
.btn-indigo:hover { background: var(--indigo-deep); color: #fff; transform: translateY(-2px); }

.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--indigo-ink); color: #fff; }

.btn-ghost-white { border-color: rgba(255, 255, 255, .65); color: #fff; background: transparent; }
.btn-ghost-white:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: #fff; }

.btn-link { color: var(--indigo); font-weight: 600; padding: 0; min-height: 0; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-size: .95rem; }
.btn-link:hover { color: var(--coral-deep); gap: 11px; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 26px; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--indigo), var(--coral));
  color: #fff; display: grid; place-items: center;
  font-size: .92rem; font-weight: 700; letter-spacing: -.5px;
  box-shadow: 0 8px 18px -6px rgba(86, 72, 224, .5);
}

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a {
  color: var(--body); font-weight: 500; font-size: .96rem;
  padding: 9px 15px; border-radius: 999px; transition: all .15s ease;
}
.main-nav a:hover { color: var(--indigo); background: var(--indigo-tint); }
.main-nav a[aria-current="page"] { color: #fff; background: var(--indigo); }

.header-cta { padding: 12px 22px; min-height: 46px; font-size: .9rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px;
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 640px;
  display: flex; align-items: center;
  padding: 110px 0 150px;
  color: #fff;
  background: var(--indigo-ink);
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(30, 27, 58, .93) 8%, rgba(30, 27, 58, .72) 45%, rgba(86, 72, 224, .45) 100%);
}
.hero-inner { position: relative; max-width: 700px; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--coral); position: relative; white-space: nowrap; }
.hero h1 .hl svg { position: absolute; left: 0; bottom: -10px; width: 100%; height: 12px; color: var(--coral); }
.hero .lead { color: rgba(255, 255, 255, .82); margin-bottom: 34px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px);
  color: #fff; font-family: var(--font-head); font-weight: 500; font-size: .85rem;
  padding: 9px 18px; border-radius: 999px; margin-bottom: 26px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* stats bar overlapping hero */
.stats-bar {
  position: relative;
  margin-top: -78px;
  z-index: 5;
}
.stats-bar-inner {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 34px 20px;
}
.stat-cell { text-align: center; padding: 6px 16px; border-right: 1px solid var(--line); }
.stat-cell:last-child { border-right: 0; }
.stat-cell b {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: 2rem; line-height: 1.1; color: var(--indigo);
}
.stat-cell span { font-size: .88rem; color: var(--mute); }

/* ---------- sections ---------- */

.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); }
.section.tint { background: var(--indigo-tint); }
.section.dark { background: var(--indigo-ink); color: rgba(255, 255, 255, .78); }
.section.dark h2, .section.dark h3 { color: #fff; }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev > .split-media { order: 2; }

.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.split-media::before {
  content: ""; position: absolute; inset: 22px -18px -18px 22px;
  border: 3px solid var(--coral); border-radius: var(--radius-lg);
  z-index: -1;
}
.split-media.no-frame::before { display: none; }

.float-chip {
  position: absolute; bottom: 26px; left: -26px;
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 16px 20px;
  display: flex; align-items: center; gap: 13px;
}
.float-chip b { font-family: var(--font-head); color: var(--ink); display: block; font-size: .98rem; }
.float-chip span { font-size: .8rem; color: var(--mute); }

.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 14px; font-weight: 500; color: var(--ink); }
.check-list li span { color: var(--body); font-weight: 400; }
.check-list .icon { color: var(--teal); margin-top: 5px; }

/* ---------- feature / why cards ---------- */

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

.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-card h3 { margin: 18px 0 8px; }
.feature-card p { margin: 0; font-size: .95rem; }

.icon-badge {
  width: 58px; height: 58px; border-radius: 18px;
  display: grid; place-items: center;
  background: var(--indigo-tint); color: var(--indigo);
}
.icon-badge.coral { background: var(--coral-tint); color: var(--coral-deep); }
.icon-badge.teal { background: var(--teal-tint); color: var(--teal); }
.icon-badge.solid { background: linear-gradient(135deg, var(--indigo), var(--coral)); color: #fff; }

/* ---------- course cards ---------- */

.course-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.course-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.course-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.course-card:hover .course-media img { transform: scale(1.05); }
.course-media .chip-float { position: absolute; top: 14px; left: 14px; }

.course-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.course-body h3 { margin-bottom: 8px; }
.course-body > p { font-size: .93rem; flex: 1; }

.course-meta {
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  padding: 13px 0; margin: 6px 0 16px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: .84rem; color: var(--mute);
}
.course-meta span { display: inline-flex; align-items: center; gap: 7px; }
.course-meta .icon { color: var(--indigo); }

.course-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-size: .72rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px;
  background: var(--bg-soft); color: var(--body); border: 1px solid var(--line);
}
.chip.lvl-b { background: var(--teal-tint); color: #0b7c7b; border-color: #c3e9e8; }
.chip.lvl-i { background: var(--indigo-tint); color: var(--indigo-deep); border-color: #d8d3fb; }
.chip.lvl-a { background: #fdf3e0; color: #a06a08; border-color: #f3dfb6; }
.chip.hot { background: var(--coral); color: #fff; border-color: var(--coral); }
.chip-float { box-shadow: 0 6px 16px -6px rgba(30, 27, 58, .35); }

/* ---------- testimonials ---------- */

.t-card {
  background: #fff; border-radius: var(--radius-lg); padding: 30px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
}
.t-card .t-quote-icon {
  position: absolute; top: 24px; right: 26px;
  color: var(--indigo-tint); width: 42px; height: 42px;
}
.t-card blockquote { margin: 0; font-size: .98rem; color: var(--body); }
.t-stars { display: inline-flex; gap: 3px; color: var(--amber); }
.t-who { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.t-ava {
  width: 48px; height: 48px; flex: none; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: #fff;
}
.t-who b { display: block; font-size: .95rem; color: var(--ink); font-family: var(--font-head); }
.t-who span { font-size: .82rem; color: #fff; }

/* ---------- mentor links (team cards) ---------- */

.mentor-links { display: flex; gap: 10px; }
.mentor-links a {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--indigo);
  transition: all .15s ease;
}
.mentor-links a:hover { background: var(--indigo); border-color: var(--indigo); color: #fff; }

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

.faq { max-width: 800px; margin-inline: auto; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 14px; overflow: hidden; transition: box-shadow .2s ease;
}
.faq-item.open { box-shadow: var(--shadow); border-color: #d8d3fb; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: none; border: 0; padding: 20px 24px;
  font-family: var(--font-head); font-size: 1.02rem; font-weight: 600;
  color: var(--ink); text-align: left; cursor: pointer;
}
.faq-q:hover { color: var(--indigo); }
.faq-q .faq-ico {
  width: 34px; height: 34px; flex: none; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--indigo-tint); color: var(--indigo);
  transition: all .2s ease;
}
.faq-q[aria-expanded="true"] .faq-ico { background: var(--coral); color: #fff; transform: rotate(45deg); }
.faq-a { padding: 0 24px 22px; color: var(--body); max-width: 66ch; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-item .faq-a[hidden] { display: none; }

/* ---------- contact ---------- */

.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 30px; align-items: stretch; }

.contact-panel {
  background: var(--indigo-ink); color: rgba(255, 255, 255, .78);
  border-radius: var(--radius-lg); padding: 40px 38px;
  position: relative; overflow: hidden;
}
.contact-panel::after {
  content: ""; position: absolute; right: -80px; bottom: -80px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 111, 97, .35), transparent 70%);
}
.contact-panel h3 { color: #fff; font-size: 1.4rem; margin-bottom: 8px; }
.contact-panel > p { font-size: .95rem; margin-bottom: 26px; }
.contact-line { display: flex; gap: 15px; align-items: flex-start; padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, .12); position: relative; z-index: 1; }
.contact-line .icon-badge { width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .1); color: #ffb3ab; flex: none; }
.contact-line b { display: block; color: #fff; font-family: var(--font-head); font-size: .92rem; margin-bottom: 2px; }
.contact-line p { margin: 0; font-size: .9rem; }
.contact-line a { color: #fff; font-weight: 500; }
.contact-line a:hover { color: var(--coral); }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px 38px; box-shadow: var(--shadow);
}

form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 7px; font-family: var(--font-head); }
form label .req { color: var(--coral-deep); }
form input[type="text"], form input[type="email"], form input[type="tel"], form select, form textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px;
  background: #ffffff00; padding: 13px 16px;
  font-family: var(--font-body); font-size: .96rem; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
form textarea { min-height: 140px; resize: vertical; }
form input:focus, form select:focus, form textarea:focus {
  outline: none; border-color: var(--indigo); background: #ffffff00;
  box-shadow: 0 0 0 4px rgba(86, 72, 224, .13);
}
form .field-error { color: var(--bad); font-size: .83rem; margin-top: 6px; display: none; }
form .field.invalid input, form .field.invalid textarea, form .field.invalid select { border-color: var(--bad); }
form .field.invalid .field-error { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .84rem; color: var(--mute); margin-top: 14px; }

.form-success {
  display: none; border: 1px solid #b7e4cf; background: #edfaf3; color: var(--good);
  border-radius: var(--radius); padding: 26px 28px; align-items: flex-start; gap: 16px;
}
.form-success.show { display: flex; }
.form-success b { display: block; font-size: 1.05rem; margin-bottom: 4px; font-family: var(--font-head); }
.form-success p { margin: 0; color: #2c7a58; font-size: .93rem; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(115deg, var(--indigo) 0%, var(--indigo-deep) 55%, #7a3fd8 100%);
  color: #fff; padding: 64px 60px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; right: -60px; top: -90px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 111, 97, .5), transparent 68%);
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, .78); margin: 0; max-width: 46ch; }
.cta-band .eyebrow { color: #ffd9d4; }
.cta-band .eyebrow::before { background: #fff; }

.news-form { display: flex; gap: 10px; position: relative; z-index: 1; }
.news-form input {
  flex: 1; min-width: 0;
  border: 1.5px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .12);
  color: #fff; border-radius: 999px; padding: 15px 22px;
  font-size: .95rem; font-family: var(--font-body);
}
.news-form input::placeholder { color: rgba(255, 255, 255, .55); }
.news-form input:focus-visible { outline-color: #fff; }

/* ---------- page hero (subpages) ---------- */

.page-hero {
  position: relative;
  padding: 84px 0 72px;
  background: var(--indigo-ink);
  color: rgba(255, 255, 255, .78);
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; left: -100px; top: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(86, 72, 224, .5), transparent 70%);
}
.page-hero::after {
  content: ""; position: absolute; right: -70px; bottom: -140px;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 111, 97, .38), transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(255, 255, 255, .78); margin-bottom: 0; }
.page-hero .eyebrow { color: #ffb3ab; }
.crumbs { font-size: .85rem; color: rgba(255, 255, 255, .6); margin-bottom: 18px; font-weight: 500; }
.crumbs a { color: rgba(255, 255, 255, .75); }
.crumbs a:hover { color: var(--coral); }

/* ---------- legal ---------- */

.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 60px; align-items: start; }
.legal-toc {
  position: sticky; top: 104px; font-size: .92rem;
  background: var(--bg-soft); border-radius: var(--radius); padding: 20px 22px;
}
.legal-toc p { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.legal-toc a { display: block; padding: 5px 0; color: var(--mute); }
.legal-toc a:hover { color: var(--coral-deep); }

.legal-body { max-width: 72ch; }
.legal-body h2 { font-size: 1.5rem; margin-top: 2em; scroll-margin-top: 100px; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 { font-family: var(--font-head); font-size: 1.05rem; margin-top: 1.5em; }
.legal-body ul, .legal-body ol { padding-left: 1.4em; margin-bottom: 1em; }
.legal-body li { margin-bottom: .45em; }
.legal-body .updated {
  display: inline-block; font-size: .82rem; font-weight: 600; color: var(--indigo-deep);
  background: var(--indigo-tint); border-radius: 999px; padding: 8px 16px; margin-bottom: 26px;
}
.legal-body table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 18px 0 26px; }
.legal-body th, .legal-body td { text-align: left; padding: 12px 15px; border: 1px solid var(--line); vertical-align: top; }
.legal-body th { background: var(--bg-soft); font-family: var(--font-head); color: var(--ink); }

.contact-box {
  background: var(--teal-tint); border: 1px solid #c3e9e8;
  border-radius: var(--radius); padding: 24px 28px; margin-top: 36px;
}
.contact-box p { margin-bottom: 6px; }
.contact-box p:last-child { margin-bottom: 0; }

.note-strip {
  border-left: 4px solid var(--amber); background: #fdf6e7;
  padding: 17px 22px; border-radius: 0 12px 12px 0;
  font-size: .94rem; margin: 26px 0;
}

/* ---------- footer ---------- */

.site-footer { background: var(--indigo-ink); color: rgba(255, 255, 255, .62); padding: 72px 0 32px; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 44px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.site-footer .brand { color: #fff; }
.footer-blurb { font-size: .92rem; margin: 16px 0 0; max-width: 36ch; }
.footer-h {
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .45); margin-bottom: 18px;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: rgba(255, 255, 255, .72); font-size: .94rem; }
.footer-links a:hover { color: var(--coral); }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; font-size: .92rem; }
.footer-contact .icon { width: 17px; height: 17px; margin-top: 4px; color: var(--coral); }
.footer-contact a { color: #fff; }
.footer-contact a:hover { color: var(--coral); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between;
  padding-top: 28px; font-size: .85rem; color: rgba(255, 255, 255, .42);
}

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split.rev > .split-media { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .stat-cell:nth-child(2) { border-right: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 48px 38px; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .float-chip { left: 10px; }
}

@media (max-width: 760px) {
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .main-nav {
    position: absolute; top: 76px; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 3px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px 20px 20px; box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 16px; font-size: 1.02rem; }
  .hero { min-height: 0; padding: 90px 0 130px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .news-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .stat-cell b { font-size: 1.6rem; }
  .contact-panel, .form-card { padding: 30px 24px; }
}

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