/* coloradospringswindshieldreplacement.com
   Static lead-gen site. No frameworks, no build step, no JS dependency. */

:root {
  --navy: #0f2f4c;
  --navy-2: #143d63;
  --navy-deep: #0a1f34;
  --ice: #6fb6df;
  --amber: #f5a623;
  --amber-dark: #c97f09;
  --bg: #f2f5f8;
  --text: #23303c;
  --muted: #56646f;
  --border: #d8e0e8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
  font-size: 17px;
}

a { color: var(--navy-2); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { line-height: 1.25; color: var(--navy); }
h2 { font-size: 1.75rem; margin-bottom: 16px; }
h3 { font-size: 1.15rem; margin: 22px 0 8px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-deep);
  color: #c6d3de;
  font-size: 0.88rem;
  padding: 7px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.topbar a { color: var(--amber); text-decoration: none; font-weight: 700; }

/* ---------- Sticky header ---------- */
header {
  background: #fff;
  border-bottom: 3px solid var(--amber);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(15, 47, 76, 0.09);
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.site-id {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.15;
}
.site-id span {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--amber-dark);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 22px; }
nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 6px 0;
}
nav a:hover { color: var(--amber-dark); }
nav a.active { color: var(--amber-dark); border-bottom: 2px solid var(--amber); }

.btn-call {
  display: inline-block;
  background: var(--amber);
  color: #14293c !important;
  text-decoration: none;
  font-weight: 800;
  padding: 11px 20px;
  border-radius: 6px;
  font-size: 1rem;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(245, 166, 35, 0.4);
}
.btn-call:hover { background: var(--amber-dark); color: #fff !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--amber);
  color: #14293c;
  text-decoration: none;
  font-weight: 800;
  padding: 15px 32px;
  border-radius: 6px;
  font-size: 1.08rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}
