/* ==========================================================================
   SPAS IV SOLUTIONS — EXTRAORDINARY PREMIUM THEME
   Features: Fixed Header, Larger Logo (No Borders), Elegant Animations
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy: #06101E;         
  --navy-light: #122238;
  --steel: #506982;        
  --amber: #F26A1B;        
  --amber-dark: #D4540C;
  --paper: #F6F8FA;        
  --ink: #0F172A;          
  --line: rgba(6, 16, 30, 0.08);
  --white: #FFFFFF;
  --shadow: 0 20px 60px rgba(6, 16, 30, 0.12);
  --font-display: "Barlow Semi Condensed", sans-serif;
  --font-body: "Inter", sans-serif;
  --max-width: 1180px;
  --site-bg: radial-gradient(circle at 82% 18%, rgba(242, 106, 27, 0.16), transparent 26%), radial-gradient(circle at 12% 78%, rgba(80, 105, 130, 0.20), transparent 30%), linear-gradient(135deg, #06101E 0%, #0C1A2E 50%, #122238 100%);
}



/* RESET & BASE */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.88);
  background: var(--site-bg);
  background-attachment: fixed;
  background-size: 160% 160%;
  animation: backgroundDrift 22s ease-in-out infinite alternate;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -.025em;
}

::selection {
  background: var(--amber);
  color: var(--white);
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #E9EDF2; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--amber), var(--navy));
  border-radius: 20px;
}

/* CONTAINER & PADDING */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 120px 0;
  position: relative;
  background: transparent;
  color: rgba(255,255,255,.88);
}

.section--tight { padding: 75px 0; }

.section--white {
  background: transparent;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: relative;
  color: rgba(255,255,255,.88);
}

.section--white::after,
.section::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(242,106,27,.7), transparent);
  opacity: 0.35;
}
.section--white::after { bottom: 0; }
.section::before { top: 0; }

.section:not(.testimonial)::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  right: -180px;
  top: 15%;
  background: rgba(242,106,27,.055);
  filter: blur(70px);
  pointer-events: none;
  animation: ambientFloat 14s ease-in-out infinite alternate;
}

.section--white .container, .section .container { position: relative; z-index: 1; }

/* ==========================================================================
   FIXED HEADER & LOGO
   ========================================================================== */
.site-header {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 30px rgba(6, 16, 30, 0.05);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 15px 40px rgba(6, 16, 30, 0.1);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px; /* Slightly taller to accommodate larger logo */
}

.logo {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.logo-badge {
  display: flex;
  align-items: center;
  /* Removed background, padding, border, and shadow as requested */
}

.logo-img {
  height: 60px; /* Increased logo size */
  width: auto;
  object-fit: contain;
}

/* NAVIGATION LINKS */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: .95rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover {
  color: var(--amber-dark);
  transform: translateY(-1px);
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--amber), var(--amber-dark));
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover::after,
.nav-links a.is-active::after { width: 100%; }

.nav-links a.is-active {
  color: var(--navy);
  font-weight: 700;
}

.nav-cta {
  padding: 12px 22px !important;
  border: 1px solid rgba(6, 16, 30, 0.15);
  border-radius: 999px;
  background: transparent;
  color: rgba(255,255,255,.72);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.nav-cta:hover {
  color: var(--white) !important;
  background: var(--navy) !important;
  border-color: var(--navy) !important;
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 10px 25px rgba(6, 16, 30, 0.22);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px 0;
  background: var(--navy);
  border-radius: 5px;
  transition: 0.3s ease;
}

/* BUTTON ANIMATIONS */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: .96rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.3s ease,
    border-color 0.3s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(255, 255, 255, 0.48) 50%,
    transparent 80%
  );
  transform: translateX(-140%);
  transition: transform 0.75s ease-in-out;
}

.btn:hover::before { transform: translateX(140%); }
.btn:hover { transform: translateY(-5px) scale(1.02); }
.btn:active { transform: translateY(-1px) scale(0.97); }

.btn--amber {
  color: var(--white);
  background: linear-gradient(135deg, #FF833B, var(--amber));
  box-shadow: 0 12px 32px rgba(242, 106, 27, 0.32);
}

.btn--amber:hover {
  box-shadow: 0 22px 48px rgba(242, 106, 27, 0.48);
  background: linear-gradient(135deg, #F57224, #D4540C);
}

.btn--navy {
  color: var(--white);
  background: linear-gradient(135deg, #122238, var(--navy));
  box-shadow: 0 12px 32px rgba(6, 16, 30, 0.25);
}

.btn--navy:hover {
  box-shadow: 0 22px 48px rgba(6, 16, 30, 0.38);
}

.btn--outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.12);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn:hover .btn-arrow { transform: translateX(8px) scale(1.15); }

/* FORMS */
.field { display: block; margin-bottom: 22px; }

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: .89rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  font: inherit;
  background: rgba(255, 255, 255, 0.95);
  transition: all 0.25s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(242, 106, 27, 0.15);
  transform: translateY(-2px);
}

.form-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(6, 16, 30, 0.08);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow);
}

/* BADGES / STATUS STAMPS */
.status-stamp--steel { color: rgba(255,255,255,.72); }

.status-stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.status-stamp::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
  animation: pulseDot 1.8s infinite;
}

/* CARDS */
.card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(6, 16, 30, 0.08);
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.16);
  animation: cardBreathe 7s ease-in-out infinite;
  transition:
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.45s ease,
    border-color 0.3s ease;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--amber), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -70px;
  bottom: -70px;
  border-radius: 50%;
  background: rgba(242, 106, 27, 0.08);
  transition: transform 0.5s ease;
}

.card:hover {
  transform: translateY(-12px);
  border-color: rgba(242, 106, 27, 0.35);
  box-shadow: 0 30px 60px rgba(6, 16, 30, 0.12);
}

.card:hover::before { transform: scaleX(1); }
.card:hover::after { transform: scale(1.6); }

