/* ============================================================
   JIA LATAM · Services Page Styles
   ============================================================ */

/* ── PAGE HERO VARIANT ────────────────────────────────────── */
.page-hero--services {
  padding-bottom: clamp(48px, 6vw, 80px);
}

.page-hero__inner--services {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

/* ── HERO STATS ───────────────────────────────────────────── */
.svc-hero-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  align-self: stretch;
  justify-content: center;
}

.svc-hero-stat {
  padding: 28px 36px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.svc-hero-stat:last-child {
  border-bottom: none;
}

.svc-hero-stat__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--white);
}

.svc-hero-stat__num span {
  color: var(--gold);
}

.svc-hero-stat__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ── SERVICE INDEX WRAPPER ────────────────────────────────── */
.svc-index {
  padding: var(--section-py) 0;
}

.svc-index__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--section-px);
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 80px);
}

/* ── FEATURED SERVICE CARD (01) ───────────────────────────── */
.svc-featured {
  display: grid;
  grid-template-columns: 80px 1fr 280px;
  gap: 0;
  background: var(--dark);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s var(--ease-out);
}

.svc-featured:hover {
  border-color: var(--gold-dim);
}

.svc-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--gold), var(--terracotta));
}

.svc-featured__badge {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--border);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  padding-left: 16px;
  transition: color 0.3s;
  user-select: none;
}

.svc-featured:hover .svc-featured__badge {
  color: var(--border-light);
}

.svc-featured__body {
  padding: clamp(36px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-left: 1px solid var(--border);
}

.svc-featured__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.svc-tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--gold-dim);
  border-radius: 2px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.svc-featured__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3.5vw, 44px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--white);
}

.svc-featured__lead {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.5;
  color: var(--off-white);
  letter-spacing: -0.01em;
}

.svc-featured__body-text {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.85;
  max-width: 68ch;
}

.svc-featured__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.svc-featured__list li {
  font-size: 13px;
  font-weight: 400;
  color: var(--off-white);
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.svc-featured__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

.svc-featured__clients {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.svc-clients-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.svc-clients-list {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
}

.svc-featured__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  border-left: 1px solid var(--border);
  background: linear-gradient(135deg, var(--dark) 0%, var(--black) 100%);
}

.svc-featured__visual svg {
  width: 100%;
  max-width: 240px;
  height: auto;
  opacity: 0.7;
  transition: opacity 0.4s var(--ease-out);
}

.svc-featured:hover .svc-featured__visual svg {
  opacity: 1;
}

/* ── SERVICE GRID (02–09) ─────────────────────────────────── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}

/* ── SERVICE CARD ─────────────────────────────────────────── */
.svc-card {
  background: var(--dark);
  padding: clamp(28px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s var(--ease-out);
}

.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--terracotta));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

.svc-card:hover {
  background: var(--surface);
}

.svc-card:hover::after {
  transform: scaleX(1);
}

.svc-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.svc-card__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--gold);
  line-height: 1;
}

.svc-card__icon {
  width: 24px;
  height: 24px;
  color: var(--gold-dim);
  opacity: 0.7;
  transition: all 0.35s var(--ease-out);
  flex-shrink: 0;
}

.svc-card:hover .svc-card__icon {
  color: var(--gold);
  opacity: 1;
  transform: rotate(-6deg) scale(1.08);
}

.svc-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.02em;
}

.svc-card__desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  flex: 1;
}

.svc-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.svc-card__list li {
  font-size: 12px;
  font-weight: 400;
  color: var(--off-white);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.svc-card:hover .svc-card__list li {
  opacity: 1;
}

.svc-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

.svc-card__fairs {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--dim);
  text-transform: uppercase;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
  transition: color 0.2s;
}

.svc-card:hover .svc-card__fairs {
  color: var(--muted);
}

/* ── APPROACH / PROCESS ───────────────────────────────────── */
.svc-approach {
  padding: var(--section-py) 0;
  background: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.svc-approach__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--section-px);
}

.svc-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: clamp(40px, 5vw, 64px);
}

.svc-step {
  background: var(--black);
  padding: clamp(28px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: background 0.3s var(--ease-out);
}

.svc-step:hover {
  background: var(--surface);
}

.svc-step__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.svc-step__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.02em;
}

.svc-step__desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .page-hero__inner--services {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .svc-hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .svc-hero-stat {
    flex: 1 1 160px;
    border-right: 1px solid var(--border);
    border-bottom: none;
  }

  .svc-hero-stat:last-child {
    border-right: none;
  }

  .svc-featured {
    grid-template-columns: 1fr;
  }

  .svc-featured__badge {
    writing-mode: horizontal-tb;
    font-size: 48px;
    padding: 28px 40px 0;
  }

  .svc-featured__visual {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 32px;
    aspect-ratio: 3/1;
  }

  .svc-featured__visual svg {
    max-width: 160px;
  }

  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }

  .svc-steps {
    grid-template-columns: 1fr;
  }

  .svc-hero-stats {
    flex-direction: column;
  }

  .svc-hero-stat {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .svc-hero-stat:last-child {
    border-bottom: none;
  }
}
