/* ==================== SERVICES PAGE - SCOPED STYLES ==================== */
/* All styles are scoped to .page-services to avoid conflicts */

/* ==================== HERO SECTION ==================== */
.page-services .services-hero {
  position: relative;
  height: 60vh;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-services .services-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.page-services .services-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-services .services-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.7) 50%,
    rgba(0, 0, 0, 0.85) 100%
  );
  z-index: 2;
}

.page-services .services-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}

.page-services .services-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--secondary);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.page-services .services-hero-title .title-line {
  display: block;
}

.page-services .services-hero-title .accent {
  font-style: italic;
  color: var(--accent);
}

.page-services .services-hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  max-width: 650px;
  margin: 0 auto;
}

/* ==================== FULL-WIDTH CARD ==================== */
/* Fourth service sits on its own row, spanning the whole grid */
.page-services .collection-card.full-width {
  grid-column: 1 / -1;
  height: 380px;
}

.page-services .collection-card.full-width .card-content {
  max-width: 640px;
}

.page-services .collection-card.full-width .card-title {
  font-size: 2.25rem;
}

@media (max-width: 900px) {
  .page-services .collection-card.full-width {
    height: 400px;
  }

  .page-services .collection-card.full-width .card-title {
    font-size: 1.75rem;
  }
}