.card svg {
  color: var(--amber);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card:hover svg {
  transform: translateY(-6px) rotate(-8deg) scale(1.12);
}

.card:nth-child(2), .stats > div:nth-child(2) { animation-delay: -2s; }
.card:nth-child(3), .stats > div:nth-child(3) { animation-delay: -4s; }
.card:nth-child(4), .stats > div:nth-child(4) { animation-delay: -6s; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stats > div {
  position: relative;
  animation: cardBreathe 8s ease-in-out infinite;
  padding: 30px;
  border-radius: 20px;
  background: linear-gradient(145deg, #FFFFFF, rgba(255, 255, 255, 0.65));
  border: 1px solid var(--line);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stats > div:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(6, 16, 30, 0.1);
  border-color: rgba(242, 106, 27, 0.3);
}

.section h2, .section--white h2 { color: var(--white); }
.section--white .card-title, .section .card-title { color: var(--navy); }
.feature-text, .step-text { color: rgba(255,255,255,.68); }

.stats .num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--navy);
}

.stats .label {
  margin-top: 4px;
  font-size: .88rem;
  color: rgba(15, 23, 42, 0.65);
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: var(--site-bg);
  background-size: 160% 160%;
  animation: backgroundDrift 22s ease-in-out infinite alternate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(to bottom, black, transparent);
}

.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: -160px;
  border: 1px solid rgba(242, 106, 27, 0.25);
  border-radius: 50%;
  box-shadow:
    0 0 0 60px rgba(242, 106, 27, 0.04),
    0 0 0 120px rgba(242, 106, 27, 0.02);
  animation: rotateRing 30s linear infinite;
  z-index: -1;
}

.hero .container {
  position: relative;
  width: 100%;
  padding: 180px 32px 130px; /* Increased top padding so content doesn't hide behind fixed header */
}

.hero h1 {
  max-width: 840px;
  color: var(--white);
  font-size: clamp(3rem, 7.5vw, 6rem);
  letter-spacing: -.045em;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.hero p.lead {
  max-width: 660px;
  margin-top: 25px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.15rem;
}

.hero .cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* FLOATING BLOBS */
.floaty {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(85px);
  z-index: -1;
}

.floaty-1 {
  width: 380px;
  height: 380px;
  top: -100px;
  right: 8%;
  background: rgba(242, 106, 27, 0.22);
  animation: floatOne 10s ease-in-out infinite;
}

.floaty-2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  left: 8%;
  background: rgba(80, 105, 130, 0.32);
  animation: floatTwo 14s ease-in-out infinite;
}

/* SCROLL CUE */
.scroll-cue {
  position: absolute;
  bottom: 25px;
  left: 50%;
  color: rgba(255, 255, 255, 0.7);
  transform: translateX(-50%);
  animation: bob 2s ease-in-out infinite;
}

/* FOOTER */
.site-footer {
  padding: 65px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: .9rem;
  border-top: 1px solid var(--line);
  background: transparent;
  color: rgba(255,255,255,.72);
}

/* ANIMATIONS */
@media (prefers-reduced-motion: no-preference) {
  .hero-in {
    animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .hero-in-1 {
    animation: rise 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
  }
  .hero-in-2 {
    animation: rise 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
  }
  .hero-in-3 {
    animation: rise 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.34s both;
  }

  .reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition:
      opacity 0.8s ease,
      transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  body {
    animation: pageFade 0.6s ease both;
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pageFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

@keyframes floatOne {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 30px) scale(1.1); }
}

@keyframes floatTwo {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(35px, -25px) scale(1.15); }
}

@keyframes rotateRing {
  to { transform: rotate(360deg); }
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}


@keyframes backgroundDrift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 30%; }
  100% { background-position: 30% 100%; }
}

@keyframes ambientFloat {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: .45; }
  50% { transform: translate3d(-45px, 35px, 0) scale(1.12); opacity: .7; }
  100% { transform: translate3d(30px, -25px, 0) scale(.96); opacity: .4; }
}

@keyframes cardBreathe {
  0%, 100% { box-shadow: 0 10px 35px rgba(0,0,0,.14); }
  50% { box-shadow: 0 16px 42px rgba(0,0,0,.20); }
}

