/* ============================================================
   FRWD Train — Professional Website Styles
   Developer: FRWD Train | Domain: frwdtrain.mom
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Color System */
  --color-navy: #0B1622;
  --color-navy-light: #152238;
  --color-navy-mid: #1E3050;
  --color-teal: #00C8E0;
  --color-teal-dark: #00A3B8;
  --color-teal-glow: #00E5FF;
  --color-coral: #FF5C3A;
  --color-coral-dark: #E04A2A;
  --color-coral-light: #FF7A60;
  --color-white: #FFFFFF;
  --color-offwhite: #F8FAFB;
  --color-slate-50: #F0F3F5;
  --color-slate-100: #E2E7EB;
  --color-slate-200: #C8CFD6;
  --color-slate-300: #A3ADB8;
  --color-slate-400: #7A8694;
  --color-slate-500: #5C6670;
  --color-slate-600: #404850;
  --color-slate-700: #2D3339;
  --color-slate-800: #1A1D24;
  --color-slate-900: #111318;
  --color-emerald: #10B981;
  --color-gold: #F59E0B;

  /* Typography */
  --font-heading: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

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

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.10), 0 8px 10px -6px rgba(0,0,0,0.05);
  --shadow-glow-teal: 0 0 20px rgba(0,200,224,0.3);
  --shadow-glow-coral: 0 0 20px rgba(255,92,58,0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 900px;
  --header-height: 72px;

  /* Contrast: all text colors are solid hex — no rgba() for readability */
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-slate-800);
  background-color: var(--color-offwhite);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--color-teal-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-coral);
}

ul, ol {
  list-style: none;
  padding-left: 0;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-teal-dark);
  background: var(--color-slate-50);
  padding: 0.35em 0.85em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  border: 1px solid var(--color-slate-100);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-teal), var(--color-coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent; /* fallback for non-webkit */
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-lg);
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: 600;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-lg);
}

/* --- Header & Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-slate-100);
  transition: box-shadow var(--transition-base), background var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: var(--color-white);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--color-navy);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-teal), var(--color-coral));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 900;
  font-size: 1.1rem;
}

.logo-accent {
  color: var(--color-coral);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  color: var(--color-slate-600);
  font-weight: 500;
  font-size: 0.925rem;
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-teal);
  transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-navy);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--color-coral);
  color: var(--color-white) !important;
  padding: 0.55em 1.25em;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--color-coral-dark);
  color: var(--color-white) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  color: var(--color-navy);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--color-navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile Nav --- */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    z-index: 1001;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 360px;
    height: 100vh;
    background: var(--color-white);
    padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl);
    transition: right var(--transition-slow);
    box-shadow: var(--shadow-xl);
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-lg);
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--color-navy);
    opacity: 0.4;
    z-index: 998;
  }

  .nav-overlay.active {
    display: block;
  }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  background: var(--color-navy);
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-teal-dark) 0%, transparent 70%);
  opacity: 0.15;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -8%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-coral) 0%, transparent 70%);
  opacity: 0.1;
}

.hero-geometry {
  position: absolute;
  top: 20%;
  left: 5%;
  width: 80px;
  height: 80px;
  border: 2px solid var(--color-teal);
  border-radius: var(--radius-lg);
  transform: rotate(45deg);
  opacity: 0.15;
}

.hero-geometry:nth-child(2) {
  top: 60%;
  left: auto;
  right: 8%;
  width: 50px;
  height: 50px;
  border-color: var(--color-coral);
  transform: rotate(12deg);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(0,200,224,0.12);
  border: 1px solid rgba(0,200,224,0.25);
  border-radius: var(--radius-full);
  padding: 0.4em 1em;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-teal-glow);
  margin-bottom: var(--space-xl);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-teal);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  color: var(--color-teal-glow);
}

.hero-subtitle {
  color: var(--color-slate-300);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.925rem;
  padding: 0.85em 1.75em;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-coral);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-coral-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-coral);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-slate-400);
}

.btn-secondary:hover {
  border-color: var(--color-teal);
  color: var(--color-teal-glow);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4/3;
}

.hero-card {
  position: absolute;
  background: var(--color-navy-light);
  border: 1px solid var(--color-navy-mid);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition-slow);
}

.hero-card:nth-child(1) {
  top: 0;
  left: 0;
  width: 75%;
  height: 70%;
  z-index: 3;
  border-left: 3px solid var(--color-teal);
}

.hero-card:nth-child(2) {
  bottom: 0;
  right: 0;
  width: 65%;
  height: 60%;
  z-index: 2;
  border-right: 3px solid var(--color-coral);
}

.hero-card:nth-child(3) {
  top: 45%;
  right: 10%;
  width: 45%;
  height: 35%;
  z-index: 1;
  border-bottom: 3px solid var(--color-teal-dark);
  opacity: 0.7;
}

.hero-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
}

.hero-card-icon.teal {
  background: rgba(0,200,224,0.15);
  color: var(--color-teal);
}

.hero-card-icon.coral {
  background: rgba(255,92,58,0.15);
  color: var(--color-coral);
}

