/* ============================================================
   PRIMEPATH - THE OBSIDIAN STANDARD
   service.css
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; border: none; background: transparent; }
:focus-visible { outline: 1px solid var(--champagne); outline-offset: 3px; }

/* ── DESIGN TOKENS are centralized in design-tokens.css ─────── */

.container {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--champagne);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--champagne);
  opacity: 0.7;
  display: block;
  flex-shrink: 0;
}

.section-h2 {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-top: 22px;
}
.section-h2 em {
  font-style: italic;
  color: var(--champagne-2);
}
.section-sub {
  max-width: 480px;
  margin-top: 24px;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--white-40);
}

.btn-svc,
.btn-svc-outline,
.btn-cta-gold,
.btn-cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn-svc,
.btn-cta-gold {
  background: var(--champagne);
  border: 1px solid var(--champagne);
  color: var(--ink);
}
.btn-svc:hover,
.btn-cta-gold:hover {
  background: var(--champagne-2);
  border-color: var(--champagne-2);
  transform: translateY(-2px);
}
.btn-svc-outline,
.btn-cta-ghost {
  background: transparent;
  border: 1px solid var(--white-40);
  color: var(--white);
}
.btn-svc-outline:hover,
.btn-cta-ghost:hover {
  border-color: var(--white);
  background: var(--white-08);
  transform: translateY(-2px);
}

.js .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease);
}
.js .reveal.in-view,
.js .reveal.visible { opacity: 1; transform: translateY(0); }

.js .reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .reveal-stagger.in-view > *,
.js .reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.js .reveal-stagger.in-view > *:nth-child(1),
.js .reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.04s; }
.js .reveal-stagger.in-view > *:nth-child(2),
.js .reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.js .reveal-stagger.in-view > *:nth-child(3),
.js .reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.20s; }
.js .reveal-stagger.in-view > *:nth-child(4),
.js .reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.28s; }
.js .reveal-stagger.in-view > *:nth-child(5),
.js .reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.36s; }
.js .reveal-stagger.in-view > *:nth-child(6),
.js .reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.44s; }

/* Hero */
.hero {
  position: relative;
  min-height: 82svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 0 var(--pad) 96px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -4%;
  background-image: url('https://images.unsplash.com/photo-1516738901171-8eb4fc13bd20?auto=format&fit=crop&w=2400&q=85');
  background-position: center;
  background-size: cover;
  filter: brightness(0.40) saturate(0.70);
  transform: scale(1.04);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(34,34,34,0.95) 0%, rgba(34,34,34,0.58) 52%, rgba(34,34,34,0.14) 100%),
    linear-gradient(to top, rgba(34,34,34,0.98) 0%, rgba(34,34,34,0.00) 45%);
  z-index: 1;
}
.hero-glow,
.hero-glow-2 { display: none; }
.hero .container {
  position: relative;
  z-index: 2;
  width: min(var(--max), 100%);
}
.hero-inner {
  max-width: 880px;
  padding: 120px 0 0;
}
.hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-40);
}
.hero-breadcrumb a {
  color: var(--white-72);
  transition: color 0.3s var(--ease);
}
.hero-breadcrumb a:hover { color: var(--champagne); }
.hero-breadcrumb-sep { color: var(--champagne); }
.hero h1,
.hero-h1 {
  font-family: var(--display);
  font-size: clamp(64px, 9vw, 132px);
  font-weight: 300;
  line-height: 0.86;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-top: 34px;
}
.hero h1 em,
.hero-h1 em {
  font-style: italic;
  color: var(--champagne-2);
}
.hero-sub {
  max-width: 570px;
  margin-top: 38px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--white-72);
}
.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 940px;
  margin-top: 52px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 16px;
  background: var(--ink-2);
  border: 1px solid var(--white-08);
  border-radius: 3px;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white-50);
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}
.trust-dot {
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--champagne);
}

