/* Weather Guard Coatings — self-hosted funnel pages
   Shared stylesheet. No external deps except Google Fonts (loaded in <head>).
   Brand palette pulled from the original GHL pages. */

:root {
  --gold: #d89b45;
  --gold-bright: #eba03b;
  --gold-dark: #bf8637;
  --navy: #0e2a47;
  --ink: #1b1b1b;
  --muted: #5b6570;
  --line: #e6e8eb;
  --card: #ffffff;
  --bg: #ffffff;
  --shadow: 0 18px 45px rgba(14, 42, 71, 0.14);
  --radius: 14px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
}

img { max-width: 100%; display: block; }

h1, h2, h3, .display {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  line-height: 1.12;
  margin: 0 0 .4em;
  color: var(--ink);
}

a { color: var(--gold-dark); }

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

/* ---------- header ---------- */
.site-header {
  padding: 14px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.site-header img { height: 62px; width: auto; margin: 0 auto; }

/* ---------- hero ----------
   Hero background: clean brand gradient. A real WeatherGuard install photo can
   be dropped in later via .hero { background-image: url(...) } — see report
   flag "owned hero photo needed". No unlicensed stock ships. */
.hero {
  position: relative;
  background: linear-gradient(160deg, #123a63 0%, var(--navy) 55%, #0a2038 100%);
  padding: 46px 0 60px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 78% -10%, rgba(216,155,69,.16), transparent 60%),
    linear-gradient(180deg, rgba(10,25,45,.25), rgba(10,25,45,.45));
}
.hero .wrap { position: relative; display: flex; justify-content: center; }
.hero__intro {
  flex: 1 1 380px; max-width: 460px; color: #fff; align-self: center;
  padding-right: 26px;
}
.hero__intro h1 { color: #fff; font-size: 2.4rem; font-weight: 800; line-height: 1.08; }
.hero__intro h1 .accent { color: var(--gold-bright); }
.hero__intro p { color: #d9e3ef; font-size: 1.08rem; margin: 0 0 18px; }
.hero__scarcity {
  display: inline-block; background: rgba(216,155,69,.18); border: 1px solid rgba(216,155,69,.5);
  color: #f3d9a9; font-size: .9rem; font-weight: 600; padding: 8px 14px; border-radius: 999px;
}
@media (max-width: 860px) {
  .hero .wrap { flex-direction: column; }
  .hero__intro { max-width: 560px; padding-right: 0; text-align: center; margin-bottom: 22px; }
  .hero__intro h1 { font-size: 1.9rem; }
}

/* ---------- quiz / lead card ---------- */
.lead-card {
  width: 100%;
  max-width: 560px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.lead-card__body { padding: 30px 34px 8px; }
.lead-card h2 { text-align: center; font-size: 1.7rem; font-weight: 700; }
.lead-card__sub { text-align: center; color: var(--muted); margin: 0 0 18px; font-size: .98rem; }
.quiz__q { font-weight: 700; font-style: italic; text-align: center; margin: 18px 0 14px; font-family: "Roboto"; font-size: 1.02rem; }

.step { display: none; }
.step.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.step.shake { animation: shake .35s; }
@keyframes shake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-6px)} 75%{transform:translateX(6px)} }

.opt {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px; margin: 9px 0;
  border: 1.5px solid var(--line); border-radius: 10px;
  cursor: pointer; transition: border-color .15s, background .15s;
  font-size: 1.02rem;
}
.opt:hover { border-color: var(--gold); background: #fff9f0; }
.opt input { accent-color: var(--gold); width: 18px; height: 18px; }
.opt.selected { border-color: var(--gold); background: #fff6e9; }

.field { margin: 12px 0; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
.field input {
  width: 100%; padding: 13px 15px; font-size: 1rem;
  border: 1.5px solid var(--line); border-radius: 10px; font-family: inherit;
}
.field input:focus { outline: none; border-color: var(--gold); }
.phone-row { display: flex; gap: 8px; }
.phone-row .cc {
  flex: 0 0 62px; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line); border-radius: 10px; font-weight: 700; color: var(--navy); background: #f7f8f9;
}

/* consent + honeypot + turnstile */
.consent {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 14px 0 4px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fbfbfc;
}
.consent input[type="checkbox"] {
  width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--gold);
}
.consent label { font-size: .82rem; color: var(--muted); line-height: 1.5; }
.consent label b { color: var(--ink); }
.consent a { color: var(--gold-dark); text-decoration: underline; }
.fine-print { font-size: .78rem; color: var(--muted); margin: 12px 2px 4px; line-height: 1.5; }
.fine-print a { color: var(--gold-dark); }
/* honeypot — hidden from humans, visible to naive bots */
.hp-field {
  position: absolute !important; left: -9999px !important; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.cf-turnstile { margin: 12px 0 2px; }
.form-error { color: #c0392b; font-size: .85rem; margin: 8px 2px 0; font-weight: 600; }

.lead-card__foot {
  background: var(--gold);
  padding: 15px 20px;
  display: flex; justify-content: flex-end;
}
.btn-next, .btn-submit {
  background: transparent; color: #fff; border: 0;
  font-family: "Poppins"; font-weight: 600; font-size: 1.05rem; letter-spacing: .5px;
  cursor: pointer; padding: 4px 10px;
}
.btn-submit { width: 100%; text-align: center; }
.lead-card__foot.center { justify-content: center; }

.form-done { text-align: center; padding: 34px; }
.form-done h3 { color: var(--navy); font-size: 1.4rem; }

/* Honest failure state — shown when the lead did NOT reach us. Never dressed up
   as a success; it hands the visitor a phone number instead of a false promise. */
.form-fail { text-align: center; padding: 34px; }
.form-fail h3 { color: #c0392b; font-size: 1.4rem; }
.form-fail p { margin: 10px 0 0; }
.form-fail .fail-call {
  display: inline-block; margin-top: 20px; background: var(--gold); color: #fff;
  text-decoration: none; font-family: "Poppins", system-ui, sans-serif; font-weight: 700;
  font-size: 1.15rem; padding: 14px 32px; border-radius: 12px;
}

/* ---------- feature row ---------- */
.features { padding: 58px 0; }
.features .grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; text-align: center;
}
.feature img { height: 92px; width: auto; margin: 0 auto 16px; }
.feature h3 { font-size: 1.55rem; font-weight: 800; }
.feature p { color: var(--muted); margin: 0; font-size: 1.02rem; }
.feature b { color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gold); padding: 34px 0; text-align: center; }
.cta-btn {
  display: inline-block; background: #fff; border-radius: 12px;
  padding: 16px 40px; text-decoration: none; box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
.cta-btn .big { display: block; font-family: "Poppins"; font-weight: 800; font-size: 1.5rem; color: var(--gold-dark); }
.cta-btn .small { display: block; color: #8f5f1e; font-size: 1rem; margin-top: 2px; }

/* ---------- reviews ---------- */
.reviews { padding: 60px 0; background: #f7f8fa; }
.reviews h2 { text-align: center; font-size: 2rem; font-weight: 800; }
.reviews__sub { text-align: center; color: var(--muted); margin: 0 0 34px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 22px; box-shadow: 0 6px 16px rgba(14,42,71,.05);
}
.stars { color: var(--gold-bright); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 10px; }
.review p { margin: 0 0 14px; font-size: .97rem; color: #33383e; }
.review .name { font-weight: 700; color: var(--navy); font-size: .95rem; }
.review .src { color: var(--muted); font-size: .82rem; }

/* ---------- schedule ---------- */
.schedule { padding: 40px 0 70px; text-align: center; }
.schedule h1 { font-size: 2.1rem; font-weight: 800; }
.schedule h2 { font-size: 1.7rem; font-weight: 700; margin-bottom: 30px; }
.sched-card {
  max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow); padding: 40px 30px;
}
.sched-placeholder {
  border: 2px dashed var(--gold); border-radius: 12px; padding: 40px 24px; background: #fffaf1;
}
.sched-placeholder .pin { font-size: 2.2rem; }
.sched-call {
  display: inline-block; margin-top: 22px; background: var(--gold); color: #fff;
  text-decoration: none; font-family: "Poppins"; font-weight: 700; font-size: 1.25rem;
  padding: 16px 40px; border-radius: 12px;
}

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #c9d4e0; padding: 34px 0; text-align: center; font-size: .9rem; }
.site-footer img { height: 54px; margin: 0 auto 14px; }
.site-footer a { color: #e9d3ac; }
.site-footer .row { margin: 4px 0; }

/* ---------- trust bar ---------- */
.trust-bar { background: var(--navy); color: #eaf1f8; }
.trust-bar .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  padding: 16px 22px;
}
.trust-item { display: flex; align-items: center; gap: 10px; justify-content: center; }
.trust-item svg { width: 24px; height: 24px; color: var(--gold-bright); flex: 0 0 auto; }
.trust-item span { font-size: .95rem; font-weight: 600; }
@media (max-width: 860px) {
  .trust-bar .wrap { grid-template-columns: repeat(2, 1fr); gap: 14px 10px; }
  .trust-item { justify-content: flex-start; }
}

/* ---------- section heading helper ---------- */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.section-head h2 { font-size: 2rem; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin: 0; }

/* ---------- "not epoxy" wedge ---------- */
.wedge { padding: 60px 0 30px; }
.wedge__lead {
  max-width: 820px; margin: 0 auto 40px; text-align: center;
}
.wedge__lead h2 { font-size: 2.05rem; font-weight: 800; }
.wedge__lead h2 em { color: var(--gold-dark); font-style: normal; }
.wedge__lead p { color: #3a4048; font-size: 1.08rem; margin: 0 0 14px; }
.wedge__lead p b { color: var(--ink); }

/* proof cards (4-up) */
.proof-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.proof {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 22px; text-align: center; box-shadow: 0 6px 16px rgba(14,42,71,.05);
}
.proof__icon {
  width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 12px;
  background: #fff6e9; display: flex; align-items: center; justify-content: center;
}
.proof__icon svg { width: 28px; height: 28px; color: var(--gold-dark); }
.proof h3 { font-size: 1.12rem; font-weight: 800; }
.proof p { color: var(--muted); font-size: .96rem; margin: 0; }
@media (max-width: 1000px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .proof-grid { grid-template-columns: 1fr; } }

/* ---------- process (why ours won't fail) ---------- */
.process { padding: 56px 0; background: #f7f8fa; }
.process__intro { max-width: 720px; margin: 0 auto 30px; text-align: center; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1000px; margin: 0 auto; }
.step-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px;
  box-shadow: 0 6px 16px rgba(14,42,71,.05);
}
.step-card .num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: #fff;
  font-family: "Poppins"; font-weight: 800; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.step-card h3 { font-size: 1.1rem; font-weight: 800; }
.step-card p { color: var(--muted); font-size: .97rem; margin: 0; }
.process__close { text-align: center; font-family: "Poppins"; font-weight: 700; color: var(--navy); font-size: 1.3rem; margin: 34px auto 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { padding: 60px 0; }
.faq__list { max-width: 820px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px;
  background: #fff; overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px;
  font-family: "Poppins"; font-weight: 700; font-size: 1.04rem; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-dark); font-size: 1.5rem; font-weight: 700; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .answer { padding: 16px 22px 20px; color: #3a4048; font-size: 1rem; }

/* ---------- legal pages ---------- */
.legal { padding: 46px 0 70px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: 2.1rem; font-weight: 800; margin-bottom: 6px; }
.legal .meta { color: var(--muted); font-size: .9rem; margin-bottom: 30px; }
.legal h2 { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin: 30px 0 10px; }
.legal p, .legal li { color: #33383e; font-size: 1rem; }
.legal ul { padding-left: 22px; }
.legal blockquote {
  margin: 16px 0; padding: 14px 18px; background: #fff6e9;
  border-left: 4px solid var(--gold); border-radius: 8px; color: #33383e;
}
.legal a { color: var(--gold-dark); }
.legal .back { display: inline-block; margin-top: 28px; font-weight: 700; }

/* footer legal links */
.site-footer .legal-links { margin-top: 12px; }
.site-footer .legal-links a { margin: 0 8px; text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .features .grid, .review-grid { grid-template-columns: 1fr; gap: 26px; }
  .lead-card__body { padding: 24px 20px 6px; }
  .reviews h2, .schedule h1, .wedge__lead h2, .section-head h2 { font-size: 1.6rem; }
  body { font-size: 16px; }
}
