/* ===========================
   SERVICES PAGE
   =========================== */

/* ---- Page Hero ---- */
.page-hero {
  background: linear-gradient(135deg, #0B1632 0%, #0D1B3E 60%, #122040 100%);
  padding-block: clamp(5rem, 10vw, 9rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201,162,39,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.page-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.15;
}
.page-hero p {
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  color: rgba(255,255,255,0.72);
  max-width: 54ch;
  text-align: center;
  margin-inline: auto;
}
.page-hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

/* ---- Services Intro ---- */
.services-intro {
  padding-block: var(--space-16);
  background: var(--color-bg);
}
.services-intro-inner {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
}
.services-intro-inner p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-top: var(--space-6);
}

/* ---- Service Sections ---- */
.service-section {
  padding-block: clamp(4rem, 7vw, 7rem);
  border-top: 1px solid var(--color-divider);
}
.service-section:nth-child(even) {
  background: var(--color-surface-2);
}
.service-section:nth-child(odd) {
  background: var(--color-bg);
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

/* Alternate: odd sections have icon left, even have icon right */
.service-section:nth-child(even) .service-row {
  direction: rtl;
}
.service-section:nth-child(even) .service-row > * {
  direction: ltr;
}

/* Icon / Visual Block */
.service-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon-block {
  width: clamp(260px, 35vw, 380px);
  aspect-ratio: 1;
  background: linear-gradient(145deg, #0D1B3E 0%, #162550 100%);
  border-radius: var(--radius-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.service-icon-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201,162,39,0.06) 1px, transparent 1px);
  background-size: 30px 30px;
}
.service-icon-block::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(201,162,39,0.08);
}
.service-icon-svg {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  background: rgba(201,162,39,0.12);
  border: 1.5px solid rgba(201,162,39,0.3);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
}
.service-anchor-id {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Content Block */
.service-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.service-content .section-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.service-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin: 0;
}
.service-content > p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 55ch;
}

/* Benefits List */
.service-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.service-benefits li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.5;
}
.service-benefits li::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23C9A227' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Service Detail Photo */
.service-detail-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}
.service-detail-photo img {
  width: 280px;
  height: 360px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Service CTAs */
.service-ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-2);
}

/* ---- Bottom CTA Band ---- */
.services-cta-band {
  background: linear-gradient(135deg, #0B1632 0%, #0D1B3E 60%, #122040 100%);
  padding-block: clamp(4rem, 8vw, 7rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.services-cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201,162,39,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
}
.services-cta-band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}
.services-cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.services-cta-band p {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.7);
  max-width: 50ch;
}
.services-cta-band-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .service-row {
    grid-template-columns: 1fr;
  }
  .service-detail-photo {
    display: none;
  }
  .service-section:nth-child(even) .service-row {
    direction: ltr;
  }
  .service-visual {
    order: -1;
  }
  .service-icon-block {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 16/9;
  }
  .service-ctas {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .page-hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .services-cta-band-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
