/* ==========================================================================
   ELEVATED ROOFING PARTNERS — homepage-v2.css
   Homepage Visual Upgrade — Refined Architectural Precision
   Layers on top of existing main.css + components.css
   ========================================================================== */

/* ========================================
   SCROLL PROGRESS INDICATOR
   ======================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), #D4B76A, var(--color-gold));
  z-index: calc(var(--z-nav) + 1);
  width: 0%;
  pointer-events: none;
}

/* ========================================
   HERO — CINEMATIC TREATMENT
   ======================================== */

/* Deeper, three-point gradient for cinematic depth */
.homepage-v2 .hero__bg::after {
  background: linear-gradient(
    160deg,
    rgba(10, 10, 11, 0.88) 0%,
    rgba(21, 21, 23, 0.48) 45%,
    rgba(10, 10, 11, 0.72) 100%
  );
}

/* Vignette layer */
.homepage-v2 .hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(
    ellipse at center,
    transparent 40%,
    rgba(10, 10, 11, 0.35) 100%
  );
  pointer-events: none;
}

/* Gold accent line above eyebrow */
.homepage-v2 .hero__content .eyebrow::before {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-gold);
  margin-bottom: var(--space-5);
}

/* Hero text staggered entrance */
.homepage-v2 .hero__content .eyebrow,
.homepage-v2 .hero__content h1,
.homepage-v2 .hero .hero__subtext,
.homepage-v2 .hero .hero__subtext-line,
.homepage-v2 .hero .btn-group,
.homepage-v2 .hero .trust-bar {
  opacity: 0;
  transform: translateY(28px);
}

@media (prefers-reduced-motion: no-preference) {
  .homepage-v2 .hero__content .eyebrow {
    animation: heroReveal 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
  }
  .homepage-v2 .hero__content h1 {
    animation: heroReveal 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
  }
  .homepage-v2 .hero .hero__subtext,
  .homepage-v2 .hero .hero__subtext-line {
    animation: heroReveal 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s forwards;
  }
  .homepage-v2 .hero .btn-group {
    animation: heroReveal 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.9s forwards;
  }
  .homepage-v2 .hero .trust-bar {
    animation: heroReveal 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.1s forwards;
  }
}

@media (prefers-reduced-motion: reduce) {
  .homepage-v2 .hero__content .eyebrow,
  .homepage-v2 .hero__content h1,
  .homepage-v2 .hero .hero__subtext,
  .homepage-v2 .hero .hero__subtext-line,
  .homepage-v2 .hero .btn-group,
  .homepage-v2 .hero .trust-bar {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   STATS BAR — PREMIUM GLOW
   ======================================== */
.homepage-v2 .stats-bar {
  position: relative;
  border-top: none;
}

/* Gold glow line at top */
.homepage-v2 .stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.homepage-v2 .stats-bar__number {
  text-shadow: 0 0 30px rgba(197, 160, 89, 0.2);
}

@media (prefers-reduced-motion: no-preference) {
  .homepage-v2 .stats-bar__item {
    transition: background-color 0.3s ease;
  }
  .homepage-v2 .stats-bar__item:hover {
    background-color: rgba(197, 160, 89, 0.06);
  }
  .homepage-v2 .stats-bar__number {
    transition: transform 0.3s ease;
  }
  .homepage-v2 .stats-bar__item:hover .stats-bar__number {
    transform: scale(1.04);
  }
}

/* ========================================
   SECTION HEADINGS — ANIMATED UNDERLINE
   ======================================== */
.homepage-v2 .section-heading::after {
  width: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .homepage-v2 .section-heading::after {
    transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .homepage-v2 .reveal.revealed .section-heading::after,
  .homepage-v2 .section-intro.revealed .section-heading::after,
  .homepage-v2 .section-intro--center.revealed .section-heading::after {
    width: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .homepage-v2 .section-heading::after {
    width: 48px;
  }
}

/* ========================================
   SERVICE CARDS — GOLD SWEEP
   ======================================== */
.homepage-v2 .section--white .service-card {
  border-left: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.homepage-v2 .section--white .service-card {
  border-left: none;
  padding: 0;
}

.homepage-v2 .section--white .service-card > img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  transition: transform 0.5s ease;
}

.homepage-v2 .section--white .service-card__title {
  padding: var(--space-4) var(--space-6) 0;
}

.homepage-v2 .section--white .service-card__desc {
  padding: 0 var(--space-6);
}

.homepage-v2 .section--white .service-card .btn {
  margin: 0 var(--space-6) var(--space-6);
}

@media (prefers-reduced-motion: no-preference) {
  .homepage-v2 .section--white .service-card:hover > img {
    transform: scale(1.05);
  }
}

/* Gold bar that sweeps from left on hover */
.homepage-v2 .section--white .service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), #D4B76A);
}

@media (prefers-reduced-motion: no-preference) {
  .homepage-v2 .section--white .service-card {
    transition: box-shadow 0.4s ease, transform 0.4s ease;
  }
  .homepage-v2 .section--white .service-card::after {
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .homepage-v2 .section--white .service-card:hover::after {
    width: 100%;
  }
  .homepage-v2 .section--white .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(21, 21, 23, 0.12);
  }
}

/* ========================================
   GUARANTEE SECTION
   ======================================== */
.guarantee-section {
  position: relative;
  overflow: visible;
}

/* Subtle grid texture on offwhite background */
.guarantee-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(197, 160, 89, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 160, 89, 0.045) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.guarantee-section > .container {
  position: relative;
  z-index: 1;
}

.guarantee-section .section-heading {
  display: block;
}

.guarantee-section .section-intro p {
  max-width: 680px;
}

/* 2x2 grid — stacks 1-col on mobile */
.guarantee-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-top: var(--space-12);
}

@media (min-width: 768px) {
  .guarantee-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-10);
  }
}

/* Individual guarantee card */
.guarantee-card {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}

.guarantee-number {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), #D4B76A);
  color: var(--color-charcoal);
  font-family: var(--font-heading);
  font-weight: var(--font-weight-extrabold);
  font-size: var(--text-lg);
  line-height: 1;
}

.guarantee-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
  line-height: 1.15;
}

.guarantee-card__text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

