/* ============================================================
   SERVICE.CSS - Shared template for all pages/services/*.html
   ============================================================ */

/* ========== HERO ========== */
.service-hero {
  padding: 140px 0 80px;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(201,169,97,0.12) 0%, transparent 50%),
    linear-gradient(180deg, #FAF8F2 0%, #F5F0E3 100%);
  position: relative; overflow: hidden;
}
.service-hero-deco {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
}
.service-hero-deco::before {
  content: ''; position: absolute; top: 10%; left: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(10,22,40,0.07), transparent 70%); border-radius: 50%;
}
.service-hero-deco::after {
  content: ''; position: absolute; bottom: 20%; right: -120px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(201,169,97,0.1), transparent 70%); border-radius: 50%;
}
.service-hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 60px; align-items: center;
}

.service-breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--gold-3);
  margin-bottom: 20px; transition: color 0.2s;
}
.service-breadcrumb:hover { color: var(--navy); }
.service-breadcrumb svg { transform: rotate(180deg); }

.service-hero-icon {
  width: 72px; height: 72px; border-radius: 20px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--gold); display: grid; place-items: center;
  margin-bottom: 24px;
  box-shadow: 0 16px 40px rgba(10,22,40,0.2);
}
.service-hero h1 { margin: 0 0 24px; }
.service-hero h1 span { color: var(--gold-3); }
.service-hero-lede {
  font-size: 18px; color: var(--text-dim); max-width: 540px;
  line-height: 1.75; margin-bottom: 36px;
}
.service-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }

.service-hero-badges {
  display: flex; gap: 24px; align-items: center;
  padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap;
}
.service-hero-badge {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-dim); font-weight: 500;
}
.service-hero-badge svg { color: var(--gold); flex-shrink: 0; }

.service-hero-visual { position: relative; }
.service-hero-img {
  aspect-ratio: 4/3; border-radius: 24px; overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(10,22,40,0.3);
}
.service-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-hero-float {
  position: absolute; bottom: -20px; left: -20px;
  background: #fff; border-radius: 16px; padding: 16px 22px;
  box-shadow: 0 20px 40px rgba(10,22,40,0.12);
  display: flex; align-items: center; gap: 14px;
}
.service-hero-float-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--gold); display: grid; place-items: center; flex-shrink: 0;
}
.service-hero-float-label { font-size: 11px; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.service-hero-float-value { font-size: 20px; font-weight: 800; color: var(--navy); line-height: 1.2; }

/* ========== EXPLAINER (what is) ========== */
.service-explainer {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 80px; align-items: center;
}
.service-explainer-text h2 { margin: 16px 0 20px; }
.service-explainer-text h2 span { color: var(--gold-3); }
.service-explainer-text p { font-size: 16px; color: var(--text-dim); line-height: 1.8; margin-bottom: 16px; }

.service-explainer-highlights { display: grid; gap: 20px; margin-top: 32px; }
.service-highlight { display: flex; align-items: flex-start; gap: 16px; }
.service-highlight-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: var(--bg-soft); color: var(--gold-3);
  display: grid; place-items: center;
  border: 1px solid var(--line);
}
.service-highlight-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.service-highlight-desc { font-size: 13px; color: var(--text-dim); line-height: 1.6; }

.service-explainer-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border-radius: 24px; padding: 32px; color: #fff;
}
.service-explainer-card-header {
  display: flex; align-items: center; gap: 14px; margin-bottom: 28px;
  padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.service-explainer-card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--gold); color: var(--navy);
  display: grid; place-items: center; flex-shrink: 0;
}
.service-explainer-card-title { font-size: 17px; font-weight: 700; }
.service-explainer-card-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
}
.service-explainer-card-row span { color: rgba(255,255,255,0.65); }
.service-explainer-card-row strong { color: #fff; font-weight: 700; }
.service-explainer-card-note {
  margin-top: 20px; font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.5;
}

/* ========== TWO-COL SECTIONS ========== */
.svc-two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.svc-two-col-reverse { direction: rtl; }
.svc-two-col-reverse > * { direction: ltr; text-align: right; }

.svc-two-col-img { position: relative; }
.svc-two-col-img img {
  width: 100%; aspect-ratio: 4/3; border-radius: 24px; overflow: hidden;
  object-fit: cover; display: block;
  box-shadow: 0 24px 60px rgba(10,22,40,0.1);
}

.svc-two-col-text h2 { margin: 16px 0 20px; }
.svc-two-col-text h2 span { color: var(--gold-3); }
.svc-two-col-text > p { font-size: 17px; color: var(--text-dim); line-height: 1.8; margin-bottom: 28px; }

.svc-checklist {
  list-style: none; display: grid; gap: 16px; margin-bottom: 8px;
}
.svc-checklist li {
  display: flex;
  flex-direction: row;
  direction: rtl;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px; color: var(--text-dim); line-height: 1.65; text-align: right;
}
.svc-checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px; margin-top: 2px;
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A68948' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat,
              #F7F5EF;
  border: 1px solid rgba(201,169,97,0.3);
}
.svc-checklist li strong { color: var(--navy); font-weight: 700; }

