:root {
  --navy: #0f2b46;
  --navy-soft: #1c4066;
  --orange: #e8701a;
  --orange-dark: #c85c0d;
  --ink: #16212b;
  --muted: #5a6a78;
  --line: #e2e7ec;
  --bg: #ffffff;
  --bg-alt: #f6f8fa;
  --radius: 10px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
a { color: var(--navy-soft); }
a:hover { color: var(--orange-dark); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 760px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--navy); }
.logo-img { height: 46px; width: 46px; display: block; }
.logo-text { font-weight: 700; font-size: 1rem; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; text-align: center; font-weight: 650;
  padding: 12px 20px; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; font-size: 1rem; transition: background 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--navy); color: var(--navy); }
.btn-call { background: var(--navy); color: #fff; padding: 10px 16px; font-size: 0.95rem; }
.btn-call:hover { background: var(--navy-soft); color: #fff; }
.btn-block { width: 100%; }

/* Hero */
.hero { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 56px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: start; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.78rem;
  font-weight: 700; color: var(--orange-dark); margin-bottom: 10px;
}
.lede { font-size: 1.1rem; color: var(--muted); max-width: 52ch; }
.trust-list { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 9px; }
.trust-list li { position: relative; padding-left: 26px; font-weight: 500; }
.trust-list li::before {
  content: ""; position: absolute; left: 3px; top: 8px; width: 7px; height: 12px;
  border: solid var(--orange); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Form */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 28px; box-shadow: 0 1px 3px rgba(15, 43, 70, 0.06);
}
.form-card h2 { font-size: 1.4rem; }
.form-sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.form-card label { display: block; font-weight: 600; font-size: 0.9rem; margin: 14px 0 5px; }
.form-card input[type="text"],
.form-card input[type="tel"],
.form-card input[type="email"],
.form-card textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; font-size: 1rem; background: #fff; color: var(--ink);
}
.form-card input:focus, .form-card textarea:focus {
  outline: 2px solid var(--navy-soft); outline-offset: 1px; border-color: var(--navy-soft);
}
.form-card textarea { resize: vertical; }

/* Honeypot: off-screen, not display:none, so bots still fill it. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: flex; gap: 11px; align-items: flex-start; margin: 20px 0 18px; }
.consent input[type="checkbox"] {
  flex: 0 0 auto; width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--orange);
}
.consent label {
  margin: 0; font-weight: 400; font-size: 0.82rem; line-height: 1.55; color: var(--muted);
}
.consent label a { color: var(--navy-soft); text-decoration: underline; }

.alert { padding: 14px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 0.95rem; }
.alert-error { background: #fdf0ee; border: 1px solid #f0c4bc; color: #96301c; }
.alert-success { background: #eef7f0; border: 1px solid #bfdfc8; color: #1d5b31; }
.alert-success h2 { color: #1d5b31; margin-bottom: 6px; }
.alert p:last-child { margin-bottom: 0; }

/* Icons */
.ico { width: 1em; height: 1em; fill: none; vertical-align: -0.12em; }

/* Hero illustration */
.hero-art { width: 100%; height: auto; display: block; border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15, 43, 70, 0.10); }
.hero-media { align-self: center; }

/* Trust badges row (below hero) */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; padding-block: 18px; }
.trust-badge { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 0.92rem; color: var(--navy); }
.trust-badge .ico { width: 22px; height: 22px; color: var(--orange); }
.trust-badge .stars { display: inline-flex; color: var(--orange); }
.trust-badge .stars .ico { width: 15px; height: 15px; }

/* Trust list uses check icons instead of CSS pseudo-elements */
.trust-list li::before { content: none; }
.trust-list li { padding-left: 30px; }
.trust-list .ico { position: absolute; left: 0; top: 3px; width: 20px; height: 20px; color: var(--orange); }

/* Disclosure block directly under the quote button */
.form-disclosure {
  margin-top: 14px; padding: 13px 14px; background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: 8px;
  font-size: 0.76rem; line-height: 1.55; color: var(--muted);
}
.form-disclosure strong { color: var(--ink); }
.form-links { margin: 10px 0 0; text-align: center; font-size: 0.85rem; }
.form-links a { color: var(--navy-soft); text-decoration: underline; font-weight: 600; }
.form-links span { color: var(--muted); margin: 0 6px; }

/* Why-it-matters section */
.why-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 44px; align-items: center; }
.why-media { align-self: start; }
.why-copy .signs { margin: 20px 0; }
.hero-actions .ico { width: 18px; height: 18px; margin-right: 2px; }

/* Sections */
.section { padding: 60px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; margin-top: 26px; }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 24px; background: #fff; transition: box-shadow 0.15s ease, transform 0.15s ease; }
.card:hover { box-shadow: 0 8px 22px rgba(15, 43, 70, 0.09); transform: translateY(-2px); }
.card-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 11px;
  background: #fdf0e6; color: var(--orange-dark); margin-bottom: 14px;
}
.card-ico .ico { width: 26px; height: 26px; }
.card h3 { color: var(--navy); }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Hazard callout above services */
.hazard {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fdf0e6; border: 1px solid #f4d3b8; border-radius: 12px;
  padding: 20px 22px; margin-top: 8px;
}
.hazard .ico { width: 30px; height: 30px; color: var(--orange-dark); flex: 0 0 auto; margin-top: 2px; }
.hazard p { margin: 0; color: #7a4410; }
.hazard strong { color: #5c3208; }

.signs { list-style: none; margin: 22px 0; padding: 0; display: grid; gap: 10px; max-width: 62ch; }
.signs li { position: relative; padding-left: 30px; }
.signs .ico { position: absolute; left: 0; top: 3px; width: 20px; height: 20px; color: var(--orange); }
.cta-line { font-size: 1.05rem; }
.areas { color: var(--muted); max-width: 70ch; }

/* Legal pages */
.legal { padding: 52px 0 64px; }
.legal h2 { margin-top: 1.7em; font-size: 1.25rem; }
.legal ul { padding-left: 22px; display: grid; gap: 7px; margin-bottom: 1.2em; }
.legal .updated { color: var(--muted); font-size: 0.9rem; }
.legal .callout {
  background: var(--bg-alt); border-left: 3px solid var(--orange);
  padding: 16px 18px; border-radius: 0 8px 8px 0;
}

/* Footer */
.site-footer {
  background: var(--navy); color: #c9d6e2; margin-top: 0;
  padding: 44px 0 32px; font-size: 0.9rem;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--orange); }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 30px; }
.foot-grid p { margin: 0 0 5px; }
.foot-name { color: #fff; font-weight: 700; margin-bottom: 9px !important; }
/* Placeholder marker. Deliberately ugly so a pending legal entity cannot slip
   past a visual check and reach an A2P reviewer. Disappears automatically when
   einPending flips to false in src/locations.js. */
.pending {
  background: #ffd400;
  color: #000;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  display: inline-block;
}

.franchise-note { margin-top: 9px !important; font-size: 0.85rem; color: #a9bccd; }

.sms-disclosure {
  margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8rem; line-height: 1.6; color: #a9bccd; max-width: 90ch;
}
.copyright { font-size: 0.8rem; color: #8fa5b8; margin: 14px 0 0; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero { padding: 40px 0 48px; }
  .why-grid { grid-template-columns: 1fr; gap: 28px; }
  .why-media { max-width: 440px; margin: 0 auto; }
  .logo-text { display: none; }
  .section { padding: 46px 0; }
  .trust-strip .wrap { gap: 12px 22px; }
  .trust-badge { font-size: 0.85rem; }
}