@media (prefers-reduced-motion: no-preference) {
  .guarantee-card {
    transition: transform 0.3s ease;
  }
  .guarantee-card:hover {
    transform: translateX(4px);
  }
  .guarantee-card:hover .guarantee-number {
    box-shadow: 0 3px 12px rgba(123, 117, 54, 0.25);
    transition: box-shadow 0.3s ease;
  }
}

/* "Why 20%?" callout block */
.guarantee-callout {
  margin-top: var(--space-12);
  padding: var(--space-8);
  background: var(--color-charcoal);
  border-left: 4px solid var(--color-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.guarantee-callout__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-xl);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-gold);
  margin-bottom: var(--space-3);
}

.guarantee-callout__text {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  color: #F4F4F0;
  line-height: 1.75;
}

/* "What will never change" list */
.guarantee-list {
  margin-top: var(--space-12);
}

.guarantee-list__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-xl);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text-primary);
  margin-bottom: var(--space-6);
}

.guarantee-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .guarantee-list ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

.guarantee-list li {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
  padding-left: var(--space-6);
  position: relative;
}

.guarantee-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  background: var(--color-gold);
  border-radius: 2px;
}

/* ========================================
   GUARANTEE — TWO-COLUMN SPLIT LAYOUT
   ======================================== */
.gv-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .gv-split {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: start;
  }
}

/* Left column */
.gv-split__heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-text-primary);
  line-height: 1.15;
  margin-bottom: var(--space-5);
}

.gv-split__intro {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Right column — stacked items */
.gv-split__right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gv-split__item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-5) 0;
  border-bottom: 1px solid rgba(21,21,23,0.08);
}

.gv-split__item:last-child { border-bottom: none; }

.gv-split__item-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--color-od-green);
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
  padding-top: 2px;
}

.gv-split__item-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-base);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text-primary);
  margin-bottom: var(--space-1);
}