/* ========== WHY IMPORTANT ========== */
.service-why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.service-why-card {
  background: #fff; border-radius: 20px; padding: 32px 28px;
  border: 1px solid var(--line); transition: all 0.3s; position: relative;
}
.service-why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(10,22,40,0.08);
  border-color: var(--gold);
}
.service-why-num {
  font-size: 48px; font-weight: 900; color: var(--bg-soft);
  line-height: 1; margin-bottom: 16px; letter-spacing: -0.03em;
}
.service-why-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--gold); display: grid; place-items: center; margin-bottom: 20px;
  transition: transform 0.3s;
}
.service-why-card:hover .service-why-icon { transform: scale(1.08) rotate(-4deg); }
.service-why-title { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.service-why-desc { font-size: 13px; color: var(--text-dim); line-height: 1.7; }

/* ========== WHY US ========== */
.service-why-us-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.service-why-us-card {
  background: var(--bg-soft); border-radius: 20px; padding: 32px 28px;
  border: 1px solid var(--line); transition: all 0.3s;
}
.service-why-us-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(10,22,40,0.08);
}
.service-why-us-card.featured {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border-color: transparent;
}
.service-why-us-card.featured h3 { color: #fff; }
.service-why-us-card.featured p { color: rgba(255,255,255,0.75); }
.service-why-us-card.featured .service-why-us-icon { background: var(--gold); color: var(--navy); }
.service-why-us-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: #fff; color: var(--gold-3);
  display: grid; place-items: center; margin-bottom: 20px;
  border: 1px solid var(--line); transition: transform 0.3s;
}
.service-why-us-card:hover .service-why-us-icon { transform: scale(1.08); }
.service-why-us-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.service-why-us-card p { font-size: 13px; color: var(--text-dim); line-height: 1.7; }

/* ========== ACTIVE SERVICE HIGHLIGHT ========== */
.service-full.active-service { border-color: var(--gold); }

/* ========== STATS LIGHT ========== */
.stats-light .stat-cell { border-inline-start-color: var(--line); }
.stats-light .stat-label { color: var(--text-dim); }

/* ========== RESPONSIVE ========== */
@media (min-width: 768px) and (max-width: 1120px) {
  .svc-two-col-img { display: none; }
  .svc-two-col-text { text-align: center; max-width: 80%; margin-inline: auto; }
  .svc-checklist li { justify-content: center; }
  .service-hero-inner > div:first-child { text-align: center; }
  .service-hero-icon { margin-inline: auto; }
  .service-hero-lede { margin-inline: auto; max-width: 80%; }
  .service-hero-cta { justify-content: center; }
  .service-hero-badges { justify-content: center; }
  .service-hero-visual { margin-inline: auto; max-width: 60%; }
}

@media (max-width: 1120px) {
  .service-hero-inner { grid-template-columns: 1fr; }
  .service-hero-visual { max-width: 500px; }
  .svc-two-col { grid-template-columns: 1fr; gap: 40px; }
  .svc-two-col-reverse { direction: ltr; }
  .services-full { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .svc-two-col-img { display: none; }
  .service-hero { padding: 100px 0 52px; }
  .service-hero-lede { font-size: 15px; margin-bottom: 24px; }
  .service-hero-badges { gap: 14px; padding-top: 20px; justify-content: center; }
  .service-hero-badge { font-size: 12px; }
  .service-hero-float { bottom: -16px; left: -8px; padding: 12px 16px; }
  .service-hero-float-value { font-size: 16px; }
  .svc-two-col { gap: 28px; }
  .svc-checklist li { font-size: 14px; }
  .services-full { grid-template-columns: 1fr; gap: 16px; }
  .service-full { padding: 28px 24px; border-radius: 16px; }

  /* ---- Centered text on mobile ---- */
  .service-hero-inner > div:first-child,
  .svc-two-col-text { text-align: center; }

  .service-hero-icon { margin-inline: auto; }
  .service-hero-lede { margin-inline: auto; }
  .service-hero-cta { justify-content: center; }
  .service-breadcrumb { display: none; }

  .svc-checklist { gap: 20px; }
  .svc-checklist li {
    justify-content: flex-start;
    align-items: flex-start;
    padding: 14px 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--line);
    font-size: 14px;
    line-height: 1.7;
  }
  .svc-checklist li::before {
    margin-top: 3px;
    width: 22px; height: 22px;
  }
  .svc-checklist li strong {
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
  }
  .eyebrow { justify-content: center; }
}
