/* BurstResponse landing — static restyle matching the brand theme.
   Deep navy + alarm orange. Mobile-first. No build step. */

:root {
  --radius: 0.75rem;

  --background: oklch(0.99 0.005 240);
  --foreground: oklch(0.18 0.04 250);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.18 0.04 250);
  --secondary: oklch(0.96 0.012 240);
  --muted: oklch(0.95 0.012 240);
  --muted-foreground: oklch(0.45 0.025 250);
  --border: oklch(0.9 0.012 245);

  --brand-navy: oklch(0.22 0.06 255);
  --brand-navy-deep: oklch(0.15 0.05 255);
  /* config.color (a hex) flows in via --brand; oklch fallback if unset. */
  --brand-orange: var(--brand, oklch(0.68 0.21 42));
  --brand-orange-bright: oklch(0.74 0.2 48);
  --accent-foreground: oklch(0.99 0.005 60);
  --primary-foreground: oklch(0.985 0.003 240);

  --gradient-hero: linear-gradient(
    135deg,
    oklch(0.15 0.05 255 / 0.92),
    oklch(0.22 0.07 260 / 0.78)
  );
  --gradient-cta: linear-gradient(135deg, var(--brand-orange-bright), var(--brand-orange));
  --shadow-cta: 0 10px 30px -10px oklch(0.68 0.21 42 / 0.55);
  --shadow-card: 0 1px 2px oklch(0.18 0.04 250 / 0.04), 0 8px 24px -12px oklch(0.18 0.04 250 / 0.12);

  --font-display: "Fraunces", "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.5;
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.icon { width: 1.25rem; height: 1.25rem; flex: none; stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.brand-lockup { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--primary-foreground); text-decoration: none; }
.brand-badge { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 0.5rem;
  background: var(--brand-orange); color: var(--accent-foreground); }
.brand-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.header-call { display: none; align-items: center; gap: 0.5rem; border-radius: 999px; padding: 0.6rem 1.25rem;
  font-size: 0.9rem; font-weight: 600; text-decoration: none; color: var(--accent-foreground);
  background: var(--brand-orange); box-shadow: var(--shadow-cta); transition: filter 0.15s; }
.header-call:hover { filter: brightness(1.1); }
@media (min-width: 640px) { .header-call { display: inline-flex; } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--primary-foreground); }
.hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; z-index: -1; background: var(--gradient-hero); }
.hero .wrap { padding-top: 8rem; padding-bottom: 5rem; }
@media (min-width: 640px) { .hero .wrap { padding-top: 11rem; padding-bottom: 7rem; } }
.hero-inner { max-width: 42rem; }
.badge { display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 999px;
  padding: 0.3rem 0.75rem; font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--brand-orange-bright);
  background: oklch(0.68 0.21 42 / 0.15); box-shadow: inset 0 0 0 1px oklch(0.68 0.21 42 / 0.3); }
.ping { position: relative; display: inline-flex; width: 0.5rem; height: 0.5rem; align-items: center; justify-content: center; }
.ping::before { content: ""; position: absolute; inset: 0; border-radius: 999px;
  background: var(--brand-orange-bright); opacity: 0.75; animation: ping 1.4s cubic-bezier(0,0,0.2,1) infinite; }
.ping::after { content: ""; position: relative; width: 0.5rem; height: 0.5rem; border-radius: 999px; background: var(--brand-orange-bright); }
@keyframes ping { 75%, 100% { transform: scale(2.2); opacity: 0; } }
.hero h1 { margin: 1.25rem 0 0; font-size: 2.25rem; line-height: 1.05; }
.hero h1 .accent { color: var(--brand-orange-bright); }
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.5rem; } }
.hero-sub { margin-top: 1.5rem; max-width: 36rem; font-size: 1.125rem; line-height: 1.6; color: oklch(0.985 0.003 240 / 0.85); }
.hero-ctas { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; align-items: center; } }

.btn-call { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  border-radius: 999px; padding: 1rem 1.75rem; font-weight: 600; font-size: 1rem; text-decoration: none;
  color: var(--accent-foreground); background: var(--gradient-cta); box-shadow: var(--shadow-cta);
  transition: filter 0.15s; }
.btn-call:hover { filter: brightness(1.1); }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px;
  padding: 1rem 1.5rem; font-weight: 500; text-decoration: none; color: var(--primary-foreground);
  border: 1px solid oklch(1 0 0 / 0.3); background: oklch(1 0 0 / 0.05); backdrop-filter: blur(6px);
  transition: background 0.15s; }
