/* J-MAP America — site.css
   Brand: crimson red + near-black charcoal on warm white. Bold, freight-forward. */

:root {
  --red: #d12f2f;
  --red-dark: #a81f1f;
  --red-soft: #fdecec;
  --ink: #16120f;
  --ink-2: #211b17;
  --ink-3: #2c2521;
  --paper: #ffffff;
  --bg: #f7f5f3;
  --text: #1d1a17;
  --muted: #6f6862;
  --muted-light: #b9b2ab;
  --line: #e8e3de;
  --line-dark: #3a322d;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 40px rgba(0,0,0,.12);
  --shadow-lg: 0 24px 70px rgba(0,0,0,.28);
  --maxw: 1180px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.1; margin: 0 0 .4em; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--red); color: #fff;
  padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red); margin-bottom: .8rem;
}
.eyebrow-dark { color: var(--red); }
.accent { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font); font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .12s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 17px 30px; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(209,47,47,.32); }
.btn-primary:hover { background: var(--red-dark); color: #fff; box-shadow: 0 10px 26px rgba(168,31,31,.4); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.32); }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { background: var(--bg); color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(22,18,15,.96); backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 18px; }
.header-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.header-logo:hover { text-decoration: none; }
.header-logo img { height: 34px; width: auto; }
.logo-tag { color: #b9b2ab; font-weight: 600; font-size: .92rem; letter-spacing: .04em; white-space: nowrap; border-left: 1px solid var(--line-dark); padding-left: 12px; line-height: 1; }
@media (max-width: 600px) { .logo-tag { font-size: .72rem; padding-left: 8px; letter-spacing: .02em; } .header-logo { gap: 8px; } .header-logo img { height: 28px; } }
.header-nav { display: flex; align-items: center; gap: 22px; }
.nav-link { color: #d8d2cc; font-weight: 600; font-size: .95rem; }
.nav-link:hover { color: #fff; text-decoration: none; }
.header-phone { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 700; }
.header-phone:hover { color: var(--red); text-decoration: none; }
.header-cta { padding: 11px 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding-bottom: 0; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(1100px 500px at 88% -10%, rgba(209,47,47,.30), transparent 60%),
    radial-gradient(900px 600px at 6% 110%, rgba(209,47,47,.12), transparent 55%),
    linear-gradient(180deg, #1a1512 0%, #16120f 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center;
  padding: 64px 22px 78px;
}
.hero-lead .eyebrow { color: #ffb4b4; }
.hero-lead h1 { color: #fff; margin-bottom: .35em; }
.hero-lead .lede { font-size: 1.2rem; color: #d9d2cc; max-width: 33em; margin-bottom: 1.4rem; }
.hero-points { list-style: none; padding: 0; margin: 0 0 1.7rem; display: grid; gap: 10px; }
.hero-points li { display: flex; align-items: center; gap: 11px; color: #ece7e2; font-weight: 500; }
.tick {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%; background: rgba(209,47,47,.22);
  color: #ff8a8a; font-size: .8rem; font-weight: 900; flex: none;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Quote card (the conversion centerpiece) */
.hero-form-col { position: relative; z-index: 1; }
.quote-card {
  background: var(--paper); color: var(--text);
  border-radius: 18px; box-shadow: var(--shadow-lg);
  padding: 26px 26px 24px; border: 1px solid rgba(255,255,255,.06);
}
.quote-card-head { margin-bottom: 16px; }
.quote-title { font-size: 1.5rem; margin-bottom: .25rem; }
.quote-sub { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- Forms ---------- */
.quote-form .form-row { margin-bottom: 13px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
label { display: block; font-weight: 600; font-size: .86rem; margin-bottom: 6px; color: #3a3530; }
.form-optional { color: var(--muted-light); font-weight: 500; }
input, select, textarea {
  width: 100%; font-family: var(--font); font-size: 1rem; color: var(--text);
  padding: 12px 13px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(209,47,47,.14);
}
textarea { resize: vertical; min-height: 76px; }
.form-captcha-row { margin: 6px 0 4px; min-height: 78px; }
.form-submit-row { margin-top: 6px; }
.btn-block { margin-bottom: 8px; }
.form-microcopy { font-size: .82rem; color: var(--muted); text-align: center; margin: 0; }
.form-status { margin-top: 10px; font-size: .92rem; font-weight: 600; min-height: 1.2em; }
.form-status-error { color: var(--red-dark); }

/* Trust strip under hero */
.hero-trust-strip {
  position: relative; z-index: 1; background: var(--ink-2); border-top: 1px solid var(--line-dark);
}
.trust-strip-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px 22px; padding: 16px 22px; font-size: .92rem; color: #cfc8c1;
}
.trust-item strong { color: #fff; }
.trust-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--red); }

/* ---------- Sections ---------- */
section { padding: 0; }
.how, .why, .cta-band { }
.how { background: var(--bg); padding: 78px 0; }
.services { background: var(--paper); padding: 78px 0; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { margin-bottom: .35em; }
.summary { color: var(--muted); font-size: 1.12rem; margin: 0; }

/* Steps */
.step-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; position: relative; transition: transform .15s ease, box-shadow .15s ease;
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: #fff;
  font-weight: 900; font-size: 1.2rem; margin-bottom: 16px;
}
.step-card h3 { margin-bottom: .4em; }
.step-card p { color: var(--muted); margin: 0; }

/* Services grid */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-tile {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  background: linear-gradient(180deg, #fff, #fcfbfa); transition: border-color .15s ease, transform .15s ease;
}
.service-tile:hover { border-color: var(--red); transform: translateY(-3px); }
.service-ico { font-size: 1.9rem; display: block; margin-bottom: 10px; }
.service-tile h3 { margin-bottom: .3em; font-size: 1.15rem; }
.service-tile p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Why + stats */
.why { background: var(--ink); color: #fff; padding: 84px 0; }
.why-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.why-text h2 { color: #fff; }
.why-text > p { color: #cfc8c1; font-size: 1.08rem; }
.why-text .eyebrow { color: #ffb4b4; }
.why-list { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: 14px; }
.why-list li { padding-left: 30px; position: relative; color: #d9d2cc; }
.why-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 0; color: var(--red);
  font-weight: 900; background: rgba(209,47,47,.18); width: 22px; height: 22px;
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .72rem;
}
.why-list strong { color: #fff; }
.why-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat {
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 26px 22px; text-align: center;
}
.stat-num { display: block; font-size: 1.9rem; font-weight: 900; color: #fff; letter-spacing: -.02em; }
.stat-label { display: block; color: var(--muted-light); font-size: .88rem; margin-top: 6px; }

/* CTA band */
.cta-band { background: var(--red); color: #fff; padding: 54px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: .15em; }
.cta-inner p { color: rgba(255,255,255,.92); margin: 0; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-primary { background: #fff; color: var(--red-dark); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.cta-band .btn-primary:hover { background: #fff; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfc8c1; padding: 56px 0 28px; border-top: 1px solid var(--line-dark); }
.footer-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line-dark); }
.footer-logo img { height: 38px; margin-bottom: 14px; }
.footer-tag { color: var(--muted-light); margin: 0; max-width: 24em; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.footer-col a, .footer-col span { display: block; color: #cfc8c1; font-size: .95rem; margin-bottom: 8px; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom { padding-top: 22px; }
.copyright { color: var(--muted-light); font-size: .86rem; }

/* ---------- Mobile CTA bar ---------- */
.mobile-cta-bar { display: none; }

/* ---------- Thanks page ---------- */
.thanks-page { background: var(--bg); }
.thanks-hero { padding: 70px 0 90px; }
.thanks-inner { max-width: 660px; margin: 0 auto; }
.thanks-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 44px 40px; box-shadow: var(--shadow); text-align: center; }
.thanks-check { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; }
.thanks-card h1 { font-size: 2.1rem; }
.thanks-card .lede { font-size: 1.15rem; color: var(--text); }
.thanks-next { text-align: left; background: var(--bg); border-radius: var(--radius); padding: 24px 26px; margin: 24px 0; }
.thanks-next h2 { font-size: 1.15rem; }
.thanks-next ol { margin: 0; padding-left: 20px; }
.thanks-next li { margin-bottom: 8px; color: var(--text); }
.thanks-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 48px 22px 60px; }
  .hero-form-col { order: 2; }
  .why-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 820px) {
  .step-cards { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .header-nav .nav-link { display: none; }
  .header-phone-num { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .why-stats { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-cols { grid-template-columns: 1fr; }
  .header-cta { display: none; }
  .quote-card { padding: 20px 18px; }
  /* sticky mobile call/quote bar */
  .mobile-cta-bar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 120;
    background: rgba(22,18,15,.97); border-top: 1px solid var(--line-dark);
    padding: 6px 10px; gap: 8px; backdrop-filter: blur(8px);
  }
  .mobile-cta-bar .btn { flex: 1; padding: 8px 12px; font-size: .88rem; line-height: 1; border-radius: 9px; gap: 6px; }
  .mobile-cta-bar .btn svg { width: 15px; height: 15px; flex: none; }
  .btn-call { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.28); }
  .btn-schedule { background: var(--red); color: #fff; }
  body { padding-bottom: 46px; }
}
