/* ===== Services — page-specific styles ===== */

/* ---- Hero ---- */
.services-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.services-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.page-kicker {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--taupe-deep);
  background: var(--cream);
  border: 1px solid var(--taupe-light);
}

.hero-lead {
  font-size: 1.06rem;
  font-weight: 370;
  color: #3a3430;
  max-width: 52ch;
  margin-bottom: 20px;
}

.services-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
  height: 380px;
}

.hero-img-tile {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.hero-img-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tile-a {
  grid-row: 1 / 3;
}

.tile-b {
  grid-column: 2;
  grid-row: 1;
}

.tile-c {
  grid-column: 2;
  grid-row: 2;
}

/* ---- Service features ---- */
.service-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}

.service-feature-reverse {
  direction: rtl;
}

.service-feature-reverse > * {
  direction: ltr;
}

.service-feature-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 420px;
  box-shadow: var(--shadow-hover);
}

.service-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.service-feature:hover .service-feature-img img {
  transform: scale(1.03);
}

.service-feature-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--taupe-deep);
  color: #fff;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.service-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe);
  font-family: "Montserrat", sans-serif;
}

.service-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: #2c2824;
  line-height: 1.4;
  margin-bottom: 16px;
}

.service-feature-content .btn {
  margin-top: 8px;
}

.text-link {
  color: var(--taupe-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  font-size: 0.88rem;
  font-weight: 550;
  transition: color var(--transition);
}

.text-link:hover {
  color: #7f6250;
}

/* ---- CTA ---- */
.services-cta {
  padding: 80px 0 20px;
  border-bottom: none;
}

.cta-box {
  background: var(--surface);
  border: 1px solid rgba(185, 150, 130, 0.2);
  border-radius: 28px;
  padding: 52px 48px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.cta-box h2 {
  margin-bottom: 12px;
}

.cta-box p {
  color: #3a3430;
  max-width: 56ch;
  margin: 0 auto 0;
}

.cta-box .muted {
  margin-top: 12px;
}

.cta-box .btn-row {
  justify-content: center;
}

/* ---- Footer ---- */
footer {
  border-top: 1px solid var(--line);
  margin-top: 0;
  padding: 30px 0 18px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.footer-links a:hover {
  color: var(--taupe-deep);
  border-bottom-color: var(--taupe);
}

.footer-links span {
  color: var(--taupe-light);
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .services-hero-inner {
    grid-template-columns: 1fr;
    padding-top: 52px;
    padding-bottom: 52px;
    gap: 32px;
  }

  .services-hero-grid {
    height: 240px;
  }

  .service-feature,
  .service-feature-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 28px;
    padding: 60px 0;
  }

  .service-feature-img {
    height: 280px;
  }
}

@media (max-width: 700px) {
  .services-hero-grid {
    display: none;
  }

  .services-hero-inner {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }

  .cta-box {
    padding: 36px 22px;
  }

  .btn-row .btn {
    width: 100%;
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
