/* =============================================
   IRON GRID SOLUTIONS — STYLESHEET
   ============================================= */

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0a1628;
  --navy-mid: #0f2140;
  --navy-light: #1a3256;
  --blue: #1e6fd9;
  --blue-light: #3b82f6;
  --blue-glow: rgba(30, 111, 217, 0.15);
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --radius: 12px;
  --radius-sm: 8px;
  --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.1);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.15);
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

img, svg { display: block; }

ul { list-style: none; }

/* === CONTAINERS === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

p { color: var(--gray-500); line-height: 1.75; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  padding: 10px 22px;
}

.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-full { width: 100%; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(30,111,217,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-1px);
}

/* === SECTION HEADERS === */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-glow);
  border: 1px solid rgba(30,111,217,0.2);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* === SCROLL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in {
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
}
.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.25s; }
.fade-in:nth-child(3) { animation-delay: 0.4s; }
.fade-in:nth-child(4) { animation-delay: 0.55s; }
.fade-in:nth-child(5) { animation-delay: 0.7s; }

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

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.97);
  box-shadow: var(--shadow);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 6px 12px;
  border-radius: 6px;
  transition: all var(--transition);
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-cta {
  flex-shrink: 0;
  font-size: 0.875rem;
  padding: 9px 18px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

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

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

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,111,217,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,111,217,0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
}

.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30,111,217,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 64px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(30,111,217,0.12);
  border: 1px solid rgba(30,111,217,0.25);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-headline {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero-headline span {
  color: var(--blue-light);
  display: block;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.65);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
}

.hero-trust-dot {
  color: var(--blue-light);
  font-weight: 700;
}

.hero-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-dot {
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* =============================================
   TRUSTED BY
   ============================================= */
.trusted {
  padding: 56px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.trusted-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 32px;
}

.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
}

.trusted-logo {
  opacity: 0.6;
  transition: opacity var(--transition);
}
.trusted-logo:hover { opacity: 1; }

.tech-badge {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-600);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
  opacity: 0.7;
  transition: all var(--transition);
}
.tech-badge:hover {
  opacity: 1;
  border-color: var(--blue);
  color: var(--blue);
}

.cert-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 8px 16px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}

/* =============================================
   SERVICES
   ============================================= */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  border-color: rgba(30,111,217,0.25);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--blue-glow);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition);
}

