/* Crash Next Law — style.css
 *
 * Surface: the Renol theme, index-2, measured off the live demo and its
 * css/style.min.css. Values marked "theme" are the theme's own; the page
 * shape around them follows divorcemistakesnetwork.com. Token notes are in
 * tools/shell.py.
 */

:root {
  --navy: #073341;           /* theme primary */
  --deep: #032833;           /* theme .cta-section, .footer-copyright */
  --abyss: #021116;          /* theme .bg-img-5 gradient end */
  --green: #81D86F;          /* theme success */
  --mist: #F5FDFF;           /* theme light */
  --ink: #141822;            /* theme dark */
  --slate: #8797A7;          /* theme paragraph grey: on navy only */
  --white: #FFFFFF;
  --text: #4E5F70;           /* body text on white and mist (AA) */
  --foot: #A9B8C6;           /* small text on navy (AA) */
  --line: rgba(189, 189, 189, .30);   /* theme accordion rule */
  --tint: rgba(129, 216, 111, .20);   /* theme icon square */
  --shadow: 0 3px 5px rgba(0, 0, 0, .04);   /* theme .services-content-1 */
  --lift: 0 14px 34px rgba(7, 51, 65, .10);
  --r: 8px;                  /* theme .services-content */
  --r-lg: 20px;              /* theme .price-section .card */
  --font: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter: 16px;
  --space: clamp(56px, 8vw, 100px);   /* theme .section 100px, 40px under 991 */
}
@media (min-width: 768px) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--white); color: var(--text);
  font: 400 17px/1.7 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--navy); margin: 0; line-height: 1.25; font-weight: 500; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1172px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 900px; }
.section { padding: var(--space) 0; position: relative; }
.band-mist { background: var(--mist); }
.center-row { display: flex; justify-content: center; margin-top: 44px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--green); color: var(--ink);
  padding: 10px 18px; border-radius: 3px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ----------------------------------------------------------------- buttons --
 * Theme .btn: 10px 28px, 15px, 3px radius, lifts 3px on hover over .5s. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 26px; border: 1px solid transparent; border-radius: 3px;
  font: 500 15px/1.4 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .5s, background-color .3s, color .3s, border-color .3s;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:hover { transform: translateY(-3px); }
.btn--green { background: var(--green); color: var(--ink); }
.btn--navy { background: var(--navy); color: var(--mist); }
.btn--navy:hover { background: var(--deep); }
.btn--outline { background: transparent; color: var(--mist); border-color: rgba(245, 253, 255, .45); }
.btn--outline:hover { border-color: var(--green); color: var(--green); }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover { transition: none; transform: none; } }

/* ------------------------------------------------------------ section head --
 * Theme .title-sm: a short label, then the 50px x 2px green rule
 * (.section-title-border), then the heading. */
.title-sm {
  margin: 0 0 22px; font-size: 17px; font-weight: 600; letter-spacing: 1px; color: var(--ink);
  position: relative; padding-bottom: 12px;
}
.title-sm::after { content: ""; position: absolute; left: 0; bottom: 0; width: 50px; height: 2px; background: var(--green); }
.title-sm--light { color: var(--mist); }
.s-head { max-width: 640px; margin-bottom: 44px; }
.s-head h2 { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.3; }
.s-lede { margin: 16px 0 0; }
.s-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.s-head--center .title-sm::after { left: 50%; margin-left: -25px; }
.split-copy .s-head { margin-bottom: 26px; }

/* ------------------------------------------------------------------ header --
 * Theme .navbar.nav-sticky: navy at 94.5%, blurred behind; links mist,
 * 16px, 1px tracking; green when hovered or current. */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: rgba(7, 51, 65, .945); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(2, 17, 22, .35); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--mist); text-decoration: none; flex: none; }
