/* =====================================================================
   Next Level Recon — style.css
   Design tokens
   Color   : Navy #0A2240 (ink/primary) · Old Glory Red #BF0A30
             White #FFFFFF · Paper #F6F4EF (warm off-white)
             Steel #55637A (muted text) · LED #EAF6FF (cool highlight)
   Type    : Display  — "Oswald" (condensed, signage-like, from the logo)
             Body     — "Inter"
             Utility  — "IBM Plex Mono" (ticket / spec data)
   Signature: the "Recon Report" inspection ticket card in the hero
   ===================================================================== */

:root {
  --navy:        #0A2240;
  --navy-deep:   #071729;
  --red:         #BF0A30;
  --red-dark:    #93061F;
  --white:       #FFFFFF;
  --paper:       #F6F4EF;
  --steel:       #55637A;
  --steel-light: #8C9AAE;
  --led:         #EAF6FF;
  --line:        #E3E0D6;

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', 'SFMono-Regular', Menlo, monospace;

  --radius: 6px;
  --wrap: 1160px;
  --shadow-card: 0 1px 2px rgba(10,34,64,.06), 0 8px 24px rgba(10,34,64,.06);
}

/* ---------------------------- Reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .01em; line-height: 1.08; margin: 0 0 .5em; }
p { margin: 0 0 1em; color: var(--steel); }
button { font: inherit; cursor: pointer; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.text-red { color: var(--red); }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: var(--white);
  padding: 10px 16px; z-index: 999; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* ---------------------------- Buttons --------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .03em;
  font-size: 15px; font-weight: 600;
  padding: 13px 26px; border-radius: var(--radius); border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); }
.btn--ghost { border-color: rgba(10,34,64,.25); color: var(--navy); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--white { background: var(--white); color: var(--red); }
.btn--white:hover { background: var(--paper); }
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--sm { padding: 9px 16px; font-size: 13px; }
.btn--block { width: 100%; }

/* ---------------------------- Header ----------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 3px solid var(--red);
  box-shadow: 0 1px 0 rgba(10,34,64,.04);
}
.site-header__row { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand__logo { height: 34px; width: auto; }
.nav__list { display: flex; gap: 28px; }
.nav__list a {
  color: var(--navy); font-family: var(--font-display); text-transform: uppercase;
  font-size: 14px; letter-spacing: .04em; opacity: .85;
}
.nav__list a:hover { opacity: 1; color: var(--red); }
.site-header__actions { display: flex; align-items: center; gap: 16px; }
.phone-link { color: var(--navy); font-weight: 600; font-size: 14px; display: none; }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; padding: 0;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 0 auto; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 68px 0 0 0; background: var(--white);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav__list { flex-direction: column; gap: 0; padding: 10px 20px 30px; }
  .nav__list a { display: block; padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 18px; }
  .site-header .btn--sm { display: none; }
}
@media (min-width: 861px) {
  .nav-toggle { display: none; }
  .phone-link { display: inline-flex; align-items: center; gap: 6px; }
}

/* ---------------------------- Hero -------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 64px 0 84px;
  overflow: hidden;
}
.hero__flagbars {
  position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: repeating-linear-gradient(90deg, var(--red) 0 40px, var(--white) 40px 44px, var(--red) 44px 84px, var(--navy) 84px 120px);
  opacity: .9;
}
.hero__row { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--led); background: rgba(234,246,255,.08); border: 1px solid rgba(234,246,255,.25);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow__star { color: var(--red); }
.hero h1 { font-size: clamp(34px, 6vw, 58px); color: var(--white); }
.hero__lede { font-size: 17px; color: rgba(255,255,255,.78); max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 22px 0 14px; }
.hero .btn--ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.hero .btn--ghost:hover { border-color: var(--white); }
.hero__fineprint { font-size: 13px; color: var(--steel-light); margin: 0; }

/* Signature element: the inspection ticket */
.hero__ticket { display: flex; justify-content: center; }
.ticket {
  width: 100%; max-width: 340px;
  background: var(--white); color: var(--navy);
  border-radius: 10px; box-shadow: 0 30px 60px rgba(0,0,0,.35);
  padding: 22px 22px 18px; position: relative;
  transform: rotate(2deg);
}
.ticket::before {
  content: ""; position: absolute; top: 34px; left: -9px; width: 18px; height: 18px;
  background: var(--navy-deep); border-radius: 50%;
}
.ticket::after {
  content: ""; position: absolute; top: 34px; right: -9px; width: 18px; height: 18px;
  background: var(--navy-deep); border-radius: 50%;
}
.ticket__head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--steel); border-bottom: 1px dashed var(--line); padding-bottom: 12px; margin-bottom: 12px;
}
.ticket__id { color: var(--red); }
.ticket__list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14.5px; font-weight: 500; padding: 6px 0;
}
.ticket__check { color: var(--red); font-weight: 700; width: 18px; text-align: center; }
.ticket__check--pending {
  width: 14px; height: 14px; border: 2px solid var(--line); border-radius: 3px; margin-left: 2px; margin-right: 6px;
}
.ticket__foot {
  margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line);
  font-family: var(--font-mono); font-size: 11px; text-align: center; letter-spacing: .08em;
  color: var(--red); text-transform: uppercase;
}