.gv-split__item-text {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ========================================
   MATERIALS SECTION — DARK WITH GRID
   ======================================== */
.homepage-v2 .materials-section {
  position: relative;
  overflow: hidden;
}

.homepage-v2 .materials-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(197, 160, 89, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 160, 89, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Styled placeholder for materials cards (dark background) */
.homepage-v2 .materials-section .img-placeholder {
  min-height: 180px;
  background: linear-gradient(135deg, #1E1E20 0%, #2A2A2C 100%);
  border: 1px solid rgba(197, 160, 89, 0.15);
  color: rgba(197, 160, 89, 0.3);
  font-size: var(--text-sm);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

/* Styled placeholder for project grid items */
.homepage-v2 .project-item .img-placeholder {
  background: linear-gradient(135deg, #1A1A1C 0%, #252527 50%, #1A1A1C 100%);
  border: 1px solid rgba(197, 160, 89, 0.12);
  color: rgba(197, 160, 89, 0.22);
  font-size: 0.7rem;
}

.homepage-v2 .materials-section .service-card {
  border-top: 3px solid transparent;
  border-left: none;
  padding: 0;
}

.homepage-v2 .materials-section .service-card__title {
  color: var(--color-text-primary);
  padding: var(--space-4) var(--space-6) 0;
}

.homepage-v2 .materials-section .service-card__desc {
  color: var(--color-text-muted);
  padding: 0 var(--space-6);
}

.homepage-v2 .materials-section .service-card .btn {
  margin: 0 var(--space-6) var(--space-6);
}

.homepage-v2 .materials-section .service-card > img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

@media (max-width: 767px) {
  .homepage-v2 .materials-section .service-card > img {
    height: 200px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .homepage-v2 .materials-section .service-card {
    transition: border-top-color 0.3s ease, box-shadow 0.4s ease, transform 0.4s ease;
  }
  .homepage-v2 .materials-section .service-card:hover {
    border-top-color: var(--color-gold);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  }
}

/* ========================================
   WHY ERP — REFINED CIRCLE ICONS
   ======================================== */
.homepage-v2 .why-item__icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.14), rgba(197, 160, 89, 0.04));
  border: 1px solid rgba(197, 160, 89, 0.18);
  padding: 13px;
}

@media (prefers-reduced-motion: no-preference) {
  .homepage-v2 .why-item__icon {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .homepage-v2 .why-item:hover .why-item__icon {
    transform: scale(1.06);
    box-shadow: 0 4px 18px rgba(197, 160, 89, 0.18);
  }
}

/* ========================================
   CALCULATOR — ENHANCED RESULTS
   ======================================== */
.homepage-v2 .calc-results-card {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.homepage-v2 .price-value {
  text-shadow: 0 0 20px rgba(197, 160, 89, 0.15);
}

/* ========================================
   PROJECTS — GOLD REVEAL BAR
   ======================================== */
.homepage-v2 .project-item {
  position: relative;
}

.homepage-v2 .project-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold), #D4B76A);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .homepage-v2 .project-item::after {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .homepage-v2 .project-item:hover::after {
    transform: scaleX(1);
  }
}

/* ========================================
   TESTIMONIALS — DECORATIVE QUOTE
   ======================================== */
.homepage-v2 .testimonial-card {
  position: relative;
  overflow: hidden;
}

.homepage-v2 .testimonial-card::after {
  content: '\201D';
  position: absolute;
  bottom: -24px;
  right: 10px;
  font-size: 8rem;
  line-height: 1;
  color: rgba(197, 160, 89, 0.06);
  font-family: var(--font-heading);
  pointer-events: none;
}

/* ========================================
   TESTIMONIALS — SUMMARY LINE
   ======================================== */
.testimonials-summary {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

.testimonials-summary .stars {
  font-size: var(--text-lg);
  color: var(--color-gold);
  letter-spacing: 1px;
}

/* ========================================
   TESTIMONIALS — CAROUSEL LAYOUT
   ======================================== */
.testimonials-carousel {
  position: relative;
  padding: 0 56px;
}

@media (max-width: 767px) {
  .testimonials-carousel {
    padding: 0 8px;
  }
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: var(--space-6);
  will-change: transform;
}

@media (prefers-reduced-motion: no-preference) {
  .carousel-track {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
}

@media (min-width: 768px) {
  .carousel-slide {
    flex: 0 0 calc((100% - var(--space-6)) / 2);
  }
}

@media (min-width: 1024px) {
  .carousel-slide {
    flex: 0 0 calc((100% - var(--space-6) * 2) / 3);
  }
}

.carousel-slide .testimonial-card {
  height: 100%;
}

/* ========================================
   TESTIMONIALS — CAROUSEL ARROWS
   ======================================== */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.carousel-arrow--prev { left: 0; }
.carousel-arrow--next { right: 0; }

@media (max-width: 767px) {
  .carousel-arrow {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }
  .carousel-arrow--prev { left: -4px; }
  .carousel-arrow--next { right: -4px; }
}

@media (prefers-reduced-motion: no-preference) {
  .carousel-arrow {
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  }
}

.carousel-arrow:hover {
  background-color: var(--color-od-green);
  border-color: var(--color-od-green);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.carousel-arrow:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

/* ========================================
   TESTIMONIALS — CAROUSEL DOTS
   ======================================== */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-border);
  border: none;
  cursor: pointer;
  padding: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .carousel-dot {
    transition: background-color 0.2s ease, transform 0.2s ease;
  }
}

.carousel-dot.active {
  background-color: var(--color-od-green);
  transform: scale(1.25);
}

.carousel-dot:hover {
  background-color: var(--color-gold);
}

.carousel-dot:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* ========================================
   TESTIMONIALS — GOOGLE/YELP BRANDED CARD
   ======================================== */
.testimonial-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-od-green);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.testimonial-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.testimonial-card__author {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.testimonial-card__date {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.testimonial-card__platform {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-card__platform svg {
  width: 20px;
  height: 20px;
}

.homepage-v2 .testimonial-card .stars {
  font-size: var(--text-sm);
  letter-spacing: 2px;
}

/* Quote truncation for long reviews */
.homepage-v2 .testimonial-card__quote {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.homepage-v2 .testimonial-card__quote.expanded {
  -webkit-line-clamp: unset;
  display: block;
}

.testimonial-card__readmore {
  background: none;
  border: none;
  color: var(--color-od-green);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  padding: 0;
  margin-top: var(--space-1);
}

.testimonial-card__readmore:hover {
  color: var(--color-od-green-hover);
  text-decoration: underline;
}

/* ========================================
   CTA BANNER — DIAGONAL STRIPE PATTERN
   ======================================== */
.homepage-v2 .cta-banner {
  position: relative;
}

.homepage-v2 .cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 24px,
    rgba(255, 255, 255, 0.035) 24px,
    rgba(255, 255, 255, 0.035) 25px
  );
  pointer-events: none;
}

/* Top accent line */
.homepage-v2 .cta-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(21, 21, 23, 0.5), transparent 15%, transparent 85%, rgba(21, 21, 23, 0.5));
}

/* ========================================
   BOOKING — BLUEPRINT GRID PATTERN
   ======================================== */
.homepage-v2 .booking-section {
  position: relative;
  overflow: hidden;
}

.homepage-v2 .booking-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(197, 160, 89, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 160, 89, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ========================================
   COVERAGE — CITY PILL HOVER
   ======================================== */
.homepage-v2 .cities-list__item {
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: no-preference) {
  .homepage-v2 .cities-list__item {
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }
  .homepage-v2 .cities-list__item:hover {
    background-color: rgba(197, 160, 89, 0.08);
    transform: translateY(-1px);
  }
}

/* Map double-border effect */
.homepage-v2 .map-embed {
  position: relative;
  border: 2px solid rgba(197, 160, 89, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: var(--space-8);
}

/* ========================================
   OD GREEN + GOLD — BALANCED DUAL ACCENT
   Green (#7B7536) on light backgrounds
   Gold (#C5A059) on dark backgrounds
   ======================================== */

/* --- HERO (dark bg → gold dominates, green accents) --- */

/* Hero eyebrow — GOLD (pops on dark) */
.homepage-v2 .hero .eyebrow {
  color: var(--color-gold);
}

/* Hero eyebrow accent bar — OD GREEN (subtle contrast) */
.homepage-v2 .hero__content .eyebrow::before {
  background: #7B7536;
}

/* Hero "Book Free Inspection" — Bright GOLD */
.homepage-v2 .hero .hero-btn-gold {
  background-color: #D4AD4A;
  border-color: #D4AD4A;
  color: var(--color-charcoal);
}

.homepage-v2 .hero .hero-btn-gold:hover {
  background-color: #7B7536;
  border-color: #7B7536;
  color: #fff;
}

/* Hero "Call" button — OD GREEN */
.homepage-v2 .hero .hero-btn-green {
  background-color: #7B7536;
  border-color: #7B7536;
  color: #FFFFFF;
}

.homepage-v2 .hero .hero-btn-green:hover {
  background-color: #656220;
  border-color: #656220;
}

/* Call button — mobile only */
.homepage-v2 .hero .hero-call-mobile {
  display: none;
}

@media (max-width: 767px) {
  .homepage-v2 .hero .hero-call-mobile {
    display: inline-block;
  }
}

/* Hero subtext line (single line instead of bullets) */
.homepage-v2 .hero .hero__subtext-line {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #fff;
  max-width: 540px;
  margin: 0 0 2rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

@media (max-width: 479px) {
  .homepage-v2 .hero .hero__subtext-line {
    font-size: 1.05rem;
  }
}

@media (min-width: 768px) {
  .homepage-v2 .hero .hero__subtext-line {
    font-size: 1.35rem;
  }
}

/* Trust bar checkmarks — GOLD (dark bg) */
.homepage-v2 .trust-bar__item::before {
  color: var(--color-gold);
}

/* Google review in trust bar */
.homepage-v2 .trust-bar__review {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.80);
}

.homepage-v2 .trust-bar__review svg {
  flex-shrink: 0;
}

.homepage-v2 .trust-bar__stars {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 2px;
}

.homepage-v2 .trust-bar__review {
  flex-wrap: nowrap;
  white-space: nowrap;
}

/* --- STATS BAR (dark bg → gold numbers, green top accent) --- */

/* Stats bar top border — OD GREEN */
.homepage-v2 .stats-bar {
  border-top-color: #7B7536;
}

/* Stats bar glow line — OD GREEN */
.homepage-v2 .stats-bar::before {
  background: linear-gradient(90deg, transparent, #7B7536, transparent);
}

/* Stats bar numbers — GOLD (pops on dark) */
/* (keep default gold — no override needed) */

/* --- SERVICES SECTION (white bg → mix of both) --- */

/* Services eyebrow — OD GREEN */
.homepage-v2 .section--white .eyebrow {
  color: #7B7536;
}

/* Services heading underline — GOLD */
.homepage-v2 .section--white .section-heading::after {
  background-color: var(--color-gold);
}

/* Service card icons — GOLD (warm, inviting) */
/* (keep default gold — no override needed) */

/* Service card hover border — GOLD */
/* (keep default gold — no override needed) */

/* Service card bottom sweep — OD GREEN */
.homepage-v2 .section--white .service-card::after {
  background: linear-gradient(90deg, #7B7536, #8F8940);
}

/* Service card "Learn More" buttons — unified gold */
.homepage-v2 .section--white .service-card .btn--primary.btn--sm {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-charcoal);
}

.homepage-v2 .section--white .service-card .btn--primary.btn--sm:hover {
  background-color: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
}

/* "View All Services" ghost button — GOLD */
.homepage-v2 .section--white .btn--ghost {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.homepage-v2 .section--white .btn--ghost:hover {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-charcoal);
}

/* --- GUARANTEE SECTION (offwhite bg → green, callout dark → gold) --- */

/* Guarantee eyebrow — OD GREEN */
.homepage-v2 .section--offwhite .eyebrow {
  color: #7B7536;
}

/* Guarantee heading underline — OD GREEN */
.homepage-v2 .section--offwhite .section-heading::after {
  background-color: #7B7536;
}

/* Guarantee number circles — OD GREEN */
.homepage-v2 .guarantee-number {
  background: #7B7536;
  color: #FFFFFF;
}

/* Guarantee list bullets — OD GREEN */
.homepage-v2 .guarantee-list li::before {
  background: #7B7536;
}

/* Guarantee callout (dark charcoal bg → GOLD pops) */
.homepage-v2 .guarantee-callout {
  border-left-color: var(--color-gold);
}

.homepage-v2 .guarantee-callout__title {
  color: var(--color-gold);
}

/* Ghost buttons on offwhite — OD GREEN */
.homepage-v2 .section--offwhite .btn--ghost {
  border-color: #7B7536;
  color: #7B7536;
}

.homepage-v2 .section--offwhite .btn--ghost:hover {
  background-color: #7B7536;
  border-color: #7B7536;
  color: #FFFFFF;
}

/* --- MATERIALS SECTION (dark bg → gold stays, no green override) --- */
/* Gold defaults are correct here — dark charcoal bg */

/* --- WHY ERP SECTION (white bg → GOLD titles and icons) --- */

/* Why ERP titles — GOLD */
.homepage-v2 .why-item__title {
  color: var(--color-gold);
}

/* Why ERP icon circles — GOLD tint */
.homepage-v2 .why-item__icon {
  background: rgba(197, 160, 89, 0.12);
  border: 2px solid rgba(197, 160, 89, 0.25);
}

/* Why ERP icon SVGs — GOLD */
.homepage-v2 .why-item__icon svg {
  stroke: var(--color-gold);
}

/* --- CALCULATOR (offwhite bg → GOLD for variety) --- */

.homepage-v2 .section--offwhite .section-intro--center .eyebrow {
  color: var(--color-gold);
}

/* --- RECENT PROJECTS (dark bg → gold stays) --- */
/* Gold defaults are correct — dark charcoal bg */

/* --- TESTIMONIALS (white bg → mix of both) --- */

/* Testimonial left border — OD GREEN */
.homepage-v2 .testimonial-card {
  border-left: 5px solid #7B7536;
}

/* Testimonial quote marks — OD GREEN */
.homepage-v2 .testimonial-card__quote::before {
  color: #7B7536;
}

/* Star ratings — GOLD (stars look natural in gold) */
.homepage-v2 .stars {
  color: var(--color-gold);
}

/* --- BOOKING SECTION (dark bg → GOLD pops) --- */

/* Booking eyebrow — GOLD */
.homepage-v2 .booking-section__text .eyebrow {
  color: var(--color-gold);
}

/* Booking checkmarks — OD GREEN (contrast against gold eyebrow) */
.homepage-v2 .booking-feature::before {
  color: #7B7536;
}

/* --- CTA BANNER — OVERLAPPING BRIDGE (straddles guarantee + materials) --- */

.homepage-v2 .cta-banner {
  background: linear-gradient(135deg, #7B7536 0%, #656220 100%);
  position: relative;
  z-index: 2;
  margin: -3.5rem var(--space-6) -3.5rem;
  padding: var(--space-12) var(--space-8);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  overflow: visible;
}

/* Give adjacent sections room for the overlap */
.homepage-v2 .guarantee-section {
  padding-bottom: calc(var(--section-padding-y) + 3.5rem);
}
.homepage-v2 .materials-section {
  padding-top: calc(var(--section-padding-y) + 3.5rem);
  padding-bottom: calc(var(--section-padding-y) + 2rem);
}

@media (min-width: 768px) {
  .homepage-v2 .cta-banner {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
    padding: var(--space-16) var(--space-16);
  }
}

.homepage-v2 .cta-banner h2 {
  color: #FFFFFF;
}

.homepage-v2 .cta-banner p {
  color: rgba(255, 255, 255, 0.85);
}

.homepage-v2 .cta-banner .cta-banner__sub {
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.homepage-v2 .cta-banner .btn--dark {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-charcoal);
}

.homepage-v2 .cta-banner .btn--dark:hover {
  background-color: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
}

/* --- COVERAGE / CITIES (offwhite bg → green) --- */

.homepage-v2 .cities-list__item:hover {
  background-color: rgba(123, 117, 54, 0.1);
  color: #7B7536;
}

/* Map border — OD GREEN tint */
.homepage-v2 .map-embed {
  border-color: rgba(123, 117, 54, 0.3);
}

/* --- SCROLL PROGRESS BAR — gold-to-green gradient --- */

.homepage-v2 .scroll-progress {
  background: linear-gradient(90deg, var(--color-gold), #7B7536, var(--color-gold));
}

/* --- NAV BOOK INSPECTION BUTTON — GOLD (primary CTA) --- */
/* (keep default gold — no override needed) */

/* ========================================
   ENHANCED REVEAL TIMING
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
  .homepage-v2 .reveal {
    transform: translateY(28px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .homepage-v2 .reveal-stagger > * {
    transform: translateY(28px);
  }

  .homepage-v2 .reveal-stagger > *:nth-child(1) { transition: opacity 0.6s ease 0ms,   transform 0.6s ease 0ms; }
  .homepage-v2 .reveal-stagger > *:nth-child(2) { transition: opacity 0.6s ease 120ms, transform 0.6s ease 120ms; }
  .homepage-v2 .reveal-stagger > *:nth-child(3) { transition: opacity 0.6s ease 240ms, transform 0.6s ease 240ms; }
  .homepage-v2 .reveal-stagger > *:nth-child(4) { transition: opacity 0.6s ease 360ms, transform 0.6s ease 360ms; }
  .homepage-v2 .reveal-stagger > *:nth-child(5) { transition: opacity 0.6s ease 480ms, transform 0.6s ease 480ms; }
  .homepage-v2 .reveal-stagger > *:nth-child(6) { transition: opacity 0.6s ease 600ms, transform 0.6s ease 600ms; }
}

/* ========================================
   FOOTER — SUBTLE GRID TEXTURE
   ======================================== */
.homepage-v2 .footer {
  position: relative;
}

.homepage-v2 .footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(197, 160, 89, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 160, 89, 0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

/* ========================================
   DIAGONAL STRIPE TEXTURES — WHITE SECTIONS
   Services: -45deg, Why Choose Us: +45deg
   ======================================== */

/* Services section — diagonal stripes */
.homepage-v2 #services-section {
  position: relative;
  overflow: hidden;
}

@media (max-width: 767px) {
  .homepage-v2 #services-section {
    padding-bottom: calc(var(--space-10, 40px) + 1.5rem);
  }
}

.homepage-v2 #services-section > .container {
  position: relative;
  z-index: 1;
}

.homepage-v2 .services-texture--diagonal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 24px,
    rgba(197, 160, 89, 0.12) 24px,
    rgba(197, 160, 89, 0.12) 25px
  );
  pointer-events: none;
  z-index: 0;
}

/* Veteran giveback section — crosshatch handled by .veteran-giveback::before */

/* Recent Projects section — grid pattern (matches booking) */
.homepage-v2 #projects-section {
  position: relative;
  overflow: hidden;
}

@media (max-width: 767px) {
  .homepage-v2 #projects-section {
    padding-bottom: calc(var(--space-10, 40px) + 1.5rem);
  }
}

.homepage-v2 #projects-section > .container {
  position: relative;
  z-index: 1;
}

