/* ── Soffit Fascia Hero ── */
.hero--soffit {
  position: relative;
  min-height: 48vh;
  display: flex;
  align-items: center;
  background: url('https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  padding: calc(var(--navbar-height) + var(--space-3xl)) 0 var(--space-2xl);
}
.hero--soffit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(var(--color-primary-rgb), 0.78) 0%, rgba(var(--color-primary-dark-rgb), 0.65) 55%, rgba(var(--color-primary-rgb), 0.52) 100%);
  z-index: 1;
}
.hero--soffit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  z-index: 1;
  pointer-events: none;
}
.hero--soffit .container {
  position: relative;
  z-index: 2;
  max-width: 820px;
  text-align: center;
}
.hero--soffit h1 {
  color: #fff;
  font-size: var(--fs-h1);
  margin-bottom: var(--space-md);
  text-wrap: balance;
}
.hero--soffit .hero-answer {
  color: rgba(255, 255, 255, 0.88);
  max-width: 58ch;
  margin: 0 auto var(--space-xl);
  font-size: var(--font-size-lg);
  line-height: 1.7;
}
.hero--soffit .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
  background: rgba(var(--color-accent-rgb), 0.14);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
}
.hero--soffit .breadcrumb {
  margin-bottom: var(--space-md);
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.55);
}
.hero--soffit .breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hero--soffit .breadcrumb a:hover { color: var(--color-accent); }
.hero--soffit .breadcrumb-sep { margin: 0 var(--space-sm); }
.hero--soffit .hero-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.hero--soffit .trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero--soffit .trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}
.hero--soffit .trust-badge i,
.hero--soffit .trust-badge svg { width: 18px; height: 18px; color: var(--color-accent); }

/* ── SVG Dividers ── */
.divider-soffit-1 svg { fill: var(--color-bg); }
.divider-soffit-2 svg { fill: var(--color-bg-alt); }
.divider-soffit-3 svg { fill: var(--color-bg); }
.divider-soffit-4 svg { fill: var(--color-bg-alt); }

/* ── What & Why Section ── */
.soffit-overview {
  background: var(--color-bg);
  padding: var(--section-pad);
}
.soffit-overview .split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-3xl);
  align-items: center;
}
.soffit-overview h2 {
  font-size: var(--fs-h2);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  text-wrap: balance;
}
.soffit-overview .answer-block {
  color: var(--color-text-light);
  font-size: var(--font-size-lg);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  padding-left: var(--space-md);
  border-left: 3px solid var(--color-accent);
}
.soffit-overview .prose { line-height: 1.7; color: var(--color-text); max-width: var(--content-width); }
.soffit-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.soffit-benefit {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}
.soffit-benefit i,
.soffit-benefit svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.soffit-benefit span {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  line-height: 1.5;
}
.soffit-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.soffit-img-wrap img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.soffit-img-wrap::before {
  content: '';
  position: absolute;
  inset: var(--space-sm);
  border: 2px solid rgba(var(--color-accent-rgb), 0.15);
  border-radius: var(--radius-md);
  z-index: 1;
  pointer-events: none;
}

/* ── Material Options Section ── */
.soffit-materials {
  background: var(--color-bg-alt);
  padding: var(--section-pad);
}
.soffit-materials .split-reverse {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-3xl);
  align-items: center;
}
.soffit-materials h2 {
  font-size: var(--fs-h2);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  text-wrap: balance;
}
.soffit-materials .answer-block {
  color: var(--color-text-light);
  font-size: var(--font-size-lg);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  padding-left: var(--space-md);
  border-left: 3px solid var(--color-accent);
}
.soffit-mat-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.soffit-mat-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: transform var(--transition-base, 0.3s ease), box-shadow var(--transition-base, 0.3s ease);
}
.soffit-mat-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}
.soffit-mat-item .mat-badge {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--font-size-lg);
  color: #fff;
}
.soffit-mat-item:nth-child(1) .mat-badge { background: var(--color-accent); }
.soffit-mat-item:nth-child(2) .mat-badge { background: var(--color-primary); }
.soffit-mat-item:nth-child(3) .mat-badge { background: var(--color-secondary); }
.soffit-mat-item h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}
.soffit-mat-item p {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  line-height: 1.6;
}
.soffit-mat-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.soffit-mat-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ── Process Section ── */
.soffit-process {
  background: var(--color-bg);
  padding: var(--section-pad);
  text-align: center;
}
.soffit-process h2 {
  font-size: var(--fs-h2);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  text-wrap: balance;
}
.soffit-process .answer-block {
  color: var(--color-text-light);
  font-size: var(--font-size-lg);
  line-height: 1.7;
  max-width: 60ch;
  margin: 0 auto var(--space-2xl);
  padding-left: var(--space-md);
  border-left: 3px solid var(--color-accent);
  text-align: left;
}
.soffit-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: var(--max-width);
  margin: 0 auto;
}
.soffit-step {
  position: relative;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-lg) var(--space-lg);
  text-align: center;
  border: 1px solid var(--color-border);
}
.soffit-step-num {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--font-size-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
.soffit-step h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}
.soffit-step p {
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
  line-height: 1.6;
}