@keyframes processPulse {
  0%, 100% { opacity: .45; transform: scaleY(.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: center; }
}

/* MOBILE NAV */
.nav-links.is-open {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 24px 32px 32px;
  gap: 16px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 25px 40px rgba(6, 16, 30, 0.12);
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }

  .hero { min-height: 600px; }
  .hero h1 { font-size: clamp(2.8rem, 9vw, 4.5rem); }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .section { padding: 85px 0; }

  .stats,
  .grid--4,
  .grid--2 { grid-template-columns: 1fr; }

  .logo-img { height: 48px; } /* Slightly scaled down for mobile but still large */

  .hero .container { padding: 140px 20px 90px; }
  .hero h1 { font-size: clamp(2.5rem, 13vw, 3.8rem); }
  .hero p.lead { font-size: 1rem; }

  .hero .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn { width: 100%; }
  .card { padding: 26px; }

  .site-footer {
    padding: 45px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}


/* REFINED LAYOUT — STATIC LOGO & CLEAN SPACING */
.logo, .logo-badge, .logo-img { transform:none; }
.site-header .container { min-height:84px; padding-top:10px; padding-bottom:10px; }
.logo-img { height:72px; }
.nav-links { gap:28px; }
.section { padding:96px 0; }
.section--white { padding:78px 0; }
.section-title { margin-top:14px; font-size:clamp(2rem,4vw,2.75rem); }
.section-grid { margin-top:42px; }
.card { min-height:190px; padding:30px; }
.card-title { margin-top:16px; font-family:var(--font-display); font-weight:600; color:var(--navy); font-size:1.15rem; }
.card-text { margin-top:7px; color:rgba(15,23,42,.65); font-size:.9rem; line-height:1.55; }
.feature-text { margin-top:9px; color:rgba(255,255,255,.68); font-size:.92rem; line-height:1.7; max-width:340px; }
.process-step {
  border-left: 2px solid var(--amber);
  padding: 6px 0 6px 24px;
  position: relative;
}

.process-step::after {
  content: "";
  position: absolute;
  left: -3px;
  top: 0;
  width: 4px;
  height: 36px;
  background: var(--amber);
  border-radius: 4px;
  animation: processPulse 2.6s ease-in-out infinite;
}

.step-number { font-family:var(--font-display); font-weight:600; font-size:1.6rem; color:var(--amber); }
.step-text { margin-top:9px; color:rgba(255,255,255,.72); line-height:1.65; }
.status-stamp--amber { color:var(--amber); } .status-stamp--steel { color:var(--steel); }
.testimonial { min-height:auto; }
.testimonial-inner { max-width:820px; padding:92px 32px; text-align:center; }
.testimonial-quote { font-family:var(--font-display); font-weight:600; font-size:clamp(1.45rem,3vw,1.8rem); line-height:1.5; }
.testimonial-author { margin-top:22px; color:rgba(255,255,255,.65); font-size:.9rem; }
.final-cta { text-align:center; }
.final-cta-text { margin-top:14px; color:rgba(255,255,255,.68); }
.final-cta-actions { margin-top:30px; display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.footer-muted { color:rgba(255,255,255,.5); }
@media (max-width:900px){ .site-header .container{min-height:76px;} .hero .container{padding-top:150px;padding-bottom:110px;} .section{padding:82px 0;} .section--white{padding:68px 0;} }
@media (max-width:600px){ .site-header .container{min-height:80px;} .logo-img{height:58px;} .container{padding-left:20px;padding-right:20px;} .section{padding:68px 0;} .section--white{padding:58px 0;} .section-grid{margin-top:30px;gap:18px;} .card{min-height:0;padding:24px;} .testimonial-inner{padding:70px 20px;} .final-cta-actions{margin-top:24px;gap:12px;} }


/* =========================================================
   TEXT CONTRAST FIXES
   Dark continuous page background requires light text outside cards.
   ========================================================= */
.section--white,
.section {
  color: rgba(255, 255, 255, 0.88);
}

.section-title,
.section h2,
.section--white h2 {
  color: var(--white);
}

/* Service cards intentionally remain light, so their text stays dark. */
.card {
  color: var(--ink);
}

.card .card-title,
.card-title {
  color: var(--white);
}

.card .card-text,
.card-text {
  color: rgba(255, 255, 255, 0.72);
}

/* The three feature columns sit directly on the dark background. */
.section--white .grid--3 > div:not(.card) .card-title,
.section .grid--3 > div:not(.card) .card-title {
  color: var(--white);
}

.section--white .grid--3 > div:not(.card) .feature-text,
.section .grid--3 > div:not(.card) .feature-text {
  color: rgba(255, 255, 255, 0.74);
}

.section--white .grid--3 > div:not(.card) svg,
.section .grid--3 > div:not(.card) svg {
  stroke: rgba(255, 255, 255, 0.9);
}

.step-text {
  color: rgba(255, 255, 255, 0.82);
}

.final-cta-text {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
}

.footer-muted {
  color: rgba(255, 255, 255, 0.55);
}

/* Header has a light surface, so navigation must stay dark. */
.site-header .nav-links a {
  color: var(--navy);
}

.site-header .nav-links a:hover,
.site-header .nav-links a.is-active {
  color: var(--amber-dark);
}

.site-header .nav-cta {
  color: var(--navy);
  border-color: rgba(6, 16, 30, 0.16);
  background: rgba(255, 255, 255, 0.72);
}

.site-header .nav-cta:hover {
  color: var(--white) !important;
}

@media (max-width: 900px) {
  .site-header .nav-links.is-open a {
    color: var(--navy);
  }
}



/* =========================================================
   FINAL UI POLISH — SERVICE + FEATURE CARDS + SCROLL REVEALS
   ========================================================= */
.section, .section--white, .why-section { position:relative; background:transparent; color:rgba(255,255,255,.9); }
.section-heading { max-width:720px; }
.section-title { margin-top:16px; font-size:clamp(2rem,4vw,3.2rem); letter-spacing:-.035em; }
.section-intro { max-width:650px; margin-top:14px; color:rgba(255,255,255,.68); font-size:1rem; line-height:1.75; }
.section-grid { margin-top:44px; }

/* Services: readable light cards with dark text. */
.section .card { background:rgba(255,255,255,.96); color:var(--ink); border:1px solid rgba(255,255,255,.35); box-shadow:0 18px 45px rgba(0,0,0,.18); }
.section .card-title { color:var(--navy)!important; font-size:1.12rem; line-height:1.25; margin-top:16px; }
.section .card-text { color:rgba(15,23,42,.68)!important; margin-top:7px; line-height:1.6; }
.section .card svg { color:var(--amber); }

/* Why section: a real card for each benefit. */
.why-grid { align-items:stretch; }
.feature-card { position:relative; min-height:285px; overflow:hidden; padding:34px; border:1px solid rgba(255,255,255,.13); border-radius:24px; background:linear-gradient(145deg,rgba(255,255,255,.105),rgba(255,255,255,.045)),rgba(6,16,30,.28); box-shadow:0 18px 50px rgba(0,0,0,.18); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); transition:transform .55s cubic-bezier(.16,1,.3,1),border-color .35s ease,box-shadow .45s ease,background .35s ease; }
.feature-card::before { content:""; position:absolute; left:0; top:0; width:100%; height:3px; background:linear-gradient(90deg,var(--amber),rgba(242,106,27,0)); transform:scaleX(.2); transform-origin:left; transition:transform .55s cubic-bezier(.16,1,.3,1); }
.feature-card::after { content:""; position:absolute; width:180px; height:180px; right:-100px; bottom:-100px; border-radius:50%; background:rgba(242,106,27,.10); filter:blur(4px); transition:transform .7s ease,opacity .5s ease; }
.feature-card:hover { transform:translateY(-12px); border-color:rgba(242,106,27,.42); background:linear-gradient(145deg,rgba(255,255,255,.14),rgba(255,255,255,.055)),rgba(6,16,30,.34); box-shadow:0 30px 65px rgba(0,0,0,.28); }
.feature-card:hover::before { transform:scaleX(1); }
.feature-card:hover::after { transform:scale(1.5); opacity:.9; }
.feature-icon { width:54px; height:54px; display:grid; place-items:center; color:var(--amber); border:1px solid rgba(242,106,27,.25); border-radius:16px; background:rgba(242,106,27,.09); transition:transform .5s cubic-bezier(.16,1,.3,1),background .35s ease; }
.feature-card:hover .feature-icon { transform:translateY(-5px) rotate(-4deg); background:rgba(242,106,27,.16); }
.feature-number { position:absolute; top:30px; right:30px; color:rgba(255,255,255,.25); font-family:var(--font-display); font-size:1rem; font-weight:700; letter-spacing:.08em; }
.feature-title { margin-top:24px; color:var(--white); font-family:var(--font-display); font-size:1.35rem; font-weight:600; line-height:1.2; }
.feature-text { margin-top:10px; color:rgba(255,255,255,.72)!important; font-size:.92rem; line-height:1.7; }

/* Scroll reveal: content enters as the user scrolls down. */
@media (prefers-reduced-motion:no-preference) {
  .reveal { opacity:0; transform:translate3d(0,42px,0) scale(.97); filter:blur(3px); transition:opacity .75s ease,transform .8s cubic-bezier(.16,1,.3,1),filter .75s ease; transition-delay:var(--reveal-delay,0ms); }
  .reveal.is-visible { opacity:1; transform:translate3d(0,0,0) scale(1); filter:blur(0); }
  .why-grid .feature-card.is-visible { animation:featureCardFloat 7s ease-in-out infinite; animation-delay:calc(var(--reveal-delay,0ms) + .9s); }
}
@keyframes featureCardFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }

