/* =====================================================
   YELLOWSTONE ESTIMATION — styles.css
   Palette: Gold #EAB308 | Slate #374151 | Blueprint White #FAFAFA
   ===================================================== */

/* ─── RESET & BASE ─────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* ── Primary Brand Palette (spec-exact) ── */
  --gold: #EAB308;
  --gold-light: #F5C842;
  --gold-bright: #FDD835;
  --gold-dim: #A07C06;
  --gold-faint: rgba(234, 179, 8, 0.10);
  --gold-border: rgba(234, 179, 8, 0.25);

  /* ── Structural Slate ── */
  --slate: #374151;
  --slate-mid: #4B5563;
  --slate-light: #9CA3AF;
  --slate-faint: rgba(55, 65, 81, 0.15);

  /* ── Deep Navy (hero / dark sections) ── */
  --navy: #0A1628;
  --navy-mid: #0E1F3A;
  --navy-light: #152B4E;

  /* ── Blueprint White (light sections) ── */
  --bp-white: #FAFAFA;
  --bp-white-dark: #F0F2F5;

  /* ── Utility ── */
  --white: #FFFFFF;
  --red: #ef4444;
  --green: #22c55e;

  /* ── Radii ── */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* ── Shadows ── */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.10);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.18);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.28);
  --shadow-gold: 0 0 32px rgba(234, 179, 8, 0.35);

  /* ── Transition ── */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Montserrat', 'Inter', system-ui, sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

/* ─── SCROLLBAR ─────────────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--navy);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dim);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ─── CONTAINER ─────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── SECTION BASE ──────────────────────────────────── */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

/* ─── SECTION TAG ───────────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
  position: relative;
}

.section-tag::before,
.section-tag::after {
  content: '';
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--gold);
  opacity: 0.7;
  flex-shrink: 0;
}

.section-tag .tag-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: 0.8;
}

.light-tag {
  color: var(--gold-light);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 16px auto 0;
}

.title-gold,
.headline-gold {
  color: var(--gold);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--slate-light);
  line-height: 1.75;
  margin-top: 8px;
}

/* ─── BLUEPRINT SECTION (light bg variant) ──────────── */
.blueprint-section {
  background: var(--navy);
  position: relative;
}

/* ─── BUTTONS ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #0A1628;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(234, 179, 8, 0.30);
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 40px rgba(234, 179, 8, 0.55);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-bright) 100%);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(234, 179, 8, 0.4);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
  font-size: 1.05rem;
  padding: 18px;
}

.pulse-glow {
  animation: pulseGlow 2.5s ease-in-out infinite;
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(234, 179, 8, 0.30);
  }

  50% {
    box-shadow: 0 4px 40px rgba(234, 179, 8, 0.70), 0 0 0 6px rgba(234, 179, 8, 0.08);
  }
}

/* ─── SCROLL REVEAL ─────────────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── NAVBAR ────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(234, 179, 8, 0.15);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: auto;
  padding: 0;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%) !important;
  color: var(--navy) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-md) !important;
  font-weight: 800 !important;
  font-size: 0.88rem !important;
  box-shadow: 0 4px 16px rgba(234, 179, 8, 0.3);
  transition: all 0.3s ease !important;
  animation: navPulse 3s ease-in-out infinite;
}

@keyframes navPulse {

  0%,
  100% {
    box-shadow: 0 4px 16px rgba(234, 179, 8, 0.30);
  }

  50% {
    box-shadow: 0 4px 28px rgba(234, 179, 8, 0.58);
  }
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 30px rgba(234, 179, 8, 0.60) !important;
}

.nav-cta.decision-point {
  background: linear-gradient(135deg, var(--gold-light) 0%, #FFD700 100%) !important;
  box-shadow: 0 0 24px rgba(240, 192, 64, 0.7) !important;
  animation: urgencyPulse 1.5s ease-in-out infinite;
}

@keyframes urgencyPulse {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.6);
  }

  50% {
    box-shadow: 0 0 44px rgba(234, 179, 8, 0.95);
  }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── LOGO IMAGE ─────────────────────────────────────── */
.logo-img-wrap {
  display: flex;
  align-items: center;
  padding: 4px 0;
}

