:root {
  --navy: #0D1B2A;
  --navy-2: #16283C;
  --ink: #111827;
  --text: #4B5563;
  --muted: #6B7280;
  --bg: #FFFFFF;
  --bg-alt: #F5F6F4;
  --line: #E5E7EB;
  --gold: #CFA349;
  --gold-hover: #DDB561;
  --gold-ink: #1B1404;
  --radius: 14px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 28px;
  border-radius: 10px;
  font: 700 16px/1 var(--font);
  text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: #fff;
  transition: background-color .3s, box-shadow .3s, color .3s;
}
.header.is-solid { background: rgba(255,255,255,.97); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(13,27,42,.25); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.logo-mark { width: 32px; height: 32px; }
.logo-mark rect { fill: var(--gold); }
.logo-mark path { fill: var(--navy); }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 600; opacity: .85; transition: opacity .2s; }
.nav a:hover { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--navy);
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,16,26,.88) 0%, rgba(8,16,26,.62) 45%, rgba(8,16,26,.2) 100%),
    linear-gradient(0deg, rgba(8,16,26,.9) 0%, rgba(8,16,26,0) 45%);
}
.hero-content { position: relative; padding-top: 140px; padding-bottom: 56px; }
.hero-kicker {
  display: inline-block;
  font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4.4rem); max-width: 14em; letter-spacing: -.03em; line-height: 1.06; }
.hero-sub { margin-top: 22px; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.82); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-facts { position: relative; border-top: 1px solid rgba(255,255,255,.16); background: rgba(8,16,26,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-facts ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-facts li { padding: 22px 0; display: grid; gap: 2px; }
.hero-facts li + li { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.14); }
.hero-facts strong { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.hero-facts span { font-size: 14px; color: rgba(255,255,255,.7); }

/* ---------- Notice ---------- */
.notice { border-bottom: 1px solid var(--line); }
.notice-inner { display: flex; gap: 20px; align-items: flex-start; padding-top: 36px; padding-bottom: 36px; }
.notice-icon { flex: none; width: 48px; height: 48px; border-radius: 12px; background: #FBF4E4; display: grid; place-items: center; }
.notice-icon svg { width: 24px; height: 24px; fill: none; stroke: #9A7425; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.notice h2 { font-size: 19px; margin-bottom: 4px; }
.notice p { font-size: 16px; max-width: 62em; }
.notice a { color: var(--ink); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
.section-head p:not(.label) { margin-top: 16px; font-size: 18px; }
.label { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9A7425; margin-bottom: 14px; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-3px); border-color: transparent; box-shadow: 0 18px 40px -20px rgba(13,27,42,.28); }
.card-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--navy); display: grid; place-items: center; margin-bottom: 24px; }
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { font-size: 16px; }
.card-dark { background: var(--navy); border-color: var(--navy); display: flex; flex-direction: column; justify-content: center; }
.card-dark h3 { color: #fff; }
.card-dark p { color: rgba(255,255,255,.75); margin-bottom: 24px; }
.card-dark .btn { align-self: flex-start; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 24px; left: 24px; right: 12%;
  height: 2px; background: repeating-linear-gradient(90deg, #CDD2D8 0 8px, transparent 8px 16px);
}
.steps li { position: relative; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 18px;
  box-shadow: 0 0 0 8px var(--bg-alt);
  margin-bottom: 24px;
}
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { font-size: 16px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; background: var(--bg-alt); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Distribution split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-media { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -30px rgba(13,27,42,.45); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy h2 { font-size: clamp(2rem, 3.4vw, 2.6rem); }
.big-number { margin-top: 32px; font-size: clamp(3.5rem, 7vw, 5.25rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--navy); }
.big-number-label { margin-top: 8px; font-weight: 700; color: var(--ink); }
.big-number-label + p { margin-top: 20px; }
.checks { margin-top: 24px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink); font-weight: 600; font-size: 16px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: #FBF4E4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A7425' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Coverage ---------- */
.coverage { position: relative; padding: 120px 0; color: #fff; overflow: hidden; background: var(--navy); }
.coverage-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.coverage-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,16,26,.82) 0%, rgba(8,16,26,.55) 50%, rgba(8,16,26,.85) 100%); }
.coverage-inner { position: relative; }
.section-head-light h2 { color: #fff; }
.section-head-light p:not(.label) { color: rgba(255,255,255,.82); }
.section-head-light .label { color: var(--gold); }
.counties { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.county {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.county h3 { color: #fff; font-size: 20px; margin-bottom: 10px; }
.county p { color: rgba(255,255,255,.8); font-size: 15.5px; }

/* ---------- Book ---------- */
.book { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.book-info h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
.book-info > p { margin-top: 16px; font-size: 18px; }
.contact { margin-top: 36px; display: grid; gap: 18px; }
.contact li { display: flex; align-items: center; gap: 14px; color: var(--ink); font-weight: 600; }
.contact svg { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--navy); fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact a { text-decoration: none; overflow-wrap: anywhere; }
.contact a:hover { text-decoration: underline; }

.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  padding: 36px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 60px -32px rgba(13,27,42,.35);
}
.field { display: grid; gap: 8px; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 700; color: var(--ink); padding: 0; }
.field label span { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px;
  padding: 12px 14px;
  font: 500 16px var(--font); color: var(--ink);
  background: #fff;
  border: 1px solid #D1D5DB;
  border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(207,163,73,.35); }
.field input[aria-invalid="true"] { border-color: #B42318; }
.field-error { font-size: 14px; color: #B42318; }
.options { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2px; }
.options label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border: 1px solid #D1D5DB; border-radius: 10px;
  font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.options label:has(input:checked) { border-color: var(--navy); background: #F3F5F8; }
.options input { width: 16px; height: 16px; margin: 0; accent-color: var(--navy); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.form-actions p { font-size: 14px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 64px 0 32px; font-size: 15px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.logo-light { color: #fff; margin-bottom: 12px; }
.footer-links { display: grid; gap: 8px; text-align: right; }
.footer-links a { color: #fff; text-decoration: none; font-weight: 600; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 14px; }
.footer-bottom a { color: rgba(255,255,255,.8); }

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.is-in { opacity: 1; transform: none; }
  .hero-content > * { animation: up .9s ease both; }
  .hero-content > :nth-child(2) { animation-delay: .1s; }
  .hero-content > :nth-child(3) { animation-delay: .2s; }
  .hero-content > :nth-child(4) { animation-delay: .3s; }
  .hero-img { animation: settle 2.4s ease-out both; }
}
@keyframes up { from { opacity: 0; transform: translateY(18px); } }
@keyframes settle { from { transform: scale(1.06); } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split-media { aspect-ratio: 16 / 10; }
  .book { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps::before { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .coverage { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .hero-content { padding-bottom: 40px; }
  .hero-facts ul { grid-template-columns: repeat(2, 1fr); }
  .hero-facts li { padding: 16px 0; }
  .hero-facts li + li { padding-left: 0; border-left: 0; }
  .hero-facts li:nth-child(even) { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.14); }
  .hero-facts li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
  .hero-facts strong { font-size: 19px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .cards, .counties { grid-template-columns: 1fr; }
  .card { padding: 26px; }
  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .form { grid-template-columns: 1fr; padding: 24px; }
  .footer-links { text-align: left; }
  .logo span { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
