/* ═══════════════════════════════════════════════════════════
   bridgeAI — Design System & Styles
   ═══════════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ─── */
:root {
  /* Brand — Palette A (Ocean / Teal — Formal) */
  --navy:          #0D2137;
  --navy-light:    #142C46;
  --navy-dark:     #091828;
  --teal:          #2E9EA0;
  --amber:         #F59E0B;

  /* Brand — Palette B (Warm Orange / Charcoal — Social & AI) */
  --orange:        #F26A1D;
  --orange-hover:  #E05A10;
  --amber-light:   #FF9E40;
  --ebony:         #1A1A1A;

  /* Neutrals */
  --white:         #FFFFFF;
  --off-white:     #F5F5F5;
  --gray-100:      #E5E5E5;
  --gray-200:      #C9D1DC;
  --gray-300:      #888888;
  --gray-400:      #555555;
  --dark-text:     #1A1A1A;

  /* Glassmorphism */
  --glass-bg:      rgba(13, 33, 55, 0.7);
  --glass-border:  rgba(255, 255, 255, 0.08);
  --glass-shadow:  0 8px 32px rgba(0, 0, 0, 0.25);

  /* Typography — Brand Guidelines: Trebuchet MS / Calibri / Courier New */
  --font-heading:  'Trebuchet MS', Arial, sans-serif;
  --font-body:     'Calibri', Helvetica, sans-serif;
  --font-mono:     'Courier New', monospace;

  /* Spacing */
  --section-pad:   100px 0;
  --container-max: 1200px;
  --gap-sm:        12px;
  --gap-md:        24px;
  --gap-lg:        48px;
  --gap-xl:        80px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast:   0.2s var(--ease-out-expo);
  --transition-normal: 0.4s var(--ease-out-expo);
  --transition-slow:   0.7s var(--ease-out-expo);

  /* Border radius */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
}

/* ─── 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-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--gray-200);
  background: var(--navy-dark);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--amber-light); }

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

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Section Base ─── */
.section {
  padding: var(--section-pad);
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--gray-300);
  max-width: 680px;
  line-height: 1.6;
}

/* ─── Background Patterns ─── */
.bg-navy { background: var(--navy); }
.bg-navy-dark { background: var(--navy-dark); }
.bg-gradient {
  background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-dark) 100%);
  position: relative;
}

/* Starfield background */
.starfield {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.starfield::before,
.starfield::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 25% 35%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 10%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 55%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 20%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 45%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 15% 70%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 30% 85%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 50% 75%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 65% 90%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 80% 70%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 95% 85%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 5% 50%, rgba(255,255,255,0.8) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 45% 30%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 75% 60%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 10%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 20% 50%, rgba(255,255,255,0.35) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 40%, rgba(255,255,255,0.45) 0%, transparent 100%);
}

.starfield::after {
  background-image:
    radial-gradient(1px 1px at 8% 25%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 18% 60%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 33% 15%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 48% 80%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 63% 5%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 78% 45%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 93% 65%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 38% 55%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 58% 15%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 12% 90%, rgba(255,255,255,0.35) 0%, transparent 100%),
    radial-gradient(1px 1px at 82% 30%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(2px 2px at 52% 50%, rgba(242, 106, 29, 0.4) 0%, transparent 100%),
    radial-gradient(2px 2px at 22% 40%, rgba(255, 158, 64, 0.3) 0%, transparent 100%);
  animation: starTwinkle 8s ease-in-out infinite alternate;
}

@keyframes starTwinkle {
  0%   { opacity: 0.6; }
  100% { opacity: 1; }
}

/* Subtle glow orbs (reduced intensity) */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.glow-orb--orange {
  width: 400px;
  height: 400px;
  background: rgba(242, 106, 29, 0.06);
}

.glow-orb--teal {
  width: 350px;
  height: 350px;
  background: rgba(46, 158, 160, 0.05);
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  padding: 12px 0;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  height: 40px;
  width: auto;
  transition: transform var(--transition-fast);
}

.navbar__logo:hover {
  transform: scale(1.05);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.navbar__links a {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-200);
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition-fast);
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition-normal);
}