.service-card:hover .service-icon {
  background: var(--blue);
  color: var(--white);
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.service-card p {
  font-size: 0.925rem;
  line-height: 1.7;
}

/* =============================================
   STATS
   ============================================= */
.stats {
  background: var(--navy);
  padding: 80px 0;
}

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

.stats .section-tag {
  color: var(--blue-light);
  background: rgba(30,111,217,0.15);
  border-color: rgba(30,111,217,0.25);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.stat-card {
  background: var(--navy-mid);
  padding: 40px 32px;
  text-align: center;
  transition: background var(--transition);
}

.stat-card:hover {
  background: var(--navy-light);
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  display: inline;
  letter-spacing: -0.02em;
}

.stat-suffix {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--blue-light);
  display: inline;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin-top: 10px;
  font-weight: 500;
}

/* Differentiator cards (replaces fake stat counters) */
.differentiator-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: rgba(30,111,217,0.15);
  color: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.differentiator-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.differentiator-body {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* =============================================
   FOUNDER SECTION
   ============================================= */
.founder {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.founder-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 48px;
}

.founder-pull-quote {
  position: relative;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
  letter-spacing: -0.01em;
  border: none;
  margin: 0;
  padding: 0;
}

.quote-mark {
  font-size: 1.6rem;
  line-height: 1;
  color: var(--blue);
  font-family: Georgia, serif;
  opacity: 0.7;
  vertical-align: -0.1em;
}

.quote-mark:first-child {
  margin-right: 2px;
}

.quote-mark:last-child {
  margin-left: 2px;
}

.founder-bio .section-tag {
  margin-bottom: 12px;
}

.founder-bio h2 {
  margin-bottom: 20px;
}

.founder-bio p {
  font-size: 0.975rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.founder-avatar-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.founder-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.founder-avatar-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.founder-avatar-info span {
  font-size: 0.825rem;
  color: var(--gray-400);
}

.pain-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pain-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  padding: 10px 18px;
  border-radius: 100px;
}

.pain-chip svg {
  color: #d97706;
  flex-shrink: 0;
}

/* Hero sub-tag */
.hero-sub-tag {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-light);
  letter-spacing: 0.02em;
  margin-top: -24px;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .founder-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works {
  background: var(--gray-50);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.step {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.step:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.step-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--blue);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.step-content h3 {
  margin-bottom: 12px;
  color: var(--gray-900);
}

.step-content p {
  font-size: 0.925rem;
  line-height: 1.75;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  margin-top: 56px;
  color: var(--blue);
  font-size: 1.5rem;
  opacity: 0.4;
}

.step-connector::before {
  content: '→';
  font-size: 1.8rem;
  font-weight: 300;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials {
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(30,111,217,0.2);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 24px;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-900);
}

.author-info span {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* Promise cards */
.promise-card {
  text-align: center;
}

.promise-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--blue-glow);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.promise-card h3 {
  margin-bottom: 12px;
}

/* Early adopter banner */
.early-adopter-banner {
  margin-top: 48px;
  background: linear-gradient(135deg, var(--navy) 0%, #0d2a52 100%);
  border: 1px solid rgba(30,111,217,0.3);
  border-radius: var(--radius);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.early-adopter-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.early-adopter-text strong {
  font-size: 1.15rem;
  color: var(--white);
}

.early-adopter-text span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  max-width: 500px;
}

@media (max-width: 768px) {
  .early-adopter-banner {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }
  .early-adopter-text span { max-width: 100%; }
}

/* =============================================
   FAQ
   ============================================= */
.faq {
  background: var(--gray-50);
}

.faq-container {
  max-width: 780px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: rgba(30,111,217,0.3);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  text-align: left;
  transition: color var(--transition);
}

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

.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  line-height: 1.75;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, #0d2a52 50%, var(--navy-mid) 100%);
}

.cta-banner-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,111,217,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,111,217,0.07) 1px, transparent 1px);
  background-size: 50px 50px;
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-banner-inner h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner-inner p {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy);
  color: var(--white);
  padding-top: 72px;
}

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

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-top: 16px;
  margin-bottom: 24px;
  line-height: 1.7;
  max-width: 260px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  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;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.footer-links h4 {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

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

.footer-contact h4 {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.footer-email {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue-light);
  margin-bottom: 20px;
  transition: color var(--transition);
}

.footer-email:hover { color: var(--white); }

.footer-ctas {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 3px 8px;
  border-radius: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.3);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition);
}

.footer-bottom-links a:hover { color: rgba(255,255,255,0.6); }

/* =============================================
   MODALS
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--gray-100);
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.modal-close:hover {
  background: var(--gray-200);
  color: var(--gray-900);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.modal-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--blue-glow);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-header h2 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.modal-header p {
  font-size: 0.9rem;
}

/* === FORMS === */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 0.925rem;
  color: var(--gray-900);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,111,217,0.12);
  background: var(--white);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

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

.form-note {
  font-size: 0.78rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: -4px;
}

.form-result {
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  display: none;
}

.form-result--success {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-result--error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .step-connector { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--navy);
    padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    gap: 4px;
    z-index: 999;
  }

  .nav-links.open a { padding: 12px 16px; }

  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 320px; }

  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }

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

  .modal { padding: 28px 20px; }

  .cta-banner-buttons { flex-direction: column; align-items: center; }
  .cta-banner-buttons .btn { width: 100%; max-width: 320px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 32px 16px; }
  .hero-trust { flex-direction: column; gap: 6px; }
  .cert-badges { gap: 8px; }
}