.logo-img {
  height: 264px;
  width: auto;
  object-fit: contain;
  /* Negative margins crop the transparent padding in the PNG */
  margin: -76px -37px;
  filter: brightness(1.15) drop-shadow(0 4px 24px rgba(234, 179, 8, 0.45));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.logo-img:hover {
  filter: brightness(1.28) drop-shadow(0 4px 24px rgba(234, 179, 8, 0.60));
  transform: scale(1.04);
}

.logo-img-footer {
  height: 264px;
  margin: -76px -37px;
  opacity: 0.95;
}

.logo-img-footer:hover {
  opacity: 1;
}

/* ─── HERO ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #0F2135 0%, var(--navy) 70%);
  padding-top: 122px;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.blueprint-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 30% 50%, transparent 0%, rgba(10, 22, 40, 0.60) 70%);
  z-index: 1;
  pointer-events: none;
}

/* ─── FLOATING BLUEPRINT FRAGMENTS ─────────────────── */
.float-fragments {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.frag {
  position: absolute;
  animation: floatDrift 12s ease-in-out infinite;
  opacity: 1;
}

.frag svg {
  display: block;
}

.frag-1 {
  width: 130px;
  top: 15%;
  right: 8%;
  animation-duration: 14s;
  animation-delay: 0s;
}

.frag-2 {
  width: 90px;
  top: 60%;
  right: 18%;
  animation-duration: 11s;
  animation-delay: -3s;
}

.frag-3 {
  width: 150px;
  top: 72%;
  right: 4%;
  animation-duration: 16s;
  animation-delay: -6s;
}

.frag-4 {
  width: 110px;
  top: 28%;
  right: 28%;
  animation-duration: 13s;
  animation-delay: -2s;
}

.frag-5 {
  width: 80px;
  top: 48%;
  right: 42%;
  animation-duration: 10s;
  animation-delay: -8s;
}

@keyframes floatDrift {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  25% {
    transform: translateY(-18px) rotate(2deg);
  }

  50% {
    transform: translateY(-8px) rotate(-1deg);
  }

  75% {
    transform: translateY(-22px) rotate(1.5deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* Cursor scatter — added via JS */
.frag.scatter {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 80px;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(234, 179, 8, 0.10);
  border: 1px solid rgba(234, 179, 8, 0.30);
  color: var(--gold-light);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 28px;
  animation: fadeSlideDown 0.8s ease both;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero-headline {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  animation: fadeSlideUp 0.9s 0.1s ease both;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.72);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.75;
  animation: fadeSlideUp 0.9s 0.2s ease both;
}

.hero-sub strong {
  color: var(--white);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
  animation: fadeSlideUp 0.9s 0.3s ease both;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  animation: fadeSlideUp 0.9s 0.4s ease both;
}

.trust-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeIn 2s 1s both;
  z-index: 2;
}

.scroll-arrow {
  animation: bounceDown 1.5s ease-in-out infinite;
}

@keyframes bounceDown {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ─── TRUST BAR ─────────────────────────────────────── */
.trust-bar {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 0 0;
  overflow: hidden;
}

.trust-bar-label {
  text-align: center;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.30);
  margin-bottom: 28px;
  font-weight: 600;
}

.marquee-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  margin-bottom: 48px;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee-logos {
  display: flex;
  gap: 56px;
  padding: 0 28px;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.30);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.brand-logo:hover {
  color: rgba(255, 255, 255, 0.65);
}

/* Stats Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 40px 0;
}

.stat-item {
  text-align: center;
  padding: 12px 20px;
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 12px 0;
}

/* ─── HOW IT WORKS ──────────────────────────────────── */
.how-it-works {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(234, 179, 8, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 179, 8, 0.10) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

/* ─── BLUEPRINT CARD (sketch-reveal border) ─────────── */
.blueprint-card {
  position: relative;
}

.blueprint-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(234, 179, 8, 0.25);
  pointer-events: none;
  transition: border-color 0.4s ease;
}

.blueprint-card:hover::before {
  border-color: rgba(234, 179, 8, 0.60);
}

/* SVG sketch overlay effect (GSAP draws these on scroll) */
.blueprint-card .sketch-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.blueprint-card.bp-drawn .sketch-svg {
  opacity: 1;
}

.step-card {
  position: relative;
  text-align: center;
  padding: 48px 36px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.4s ease;
  overflow: hidden;
}

/* Blueprint grid reveal on hover */
.step-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(234, 179, 8, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 179, 8, 0.14) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.step-card:hover::after {
  opacity: 1;
}

.step-card:hover {
  background: rgba(234, 179, 8, 0.03);
  border-color: rgba(234, 179, 8, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), var(--shadow-gold);
}

.step-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(234, 179, 8, 0.12);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.step-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(234, 179, 8, 0.10);
  border: 1px solid rgba(234, 179, 8, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.step-card:hover .step-icon-wrap {
  background: rgba(234, 179, 8, 0.20);
  box-shadow: 0 0 30px rgba(234, 179, 8, 0.30);
}

.step-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.92rem;
  color: var(--slate-light);
  line-height: 1.7;
}

/* ─── SERVICES SECTION ──────────────────────────────── */
.services-section {
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
}

/* ── Primary Three (Rule of Three) ── */
.services-primary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.service-card-primary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

/* Blueprint grid hover reveal — primary cards */
.service-card-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(234, 179, 8, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 179, 8, 0.15) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.service-card-primary:hover::after {
  opacity: 1;
}

.service-card-primary:hover {
  background: rgba(234, 179, 8, 0.04);
  border-color: rgba(234, 179, 8, 0.30);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.service-icon-lg {
  width: 76px;
  height: 76px;
  background: rgba(234, 179, 8, 0.10);
  border: 1px solid rgba(234, 179, 8, 0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.service-card-primary:hover .service-icon-lg {
  background: rgba(234, 179, 8, 0.18);
  box-shadow: 0 0 28px rgba(234, 179, 8, 0.28);
}

.service-primary-content h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
}

.service-primary-content p {
  font-size: 0.92rem;
  color: var(--slate-light);
  line-height: 1.72;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: gap 0.2s ease, color 0.2s ease;
  margin-top: auto;
}

.service-link:hover {
  gap: 10px;
  color: var(--gold-light);
}

/* Subtitle inside primary cards */
.service-card-primary .service-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-dim);
  background: rgba(234, 179, 8, 0.10);
  border-radius: 4px;
  padding: 3px 8px;
  width: fit-content;
}

/* ── Secondary Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  transition: all 0.35s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

/* Blueprint grid reveal on hover */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(234, 179, 8, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 179, 8, 0.16) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  background: rgba(234, 179, 8, 0.04);
  border-color: rgba(234, 179, 8, 0.22);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.service-icon {
  width: 54px;
  height: 54px;
  background: rgba(234, 179, 8, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: rgba(234, 179, 8, 0.18);
  box-shadow: 0 0 20px rgba(234, 179, 8, 0.22);
}

.service-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.82rem;
  color: var(--slate-light);
  line-height: 1.65;
  margin-bottom: 14px;
}

.service-tag {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dim);
  background: rgba(234, 179, 8, 0.08);
  border-radius: 4px;
  padding: 3px 8px;
}

/* ─── COMPARISON TABLE ──────────────────────────────── */
.comparison-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.comparison-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(234, 179, 8, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 179, 8, 0.09) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(234, 179, 8, 0.15);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(234, 179, 8, 0.08);
  backdrop-filter: blur(8px);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(10, 22, 40, 0.80);
  text-align: left;
}

.comparison-table thead {
  border-bottom: 2px solid rgba(234, 179, 8, 0.20);
}

.comparison-table thead th {
  padding: 22px 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
}

.yellowstone-col {
  background: rgba(234, 179, 8, 0.07);
  border-left: 2px solid rgba(234, 179, 8, 0.30);
  border-right: 2px solid rgba(234, 179, 8, 0.30);
  color: var(--gold) !important;
}

.col-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 800;
}

.comparison-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease;
}

