/* ==========================================================
   Vector Legal Costs Consultants
   Palette & type mirror Vector Actuaries brand:
   navy #1A2B3C · blue #0056B3 · lime #BFFF00 · Montserrat / Open Sans
   ========================================================== */

:root {
  --navy: #1A2B3C;
  --navy-deep: #111E2B;
  --navy-soft: #24384D;
  --blue: #0056B3;
  --lime: #BFFF00;
  --lime-dark: #A6E000;
  --steel: #94B0D0;
  --light: #F8FAFC;
  --line: #E2E8F0;
  --text: #181818;
  --body: #475467;
  --white: #fff;
  --error: #C62828;

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(17, 30, 43, .08);
  --shadow-lg: 0 24px 60px rgba(17, 30, 43, .18);
  --header-h: 76px;
  --container: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4, .h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); letter-spacing: -.015em; }
h3 { font-size: 1.3rem; }
.h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
address { font-style: normal; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
.section-light :focus-visible, .section :focus-visible { outline-color: var(--blue); }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--lime); color: var(--navy); padding: .6rem 1rem; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.icon {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .8rem 1.6rem;
  font: 600 .95rem/1 var(--font-head); letter-spacing: .02em;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--lime); color: var(--navy); box-shadow: 0 8px 22px rgba(191, 255, 0, .25); }
.btn-accent:hover { background: var(--lime-dark); color: var(--navy); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--blue); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn-outline-light:hover { border-color: var(--lime); color: var(--lime); }
.btn-sm { min-height: 42px; padding: .6rem 1.2rem; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 700 .78rem/1.2 var(--font-head); letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--lime); }
.eyebrow-light { color: var(--steel); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(26, 43, 60, .96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }

.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--white); }
.brand:hover { opacity: .92; }
.brand-logo {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  display: block; padding: .6rem .8rem;
  font: 600 .88rem/1 var(--font-head); color: rgba(255,255,255,.85);
  text-decoration: none; border-radius: 6px; position: relative;
}
.site-nav ul a::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 2px;
  background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.site-nav ul a:hover, .site-nav ul a[aria-current="true"] { color: var(--white); }
.site-nav ul a:hover::after, .site-nav ul a[aria-current="true"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer;
  position: relative; border-radius: 8px;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 12px; width: 24px; height: 2px; background: var(--white); border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav-toggle-bar { top: 23px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem 1.25rem 1.5rem;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 20px 40px rgba(0,0,0,.3);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility 0s .2s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .site-nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 1rem .5rem; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,.07); border-radius: 0; }
  .site-nav ul a::after { display: none; }
  .nav-cta { width: 100%; min-height: 50px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(0, 86, 179, .35), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: rgba(255,255,255,.82);
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(6rem, 10vw, 8.5rem);
}
.hero::before { /* subtle vector line texture */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image: repeating-linear-gradient(120deg, #fff 0 1px, transparent 1px 46px);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { color: var(--white); }
.hero .hl { color: var(--lime); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: rgba(255,255,255,.88); max-width: 36rem; }
.lead-sub { font-size: 1rem; color: rgba(255,255,255,.7); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2rem !important; }
.hero-points li { display: inline-flex; align-items: center; gap: .45rem; font: 600 .9rem var(--font-head); color: var(--white); }
.hero-points .icon { color: var(--lime); stroke-width: 3; }

.hero-media { position: relative; }
.hero-img-wrap {
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 4; position: relative;
}
.hero-img-wrap::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.12); border-radius: inherit; }
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-media::before { /* lime accent frame */
  content: ""; position: absolute; right: -18px; top: -18px; width: 45%; height: 55%;
  border: 3px solid var(--lime); border-radius: 22px; z-index: -0; opacity: .85;
}
.hero-img-wrap { z-index: 1; }