/* ── Why Choose ── */
.soffit-why {
  background: var(--color-bg-alt);
  padding: var(--section-pad);
}
.soffit-why h2 {
  font-size: var(--fs-h2);
  color: var(--color-primary);
  text-align: center;
  margin-bottom: var(--space-md);
  text-wrap: balance;
}
.soffit-why .answer-block {
  color: var(--color-text-light);
  font-size: var(--font-size-lg);
  line-height: 1.7;
  max-width: 60ch;
  margin: 0 auto var(--space-2xl);
  padding-left: var(--space-md);
  border-left: 3px solid var(--color-accent);
}
.soffit-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: var(--max-width);
  margin: 0 auto;
}
.soffit-why-card {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-xl);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: transform var(--transition-base, 0.3s ease), box-shadow var(--transition-base, 0.3s ease);
}
.soffit-why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.soffit-why-card .icon-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(var(--color-accent-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}
.soffit-why-card .icon-wrap i,
.soffit-why-card .icon-wrap svg { width: 22px; height: 22px; }
.soffit-why-card h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}
.soffit-why-card p {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ── FAQ Section ── */
.soffit-faq {
  background: var(--color-bg);
  padding: var(--section-pad);
}
.soffit-faq h2 {
  font-size: var(--fs-h2);
  color: var(--color-primary);
  text-align: center;
  margin-bottom: var(--space-2xl);
  text-wrap: balance;
}
.soffit-faq .faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.soffit-faq .faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg);
  transition: box-shadow var(--transition-base, 0.3s ease);
}
.soffit-faq .faq-item:hover { box-shadow: var(--shadow-sm); }
.soffit-faq .faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--font-size-lg);
  color: var(--color-primary);
  list-style: none;
  gap: var(--space-md);
}
.soffit-faq .faq-item summary::-webkit-details-marker { display: none; }
.soffit-faq .faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.soffit-faq .faq-item[open] summary::after {
  content: '\2212';
  transform: rotate(180deg);
}
.soffit-faq .faq-answer {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--color-text-light);
  line-height: 1.7;
  font-size: var(--font-size-base);
}

/* ── CTA Banner ── */
.cta-soffit {
  text-align: center;
  background: linear-gradient(125deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: var(--section-pad);
}
.cta-soffit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 90%, rgba(var(--color-accent-rgb), 0.2) 0%, transparent 50%);
  pointer-events: none;
}
.cta-soffit .container { position: relative; z-index: 1; }
.cta-soffit h2 { color: #fff; font-size: var(--fs-h2); margin-bottom: var(--space-md); text-wrap: balance; }
.cta-soffit p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 52ch;
  margin: 0 auto var(--space-xl);
  font-size: var(--font-size-lg);
  line-height: 1.65;
}
.cta-soffit .hero-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ── Related Services ── */
.related-soffit {
  background: var(--color-bg-alt);
  padding: var(--section-pad);
}
.related-soffit h2 {
  font-size: var(--fs-h2);
  color: var(--color-primary);
  text-align: center;
  margin-bottom: var(--space-2xl);
  text-wrap: balance;
}

/* ── Responsive ── */
@media (max-width: 1023px) {
  .soffit-overview .split,
  .soffit-materials .split-reverse { grid-template-columns: 1fr; gap: var(--space-xl); }
  .soffit-steps { grid-template-columns: 1fr; max-width: 450px; }
  .soffit-why-grid { grid-template-columns: 1fr; }
  .soffit-benefits { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .hero--soffit .hero-actions { flex-direction: column; }
  .hero--soffit .hero-actions .btn-primary,
  .hero--soffit .hero-actions .btn-secondary--white { width: 100%; text-align: center; }
}
