/* Capital Valet LLC — site styles
   Brand: navy #062445, gold #B6863F (taken from the logo vector). */

:root {
  --navy: #062445;
  --navy-deep: #041729;
  --navy-soft: #0d3663;
  --gold: #b6863f;
  --gold-light: #d4a659;
  --ink: #1a1f26;
  --body: #45505e;
  --line: #dfe4ea;
  --wash: #f4f6f9;
  --white: #ffffff;

  --wrap: 1120px;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(6, 36, 69, .06), 0 8px 28px rgba(6, 36, 69, .08);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-soft); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--gold); }

img, svg { max-width: 100%; height: auto; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .9em;
}

.lede { font-size: 1.18rem; line-height: 1.6; color: var(--body); }

/* ---------- skip link ---------- */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: #fff; padding: 12px 18px; z-index: 200;
}
.skip:focus { left: 12px; top: 12px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand-name {
  font-family: var(--serif); font-size: 1.28rem; font-weight: 600;
  color: var(--navy); line-height: 1.1; letter-spacing: -.01em;
}
.brand-name span { display: block; font-family: var(--sans); font-size: .62rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-top: 2px; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 8px; padding: 9px 12px; cursor: pointer; color: var(--navy);
  font-size: .9rem; font-weight: 600;
}

.site-nav ul { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  text-decoration: none; color: var(--navy); font-size: .95rem; font-weight: 500;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }
.site-nav .btn { border-bottom: none; }
.site-nav .btn:hover { border-bottom: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 8px;
  font-family: var(--sans); font-size: .95rem; font-weight: 600;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: #a2762f; color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-light:hover { background: #fff; color: var(--navy); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------- sections ---------- */
section { padding: 88px 0; }
section.tight { padding: 60px 0; }
.wash { background: var(--wash); }
.dark { background: var(--navy); color: rgba(255,255,255,.82); }
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: var(--gold-light); }
.dark a { color: var(--gold-light); }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(182,134,63,.28), transparent 62%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: rgba(255,255,255,.85);
  padding: 104px 0 96px;
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lede { color: rgba(255,255,255,.82); max-width: 56ch; font-size: 1.24rem; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }

.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 30px 32px;
}
.hero-card h3 { font-size: 1.05rem; margin-bottom: 18px; }
.hero-card ul { list-style: none; margin: 0; padding: 0; }
.hero-card li {
  padding: 11px 0 11px 30px; position: relative;
  border-top: 1px solid rgba(255,255,255,.1); font-size: .96rem;
}
.hero-card li:first-child { border-top: none; }
.hero-card li::before {
  content: ""; position: absolute; left: 4px; top: 19px;
  width: 8px; height: 8px; background: var(--gold-light); border-radius: 2px;
}