.hero-card h4 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}

.hero-card p {
  color: var(--color-slate-300);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* --- Stats Bar --- */
.hero-stats {
  position: relative;
  z-index: 2;
  background: var(--color-navy-light);
  border-top: 1px solid var(--color-navy-mid);
  padding: var(--space-xl) 0;
}

.hero-stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--color-white);
  line-height: 1;
}

.stat-number span {
  color: var(--color-teal);
}

.stat-label {
  color: var(--color-slate-400);
  font-size: 0.85rem;
  margin-top: var(--space-xs);
}

@media (max-width: 968px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: none;
  }

  .hero-subtitle {
    max-width: none;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .hero-stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }
}

@media (max-width: 500px) {
  .hero-stats-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

/* --- Section Common --- */
.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto var(--space-4xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-subtitle {
  color: var(--color-slate-500);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* --- Geometric Section Dividers --- */
.section-divider {
  height: 60px;
  position: relative;
  overflow: hidden;
}

.section-divider.navy-to-light {
  background: var(--color-navy);
}

.section-divider.navy-to-light::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-offwhite);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}

.section-divider.light-to-navy {
  background: var(--color-offwhite);
}

.section-divider.light-to-navy::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-navy);
  clip-path: polygon(0 0, 100% 60%, 100% 100%, 0 100%);
}

.section-divider.light-to-white {
  background: var(--color-offwhite);
}

.section-divider.light-to-white::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

/* --- Services Section --- */
.services-section {
  background: var(--color-offwhite);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-100);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 40px;
  background: var(--color-teal);
  border-radius: 0 0 var(--radius-sm) 0;
  transition: height var(--transition-slow);
}

.service-card:nth-child(even)::before {
  background: var(--color-coral);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-slate-200);
}

.service-card:hover::before {
  height: 60px;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
}

.service-icon.teal-bg {
  background: #E0FAFD;
  color: var(--color-teal-dark);
}

.service-icon.coral-bg {
  background: #FFEDE8;
  color: var(--color-coral);
}

.service-icon.navy-bg {
  background: #E8EDF4;
  color: var(--color-navy-light);
}

.service-card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.2rem;
}

.service-card p {
  color: var(--color-slate-500);
  font-size: 0.925rem;
  line-height: 1.65;
}

.service-features {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.service-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: var(--color-slate-600);
}

.service-feature::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-teal);
  border-radius: 50%;
  flex-shrink: 0;
}

.service-feature:nth-child(even)::before {
  background: var(--color-coral);
}

@media (max-width: 968px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* --- About Section --- */
.about-section {
  background: var(--color-navy);
  color: var(--color-slate-300);
}

.about-section .section-label {
  background: rgba(0,200,224,0.1);
  color: var(--color-teal);
  border-color: rgba(0,200,224,0.2);
}

.about-section h2 {
  color: var(--color-white);
}

.about-section .section-subtitle {
  color: var(--color-slate-400);
}

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

.about-visual {
  position: relative;
  padding: var(--space-xl);
}

.about-shape {
  width: 100%;
  aspect-ratio: 1;
  max-width: 360px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--color-navy-light), var(--color-navy-mid));
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-navy-mid);
  position: relative;
  overflow: hidden;
}

.about-shape::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, var(--color-teal-dark) 0%, transparent 70%);
  opacity: 0.2;
}

.about-shape-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-shape-icon {
  font-size: 4rem;
  opacity: 0.9;
}

.about-content h3 {
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.about-content p {
  color: var(--color-slate-300);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.about-highlight {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.about-highlight-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  background: rgba(0,200,224,0.12);
  color: var(--color-teal);
}

.about-highlight:nth-child(even) .about-highlight-icon {
  background: rgba(255,92,58,0.12);
  color: var(--color-coral-light);
}

.about-highlight h4 {
  color: var(--color-white);
  font-size: 0.95rem;
  margin-bottom: var(--space-xs);
}

.about-highlight p {
  color: var(--color-slate-400);
  font-size: 0.85rem;
  margin-bottom: 0;
}

@media (max-width: 968px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    order: -1;
    max-width: 300px;
    margin: 0 auto;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }
}

/* --- Process Section --- */
.process-section {
  background: var(--color-white);
}

.process-track {
  display: flex;
  justify-content: space-between;
  position: relative;
  gap: var(--space-lg);
}

.process-track::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 40px;
  right: 40px;
  height: 3px;
  background: var(--color-slate-100);
  z-index: 0;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 200px;
}

.process-step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-white);
  border: 3px solid var(--color-slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-slate-400);
  margin: 0 auto var(--space-lg);
  transition: all var(--transition-base);
  position: relative;
}

.process-step:hover .process-step-number {
  border-color: var(--color-teal);
  color: var(--color-teal);
  box-shadow: var(--shadow-glow-teal);
}

.process-step:nth-child(even):hover .process-step-number {
  border-color: var(--color-coral);
  color: var(--color-coral);
  box-shadow: var(--shadow-glow-coral);
}

