/* ============================================================
   SERVICES PAGE — services.php
============================================================ */

/* ============================================================
   PAGE HERO
============================================================ */
.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: var(--c-white);
  background: var(--c-dark);
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(16,42,29,.55) 0%, rgba(16,42,29,.82) 100%),
    linear-gradient(90deg, rgba(16,42,29,.88) 0%, rgba(16,42,29,.20) 70%);
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  padding-block: 110px 120px;
  max-width: 780px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #C7D2C9;
  margin-bottom: 22px;
}
.breadcrumb a { color: #C7D2C9; transition: color var(--dur) var(--ease); }
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb i { font-size: 10px; opacity: .7; }
.breadcrumb span { color: var(--c-accent); font-weight: 600; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  backdrop-filter: blur(8px);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #E6EDE7;
  margin-bottom: 22px;
}
.hero-eyebrow i { color: var(--c-accent); }

.page-hero-title {
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.08;
  font-weight: 800;
  color: var(--c-white);
  margin: 0 0 20px;
  letter-spacing: -0.025em;
}
.page-hero-text {
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.7;
  color: #D6DED7;
  max-width: 640px;
  margin: 0 0 32px;
}
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ============================================================
   SERVICES INTRO
============================================================ */
.services-intro { border-bottom: 1px solid var(--c-border-light); }

/* ============================================================
   FEATURED SERVICES — ALTERNATING ROWS
============================================================ */
.services-featured { padding-bottom: 96px; }

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 110px;
}
.service-row:last-child { margin-bottom: 0; }
.service-row--reverse .service-row-media { order: 2; }

.service-row-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--c-cream-2);
  box-shadow: var(--shadow-lg);
}
.service-row-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.service-row:hover .service-row-media img { transform: scale(1.04); }

.service-row-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.95);
  color: var(--c-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
}
.service-row-tag i { color: var(--c-secondary); }

.service-row-title {
  font-size: clamp(24px, 2.4vw, 34px);
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.service-row-text {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--c-text-muted);
  margin: 0 0 24px;
}

.service-row-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 22px;
  margin: 0 0 30px;
}
.service-row-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--c-text);
  line-height: 1.5;
}
.service-row-list i {
  color: var(--c-secondary);
  background: rgba(47,107,69,.10);
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   ADDITIONAL SERVICES — CARDS
============================================================ */
.services-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.service-card-media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--c-cream-2);
}
.service-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.service-card:hover .service-card-media img { transform: scale(1.06); }

.service-card-body {
  padding: 26px 26px 30px;
}
.service-card-body h3 {
  font-size: 18px;
  margin: 0 0 10px;
}
.service-card-body p {
  font-size: 14.5px;
  color: var(--c-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   WHY OUR SERVICES
============================================================ */
.services-why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}
.services-why-content > p {
  font-size: 15.5px;
  color: var(--c-text-muted);
  line-height: 1.75;
  margin-bottom: 30px;
}
.services-why-list { display: grid; gap: 20px; }
.services-why-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.services-why-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-md);
  background: var(--c-cream);
  color: var(--c-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.services-why-list strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--c-dark);
  margin-bottom: 4px;
}
.services-why-list p {
  font-size: 14.5px;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin: 0;
}

.services-why-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
  background: var(--c-cream-2);
}
.services-why-media img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   FINAL CTA
============================================================ */
.final-cta {
  position: relative;
  overflow: hidden;
  background: var(--c-primary);
  color: var(--c-white);
}
.final-cta-bg { position: absolute; inset: 0; z-index: 0; }
.final-cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.final-cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(16,42,29,.92) 0%, rgba(16,42,29,.70) 60%, rgba(16,42,29,.55) 100%);
}
.final-cta-inner { position: relative; z-index: 1; padding-block: 96px; }
.final-cta-content { max-width: 640px; }
.final-cta-title {
  font-size: clamp(28px, 3.6vw, 46px);
  color: var(--c-white);
  margin: 0 0 16px;
}
.final-cta-text {
  font-size: 17px;
  color: #D6DED7;
  line-height: 1.7;
  margin: 0 0 30px;
}
.final-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ============================================================
   REVEAL
============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1180px) {
  .services-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .service-row,
  .services-why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 80px;
  }
  .service-row--reverse .service-row-media { order: 0; }
  .services-why-media { aspect-ratio: 4 / 3; }
}

@media (max-width: 900px) {
  .services-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .page-hero { min-height: 460px; }
  .page-hero-inner { padding-block: 90px 100px; }
  .page-hero-actions .btn { flex: 1 1 100%; }

  .service-row-list { grid-template-columns: 1fr; }
  .service-row { margin-bottom: 72px; gap: 32px; }
  .service-row-media { aspect-ratio: 4 / 3; }

  .services-cards { grid-template-columns: 1fr; }

  .final-cta-inner { padding-block: 72px; }
  .final-cta-actions .btn { flex: 1 1 100%; }
}
