/* Lifetime Gutter Guards — modern, storm-blue + copper. Single stylesheet,
   no framework, no build step. Mobile-first responsive rules at the bottom. */
:root {
  --bg: #f6f8fa;
  --surface: #ffffff;
  --ink: #16232e;
  --muted: #5d6b77;
  --line: #dfe6ec;
  --navy: #16324a;
  --navy-dark: #0f2436;
  --blue: #1d5f8a;
  --accent: #e07b2a;
  --accent-dark: #c9660f;
  --accent-soft: #fdeedd;
  --ok: #2e7d43;
  --err: #a3382e;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(22,35,46,.06), 0 10px 28px rgba(22,35,46,.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.6; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.18; font-weight: 800; letter-spacing: -0.015em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 .6rem; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 3.2rem 1.25rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.hidden { display: none !important; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: .5rem .8rem; z-index: 200; }

/* top strip: license + division phone lines */
.topstrip { background: var(--navy-dark); color: #c8d6e2; font-size: .8rem; }
.topstrip-in { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; flex-wrap: wrap; }
.topstrip-phones { display: flex; flex-wrap: wrap; gap: .15rem 1.2rem; }
.topstrip a { color: #fff; text-decoration: none; white-space: nowrap; }
.topstrip strong { color: #f0b27d; font-weight: 650; }

/* header */
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.topbar-in { display: flex; align-items: center; gap: 1.2rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand-mark { flex-shrink: 0; display: block; border-radius: 8px; }
.brand-name { font-weight: 800; font-size: 1.08rem; white-space: nowrap; letter-spacing: -.01em; }
.brand-name em { font-style: normal; color: var(--accent); }
.nav { display: flex; gap: 1.15rem; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 550; font-size: .93rem; padding: .4rem 0; }
.nav a:hover { color: var(--ink); }
.topbar-cta { flex-shrink: 0; }

/* buttons */
.btn { display: inline-block; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  padding: .65rem 1.25rem; border-radius: 999px; font-weight: 650; font-size: .95rem; text-decoration: none;
  cursor: pointer; transition: background .15s, transform .05s; }
.btn:active { transform: translateY(1px); }
.btn-cta { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-cta:hover { background: var(--accent-dark); }
.btn-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* hero */
.hero { position: relative; color: #f2f6f9; padding: 5.5rem 0;
  background: linear-gradient(100deg, rgba(15,36,54,.92) 30%, rgba(15,36,54,.55) 70%, rgba(15,36,54,.35)),
    url("/static/img/guards-installed-on-roof.jpg") center/cover no-repeat; }
.hero .eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 750; color: #f0b27d; margin: 0 0 .7rem; }
.hero h1 { margin: 0 0 1rem; color: #fff; max-width: 21ch; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.hero .lede { max-width: 56ch; color: #dce7ef; font-size: 1.1rem; margin: 0 0 1.7rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 1.6rem; flex-wrap: wrap; margin-top: 2.4rem; }
.hero-badges div { font-size: .86rem; color: #c8d6e2; }
.hero-badges strong { display: block; font-size: 1.25rem; color: #fff; }

/* trust logos strip */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-in { display: flex; align-items: center; justify-content: center; gap: 2.6rem; padding: 1rem 0; flex-wrap: wrap; }
.trust-in img { height: 54px; width: auto; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 1.3rem; margin-top: 1.6rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  transition: transform .12s, box-shadow .12s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 4px 8px rgba(22,35,46,.08), 0 16px 40px rgba(22,35,46,.12); }
.card img { width: 100%; height: clamp(170px, 40vw, 210px); object-fit: cover; display: block; background: #e6ecf1; }
.card-body { padding: 1.1rem 1.2rem 1.3rem; }
.card-body h3 { margin: 0 0 .35rem; font-size: 1.1rem; }
.card-body p { margin: 0; color: var(--muted); font-size: .93rem; }
.card-more { margin-top: .7rem; font-weight: 650; color: var(--accent-dark); font-size: .9rem; }

/* checklist / features */
.checks { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .55rem; }
.checks li { padding-left: 1.7rem; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ok); font-weight: 800; }
/* competitor drawbacks: red crosses, slightly muted text */
.checks.cons li::before { content: "✕"; color: var(--err); }
.checks.cons li { color: var(--muted); }

/* split (image + copy) */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.6rem; align-items: center; }
.split img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }

/* dark band */
.band { background: var(--navy); color: #dce7ef; padding: 3.2rem 0; }
.band h2 { color: #fff; }
.band a { color: #f0b27d; }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; }

/* cta band */
.cta-band { background: linear-gradient(100deg, var(--accent-dark), var(--accent)); color: #fff; padding: 2.6rem 0; }
.cta-band h2 { color: #fff; margin: 0 0 .4rem; }
.cta-band p { margin: 0; max-width: 60ch; color: #fdeedd; }
.cta-band-in { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.cta-band .btn-cta { background: #fff; border-color: #fff; color: var(--accent-dark); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 45%), 1fr)); gap: .7rem; margin-top: 1.2rem; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); display: block; }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1.3rem; margin-top: 1.4rem; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: var(--shadow); }
.quote img.stars { height: 18px; width: auto; margin-bottom: .6rem; }
.quote p { margin: 0 0 .8rem; font-size: .96rem; }
.quote footer { color: var(--muted); font-size: .88rem; font-weight: 650; }

/* FAQ */
.faq-list { max-width: 820px; margin-top: 1.2rem; }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1.15rem; margin-bottom: .65rem; }
.faq summary { cursor: pointer; font-weight: 680; }
.faq summary:hover { color: var(--blue); }
.faq p { margin: .6rem 0 0; color: var(--muted); }

/* page hero (interior pages) */
.page-head { background: var(--navy); color: #dce7ef; padding: 3rem 0 2.6rem; }
.page-head h1 { color: #fff; margin: 0 0 .5rem; }
.page-head .lede { max-width: 68ch; margin: 0; color: #c8d6e2; font-size: 1.05rem; }
.crumb { font-size: .82rem; margin: 0 0 .9rem; color: #9db4c6; }
.crumb a { color: #c8d6e2; text-decoration: none; }

/* location grid */
.loc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 1.3rem; margin-top: 1.6rem; }

/* forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 640px; margin-top: 1.4rem; }
.form-grid .span2 { grid-column: span 2; }
.field { display: flex; flex-direction: column; gap: .3rem; font-weight: 600; font-size: .9rem; }
.field input, .field textarea, .field select { border: 1px solid var(--line); border-radius: 10px; padding: .65rem .75rem;
  font-size: 1rem; font-family: inherit; background: var(--surface); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.status-ok { background: #e7f2e9; border: 1px solid #bcd8c2; border-radius: 12px; padding: 1rem 1.2rem; margin: 1rem 0; }
.error { color: var(--err); background: #f9e9e7; border-radius: 10px; padding: .6rem .8rem; margin: 1rem 0; max-width: 640px; }

/* promo (HTV) */
.promo-card { background: var(--surface); border: 3px solid var(--accent); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 2rem; max-width: 760px; margin: 2rem auto; text-align: center; }
.promo-card .big { font-size: clamp(1.8rem, 5vw, 2.6rem); color: var(--accent-dark); font-weight: 900; margin: .4rem 0; }

/* video */
.video-frame { margin-top: 1.4rem; }
.video-frame video { width: 100%; max-width: 860px; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }

/* footer */
.footer { background: var(--navy-dark); color: #b9c8d4; margin-top: 3.5rem; padding: 2.6rem 0 1.2rem; font-size: .92rem; }
.footer a { color: #e8ceac; text-decoration: none; display: block; padding: .18rem 0; }
.footer a:hover { color: #fff; }
.footer h3 { color: #fff; font-size: .95rem; margin: 0 0 .6rem; text-transform: uppercase; letter-spacing: .06em; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.2rem; }
.footer-nap { line-height: 1.7; }
.footer-nap a { display: inline; padding: 0; }
.footer-div { margin: 0 0 .9rem; line-height: 1.6; }
.footer-div a { display: inline; padding: 0; font-size: 1.05rem; font-weight: 700; }
.footer-div span { color: #7f93a3; font-size: .82rem; }
.footer-legal { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; color: #7f93a3; }
.footer-legal a { display: inline; color: #b9c8d4; }

/* responsive */
@media (max-width: 1020px) {
  .nav { display: none; } /* the topbar CTA + footer links cover navigation on tablets */
  .topbar-in { justify-content: space-between; }
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 1.4rem; }
  .band-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span2 { grid-column: span 1; }
}
@media (max-width: 640px) {
  .section { padding: 2.2rem 1.25rem; }
  .hero { padding: 3.4rem 0; }
  .hero-badges { gap: 1.1rem; }
  .topstrip-in { justify-content: center; text-align: center; }
  .topstrip-in > span:first-child { display: none; } /* keep the phone lines */
  .topstrip-phones { justify-content: center; width: 100%; gap: .15rem .9rem; font-size: .78rem; }
  /* Brand + CTA share one 60px row: shrink both so nothing squishes or
     overflows at 360px (logo 34 + name .92rem + compact button ≈ 330px). */
  .topbar-in { height: 60px; gap: .8rem; }
  .brand { gap: .45rem; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: .92rem; }
  .topbar-cta { padding: .45rem .85rem; font-size: .84rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band-in { flex-direction: column; align-items: flex-start; }
}