.navbar__links a:hover {
  color: var(--white);
}

.navbar__links a:hover::after {
  width: 100%;
}

.navbar__cta {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--white) !important;
  background: var(--orange);
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast) !important;
  border: 2px solid transparent;
}

.navbar__cta::after { display: none !important; }

.navbar__cta:hover {
  background: transparent !important;
  border-color: var(--orange);
  color: var(--orange) !important;
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

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

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

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

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
  background: linear-gradient(175deg, #091828 0%, #0D2137 40%, #112a44 70%, #0D2137 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero__logo-wrap {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}

.hero__logo-wrap svg {
  width: min(540px, 90vw);
  height: auto;
}

.hero__tagline {
  font-size: clamp(17px, 2.2vw, 22px);
  color: var(--gray-200);
  margin-bottom: 12px;
  font-weight: 400;
  line-height: 1.5;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out-expo) 2s forwards;
}

.hero__subtitle {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 36px;
  letter-spacing: 1px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out-expo) 2.3s forwards;
}

.hero__cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out-expo) 2.6s forwards;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
  text-decoration: none;
}

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

.btn--primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 106, 29, 0.25);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn--outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

.btn--small {
  font-size: 14px;
  padding: 10px 24px;
}

/* ─── Scroll indicator ─── */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out-expo) 3s forwards;
}

.scroll-indicator__mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--gray-400);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator__mouse::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--orange);
  border-radius: 2px;
  animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-indicator__text {
  font-size: 11px;
  color: var(--gray-400);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
}

/* ═══════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════ */

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

.about__text p {
  margin-bottom: 16px;
  font-size: 15px;
}

.about__highlight {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  padding-left: 24px;
  border-left: 3px solid var(--orange);
  margin: 28px 0;
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-card {
  background: var(--glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition-normal);
}

.stat-card:hover {
  border-color: rgba(242, 106, 29, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.stat-card__number {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card__label {
  font-size: 14px;
  color: var(--gray-300);
}

/* ═══════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════ */

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: var(--gap-lg);
}

.service-card {
  background: var(--glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--amber-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.service-card:hover {
  border-color: rgba(242, 106, 29, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(242, 106, 29, 0.12);
  border: 1px solid rgba(242, 106, 29, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  transition: all var(--transition-fast);
}

.service-card:hover .service-card__icon {
  background: rgba(242, 106, 29, 0.18);
  transform: scale(1.05);
}

.service-card__title {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--white);
}

.service-card__description {
  font-size: 14px;
  color: var(--gray-300);
  margin-bottom: 16px;
  line-height: 1.6;
}

.service-card__expand-btn {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  transition: gap var(--transition-fast);
}

.service-card__expand-btn:hover {
  gap: 10px;
}

.service-card__expand-btn .arrow {
  transition: transform var(--transition-fast);
}

.service-card.expanded .service-card__expand-btn .arrow {
  transform: rotate(90deg);
}

.service-card__details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out-expo), margin-top 0.3s ease;
  margin-top: 0;
}

.service-card.expanded .service-card__details {
  max-height: 500px;
  margin-top: 20px;
}

.service-card__details ul {
  list-style: none;
  padding: 20px 0 0;
  border-top: 1px solid var(--glass-border);
}

.service-card__details li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--gray-200);
}

.service-card__details li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════
   WHY bridgeAI
   ═══════════════════════════════════════════════════════════ */

.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: var(--gap-lg);
}

.why-card {
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

.why-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(242, 106, 29, 0.08);
  border: 1px solid rgba(242, 106, 29, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  transition: all var(--transition-normal);
}

.why-card:hover .why-card__icon {
  background: rgba(242, 106, 29, 0.14);
  border-color: rgba(242, 106, 29, 0.3);
}

.why-card__title {
  font-size: 16px;
  margin-bottom: 10px;
}

.why-card__text {
  font-size: 13px;
  color: var(--gray-300);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════
   HOW WE WORK
   ═══════════════════════════════════════════════════════════ */

.engagement__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: var(--gap-lg);
}

.engagement-card {
  background: var(--glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.engagement-card:hover {
  border-color: rgba(242, 106, 29, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.15);
}

.engagement-card__badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--amber-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.engagement-card__title {
  font-size: 20px;
  margin-bottom: 12px;
}

.engagement-card__text {
  font-size: 14px;
  color: var(--gray-300);
  line-height: 1.55;
  margin-bottom: 20px;
}

.engagement-card__features {
  list-style: none;
}

.engagement-card__features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--gray-200);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  gap: 8px;
}

.engagement-card__features li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  font-size: 13px;
}

/* ═══════════════════════════════════════════════════════════
   WHAT'S INCLUDED
   ═══════════════════════════════════════════════════════════ */

.included__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: var(--gap-lg);
}