/* Services */
.services-section,
.fleet-section,
.process-section,
.why-section,
.testimonial-section,
.cta-section {
  position: relative;
  padding: 120px var(--pad);
  color: var(--white);
}
.services-section,
.why-section { background: var(--ink); }
.fleet-section,
.testimonial-section { background: var(--ink-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-section { background: var(--ink); border-top: 1px solid var(--line); }

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 64px;
}
.services-header .section-sub { text-align: right; }

.services-grid {
  counter-reset: service;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}
.svc-card {
  counter-increment: service;
  position: relative;
  min-height: auto;
  overflow: hidden;
  padding: 34px 28px;
  background: var(--ink-1);
  border: 1px solid var(--white-08);
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  word-break: break-word;
  overflow-wrap: break-word;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.svc-card:hover {
  background: var(--ink-2);
  border-color: var(--champagne-dim);
}
.svc-card::before {
  content: counter(service, decimal-leading-zero);
  position: absolute;
  top: 24px;
  right: 26px;
  font-family: var(--display);
  font-size: 86px;
  font-weight: 300;
  line-height: 1;
  color: rgba(255,255,255,0.045);
  pointer-events: none;
}
.svc-featured {
  background:
    linear-gradient(180deg, rgba(201,168,76,0.08), rgba(20,20,20,0.98)),
    var(--ink-1);
}
.svc-icon-row {
  min-height: 36px;
  margin-bottom: auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.svc-icon-wrap {
  width: 34px;
  height: 34px;
  border: 1px solid var(--champagne-line);
  background: var(--champagne-dim) !important;
  color: transparent;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.svc-icon-wrap::before,
.fleet-icon-wrap::before {
  content: '';
  position: absolute;
  inset: 9px;
  border: 1px solid var(--champagne);
  transform: rotate(45deg);
}
.svc-popular-badge {
  position: relative;
  z-index: 2;
  padding: 7px 10px;
  border: 1px solid var(--champagne-line);
  background: var(--champagne-dim);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne-2);
}
.svc-body { position: relative; z-index: 2; margin-top: 82px; }
.svc-tag,
.fleet-class {
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 14px;
}
.svc-title,
.fleet-name,
.step-title,
.why-title {
  font-family: var(--display);
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--white);
  overflow-wrap: break-word;
  word-break: break-word;
}
.svc-text,
.fleet-models,
.step-text,
.why-text {
  margin-top: 16px;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.78;
  color: var(--white-40);
  overflow-wrap: break-word;
  word-break: break-word;
}
.svc-features {
  list-style: none;
  margin-top: 26px;
  border-top: 1px solid var(--line);
}
.svc-feat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--white-72);
}
.svc-feat-check {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  border: 1px solid var(--champagne-line);
  flex-shrink: 0;
  position: relative;
}
.svc-feat-check::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid var(--champagne);
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}
.svc-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.svc-price {
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-40);
}
.svc-price strong {
  display: block;
  margin-bottom: 7px;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  color: var(--white);
}

/* Fleet */
.fleet-section .container > .reveal,
.process-section .container > .reveal,
.why-section .container > .reveal {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 64px;
}
.fleet-section .section-sub,
.process-section .section-sub,
.why-section .section-sub { text-align: right; }

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px;
}
.fleet-card {
  min-height: auto;
  padding: 36px 34px;
  background: var(--ink-1);
  border: 1px solid var(--white-08);
  border-radius: 3px;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.fleet-card:hover {
  background: var(--ink-2);
  border-color: var(--champagne-dim);
}
.fleet-card img {
  width: 100% !important;
  height: 190px !important;
  object-fit: cover;
  border-radius: 0 !important;
  border: 1px solid var(--line) !important;
  margin-bottom: 26px !important;
  filter: brightness(0.80) saturate(0.78);
}
.fleet-icon-wrap {
  width: 56px;
  height: 56px;
  margin-bottom: 34px;
  border: 1px solid var(--champagne-line);
  background: var(--champagne-dim);
  color: transparent;
  overflow: hidden;
  position: relative;
}
.fleet-name { font-size: clamp(22px, 2.5vw, 36px); word-break: break-word; }
.fleet-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 26px;
}
.fleet-tag {
  padding: 9px 11px;
  background: var(--ink-2);
  border: 1px solid var(--white-08);
  border-radius: 3px;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-50);
  word-break: break-word;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}
