/* Gutters advertorial – Comparisons.org. Look follows the Gutters form (32200014.php):
   Montserrat, blue headings, white cards with soft shadow. Mobile first; breakpoints 640 / 1024. */

:root {
  --blue: #066596;       /* headings + size cards, as on the Gutters form */
  --text: #172331;       /* body text, as on the form */
  --green: #047857;      /* Comparisons green – CTA, accents */
  --green-dark: #065f46;
  --mint: #ecfdf5;
  --ink: #0f172a;
  --muted: #475569;
  --soft: #64748b;
  --line: #e2e5e8;
  --bg: #f2f4f7;
  --tint: #f7f9fb;
  --white: #fff;
}

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

html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

.sr-only {
  position: fixed; /* stays in view, so focusing it never scrolls the page */
  top: 0; left: 0;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 760px; }

/* ---------- Header ---------- */
.brand-row {
  max-width: 1060px;
  margin: 0 auto;
  padding: 10px 0 12px;
  border-bottom: 1px solid var(--line);
}
/* Mobile: label centered above the logo; logo aligned with the content column */
.brand-row__inner {
  display: grid;
  gap: 8px;
}
.brand-row__logo { order: 2; width: 160px; height: auto; }
.brand-row .brand-row__label { order: 1; font-size: 10px; text-align: center; }

/* ---------- Hero ---------- */
.hero { padding: 28px 0 36px; }
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft);
}
.location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
.location::before {
  content: "";
  flex: none;
  width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hero__title {
  margin-top: 12px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--blue);
}
.hero__lead {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 600;
}

/* Video placeholder (16:9) – the creative team replaces it with our video. */
.video-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 20px;
  border-radius: 12px;
  background: #e6edf3;
}
.video-slot__play {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(6, 101, 150, 0.85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%23fff'/%3E%3C/svg%3E") 55% center / 28px no-repeat;
}

.checklist { margin-top: 20px; display: grid; gap: 12px; }
.checklist li {
  position: relative;
  padding-left: 32px;
  font-size: 16px;
  line-height: 1.45;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  margin-top: 28px;
  padding: 14px 24px;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: background-color 150ms ease;
}
.cta:hover, .cta:focus-visible { background: var(--green-dark); }

/* ---------- Article sections ---------- */
.section { padding: 40px 0; }
.section--tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--blue);
}
.section__subtitle {
  margin-top: 28px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}
.section p { margin-top: 14px; }
.section__title + p { margin-top: 14px; }

.article-img {
  width: 100%;
  height: auto;
  margin-top: 20px;
  border-radius: 12px;
}

/* ---------- States map (artwork from our articles.comparisons.org page; every state links to the form) ---------- */
.us-map { margin-top: 36px; text-align: center; }
.us-map__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}
.us-map__svg { width: 100%; height: auto; margin-top: 16px; }
.us-map__svg .stateImage {
  fill: var(--blue);
  stroke: var(--white);
  stroke-width: 1;
  transition: fill 150ms ease;
}
.us-map__svg .stateButton path { fill: var(--ink); transition: fill 150ms ease; }
.us-map__svg a:hover .stateImage,
.us-map__svg a:focus-visible .stateImage,
.us-map__svg a:hover path,
.us-map__svg a:focus-visible path { fill: var(--green); }
.us-map__svg .stateText { fill: var(--white); pointer-events: none; }
.us-map__svg a:focus-visible { outline: none; }

/* ---------- Debris cards: photo + "No leaves", "No twigs"... with a green shield (protected) ---------- */
.debris-intro { margin: 0 auto; }
.debris {
  max-width: 760px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.debris__item {
  overflow: hidden;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.14);
}
.debris__item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.debris__item span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 6px 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  white-space: nowrap;
  color: var(--ink);
}
/* Shield shown from 640px up (mobile cards are too narrow for icon + "No pine needles"). */
.debris__item span::before {
  content: "";
  display: none;
  flex: none;
  width: 22px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l8 3v6c0 5-3.4 8.6-8 10-4.6-1.4-8-5-8-10v-6z' fill='%23047857'/%3E%3Cpath d='M8.2 12.2l2.6 2.6 5-5.2' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat;
}

/* ---------- Text + video blocks ---------- */
.media-block { max-width: 960px; margin: 0 auto; }
.media-block + .media-block { margin-top: 48px; }
.media-block__video { margin-top: 18px; }

/* ---------- Estimate block (size cards as on the Gutters form) ---------- */
.estimate { max-width: 760px; margin: 0 auto; text-align: center; }
.estimate__kicker { font-size: 15px; font-weight: 600; color: var(--muted); }
.section .estimate__kicker { margin-top: 0; }
.estimate__title {
  margin-top: 6px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--blue);
}
.final { text-align: center; }

/* ---------- Footer (Comparisons.org style) ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer__inner {
  max-width: 820px;
  padding-top: 32px;
  padding-bottom: 32px;
  text-align: center;
}
.footer__lead {
  font-size: 15px;
  font-weight: 600;
  color: var(--soft);
}
.footer__copy {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}
.footer__legal {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.footer__links {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  font-size: 14px;
}
.footer__links a {
  color: var(--green);
  text-decoration: none;
}
.footer__links a:hover { text-decoration: underline; }

/* ---------- ≥640px ---------- */
@media (min-width: 640px) {
  /* Logo left, label centered on the same row */
  .brand-row__inner { grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
  .brand-row__logo { order: 0; width: 181px; }
  .brand-row__label { order: 0; grid-column: 2; }
  .hero { padding: 44px 0 52px; }
  .hero__title { font-size: 34px; }
  .hero__lead { font-size: 18px; }
  .cta { width: auto; min-width: 300px; display: inline-flex; }
  .hero .cta { display: flex; width: fit-content; }
  .section { padding: 56px 0; }
  .section__title { font-size: 26px; }
  .estimate__title { font-size: 30px; }
  .debris { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .debris__item span { font-size: 15px; }
  .debris__item span::before { display: block; }
  .us-map__title { font-size: 20px; }
}

/* ---------- ≥1024px ---------- */
@media (min-width: 1024px) {
  .brand-row { padding: 14px 0; }
  .hero__title { font-size: 40px; }
  /* Text beside its video on desktop */
  .media-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 40px;
  }
  .media-block + .media-block { margin-top: 56px; }
  .media-block__video { margin-top: 0; }
}