@media (min-width: 900px) {
  .hero__row { grid-template-columns: 1.1fr .8fr; }
}

/* ---------------------------- Sections generic --------------------------- */
section { padding: 68px 0; }
.section-kicker { font-size: clamp(26px, 4vw, 38px); }
.section-lede { font-size: 16.5px; max-width: 62ch; }
.section-kicker--light { color: var(--white); }
.section-lede--light { color: rgba(255,255,255,.75); }

/* ---------------------------- Problem ------------------------------------ */
.problem { background: var(--paper); }
.problem__grid { display: grid; gap: 24px; margin-top: 32px; grid-template-columns: 1fr; }
.problem__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.problem__icon { color: var(--red); font-size: 10px; display: inline-block; margin-bottom: 10px; }
.problem__item h3 { font-size: 18px; }
.problem__item p { margin: 0; font-size: 14.5px; }
@media (min-width: 720px) { .problem__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------------------------- Inspection ---------------------------------- */
.inspection__row { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; }
.check-list { margin: 22px 0; display: grid; gap: 10px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.check-list__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: var(--white);
  font-size: 12px; flex: none;
}
.inspection__note { font-size: 14.5px; }
.inspection__visual { display: flex; }
.storefront-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}
@media (min-width: 900px) { .inspection__row { grid-template-columns: 1.1fr .7fr; } }


/* ---------------------------- Report -------------------------------------- */
.report { background: var(--navy); }
.report__grid { display: grid; gap: 18px; margin-top: 32px; grid-template-columns: 1fr; }
.report__card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 22px; position: relative;
}
.report__card h3 { color: var(--white); font-size: 17px; }
.report__card p { color: rgba(255,255,255,.65); font-size: 14px; margin: 0; }
.report__tag {
  display: inline-block; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: .06em; color: var(--navy); background: var(--led); padding: 3px 9px; border-radius: 999px;
  margin-bottom: 10px;
}
.report__card--soon { opacity: .85; border-style: dashed; }
.report__tag--soon { background: var(--red); color: var(--white); }
@media (min-width: 720px) { .report__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .report__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------------------------- Services ------------------------------------ */
.services__grid { display: grid; gap: 20px; margin-top: 32px; grid-template-columns: 1fr; }
.service-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-card);
}
.service-card__num { font-family: var(--font-mono); color: var(--red); font-size: 13px; letter-spacing: .06em; }
.service-card h3 { font-size: 19px; margin-top: 6px; }
.service-card ul { display: grid; gap: 8px; }
.service-card li {
  font-size: 14.5px; color: var(--steel); padding-left: 16px; position: relative;
}
.service-card li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; background: var(--red);
}
@media (min-width: 720px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services__grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------------------------- CTA band ------------------------------------- */
.cta-band { background: var(--red); color: var(--white); padding: 48px 0; }
.cta-band h2 { color: var(--white); font-size: clamp(24px, 4vw, 32px); }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; max-width: 56ch; }
.cta-band__row { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
@media (min-width: 780px) { .cta-band__row { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------------------------- Why ------------------------------------------ */
.why__row { display: grid; gap: 36px; grid-template-columns: 1fr; }
.why__list { display: grid; gap: 16px; }
.why__list li { border-left: 3px solid var(--red); padding-left: 16px; font-size: 15px; color: var(--steel); }
.why__list strong { color: var(--navy); display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 14px; letter-spacing: .02em; margin-bottom: 2px; }
@media (min-width: 900px) { .why__row { grid-template-columns: 1.2fr .8fr; } }

/* ---------------------------- Locations ------------------------------------- */
.locations { background: var(--paper); }
.location-list { display: grid; gap: 12px; margin-top: 28px; }
.location-list__item {
  display: flex; align-items: center; gap: 14px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px;
}
.location-list__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--steel-light); flex: none; }
.location-list__item--now .location-list__dot { background: var(--red); box-shadow: 0 0 0 4px rgba(191,10,48,.15); }
.location-list__city { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .02em; font-size: 16px; flex: 1; }
.location-list__status { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--steel); }
.location-list__item--now .location-list__status { color: var(--red); font-weight: 600; }

/* ---------------------------- Contact --------------------------------------- */
.contact { background: var(--navy-deep); color: var(--white); }
.contact__row { display: grid; gap: 40px; grid-template-columns: 1fr; }
.contact__details { margin-top: 20px; display: grid; gap: 10px; font-size: 15px; }
.contact__details a:hover { color: var(--red); }
.contact__form {
  background: var(--white); color: var(--navy); border-radius: 10px; padding: 26px;
  display: grid; gap: 16px; box-shadow: var(--shadow-card);
}
.field { display: grid; gap: 6px; }
.field-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--steel); }
input, select, textarea {
  font: inherit; font-size: 15px; padding: 11px 12px; border: 1px solid var(--line);
  border-radius: 5px; background: var(--paper); color: var(--navy); width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--red); }