/* ---------- problem/solution split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel {
  border-radius: var(--radius); padding: 34px 34px 30px; border: 1px solid var(--line);
  background: #fff;
}
.panel.problem { background: #fbf7f2; border-color: #ecdcc4; }
.panel.problem h3 { color: #8a5a1c; }
.panel.solution { border-color: var(--navy); }
.panel h3 { margin-bottom: .6em; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow);
}
.card .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); color: var(--gold-light);
  font-family: var(--serif); font-size: 1.05rem; margin-bottom: 16px;
}
.card h3 { font-size: 1.12rem; }
.card p { font-size: .96rem; margin-bottom: 0; }

.dark .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); box-shadow: none; }
.dark .card p { color: rgba(255,255,255,.78); }

/* ---------- stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.stat .figure {
  font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gold-light); line-height: 1; margin-bottom: 8px;
}
.stat .label { font-size: .9rem; color: rgba(255,255,255,.72); }

/* ---------- checklist ---------- */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  position: relative; padding: 0 0 16px 34px; font-size: 1rem;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 18px; height: 10px; border-left: 2.5px solid var(--gold);
  border-bottom: 2.5px solid var(--gold); transform: rotate(-45deg);
}
.checklist strong { color: var(--navy); }
.dark .checklist strong { color: #fff; }

/* ---------- comparison table ---------- */
.table-scroll { overflow-x: auto; }
table.compare {
  width: 100%; border-collapse: collapse; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  font-size: .97rem;
}
table.compare th, table.compare td { padding: 16px 20px; text-align: left; vertical-align: top; }
table.compare thead th {
  background: var(--navy); color: #fff; font-family: var(--sans);
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
}
table.compare tbody tr + tr { border-top: 1px solid var(--line); }
table.compare tbody th { font-family: var(--sans); font-weight: 600; color: var(--navy); width: 30%; }
table.compare td.ours { background: #fbfaf6; color: var(--ink); font-weight: 500; }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 76px 1fr; gap: 26px;
  padding: 30px 0; border-top: 1px solid var(--line);
}
.step:first-child { border-top: none; padding-top: 0; }
.step .marker {
  counter-increment: step;
  font-family: var(--serif); font-size: 2.2rem; color: var(--gold);
  line-height: 1;
}
.step .marker::before { content: "0" counter(step); }
.step h3 { margin-bottom: .35em; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--serif); font-size: 1.12rem; color: var(--navy); list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 18px;
  font-size: 1.5rem; color: var(--gold); font-family: var(--sans); line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq .answer { padding: 0 40px 24px 0; }

/* ---------- callout ---------- */
.callout {
  border-left: 4px solid var(--gold);
  background: var(--wash);
  padding: 24px 28px; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 32px 0;
}
.callout p { font-size: 1.02rem; }

/* ---------- cta band ---------- */
.cta-band { background: var(--navy); color: rgba(255,255,255,.82); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band .btn-row { justify-content: center; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.form-note { font-size: .86rem; color: #6a7482; margin-top: 18px; }
.hp { position: absolute; left: -9999px; }

/* ---------- fit check ---------- */
.fit-q { border: none; border-top: 1px solid var(--line); margin: 0; padding: 22px 0 4px; }
.fit-q:first-of-type { border-top: none; padding-top: 0; }
.fit-q legend {
  font-family: var(--serif); font-size: 1.08rem; color: var(--navy);
  padding: 0; margin-bottom: 14px;
}
.fit-options { display: flex; flex-wrap: wrap; gap: 10px; }
.fit-options label {
  display: flex; align-items: center; gap: 9px; cursor: pointer;
  font-size: .95rem; color: var(--body);
  padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
}
.fit-options label:hover { border-color: var(--gold); }
.fit-options input { accent-color: var(--gold); margin: 0; }
.fit-options label:has(input:checked) { border-color: var(--navy); background: var(--wash); color: var(--navy); }
.fit-options label:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }

.fit-result {
  margin-top: 30px; padding: 22px 26px;
  border: 1px solid var(--line); border-left: 4px solid var(--line);
  border-radius: var(--radius); background: var(--wash);
}
.fit-result p { margin-bottom: 0; font-size: .98rem; }
.fit-result .fit-verdict {
  font-family: var(--serif); font-size: 1.14rem; color: var(--navy); margin-bottom: .5em;
}
.fit-result.is-good { border-left-color: var(--navy); background: #fff; }
.fit-result.is-partial { border-left-color: var(--gold); background: #fbf7f2; }
.fit-result.is-alt { border-left-color: var(--navy-soft); background: #fff; }

/* ---------- contact cards ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list .k {
  display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 3px;
}
.contact-list .v { font-size: 1.05rem; color: var(--navy); font-weight: 500; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.6); padding: 62px 0 30px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 44px; }
.site-footer h4 {
  color: #fff; font-family: var(--sans); font-size: .78rem; letter-spacing: .13em;
  text-transform: uppercase; margin-bottom: 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer-brand img { width: 34px; }
.footer-brand .brand-name { color: #fff; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: .86rem; color: rgba(255,255,255,.45);
}

/* ---------- page header ---------- */
.page-head {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: rgba(255,255,255,.8); padding: 78px 0 66px;
}
.page-head h1 { color: #fff; margin-bottom: .35em; }
.page-head .lede { color: rgba(255,255,255,.8); max-width: 62ch; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .hero-grid, .split, .footer-grid { grid-template-columns: 1fr; }
  .cards, .cards.four { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .hero { padding: 76px 0 68px; }
  section { padding: 68px 0; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 24px;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-top: 1px solid var(--line); }
  .site-nav a { display: block; padding: 15px 0; border-bottom: none; }
  .site-nav .btn { margin-top: 16px; text-align: center; }
  .header-inner { position: relative; }

  .cards, .cards.two, .cards.four { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 8px; }
  .fit-options { flex-direction: column; align-items: stretch; }
  .fit-options label { border-radius: 8px; }
  body { font-size: 16px; }
}

@media print {
  .site-header, .site-footer, .btn-row, .nav-toggle { display: none; }
  body { color: #000; }
  .hero, .page-head, .dark, .cta-band { background: #fff !important; color: #000 !important; }
  .hero h1, .page-head h1, .dark h2, .dark h3 { color: #000 !important; }
}

/* Contrast fixes, 2026-10-01: text on navy that was rendering dark-on-dark. */
.cta-band .lede { color: rgba(255,255,255,.82); }
.hero-card h3 { color: #fff; }
.hero .lede a, .page-head .lede a { color: var(--gold-light); }

/* Route map figure */
.route-figure { margin: 2.5rem auto 0; max-width: 900px; }
.route-figure img { display: block; width: 100%; border-radius: 12px; background: #f8f8f7; box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.route-figure figcaption { margin-top: .75rem; font-size: .92rem; text-align: center; opacity: .85; }

/* Hero headline: each sentence starts its own line, 2026-10-01. */
.hero h1 { max-width: 20ch; text-wrap: balance; }
.hero h1 .line { display: block; }