.comparison-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table tbody td {
  padding: 20px 28px;
  font-size: 0.92rem;
  vertical-align: middle;
}

.feature-name {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  font-size: 0.9rem;
}

.yes-cell {
  background: rgba(234, 179, 8, 0.05);
  border-left: 2px solid rgba(234, 179, 8, 0.25);
  border-right: 2px solid rgba(234, 179, 8, 0.25);
  color: rgba(255, 255, 255, 0.90);
}

.no-cell {
  color: rgba(255, 255, 255, 0.45);
}

.row-alt {
  background: rgba(255, 255, 255, 0.015);
}

.row-highlight {
  background: rgba(234, 179, 8, 0.06) !important;
}

.check {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 800;
  margin-right: 4px;
}

.cross {
  color: var(--red);
  font-size: 1rem;
  margin-right: 4px;
}

.comparison-cta {
  text-align: center;
  margin-top: 48px;
}

.comparison-note {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.50);
  margin-bottom: 24px;
  font-style: italic;
}

/* ─── WHY US ─────────────────────────────────────────── */
.why-us {
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(234, 179, 8, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.why-columns {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: stretch;
}

.why-column {
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pain {
  background: rgba(239, 68, 68, 0.04);
  border-color: rgba(239, 68, 68, 0.12);
}

.gain {
  background: rgba(234, 179, 8, 0.04);
  border-color: rgba(234, 179, 8, 0.20);
}

.column-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.column-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}

.column-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pain-icon-wrap {
  background: rgba(239, 68, 68, 0.12);
}

.gain-icon-wrap {
  background: rgba(234, 179, 8, 0.12);
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.x-icon {
  color: var(--red);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.check-icon {
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.why-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 0;
}

.yd-line {
  flex: 1;
  width: 1px;
  min-height: 40px;
  background: rgba(255, 255, 255, 0.10);
}

.yd-vs {
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.35);
  color: var(--gold);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-cta {
  text-align: center;
  margin-top: 56px;
}

/* ─── TESTIMONIALS ──────────────────────────────────── */
.testimonials-section {
  background: var(--navy);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 5rem;
  font-family: 'Montserrat', serif;
  font-weight: 900;
  color: rgba(234, 179, 8, 0.07);
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  border-color: rgba(234, 179, 8, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  background: rgba(234, 179, 8, 0.03);
}

.stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.80);
  line-height: 1.78;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  color: var(--navy);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
}

.testimonial-author span {
  font-size: 0.78rem;
  color: var(--slate-light);
}

/* ─── CTA / CONTACT ─────────────────────────────────── */
.cta-section {
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  bottom: -300px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(234, 179, 8, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.cta-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  margin: 20px 0;
  line-height: 1.1;
}

.cta-sub {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

.cta-guarantees {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.70);
  font-weight: 500;
}

/* Form */
.cta-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.94rem;
  padding: 13px 16px;
  outline: none;
  transition: all 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(234, 179, 8, 0.55);
  background: rgba(234, 179, 8, 0.04);
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.12);
}

.form-group select option {
  background: var(--navy-mid);
  color: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

/* File Upload */
.file-drop-zone {
  border: 2px dashed rgba(234, 179, 8, 0.25);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.file-drop-zone:hover {
  border-color: rgba(234, 179, 8, 0.55);
  background: rgba(234, 179, 8, 0.04);
}

.file-drop-zone p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.file-drop-zone span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.30);
}

.file-link {
  color: var(--gold);
  cursor: pointer;
  font-weight: 600;
}

.file-link:hover {
  text-decoration: underline;
}

.form-disclaimer {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.30);
  text-align: center;
}

/* ─── FOOTER ────────────────────────────────────────── */
.footer {
  background: #060D18;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 48px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.40);
  line-height: 1.7;
  margin: 16px 0 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.50);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(234, 179, 8, 0.15);
  border-color: rgba(234, 179, 8, 0.35);
  color: var(--gold);
  transform: translateY(-2px);
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-group h5 {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.40);
  margin-bottom: 6px;
}

