/* National Cost Segregation LLC — stylesheet */
:root {
  --navy: #0f2a43;
  --navy-deep: #0a1f33;
  --gold: #c9a24b;
  --gold-dark: #a9852f;
  --ink: #1a2430;
  --slate: #5a6b7b;
  --mist: #f4f7fa;
  --line: #e2e8ef;
  --white: #ffffff;
  --shadow: 0 10px 40px rgba(15, 42, 67, 0.10);
  --radius: 14px;
  --maxw: 1140px;
  font-size: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: var(--white);
}
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
h1, h2, h3 { line-height: 1.2; color: var(--navy); font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 0.5rem; }
h3 { font-size: 1.25rem; }
a { color: var(--gold-dark); text-decoration: none; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 700; color: var(--gold-dark); margin-bottom: 0.75rem; }
.eyebrow.center { display: block; }
.muted { color: var(--slate); }

/* Buttons */
.btn { display: inline-block; padding: 14px 26px; border-radius: 10px; font-weight: 700; font-size: 1rem; cursor: pointer; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn-primary { background: var(--gold); color: var(--navy-deep); }
.btn-primary:hover { background: var(--gold-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-nav { background: var(--gold); color: var(--navy-deep); padding: 10px 20px; }
.btn-nav:hover { background: var(--gold-dark); color: #fff; }
.btn-block { display: block; width: 100%; text-align: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-weight: 800; font-size: 1.25rem; color: var(--navy); letter-spacing: -0.02em; }
.logo span { color: var(--gold-dark); margin-left: 6px; font-weight: 700; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.nav a:hover { color: var(--gold-dark); }

/* Hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; padding: 80px 0 90px; }
.hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero .eyebrow { color: var(--gold); }
.lede { font-size: 1.15rem; color: #d5e0ea; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-trust { font-size: 0.95rem; color: #b9c8d6; }
.hero-trust strong { color: var(--gold); }

/* Stat card */
.stat-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.stat-label { text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.1em; color: var(--slate); font-weight: 700; }
.stat-big { font-size: 2.6rem; font-weight: 800; color: var(--navy); line-height: 1.1; margin: 4px 0; }
.stat-mid { font-size: 2rem; font-weight: 800; color: var(--gold-dark); margin: 4px 0; }
.stat-sub { font-size: 0.85rem; color: var(--slate); }
.stat-card hr { border: none; border-top: 1px solid var(--line); margin: 20px 0; }

/* Trust bar */
.trust-bar { background: var(--mist); border-bottom: 1px solid var(--line); padding: 26px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-grid div { display: flex; flex-direction: column; }
.trust-grid strong { color: var(--navy); font-size: 1rem; }
.trust-grid span { color: var(--slate); font-size: 0.85rem; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--mist); }
.section-lede { color: var(--slate); font-size: 1.1rem; max-width: 720px; margin: 0 auto 44px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; }
.step-num { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 16px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--slate); font-size: 0.95rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--slate); }

/* Calculator */
.calc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.calc label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 22px; }
.calc input[type=range] { width: 100%; margin-top: 10px; accent-color: var(--gold-dark); }
.calc output { display: inline-block; margin-top: 6px; font-size: 1.2rem; color: var(--gold-dark); font-weight: 800; }
.calc select { width: 100%; margin-top: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 1rem; font-weight: 600; color: var(--ink); }
.calc-result { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; background: var(--mist); border-radius: 10px; padding: 24px; margin: 10px 0 16px; }
.calc-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate); font-weight: 700; }
.calc-big { font-size: 1.9rem; font-weight: 800; color: var(--navy); }
.calc-fine, .form-fine, .footer-muted { font-size: 0.8rem; color: var(--slate); }
.calc-fine { margin-bottom: 18px; }

/* About */
.about-copy { font-size: 1.1rem; color: var(--ink); margin-bottom: 18px; }
.cred-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; justify-content: center; }
.cred-badge { background: var(--navy); color: #fff; font-size: 0.85rem; font-weight: 700; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--navy); }
.cred-badge:nth-child(odd) { background: #fff; color: var(--navy); border-color: var(--gold); }

/* CTA / form */
.cta-section { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; }
.cta-section h2 { color: #fff; }
.cta-section .section-lede { color: #d5e0ea; }
.lead-form { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.lead-form input, .lead-form textarea { width: 100%; padding: 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 1rem; font-family: inherit; }
.lead-form textarea { min-height: 100px; margin-bottom: 16px; resize: vertical; }
.form-fine { text-align: center; margin-top: 14px; color: var(--slate); }

/* Footer */
.site-footer { background: var(--navy-deep); color: #b9c8d6; padding: 50px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .logo { color: #fff; }
.footer-contact p { margin-bottom: 4px; }
.footer-bottom { padding-top: 20px; font-size: 0.82rem; color: #7e93a6; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .nav a:not(.btn-nav) { display: none; }
}
@media (max-width: 560px) {
  .trust-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .calc-result, .form-row { grid-template-columns: 1fr; }
}