.homepage-v2 #projects-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(197, 160, 89, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 160, 89, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Cost Estimator section — checkered grid (matches guarantee) */
.homepage-v2 #calc-section {
  position: relative;
  overflow: hidden;
}

.homepage-v2 #calc-section > .container {
  position: relative;
  z-index: 1;
}

.homepage-v2 #calc-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(197, 160, 89, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 160, 89, 0.045) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Testimonials section — dark charcoal background with light text */
.homepage-v2 #testimonials-section {
  position: relative;
  overflow: hidden;
}

@media (max-width: 767px) {
  .homepage-v2 #testimonials-section {
    padding-bottom: calc(var(--space-10, 40px) + 1.5rem);
  }
}

.homepage-v2 #testimonials-section > .container {
  position: relative;
  z-index: 1;
}

.homepage-v2 #testimonials-section .section-heading {
  color: #fff;
}

.homepage-v2 #testimonials-section .testimonials-summary {
  color: rgba(255, 255, 255, 0.7);
}

.homepage-v2 #testimonials-section .testimonials-summary .stars {
  color: var(--color-gold);
}

.homepage-v2 #testimonials-section .carousel-arrow {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.homepage-v2 #testimonials-section .carousel-arrow:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.homepage-v2 #testimonials-section .carousel-dots button {
  background: rgba(255, 255, 255, 0.3);
}