.btn:hover { background: var(--amber-dark); color: #fff; }
.btn.ghost { background: transparent; border: 2px solid #fff; color: #fff; box-shadow: none; }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }
.btn.dark { background: var(--navy); color: #fff; }
.btn.dark:hover { background: var(--navy-2); }

/* ---------- Hero / page header with background image ----------
   The photo sits at 75% opacity over the navy base colour. A separate
   gradient layer above it (never a change to the image opacity) keeps the
   headline contrast well clear of WCAG AA. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--navy);
  color: #fff;
  padding: 72px 20px 78px;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.75;
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(8, 26, 44, 0.66) 0%,
    rgba(8, 26, 44, 0.44) 45%,
    rgba(8, 26, 44, 0.74) 100%
  );
}
.hero > * { position: relative; }

/* Header photos are CSS backgrounds, so their description is carried here for
   screen readers — the same job an alt attribute does on an <img>. */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero h1 { color: #fff; font-size: 2.3rem; max-width: 880px; margin: 0 auto 14px; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); }
.hero .sub { max-width: 740px; margin: 0 auto 28px; font-size: 1.13rem; color: #e2ebf3; }
.hero-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.hero-points {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 8px 28px; margin-top: 26px; font-weight: 600; font-size: 0.95rem; color: #ffd894;
}
.hero.small { padding: 52px 20px 56px; }
.hero.small h1 { font-size: 1.85rem; }

/* Per-page header photographs — one image per page, never repeated. */
.hero-home::before      { background-image: url("../images/hero-home-rock-chip-star-break.jpg"); }
.hero-services::before  { background-image: url("../images/hero-services-windshield-install.jpg"); }
.hero-whyus::before     { background-image: url("../images/hero-why-us-suction-cup-install.jpg"); }
.hero-contact::before   { background-image: url("../images/hero-contact-driver-calling.jpg"); }
.hero-monument::before  { background-image: url("../images/hero-monument-highway-crack.jpg"); }
.hero-woodland::before  { background-image: url("../images/hero-woodland-park-long-crack.jpg"); }
.hero-falcon::before    { background-image: url("../images/hero-falcon-shattered-glass.jpg"); }
.hero-fountain::before  { background-image: url("../images/hero-fountain-glass-set-in-frame.jpg"); }
.hero-manitou::before   { background-image: url("../images/hero-manitou-springs-carrying-glass.jpg"); }
.hero-blackforest::before { background-image: url("../images/hero-black-forest-driver-view.jpg"); }

@supports (background-image: image-set(url("x.webp") type("image/webp"))) {
  .hero-home::before      { background-image: image-set(url("../images/hero-home-rock-chip-star-break.webp") type("image/webp"), url("../images/hero-home-rock-chip-star-break.jpg") type("image/jpeg")); }
  .hero-services::before  { background-image: image-set(url("../images/hero-services-windshield-install.webp") type("image/webp"), url("../images/hero-services-windshield-install.jpg") type("image/jpeg")); }
  .hero-whyus::before     { background-image: image-set(url("../images/hero-why-us-suction-cup-install.webp") type("image/webp"), url("../images/hero-why-us-suction-cup-install.jpg") type("image/jpeg")); }
  .hero-contact::before   { background-image: image-set(url("../images/hero-contact-driver-calling.webp") type("image/webp"), url("../images/hero-contact-driver-calling.jpg") type("image/jpeg")); }
  .hero-monument::before  { background-image: image-set(url("../images/hero-monument-highway-crack.webp") type("image/webp"), url("../images/hero-monument-highway-crack.jpg") type("image/jpeg")); }
  .hero-woodland::before  { background-image: image-set(url("../images/hero-woodland-park-long-crack.webp") type("image/webp"), url("../images/hero-woodland-park-long-crack.jpg") type("image/jpeg")); }
  .hero-falcon::before    { background-image: image-set(url("../images/hero-falcon-shattered-glass.webp") type("image/webp"), url("../images/hero-falcon-shattered-glass.jpg") type("image/jpeg")); }
  .hero-fountain::before  { background-image: image-set(url("../images/hero-fountain-glass-set-in-frame.webp") type("image/webp"), url("../images/hero-fountain-glass-set-in-frame.jpg") type("image/jpeg")); }
  .hero-manitou::before   { background-image: image-set(url("../images/hero-manitou-springs-carrying-glass.webp") type("image/webp"), url("../images/hero-manitou-springs-carrying-glass.jpg") type("image/jpeg")); }
  .hero-blackforest::before { background-image: image-set(url("../images/hero-black-forest-driver-view.webp") type("image/webp"), url("../images/hero-black-forest-driver-view.jpg") type("image/jpeg")); }
}

/* Pages still waiting on a photograph get a plain tinted panel, not fake art. */
.hero-placeholder::before {
  background-image: repeating-linear-gradient(135deg, #16405f 0 22px, #123651 22px 44px);
}

/* ---------- Image placeholders (fill later) ---------- */
.imgph {
  background: repeating-linear-gradient(45deg, #e9eef3 0 14px, #e1e8ef 14px 28px);
  border: 1px dashed #b7c2cd;
  border-radius: 10px;
  color: #78848f;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  min-height: 220px;
}
.imgph.tall { min-height: 320px; }
.imgph.strip {
  min-height: 0;
  padding: 7px 14px;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  font-size: 0.72rem;
  color: #7b8792;
}

/* ---------- Badge strip ---------- */
.badges { background: var(--navy-deep); color: #fff; padding: 16px 0; }
.badges .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; text-align: center; }
.badges div { font-weight: 700; font-size: 0.95rem; flex: 1 1 160px; }
.badges span { display: block; color: var(--amber); font-size: 1.25rem; }

/* ---------- Sections ---------- */
section { padding: 56px 0; }
section.alt { background: var(--bg); }
section p { margin-bottom: 14px; }
section ul, section ol { margin: 0 0 14px 24px; }
section li { margin-bottom: 8px; }
.center { text-align: center; }
.kicker {
  display: inline-block; color: var(--amber-dark); font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.2px; font-size: 0.8rem; margin-bottom: 8px;
}
.lead { font-size: 1.07rem; color: var(--muted); max-width: 820px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; margin-top: 28px; }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 26px 24px;
  box-shadow: 0 2px 8px rgba(15, 47, 76, 0.06);
  display: flex;
  flex-direction: column;
}
.card .icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: #fdf1dc; color: var(--amber-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 14px;
}
.card h3 { margin: 0 0 8px; }
.card p { font-size: 0.95rem; color: var(--muted); margin-bottom: 12px; }
.card .price { font-size: 0.9rem; font-weight: 700; color: var(--navy-2); margin-top: auto; }

/* ---------- Price table ---------- */
.table-scroll { overflow-x: auto; margin-top: 24px; }
table { border-collapse: collapse; width: 100%; min-width: 520px; background: #fff; font-size: 0.96rem; }
th, td { border: 1px solid var(--border); padding: 12px 14px; text-align: left; vertical-align: top; }
th { background: var(--navy); color: #fff; font-weight: 700; }
tbody tr:nth-child(even) { background: #f7fafc; }

/* ---------- Feature list ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 8px 36px; margin-top: 20px; }
.feature { display: flex; gap: 12px; padding: 12px 0; }
.feature .tick { color: var(--amber-dark); font-size: 1.2rem; font-weight: 800; line-height: 1.5; }
.feature strong { display: block; color: var(--navy); }
.feature p { font-size: 0.94rem; color: var(--muted); margin: 2px 0 0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; margin-top: 28px; }
.step { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 24px; }
.step .num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--amber);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; margin-bottom: 12px;
}
.step h3 { margin: 0 0 6px; font-size: 1.05rem; }
.step p { font-size: 0.93rem; color: var(--muted); margin: 0; }

/* ---------- Trust blocks ---------- */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 28px; }
.trust-item { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--amber); border-radius: 8px; padding: 22px 24px; }
.trust-item h3 { margin: 0 0 6px; font-size: 1.05rem; }
.trust-item p { font-size: 0.94rem; color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 20px; }
details { background: #fff; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
summary {
  cursor: pointer; font-weight: 700; color: var(--navy);
  padding: 16px 20px; list-style: none; position: relative; padding-right: 44px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--amber-dark); font-size: 1.4rem; font-weight: 800;
}
details[open] summary::after { content: "\2212"; }
details .a { padding: 0 20px 16px; color: var(--muted); }
details .a p { margin-bottom: 10px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; text-align: center; padding: 52px 20px;
}
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 660px; margin: 0 auto 24px; color: #dbe6ef; }
.cta-band .phone-big { font-size: 1.4rem; font-weight: 800; margin-top: 18px; }
.cta-band .phone-big a { color: var(--amber); text-decoration: none; }

/* ---------- Two-column ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 780px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Contact blocks ---------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; margin-top: 28px; }
.info-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 26px; text-align: center; }
.info-card .ic { font-size: 1.8rem; }
.info-card h3 { margin: 10px 0 6px; font-size: 1.05rem; }
.info-card p { font-size: 0.95rem; color: var(--muted); margin: 0; }
.phone-huge { display: block; text-align: center; font-size: 2.1rem; font-weight: 800; margin: 10px 0 4px; }
.phone-huge a { color: var(--amber-dark); text-decoration: none; }

/* ---------- Area links ---------- */
.area-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.area-links a {
  background: #fff; border: 1px solid var(--border); border-radius: 20px;
  padding: 7px 16px; font-size: 0.9rem; font-weight: 600;
  color: var(--navy); text-decoration: none;
}
.area-links a:hover { border-color: var(--amber); color: var(--amber-dark); }

/* ---------- Related ---------- */
.related { background: var(--bg); border-radius: 10px; padding: 26px; margin-top: 36px; }
.related h3 { margin-top: 0; }
.related ul { columns: 2; margin-left: 20px; }
@media (max-width: 640px) { .related ul { columns: 1; } }

/* ---------- Breadcrumb ---------- */
.crumb { font-size: 0.85rem; color: var(--muted); padding: 12px 0 0; }
.crumb a { color: var(--muted); }

/* ---------- Footer ---------- */
footer { background: var(--navy-deep); color: #adbcc9; font-size: 0.92rem; }
footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 34px; padding: 48px 0 36px; }
@media (max-width: 880px) { footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { footer .cols { grid-template-columns: 1fr; } }
footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.8px; }
footer ul { list-style: none; }
footer li { margin-bottom: 8px; }
footer a { color: #adbcc9; text-decoration: none; }
footer a:hover { color: var(--amber); }
footer .phone-footer { color: var(--amber); font-weight: 800; font-size: 1.1rem; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0; text-align: center; font-size: 0.85rem; color: #85929e;
}

/* ---------- Floating mobile call bar ---------- */
.float-call {
  display: none;
  position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 200;
  background: var(--amber); color: #14293c; text-decoration: none;
  font-weight: 800; font-size: 1.1rem; text-align: center;
  padding: 15px; border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.38);
}

@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .hero { padding: 46px 18px 52px; }
  .hero h1 { font-size: 1.7rem; }
  .hero.small h1 { font-size: 1.42rem; }
  .hero .sub { font-size: 1.02rem; }
  .hero-btns .btn { width: 100%; }
  h2 { font-size: 1.42rem; }
  header .wrap { justify-content: center; text-align: center; gap: 8px 16px; padding-top: 10px; padding-bottom: 10px; }
  .site-id { font-size: 1.02rem; }
  .site-id span { font-size: 0.66rem; }
  nav { justify-content: center; gap: 2px 16px; }
  nav a { font-size: 0.92rem; }
  .btn-call { padding: 9px 16px; font-size: 0.95rem; }
  .topbar { font-size: 0.8rem; }
  .topbar .wrap { justify-content: center; text-align: center; }
  .float-call { display: block; }
  section { padding: 42px 0; }
}
