/* ============================================================
   PEAK ROOFING — Homepage Styles
   css/home.css
   ============================================================ */

/* ── Hero: Full-Bleed Image ──────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('../Images/Suburban home with vibrant landscaping.png');
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(27, 43, 75, 0.75) 0%,
    rgba(27, 43, 75, 0.55) 40%,
    rgba(27, 43, 75, 0.65) 70%,
    rgba(27, 43, 75, 0.85) 100%
  );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 0 5%;
  padding-top: calc(var(--demo-banner-h) + var(--nav-utility-h) + var(--nav-main-h) + 2rem);
  padding-bottom: 4rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}

.hero-h1 {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
  color: #ffffff;
  margin-bottom: 22px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-h1 .accent { color: var(--orange); }

.hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 6px 14px;
}

.trust-dot { display: none; }

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 900px) {
  #hero { background-attachment: scroll; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline-white { width: 100%; justify-content: center; }
}

/* ── Trust Strip ────────────────────────────────────────────── */
#trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 28px;
  border-right: 1px solid var(--border);
}
.trust-strip-item:last-child { border-right: none; }

.trust-strip-icon {
  width: 38px;
  height: 38px;
  background: rgba(212,98,42,.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-strip-icon svg { width: 20px; height: 20px; color: var(--orange); }

.trust-strip-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.2;
}
.trust-strip-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.2;
}

@media (max-width: 768px) {
  .trust-strip-item { padding: 8px 16px; }
  .trust-strip-item:nth-child(3) { border-right: none; }
  .trust-strip-item:nth-child(4) { border-right: none; border-top: 1px solid var(--border); width: 100%; justify-content: center; }
}

/* ── Services: Alternating Rows ─────────────────────────────── */
#services {
  padding: 88px 0;
  background: var(--white);
}

#services .section-header {
  text-align: center;
  margin-bottom: 60px;
}
#services .section-title { font-size: clamp(1.8rem, 3vw, 2.5rem); }
#services .section-sub { margin: 14px auto 0; }

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 220px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}
.service-row:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-row-text {
  padding: 44px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 4px solid var(--orange);
  background: var(--white);
  transition: border-left-width var(--transition-fast);
}
.service-row:hover .service-row-text { border-left-width: 6px; }

.service-row-icon-side {
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.service-row.reverse { direction: rtl; }
.service-row.reverse > * { direction: ltr; }
.service-row.reverse .service-row-text { border-left: none; border-right: 4px solid var(--orange); }
.service-row.reverse:hover .service-row-text { border-right-width: 6px; }

.service-row-num {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 4.5rem;
  color: rgba(212,98,42,.12);
  line-height: 1;
  margin-bottom: 6px;
}

.service-row-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.service-row-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 18px;
}

.service-row-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--orange);
  transition: gap var(--transition-fast);
}
.service-row-link:hover { gap: 10px; }
.service-row-link svg { width: 14px; height: 14px; }

.service-icon-circle {
  width: 100px;
  height: 100px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
.service-icon-circle svg { width: 52px; height: 52px; color: var(--orange); }

@media (max-width: 768px) {
  .service-row,
  .service-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .service-row-icon-side { padding: 28px; min-height: 100px; }
  .service-row-text { padding: 28px 24px; border-left: 4px solid var(--orange); border-right: none !important; }
  .service-row.reverse .service-row-icon-side { order: -1; }
}

/* ── Process Timeline ───────────────────────────────────────── */
#process {
  padding: 88px 0;
  background: var(--off-white);
}

#process .section-header {
  text-align: center;
  margin-bottom: 56px;
}
#process .section-title { font-size: clamp(1.8rem, 3vw, 2.4rem); }

.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  gap: 0;
}

.process-track::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--orange) 0,
    var(--orange) 8px,
    transparent 8px,
    transparent 16px
  );
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.process-num {
  width: 60px;
  height: 60px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(212,98,42,.4);
  flex-shrink: 0;
  border: 3px solid var(--off-white);
}

.process-step-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.process-step-desc {
  font-size: 0.83rem;
  color: var(--text-body);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .process-track {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .process-track::before { display: none; }
  .process-step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 18px;
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
  }
  .process-num { margin-bottom: 0; flex-shrink: 0; }
}

/* ── Why + Stats Section ────────────────────────────────────── */
#why-section {
  padding: 88px 0;
  background: var(--white);
}

#why-section .section-header {
  text-align: center;
  margin-bottom: 48px;
}
#why-section .section-title { font-size: clamp(1.8rem, 3vw, 2.4rem); }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 64px;
}

