/* ============================================================
   REVIVE DATA INC. — Global Design System
   Premium Executive Advisory Website
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Colors */
  --navy:          #0A192F;
  --navy-light:    #112240;
  --navy-mid:      #0D1D35;
  --navy-dark:     #060F1F;
  --navy-glass:    rgba(10, 25, 47, 0.85);
  --gold:          #D4AF37;
  --gold-hover:    #E8C84A;
  --gold-dim:      rgba(212, 175, 55, 0.15);
  --gold-glow:     rgba(212, 175, 55, 0.4);
  --cyan:          #00D4FF;
  --cyan-dim:      rgba(0, 212, 255, 0.12);
  --cyan-glow:     rgba(0, 212, 255, 0.35);
  --white:         #FFFFFF;
  --off-white:     #E6F1FF;
  --silver:        #8892B0;
  --silver-light:  #CCD6F6;
  --silver-dark:   #495670;
  --danger:        #FF6B6B;
  --success:       #64FFDA;

  /* Typography */
  --font-primary:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fw-light:      300;
  --fw-regular:    400;
  --fw-medium:     500;
  --fw-semibold:   600;
  --fw-bold:       700;
  --fw-extrabold:  800;
  --fw-black:      900;

  /* Fluid Typography Scale */
  --fs-xs:    clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --fs-sm:    clamp(0.8rem, 0.75rem + 0.3vw, 0.9rem);
  --fs-base:  clamp(0.9rem, 0.85rem + 0.35vw, 1.05rem);
  --fs-md:    clamp(1rem, 0.9rem + 0.5vw, 1.2rem);
  --fs-lg:    clamp(1.15rem, 1rem + 0.7vw, 1.45rem);
  --fs-xl:    clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  --fs-2xl:   clamp(1.8rem, 1.3rem + 2vw, 2.8rem);
  --fs-3xl:   clamp(2.2rem, 1.5rem + 3vw, 3.6rem);
  --fs-hero:  clamp(2.4rem, 1.6rem + 3.5vw, 4.2rem);

  /* Spacing */
  --sp-xs:   0.25rem;
  --sp-sm:   0.5rem;
  --sp-md:   1rem;
  --sp-lg:   1.5rem;
  --sp-xl:   2rem;
  --sp-2xl:  3rem;
  --sp-3xl:  4rem;
  --sp-4xl:  6rem;
  --sp-5xl:  8rem;

  /* Layout */
  --max-width:      1280px;
  --max-width-sm:   960px;
  --max-width-xs:   720px;
  --header-height:  80px;
  --border-radius:  12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 20px;

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.15);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.25);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.35);
  --shadow-gold: 0 4px 30px rgba(212, 175, 55, 0.2);
  --shadow-cyan: 0 4px 30px rgba(0, 212, 255, 0.15);

  /* Transitions */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:    150ms;
  --dur-normal:  300ms;
  --dur-slow:    500ms;

  /* Glass */
  --glass-bg:     rgba(17, 34, 64, 0.6);
  --glass-border: rgba(204, 214, 246, 0.08);
  --glass-blur:   20px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: 1.7;
  color: var(--silver-light);
  background-color: var(--navy);
  overflow-x: hidden;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
a:hover {
  color: var(--gold-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol { list-style: none; }

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

::selection {
  background: var(--gold-dim);
  color: var(--white);
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-xl);
}

.container--sm {
  max-width: var(--max-width-sm);
}

.container--xs {
  max-width: var(--max-width-xs);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-gold    { color: var(--gold); }
.text-cyan    { color: var(--cyan); }
.text-white   { color: var(--white); }
.text-silver  { color: var(--silver); }
.text-center  { text-align: center; }

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: background var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out),
              backdrop-filter var(--dur-normal) var(--ease-out);
}

.site-header.scrolled {
  background: var(--navy-glass);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: 0 1px 0 var(--glass-border), var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-xl);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.logo-text {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo-text span {
  color: var(--gold);
}

/* Primary Navigation */
.primary-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
}

.primary-nav a {
  position: relative;
  padding: var(--sp-sm) var(--sp-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--silver);
  text-decoration: none;
  border-radius: var(--border-radius-sm);
  transition: color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.primary-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--silver-light);
  border-radius: 2px;
  transition: transform var(--dur-normal) var(--ease-out),
              opacity var(--dur-normal) var(--ease-out);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Overlay */
.mobile-nav-overlay {
  display: none;
}

@media (max-width: 1024px) {
  .primary-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: var(--sp-sm);
    padding: var(--sp-3xl) var(--sp-xl);
    background: var(--navy-dark);
    border-left: 1px solid var(--glass-border);
    transition: right var(--dur-slow) var(--ease-out);
    z-index: 1000;
  }

  .primary-nav.open {
    right: 0;
  }

  .primary-nav a {
    font-size: var(--fs-md);
    padding: var(--sp-md) var(--sp-lg);
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(6, 15, 31, 0.7);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur-normal) var(--ease-out),
                visibility var(--dur-normal) var(--ease-out);
    z-index: 999;
  }

  .mobile-nav-overlay.visible {
    opacity: 1;
    visibility: visible;
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 15, 31, 0.92) 0%,
    rgba(10, 25, 47, 0.82) 40%,
    rgba(10, 25, 47, 0.65) 100%
  );
}