.included-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
}

.included-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.included-item__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(46, 158, 160, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.included-item__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.included-item__text {
  font-size: 13px;
  color: var(--gray-300);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════
   GET STARTED — TIMELINE
   ═══════════════════════════════════════════════════════════ */

.timeline {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: var(--gap-xl);
  position: relative;
}

.timeline__step {
  flex: 1;
  max-width: 320px;
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.timeline__connector {
  position: absolute;
  top: 36px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 2px;
  background: var(--glass-border);
  z-index: 0;
}

.timeline__connector::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: var(--orange);
  transition: width 1s var(--ease-out-expo);
}

.timeline__step.active .timeline__connector::after {
  width: 100%;
}

.timeline__number {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--glass-bg);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-400);
  position: relative;
  z-index: 1;
  transition: all var(--transition-normal);
}

.timeline__step.active .timeline__number {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(242, 106, 29, 0.08);
}

.timeline__title {
  font-size: 18px;
  margin-bottom: 10px;
}

.timeline__text {
  font-size: 14px;
  color: var(--gray-300);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   FOUNDER
   ═══════════════════════════════════════════════════════════ */

.founder__grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--gap-lg);
  align-items: center;
  max-width: 900px;
  margin: var(--gap-lg) auto 0;
}

.founder__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  border: 3px solid rgba(255, 255, 255, 0.1);
}

.founder__name {
  font-size: 20px;
  margin-bottom: 4px;
}

.founder__role {
  font-size: 14px;
  color: var(--orange);
  margin-bottom: 10px;
  font-weight: 500;
}

.founder__bio {
  font-size: 14px;
  color: var(--gray-300);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════ */

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-xl);
  margin-top: var(--gap-lg);
}

.contact__info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.contact__info-icon {
  width: 44px;
  height: 44px;
  background: rgba(242, 106, 29, 0.08);
  border: 1px solid rgba(242, 106, 29, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact__info-label {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 2px;
}

.contact__info-value {
  font-size: 16px;
  color: var(--white);
  font-weight: 500;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-300);
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--orange);
  background: rgba(242, 106, 29, 0.05);
  box-shadow: 0 0 0 3px rgba(242, 106, 29, 0.1);
}

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

.form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238896A6' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group select option {
  background: var(--navy);
  color: var(--white);
}

.form-status {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
}

.form-status.success {
  display: flex;
  background: rgba(46, 158, 160, 0.1);
  border: 1px solid rgba(46, 158, 160, 0.3);
  color: var(--teal);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */

.footer {
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--navy-dark);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer__logo {
  height: 32px;
  width: auto;
}

.footer__links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer__links a {
  font-size: 14px;
  color: var(--gray-300);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 13px;
  color: var(--gray-400);
}

/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0.05s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.15s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.25s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.3s; }

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════
   LAYOUT VARIANTS (desktop defaults)
   ═══════════════════════════════════════════════════════════ */

.competencies__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: var(--gap-lg);
}

.impact__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.why__grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

.services__grid--callouts {
  margin-top: 48px;
}

