/* Free estimates — page-specific styles (gallery/services hero pattern) */

.content-page-body:has(#free-estimates-faq) {
  position: relative;
  background-color: #0a0a0a;
}

.content-page-body:has(#free-estimates-faq) > * {
  position: relative;
  z-index: 1;
}

.hero.hero--scroll.hero--free-estimates .hero-bg {
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-color: #000;
  filter: none;
  background-image: url("/gallery/images/garage-floors-image.webp?v=20260601e");
  background-size: cover;
  background-position: center bottom;
}

.hero.hero--free-estimates .hero-bg {
  background-repeat: no-repeat;
}

@media (max-width: 991px) {
  .hero.hero--scroll.hero--free-estimates .hero-bg {
    background-size: cover;
    background-position: center bottom;
  }
}

.hero-inner--free-estimates {
  max-width: var(--max);
}

.estimate-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
}

.estimate-eyebrow-line {
  flex: 1;
  max-width: 4.5rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(223, 87, 0, 0.85), transparent);
}

.estimate-eyebrow-line:last-child {
  background: linear-gradient(90deg, transparent, rgba(223, 87, 0, 0.85));
}

.hero-headline--free-estimates {
  margin: 0 0 1rem;
  line-height: 0.9;
  text-transform: uppercase;
}

.hero-headline--free-estimates .hero-line {
  display: block;
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-weight: 400;
  font-size: clamp(2.75rem, 6.5vw, 4.85rem);
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.75);
}

.hero-headline--free-estimates .hero-line--accent {
  color: var(--orange);
}

.hero-sub--free-estimates {
  max-width: 30rem;
  margin: 0 0 1.35rem;
  font-size: clamp(0.9rem, 1.55vw, 0.98rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.75);
}

.hero-btns--free-estimates {
  margin: 0;
}

.hero-strip--free-estimates .strip-grid-wrap {
  max-width: 1320px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  transform: none;
}

.hero-strip--free-estimates .si-top {
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.1;
}

.hero-strip--free-estimates .si-sub {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.35;
}

#free-estimates-faq.faq-premium {
  padding-top: clamp(3.75rem, 7.5vw, 6rem);
}

@media (max-width: 991px) {
  .hero.hero--free-estimates .hero-inner::after {
    content: "";
    flex: 1 1 auto;
    min-height: clamp(7rem, 28vh, 14rem);
  }

  .estimate-eyebrow {
    margin-bottom: 0.65rem;
    font-size: 0.66rem;
  }

  .hero-headline--free-estimates {
    margin-bottom: 0.45rem;
  }

  .hero-headline--free-estimates .hero-line {
    font-size: clamp(2.05rem, 8.8vw, 2.95rem);
    line-height: 0.92;
  }

  .hero-sub--free-estimates {
    font-size: clamp(0.84rem, 3.5vw, 0.94rem);
    line-height: 1.48;
    margin-bottom: 0.65rem;
  }

  .hero.hero--free-estimates .strip-item {
    padding: 0.85rem 0.65rem;
    min-height: 4.75rem;
  }

  .hero-strip--free-estimates .si-top {
    font-size: 0.95rem;
  }

  .hero-strip--free-estimates .si-sub {
    font-size: 0.58rem;
  }
}
