/* ═══════════════════════════════════════════════
   ROBOX TECHNOLOGY CONSULTING — Light Theme
   Brand: Red #ff0000 · Navy #1d3d52 · Black #0a0a0a
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700;800&display=swap');

:root {
  --red: #ff0000;
  --red-dark: #cc0000;
  --red-light: rgba(255,0,0,0.08);
  --navy: #1d3d52;
  --navy-light: #254d66;
  --navy-xlight: rgba(29,61,82,0.08);
  --black: #0a0a0a;
  --dark: #111827;
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --font: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── UTILITY ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red-light);
  border: 1px solid rgba(255,0,0,0.2);
  color: var(--red);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  color: var(--black);
}
.section-header p { color: var(--gray-500); font-size: 17px; max-width: 560px; margin: 0 auto; }

.highlight { color: var(--red); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255,0,0,0.25);
}
.btn-red:hover {
  background: var(--red-dark);
  box-shadow: 0 8px 32px rgba(255,0,0,0.35);
  transform: translateY(-1px);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 16px rgba(29,61,82,0.25);
}
.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--gray-200);
}
.btn-outline:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--navy-xlight);
}

.btn-outline-red {
  background: transparent;
  color: var(--red);
  border: 1.5px solid var(--red);
}
.btn-outline-red:hover {
  background: var(--red);
  color: #fff;
}

/* ── NAV ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.nav-logo img { height: 76px; width: auto; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
}

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

.nav-cta { display: flex; align-items: center; gap: 10px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 88px; left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  padding: 24px 5%;
  border-bottom: 1px solid var(--gray-200);
  z-index: 999;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--navy); background: var(--navy-xlight); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 88px;
  background: var(--white);
}

/* Subtle dot grid */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #d1d5db 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 70% at 60% 50%, transparent 40%, black 100%);
  opacity: 0.5;
}

.hero-accent-bar {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--red) 0%, var(--navy) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-light);
  border: 1px solid rgba(255,0,0,0.15);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 28px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse 2s infinite; }

.hero-text h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--black);
  margin-bottom: 24px;
}

.hero-text h1 em {
  font-style: normal;
  color: var(--red);
}

.hero-text p {
  font-size: 18px;
  color: var(--gray-500);
  margin-bottom: 40px;
  max-width: 460px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-200);
}

.hero-stat .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--black);
  line-height: 1;
}
.hero-stat .num span { color: var(--red); }
.hero-stat .lbl { font-size: 12px; color: var(--gray-400); margin-top: 4px; font-weight: 500; }

/* Hero visual cards */
.hero-card-stack { display: flex; flex-direction: column; gap: 12px; }

.hcard {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.hcard:hover {
  border-color: var(--red);
  box-shadow: 0 8px 32px rgba(255,0,0,0.1);
  transform: translateX(4px);
}

.hcard-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }

.hcard-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.hcard-title { font-size: 14px; font-weight: 700; color: var(--black); }
.hcard-sub { font-size: 12px; color: var(--gray-400); }

.metric-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }

.metric-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  padding: 10px 12px;
  text-align: center;
}
.metric-box .val { font-size: 18px; font-weight: 800; color: var(--black); }
.metric-box .lbl { font-size: 10px; color: var(--gray-400); margin-top: 2px; }

.mini-bar {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 32px;
  margin-top: 10px;
}
.mini-bar span {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: var(--red);
  opacity: 0.5;
}
.mini-bar span:last-child { opacity: 1; }

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  color: #16a34a;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
}
.status-chip::before { content:''; width:6px; height:6px; border-radius:50%; background:#22c55e; }

/* ── MARQUEE ── */
.marquee-section {
  padding: 20px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
  background: var(--gray-50);
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-500);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.marquee-item svg { width: 16px; height: 16px; stroke: var(--red); fill: none; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--navy);
  padding: 60px 0;
}

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }

.stat-block {
  text-align: center;
  padding: 24px 16px;
  position: relative;
}

.stat-block:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.12);
}

.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -2px;
  color: #fff;
  line-height: 1;
}
.stat-number .accent { color: var(--red); }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 8px; font-weight: 500; }