.homepage-v2 #testimonials-section .carousel-dots button.active {
  background: var(--color-gold);
}

/* Keep card text dark on white cards inside the dark section */
.homepage-v2 #testimonials-section .testimonial-card {
  color: var(--color-text-primary);
}

.homepage-v2 #testimonials-section .testimonial-card p {
  color: var(--color-text-primary);
}

.homepage-v2 #testimonials-section .testimonial-card__quote {
  color: var(--color-text-primary);
}

.homepage-v2 #testimonials-section .testimonial-card__date {
  color: var(--color-text-muted);
}

.homepage-v2 #testimonials-section .testimonial-card__readmore {
  color: var(--color-gold);
}

.homepage-v2 #testimonials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 24px,
    rgba(197, 160, 89, 0.06) 24px,
    rgba(197, 160, 89, 0.06) 25px
  );
  pointer-events: none;
  z-index: 0;
}

/* ========================================
   SATELLITE ESTIMATE CTA SECTION
   ======================================== */
.sat-estimate-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.sat-estimate-cta__text .eyebrow {
  color: var(--color-gold);
}

.sat-estimate-cta__text p {
  color: rgba(244, 244, 240, 0.72);
  font-size: var(--text-lg);
  line-height: 1.7;
  margin-top: var(--space-4);
}

.sat-estimate-cta__features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.sat-estimate-cta__feature {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: rgba(244, 244, 240, 0.8);
  font-size: var(--text-sm);
  font-family: var(--font-body);
}

.sat-estimate-cta__feature svg {
  color: var(--color-gold);
  flex-shrink: 0;
}

.sat-estimate-cta__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.sat-estimate-cta__action .btn--lg {
  font-size: var(--text-lg);
  padding: var(--space-5) var(--space-10);
}

.sat-estimate-cta__note {
  font-size: var(--text-sm);
  color: rgba(244, 244, 240, 0.5);
  font-family: var(--font-body);
}

/* ========================================
   MATERIALS SECTION — Olive Green variant
   ======================================== */
.materials-section--green {
  background-color: #7B7536;
}

.materials-section--green .eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

.materials-section--green .section-heading {
  color: #F4F4F0;
}

.materials-section--green .section-intro p {
  color: rgba(244, 244, 240, 0.75);
}

