/* ============================================================
   Service page template — used by every page under /services/.
   Each service page only changes copy/images, not structure.
   ============================================================ */

.service-hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 460px;
  overflow: hidden;
  background: var(--dark);
}
.service-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.85);
}
.service-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(10, 16, 24, 0.85) 0%,
    rgba(10, 16, 24, 0.35) 55%,
    rgba(10, 16, 24, 0.5) 100%);
}
.service-hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 80px) var(--gutter) 80px;
  color: var(--white);
  max-width: var(--max-w);
  margin: 0 auto;
}
.service-hero__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.service-hero__title {
  font-family: var(--ff-heading);
  font-size: 72px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 16px;
  max-width: 800px;
}
.service-hero__sub {
  font-size: 18px;
  color: var(--text-light);
  max-width: 620px;
  line-height: 1.7;
}

/* Intro section */
.service-intro {
  background: var(--cream);
  padding: var(--section-py) 0;
}
.service-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.service-intro__copy {
  font-size: 18px;
  line-height: 1.85;
  color: var(--text-dark);
}
.service-intro__copy p + p { margin-top: 1em; }

/* Features grid (3-column) */
.service-features {
  background: var(--cream-warm);
  padding: var(--section-py) 0;
}
.service-features .container { text-align: center; }
.service-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
  margin-top: 56px;
}
.service-feature {
  background: var(--white);
  padding: 40px 32px;
  border-top: 3px solid var(--gold);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}
.service-feature i {
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.service-feature h3 {
  font-family: var(--ff-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.service-feature p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* Process / steps */
.service-process {
  background: var(--dark);
  padding: var(--section-py) 0;
  color: var(--white);
}
.service-process .eyebrow         { color: var(--gold-light); }
.service-process .section-heading { color: var(--white); }
.service-process .container       { text-align: center; }
.service-process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: left;
  margin-top: 56px;
}
.service-step__num {
  font-family: var(--ff-heading);
  font-size: 48px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}
.service-step__title {
  font-family: var(--ff-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.service-step__desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.65;
}

/* FAQ */
.service-faq {
  background: var(--cream);
  padding: var(--section-py) 0;
}
.service-faq .container { max-width: 880px; }
.service-faq__heading {
  font-family: var(--ff-heading);
  font-size: 44px;
  text-align: center;
  margin-bottom: 48px;
  color: var(--text-dark);
}
.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 20px 0;
}
.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--ff-heading);
  font-size: 20px;
  color: var(--text-dark);
  cursor: pointer;
  font-weight: 600;
  width: 100%;
  text-align: left;
}
.faq-item__q i {
  color: var(--gold);
  transition: transform var(--t-base) ease;
}
.faq-item.open .faq-item__q i { transform: rotate(180deg); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base) ease, padding var(--t-base) ease;
  color: var(--text-mid);
  font-size: 16px;
  line-height: 1.7;
}
.faq-item.open .faq-item__a {
  max-height: 400px;
  padding-top: 14px;
}

/* Related projects */
.service-related {
  background: var(--cream-warm);
  padding: var(--section-py) 0;
}
.service-related .container       { text-align: center; }
.service-related .section-heading { margin-bottom: 56px; }
.service-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

@media (max-width: 1024px) {
  .service-hero__title { font-size: 52px; }
  .service-intro__grid { grid-template-columns: 1fr; gap: 32px; }
  .service-features__grid,
  .service-related__grid { grid-template-columns: repeat(2, 1fr); }
  .service-process__steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .service-hero        { height: 60vh; min-height: 380px; }
  .service-hero__content { padding: calc(var(--nav-h) + 48px) var(--gutter-sm) 48px; }
  .service-hero__title   { font-size: 36px; }
  .service-hero__sub     { font-size: 16px; }
  .service-intro, .service-features, .service-process, .service-faq, .service-related { padding: var(--section-py-sm) 0; }
  .service-features__grid,
  .service-related__grid { grid-template-columns: 1fr; }
  .service-process__steps { grid-template-columns: 1fr; }
  .service-faq__heading { font-size: 32px; }
}