.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: .8rem;
  background: var(--white); color: var(--navy); border-radius: 14px; padding: .85rem 1.1rem;
  box-shadow: var(--shadow-lg); max-width: 270px;
}
.float-card strong { display: block; font: 700 .95rem/1.2 var(--font-head); }
.float-card small { display: block; font-size: .8rem; color: var(--body); line-height: 1.35; margin-top: .15rem; }
.float-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--navy); color: var(--lime); flex: none; }
.float-card-a { left: -28px; bottom: 34px; }
.float-card-b { right: -14px; bottom: -30px; }

@media (prefers-reduced-motion: no-preference) {
  .float-card-a { animation: bob 6s ease-in-out infinite; }
  .float-card-b { animation: bob 6s ease-in-out 3s infinite; }
  @keyframes bob { 50% { transform: translateY(-8px); } }
}

/* ---------- Values strip ---------- */
.values { position: relative; z-index: 3; margin-top: clamp(-4.5rem, -6vw, -3rem); }
.values-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.value { padding: 2rem 1.75rem; border-right: 1px solid var(--line); transition: background-color .25s; }
.value:last-child { border-right: 0; }
.value:hover { background: var(--light); }
.value-icon {
  width: 46px; height: 46px; padding: 11px; border-radius: 12px; margin-bottom: 1rem;
  background: var(--navy); color: var(--lime);
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.value h2 { margin-bottom: .4rem; }
.value p { font-size: .93rem; margin: 0; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-light { background: var(--light); }
.section-dark { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: rgba(255,255,255,.8); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); }
.section-head p:last-child { margin-bottom: 0; font-size: 1.05rem; }
.section-head-left { text-align: left; margin-inline: 0; }
.muted-light { color: var(--steel); }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: 20px; box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; }
.media-badge {
  position: absolute; right: -16px; bottom: -22px;
  display: flex; align-items: center; gap: .8rem;
  background: var(--navy); color: var(--white); padding: 1rem 1.3rem; border-radius: 14px;
  font: 700 .9rem/1.3 var(--font-head); box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--lime);
}
.media-badge .icon { width: 30px; height: 30px; color: var(--lime); }
.checklist { display: grid; gap: .7rem; margin: 1.5rem 0 2rem !important; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; color: var(--text); font-weight: 500; }
.checklist .icon {
  width: 24px; height: 24px; padding: 4px; margin-top: .1rem;
  border-radius: 50%; background: var(--lime); color: var(--navy); stroke-width: 3;
}

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
  border-bottom: 4px solid transparent;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-bottom-color: var(--lime); }
.card-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(17,30,43,.45)); }
.card-icon {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px;
  margin: calc(-28px - 1.6rem) 0 1.1rem;
  background: var(--navy); color: var(--lime); box-shadow: var(--shadow);
}
.card-icon .icon { width: 26px; height: 26px; }
.card-body { padding: 1.6rem 1.6rem 1.8rem; flex: 1; }
.card-body h3 { margin-bottom: .25rem; }
.card-tag { font: 600 .9rem var(--font-head); color: var(--blue); margin-bottom: .9rem; }
.card-body > p:not(.card-tag) { font-size: .95rem; }
.mini-list { display: grid; gap: .45rem; padding-top: 1rem !important; margin-top: 1rem !important; border-top: 1px solid var(--line); }
.mini-list li { position: relative; padding-left: 1.4rem; font-size: .9rem; color: var(--text); }
.mini-list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px;
  background: var(--lime); border: 2px solid var(--navy); border-radius: 50%;
}