/* Decorative grid pattern */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(204, 214, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204, 214, 246, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: var(--sp-4xl) 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: var(--sp-sm) var(--sp-lg);
  margin-bottom: var(--sp-xl);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 100px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  font-size: var(--fs-hero);
  font-weight: var(--fw-extrabold);
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-lg);
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--fs-lg);
  font-weight: var(--fw-regular);
  color: var(--silver);
  line-height: 1.65;
  margin-bottom: var(--sp-2xl);
  max-width: 640px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  flex-wrap: wrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  padding: 14px 32px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--dur-normal) var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #C9A22E 100%);
  color: var(--navy-dark);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-hover) 0%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 35px rgba(212, 175, 55, 0.35);
  color: var(--navy-dark);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.2),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease-out);
}

.btn-primary:hover::after {
  left: 125%;
}

.btn-secondary {
  background: transparent;
  color: var(--silver-light);
  border: 1px solid rgba(204, 214, 246, 0.2);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

.btn-icon {
  width: 18px;
  height: 18px;
}

/* ============================================================
   SECTIONS (Generic)
   ============================================================ */
.section {
  padding: var(--sp-5xl) 0;
  position: relative;
}

.section--alt {
  background: var(--navy-light);
}

.section--dark {
  background: var(--navy-dark);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--sp-3xl);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 6px 16px;
  margin-bottom: var(--sp-lg);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 100px;
}

.section-title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-extrabold);
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--sp-md);
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--silver);
  line-height: 1.65;
}

/* ============================================================
   BODY COPY SECTION
   ============================================================ */
.body-copy {
  padding: var(--sp-4xl) 0;
}

.body-copy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3xl);
  align-items: start;
}

.body-copy-text h2 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--white);
  margin-bottom: var(--sp-lg);
  line-height: 1.25;
}

.body-copy-text p {
  font-size: var(--fs-base);
  color: var(--silver);
  line-height: 1.8;
  margin-bottom: var(--sp-lg);
}

.body-copy-text p strong {
  color: var(--silver-light);
  font-weight: var(--fw-semibold);
}

/* Benefit list */
.benefit-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.benefit-item {
  display: flex;
  gap: var(--sp-lg);
  padding: var(--sp-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  transition: border-color var(--dur-normal) var(--ease-out),
              transform var(--dur-normal) var(--ease-out);
}

.benefit-item:hover {
  border-color: rgba(212, 175, 55, 0.2);
  transform: translateY(-2px);
}

.benefit-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-dim);
  border-radius: var(--border-radius-sm);
  color: var(--gold);
  font-size: 1.3rem;
}

.benefit-item h3 {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--white);
  margin-bottom: var(--sp-xs);
}

.benefit-item p {
  font-size: var(--fs-sm);
  color: var(--silver);
  line-height: 1.6;
}

/* ============================================================
   IMPACT METRIC
   ============================================================ */
.impact-section {
  padding: var(--sp-4xl) 0;
}

.impact-card {
  position: relative;
  padding: var(--sp-3xl);
  background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  text-align: center;
}

.impact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.impact-card::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--gold-dim) 0%, transparent 70%);
  pointer-events: none;
}

.impact-value {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-black);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--sp-md);
}

.impact-label {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--white);
  margin-bottom: var(--sp-md);
}

.impact-description {
  font-size: var(--fs-base);
  color: var(--silver);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Impact metrics strip (home page) */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg);
}

.metric-card {
  padding: var(--sp-xl);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  text-align: center;
  backdrop-filter: blur(10px);
  transition: border-color var(--dur-normal) var(--ease-out),
              transform var(--dur-normal) var(--ease-out);
}

.metric-card:hover {
  border-color: rgba(212, 175, 55, 0.2);
  transform: translateY(-3px);
}

.metric-number {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-extrabold);
  color: var(--gold);
  margin-bottom: var(--sp-sm);
}

.metric-label {
  font-size: var(--fs-sm);
  color: var(--silver);
  line-height: 1.4;
}

/* ============================================================
   SERVICE CARDS (Home Page)
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}

.service-card {
  position: relative;
  padding: var(--sp-2xl);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  transition: all var(--dur-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  opacity: 0;
  transition: opacity var(--dur-normal) var(--ease-out);
}

.service-card:hover {
  border-color: rgba(212, 175, 55, 0.15);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-dim);
  border-radius: var(--border-radius-sm);
  margin-bottom: var(--sp-lg);
  color: var(--gold);
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--white);
  margin-bottom: var(--sp-sm);
  line-height: 1.3;
}

.service-card p {
  font-size: var(--fs-sm);
  color: var(--silver);
  line-height: 1.65;
  flex: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  margin-top: var(--sp-lg);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--gold);
  transition: gap var(--dur-normal) var(--ease-out);
}

.service-card:hover .service-card-link {
  gap: var(--sp-md);
}

/* ============================================================
   LEAD CAPTURE FORM
   ============================================================ */