.stat-cell {
  background: var(--white);
  padding: 32px 24px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-suffix {
  font-size: 1.4rem;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-item {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: box-shadow var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}
.why-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(212,98,42,.2);
  transform: translateY(-3px);
}

.why-item-icon {
  width: 52px;
  height: 52px;
  background: rgba(212,98,42,.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.why-item-icon svg { width: 26px; height: 26px; color: var(--orange); }

.why-item-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.why-item-desc {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .why-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}

/* ── Testimonials ───────────────────────────────────────────── */
#testimonials {
  padding: 88px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

#testimonials::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(45,74,122,.5) 0%, transparent 70%);
  border-radius: 50%;
}

#testimonials .section-header {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}

.testimonials-stage {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  z-index: 1;
}

.testimonial-slide {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.testimonial-slide.active {
  display: flex;
  animation: testiFadeIn 0.5s ease;
}

@keyframes testiFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.testi-quote-mark {
  font-family: Georgia, serif;
  font-size: 8rem;
  color: var(--orange);
  opacity: 0.2;
  line-height: 0.6;
  margin-bottom: 24px;
  user-select: none;
}

.testi-stars {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-bottom: 20px;
}
.testi-stars svg { width: 20px; height: 20px; color: #F4B942; fill: #F4B942; }

.testi-text {
  font-size: 1.15rem;
  line-height: 1.75;
  color: rgba(255,255,255,.88);
  font-style: italic;
  margin-bottom: 28px;
  max-width: 680px;
}

.testi-author {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 4px;
}

.testi-location {
  font-size: 0.82rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 12px;
}

.testi-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  font-size: 0.72rem;
  color: rgba(255,255,255,.55);
}
.testi-verified svg { width: 12px; height: 12px; color: #4285F4; }

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
  position: relative;
  z-index: 1;
}

.testi-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}
.testi-arrow:hover { border-color: var(--orange); color: var(--orange); background: rgba(212,98,42,.1); }
.testi-arrow svg { width: 18px; height: 18px; }

.testi-dots {
  display: flex;
  gap: 8px;
}
.testi-dot {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,.25);
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.testi-dot.active { background: var(--orange); transform: scale(1.3); }

/* ── Gallery ────────────────────────────────────────────────── */
#gallery {
  padding: 88px 0;
  background: var(--off-white);
}

#gallery .section-header {
  text-align: center;
  margin-bottom: 36px;
}
#gallery .section-title { font-size: clamp(1.8rem, 3vw, 2.4rem); }

.gallery-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.gallery-tab {
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
  background: var(--white);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}
.gallery-tab:hover { color: var(--orange); border-color: var(--orange); }
.gallery-tab.active {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow var(--transition-base);
}
.gallery-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.gallery-card.hidden { opacity: 0; transform: scale(0.95); pointer-events: none; }

.gallery-img-area {
  height: 200px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.gallery-svg-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: transform 0.4s ease;
}
.gallery-card:hover .gallery-svg-wrap { transform: scale(1.04); }

.gallery-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

.gallery-card-body {
  padding: 16px 20px 20px;
}

.gallery-cat-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 5px;
}

.gallery-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.gallery-card-loc {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.gallery-card-loc svg { width: 12px; height: 12px; }

@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ── Gallery Lightbox ───────────────────────────────────────── */
#lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: rgba(0,0,0,.88);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#lightbox-overlay.open { display: flex; }

.lightbox-modal {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 380px;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  position: relative;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  transition: background var(--transition-fast);
}
.lightbox-close:hover { background: rgba(0,0,0,.75); }

.lightbox-slider-wrap {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-before,
.lightbox-after {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox-before { clip-path: inset(0 50% 0 0); }
.lightbox-after { clip-path: inset(0 0 0 50%); }

.lightbox-before svg,
.lightbox-after svg { max-width: 320px; max-height: 320px; width: 100%; height: auto; }

.lightbox-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--orange);
  cursor: ew-resize;
  z-index: 5;
  transform: translateX(-50%);
}

.lightbox-divider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.lightbox-divider-handle svg { width: 18px; height: 18px; color: white; }

.lb-ba-labels {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 14px;
  z-index: 4;
  pointer-events: none;
}

.lb-ba-label {
  background: rgba(0,0,0,.6);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lightbox-info {
  padding: 32px 28px;
  overflow-y: auto;
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.lb-cat-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.lb-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.lb-loc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.lb-loc svg { width: 14px; height: 14px; }

.lb-section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 6px;
  margin-top: 18px;
}

.lb-detail {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.6;
}

.lb-cta {
  margin-top: auto;
  padding-top: 24px;
}

@media (max-width: 768px) {
  .lightbox-modal { grid-template-columns: 1fr; max-height: 92vh; }
  .lightbox-slider-wrap { min-height: 260px; }
  .lightbox-info { max-height: 320px; }
}

/* ── Service Area ───────────────────────────────────────────── */
#service-area {
  padding: 72px 0;
  background: var(--white);
}

#service-area .section-header {
  text-align: center;
  margin-bottom: 40px;
}
#service-area .section-title { font-size: clamp(1.7rem, 3vw, 2.2rem); }

