:root {
  --af-gold: #d4af37;
  --af-bg: #000000;
  --af-panel: #0d0d0d;
  --af-panel-2: #141414;
  --af-text: #ffffff;
  --af-muted: rgba(255, 255, 255, 0.78);
  --af-border: rgba(212, 175, 55, 0.28);
  --af-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

/* ===============================
   GLOBAL BASE
================================= */

html {
  scroll-behavior: smooth;
}

body {
  background: var(--af-bg);
  color: var(--af-text);
}

main {
  overflow: clip;
}

/* ===============================
   HERO
================================= */

.service-hero {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 52px 0 34px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: center;
}

.service-hero-media {
  position: relative;
  align-self: start;
}

.service-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 28px;
  pointer-events: none;
}

.service-hero-media img {
  width: 100%;
  display: block;
  border-radius: 28px;
  border: 1px solid var(--af-border);
  box-shadow: var(--af-shadow);
  object-fit: cover;
  aspect-ratio: 4 / 4.5;
  max-height: 560px;
}

.service-hero-content h1 {
  margin: 0 0 18px;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.service-eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--af-gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  font-weight: 700;
}

.service-intro {
  margin: 0 0 22px;
  color: var(--af-muted);
  font-size: 1.04rem;
  line-height: 1.78;
  max-width: 62ch;
}

/* ===============================
   HERO DETAILS + CTA
================================= */

.service-hero-details {
  margin: 0 0 24px;
  padding: 16px 20px;
  border-left: 2px solid var(--af-gold);
  background: rgba(255, 255, 255, 0.03);
}

.service-hero-details p {
  margin: 0 0 8px;
  color: var(--af-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.service-hero-details p:last-child {
  margin-bottom: 0;
}

.service-hero-details strong {
  color: var(--af-text);
  font-weight: 700;
}

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

.service-hero-actions .primary-cta,
.service-hero-actions .secondary-cta {
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 24px 13px;
  white-space: nowrap;
  text-align: center;
}

/* ===============================
   SECTION BASE
================================= */

.service-section {
  padding: 58px 0;
}

.service-section-dark {
  background: linear-gradient(180deg, #080808 0%, #111111 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.08);
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}

.service-section-area {
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.05), transparent 28%),
    #000;
}

.service-section-inner {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.service-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.service-split-area {
  align-items: center;
}

.centered-copy {
  max-width: 760px;
  margin: 0 auto 26px;
  text-align: center;
}

.service-copy h2,
.centered-heading {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  text-wrap: balance;
}

.centered-heading {
  text-align: center;
}

.service-copy p {
  margin: 0 0 14px;
  color: var(--af-muted);
  font-size: 1rem;
  line-height: 1.78;
}

.service-copy p:last-child {
  margin-bottom: 0;
}

/* ===============================
   INFO CARDS
================================= */

.service-card-grid {
  display: grid;
  gap: 18px;
}

.service-card-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-info-card,
.service-areas-card {
  background: linear-gradient(180deg, rgba(24, 24, 24, 0.98) 0%, rgba(13, 13, 13, 0.98) 100%);
  border: 1px solid var(--af-border);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--af-shadow);
}

.service-info-card h3,
.service-areas-card h3 {
  margin: 0 0 10px;
  color: var(--af-gold);
  font-size: 1.08rem;
}

.service-info-card p {
  margin: 0;
  color: var(--af-muted);
  line-height: 1.72;
  font-size: 0.97rem;
}

/* ===============================
   PROCESS SECTION
================================= */

.service-process-section {
  background:
    radial-gradient(circle at left center, rgba(212, 175, 55, 0.06), transparent 24%),
    #000;
}

.service-process-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) 1.08fr;
  gap: 22px;
  align-items: start;
}

.service-process-panel-wrap {
  position: relative;
  align-self: start;
}

.service-process-panel {
  position: sticky;
  top: 120px;
  min-height: 210px;
  border-radius: 28px;
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.service-process-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.08), transparent 40%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 40%);
  pointer-events: none;
}