.btn-ghost:hover { background: oklch(1 0 0 / 0.1); }

/* ---------- Lead form ---------- */
.lead-form { margin-top: 2rem; display: grid; gap: 0.75rem; border-radius: 1rem; padding: 1rem;
  border: 1px solid oklch(1 0 0 / 0.15); background: oklch(1 0 0 / 0.1); backdrop-filter: blur(10px); }
@media (min-width: 640px) { .lead-form { grid-template-columns: 1fr 1fr auto; } }
.lead-form input, .lead-form textarea { font: inherit; border-radius: 0.5rem; padding: 0.75rem 1rem;
  border: 1px solid oklch(1 0 0 / 0.15); background: oklch(1 0 0 / 0.95); color: var(--foreground); }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: var(--muted-foreground); }
.lead-form input:focus, .lead-form textarea:focus { outline: none; box-shadow: 0 0 0 2px var(--brand-orange); }
.lead-form textarea { resize: vertical; }
.lead-form .full { grid-column: 1 / -1; }
.lead-form button { font: inherit; font-weight: 600; cursor: pointer; border: 0; border-radius: 0.5rem;
  padding: 0.75rem 1.5rem; color: var(--accent-foreground); background: var(--brand-orange);
  box-shadow: var(--shadow-cta); transition: filter 0.15s; }
.lead-form button:hover { filter: brightness(1.1); }
.lead-form button:disabled { opacity: 0.65; cursor: default; }
.form-status { grid-column: 1 / -1; margin: 0; min-height: 1.2em; font-size: 0.9rem; font-weight: 600;
  color: var(--primary-foreground); }
.lead-consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.78rem; line-height: 1.45; color: oklch(0.985 0.003 240 / 0.9); cursor: pointer; }
.lead-consent input { flex: none; width: 1.1rem; height: 1.1rem; margin-top: 0.1rem; accent-color: var(--brand-orange); }
.lead-consent a { color: var(--brand-orange-bright); text-decoration: underline; }

/* ---------- Trust strip ---------- */
.trust { background: var(--brand-navy-deep); color: var(--primary-foreground); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.75rem 2rem; padding-top: 1.25rem; padding-bottom: 1.25rem; font-size: 0.9rem; }
.trust-item { display: inline-flex; align-items: center; gap: 0.5rem; color: oklch(0.985 0.003 240 / 0.85); }
.trust-item .icon { width: 1rem; height: 1rem; color: var(--brand-orange-bright); }

/* ---------- Sections ---------- */
section.band { padding: 5rem 0; }
@media (min-width: 640px) { section.band { padding: 6rem 0; } }
.eyebrow { margin: 0; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-orange); }
.section-head { max-width: 42rem; }
.section-head h2 { margin: 0.5rem 0 0; font-size: 1.875rem; line-height: 1.15; }
@media (min-width: 640px) { .section-head h2 { font-size: 2.25rem; } }
.section-head p { color: var(--muted-foreground); margin-top: 0.75rem; }

/* Do-this-now cards */
.cards { margin-top: 3rem; display: grid; gap: 1.25rem; grid-template-columns: 1fr; list-style: none; padding: 0; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card { display: flex; flex-direction: column; border-radius: 1rem; border: 1px solid var(--border);
  background: var(--card); padding: 1.5rem; box-shadow: var(--shadow-card); }
.card-top { display: flex; align-items: center; gap: 0.75rem; }
.step-num { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 999px;
  background: var(--brand-navy); color: var(--primary-foreground); font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700; }
.card-top .icon { color: var(--brand-orange); }
.card h3 { margin: 1rem 0 0; font-size: 1.125rem; color: var(--card-foreground); }
.card p { margin: 0.5rem 0 0; font-size: 0.9rem; line-height: 1.55; color: var(--muted-foreground); }

/* How it works (navy) */
.how { background: var(--brand-navy); color: var(--primary-foreground); }
.how .eyebrow { color: var(--brand-orange-bright); }
.how-grid { margin-top: 3rem; display: grid; gap: 1px; border-radius: 1rem; overflow: hidden; background: oklch(1 0 0 / 0.1); }
@media (min-width: 640px) { .how-grid { grid-template-columns: repeat(3, 1fr); } }
.how-cell { background: var(--brand-navy); padding: 1.75rem; }
.how-num { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--brand-orange-bright); line-height: 1; }
.how-cell h3 { margin: 1rem 0 0; font-size: 1.25rem; }
.how-cell p { margin: 0.5rem 0 0; font-size: 0.9rem; line-height: 1.55; color: oklch(0.985 0.003 240 / 0.75); }

