/* ═══════════════════════════════════════
   SERVICES PAGE — Page-specific styles
   ═══════════════════════════════════════ */

.section-header .section-desc {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ── HERO OVERRIDE (BUG 8 FIX) ────────── */
.services-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--y-space-6xl) 0;
  text-align: center;
}

.services-hero .container {
  position: relative;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Dark overlay matching the design */
  background: linear-gradient(to bottom, rgba(26, 26, 46, 0.85), rgba(26, 26, 46, 0.95));
}

.services-hero .section-badge {
  color: var(--y-color-secondary);
  background: rgba(212, 168, 50, 0.15);
  border: 1px solid rgba(212, 168, 50, 0.2);
  margin-bottom: var(--y-space-xl);
}

.services-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  /* Match the large text from the design */
  margin-bottom: var(--y-space-l);
}

.services-hero .hero-desc {
  color: #d1d5db;
  max-width: 640px;
  margin: 0 auto;
  font-size: var(--y-font-l);
}

/* ── SERVICE ROW ─────────── */
.service-row {
  display: flex;
  gap: 0;
  background: var(--y-color-white);
  border-radius: var(--y-radius-2xl);
  overflow: hidden;
  border: 1px solid var(--y-color-border);
  transition: all var(--y-transition-smooth);
  margin-bottom: 2rem;
}

.service-row:hover {
  box-shadow: var(--y-shadow-l);
}

.service-row.reverse {
  flex-direction: row-reverse;
}

.service-img {
  width: 380px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.service-img img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform var(--y-transition-spring);
}

.service-row:hover .service-img img {
  transform: scale(1.05);
}

.service-content {
  flex: 1;
  padding: var(--y-space-3xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-number {
  color: var(--y-color-primary);
  font-size: .875rem;
  font-weight: 600;
}

.service-title {
  font-weight: 700;
  font-size: 1.5rem;
  margin: .5rem 0;
}

.service-desc {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-icon {
  color: var(--y-color-primary);
}

.feature-icon svg,
.feature-icon i {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ── PACKAGE CARD ────────── */
.pkg-card {
  background: var(--y-color-white);
  border-radius: var(--y-radius-2xl);
  padding: var(--y-space-xxl);
  border: 2px solid var(--y-color-border);
  transition: all var(--y-transition-smooth);
  position: relative;
  text-align: center;
}

.pkg-card:hover {
  border-color: rgba(139, 105, 20, 0.3);
}

.pkg-card.popular {
  border-color: var(--y-color-primary);
  box-shadow: var(--y-shadow-l);
  transform: scale(1.02);
}

.popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--y-color-primary);
  color: var(--y-color-white);
  padding: var(--y-space-xs) var(--y-space-l);
  border-radius: var(--y-radius-full);
  font-size: var(--y-font-s);
  white-space: nowrap;
}

.pkg-icon {
  font-size: 2rem;
  margin-bottom: .5rem;
}

.pkg-title {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: .25rem;
}

.pkg-price {
  font-size: 2rem;
  font-weight: 800;
  color: #94a3b8;
  margin: .5rem 0;
}

.pkg-card.popular .pkg-price {
  color: var(--y-color-primary);
}

.pkg-card:nth-child(3) .pkg-price {
  color: var(--y-color-accent);
  /* Royal package color */
}

.pkg-divider {
  margin: 1rem 0;
  border: none;
  border-top: 1px solid var(--y-color-border);
}

.pkg-features {
  text-align: right;
  margin-bottom: 1.5rem;
}

.pkg-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: .5rem;
}

.pkg-feature-icon {
  color: var(--y-color-primary);
}

.pkg-feature-icon svg,
.pkg-feature-icon i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.pkg-btn-wrapper {
  margin-top: auto;
}

/* ── CTA ──────────────────── */
.cta-box {
  background: linear-gradient(to left, var(--y-color-dark), var(--y-color-dark-2));
  border-radius: var(--y-radius-2xl);
  padding: var(--y-space-5xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box h2 {
  font-size: var(--y-font-xxxl);
  margin-bottom: var(--y-space-m);
}

.cta-glow {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}

.cta-glow-gold {
  position: absolute;
  top: 0;
  left: 0;
  width: 128px;
  height: 128px;
  background: var(--y-color-secondary);
  border-radius: 50%;
  filter: blur(48px);
}

.cta-glow-burgundy {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 160px;
  height: 160px;
  background: var(--y-color-accent);
  border-radius: 50%;
  filter: blur(48px);
}

.cta-desc {
  color: #d1d5db;
  font-size: var(--y-font-l);
  margin-bottom: var(--y-space-3xl);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: var(--y-space-l);
  justify-content: center;
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */

@media (max-width: 1200px) {
  .service-img {
    width: 320px;
  }

  .service-content {
    padding: var(--y-space-xxl);
  }
}

@media (max-width: 992px) {
  .service-img {
    width: 280px;
  }

  .pkg-card.popular {
    transform: none;
  }
}

@media (max-width: 768px) {

  .service-row,
  .service-row.reverse {
    flex-direction: column;
  }

  .service-img {
    width: 100%;
    height: 224px;
  }

  .service-content {
    padding: var(--y-space-xxl);
  }

  .cta-box {
    padding: var(--y-space-3xl);
  }
}

@media (max-width: 480px) {
  .service-img {
    height: 180px;
  }

  .service-content {
    padding: var(--y-space-l);
  }

  .pkg-card {
    padding: var(--y-space-l);
  }

  .cta-box {
    padding: var(--y-space-xxl);
  }

  .cta-desc {
    font-size: var(--y-font-m);
  }
}