.service-process-panel:hover {
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.process-panel-item {
  position: absolute;
  inset: 0;
  padding: 24px;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.process-panel-item.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.process-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--af-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
}

.process-panel-item h3 {
  margin: 0 0 8px;
  font-size: clamp(1.3rem, 1.8vw, 1.8rem);
  line-height: 1.08;
}

.process-panel-item p {
  margin: 0;
  color: var(--af-muted);
  line-height: 1.65;
  max-width: 30ch;
  font-size: 0.95rem;
}

.service-accordion {
  display: grid;
  gap: 10px;
}

.process-step {
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.process-step:hover {
  border-color: rgba(212, 175, 55, 0.42);
  background: rgba(212, 175, 55, 0.04);
  transform: translateX(4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.process-step.is-active {
  border-color: var(--af-border);
  background: rgba(212, 175, 55, 0.05);
  transform: translateX(6px);
}

.process-step-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 15px 18px;
  background: transparent;
  border: 0;
  color: var(--af-text);
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: color 0.2s ease;
}

.process-step-trigger:hover .process-step-title {
  color: var(--af-gold);
}

.process-step-trigger::after {
  content: "+";
  color: var(--af-gold);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.process-step.is-active .process-step-trigger::after {
  content: "−";
}

.process-step-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.process-step-body {
  padding: 0 18px 15px 18px;
}

.process-step-body p {
  margin: 0;
  color: var(--af-muted);
  line-height: 1.68;
}

.step-number {
  display: inline-block;
  color: var(--af-gold);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  font-weight: 700;
}

/* ===============================
   RESULTS SECTION
================================= */

.service-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.result-block {
  position: relative;
  padding: 28px 24px 26px;
  border: 1px solid var(--af-border);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.98) 0%, rgba(8, 8, 8, 0.98) 100%);
  box-shadow: var(--af-shadow);
  min-height: 250px;
}

.result-block-number {
  margin-bottom: 14px;
  color: rgba(212, 175, 55, 0.72);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.result-block h3 {
  margin: 0 0 12px;
  color: var(--af-gold);
  font-size: 1.22rem;
}

.result-block p {
  margin: 0;
  color: var(--af-muted);
  line-height: 1.78;
}

/* ===============================
   SERVICE AREA CARD
================================= */

.service-areas-card h3 {
  margin-bottom: 16px;
  color: var(--af-gold);
}

.service-areas-card .area-group + .area-group {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
}

.service-areas-card .area-group h4 {
  margin: 0 0 10px;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--af-text);
}

.service-areas-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  columns: 2;
  column-gap: 24px;
}

.service-areas-card li {
  color: var(--af-muted);
  margin-bottom: 10px;
  line-height: 1.62;
  break-inside: avoid;
}

.service-areas-card .area-group-note,
.service-areas-card .area-cluster-link {
  display: inline-flex;
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-areas-card .area-group-note {
  color: rgba(255, 255, 255, 0.62);
}

.service-areas-card .area-cluster-link {
  color: var(--af-gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.service-areas-card .area-cluster-link:hover,
.service-areas-card .area-cluster-link:focus-visible {
  color: #ffffff;
  border-bottom-color: var(--af-gold);
  transform: translateY(-1px);
}

/* ===============================
   CTA SECTION
================================= */

.service-cta-section {
  padding: 64px 0 80px;
}

.service-cta-box {
  width: min(980px, 92%);
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(180deg, rgba(22, 22, 22, 0.98) 0%, rgba(8, 8, 8, 0.98) 100%);
  border: 1px solid var(--af-border);
  border-radius: 28px;
  padding: 34px 24px;
  box-shadow: var(--af-shadow);
}

.service-cta-box h2 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
  text-wrap: balance;
}

.service-cta-box p {
  margin: 0 auto 22px;
  color: var(--af-muted);
  max-width: 64ch;
  line-height: 1.76;
  font-size: 1rem;
}

.service-cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  gap: 14px;
}

.service-cta-actions .secondary-cta,
.service-cta-actions .primary-cta {
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 24px 13px;
  white-space: nowrap;
  text-align: center;
  flex: 0 1 auto;
  max-width: none;
  min-width: 0;
}

.service-footer {
  padding: 28px 5%;
  border-top: 1px solid rgba(212, 175, 55, 0.08);
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  background: #050505;
}

/* ===============================
   RESPONSIVE
================================= */

@media (max-width: 1024px) {
  .service-hero,
  .service-split,
  .service-process-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-hero {
    padding-top: 40px;
  }

  .service-hero-media img {
    max-height: 500px;
    aspect-ratio: 16 / 12;
  }

  .service-card-grid-three,
  .service-results {
    grid-template-columns: 1fr;
  }

  .service-process-panel {
    position: relative;
    top: auto;
    min-height: 210px;
  }

  .service-areas-card ul {
    columns: 1;
  }
}

@media (max-width: 768px) {
  .service-hero {
    padding: 28px 0 22px;
    gap: 24px;
  }

  .service-hero-media img {
    max-height: 360px;
    aspect-ratio: 16 / 11;
  }

  .service-section {
    padding: 48px 0;
  }

  .service-info-card,
  .service-areas-card,
  .result-block {
    padding: 22px;
  }

  .process-panel-item {
    padding: 22px;
  }

  .process-step-trigger,
  .process-step-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .service-cta-box {
    padding: 28px 18px;
  }

  .service-process-panel {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(20, 20, 20, 0.9);
  }

  .service-hero-actions .primary-cta,
  .service-hero-actions .secondary-cta,
  .service-cta-actions .primary-cta,
  .service-cta-actions .secondary-cta {
    min-height: 52px;
    padding: 14px 20px 12px;
    white-space: normal;
  }

  .service-cta-actions {
    gap: 12px;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .service-hero-content h1 {
    font-size: 2.25rem;
  }

  .service-intro,
  .service-copy p,
  .service-cta-box p,
  .service-hero-details p,
  .process-step-body p,
  .result-block p {
    font-size: 0.98rem;
  }

  .service-hero-actions,
  .service-cta-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .service-hero-actions .primary-cta,
  .service-hero-actions .secondary-cta,
  .service-cta-actions .secondary-cta,
  .service-cta-actions .primary-cta {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 13px 18px 12px;
  }

  .service-cta-box {
    padding: 24px 16px;
  }
}