.materials-section--green .btn--ghost {
  color: #F4F4F0;
  border-color: rgba(244, 244, 240, 0.3);
}

.materials-section--green .btn--ghost:hover {
  border-color: #F4F4F0;
  background: rgba(244, 244, 240, 0.1);
}

/* ========================================
   SATELLITE ESTIMATE CTA — Light bg with diagonal stripes
   ======================================== */
.sat-estimate-section {
  position: relative;
  overflow: hidden;
}

.sat-estimate-section > .container {
  position: relative;
  z-index: 1;
}

.sat-estimate-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 24px,
    rgba(197, 160, 89, 0.12) 24px,
    rgba(197, 160, 89, 0.12) 25px
  );
  pointer-events: none;
  z-index: 0;
}

/* Override text colors for light background */
.sat-estimate-section .section-heading--light {
  color: var(--color-text-primary);
}

.sat-estimate-section .sat-estimate-cta__text .eyebrow {
  color: var(--color-gold);
}

.sat-estimate-section .sat-estimate-cta__text p {
  color: var(--color-text-muted);
}

.sat-estimate-section .sat-estimate-cta__feature {
  color: var(--color-text-muted);
}

.sat-estimate-section .sat-estimate-cta__feature svg {
  color: var(--color-gold);
}

.sat-estimate-section .sat-estimate-cta__note {
  color: var(--color-text-muted);
}

/* ========================================
   SATELLITE CTA — Split layout (text + preview)
   ======================================== */
.sat-estimate-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

/* On desktop, CTA sits below the preview in the right column */
.sat-estimate-split__cta {
  margin-top: var(--space-6);
}

@media (min-width: 901px) {
  .sat-estimate-split__cta {
    grid-column: 1;
    grid-row: 2;
  }
}

@media (max-width: 900px) {
  .sat-estimate-split {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .sat-estimate-split__text   { order: 1; }
  .sat-estimate-split__preview { order: 2; }
  .sat-estimate-split__cta     { order: 3; margin-top: 0; }
}

.sat-estimate-split__text .section-heading {
  color: var(--color-text-primary);
}

.sat-estimate-split__text p {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  line-height: 1.7;
  margin-top: var(--space-4);
}

.sat-estimate-split__preview {
  display: block;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sat-estimate-split__preview:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-lg, 12px);
}

/* ---- Browser frame wrapper (Option A) ---- */
.sat-preview-frame {
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--color-border);
  background: #F5F3EF;
}

.sat-preview-frame__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #2A2A2C;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sat-preview-frame__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #555;
}

.sat-preview-frame__dot:first-child { background: #FF5F57; }
.sat-preview-frame__dot:nth-child(2) { background: #FEBC2E; }
.sat-preview-frame__dot:nth-child(3) { background: #28C840; }

.sat-preview-frame__url {
  flex: 1;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.02em;
}

/* ---- Calculator Interface Mockup (shared) ---- */
.calc-mockup {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px;
  padding: 16px;
}

.calc-mockup--bare {
  background: #F5F3EF;
  border-radius: var(--radius-lg, 12px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-border);
  padding: 20px;
}

/* Left panel: steps */
.calc-mockup__left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.calc-mockup__step {
  background: #fff;
  border-radius: 8px;
  padding: 14px;
  border: 1px solid #E8E6E1;
}

.calc-mockup__step-header {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.calc-mockup__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-gold);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 700;
}

.calc-mockup__sqft {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.calc-mockup__sqft span {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-left: 2px;
}

.calc-mockup__slider {
  position: relative;
  height: 5px;
  background: #E8E6E1;
  border-radius: 3px;
  margin: 8px 0 4px;
}

.calc-mockup__slider-track {
  position: absolute;
  left: 0;
  top: 0;
  width: 22%;
  height: 100%;
  background: var(--color-gold);
  border-radius: 3px;
}

.calc-mockup__slider-thumb {
  position: absolute;
  left: 22%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.calc-mockup__slider-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.55rem;
  color: var(--color-text-muted);
}

/* Pitch buttons */
.calc-mockup__pitch-grid {
  display: flex;
  gap: 6px;
}

.calc-mockup__pitch-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 4px;
  border: 1px solid #E8E6E1;
  border-radius: 6px;
  background: #fff;
}

.calc-mockup__pitch-btn--active {
  border-color: var(--color-gold);
  background: rgba(197, 160, 89, 0.05);
}

.calc-mockup__pitch-btn span {
  font-family: var(--font-body);
  font-size: 0.5rem;
  color: var(--color-text-muted);
}

/* Right panel: estimate results */
.calc-mockup__right {
  background: var(--color-charcoal);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-mockup__estimate-label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #F4F4F0;
  margin-bottom: 4px;
}

.calc-mockup__price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-gold);
  margin-bottom: 12px;
  line-height: 1.2;
}

.calc-mockup__row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-body);
  font-size: 0.6rem;
}

.calc-mockup__row span:first-child {
  color: rgba(244, 244, 240, 0.5);
}

.calc-mockup__row span:last-child {
  color: #F4F4F0;
  font-weight: 600;
}

@media (max-width: 600px) {
  .calc-mockup {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   SATELLITE CTA — Features in single row
   ======================================== */
.sat-estimate-cta__features {
  flex-direction: row;
  flex-wrap: nowrap;
}

@media (max-width: 768px) {
  .sat-estimate-cta__features {
    flex-direction: column;
  }
}

/* ========================================
   TESTIMONIAL CAROUSEL ARROWS — Gold default, green on hover
   ======================================== */
.homepage-v2 #testimonials-section .carousel-arrow {
  background: transparent;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.homepage-v2 #testimonials-section .carousel-arrow:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #fff;
}

/* Coverage / Where We Work — reverse diagonal (matches Why Choose Us) */
.homepage-v2 #coverage-section {
  position: relative;
  overflow: hidden;
}

.homepage-v2 #coverage-section > .container {
  position: relative;
  z-index: 1;
}

.homepage-v2 #coverage-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 24px,
    rgba(197, 160, 89, 0.12) 24px,
    rgba(197, 160, 89, 0.12) 25px
  );
  pointer-events: none;
  z-index: 0;
}

/* ========================================
   MATERIAL CARD — CENTER EXPLORE BUTTON
   ======================================== */