.lead-section {
  padding: var(--sp-5xl) 0;
  position: relative;
}

.lead-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.lead-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3xl);
  align-items: center;
}

.lead-content h2 {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-extrabold);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: var(--sp-lg);
}

.lead-content p {
  font-size: var(--fs-base);
  color: var(--silver);
  line-height: 1.7;
  margin-bottom: var(--sp-lg);
}

.lead-trust-signals {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.lead-trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: var(--fs-sm);
  color: var(--silver);
}

.lead-trust-item svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--success);
}

.lead-form-card {
  position: relative;
  padding: var(--sp-2xl);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(var(--glass-blur));
}

.lead-form-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 1px;
}

.lead-form-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--white);
  text-align: center;
  margin-bottom: var(--sp-xl);
}

.form-group {
  margin-bottom: var(--sp-lg);
}

.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--silver-light);
  margin-bottom: var(--sp-sm);
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  font-size: var(--fs-base);
  color: var(--white);
  background: rgba(6, 15, 31, 0.6);
  border: 1px solid rgba(204, 214, 246, 0.12);
  border-radius: var(--border-radius-sm);
  transition: border-color var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out);
}

.form-group input::placeholder {
  color: var(--silver-dark);
}

.form-group input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim), var(--shadow-gold);
}

.form-group input.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15);
}

.form-error-msg {
  display: none;
  font-size: var(--fs-xs);
  color: var(--danger);
  margin-top: var(--sp-xs);
}

.form-group input.error ~ .form-error-msg {
  display: block;
}

.form-submit {
  width: 100%;
  margin-top: var(--sp-sm);
}

.form-privacy {
  font-size: var(--fs-xs);
  color: var(--silver-dark);
  text-align: center;
  margin-top: var(--sp-md);
  line-height: 1.5;
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--sp-xl) 0;
}

.form-success.show {
  display: block;
}

.form-success svg {
  width: 48px;
  height: 48px;
  color: var(--success);
  margin: 0 auto var(--sp-md);
}

.form-success h3 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--white);
  margin-bottom: var(--sp-sm);
}

.form-success p {
  font-size: var(--fs-sm);
  color: var(--silver);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-section {
  padding: var(--sp-5xl) 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.faq-item {
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  background: var(--glass-bg);
  overflow: hidden;
  transition: border-color var(--dur-normal) var(--ease-out);
}

.faq-item:hover,
.faq-item.open {
  border-color: rgba(204, 214, 246, 0.15);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-lg);
  padding: var(--sp-lg) var(--sp-xl);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--white);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--dur-fast) var(--ease-out);
}

.faq-question:hover {
  color: var(--gold);
}

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--silver);
  transition: transform var(--dur-normal) var(--ease-out),
              color var(--dur-normal) var(--ease-out);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-out);
}

.faq-answer-inner {
  padding: 0 var(--sp-xl) var(--sp-lg);
  font-size: var(--fs-sm);
  color: var(--silver);
  line-height: 1.75;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: var(--sp-4xl) 0 var(--sp-xl);
  background: var(--navy-dark);
  border-top: 1px solid var(--glass-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-3xl);
  margin-bottom: var(--sp-3xl);
}

.footer-brand p {
  font-size: var(--fs-sm);
  color: var(--silver);
  line-height: 1.7;
  margin-top: var(--sp-md);
  max-width: 320px;
}

.footer-heading {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-lg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.footer-links a {
  font-size: var(--fs-sm);
  color: var(--silver);
  transition: color var(--dur-fast) var(--ease-out);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: var(--sp-xl);
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-md);
}

.footer-copyright {
  font-size: var(--fs-xs);
  color: var(--silver-dark);
}

.footer-legal {
  display: flex;
  gap: var(--sp-lg);
}

.footer-legal a {
  font-size: var(--fs-xs);
  color: var(--silver-dark);
}

.footer-legal a:hover {
  color: var(--silver-light);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-2xl);
  }

  .body-copy-inner {
    grid-template-columns: 1fr;
  }

  .lead-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 85vh;
  }

  .hero-content {
    padding: var(--sp-3xl) 0;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .metrics-strip {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-xl);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--sp-md);
  }

  .hero {
    min-height: 80vh;
  }

  .metrics-strip {
    grid-template-columns: 1fr;
  }

  .impact-card {
    padding: var(--sp-xl);
  }

  .lead-form-card {
    padding: var(--sp-lg);
  }

  .btn {
    padding: 12px 24px;
    width: 100%;
  }
}

/* ============================================================
   LOADING / PAGE TRANSITIONS
   ============================================================ */
.page-enter {
  animation: fadeInUp 0.6s var(--ease-out) forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Shimmer on gold accents */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.shimmer-text {
  background: linear-gradient(
    90deg,
    var(--gold) 0%,
    var(--gold-hover) 25%,
    #FFF8DC 50%,
    var(--gold-hover) 75%,
    var(--gold) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}
