:root {
  --navy: #0b1f3a;
  --navy-2: #12305a;
  --navy-3: #1b3f73;
  --orange: #ff6a13;
  --orange-hover: #ff8238;
  --orange-text: #b84300; /* AA on white */
  --ink: #14233a;
  --muted: #4a5a70;
  --line: #dde3ec;
  --bg-soft: #f4f6fa;
  --radius: 14px;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6;
  color: var(--ink); background: #fff; overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
svg[class] { height: auto; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: .01em; text-transform: uppercase; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--navy); padding: 10px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo-text { font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: .08em; line-height: 1; color: #fff; display: block; }
.logo-text small { display: block; font-family: var(--body); font-weight: 500; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: #b9c6da; margin-top: 3px; }
.nav { display: none; }
.header-call {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  background: var(--orange); color: var(--navy); font-weight: 700; font-size: .95rem;
  padding: 10px 14px; border-radius: 999px; min-height: 44px; white-space: nowrap; transition: background .2s;
}
.header-call svg { width: 18px; height: 18px; flex: none; }
.header-call:hover { background: var(--orange-hover); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px;
  padding: 0 28px; border-radius: 12px; font: 700 1.05rem var(--body); text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, border-color .2s;
}
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: var(--orange-hover); transform: translateY(-1px); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(27,63,115,.9), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, #08172c 100%);
  color: #fff; padding: 44px 0 36px; overflow: hidden;
}
.hero-inner { display: grid; gap: 8px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #c5d2e6; margin-bottom: 16px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,106,19,.25); }
.hero h1 { font-size: clamp(3rem, 14vw, 5.6rem); font-weight: 800; }
.accent { color: var(--orange); }
.sub { margin-top: 18px; font-size: 1.15rem; color: #d4deee; max-width: 30em; }
.cta-row { display: grid; gap: 12px; margin-top: 28px; }
.hero-art { width: 70%; max-width: 300px; margin: 8px auto -10px; opacity: .95; }

.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; }
.trust li {
  display: flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 600; line-height: 1.25;
  padding: 12px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
}
.trust svg { width: 22px; height: 22px; flex: none; color: var(--orange); }

/* ---------- Sections ---------- */
.section { padding: 68px 0; }
.section.light { background: #fff; }
.section.dark { background: var(--navy); color: #fff; }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-text); margin-bottom: 10px; }
.dark .kicker { color: var(--orange); }
.section h2 { font-size: clamp(2.1rem, 8vw, 3.2rem); font-weight: 800; max-width: 16em; }
.lede { margin-top: 14px; color: var(--muted); max-width: 36em; }
.dark .lede { color: #c5d2e6; }

/* Services */
.cards { display: grid; gap: 16px; margin-top: 36px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 1px 2px rgba(11,31,58,.04); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgba(11,31,58,.25); border-color: #c4cfde; }
.ico { width: 48px; height: 48px; color: var(--navy); margin-bottom: 16px; }
.card h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 1rem; }
.card-alert { background: var(--navy); border-color: var(--navy); }
.card-alert .ico { color: var(--orange); }
.card-alert h3 { color: #fff; }
.card-alert p { color: #c5d2e6; }
.card-link { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--orange); text-underline-offset: 4px; }

/* Why */
.why { display: grid; gap: 28px; margin-top: 40px; }
.why li { padding-top: 20px; border-top: 2px solid rgba(255,255,255,.14); }
.num { font-family: var(--display); font-weight: 800; font-size: 1.1rem; color: var(--orange); letter-spacing: .08em; }
.why h3 { font-size: 1.7rem; margin: 6px 0 8px; font-weight: 700; }
.why p { color: #c5d2e6; }

/* Reviews */
.reviews { display: grid; gap: 16px; margin-top: 36px; }
.review { background: var(--bg-soft); border-radius: var(--radius); padding: 26px 24px; }
.review figure { margin: 0; }
.stars { color: #e8590c; letter-spacing: .14em; font-size: 1.15rem; margin-bottom: 10px; }
.review blockquote { margin: 0 0 18px; font-size: 1.03rem; }
.review figcaption { display: flex; flex-direction: column; font-size: .92rem; }
.review figcaption span { color: var(--muted); }

/* Area */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips li { padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); font-weight: 500; font-size: .95rem; }

/* Quote */
.quote-grid { display: grid; gap: 32px; }
.quote-grid .btn { margin-top: 22px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: 0 20px 40px -24px rgba(11,31,58,.35); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #9aa8bc; border-radius: 10px; padding: 13px 14px; min-height: 50px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--navy); }
.hp { position: absolute; left: -9999px; }
.success { text-align: center; padding: 20px 8px; }
.success svg { width: 56px; height: 56px; margin: 0 auto 12px; }
.success h3 { font-size: 2rem; margin-bottom: 8px; }
.success p { color: var(--muted); }
.success a { color: var(--orange-text); font-weight: 700; }
[hidden] { display: none !important; }

/* Footer */
.footer { background: #07152a; color: #c5d2e6; padding: 52px 0 calc(24px + 60px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; gap: 28px; }
.foot-logo { color: #fff; margin-bottom: 12px; }
.foot-h { font-size: 1.2rem; color: #fff; margin-bottom: 8px; font-weight: 700; }
.footer a { text-underline-offset: 3px; overflow-wrap: anywhere; }
.footer a:hover { color: #fff; }
.legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; }

/* Mobile call bar */
.mobile-call {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--orange); color: var(--navy); font-weight: 800; font-size: 1.05rem; text-decoration: none;
  min-height: 60px; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -6px 20px rgba(0,0,0,.25);
}
.mobile-call svg { width: 20px; height: 20px; }

/* Fade in */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Tablet / desktop ---------- */
@media (min-width: 700px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .why { grid-template-columns: 1fr 1fr; gap: 36px; }
  .cta-row { grid-template-columns: auto auto; justify-content: start; }
  .trust { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1.4fr; }
}
@media (min-width: 960px) {
  body { font-size: 1.125rem; }
  .footer { padding-bottom: 24px; }
  .mobile-call { display: none; }
  .header-inner { height: 76px; }
  .nav { display: flex; gap: 28px; }
  .nav a { text-decoration: none; font-weight: 500; font-size: .98rem; color: #d4deee; padding: 8px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
  .nav a:hover { color: #fff; border-color: var(--orange); }
  .header-call { font-size: 1.05rem; padding: 10px 20px; }
  .hero { padding: 88px 0 56px; }
  .hero-inner { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 24px; }
  .hero-art { width: 100%; max-width: 480px; margin: 0 0 0 auto; }
  .section { padding: 104px 0; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .why { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .quote-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
  .form-card { padding: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn { transition: none; }
}
@media (max-width: 360px) {
  .header-call { padding: 10px; font-size: .85rem; gap: 6px; }
  .logo-text { font-size: 1.15rem; }
  .logo-text small { display: none; }
  .logo-mark { width: 28px; height: 28px; }
  .logo { gap: 8px; }
  .header-inner { gap: 8px; }
  .header-call svg { display: none; }
}

/* Corivo Digital demo credit */
.demo-bar { background: var(--orange); color: var(--navy); font-size: .85rem; font-weight: 600; text-align: center; padding: 7px 0; line-height: 1.35; }
.demo-bar a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.demo-bar a:hover { color: #000; }