.materials-section .service-card .btn--sm {
  align-self: center;
}

/* ========================================
   BLOG PREVIEW — DARK OLIVE WASH
   ======================================== */
.homepage-v2 .blog-preview {
  background-color: #353318;
  position: relative;
  overflow: hidden;
}

.homepage-v2 .blog-preview > .container {
  position: relative;
  z-index: 1;
}

/* Dot / stipple texture (unique to this section) */
.homepage-v2 .blog-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(197, 160, 89, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* Eyebrow — gold on dark */
.homepage-v2 .blog-preview .eyebrow {
  color: var(--color-gold);
}

/* Section heading — white on dark */
.homepage-v2 .blog-preview .section-heading {
  color: #F4F4F0;
}

/* Heading underline — gold */
.homepage-v2 .blog-preview .section-heading::after {
  background-color: var(--color-gold);
}

/* Blog cards on dark background */
.homepage-v2 .blog-preview .blog-card {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(197, 160, 89, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@media (prefers-reduced-motion: no-preference) {
  .homepage-v2 .blog-preview .blog-card {
    transition: box-shadow 0.4s ease, transform 0.4s ease, border-color 0.3s ease;
  }
  .homepage-v2 .blog-preview .blog-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    transform: translateY(-5px);
    border-color: rgba(197, 160, 89, 0.3);
  }
}

/* Card tag — gold tint on dark */
.homepage-v2 .blog-preview .blog-card__tag {
  color: var(--color-gold);
  background-color: rgba(197, 160, 89, 0.12);
}

/* Card title — light text */
.homepage-v2 .blog-preview .blog-card__title {
  color: #F4F4F0;
}

/* Card excerpt — muted light */
.homepage-v2 .blog-preview .blog-card__excerpt {
  color: rgba(244, 244, 240, 0.7);
}

/* Card meta — muted light */
.homepage-v2 .blog-preview .blog-card__meta {
  color: rgba(244, 244, 240, 0.5);
}

/* Card link — gold */
.homepage-v2 .blog-preview .blog-card__link {
  color: var(--color-gold);
}

/* Ghost button — gold */
.homepage-v2 .blog-preview .btn--ghost {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.homepage-v2 .blog-preview .btn--ghost:hover {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-charcoal);
}

/* ========================================
   HERO SLIDESHOW
   ======================================== */
.homepage-v2 .hero__slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.homepage-v2 .hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.homepage-v2 .hero__slide.active {
  opacity: 1;
}

/* Family photo is last slide in HTML (4th position) */

/* Dark gradient overlay on each slide */
.homepage-v2 .hero__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10, 10, 11, 0.88) 0%,
    rgba(21, 21, 23, 0.48) 45%,
    rgba(10, 10, 11, 0.72) 100%
  );
  z-index: 1;
}

/* Vignette layer on slides */
.homepage-v2 .hero__slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(
    ellipse at center,
    transparent 40%,
    rgba(10, 10, 11, 0.35) 100%
  );
  pointer-events: none;
}

/* Hide the old hero__bg overlays since slides now handle it */
.homepage-v2 .hero__bg::after,
.homepage-v2 .hero__bg::before {
  display: none;
}

/* Progress dots */
.homepage-v2 .hero__dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

@media (max-width: 767px) {
  .homepage-v2 .hero .hero__content {
    padding-bottom: var(--space-20);
  }
  .homepage-v2 .hero__dots {
    bottom: 1.25rem;
  }
}

.homepage-v2 .hero__dot {
  width: 40px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  display: flex;
  align-items: center;
}

.homepage-v2 .hero__dot::before {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
}

.homepage-v2 .hero__dot-fill {
  position: absolute;
  top: 50%;
  left: 0;
  height: 3px;
  width: 0%;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 2px;
}

.homepage-v2 .hero__dot.active .hero__dot-fill {
  animation: dotFill 6s linear forwards;
}

.homepage-v2 .hero__dot.completed .hero__dot-fill {
  width: 100%;
  animation: none;
}

@keyframes dotFill {
  from { width: 0%; }
  to { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .homepage-v2 .hero__slide {
    transition: none;
  }
  .homepage-v2 .hero__dot.active .hero__dot-fill {
    animation: none;
    width: 100%;
  }
}

/* ========================================
   WHY ERP — STATS CARDS
   ======================================== */
.why-erp {
  background-color: #111;
  padding: var(--space-20) 0;
}

.why-erp__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.why-erp__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.why-erp__label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

.why-erp__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--font-weight-extrabold);
  color: #fff;
  margin: 0;
}

.why-erp__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 640px) {
  .why-erp__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-erp__cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-erp__card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: var(--space-8) var(--space-6);
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .why-erp__card {
    transition: border-color 0.3s ease, transform 0.3s ease;
  }
  .why-erp__card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
  }
}

.why-erp__number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: var(--font-weight-extrabold);
  color: #fff;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.why-erp__symbol {
  font-size: 0.6em;
  vertical-align: super;
  color: rgba(255, 255, 255, 0.5);
}

.why-erp__stat-label {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  color: #fff;
  margin-bottom: var(--space-3);
}

.why-erp__desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin: 0;
}

/* Hide old stats-bar on homepage-v2 */
.homepage-v2 .stats-bar {
  display: none;
}

/* ========================================
   VETERAN GIVEBACK — MILITARY-THEMED SECTION
   ======================================== */
.veteran-giveback {
  background-color: #1a1f14;
  position: relative;
  overflow: hidden;
}

.veteran-giveback > .container {
  position: relative;
  z-index: 1;
}

/* Subtle camo-style crosshatch texture */
.veteran-giveback::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 20px,
      rgba(123, 117, 54, 0.06) 20px,
      rgba(123, 117, 54, 0.06) 21px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 20px,
      rgba(123, 117, 54, 0.06) 20px,
      rgba(123, 117, 54, 0.06) 21px
    );
  pointer-events: none;
  z-index: 0;
}

/* Eyebrow — gold on dark */
.veteran-giveback .eyebrow {
  color: var(--color-gold);
}

/* Heading — white on dark */
.veteran-giveback .section-heading {
  color: #F4F4F0;
}

/* Heading underline — OD green */
.veteran-giveback .section-heading::after {
  background-color: #7B7536;
}