.process-step { position:relative; padding:28px 28px 28px 24px; border-left:2px solid rgba(242,106,27,.65); border-radius:0 18px 18px 0; background:rgba(255,255,255,.045); transition:transform .45s ease,background .35s ease; }
.process-step:hover { transform:translateX(7px); background:rgba(255,255,255,.075); }
.step-text { margin-top:9px; color:rgba(255,255,255,.82)!important; line-height:1.7; }

.stats > div { background:rgba(255,255,255,.94); border-color:rgba(255,255,255,.18); }
.stats .num { color:var(--navy); }
.stats .label { color:rgba(15,23,42,.66); }

@media (max-width:900px){ .feature-card{min-height:250px;} }
@media (max-width:600px){ .section-grid{margin-top:32px;} .feature-card{min-height:0;padding:27px;} .feature-number{top:24px;right:24px;} .feature-title{margin-top:20px;} .section-intro{font-size:.94rem;} .process-step{padding:24px 22px;} }
@media (prefers-reduced-motion:reduce){ .reveal,.reveal.is-visible,.feature-card,.feature-card.is-visible,.card,.stats>div{animation:none!important;transition:none!important;filter:none!important;transform:none!important;opacity:1!important;} }


/* =========================================================
   HEADER LOGO — SINGLE CONSOLIDATED FLIP + SPARK SYSTEM
   ========================================================= */
.site-header .logo {
  perspective: 1000px;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header .logo-badge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 64px;
  height: 100px;
  transform-style: preserve-3d;
  transform-origin: center center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  isolation: isolate;
  overflow: visible;
}

.site-header .logo-img {
  position: relative;
  z-index: 5;
  display: block;
  width: auto !important;
  height: 120px !important;
  max-width: none !important;
  object-fit: contain;
  opacity: 1 !important;
  visibility: visible !important;
  filter: drop-shadow(0 5px 12px rgba(6,16,30,.14));
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

.site-header .logo-badge.logo-flip-active {
  animation: spasLogoFlip 1.35s cubic-bezier(.22,.61,.36,1) both !important;
}

@keyframes spasLogoFlip {
  0% {
    opacity: 0;
    transform: perspective(1000px) rotateY(-180deg) scale(.78);
  }
  35% {
    opacity: 1;
    transform: perspective(1000px) rotateY(-90deg) scale(.94);
  }
  68% {
    transform: perspective(1000px) rotateY(12deg) scale(1.06);
  }
  86% {
    transform: perspective(1000px) rotateY(-5deg) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: perspective(1000px) rotateY(0deg) scale(1);
  }
}

/* Tight spark orbit — appears only while the flip runs. */
.site-header .logo-badge.logo-flip-active::before {
  content: "";
  position: absolute;
  inset: -10px -14px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 4%, rgba(255,194,112,.98) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 20%, rgba(242,106,27,.95) 0 2px, transparent 3px),
    radial-gradient(circle at 96% 50%, rgba(255,194,112,.95) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 80% 82%, rgba(242,106,27,.95) 0 2px, transparent 3px),
    radial-gradient(circle at 50% 96%, rgba(255,194,112,.95) 0 2px, transparent 3px),
    radial-gradient(circle at 20% 82%, rgba(242,106,27,.95) 0 2px, transparent 3px),
    radial-gradient(circle at 4% 50%, rgba(255,194,112,.95) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 20% 20%, rgba(242,106,27,.95) 0 2px, transparent 3px);
  filter: drop-shadow(0 0 5px rgba(242,106,27,.85));
  opacity: 0;
  transform: scale(.78) rotate(-12deg);
  z-index: 3;
  pointer-events: none;
  animation: tightLogoSpark 900ms cubic-bezier(.2,.75,.25,1) 320ms both !important;
}

.site-header .logo-badge.logo-flip-active::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 82%;
  height: 82%;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 48%, rgba(242,106,27,.16) 55%, rgba(242,106,27,.45) 57%, transparent 66%);
  filter: blur(2px) drop-shadow(0 0 8px rgba(242,106,27,.7));
  opacity: 0;
  transform: translate(-50%,-50%) scale(.65);
  z-index: -1;
  pointer-events: none;
  animation: tightLogoGlow 850ms ease-out 300ms both !important;
}

@keyframes tightLogoSpark {
  0% { opacity: 0; transform: scale(.72) rotate(-12deg); filter: drop-shadow(0 0 2px rgba(242,106,27,.2)); }
  18% { opacity: 1; transform: scale(.9) rotate(4deg); filter: drop-shadow(0 0 7px rgba(242,106,27,.95)); }
  45% { opacity: 1; transform: scale(1) rotate(-3deg); filter: drop-shadow(0 0 9px rgba(242,106,27,.95)); }
  72% { opacity: .65; transform: scale(1.04) rotate(2deg); }
  100% { opacity: 0; transform: scale(1.08) rotate(5deg); filter: drop-shadow(0 0 1px rgba(242,106,27,0)); }
}

@keyframes tightLogoGlow {
  0% { opacity: 0; transform: translate(-50%,-50%) scale(.65); }
  25% { opacity: .9; transform: translate(-50%,-50%) scale(.9); }
  55% { opacity: .6; transform: translate(-50%,-50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%,-50%) scale(1.12); }
}