.process-step {
  min-height: auto;
  padding: 34px 30px;
  background: var(--ink-1);
  border: 1px solid var(--white-08);
  border-radius: 3px;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.process-step:hover { background: var(--ink-2); border-color: var(--champagne-dim); }
.step-num {
  display: block;
  margin-bottom: 56px;
  font-family: var(--display);
  font-size: 56px;
  font-weight: 300;
  line-height: 1;
  color: var(--champagne);
  opacity: 0.62;
}
.step-title { font-size: clamp(22px, 2.2vw, 30px); word-break: break-word; }

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}
.why-card {
  min-height: auto;
  padding: 34px 30px;
  background: var(--ink-1);
  border: 1px solid var(--white-08);
  border-radius: 3px;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.why-card:hover { background: var(--ink-2); border-color: var(--champagne-dim); }
.why-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 38px;
  border: 1px solid var(--champagne-line);
  color: var(--champagne);
}
.why-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.why-title { font-size: clamp(22px, 2.2vw, 30px); word-break: break-word; }

/* Testimonial */
.testimonial-section {
  text-align: center;
}
.testimonial-inner {
  max-width: 900px;
  margin: 0 auto;
}
.testimonial-stars {
  margin-bottom: 28px;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--champagne);
}
.testimonial-quote {
  font-family: var(--display);
  font-size: clamp(34px, 4.4vw, 70px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--white);
}
.testimonial-author {
  margin-top: 34px;
  font-size: 12px;
  font-weight: 400;
  color: var(--white-90);
}
.testimonial-role {
  margin-top: 6px;
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-40);
}

/* CTA */
.cta-section {
  overflow: hidden;
  padding: 150px var(--pad);
  text-align: center;
  border-top: 1px solid var(--line);
  background: var(--ink);
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: -4%;
  background-image: url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?auto=format&fit=crop&w=2200&q=80');
  background-position: center;
  background-size: cover;
  filter: brightness(0.25) saturate(0.50);
}
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 80% at 50% 50%, rgba(34,34,34,0.18) 0%, rgba(34,34,34,0.95) 100%);
}
.cta-glow { display: none; }
.cta-inner {
  position: relative;
  z-index: 2;
}
.cta-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  font-size: 8px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--champagne);
}
.cta-logo::before,
.cta-logo::after {
  content: '';
  width: 32px;
  height: 1px;
  background: rgba(201,168,76,0.5);
}
.cta-h2 {
  max-width: 920px;
  margin: 0 auto;
  font-family: var(--display);
  font-size: clamp(54px, 8vw, 118px);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: -0.025em;
  color: var(--white);
}
.cta-sub {
  max-width: 560px;
  margin: 36px auto 48px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--white-40);
}
.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 1180px) {
  :root { --pad: 40px; }

  .process-grid,
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --pad: 28px; }

  .hero { min-height: 78svh; padding-bottom: 72px; }
  .hero h1,
  .hero-h1 { font-size: clamp(58px, 13vw, 92px); }

  .services-header,
  .fleet-section .container > .reveal,
  .process-section .container > .reveal,
  .why-section .container > .reveal {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .services-header .section-sub,
  .fleet-section .section-sub,
  .process-section .section-sub,
  .why-section .section-sub {
    text-align: left;
  }

  .fleet-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero { padding-left: var(--pad); padding-right: var(--pad); }
  .hero h1,
  .hero-h1 { font-size: clamp(48px, 16vw, 68px); }
  .hero-sub { font-size: 13px; }
  .hero-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .trust-badge { min-height: 38px; padding: 10px 12px; font-size: 7px; }

  .services-section,
  .fleet-section,
  .process-section,
  .why-section,
  .testimonial-section,
  .cta-section {
    padding: 82px var(--pad);
  }

  .section-h2 { font-size: clamp(42px, 13vw, 64px); }
  .process-grid,
  .why-grid { grid-template-columns: 1fr; }

  .svc-card { padding: 28px 22px; }
  .svc-body { margin-top: 52px; }
  .svc-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-svc,
  .btn-svc-outline,
  .btn-cta-gold,
  .btn-cta-ghost {
    width: 100%;
  }
  .cta-btns { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