/* Intro paragraph */
.veteran-giveback__intro {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: rgba(244, 244, 240, 0.7);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

/* Two-card grid */
.veteran-giveback__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-12);
}

@media (min-width: 768px) {
  .veteran-giveback__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
}

/* Individual card */
.veteran-giveback__card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(123, 117, 54, 0.25);
  border-radius: 16px;
  padding: var(--space-8) var(--space-6);
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .veteran-giveback__card {
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  }
  .veteran-giveback__card:hover {
    border-color: rgba(123, 117, 54, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  }
}

/* Card icon */
.veteran-giveback__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(123, 117, 54, 0.15);
  border: 2px solid rgba(123, 117, 54, 0.35);
  color: var(--color-gold);
}

.veteran-giveback__icon svg {
  width: 26px;
  height: 26px;
}

/* Card title */
.veteran-giveback__card-title {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: var(--text-lg);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-gold);
  margin-bottom: var(--space-3);
}

/* Card text */
.veteran-giveback__card-text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: rgba(244, 244, 240, 0.65);
  line-height: 1.7;
  margin: 0;
}

/* Fund callout — the prominent block */
.veteran-giveback__fund {
  margin-top: var(--space-12);
  padding: var(--space-10) var(--space-8);
  background: linear-gradient(135deg, #7B7536 0%, #656220 100%);
  border-radius: 12px;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

/* Fund badge icon */
.veteran-giveback__fund-badge {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.veteran-giveback__fund-badge svg {
  width: 30px;
  height: 30px;
}

/* Fund title */
.veteran-giveback__fund-title {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-extrabold);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #FFFFFF;
  margin-bottom: var(--space-4);
  line-height: 1.25;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Fund text */
.veteran-giveback__fund-text {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto;
}

@media (prefers-reduced-motion: no-preference) {
  .veteran-giveback__fund {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .veteran-giveback__fund:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 44px rgba(0, 0, 0, 0.45);
  }
}

/* ========================================
   VETERAN SECTION — Inline Rows: Number + Text
   ======================================== */

.vet-d2__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.vet-d2__header .eyebrow {
  color: var(--color-gold);
}

.vet-d2__header .section-heading {
  color: #F4F4F0;
}

.vet-d2__header .section-heading::after {
  background-color: #7B7536;
}

.vet-d2__rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 820px;
  margin: 0 auto;
}

.vet-d2__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding: var(--space-8) 0;
  border-bottom: 1px solid rgba(123, 117, 54, 0.15);
  align-items: start;
}

.vet-d2__row:last-child {
  border-bottom: none;
}

@media (min-width: 768px) {
  .vet-d2__row {
    grid-template-columns: 160px 1px 1fr;
    gap: var(--space-8);
    align-items: center;
  }
}

.vet-d2__number {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-extrabold);
  font-size: clamp(3rem, 7vw, 4.5rem);
  line-height: 0.85;
  color: var(--color-gold);
  letter-spacing: -0.03em;
  text-align: center;
}

@media (min-width: 768px) {
  .vet-d2__number {
    text-align: right;
  }
}

.vet-d2__divider {
  display: none;
}

@media (min-width: 768px) {
  .vet-d2__divider {
    display: block;
    width: 1px;
    align-self: stretch;
    background: linear-gradient(to bottom, transparent, rgba(193, 133, 44, 0.4) 20%, rgba(123, 117, 54, 0.4) 80%, transparent);
  }
}

.vet-d2__title {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: var(--text-lg);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #F4F4F0;
  margin-bottom: var(--space-2);
}

.vet-d2__text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: rgba(244, 244, 240, 0.55);
  line-height: 1.65;
  margin: 0;
}

/* ========================================
   VETERAN CTA — Green Banner
   ======================================== */

.vet-cta-b {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-5);
  padding: var(--space-8) var(--space-6);
  margin-top: var(--space-12);
  background: linear-gradient(135deg, #7B7536 0%, #656220 100%);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .vet-cta-b {
    flex-direction: row;
    text-align: left;
    gap: var(--space-6);
    padding: var(--space-8) var(--space-10);
  }
}

.vet-cta-b__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.vet-cta-b__icon svg {
  width: 22px;
  height: 22px;
}

.vet-cta-b__copy {
  flex: 1;
  min-width: 0;
}

.vet-cta-b__heading {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: var(--text-lg);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #FFFFFF;
  margin-bottom: var(--space-1);
}

.vet-cta-b__sub {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin: 0;
}

.vet-cta-b__btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* Dark nav styles moved to nav.css */

/* Satellite estimate on dark backgrounds */
.section--charcoal .sat-estimate-split__text .section-heading {
  color: #F4F4F0;
}
.section--charcoal .sat-estimate-split__text p {
  color: rgba(244, 244, 240, 0.8);
}
.section--charcoal .sat-estimate-cta__feature {
  color: rgba(244, 244, 240, 0.8);
}
.section--charcoal .sat-estimate-cta__note {
  color: rgba(244, 244, 240, 0.6);
}

/* --- Safe Harbor Homepage Section --- */
.sh-homepage { padding: 4.5rem 0; }
.sh-homepage__header { text-align: center; margin-bottom: 3rem; }
.sh-homepage__header .section-heading::after { width: 180px; }
.sh-homepage__logo { display: block; margin: 0 auto 2.5rem; max-width: 320px; height: auto; }
.sh-homepage__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.sh-homepage__text { color: rgba(255,255,255,0.8); font-size: 1.05rem; line-height: 1.7; margin-bottom: 2rem; }
.sh-homepage__mockup { width: 100%; height: auto; border-radius: 8px; }
.sh-badge { display: flex; align-items: center; gap: 0.75rem; border-radius: 8px; padding: 1rem 1.25rem; }
.sh-badge__number { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 800; color: #C1852C; line-height: 1; flex-shrink: 0; }
.sh-badge__text { font-size: 0.95rem; font-weight: 500; line-height: 1.3; }
.sh-badge--dark { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); margin-bottom: 1.25rem; }
.sh-badge--dark .sh-badge__text { color: rgba(255,255,255,0.9); }
@media (max-width: 768px) {
  .sh-homepage__grid { grid-template-columns: 1fr; text-align: center; }
  .sh-homepage__image { order: -1; }
}