.mark { width: 42px; height: 47px; flex: none; }
.brand-word { font-size: 20px; font-weight: 800; letter-spacing: .2px; line-height: 1; }
.brand-word span { font-weight: 400; margin-left: 6px; color: var(--green); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.site-nav ul { list-style: none; display: flex; }
.site-nav ul a {
  display: block; padding: 20px 14px; color: var(--mist); font-size: 15px; letter-spacing: 1px;
  text-decoration: none; transition: color .3s;
}
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { color: var(--green); }
.nav-cta { padding: 9px 20px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 11px 9px; }
.nav-toggle span { display: block; height: 2px; background: var(--mist); margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991px) {
  .nav-toggle { display: block; }
  /* Theme: under 991px the open menu is mist with ink links. */
  .site-nav {
    position: absolute; top: 76px; left: 0; right: 0; margin: 0; padding: 8px var(--gutter) 22px;
    background: var(--mist); flex-direction: column; align-items: stretch; gap: 12px;
    box-shadow: 0 12px 24px rgba(2, 17, 22, .2); display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { color: var(--ink); padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .site-nav ul a[aria-current="page"] { color: var(--navy); font-weight: 600; }
}

/* -------------------------------------------------------------------- hero --
 * The reference's split hero (copy left, a tall photo and a smaller one
 * staggered beside it), on the theme's .bg-img-5 gradient, with the theme's
 * hero treatment: bold white headline, one phrase in green, underlined. */
.hero {
  background: linear-gradient(to right, var(--navy), var(--abyss));
  padding: 150px 0 100px; position: relative; overflow: hidden; color: var(--slate);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 {
  color: var(--white); font-weight: 700; font-size: clamp(36px, 5.2vw, 58px); line-height: 1.12;
  letter-spacing: -.5px; margin-bottom: 22px;
}
.hl { color: var(--green); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.hero-lede { font-size: 18px; max-width: 34em; margin-bottom: 32px; color: #B4C3D0; }
.hero-art { position: relative; aspect-ratio: 1 / .92; }
.hero-art figure { position: absolute; overflow: hidden; border-radius: var(--r); box-shadow: 0 24px 50px rgba(2, 17, 22, .45); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-tall { right: 0; top: 0; width: 70%; height: 86%; }
.hero-small { left: 0; bottom: 0; width: 46%; height: 50%; border: 6px solid var(--navy); }

/* One orchestrated entrance: the hero copy, then the two photographs. */
.js .hero-copy > *, .js .hero-art figure { opacity: 0; transform: translateY(18px); transition: opacity .8s, transform .8s; }
.js .hero.is-in .hero-copy > *, .js .hero.is-in .hero-art figure { opacity: 1; transform: none; }
.js .hero.is-in .hero-copy > :nth-child(2) { transition-delay: .08s; }
.js .hero.is-in .hero-copy > :nth-child(3) { transition-delay: .16s; }
.js .hero.is-in .hero-copy > :nth-child(4) { transition-delay: .24s; }
.js .hero.is-in .hero-tall { transition-delay: .2s; }
.js .hero.is-in .hero-small { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  .js .hero-copy > *, .js .hero-art figure { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------------------------------------------- cards --
 * The reference's resource cards in the theme's surface: white, 8px, the
 * theme's faint shadow, a lift on hover. */
.cards { display: grid; gap: 26px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid #E6EEF2; display: flex; flex-direction: column; transition: transform .5s, box-shadow .5s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--lift); }
.card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-meta { font-size: 14px; font-weight: 600; letter-spacing: 1px; color: var(--navy); margin: 0 0 8px; }
.card h3 { font-size: 20px; line-height: 1.35; margin-bottom: 10px; }
.card h3 a { text-decoration: none; color: var(--navy); }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card p { font-size: 16px; margin-bottom: 18px; }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--navy); }
.more svg { width: 16px; height: 16px; color: var(--green); transition: transform .3s; }
.card:hover .more svg { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .card, .card:hover { transition: none; transform: none; } }

/* ------------------------------------------------------------------ splits -- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--flip > :first-child { order: 2; }
.split-img { border-radius: var(--r); overflow: hidden; }
.split-img img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.split-img--plain img { aspect-ratio: auto; object-fit: contain; }
.split-img--plain { border-radius: 0; }
.split-copy > .btn { margin-top: 32px; }

/* Theme "Why choose us": two columns of items, each after a green dot. */
.dots { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; }
.dots li { position: relative; padding-left: 26px; color: var(--ink); font-size: 16px; }
.dots li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: var(--green); }

/* -------------------------------------------------------------------- road --
 * Replaces the counter row every sibling carries. Four stops in the order
 * they happen, strung on a lane line: green dashes on navy, the colour of a
 * road marking at night. Horizontal on wide screens, down the left on phones. */
.road { background: var(--navy); padding: 70px 0 76px; color: var(--foot); }
.road-head { margin-bottom: 48px; }
.road-head .title-sm { margin-bottom: 18px; }
.road-head h2 { color: var(--white); font-size: clamp(26px, 3.2vw, 34px); }
.road-line { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.road-line::before {
  content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 3px;
  background: repeating-linear-gradient(90deg, var(--green) 0 26px, transparent 26px 44px);
}
.stop { position: relative; padding-top: 40px; }
.stop-pin { position: absolute; left: 0; top: 0; width: 21px; height: 21px; border-radius: 50%; background: var(--navy); border: 3px solid var(--green); }
.stop:first-child .stop-pin { background: var(--green); }
.stop-when { margin: 0 0 6px; font-size: 14px; font-weight: 600; letter-spacing: 1px; color: var(--green); }
.stop h3 { color: var(--white); font-size: 19px; margin-bottom: 8px; }
.stop p:not(.stop-when) { font-size: 15.5px; margin-bottom: 14px; }
.stop a { display: inline-flex; align-items: center; gap: 6px; color: var(--mist); font-size: 15px; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(245, 253, 255, .3); padding-bottom: 2px; }
.stop a svg { width: 15px; height: 15px; color: var(--green); transition: transform .3s; }
.stop a:hover { border-color: var(--green); }
.stop a:hover svg { transform: translateX(3px); }

/* --------------------------------------------------------- review points --
 * Theme .work-section: a 2x2 of icons on a 20% green square, 10px radius,
 * which turns navy with a green glow on hover. */
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 28px; }
.point h3 { font-size: 18px; margin: 14px 0 6px; }
.point p { font-size: 15.5px; margin: 0; }
.point-ic { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 10px; background: var(--tint); color: var(--navy); transition: .7s; }
.point-ic svg { width: 24px; height: 24px; }
.point:hover .point-ic { background: var(--navy); color: var(--mist); box-shadow: 0 0 7px 3px var(--green); }

/* ------------------------------------------------------------ crash types --
 * Theme .price-section: cards with a 20px radius standing on the navy
 * wave (images/Wave.svg) that rises across the bottom of the section. */
.types-band { overflow: hidden; padding-bottom: calc(var(--space) + 30px); }
.types-band .wrap { position: relative; z-index: 1; }
.wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; z-index: 0; }
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.type {
  display: block; background: var(--white); border: 1px solid var(--navy); border-radius: var(--r-lg);
  padding: 30px; text-decoration: none; color: var(--text); transition: transform .5s ease-in-out;
}
.type:nth-child(2), .type:nth-child(5) { border-color: var(--green); }
.type:hover { transform: translateY(-.5rem); }
.type h3 { font-size: 20px; margin: 18px 0 8px; }
.type p { font-size: 15.5px; margin: 0; }
.type-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--tint); color: var(--navy); }
.type-ic svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) { .type, .type:hover { transition: none; transform: none; } }

/* --------------------------------------------------------------------- faq --
 * Theme .accordion: ruled items, 16px/600 with 1px tracking; the open item
 * turns navy with mist text, its answer on the mist panel. */
.faq-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 10px 0; padding: 14px 16px; border: 0; background: none; text-align: left; cursor: pointer;
  font-size: 16px; font-weight: 600; letter-spacing: 1px; color: var(--ink); border-radius: 3px; transition: background-color .3s, color .3s;
}
.faq-q i { position: relative; width: 14px; height: 14px; flex: none; opacity: .6; }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: currentColor; }
.faq-q i::after { transform: rotate(90deg); transition: transform .3s; }
.faq-item.is-open .faq-q { background: var(--navy); color: var(--mist); }
.faq-item.is-open .faq-q i { opacity: .9; }
.faq-item.is-open .faq-q i::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 4px 16px 20px; font-size: 16px; letter-spacing: .3px; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.band-mist .faq-item.is-open .faq-a { background: var(--white); }
.faq-item.is-open .faq-a > div { background: var(--mist); }
.band-mist .faq-item.is-open .faq-a > div { background: var(--white); }
.faq-item.is-open .faq-a p { padding-top: 16px; }
.no-js-faq .faq-a { grid-template-rows: 1fr; }
@media (prefers-reduced-motion: reduce) { .faq-a { transition: none; } }

.ask { background: var(--white); border: 1px solid #E3ECF0; border-radius: var(--r); padding: 32px; box-shadow: var(--shadow); }
.ask h3 { font-size: 22px; margin-bottom: 10px; }
.ask-list { list-style: none; margin: 18px 0 24px; display: grid; gap: 10px; }
.ask-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.ask-list svg { width: 20px; height: 20px; color: var(--navy); flex: none; }
.ask-list a { color: var(--ink); text-decoration: none; font-weight: 600; word-break: break-word; }

/* --------------------------------------------------------------------- cta --
 * Theme .cta-section: deep navy with the splatter shape at both top corners. */
.cta { background: var(--deep); position: relative; overflow: hidden; padding: 80px 0; text-align: center; }
.cta .wrap { position: relative; z-index: 1; }
.cta h2 { color: var(--white); font-size: clamp(26px, 3.4vw, 34px); font-weight: 600; margin-bottom: 12px; }
.cta p { color: var(--foot); max-width: 36em; margin: 0 auto 28px; }
.cta .btn-row { justify-content: center; }
.splat { position: absolute; top: 0; width: 360px; height: 360px; z-index: 0; pointer-events: none; }
.splat--l { left: 0; transform: translate(-50%, -50%); }
.splat--r { left: 100%; transform: translate(-50%, -50%); }

/* -------------------------------------------------------------- page hero -- */
.page-hero { background: linear-gradient(to right, var(--navy), var(--abyss)); padding: 140px 0 70px; color: #B4C3D0; }
.page-hero h1 { color: var(--white); font-size: clamp(30px, 4.4vw, 46px); font-weight: 600; line-height: 1.18; max-width: 18em; margin-bottom: 16px; }
.ph-lede { max-width: 40em; font-size: 18px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; margin-bottom: 26px; color: var(--foot); }
.crumbs a { color: var(--mist); text-decoration: none; }
.crumbs a:hover { color: var(--green); }

/* -------------------------------------------------------------- reading -- */
.read { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(30px, 5vw, 64px); align-items: start; }
.prose { max-width: 720px; }
.prose-img { border-radius: var(--r); overflow: hidden; margin-bottom: 34px; }
.prose-img img { width: 100%; aspect-ratio: 16 / 8.5; object-fit: cover; object-position: center 30%; }
.prose h2 { font-size: 24px; margin: 38px 0 14px; }
.prose p, .prose li { font-size: 17.5px; }
.prose ul:not(.ticks) { padding-left: 22px; margin: 0 0 1em; }
.prose ul:not(.ticks) li { margin-bottom: 8px; }
.prose ul:not(.ticks) li::marker { color: var(--green); }
.prose a { color: var(--navy); }
.ticks { list-style: none; display: grid; gap: 12px; margin: 0 0 1.2em; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; color: var(--ink); }
.ticks svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--tint); color: var(--navy); margin-top: 3px; }
.ticks--cols { grid-template-columns: 1fr 1fr; gap: 14px 30px; }
.ticks-h { font-weight: 600; color: var(--ink); margin: 20px 0 12px; }
.note { background: var(--mist); border-left: 3px solid var(--green); padding: 18px 22px; margin: 30px 0; border-radius: 0 var(--r) var(--r) 0; }
.note p { margin: 0; font-size: 16px; }
.byline { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }
.prose .next-art {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: center; margin-top: 24px;
  padding: 22px 26px; border-radius: var(--r); background: var(--navy); color: var(--mist); text-decoration: none;
}
.next-art span { font-size: 14px; color: var(--foot); }
.next-art strong { font-weight: 500; font-size: 19px; grid-column: 1; }
.next-art svg { grid-row: 1 / 3; grid-column: 2; width: 26px; height: 26px; color: var(--green); transition: transform .3s; }
.next-art:hover svg { transform: translateX(4px); }
.prose--doc h2 { font-size: 21px; margin-top: 32px; }
.prose--doc p { font-size: 16.5px; }

.read-side { display: grid; gap: 20px; }
.sticky-col { position: sticky; top: 100px; }
.side-card { background: var(--white); border: 1px solid #E3ECF0; border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }
.side-card h2 { font-size: 19px; margin-bottom: 10px; }
.side-card p { font-size: 15.5px; margin: 0; }
.side-card .btn { margin-top: 18px; }
.side-card--navy { background: var(--navy); border-color: var(--navy); }
.side-card--navy h2 { color: var(--white); }
.side-card--navy p { color: var(--foot); }
.side-links { list-style: none; display: grid; gap: 4px; }
.side-links a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15.5px; }
.side-links a:hover { color: var(--ink); }
.side-ic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--tint); color: var(--navy); margin-bottom: 12px; }
.side-ic svg { width: 22px; height: 22px; }