.footer-links-group a {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.50);
  transition: color 0.2s ease;
  line-height: 1.5;
}

.footer-links-group a:hover {
  color: var(--gold);
}

.footer-hours {
  margin-top: 6px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.30);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.30);
}

/* ─── TOAST ─────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: rgba(10, 22, 40, 0.97);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--white);
  max-width: 380px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ─── MOBILE RESPONSIVE ─────────────────────────────── */
@media (max-width: 1100px) {
  .services-primary {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-primary {
    grid-template-columns: 1fr;
  }

  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 16px 18px;
    font-size: 0.84rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    top: 72px;
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
    padding: 14px 24px;
    text-align: center;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .hamburger {
    display: flex;
  }

  .frag-2,
  .frag-4,
  .frag-5 {
    display: none;
  }

  .hero-content {
    padding-top: 40px;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .why-columns {
    grid-template-columns: 1fr;
  }

  .why-divider {
    flex-direction: row;
    padding: 0;
  }

  .yd-line {
    flex: 1;
    height: 1px;
    width: auto;
    min-height: 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-divider {
    display: none;
  }

  .cta-form {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .section {
    padding: 72px 0;
  }

  .comparison-table {
    min-width: 560px;
  }

  .feature-col {
    min-width: 140px;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-badges {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-chip {
    text-align: left;
  }

  .frag {
    display: none;
  }
}