/* ── SERVICES ── */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--navy));
  opacity: 0;
  transition: var(--transition);
}

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

.service-number { font-size: 11px; font-weight: 700; color: var(--red); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; }

.service-icon-wrap {
  width: 56px; height: 56px;
  background: var(--red-light);
  border: 1px solid rgba(255,0,0,0.15);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.service-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; color: var(--black); }
.service-card p { font-size: 14px; color: var(--gray-500); line-height: 1.7; margin-bottom: 24px; }

.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.stag {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  color: var(--gray-700);
}

.service-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  margin-top: 20px;
  transition: gap var(--transition);
}
.service-card:hover .service-link { gap: 10px; }

/* ── PROCESS STEPS ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 48px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

.process-step { text-align: center; padding: 0 12px; }

.step-circle {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.process-step:hover .step-circle {
  border-color: var(--red);
  box-shadow: 0 0 0 6px rgba(255,0,0,0.08);
}

.step-num-badge {
  position: absolute;
  top: -4px; right: -4px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.process-step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--black); }
.process-step p { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

/* ── CASE STUDIES ── */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.case-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

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

.case-banner {
  height: 120px;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
}

.case-body { padding: 24px; }
.case-industry { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--red); margin-bottom: 10px; }
.case-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--black); }
.case-card p { font-size: 13px; color: var(--gray-500); line-height: 1.6; margin-bottom: 20px; }
.case-result { display: flex; gap: 10px; flex-wrap: wrap; }

.result-pill {
  background: var(--red-light);
  border: 1px solid rgba(255,0,0,0.15);
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 12px;
  color: var(--red);
  font-weight: 700;
}

/* ── TEAM ── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.team-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  border: 2px solid rgba(255,0,0,0.2);
  background: var(--red-light);
}

.team-name { font-size: 18px; font-weight: 800; margin-bottom: 4px; color: var(--black); }
.team-role { font-size: 13px; color: var(--red); font-weight: 600; margin-bottom: 14px; }
.team-bio { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }

.contact-info h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 16px; color: var(--black); }
.contact-info p { color: var(--gray-500); font-size: 16px; margin-bottom: 40px; line-height: 1.7; }

.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: center; gap: 16px; }

.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--red-light);
  border: 1px solid rgba(255,0,0,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-item-text .label { font-size: 12px; color: var(--gray-400); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-item-text .value { font-size: 15px; color: var(--black); font-weight: 500; margin-top: 2px; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; color: var(--black); }
.contact-form .sub { font-size: 14px; color: var(--gray-400); margin-bottom: 28px; }

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

.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 8px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--black);
  font-size: 14px;
  font-family: var(--font);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255,0,0,0.08);
  background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }
.form-group select option { background: var(--white); }
.form-group textarea { height: 110px; resize: vertical; }

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--navy);
  border-radius: 24px;
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 5%;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,0,0,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 12px; color: #fff; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.7); font-size: 16px; margin-bottom: 36px; position: relative; }
.cta-banner-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

.btn-white {
  background: #fff;
  color: var(--navy);
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-white:hover { background: var(--gray-100); transform: translateY(-1px); }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline-white:hover { border-color: rgba(255,255,255,0.8); }

/* ── FOOTER ── */
footer {
  background: var(--black);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand .logo-white {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.45); max-width: 260px; line-height: 1.7; }

.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  color: rgba(255,255,255,0.5);
  font-weight: 700;
}
.social-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }

/* ── WATERMARK ── */
.watermark {
  position: fixed;
  bottom: -80px;
  right: -80px;
  width: 780px;
  pointer-events: none;
  opacity: 0.09;
  z-index: 0;
  filter: grayscale(60%) contrast(1.1);
  user-select: none;
  transform: rotate(0deg);
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.fade-in.visible { opacity: 1; }

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

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 176px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #d1d5db 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.6;
}

.page-hero-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--navy));
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 16px;
  position: relative;
  color: var(--black);
}

.page-hero p {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}

/* ── ALT SECTION BG ── */
.section-alt {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-text h1 { font-size: 3rem; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-text h1 { font-size: 2.4rem; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .case-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner { padding: 40px 24px; margin: 0 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