.engagement__grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

/* Tablet landscape */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid--5 { grid-template-columns: repeat(3, 1fr); }
  .included__grid { grid-template-columns: repeat(2, 1fr); }
  .competencies__grid { grid-template-columns: repeat(3, 1fr); }
  .impact__grid { grid-template-columns: repeat(2, 1fr); }
  .engagement__grid--4 { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet portrait / large phone */
@media (max-width: 768px) {
  :root {
    --section-pad: 64px 0;
  }

  /* Navbar */
  .navbar__links { display: none; }
  .navbar__toggle { display: flex; }

  .navbar__links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 24px;
    gap: 16px;
  }

  /* Hero */
  .hero { min-height: auto; padding: 120px 20px 60px; }
  .hero__logo-wrap svg { width: min(400px, 85vw); }

  /* About */
  .about__grid { grid-template-columns: 1fr; gap: var(--gap-lg); }
  .about__stats { order: -1; }

  /* Grids */
  .competencies__grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .services__grid { grid-template-columns: 1fr; }
  .services__grid--callouts { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr 1fr; }
  .why__grid--5 { grid-template-columns: 1fr 1fr; }
  .engagement__grid { grid-template-columns: 1fr; }
  .engagement__grid--4 { grid-template-columns: 1fr; }
  .included__grid { grid-template-columns: 1fr; }
  .impact__grid { grid-template-columns: 1fr 1fr; }

  /* Timeline */
  .timeline { flex-direction: column; align-items: center; }
  .timeline__connector { display: none; }
  .timeline__step { max-width: 100%; padding: 16px 0; }

  /* Contact */
  .contact__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Founder */
  .founder__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .founder__avatar { margin: 0 auto; }

  /* Footer */
  .footer__inner { flex-direction: column; gap: 24px; }
  .footer__links { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }

  /* Impact strip text */
  .impact__grid .reveal { padding: 16px 12px; }

  /* Section titles */
  .section-title br { display: none; }
}

/* Phone */
@media (max-width: 480px) {
  :root {
    --section-pad: 48px 0;
  }

  .hero { padding: 110px 16px 50px; }
  .hero__logo-wrap svg { width: min(320px, 90vw); }
  .hero__cta-group { flex-direction: column; align-items: center; }
  .hero__cta-group .btn { width: 100%; justify-content: center; }

  .section-title { font-size: 24px; }
  .section-subtitle { font-size: 14px; }

  .competencies__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: 1fr; }
  .why__grid--5 { grid-template-columns: 1fr; }
  .impact__grid { grid-template-columns: 1fr; }

  .about__stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 20px 16px; }
  .stat-card__number { font-size: 36px; }

  .service-card { padding: 24px 20px; }
  .engagement-card { padding: 24px 20px; }

  .container { padding: 0 16px; }

  .scroll-indicator { display: none; }

  .navbar { padding: 16px 0; }
  .navbar.scrolled { padding: 10px 0; }
  .navbar__logo { height: 32px; }
}

/* ─── Touch & Mobile Enhancements ─── */
@supports (padding: env(safe-area-inset-bottom)) {
  .footer { padding-bottom: calc(30px + env(safe-area-inset-bottom)); }
  .navbar { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
}

/* Tap targets min 44px */
.navbar__toggle { min-width: 44px; min-height: 44px; display: none; align-items: center; justify-content: center; }
.service-card__expand-btn { min-height: 44px; }

/* Prevent horizontal overflow */
html, body { max-width: 100vw; }
.section { overflow-x: hidden; }

/* ─── SVG Icon Utility ─── */
.icon-svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.icon-svg--sm {
  width: 20px;
  height: 20px;
}

.icon-svg--orange { stroke: var(--orange); }
.icon-svg--teal { stroke: var(--teal); }
.icon-svg--amber { stroke: var(--amber-light); }
.icon-svg--white { stroke: var(--white); }

/* ─── Accessibility ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }
  html { scroll-behavior: auto; }
}