/* Water damage */
.waterdamage .panel { border-radius: 1.5rem; border: 1px solid var(--border); background: var(--secondary);
  padding: 2rem; display: grid; gap: 2rem; }
@media (min-width: 1024px) { .waterdamage .panel { grid-template-columns: 2fr 1fr; align-items: center; padding: 3rem; } }
.waterdamage h2 { margin: 0.5rem 0 0; font-size: 1.875rem; line-height: 1.15; }
@media (min-width: 640px) { .waterdamage h2 { font-size: 2.25rem; } }
.waterdamage p { color: var(--muted-foreground); margin-top: 1rem; }

/* FAQ */
.faq { max-width: 56rem; margin: 0 auto; }
.faq .section-head { max-width: none; text-align: center; }
.faq-list { margin-top: 3rem; border-radius: 1rem; border: 1px solid var(--border); background: var(--card); overflow: hidden; }
.faq-item { padding: 1.5rem; border-top: 1px solid var(--border); }
.faq-item:first-child { border-top: 0; }
.faq-item summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.125rem; color: var(--card-foreground); }
.faq-toggle { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; flex: none;
  border-radius: 999px; border: 1px solid var(--border); color: var(--muted-foreground);
  transition: transform 0.2s, color 0.2s, border-color 0.2s; }
.faq-item[open] .faq-toggle { transform: rotate(45deg); color: var(--brand-orange); border-color: var(--brand-orange); }
.faq-item .answer { margin: 0.75rem 0 0; color: var(--muted-foreground); }

/* Final CTA */
.final { background: var(--brand-navy-deep); color: var(--primary-foreground); text-align: center; }
.final h2 { font-size: 2.25rem; margin: 0; }
@media (min-width: 640px) { .final h2 { font-size: 3rem; } }
.final p { margin-top: 1rem; color: oklch(0.985 0.003 240 / 0.75); }
.final .btn-call { margin-top: 2rem; padding: 1.25rem 2rem; font-size: 1.125rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--background); }
.site-footer .wrap { padding-top: 3rem; padding-bottom: 3rem; }
.site-footer .brand-name { color: var(--foreground); font-size: 1.1rem; }
.site-footer .brand-badge { width: 2rem; height: 2rem; }
.footer-legal { margin-top: 1rem; max-width: 48rem; font-size: 0.9rem; line-height: 1.6; color: var(--muted-foreground); }
.footer-bottom { margin-top: 1.5rem; border-top: 1px solid var(--border); padding-top: 1.5rem;
  display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.78rem; color: var(--muted-foreground); }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-links { display: inline-flex; gap: 1.25rem; }
.footer-links a { color: var(--muted-foreground); text-decoration: none; }
.footer-links a:hover { color: var(--brand-orange); }
.footer-call { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--foreground); text-decoration: none; }
.footer-call:hover { color: var(--brand-orange); }
.footer-call .icon { width: 0.9rem; height: 0.9rem; }

/* ---------- Legal pages (privacy / terms) ---------- */
.legal-header { background: var(--brand-navy-deep); color: var(--primary-foreground); }
.legal-header .wrap { display: flex; align-items: center; justify-content: space-between;
  padding-top: 1.5rem; padding-bottom: 1.5rem; }
.legal { max-width: 48rem; margin: 0 auto; padding: 3rem 1.25rem 5rem; }
.legal h1 { font-size: 2.25rem; line-height: 1.1; margin: 0; }
.legal .updated { margin: 0.75rem 0 2.5rem; color: var(--muted-foreground); font-size: 0.9rem; }
.legal h2 { font-size: 1.4rem; margin: 2.5rem 0 0.75rem; }
.legal p, .legal li { color: var(--foreground); line-height: 1.65; }
.legal ul { padding-left: 1.25rem; }
.legal li { margin: 0.4rem 0; }
.legal a { color: var(--brand-orange); }
.legal .back { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 3rem;
  font-weight: 600; color: var(--brand-orange); text-decoration: none; }

/* Sticky mobile call bar */
.sticky-call { position: fixed; inset: auto 0 0 0; z-index: 40; display: flex; align-items: center;
  justify-content: center; gap: 0.5rem; padding: 0.9rem; text-decoration: none; font-weight: 700;
  color: var(--accent-foreground); background: var(--gradient-cta); box-shadow: var(--shadow-cta); }
@media (min-width: 640px) { .sticky-call { display: none; } }
@media (max-width: 639px) { body { padding-bottom: 3.5rem; } }