/* ---------- RAF ---------- */
.section-dark { position: relative; overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -200px; top: -260px;
  border: 60px solid rgba(191,255,0,.05); border-radius: 50%;
}
.raf-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.raf-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.raf-list li {
  display: flex; flex-direction: column; gap: .8rem;
  padding: 1.6rem; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  transition: background-color .25s, border-color .25s;
}
.raf-list li:hover { background: rgba(255,255,255,.07); border-color: rgba(191,255,0,.4); }
.raf-num { font: 800 1.6rem/1 var(--font-head); color: var(--lime); }
.raf-list h3 { margin-bottom: .35rem; }
.raf-list p { font-size: .92rem; margin: 0; color: rgba(255,255,255,.72); }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.why {
  padding: 2rem 1.6rem; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--white); transition: border-color .25s, box-shadow .25s, transform .25s;
}
.why:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-4px); }
.why-icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: rgba(0,86,179,.08); color: var(--blue); margin-bottom: 1.2rem;
  transition: background-color .25s, color .25s;
}
.why:hover .why-icon { background: var(--navy); color: var(--lime); }
.why-icon .icon { width: 24px; height: 24px; }
.why p { font-size: .94rem; margin: 0; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: s; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 16%; right: 16%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--steel) 0 8px, transparent 8px 16px);
}
.step { position: relative; text-align: center; padding: 0 1rem; }
.step-num {
  position: relative; display: grid; place-items: center; margin: 0 auto 1.4rem;
  width: 70px; height: 70px; border-radius: 50%;
  background: var(--navy); color: var(--lime); font: 800 1.6rem/1 var(--font-head);
  box-shadow: 0 0 0 8px var(--light), 0 0 0 10px rgba(26,43,60,.12);
}
.step p { font-size: .95rem; max-width: 22rem; margin-inline: auto; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; color: rgba(255,255,255,.85); text-align: center;
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  background:
    linear-gradient(180deg, rgba(17,30,43,.82), rgba(17,30,43,.9)),
    url("../assets/img/skyline.jpg") center / cover no-repeat;
}
.cta-inner { max-width: 760px; }
.cta-band h2 { color: var(--white); font-size: clamp(1.9rem, 4vw, 2.9rem); }
.cta-band p { font-size: 1.1rem; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-list { display: grid; gap: .9rem; }
.faq-list details {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.faq-list details[open] { border-color: var(--navy); box-shadow: var(--shadow); }
.faq-list summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.15rem 3.5rem 1.15rem 1.4rem;
  font: 600 1rem/1.4 var(--font-head); color: var(--navy);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 1.2rem; top: 50%; width: 26px; height: 26px; margin-top: -13px;
  border-radius: 50%; background: var(--light)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A2B3C' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s, background-color .25s;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg); background-color: var(--lime);
}
.faq-list details p { padding: 0 1.4rem 1.2rem; margin: 0; font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.contact-list { display: grid; gap: 1.1rem; margin: 2rem 0 !important; }
.contact-list li { display: flex; gap: 1rem; align-items: center; }
.contact-list small {
  display: block; font: 700 .72rem/1.2 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--body);
  margin-bottom: .15rem;
}
.contact-list a, .contact-list address { color: var(--navy); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--blue); text-decoration: underline; }
.contact-icon {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; flex: none;
  background: var(--navy); color: var(--lime);
}
.contact-icon .icon { width: 22px; height: 22px; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 10; background: var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.35) contrast(1.05); }

.form-card {
  background: var(--white); border-radius: 20px; box-shadow: var(--shadow-lg);
  padding: clamp(1.6rem, 4vw, 2.75rem); border-top: 5px solid var(--lime);
}
.form-card h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.form-intro { font-size: .92rem; margin-bottom: 1.6rem; }
.req { color: var(--error); font-weight: 700; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.1rem; }
.field { margin: 0 0 1.25rem; border: 0; padding: 0; min-width: 0; }
.field label:not(.choice), .field legend {
  display: block; font: 600 .88rem/1.3 var(--font-head); color: var(--navy); margin-bottom: .4rem; padding: 0;
}
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; min-height: 50px; padding: .75rem .95rem;
  font: 1rem/1.4 var(--font-body); color: var(--text);
  background: var(--light); border: 1.5px solid #CBD5E1; border-radius: var(--radius-sm);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 130px; }