.contact__status { font-size: 13.5px; min-height: 1.2em; margin: 0; }
.contact__status[data-state="success"] { color: #1a7f3c; }
.contact__status[data-state="error"] { color: var(--red); }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .contact__row { grid-template-columns: .8fr 1.2fr; } }

/* ---------------------------- Footer ----------------------------------------- */
.stripe-bar {
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--red) 0 40px, var(--white) 40px 44px, var(--red) 44px 84px, var(--navy) 84px 120px);
}
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding-top: 48px; }
.site-footer__grid { display: grid; gap: 32px; grid-template-columns: 1fr; padding-bottom: 32px; }
.site-footer__brand img { background: var(--white); padding: 10px 16px; border-radius: 6px; }
.site-footer__brand p { color: rgba(255,255,255,.55); font-size: 14px; margin: 12px 0 6px; }
.site-footer__flag { font-size: 12px; letter-spacing: .04em; color: var(--red) !important; }
.site-footer__col h3 { color: var(--white); font-size: 14px; margin-bottom: 12px; }
.site-footer__col ul { display: grid; gap: 8px; font-size: 14px; }
.site-footer__col a:hover { color: var(--red); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 12.5px; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }

/* ============================ Survey page ================================ */
.wrap--narrow { max-width: 760px; }

.survey { background: var(--paper); padding: 56px 0 90px; }

.eyebrow--onwhite {
  color: var(--red); background: rgba(191,10,48,.07); border: 1px solid rgba(191,10,48,.2);
}

.survey-intro h1 { font-size: clamp(28px, 5vw, 40px); margin-top: 4px; }

.survey-scenario {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 26px 28px; margin-top: 28px; box-shadow: var(--shadow-card);
}
.survey-scenario h2 {
  font-size: 15px; letter-spacing: .06em; color: var(--red); margin-bottom: 14px;
}
.survey-scenario p { font-size: 15px; color: var(--navy); }
.survey-scenario p:last-child { margin-bottom: 0; }

.survey-scenario__pricing {
  display: grid; gap: 20px; grid-template-columns: 1fr; margin: 22px 0;
}
@media (min-width: 640px) { .survey-scenario__pricing { grid-template-columns: 1fr 1fr; } }
.survey-scenario__pricing-col h3 {
  font-size: 14px; letter-spacing: .02em; margin-bottom: 2px;
}
.survey-scenario__pricing-sub { font-size: 12.5px; color: var(--steel); margin-bottom: 10px; }
.survey-scenario__pricing-col table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 13px; }
.survey-scenario__pricing-col td {
  padding: 7px 0; border-bottom: 1px dashed var(--line); color: var(--navy);
}
.survey-scenario__pricing-col td:last-child { text-align: right; white-space: nowrap; color: var(--red); font-weight: 600; }
.survey-scenario__note { color: var(--steel); font-weight: 400; font-family: var(--font-body); font-size: 11px; display: block; }

.survey-form { margin-top: 40px; display: grid; gap: 30px; }
.survey-q {
  border: none; margin: 0; padding: 0 0 26px; border-bottom: 1px solid var(--line);
}
.survey-q--last { border-bottom: none; padding-bottom: 0; }
.survey-q legend {
  font-family: var(--font-display); text-transform: none; letter-spacing: 0;
  font-size: 16.5px; font-weight: 600; color: var(--navy); padding: 0; margin-bottom: 14px;
  line-height: 1.35;
}
.survey-hint { color: var(--steel); font-weight: 400; font-size: 13.5px; text-transform: none; }

.survey-q textarea,
.survey-q input[type="text"] {
  font: inherit; font-size: 15px; padding: 11px 12px; border: 1px solid var(--line);
  border-radius: 5px; background: var(--white); color: var(--navy); width: 100%; resize: vertical;
}
.survey-q textarea:focus,
.survey-q input[type="text"]:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--red); }

.survey-options { display: grid; gap: 8px; }
.survey-options--inline { display: flex; flex-wrap: wrap; gap: 10px; }
.survey-options--inline .radio-option { flex: 1 1 120px; }

.radio-option, .checkbox-option {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 6px; padding: 11px 14px;
  font-size: 14.5px; color: var(--navy); background: var(--white); cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.radio-option:hover, .checkbox-option:hover { border-color: var(--red); }
.radio-option input, .checkbox-option input { accent-color: var(--red); width: 16px; height: 16px; flex: none; }

.survey-subquestion {
  display: block; font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .03em; color: var(--steel); margin: 14px 0 6px;
}

.survey-form__note { font-size: 12.5px; color: var(--steel); text-align: center; margin: 0; }

/* ---- Thank-you state ---- */
.survey-thanks { text-align: center; padding: 40px 0; }
.survey-thanks__badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; background: var(--red); color: var(--white);
  font-size: 26px; font-weight: 700; margin-bottom: 20px;
}
.survey-thanks h1 { font-size: clamp(28px, 5vw, 38px); }
.survey-thanks__redirect { font-size: 13.5px; color: var(--steel-light); margin: 18px 0 22px; }
