/* ═══════════════════════════════════════════════
   ehealth.ae — Service Landing Pages Styles
   ═══════════════════════════════════════════════ */

/* ════════════════════════════════════
   SERVICE HERO
   ════════════════════════════════════ */
.service-hero {
  padding: calc(var(--nav-h) + 64px) 40px 72px;
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}
.service-hero--teal   { background: linear-gradient(135deg, #062819 0%, #0D9E75 60%, #1DBFA0 100%); }
.service-hero--navy   { background: linear-gradient(135deg, #040F1E 0%, #0B2A58 55%, #1A5FAF 100%); }
.service-hero--gold   { background: linear-gradient(135deg, #1A0C00 0%, #7A4A08 55%, #C47010 100%); }
.service-hero--purple { background: linear-gradient(135deg, #0E0420 0%, #3A1280 55%, #6B2FBF 100%); }
.service-hero--coral  { background: linear-gradient(135deg, #1A0500 0%, #882010 55%, #C83818 100%); }
.service-hero--slate  { background: linear-gradient(135deg, #04101A 0%, #0A3850 55%, #1A6888 100%); }

.service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='25' cy='25' r='1' fill='%23ffffff' fill-opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Decorative blob */
.service-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
  pointer-events: none;
}
.service-hero__blob--1 { width: 500px; height: 500px; background: rgba(255,255,255,0.3); top: -150px; right: -80px; }
.service-hero__blob--2 { width: 300px; height: 300px; background: rgba(255,255,255,0.2); bottom: -80px; left: 10%; }

.service-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.service-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  padding: 6px 14px 6px 8px;
  font-size: 0.76rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
  width: fit-content;
}
.service-hero__badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #1DBFA0;
  animation: pulseDot 2s infinite;
}

.service-hero h1 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
  line-height: 1.12;
}
.service-hero h1 em { font-style: normal; color: rgba(255,255,255,0.75); font-weight: 300; }

.service-hero__desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.72;
  max-width: 520px;
  margin-bottom: 30px;
}

.service-hero__stats {
  display: flex;
  gap: 28px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.hero-stat .val {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
}
.hero-stat .val span { color: #1DBFA0; }
.hero-stat .lbl { font-size: 0.72rem; color: rgba(255,255,255,0.5); margin-top: 4px; }

.service-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* Service mini booking widget */
.service-booking-widget {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.service-booking-widget h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.service-booking-widget .sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.widget-price-display {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.widget-price-display .from { font-size: 0.72rem; color: rgba(255,255,255,0.45); }
.widget-price-display .price { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; color: #1DBFA0; }
.widget-price-display .was { font-size: 0.78rem; color: rgba(255,255,255,0.4); text-decoration: line-through; }
.widget-save { display: inline-block; background: rgba(13,158,117,0.25); color: #1DBFA0; padding: 2px 8px; border-radius: 100px; font-size: 0.68rem; font-weight: 700; }

/* ════════════════════════════════════
   SERVICE FEATURES SECTION
   ════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  transition: transform 0.22s, box-shadow 0.22s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--teal-lt);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; color: var(--teal); }
.feature-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.feature-card p  { font-size: 0.83rem; color: var(--text-sub); line-height: 1.65; }

/* ════════════════════════════════════
   SERVICE PACKAGES TABLE
   ════════════════════════════════════ */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pkg-card {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.25s, border-color 0.25s;
}
.pkg-card:hover { box-shadow: var(--shadow-md); border-color: var(--teal); }
.pkg-card--featured { border-color: var(--teal); box-shadow: var(--shadow-md); }
.pkg-card__head {
  padding: 22px 20px 18px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  position: relative;
}
.pkg-card--featured .pkg-card__head { background: var(--teal-lt); border-bottom-color: rgba(13,158,117,0.2); }
.pkg-popular {
  position: absolute;
  top: -1px; right: 20px;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 700;
  padding: 4px 12px 5px;
  border-radius: 0 0 8px 8px;
  letter-spacing: 0.04em;
}
.pkg-card__head h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.pkg-card__head p  { font-size: 0.78rem; color: var(--text-sub); }
.pkg-card__price { padding: 18px 20px; border-bottom: 1px solid var(--gray-200); }
.pkg-card__price .main-price { font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; color: var(--navy); letter-spacing: -0.04em; }
.pkg-card__price .main-price span { font-size: 0.85rem; font-weight: 500; color: var(--gray-500); }
.pkg-card__price .was-price { font-size: 0.82rem; color: var(--gray-400); text-decoration: line-through; margin-top: 2px; }
.pkg-card__price .saving { font-size: 0.72rem; font-weight: 700; background: var(--teal-lt); color: var(--teal-dark); padding: 2px 8px; border-radius: 100px; display: inline-block; margin-top: 6px; }
.pkg-card__features { padding: 18px 20px; }
.pkg-feature {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 5px 0;
  font-size: 0.83rem;
  color: var(--text-sub);
}
.pkg-feature::before {
  content: '';
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--teal-lt);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%230D9E75' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
  flex-shrink: 0;
  margin-top: 1px;
}
.pkg-card__cta { padding: 0 20px 22px; }

/* ════════════════════════════════════
   PROCESS STEPS (service pages)
   ════════════════════════════════════ */
.process-list { display: flex; flex-direction: column; gap: 0; }
.process-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-200);
  position: relative;
}
.process-step:last-child { border-bottom: none; }
.process-step__num {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}
.process-step h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.process-step p  { font-size: 0.85rem; color: var(--text-sub); line-height: 1.68; }

/* ════════════════════════════════════
   INFO SPLIT (2-col text + visual)
   ════════════════════════════════════ */
.info-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.info-split--reverse .info-split__visual { order: -1; }
.info-split__visual {
  background: var(--gray-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.info-split__visual .visual-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-split__visual .visual-inner svg { width: 40%; height: 40%; }
.info-check-list { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.info-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.6;
}
.info-check::before {
  content: '';
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--teal-lt);
  background-image: url("data:image/svg+xml,%3Csvg width='11' height='9' viewBox='0 0 11 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4.5l3.5 3.5 5.5-7' stroke='%230D9E75' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ════════════════════════════════════
   INDICATIONS GRID
   ════════════════════════════════════ */
.indications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.indication-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.indication-card:hover { transform: translateY(-3px); border-color: var(--teal); }
.indication-card .ic-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--teal-lt);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.indication-card .ic-icon svg { width: 24px; height: 24px; color: var(--teal); }
.indication-card h4 { font-size: 0.85rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.indication-card p  { font-size: 0.76rem; color: var(--text-sub); line-height: 1.55; }

/* ════════════════════════════════════
   BREADCRUMB
   ════════════════════════════════════ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: calc(var(--nav-h) + 14px) 40px 0;
  max-width: 1280px;
  margin: 0 auto;
}
.breadcrumb a { font-size: 0.78rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.breadcrumb a:hover { color: rgba(255,255,255,0.9); }
.breadcrumb span { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.breadcrumb .current { font-size: 0.78rem; color: rgba(255,255,255,0.85); font-weight: 500; }

/* ════════════════════════════════════
   RESPONSIVE — SERVICE PAGES
   ════════════════════════════════════ */
@media (max-width: 1024px) {
  .service-hero__inner { grid-template-columns: 1fr; }
  .service-booking-widget, .service-booking-widget { max-width: 460px; }
  .packages-grid { grid-template-columns: 1fr 1fr; }
  .indications-grid { grid-template-columns: repeat(2, 1fr); }
  .info-split { grid-template-columns: 1fr; gap: 40px; }
  .info-split--reverse .info-split__visual { order: 0; }
  .features-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .service-hero { padding: calc(var(--nav-h) + 36px) 20px 52px; }
  .service-hero h1 { font-size: 1.9rem; }
  .service-hero__actions { flex-direction: column; align-items: stretch; }
  .service-hero__actions .btn { justify-content: center; }
  .packages-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .indications-grid { grid-template-columns: 1fr 1fr; }
  .breadcrumb { padding: calc(var(--nav-h) + 10px) 20px 0; }
}