.process-step h4 {
  font-size: 0.95rem;
  margin-bottom: var(--space-xs);
}

.process-step p {
  color: var(--color-slate-500);
  font-size: 0.85rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .process-track {
    flex-direction: column;
    align-items: center;
    gap: var(--space-2xl);
  }

  .process-track::before {
    top: 0;
    bottom: 0;
    left: 28px;
    right: auto;
    width: 3px;
    height: auto;
  }

  .process-step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    text-align: left;
    max-width: none;
    width: 100%;
  }

  .process-step-number {
    margin: 0;
    flex-shrink: 0;
  }
}

/* --- Industries Section --- */
.industries-section {
  background: var(--color-offwhite);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.industry-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-100);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
}

.industry-card:hover {
  border-color: var(--color-teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.industry-card:nth-child(even):hover {
  border-color: var(--color-coral);
}

.industry-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.industry-card h4 {
  font-size: 0.925rem;
}

@media (max-width: 968px) {
  .industries-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Stats / Counter Section --- */
.stats-section {
  background: var(--color-navy);
  padding: var(--space-4xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xl);
  text-align: center;
}

.stat-card {
  padding: var(--space-lg);
}

.stat-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-white);
  line-height: 1;
}

.stat-value .counter {
  color: var(--color-teal);
}

.stat-value .counter:nth-child(even) {
  color: var(--color-coral-light);
}

.stat-card:nth-child(even) .stat-value .counter {
  color: var(--color-coral-light);
}

.stat-description {
  color: var(--color-slate-400);
  font-size: 0.95rem;
  margin-top: var(--space-sm);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Contact Section --- */
.contact-section {
  background: var(--color-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-info h3 {
  margin-bottom: var(--space-md);
}

.contact-info p {
  color: var(--color-slate-500);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-icon.teal-bg {
  background: #E0FAFD;
  color: var(--color-teal-dark);
}

.contact-detail-icon.coral-bg {
  background: #FFEDE8;
  color: var(--color-coral);
}

.contact-detail h4 {
  font-size: 0.9rem;
  margin-bottom: var(--space-xs);
}

.contact-detail a,
.contact-detail span {
  color: var(--color-slate-600);
  font-size: 0.9rem;
}

.contact-detail a:hover {
  color: var(--color-teal-dark);
}

.contact-form {
  background: var(--color-slate-50);
  border: 1px solid var(--color-slate-100);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--color-slate-700);
  font-size: 0.875rem;
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75em 1em;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.925rem;
  color: var(--color-slate-800);
  background: var(--color-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(0,200,224,0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-submit {
  width: 100%;
  display: flex;
  justify-content: center;
}

.form-submit .btn {
  min-width: 200px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* --- CTA Section --- */
.cta-section {
  background: var(--color-navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-teal-dark) 0%, transparent 60%);
  opacity: 0.06;
  pointer-events: none;
}

.cta-section .section-inner {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cta-section p {
  color: var(--color-slate-300);
  font-size: 1.1rem;
  margin-bottom: var(--space-xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-slate-900);
  color: var(--color-slate-400);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

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

.footer-brand p {
  margin-top: var(--space-md);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links h4 {
  color: var(--color-white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
}

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

.footer-links a {
  color: var(--color-slate-400);
  font-size: 0.875rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--color-slate-700);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--color-slate-400);
}

.footer-bottom a:hover {
  color: var(--color-teal);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Privacy & Terms Pages --- */
.legal-page {
  min-height: 100vh;
  background: var(--color-offwhite);
}

.legal-header {
  background: var(--color-navy);
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
}

.legal-header-inner {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.legal-header h1 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.legal-header p {
  color: var(--color-slate-400);
}

.legal-body {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-xl) var(--space-5xl);
}

.legal-body h2 {
  font-size: 1.35rem;
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-slate-100);
}

.legal-body h2:first-of-type {
  margin-top: 0;
}

.legal-body h3 {
  font-size: 1.1rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.legal-body p {
  color: var(--color-slate-600);
  margin-bottom: var(--space-md);
  line-height: 1.75;
  font-size: 1rem;
}

.legal-body ul,
.legal-body ol {
  list-style: disc;
  padding-left: var(--space-xl);
  color: var(--color-slate-600);
  margin-bottom: var(--space-lg);
}

.legal-body li {
  margin-bottom: var(--space-sm);
  font-size: 1rem;
  line-height: 1.6;
}

.legal-body a {
  color: var(--color-teal-dark);
}

.legal-body a:hover {
  color: var(--color-coral);
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.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; }

/* --- Toast / Notification --- */
.toast {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  background: var(--color-emerald);
  color: var(--color-white);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-base);
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.error {
  background: var(--color-coral);
}

/* --- Utility Classes --- */
.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-center { text-align: center; }
.text-right { text-align: right; }

/* --- Print Styles --- */
@media print {
  .site-header,
  .nav-toggle,
  .nav-overlay,
  .cta-section,
  .contact-form,
  .site-footer,
  .hero-stats {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .section {
    padding: 2rem 0;
  }
}
