/* ==========================================================================
   Service Areas — hub (/areas-we-serve/) + city pages (/service-areas/<slug>/)
   Loads AFTER /css/style.css
   ========================================================================== */

/* ---------- compact page hero ---------- */

.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20,20,20,0.72) 0%, rgba(20,20,20,0.42) 55%, rgba(20,20,20,0.2) 100%),
    linear-gradient(180deg, rgba(20,20,20,0.55) 0%, rgba(20,20,20,0.28) 45%, rgba(20,20,20,0.88) 100%);
}

.page-hero-plain { background: var(--ink); min-height: 0; }

.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 170px;
  padding-bottom: clamp(48px, 6vw, 80px);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
}

.page-hero-plain .page-hero-content { text-shadow: none; }

.page-hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  max-width: 16em;
}

.page-hero-sub {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 22px;
}

.page-hero .eyebrow { margin-bottom: 16px; }

/* ---------- breadcrumb ---------- */

.breadcrumb {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 30px;
}

.breadcrumb a { color: var(--steel); transition: color 0.3s ease; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb .crumb-sep { color: var(--teal); padding-inline: 10px; }
.breadcrumb [aria-current] { color: var(--white); }

/* ---------- body copy ---------- */

.area-body { max-width: 860px; }

.area-body .lead { max-width: none; }

.area-body p { color: var(--steel); margin-top: 24px; max-width: 46em; }
.area-body p strong { color: var(--white); font-weight: 500; }

.area-body p a,
.faq-answer a {
  color: var(--white);
  border-bottom: 1px solid var(--teal);
  padding-bottom: 1px;
  transition: color 0.3s ease;
}

.area-body p a:hover,
.faq-answer a:hover { color: var(--teal); }

.area-body .section-head { margin-bottom: 8px; }

.area-note {
  font-size: 15px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

/* h3 sub-headings inside body sections (hub regions) */
.area-subhead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 44px;
}

/* ---------- city services link list ---------- */

.area-services { margin-top: clamp(48px, 6vw, 72px); }

.specialties-list a {
  display: block;
  transition: color 0.3s ease;
}
.specialties-list a:hover { color: var(--teal); }

/* multi-line service labels: top-aligned markers, inline anchors, aligned rows */
.area-services .specialties-list { align-items: stretch; }

.area-services .specialties-list li {
  display: block;
  padding: 18px 0 18px 24px;
  line-height: 1.6;
}

.area-services .specialties-list li::before {
  top: 25px;
  transform: none;
}

.area-services .specialties-list a {
  display: inline;
  line-height: inherit;
}

/* ---------- city card grid (hub) ---------- */

.city-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.city-card {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--charcoal);
}

.city-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1), filter 0.5s ease;
}

.city-card:hover img { transform: scale(1.06); filter: brightness(0.5); }

.city-card-info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 60px 24px 20px;
  background: linear-gradient(180deg, transparent, rgba(20, 20, 20, 0.9));
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.city-card-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
}

.city-card-hook {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--steel);
  transition: color 0.35s ease;
}

.city-card:hover .city-card-name { color: var(--teal); }
.city-card:hover .city-card-hook { color: var(--white); }

/* ---------- FAQ ---------- */

.faq-list { border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 24px 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.06em;
  transition: color 0.3s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-weight: 300;
  font-size: 22px;
  line-height: 1;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--teal); }

.faq-answer { padding: 0 0 28px; max-width: 46em; }
.faq-answer p { color: var(--steel); margin-top: 0; }
.faq-answer p + p { margin-top: 16px; }

/* ---------- plain quote band ---------- */

.quote-plain {
  background: var(--charcoal);
  border-top: 1px solid var(--line);
}

/* ---------- responsive ---------- */

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

@media (max-width: 560px) {
  .city-grid { grid-template-columns: 1fr; }
  .page-hero-content { padding-top: 140px; }
}
