/* ============ Services page ============ */

/* Active nav link */
.nav-links .nav-active {
  border-bottom: 2px solid var(--lime);
  padding-bottom: 2px;
}

/* ============ Header ============ */
.services-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(40px,6vw,72px) clamp(24px,5vw,64px) clamp(28px,3vw,40px);
}
.services-hero-bg,
.services-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.services-hero-bg { background: url('../assets/footer-train.jpg') right 32%/cover no-repeat; opacity: .5; }
.services-hero-bg { background: image-set(url('../assets/footer-train.webp') type('image/webp'), url('../assets/footer-train.jpg') type('image/jpeg')) right 32%/cover no-repeat; }
.services-hero-scrim {
  background:
    linear-gradient(90deg, #f2f1ea 32%, rgba(242,241,234,.6) 55%, rgba(242,241,234,.05) 100%),
    linear-gradient(180deg, rgba(242,241,234,.15) 0%, #f2f1ea 99%);
}
.services-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.services-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px,7vw,92px);
  line-height: .95;
  letter-spacing: -.045em;
}
.services-title .highlight {
  display: inline-block;
  background: var(--ink);
  color: var(--lime-bright);
  padding: 0 .24em;
  border-radius: 16px;
}
.services-intro {
  font-size: clamp(16px,1.6vw,20px);
  line-height: 1.5;
  color: var(--body);
  max-width: 58ch;
  margin-top: 26px;
}

/* ============ Pillars ============ */
.pillar {
  border-top: 1px solid rgba(20,21,13,.3);
  padding: clamp(40px,5vw,64px) clamp(24px,5vw,64px);
}
.pillar-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.pillar-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(48px,7vw,96px);
  color: var(--faint);
  line-height: .9;
}
.pillar-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px,5vw,60px);
  letter-spacing: -.03em;
}
.pillar-intro {
  font-size: 16px;
  color: var(--body);
  max-width: 40ch;
  flex: 1;
  min-width: 260px;
}
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.pillar-card {
  border-radius: 16px;
  padding: 24px;
  transition: background .3s;
}
.pillar-card:hover { background: rgba(255,255,255,.68); }
.pillar-card-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 12px;
}
.pillar-card-list {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--body);
  line-height: 2;
}

/* Dark pillar (Development) */
.pillar-dark {
  background: rgba(20,21,13,.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--bg);
}
.pillar-dark .pillar-num { color: rgba(203,232,0,.45); }
.pillar-dark .pillar-title { color: var(--lime); }
.pillar-dark .pillar-intro { color: #c9cabb; }
.pillar-card-outline {
  border: 1px solid rgba(255,255,255,.18);
  transition: border-color .3s;
}
.pillar-card-outline:hover { background: none; border-color: var(--lime); }
.pillar-card-outline .pillar-card-list { color: #a9aa9c; }

/* ============ Process ============ */
.process {
  border-top: 1px solid rgba(20,21,13,.3);
  padding: clamp(48px,6vw,76px) clamp(24px,5vw,64px);
}
.process-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(32px,5vw,52px);
  letter-spacing: -.03em;
  margin-bottom: 36px;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(20px,2.5vw,32px);
}
.process-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 56px;
  color: var(--faint);
  line-height: 1;
}
.process-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  margin: 10px 0 6px;
}
.process-step p { font-size: 15px; color: var(--body); }

/* ============ Plans ============ */
.plans {
  border-top: 1px solid rgba(20,21,13,.3);
  padding: clamp(48px,6vw,76px) clamp(24px,5vw,64px);
}
.plans-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(32px,5vw,52px);
  letter-spacing: -.03em;
  margin-bottom: 36px;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: start;
}
.plan-card {
  border-radius: 20px;
  padding: 30px;
}
.plan-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
}
.plan-price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 42px;
  margin: 12px 0 4px;
}
.plan-price .per {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}
.plan-desc {
  font-size: 15px;
  color: var(--body);
  margin-bottom: 18px;
}
.plan-list {
  border-top: 1.5px solid rgba(20,21,13,.16);
  padding-top: 16px;
  font-size: 15px;
  color: var(--body);
  line-height: 2;
}
.plan-card-featured {
  background: var(--ink);
  color: var(--bg);
  position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,.22);
}
.plan-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--lime);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
}
.plan-card-featured .plan-price { color: var(--lime); }
.plan-card-featured .plan-price .per { color: #a9aa9c; }
.plan-card-featured .plan-desc { color: #c9cabb; }
.plan-card-featured .plan-list {
  border-top-color: rgba(255,255,255,.16);
  color: #c9cabb;
}