/* ------------------------------------------------------------------ about -- */
.stds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.std { background: var(--white); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); border: 1px solid #E3ECF0; }
.std h3 { font-size: 19px; margin: 16px 0 8px; }
.std p { font-size: 16px; margin: 0; }
.std-ic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--tint); color: var(--navy); }
.std-ic svg { width: 20px; height: 20px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.trio-item { border-top: 2px solid var(--green); padding-top: 22px; }
.trio-item h3 { font-size: 21px; margin-bottom: 10px; }
.trio-item p { margin: 0; }

/* ------------------------------------------------------------ crash types -- */
.types-list { display: grid; gap: clamp(56px, 8vw, 90px); }
.type-row h2 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 12px; }

/* ----------------------------------------------------------------- links -- */
.links { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 960px; margin: 0 auto; }
.links li { background: var(--white); border: 1px solid #E3ECF0; border-radius: var(--r); padding: 22px 24px; box-shadow: var(--shadow); }
.links a { display: block; font-weight: 600; margin-bottom: 6px; }
.links span { font-size: 15.5px; }

/* ------------------------------------------------------------------ forms --
 * Theme .form-control: 1px #ced4da, 10px padding, no focus shadow. */
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 54px); align-items: start; }
.panel { background: var(--white); border: 1px solid #E3ECF0; border-radius: var(--r); padding: clamp(22px, 4vw, 40px); box-shadow: var(--lift); }
.panel-head h2 { font-size: 26px; margin-bottom: 6px; }
.panel-head { margin-bottom: 24px; }
.fine { font-size: 14.5px; line-height: 1.6; color: var(--text); }
.field { margin-bottom: 18px; min-width: 0; }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field label { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px; font: 400 16px/1.4 var(--font); color: var(--ink);
  background: var(--white); border: 1px solid #B8C4CC; border-radius: 4px; transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 .15rem rgba(7, 51, 65, .5); }
.field input::placeholder { color: #8A97A3; }
.is-invalid input, .is-invalid select, .is-invalid textarea { border-color: #C0392B; }
.choice { border: 0; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.choice legend { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 10px; padding: 0; }
.choice label { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 14px 16px; border: 1px solid #D4DEE4; border-radius: 4px; cursor: pointer; font-size: 15px; line-height: 1.55; }
.choice label:has(input:checked) { border-color: var(--navy); background: var(--mist); }
.choice strong { display: block; color: var(--ink); }
.choice input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--navy); }
.consents { display: grid; gap: 14px; margin: 8px 0 24px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 14px; line-height: 1.6; color: var(--text); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--navy); }
.check.is-invalid span { color: #A1271C; }
/* Each consent in its own outlined card, as on the operator's reference form. */
.consents .check { padding: 14px 16px; border: 1px solid #D4DEE4; border-radius: var(--r); background: var(--white); }
.consents .check:has(input:checked) { border-color: var(--navy); background: var(--mist); }
.consents .check.is-invalid { border-color: #C0392B; }
.check strong { color: var(--ink); }
.consents .fine { margin: 2px 0 0; }
.form-error { display: none; margin-bottom: 18px; padding: 12px 14px; border-radius: 4px; background: #FDECEA; color: #8E1F15; font-size: 15px; }
.form-error.is-shown { display: block; }
.form-done { display: none; text-align: center; padding: 30px 10px; }
.form-done.is-shown { display: block; }
.form-done h2 { font-size: 26px; margin: 16px 0 10px; }
.done-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--tint); color: var(--navy); }
.done-ic svg { width: 30px; height: 30px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ----------------------------------------------------------------- footer --
 * Theme .footer-part: navy; links in a pale slate that turn mist and nudge
 * on hover; the copyright on the deeper navy. */
.site-footer { background: var(--navy); color: var(--foot); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr 1.3fr; gap: 40px; padding: 70px 0 54px; }
.site-footer h2 { color: var(--white); font-size: 17px; font-weight: 600; margin-bottom: 18px; }
.site-footer ul { list-style: none; }
.foot-col li { margin-bottom: 10px; }
.site-footer a { color: var(--foot); text-decoration: none; transition: color .5s, margin .5s; }
.foot-col a:hover { color: var(--mist); margin-left: 5px; }
.foot-contact { margin-top: 22px; display: grid; gap: 12px; }
.foot-contact li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.foot-contact svg { width: 18px; height: 18px; color: var(--green); margin-top: 3px; }
.foot-contact a { word-break: break-word; }
.foot-contact a:hover { color: var(--mist); }
.foot-note p { font-size: 14px; line-height: 1.6; margin-bottom: 10px; }
.foot-copy { background: var(--deep); }
.foot-copy .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.foot-copy p { margin: 0; font-size: 14px; }
.to-top { width: 40px; height: 40px; border-radius: 3px; border: 0; background: var(--green); color: var(--ink); cursor: pointer; display: grid; place-items: center; flex: none; transition: transform .5s; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------- responsive -- */
@media (max-width: 991px) {
  .hero { padding: 120px 0 70px; }
  .hero-grid, .split, .faq-grid, .read, .form-grid { grid-template-columns: 1fr; }
  .split--flip > :first-child { order: 0; }
  .hero-art { max-width: 560px; }
  .cards--3, .types, .stds { grid-template-columns: 1fr 1fr; }
  .road-line { grid-template-columns: 1fr; column-gap: 40px; row-gap: 30px; padding-left: 38px; }
  .road-line::before { left: 9px; right: auto; top: 0; bottom: 0; width: 3px; height: auto;
    background: repeating-linear-gradient(180deg, var(--green) 0 22px, transparent 22px 36px); }
  .stop { padding-top: 0; }
  .stop-pin { left: -38px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .trio { grid-template-columns: 1fr; gap: 28px; }
  .sticky-col { position: static; }
  .page-hero { padding: 116px 0 54px; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .cards--3, .types, .stds, .points, .dots, .links, .ticks--cols, .field-2, .foot-grid { grid-template-columns: 1fr; }
  .hero-art { aspect-ratio: 1 / 1; }
  .btn-row .btn { flex: 1 1 auto; }
  .cta { padding: 64px 0; }
  .splat { width: 220px; height: 220px; }
  .wave { height: 40%; }
  .foot-copy .wrap { align-items: flex-start; }
}