input:focus-visible, textarea:focus-visible {
  outline: none; border-color: var(--blue); background: var(--white);
  box-shadow: 0 0 0 4px rgba(0,86,179,.15);
}
input:user-invalid, textarea:user-invalid,
.user-invalid-fallback {
  border-color: var(--error); background: #FDECEC;
}
.error-msg { display: none; margin: .35rem 0 0; font-size: .84rem; font-weight: 600; color: var(--error); }
.error-msg span {
  display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: .3rem;
  border-radius: 50%; background: var(--error); color: #fff; font-size: .7rem; vertical-align: 1px;
}
input:user-invalid ~ .error-msg, textarea:user-invalid ~ .error-msg,
.user-invalid-fallback ~ .error-msg,
.consent:has(input:user-invalid) + .error-msg,
.consent:has(.user-invalid-fallback) + .error-msg { display: block; }
.hint { margin: .35rem 0 0; font-size: .83rem; color: var(--body); }

.choice-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.choice {
  display: inline-flex; align-items: center; gap: .55rem; cursor: pointer;
  min-height: 46px; padding: .55rem 1rem; border: 1.5px solid #CBD5E1; border-radius: 999px;
  font-size: .93rem; color: var(--text); background: var(--light);
  transition: border-color .2s, background-color .2s;
}
.choice:has(input:checked) { border-color: var(--navy); background: rgba(26,43,60,.06); font-weight: 600; }
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--navy); flex: none; }
.consent {
  align-items: flex-start; border-radius: var(--radius-sm); padding: .8rem 1rem;
  font-size: .87rem; line-height: 1.5; color: var(--body);
}
.consent input { margin-top: .15rem; }
.consent:has(input:checked) { font-weight: 400; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin: 1rem 0 0; font-size: .93rem; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.success { color: #1B7F3B; padding: .9rem 1rem; background: #EAF7EE; border-radius: var(--radius-sm); border-left: 4px solid #1B7F3B; }
.form-status.error { color: var(--error); padding: .9rem 1rem; background: #FDECEC; border-radius: var(--radius-sm); border-left: 4px solid var(--error); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; padding: 4rem 0 3rem; }
.footer-brand p { margin-top: 1.2rem; }
.footer-title { color: var(--white); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: .6rem; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding: 1.3rem 0; font-size: .8rem; letter-spacing: .02em; }
.footer-bottom p { margin: 0; }

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .hero-grid, .split, .raf-grid, .contact-grid, .faq-wrap { grid-template-columns: 1fr; }
  .hero-media { max-width: 620px; margin-top: 1rem; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .value:nth-child(2) { border-right: 0; }
  .value:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cards { grid-template-columns: 1fr; max-width: 600px; margin-inline: auto; }
  .split-media { max-width: 620px; }
  .section-head-left { text-align: center; margin-inline: auto; }
}

@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .brand-logo { height: 42px; max-width: 175px; }
  .float-card-a { left: -6px; bottom: 18px; }
  .float-card-b { right: -6px; bottom: -26px; }
  .hero-media::before { right: -8px; top: -10px; }
  .values-grid { grid-template-columns: 1fr; }
  .value { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .value:last-child { border-bottom: 0; }
  .raf-list, .why-grid, .steps { grid-template-columns: 1fr; }
  .steps::before { top: 35px; bottom: 60px; left: 35px; right: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--steel) 0 8px, transparent 8px 16px); }
  .step { text-align: left; padding: 0 0 0 95px; min-height: 70px; }
  .step-num { position: absolute; left: 0; top: 0; margin: 0; }
  .step p { margin-inline: 0; }
  .form-row { grid-template-columns: 1fr; }
  .media-badge { right: 10px; bottom: -20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-actions .btn { flex: 1 1 auto; }
}

@media (max-width: 420px) {
  .float-card { max-width: 230px; padding: .7rem .9rem; }
  .float-card small { display: none; }
}
