/* ================================================================
   WEISER, ID — Service Area Page Styles
   Idaho Build Group | Phase 6 | Premium Tier | ≥400 lines
   ================================================================ */

/* ── 1. AREA HERO ─────────────────────────────────────────────────── */
.area-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background-image: url('<?php echo $clientPhotos[0]; ?>');
  background-size: cover;
  background-position: center 20%;
  overflow: hidden;
}

.area-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(22, 19, 19, 0.92) 0%,
    rgba(11, 11, 11, 0.70) 40%,
    rgba(43, 43, 42, 0.20) 100%
  );
  z-index: 1;
}

.area-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
}

.area-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: var(--space-4xl) 0 var(--space-3xl);
}

.area-hero .eyebrow-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: var(--space-md);
}

.area-hero .eyebrow-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-secondary);
  border-radius: 2px;
}

.area-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  color: #fff;
  text-wrap: balance;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.025em;
}

.area-hero h1 em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 300;
  color: var(--color-secondary);
}

.area-hero-sub {
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.80);
  max-width: 580px;
  margin-bottom: var(--space-xl);
}

.area-hero-ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.area-hero-breadcrumb {
  position: relative;
  z-index: 2;
  margin-top: var(--space-lg);
}

.bc-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.bc-nav a,
.bc-nav span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition);
}

.bc-nav a:hover { color: rgba(255, 255, 255, 0.8); }
.bc-nav .bc-sep { color: rgba(255, 255, 255, 0.25); }
.bc-nav .bc-current { color: rgba(255, 255, 255, 0.7); }

/* ── 2. ANSWER BLOCK ──────────────────────────────────────────────── */
.area-answer-section {
  padding: var(--space-3xl) 0;
  background: var(--color-bg);
}

.answer-block {
  background: var(--color-card-tint-1);
  border-left: 4px solid var(--color-secondary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--space-xl) var(--space-2xl);
  max-width: 820px;
  margin: 0 auto;
}

.answer-block h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 800;
  color: var(--color-primary);
  text-wrap: balance;
  margin-bottom: var(--space-sm);
}

.answer-block p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
}

/* ── 3. LOCAL CONTENT SPLIT ───────────────────────────────────────── */
.local-content-section {
  padding: var(--space-4xl) 0;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.local-content-section::before {
  content: 'WEISER';
  position: absolute;
  top: 50%;
  right: -60px;
  transform: translateY(-50%) rotate(90deg);
  font-family: var(--font-heading);
  font-size: 9rem;
  font-weight: 900;
  color: rgba(43, 43, 42,0.04);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 0.08em;
}

.local-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

.local-split-image {
  position: relative;
}

.local-split-image .main-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.local-split-image .main-img img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}

.local-split-image .accent-img {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 50%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--color-bg);
}

.local-split-image .accent-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.local-split-text .eyebrow-label {
  margin-bottom: var(--space-sm);
  display: inline-block;
}

.local-split-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  text-wrap: balance;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.local-split-text .section-subtitle {
  display: block;
  font-family: var(--font-accent);
  font-size: 1.25rem;
  color: var(--color-secondary);
  font-style: italic;
  margin-bottom: var(--space-lg);
}

.local-split-text p {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  max-width: 55ch;
}

.local-facts {
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.local-facts li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--color-text);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}

.local-facts li:last-child { border-bottom: none; }

.local-facts li i,
.local-facts li svg {
  width: 17px;
  height: 17px;
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── 4. SERVICES SECTION ──────────────────────────────────────────── */
.area-services-section {
  padding: var(--space-4xl) 0;
  background: var(--color-bg-alt);
}

.area-services-section .section-title {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.area-services-section .section-title h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--color-primary);
  text-wrap: balance;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.area-services-section .section-title p {
  font-size: 1rem;
  color: var(--color-text-light);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.65;
}

.area-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.area-service-card {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.area-service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.area-service-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--color-card-tint-1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  transition: background var(--transition);
}

.area-service-card:hover .area-service-icon {
  background: rgba(193, 118, 67,0.15);
}

.area-service-icon i,
.area-service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  transition: color var(--transition);
}

.area-service-card:hover .area-service-icon i {
  color: var(--color-secondary);
}

.area-service-card h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}

.area-service-card p {
  font-size: 0.83rem;
  color: var(--color-text-light);
  line-height: 1.55;
  margin-bottom: var(--space-md);
  flex: 1;
}

.area-service-card a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-secondary);
  transition: color var(--transition);
  margin-top: auto;
}

.area-service-card a:hover { color: var(--color-primary); }

/* ── 5. SVG DIVIDER ───────────────────────────────────────────────── */
.divider-peaks {
  display: block;
  overflow: hidden;
  line-height: 0;
}

.divider-peaks svg {
  display: block;
  width: 100%;
}

/* ── 6. WHY US FOR THIS AREA ──────────────────────────────────────── */
.why-us-section {
  padding: var(--space-4xl) 0;
  background: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
}

.why-us-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(193, 118, 67,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.why-us-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-4xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.why-us-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.why-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  transition: background var(--transition);
}

.why-stat:hover { background: rgba(255,255,255,0.07); }

.why-stat-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: 6px;
}

.why-stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
}

.why-stat-sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  margin-top: 4px;
}

.why-us-text .eyebrow-label {
  display: inline-block;
  margin-bottom: var(--space-sm);
  color: rgba(255,255,255,0.5);
}

.why-us-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  text-wrap: balance;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.why-us-text h2 em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 300;
  color: var(--color-secondary);
}

.why-us-text p {
  font-size: 0.97rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--space-md);
  max-width: 54ch;
}

.why-reasons {
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.why-reasons li {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.why-reason-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(193, 118, 67,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-reason-icon i,
.why-reason-icon svg {
  width: 18px;
  height: 18px;
  color: var(--color-secondary);
}

.why-reason-body strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2px;
}

.why-reason-body span {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* ── 7. FAQ SECTION ───────────────────────────────────────────────── */
.area-faq-section {
  padding: var(--space-4xl) 0;
  background: var(--color-bg);
}

.area-faq-section .section-title {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.area-faq-section .section-title h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--color-primary);
  text-wrap: balance;
  letter-spacing: -0.02em;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--color-card-tint-1);
  border-radius: var(--radius);
  border: 1px solid rgba(43, 43, 42,0.10);
  overflow: hidden;
}

.faq-question {
  padding: var(--space-lg) var(--space-xl);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.faq-question i,
.faq-question svg {
  width: 18px;
  height: 18px;
  color: var(--color-secondary);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-question i { transform: rotate(180deg); }

.faq-answer {
  padding: 0 var(--space-xl) var(--space-lg);
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text);
}

/* ── 8. AREA CTA ──────────────────────────────────────────────────── */
.area-cta-section {
  padding: var(--space-4xl) 0;
  background: var(--color-secondary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.area-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.15) 0%, transparent 60%);
}

.area-cta-section::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 50px solid rgba(255,255,255,0.06);
  pointer-events: none;
}

.area-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.area-cta-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  text-wrap: balance;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.area-cta-inner p {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: var(--space-xl);
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}

.area-cta-inner .cta-row {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ── 9. RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .area-services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .local-split { grid-template-columns: 1fr; }
  .local-split-image .accent-img { display: none; }
  .why-us-inner { grid-template-columns: 1fr; }
  .why-us-stats { order: -1; }
}

@media (max-width: 640px) {
  .area-hero { min-height: 75vh; }
  .area-services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-us-stats { grid-template-columns: 1fr 1fr; }
  .area-cta-inner .cta-row { flex-direction: column; align-items: center; }
}
