/* ==========================================================================
   SERVICES section — hub (/services/) + detail (/service/<slug>/)
   Loaded after /css/style.css
   ========================================================================== */

/* ---------- interior page hero ---------- */

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

.page-hero-photo { min-height: 46vh; }

.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.18) 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-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 170px var(--pad) 64px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
}

.page-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.08;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  max-width: 18em;
}

.page-intro {
  color: var(--steel);
  max-width: 46em;
  margin-top: 26px;
}

.page-hero .hero-actions { margin-top: 36px; }

/* breadcrumb */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 26px;
}

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

/* ---------- services card grid (hub + related blocks) ---------- */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.svc-card {
  display: flex;
  flex-direction: column;
  background: var(--charcoal);
  padding: clamp(26px, 3vw, 38px);
  transition: background 0.4s ease;
}

.section-alt .svc-card { background: var(--charcoal); }
.svc-grid-ink .svc-card { background: var(--ink); }
.svc-card:hover { background: var(--charcoal-2); }

.svc-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--steel);
  margin-bottom: 22px;
  transition: color 0.35s ease;
}

.svc-card:hover .svc-num { color: var(--teal); }

.svc-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 15.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.45;
  margin-bottom: 14px;
  transition: color 0.35s ease;
}

.svc-card:hover .svc-name { color: var(--teal); }

.svc-excerpt {
  color: var(--steel);
  font-size: 14.5px;
  line-height: 1.65;
  flex: 1;
}

.svc-more {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  transition: color 0.35s ease;
}

.svc-card:hover .svc-more { color: var(--white); }

.svc-grid-note {
  color: var(--steel);
  font-size: 15px;
  margin-top: 30px;
}

/* related services (detail pages): same cards, no excerpt */

.related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.related-grid .svc-card { min-height: 150px; }
.related-grid .svc-name { margin-bottom: 0; flex: 1; }

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

.svc-article { max-width: 880px; }

.svc-copy p {
  color: var(--steel);
  margin-bottom: 24px;
}

.svc-copy p strong { color: var(--white); font-weight: 500; }

.svc-copy a {
  color: var(--teal);
  border-bottom: 1px solid rgba(91, 174, 182, 0.45);
  padding-bottom: 1px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.svc-copy a:hover { color: var(--white); border-color: var(--white); }

.svc-copy .svc-lead {
  font-size: 19px;
  line-height: 1.8;
}

.svc-copy h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(23px, 2.6vw, 30px);
  line-height: 1.25;
  letter-spacing: 0.04em;
  color: var(--white);
  margin: clamp(44px, 5vw, 64px) 0 22px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  position: relative;
}

.svc-copy h2::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 64px;
  height: 1px;
  background: var(--teal);
}

.svc-copy h3, .svc-copy h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin: 34px 0 16px;
}

.svc-copy ul {
  list-style: none;
  margin: 0 0 26px;
}

.svc-copy ul li {
  color: var(--steel);
  padding: 10px 0 10px 24px;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.svc-copy ul li:first-child { border-top: 1px solid var(--line); }

.svc-copy ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--teal);
}

.svc-copy ul li strong { color: var(--white); font-weight: 500; }

.svc-serving {
  font-size: 15px;
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

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

.svc-faq-list { max-width: 880px; }

.svc-faq-item { padding: 30px 0; border-bottom: 1px solid var(--line); }
.svc-faq-item:first-child { border-top: 1px solid var(--line); }

.svc-faq-item h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 12px;
}

.svc-faq-item p { color: var(--steel); font-size: 16px; margin-top: 10px; }
.svc-faq-item p strong { color: var(--white); font-weight: 500; }

.svc-faq-item a {
  color: var(--teal);
  border-bottom: 1px solid rgba(91, 174, 182, 0.45);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.svc-faq-item a:hover { color: var(--white); border-color: var(--white); }

/* ---------- plain quote band (no video) ---------- */

.quote-plain { background: var(--charcoal); }
.quote-plain .quote-overlay { display: none; }

.quote-emergency {
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.quote-emergency a {
  color: var(--teal);
  border-bottom: 1px solid var(--teal);
  padding-bottom: 4px;
}

.quote-emergency a:hover { color: var(--white); border-color: var(--white); }

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

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

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