.site-header .container {
  gap: 36px;
}

.site-header .nav-links {
  margin-left: auto;
  gap: clamp(20px, 2.5vw, 34px);
  white-space: nowrap;
}

.site-header .nav-links a { color: var(--navy); }
.site-header .nav-links a:not(.nav-cta)::after { background: var(--amber); }
.site-header .nav-cta {
  color: var(--white) !important;
  background: var(--navy);
  border-color: var(--navy);
  padding: 11px 20px !important;
}
.site-header .nav-cta:hover {
  background: var(--amber) !important;
  border-color: var(--amber) !important;
  color: var(--white) !important;
}

@media (max-width: 900px) {
  .site-header .container { min-height: 82px; gap: 20px; }
  .site-header .logo-badge { min-width: 62px; min-height: 58px; height: 90px; }
  .site-header .logo-img { height: 80px !important; max-width: none !important; }
}

@media (max-width: 600px) {
  .site-header .container { min-height: 80px; padding-left: 20px; padding-right: 20px; }
  .site-header .logo-badge { min-width: 56px; min-height: 52px; height: 80px; }
  .site-header .logo-img { height: 70px !important; max-width: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .logo-badge.logo-flip-active,
  .site-header .logo-badge.logo-flip-active::before,
  .site-header .logo-badge.logo-flip-active::after {
    animation: none !important;
  }
}

/* PURE WHITE HEADER */
.site-header,
.site-header.is-scrolled {
  background: #fff !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}


/* =========================================================
   WORKFORCE HERO
   Compact • Readable • User Friendly
   ========================================================= */

.hero {
  min-height: auto;
  position: relative;
  overflow: hidden;
}

/* Main hero container */
.hero .container {
  padding: 105px 32px 85px;
}

/* ---------------------------------------------------------
   Trust label
   --------------------------------------------------------- */

.hero .eyebrow,
.hero .kicker,
.hero .trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-bottom: 22px;

  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: var(--amber);
}

/* ---------------------------------------------------------
   Main headline
   --------------------------------------------------------- */

.hero h1 {
  max-width: 820px;

  margin: 0;

  font-size: clamp(3rem, 6vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;

  text-wrap: balance;
}

/* Highlighted words inside headline */
.hero h1 span,
.hero h1 .highlight {
  color: var(--amber);
}

/* ---------------------------------------------------------
   Supporting paragraph
   --------------------------------------------------------- */

.hero p.lead {
  max-width: 650px;

  margin: 24px 0 0;

  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.7;

  color: rgba(255, 255, 255, 0.76);

  text-wrap: pretty;
}

/* ---------------------------------------------------------
   CTA buttons
   --------------------------------------------------------- */

.hero .cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 14px;

  margin-top: 32px;
}

.hero .cta-row a,
.hero .cta-row button {
  min-height: 48px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 22px;

  border-radius: 10px;

  font-size: 0.95rem;
  font-weight: 700;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.hero .cta-row a:hover,
.hero .cta-row button:hover {
  transform: translateY(-2px);
}

/* ---------------------------------------------------------
   Hero stats / supporting information
   --------------------------------------------------------- */

.hero .stats,
.hero .hero-stats {
  margin-top: 58px;
}

/* ---------------------------------------------------------
   Scroll indicator
   --------------------------------------------------------- */

.hero .scroll-cue {
  bottom: 18px;
  opacity: 0.5;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .hero .container {
    padding: 90px 32px 72px;
  }

  .hero h1 {
    max-width: 720px;

    font-size: clamp(2.8rem, 8vw, 4.4rem);
    line-height: 1.03;
  }

  .hero p.lead {
    max-width: 600px;
  }

  .hero .stats,
  .hero .hero-stats {
    margin-top: 48px;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .hero {
    min-height: auto;
  }

  .hero .container {
    padding: 64px 20px 64px;
  }

  /* Trust label */
  .hero .eyebrow,
  .hero .kicker,
  .hero .trust-badge {
    margin-bottom: 18px;

    font-size: 0.72rem;
    letter-spacing: 0.07em;
  }

  /* Headline */
  .hero h1 {
    max-width: 100%;

    font-size: clamp(2.55rem, 12vw, 3.5rem);
    line-height: 1.02;
    letter-spacing: -0.025em;
  }

  /* Description */
  .hero p.lead {
    max-width: 100%;

    margin-top: 18px;

    font-size: 0.98rem;
    line-height: 1.65;

    color: rgba(255, 255, 255, 0.8);
  }

  /* Buttons */
  .hero .cta-row {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 10px;

    margin-top: 26px;
  }

  .hero .cta-row a,
  .hero .cta-row button {
    width: 100%;
    min-height: 52px;

    padding: 13px 20px;

    border-radius: 10px;

    font-size: 0.95rem;
  }

  /* Stats */
  .hero .stats,
  .hero .hero-stats {
    margin-top: 42px;
  }

  /* Hide scroll hint on small screens */
  .hero .scroll-cue {
    display: none;
  }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

  .hero .container {
    padding: 54px 18px 55px;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero p.lead {
    font-size: 0.94rem;
  }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .hero .cta-row a,
  .hero .cta-row button {
    transition: none;
  }

  .hero .cta-row a:hover,
  .hero .cta-row button:hover {
    transform: none;
  }
}

/* ==========================================================================\n   INDEX PAGE — FINAL VISUAL SYSTEM\n   Standalone stylesheet for index.html\n   ========================================================================== */

/* One continuous premium background across the complete page */
html, body { min-height: 100%; }
body {
  background: var(--site-bg) !important;
  background-attachment: fixed !important;
  background-size: 160% 160% !important;
  color: rgba(255,255,255,.88) !important;
}

/* Sections intentionally stay transparent so the body background continues */
.section,
.section--white,
.section--tight {
  position: relative;
  background: transparent !important;
  color: rgba(255,255,255,.88);
}
.section::before,
.section::after,
.section--white::before,
.section--white::after { pointer-events:none; }

/* Header */
.site-header {
  position: relative !important;
  top: auto !important;
  background: rgba(255,255,255,.98) !important;
  border-bottom: 1px solid rgba(6,16,30,.08) !important;
  box-shadow: 0 10px 30px rgba(6,16,30,.08) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-header .container { min-height: 84px; }
.site-header .logo-badge {
  animation: spasLogoFlip 1.35s cubic-bezier(.22,.61,.36,1) 1.05s both !important;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}
@keyframes spasLogoFlip {
  0% { opacity:0; transform:perspective(1000px) rotateY(-180deg) scale(.78); }
  35% { opacity:1; transform:perspective(1000px) rotateY(-90deg) scale(.94); }
  68% { opacity:1; transform:perspective(1000px) rotateY(12deg) scale(1.06); }
  86% { transform:perspective(1000px) rotateY(-5deg) scale(1.02); }
  100% { opacity:1; transform:perspective(1000px) rotateY(0deg) scale(1); }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  display: flex;
  align-items: center;
  background: transparent !important;
}
.hero::before {
  opacity: .42;
}
.hero::after {
  opacity: .28;
}
.hero .container { position:relative; z-index:3; }
.hero h1 {
  max-width: 850px;
  font-size: clamp(3.2rem,7vw,6.5rem);
  line-height: .92;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.hero p.lead { max-width: 700px; }

/* Section headings */
.section h2,
.section--white h2 {
  color: #fff !important;
  font-size: clamp(2rem,4vw,3rem) !important;
  line-height: 1;
  letter-spacing: -.035em;
}
.section > .container > .status-stamp,
.section--white > .container > .status-stamp {
  color: rgba(255,255,255,.58) !important;
}

/* Stats strip */
.section--white:has(.stats) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.stats {
  position: relative;
  margin: 0 auto;
  padding: 28px 34px;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.025);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.stats > div {
  position: relative;
  padding: 18px 24px;
  text-align: center;
}
.stats > div + div::before {
  content:"";
  position:absolute;
  left:0;
  top:20%;
  width:1px;
  height:60%;
  background:rgba(255,255,255,.12);
}
.stats .num { color:#fff !important; }
.stats .label { color:rgba(255,255,255,.58) !important; }

/* Services */
.section:has(.grid--4) { padding-top: 105px; padding-bottom: 105px; }
.grid--4 { gap: 22px !important; }
.card {
  position: relative;
  min-height: 230px;
  padding: 30px !important;
  border: 1px solid rgba(255,255,255,.11) !important;
  border-radius: 20px !important;
  background: linear-gradient(145deg,rgba(255,255,255,.97),rgba(245,248,251,.94)) !important;
  color: var(--ink) !important;
  box-shadow: 0 22px 55px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.8) !important;
  overflow: hidden;
  transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s ease, border-color .35s ease;
}
.card::before {
  height: 3px !important;
  background: linear-gradient(90deg,var(--amber),#ff9a57,transparent) !important;
}
.card svg {
  color: var(--amber) !important;
  transition: transform .45s cubic-bezier(.16,1,.3,1), color .35s ease;
}
.card:hover {
  transform: translateY(-12px) !important;
  border-color: rgba(242,106,27,.35) !important;
  box-shadow: 0 32px 75px rgba(0,0,0,.28) !important;
}
.card:hover svg { transform: translateY(-3px) scale(1.08) rotate(-3deg); }
.card p[style*="font-family"] { color: var(--navy) !important; font-size: 1.22rem; }
.card p[style*="font-size"] { color: rgba(15,23,42,.66) !important; line-height:1.65; }

/* Why businesses choose us — three real cards */
.section--white:has(.grid--3) {
  padding-top: 105px;
  padding-bottom: 105px;
}
.section--white:has(.grid--3) .grid--3 {
  gap: 22px !important;
  margin-top: 42px !important;
  align-items: stretch;
}
.section--white:has(.grid--3) .grid--3 > .reveal {
  position:relative;
  min-height:280px;
  padding:34px 30px 30px !important;
  border:1px solid rgba(255,255,255,.11) !important;
  border-radius:20px !important;
  background:linear-gradient(145deg,rgba(255,255,255,.095),rgba(255,255,255,.035)) !important;
  box-shadow:0 22px 55px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.07) !important;
  overflow:hidden;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  transition:transform .45s cubic-bezier(.16,1,.3,1), border-color .35s ease, box-shadow .45s ease, background .35s ease;
}
.section--white:has(.grid--3) .grid--3 > .reveal::before {
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height:3px;
  background:linear-gradient(90deg,var(--amber),rgba(242,106,27,.15));
}
.section--white:has(.grid--3) .grid--3 > .reveal::after {
  content:"";
  position:absolute;
  width:150px;
  height:150px;
  right:-75px;
  bottom:-75px;
  border-radius:50%;
  background:rgba(242,106,27,.10);
  filter:blur(2px);
}
.section--white:has(.grid--3) .grid--3 > .reveal:hover {
  transform:translateY(-10px);
  border-color:rgba(242,106,27,.30) !important;
  box-shadow:0 30px 70px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.10) !important;
}
.section--white:has(.grid--3) .grid--3 > .reveal svg {
  width:52px;
  height:52px;
  padding:13px;
  border-radius:15px;
  color:var(--amber) !important;
  stroke:currentColor !important;
  background:rgba(242,106,27,.10);
  border:1px solid rgba(242,106,27,.16);
}
.section--white:has(.grid--3) .grid--3 > .reveal p[style*="font-family"] {
  color:#fff !important;
  font-size:1.22rem;
  letter-spacing:-.01em;
}
.section--white:has(.grid--3) .grid--3 > .reveal p[style*="font-size"] {
  color:rgba(255,255,255,.62) !important;
}

/* Process */
.section:has([style*="border-left"]) { padding-top:105px; padding-bottom:105px; }
.section:has([style*="border-left"]) .grid--3 {
  position:relative;
  gap:22px !important;
  margin-top:42px !important;
}
.section:has([style*="border-left"]) .grid--3::before {
  content:"";
  position:absolute;
  left:12%; right:12%;
  top:48px;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(242,106,27,.55),rgba(255,255,255,.16),rgba(242,106,27,.55),transparent);
  z-index:0;
}
.section:has([style*="border-left"]) .grid--3 > .reveal {
  position:relative;
  z-index:1;
  min-height:225px;
  padding:30px 28px !important;
  border:1px solid rgba(255,255,255,.10) !important;
  border-left:3px solid var(--amber) !important;
  border-radius:18px !important;
  background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025)) !important;
  box-shadow:0 20px 50px rgba(0,0,0,.17), inset 0 1px 0 rgba(255,255,255,.06);
  overflow:hidden;
  transition:transform .45s cubic-bezier(.16,1,.3,1), border-color .35s ease, background .35s ease, box-shadow .45s ease;
}
.section:has([style*="border-left"]) .grid--3 > .reveal:hover {
  transform:translateY(-9px);
  border-color:rgba(242,106,27,.28) !important;
  box-shadow:0 30px 65px rgba(0,0,0,.24);
}
.section:has([style*="border-left"]) .grid--3 > .reveal p:first-child {
  display:flex;
  align-items:center;
  justify-content:center;
  width:58px;
  height:58px;
  margin:0;
  border-radius:50%;
  background:var(--amber);
  color:#fff !important;
  font-size:1.15rem !important;
  box-shadow:0 10px 28px rgba(242,106,27,.28);
}
.section:has([style*="border-left"]) .grid--3 > .reveal p:last-child {
  margin-top:22px !important;
  color:rgba(255,255,255,.68) !important;
  line-height:1.7;
}

/* Testimonial */
.hero[style*="padding:0"] {
  min-height:0 !important;
  padding:0 !important;
  background:linear-gradient(135deg,rgba(3,10,19,.78),rgba(18,34,56,.70)) !important;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.hero[style*="padding:0"] .container {
  padding:105px 32px !important;
  max-width:850px !important;
  text-align:center;
}
.hero[style*="padding:0"] .container p:first-child {
  position:relative;
  color:#fff !important;
  font-size:clamp(1.45rem,2.8vw,2.1rem) !important;
  line-height:1.55 !important;
  letter-spacing:-.015em;
}
.hero[style*="padding:0"] .container p:first-child::before {
  content:"“";
  display:block;
  margin-bottom:4px;
  color:var(--amber);
  font-family:Georgia,serif;
  font-size:4rem;
  line-height:.6;
}
.hero[style*="padding:0"] .container p:last-child {
  color:rgba(255,255,255,.54) !important;
}

/* Final CTA */
.section:has(.btn--navy) { padding-top:105px; padding-bottom:105px; }
.section:has(.btn--navy) > .container[style*="text-align:center"] {
  position:relative;
  max-width:900px;
  padding:68px 45px !important;
  border:1px solid rgba(255,255,255,.11);
  border-radius:24px;
  background:linear-gradient(145deg,rgba(255,255,255,.085),rgba(255,255,255,.035));
  box-shadow:0 28px 75px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.07);
  overflow:hidden;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.section:has(.btn--navy) > .container[style*="text-align:center"]::before {
  content:"";
  position:absolute;
  top:0; left:15%; right:15%;
  height:3px;
  background:linear-gradient(90deg,transparent,var(--amber),transparent);
}
.section:has(.btn--navy) h2 { color:#fff !important; }
.section:has(.btn--navy) p[style*="margin-top:12px"] { color:rgba(255,255,255,.62) !important; }

/* Buttons */
.btn { min-height:52px; border-radius:12px; }
.btn--amber { box-shadow:0 12px 30px rgba(242,106,27,.22); }
.btn--outline-light { border-color:rgba(255,255,255,.28); }
.btn--outline-light:hover { border-color:var(--amber); }

/* Footer */
.site-footer {
  padding-top:38px !important;
  padding-bottom:38px !important;
  border-top:1px solid rgba(255,255,255,.10);
}
.site-footer p:first-child { color:rgba(255,255,255,.72) !important; }
.site-footer p:last-child { color:rgba(255,255,255,.38) !important; }

/* Reveal: replay when an element leaves and re-enters viewport */
.reveal {
  opacity:0;
  transform:translate3d(0,42px,0) scale(.97);
  filter:blur(3px);
  transition:opacity .75s ease, transform .8s cubic-bezier(.16,1,.3,1), filter .75s ease;
}
.reveal.is-visible {
  opacity:1;
  transform:translate3d(0,0,0) scale(1);
  filter:blur(0);
}

/* Mobile */
@media (max-width:980px) {
  .grid--4 { grid-template-columns:repeat(2,1fr) !important; }
  .stats { grid-template-columns:repeat(2,1fr); }
  .stats > div:nth-child(3)::before { display:block; }
  .stats > div:nth-child(2)::before { display:none; }
  .stats > div:nth-child(odd)::before { display:none; }
}
@media (max-width:760px) {
  .site-header .container { min-height:76px; }
  .hero { min-height:590px; }
  .hero h1 { font-size:clamp(2.75rem,11vw,4.4rem); }
  .section, .section--white, .section:has(.grid--4), .section--white:has(.grid--3), .section:has([style*="border-left"]), .section:has(.btn--navy) { padding-top:78px; padding-bottom:78px; }
  .grid--3, .grid--4 { grid-template-columns:1fr !important; }
  .stats { grid-template-columns:1fr 1fr; padding:20px 10px; }
  .stats > div { padding:15px 8px; }
  .stats > div + div::before { display:none; }
  .section--white:has(.grid--3) .grid--3 > .reveal { min-height:245px; }
  .section:has([style*="border-left"]) .grid--3::before { display:none; }
  .hero[style*="padding:0"] .container { padding:78px 24px !important; }
  .section:has(.btn--navy) > .container[style*="text-align:center"] { padding:52px 24px !important; }
}
@media (max-width:480px) {
  .hero { min-height:560px; }
  .hero h1 { font-size:clamp(2.5rem,13vw,3.4rem); }
  .stats { grid-template-columns:1fr 1fr; }
  .stats .num { font-size:2rem !important; }
  .stats .label { font-size:.72rem !important; }
  .card { min-height:205px; padding:26px !important; }
  .section--white:has(.grid--3) .grid--3 > .reveal,
  .section:has([style*="border-left"]) .grid--3 > .reveal { min-height:auto; }
  .cta-row { flex-direction:column; align-items:stretch; }
  .cta-row .btn { width:100%; }
}

@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after {
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    scroll-behavior:auto !important;
    transition-duration:.01ms !important;
  }
}

/* ==========================================================================
   SPAS IV — READABILITY-FIRST MODERN OVERRIDE
   This layer intentionally wins over older conflicting rules in index.css.
   ========================================================================== */

:root {
  --spas-bg: #06101E;
  --spas-bg-2: #0C2340;
  --spas-blue: #176B8A;
  --spas-amber: #F26A1B;
  --spas-amber-dark: #C94A0A;
  --spas-white: #FFFFFF;
  --spas-text: #F7FAFC;
  --spas-muted: rgba(247,250,252,.78);
  --spas-dark: #0A1220;
  --spas-card-text: #253246;
}

/* Base text: never rely on inherited low-opacity text. */
body {
  color: var(--spas-text);
  background:
    radial-gradient(circle at 82% 16%, rgba(242,106,27,.18), transparent 25%),
    radial-gradient(circle at 12% 76%, rgba(23,107,138,.18), transparent 30%),
    linear-gradient(135deg, #050B16 0%, #0A1830 52%, #163B5C 100%);
}

p, li, span, small {
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--spas-white);
}

/* Header: light surface = dark navigation. */
.site-header {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(10,18,32,.10);
  box-shadow: 0 10px 35px rgba(0,0,0,.10);
}

.site-header .nav-links a,
.site-header .nav-links a.is-active {
  color: #0A1220 !important;
}

.site-header .nav-links a:hover {
  color: var(--spas-amber-dark) !important;
}

.site-header .nav-cta {
  color: #0A1220 !important;
  background: rgba(10,18,32,.04);
  border-color: rgba(10,18,32,.16);
}

.site-header .nav-cta:hover {
  color: #fff !important;
  background: var(--spas-dark) !important;
}

.nav-toggle span {
  background: #0A1220;
}

/* Hero */
.hero {
  color: var(--spas-white);
  background:
    radial-gradient(circle at 82% 22%, rgba(242,106,27,.20), transparent 26%),
    linear-gradient(135deg, #050B16 0%, #0A1830 50%, #163B5C 100%);
}

.hero h1 {
  color: #fff !important;
  max-width: 900px;
  text-wrap: balance;
}

.hero p.lead {
  color: rgba(255,255,255,.86) !important;
  max-width: 680px;
  line-height: 1.75;
}

.status-stamp--amber {
  color: #FFB15C !important;
}

/* Main dark sections */
.section,
.section--white,
.why-section {
  color: var(--spas-text);
  background: transparent;
}

.section-title,
.section-heading .section-title,
.section h2,
.section--white h2 {
  color: #fff !important;
  text-wrap: balance;
}

.section-intro,
.final-cta-text {
  color: rgba(255,255,255,.82) !important;
  max-width: 680px;
}

/* Service cards: light background + DARK text only. */
.section .card,
.section--white .card,
.card {
  background: linear-gradient(145deg, #FFFFFF 0%, #F4F7FA 100%) !important;
  color: var(--spas-card-text) !important;
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 18px 48px rgba(0,0,0,.20);
}

.card svg {
  color: var(--spas-amber) !important;
  stroke: currentColor;
}

.card .card-title,
.section .card .card-title,
.section--white .card .card-title {
  color: #0A1220 !important;
  font-weight: 700;
  opacity: 1 !important;
}

.card .card-text,
.section .card .card-text,
.section--white .card .card-text {
  color: #334155 !important;
  opacity: 1 !important;
}

/* Feature cards: dark glass + LIGHT text. */
.feature-card {
  color: #fff !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.045)),
    rgba(6,16,30,.58) !important;
  border-color: rgba(255,255,255,.15);
}

.feature-card .feature-title {
  color: #fff !important;
  opacity: 1 !important;
}

.feature-card .feature-text {
  color: rgba(255,255,255,.84) !important;
  opacity: 1 !important;
}

.feature-card .feature-number {
  color: rgba(255,255,255,.42) !important;
}

.feature-icon {
  color: #FFB15C !important;
}

/* Process cards: dark glass + LIGHT text. */
.process-step {
  color: #fff !important;
  background: rgba(255,255,255,.055) !important;
  border-left-color: var(--spas-amber) !important;
}

.process-step .step-number {
  color: #FFB15C !important;
}

.process-step .step-text {
  color: rgba(255,255,255,.86) !important;
}

/* Stats: light cards + DARK text. */
.stats > div {
  background: linear-gradient(145deg, #FFFFFF 0%, #EEF4F8 100%) !important;
  color: #0A1220 !important;
}

.stats .num {
  color: #0A1220 !important;
}

.stats .label {
  color: #334155 !important;
}

/* Testimonial */
.testimonial {
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(242,106,27,.20), transparent 25%),
    linear-gradient(135deg, #040812 0%, #0A1627 55%, #122A40 100%);
}

.testimonial-quote {
  color: #fff !important;
  text-wrap: balance;
}

.testimonial-author {
  color: rgba(255,255,255,.76) !important;
}

/* Final CTA */
.final-cta h2 {
  color: #fff !important;
}

.final-cta-text {
  color: rgba(255,255,255,.84) !important;
}

/* Footer */
.site-footer {
  color: rgba(255,255,255,.84) !important;
  border-top-color: rgba(255,255,255,.12);
}

.site-footer p {
  color: inherit !important;
}

.footer-muted {
  color: rgba(255,255,255,.62) !important;
}

/* Buttons: strong contrast in every state. */
.btn--amber {
  color: #fff !important;
  background: linear-gradient(135deg, #FF8A45, #F26A1B) !important;
}

.btn--navy {
  color: #fff !important;
  background: linear-gradient(135deg, #176B8A, #06101E) !important;
}

.btn--outline-light {
  color: #fff !important;
  border-color: rgba(255,255,255,.55) !important;
  background: rgba(255,255,255,.08) !important;
}

/* Focus visibility */
:focus-visible {
  outline: 3px solid #FFB15C !important;
  outline-offset: 4px;
}

/* Mobile menu must remain readable. */
@media (max-width: 900px) {
  .nav-links.is-open {
    background: rgba(255,255,255,.99) !important;
  }

  .nav-links.is-open a,
  .nav-links.is-open a.is-active {
    color: #0A1220 !important;
  }

  .nav-links.is-open .nav-cta {
    color: #0A1220 !important;
  }
}

/* Reduce visual motion that can interfere with reading. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