.city-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.city-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: 1.5px solid var(--border);
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
  cursor: pointer;
}
.city-badge:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(212,98,42,.05);
  transform: translateY(-1px);
}
.city-badge svg { width: 14px; height: 14px; color: var(--orange); }

/* ── FAQ ────────────────────────────────────────────────────── */
#faq-section {
  padding: 88px 0;
  background: var(--off-white);
}

#faq-section .section-header {
  text-align: center;
  margin-bottom: 52px;
}
#faq-section .section-title { font-size: clamp(1.8rem, 3vw, 2.4rem); }

.faq-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.faq-col { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.faq-item.open { border-color: rgba(212,98,42,.3); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dark);
  gap: 12px;
  transition: color var(--transition-fast);
  user-select: none;
}
.faq-question:hover { color: var(--orange); }
.faq-item.open .faq-question { color: var(--orange); }

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
  line-height: 1;
}
.faq-item.open .faq-icon {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

@media (max-width: 768px) {
  .faq-columns { grid-template-columns: 1fr; }
}

/* ── Financing Strip ────────────────────────────────────────── */
#financing {
  background: var(--orange);
  padding: 36px 0;
}

.financing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.financing-text {
  flex: 1;
  min-width: 260px;
}

.financing-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.financing-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  line-height: 1.2;
}

.financing-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,.8);
  margin-top: 4px;
}

.btn-financing {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: var(--white);
  color: var(--orange);
  border-radius: 7px;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.btn-financing:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }

/* ── Contact Section ────────────────────────────────────────── */
#contact-section {
  padding: 88px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-form-side .section-title { font-size: clamp(1.6rem, 2.5vw, 2rem); margin-bottom: 8px; }
.contact-form-side .section-sub { margin-bottom: 32px; }

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(212,98,42,.12);
}

.form-textarea { resize: vertical; min-height: 110px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 7px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
  margin-top: 6px;
}
.form-submit:hover { background: var(--orange-hover); transform: translateY(-1px); }

.contact-info-side {
  padding-top: 8px;
}

.contact-info-card {
  background: var(--off-white);
  border-radius: 14px;
  padding: 32px;
  margin-bottom: 24px;
}

.contact-info-card .card-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
.contact-detail-row:last-child { margin-bottom: 0; }

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(212,98,42,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 18px; height: 18px; color: var(--orange); }

.contact-detail-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.contact-detail-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}
.contact-detail-value a { color: var(--orange); transition: color var(--transition-fast); }
.contact-detail-value a:hover { color: var(--orange-hover); }

.expect-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.expect-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-body);
}
.expect-item svg { width: 16px; height: 16px; color: var(--orange); flex-shrink: 0; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ── Contact CTA Band ───────────────────────────────────────── */
#contact-cta {
  background: var(--navy);
  padding: 72px 0;
  text-align: center;
}

#contact-cta .section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 14px;
}

#contact-cta .section-sub { margin: 0 auto 32px; }

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* =========== PAGE-TRANSITION OVERLAY SAFETY (PEAK ROOFING) =========== */
/* #page-transition: pointer-events: none — overlay must never block clicks */
/* Clicks pass through regardless of whether main.js removes the .active class. */
#page-transition,
#page-transition.active,
#page-transition.fade-out,
#page-transition.loading {
  pointer-events: none !important;
}

/* Ensure CTAs always stay interactive and above any stacking context */
.btn-primary,
.btn-outline-white,
.btn-nav-cta,
.btn-financing,
.mobile-menu-cta,
.sticky-book-btn,
.service-row-link,
.hero-ctas a,
.gallery-tab,
.footer-request-link {
  position: relative !important;
  z-index: 10 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

.hero-ctas,
.hero-trust-row {
  position: relative !important;
  z-index: 10 !important;
}

/* Gallery badge with SVG check (Peak Roofing) */
.gallery-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
}
.gallery-badge-icon {
  flex-shrink: 0;
}

/* Sticky banner icon (Peak Roofing) */
#sticky-banner {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  flex-wrap: wrap !important;
}
.sticky-banner-icon {
  flex-shrink: 0;
  vertical-align: middle;
}
