/* dabInventive — 3D Gradient UI with Shimmer */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --blue-deep: #003366;
  --blue-royal: #0056b3;
  --blue-bright: #0077e6;
  --cyan: #00aaff;
  --green: #1abc9c;
  --green-emerald: #2ecc71;
  --magenta: #e91e63;
  --magenta-hot: #ff007f;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --gradient-primary: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-bright) 40%, var(--cyan) 70%, var(--green-emerald) 100%);
  --gradient-hero: linear-gradient(160deg, #001a33 0%, #003366 25%, #0056b3 50%, #00aaff 75%, #1abc9c 100%);
  --gradient-card: linear-gradient(145deg, rgba(0,86,179,0.15) 0%, rgba(26,188,156,0.1) 100%);
  --shadow-3d: 0 10px 30px rgba(0,51,102,0.25), 0 4px 12px rgba(0,0,0,0.1);
  --shadow-3d-hover: 0 20px 50px rgba(0,86,179,0.35), 0 8px 20px rgba(0,0,0,0.15);
  --shadow-inset: inset 0 2px 4px rgba(255,255,255,0.3), inset 0 -2px 4px rgba(0,0,0,0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Global Shimmer Overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255,255,255,0.03) 45%,
    rgba(255,255,255,0.08) 50%,
    rgba(255,255,255,0.03) 55%,
    transparent 60%
  );
  background-size: 200% 100%;
  animation: shimmerGlobal 8s ease-in-out infinite;
}

@keyframes shimmerGlobal {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -200% 0; }
}

/* Shimmer on sections */
.shimmer-bg {
  position: relative;
  overflow: hidden;
}
.shimmer-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  background-size: 200% 100%;
  animation: shimmerSlide 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shimmerSlide {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

a { color: var(--blue-bright); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--magenta); }

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

.container { width: 100%; max-width: 100%; padding: 0 4%; margin: 0 auto; }
.section-inner-full { width: 100%; padding: 0 4%; }
.nav-inner-full, .topbar-inner-full, .footer-inner-full { width: 100%; padding: 0 4%; margin: 0 auto; }

/* Section images */
.section-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-3d); }
.hero .section-media { position: relative; }
.section-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}
.section-media:hover .section-img { transform: scale(1.03); }
.section-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}
.section-split.reverse { direction: rtl; }
.section-split.reverse > * { direction: ltr; }
.section-banner-img { width: 100%; margin-bottom: 48px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-3d); }
.section-banner-img .section-img { min-height: 320px; max-height: 480px; }
.card-3d .section-media { margin-bottom: 20px; border-radius: var(--radius-sm); }
.card-3d .section-media .section-img { min-height: 180px; }
.case-card .section-media .section-img { min-height: 200px; border-radius: var(--radius) var(--radius) 0 0; }


/* Top Bar */
.topbar {
  background: var(--gradient-primary);
  color: var(--white);
  font-size: 0.82rem;
  padding: 8px 0;
  position: relative;
  z-index: 100;
}
.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.topbar-left, .topbar-right { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.topbar span { opacity: 0.95; }
.topbar-badge {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 600;
  box-shadow: var(--shadow-inset);
}

/* Header / Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,86,179,0.1);
  box-shadow: 0 4px 30px rgba(0,51,102,0.08);
  transition: all var(--transition);
}
.header.scrolled { box-shadow: 0 8px 40px rgba(0,51,102,0.15); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-img {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(0,51,102,0.2));
  transition: transform var(--transition);
}
.logo-link:hover .logo-img { transform: scale(1.03) translateY(-2px); }

.nav-menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-item { position: relative; }
.nav-link {
  color: var(--gray-800);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-link:hover, .nav-link.active {
  color: var(--blue-bright);
  background: linear-gradient(135deg, rgba(0,119,230,0.08), rgba(26,188,156,0.08));
}
.nav-chevron { transition: transform var(--transition); }
.nav-item.has-jumbo:hover .nav-chevron { transform: rotate(180deg); }

/* Jumbo Menu */
.main-nav { flex: 1; display: flex; justify-content: flex-end; }
.jumbo-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: min(960px, 92vw);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,51,102,0.2), 0 0 0 1px rgba(0,86,179,0.08);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 500;
  pointer-events: none;
  overflow: hidden;
}
.nav-item.has-jumbo:hover .jumbo-menu,
.nav-item.has-jumbo.jumbo-open .jumbo-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.jumbo-inner { padding: 28px 32px; }
.jumbo-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) auto; gap: 28px; }
.jumbo-col-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid rgba(0,86,179,0.1); }
.jumbo-col-icon { font-size: 1.2rem; }
.jumbo-col-head h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue-deep); font-weight: 800; }
.jumbo-links { list-style: none; }
.jumbo-links li { margin-bottom: 4px; }
.jumbo-links a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  color: inherit;
}
.jumbo-links a:hover { background: linear-gradient(135deg, rgba(0,119,230,0.06), rgba(26,188,156,0.06)); transform: translateX(4px); }
.jumbo-links strong { display: block; font-size: 0.92rem; color: var(--blue-deep); font-weight: 600; margin-bottom: 2px; }
.jumbo-links span { font-size: 0.78rem; color: var(--gray-600); line-height: 1.4; }
.jumbo-featured {
  background: var(--gradient-card);
  border: 1px solid rgba(0,86,179,0.1);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 220px;
  max-width: 260px;
}
.jumbo-featured-img { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 14px; box-shadow: var(--shadow-3d); }
.jumbo-featured-img .section-img { min-height: 120px; }
.jumbo-featured h4 { font-size: 0.95rem; color: var(--blue-deep); margin-bottom: 8px; font-weight: 700; }
.jumbo-featured p { font-size: 0.82rem; color: var(--gray-600); margin-bottom: 14px; line-height: 1.5; }
.nav-cta { margin-left: 8px; }
.topbar a { color: var(--white); opacity: 0.95; }
.topbar a:hover { opacity: 1; color: var(--white); }
.footer-contact { margin-top: 16px; font-size: 0.9rem; }
.footer-contact p { margin-bottom: 6px; }
.footer-contact a { color: rgba(255,255,255,0.85); }
.footer-contact a:hover { color: var(--cyan); }


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.btn:hover::before { transform: translateX(100%); }

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(0,86,179,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
  transform: translateY(0);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-3d-hover);
  color: var(--white);
}

.btn-outline {
  background: rgba(255,255,255,0.9);
  color: var(--blue-deep);
  border: 2px solid rgba(0,86,179,0.2);
  box-shadow: var(--shadow-3d);
}
.btn-outline:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: var(--shadow-3d-hover);
  color: var(--blue-bright);
}

.btn-magenta {
  background: linear-gradient(135deg, var(--magenta), var(--magenta-hot));
  color: var(--white);
  box-shadow: 0 6px 20px rgba(233,30,99,0.4);
}
.btn-magenta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(233,30,99,0.5);
  color: var(--white);
}

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--blue-deep);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Hero */
.hero {
  position: relative;
  background: var(--gradient-hero);
  color: var(--white);
  padding: 100px 0 120px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(26,188,156,0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0,170,255,0.3) 0%, transparent 50%);
  animation: heroPulse 8s ease-in-out infinite alternate;
}
@keyframes heroPulse {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: floatOrb 12s ease-in-out infinite;
}
.orb-1 { width: 400px; height: 400px; background: rgba(0,170,255,0.25); top: -10%; right: -5%; }
.orb-2 { width: 300px; height: 300px; background: rgba(26,188,156,0.2); bottom: -5%; left: -5%; animation-delay: -4s; }
.orb-3 { width: 200px; height: 200px; background: rgba(233,30,99,0.15); top: 40%; left: 50%; animation-delay: -8s; }
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; width: 100%; }
.hero-content { max-width: none; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: var(--shadow-inset);
  animation: fadeInUp 0.8s ease both;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
  animation: fadeInUp 0.8s 0.1s ease both;
}
.hero p {
  font-size: 1.15rem;
  opacity: 0.92;
  margin-bottom: 36px;
  max-width: 620px;
  animation: fadeInUp 0.8s 0.2s ease both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s 0.3s ease both;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.88rem;
  opacity: 0.85;
  animation: fadeInUp 0.8s 0.4s ease both;
}
.hero-trust span { display: flex; align-items: center; gap: 6px; }

.hero-status {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 20px 28px;
  box-shadow: var(--shadow-3d);
  animation: floatCard 6s ease-in-out infinite, fadeInUp 1s 0.5s ease both;
  z-index: 2;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-status .dot { color: var(--green-emerald); font-weight: 700; }
.hero-status .tech { font-size: 0.85rem; opacity: 0.8; margin-top: 4px; }

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

/* Stats */
.stats-section {
  margin-top: -60px;
  position: relative;
  z-index: 10;
  padding-bottom: 40px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-3d);
  border: 1px solid rgba(0,86,179,0.08);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-primary);
}
.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-3d-hover);
}
.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.stat-label { font-size: 0.88rem; color: var(--gray-600); margin-top: 6px; font-weight: 500; }

/* Sections — full width */
section { padding: 80px 0; position: relative; width: 100%; }
.section-alt { background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%); }

.section-label {
  display: inline-block;
  color: var(--magenta);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--blue-deep);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 680px;
  margin-bottom: 48px;
}

/* 3D Cards */
.card-3d {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-3d);
  border: 1px solid rgba(0,86,179,0.06);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card-3d::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-100%) rotate(25deg);
  transition: transform 0.8s;
  pointer-events: none;
}
.card-3d:hover {
  transform: translateY(-8px) perspective(800px) rotateX(2deg);
  box-shadow: var(--shadow-3d-hover);
}
.card-3d:hover::after { transform: translateX(100%) rotate(25deg); }

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: var(--gradient-primary);
  box-shadow: 0 6px 16px rgba(0,86,179,0.3), inset 0 1px 0 rgba(255,255,255,0.3);
  margin-bottom: 20px;
}
.card-3d h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 10px;
}
.card-3d p { color: var(--gray-600); font-size: 0.95rem; margin-bottom: 16px; }
.card-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue-bright);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.card-link:hover { gap: 8px; color: var(--magenta); }

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

/* Tabs */
.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.tab-btn {
  padding: 10px 22px;
  border-radius: 30px;
  border: 2px solid rgba(0,86,179,0.15);
  background: var(--white);
  color: var(--gray-600);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.tab-btn:hover, .tab-btn.active {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(0,86,179,0.3);
  transform: translateY(-2px);
}
.tab-panel { display: none; animation: fadeInUp 0.5s ease; }
.tab-panel.active { display: block; }

/* Why Cards */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-card {
  background: var(--gradient-card);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,86,179,0.1);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3d); }
.why-card h3 { color: var(--blue-deep); font-size: 1.1rem; margin-bottom: 8px; }
.why-card p { color: var(--gray-600); font-size: 0.95rem; }

/* Process Steps */
.process-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.process-step {
  text-align: center;
  padding: 28px 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-3d);
  transition: all var(--transition);
  position: relative;
}
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-3d-hover); }
.step-num {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.process-step h4 { font-size: 0.95rem; color: var(--blue-deep); margin-bottom: 6px; }
.process-step p { font-size: 0.82rem; color: var(--gray-600); }

/* Case Studies */
.case-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-3d);
  transition: all var(--transition);
}
.case-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-3d-hover); }
.case-tag {
  display: inline-block;
  background: var(--gradient-primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.case-body { padding: 28px; }
.case-body h3 { color: var(--blue-deep); font-size: 1.15rem; margin-bottom: 10px; }
.case-body p { color: var(--gray-600); font-size: 0.92rem; margin-bottom: 16px; }
.case-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  background: linear-gradient(135deg, rgba(233,30,99,0.08), rgba(255,0,127,0.05));
  padding: 8px 16px;
  border-radius: var(--radius-sm);
}
.case-stat strong {
  font-size: 1.4rem;
  color: var(--magenta);
  font-weight: 800;
}
.case-stat span { font-size: 0.85rem; color: var(--gray-600); }

/* Engagement Pills */
.pills-wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pill {
  padding: 12px 24px;
  border-radius: 30px;
  background: var(--white);
  border: 2px solid rgba(0,86,179,0.12);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue-deep);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all var(--transition);
  cursor: default;
}
.pill:hover {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,86,179,0.3);
}

/* CTA Section */
.cta-section {
  background: var(--gradient-hero);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

/* Page Hero (inner pages) */
.page-hero {
  background: var(--gradient-hero);
  color: var(--white);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}
.page-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
  width: 100%;
}
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-3d);
  transition: all var(--transition);
}
.contact-info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-3d-hover); }
.contact-info-card .icon { font-size: 2rem; margin-bottom: 12px; }
.contact-info-card h4 { color: var(--blue-deep); margin-bottom: 8px; font-size: 1rem; }
.contact-info-card a, .contact-info-card p { color: var(--gray-600); font-size: 0.95rem; }

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-3d);
  max-width: 640px;
  margin: 0 auto;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue-deep);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all var(--transition);
  background: var(--gray-50);
}
.form-control:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0,170,255,0.15);
  background: var(--white);
}
textarea.form-control { min-height: 140px; resize: vertical; }
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 500;
}
.alert-success { background: rgba(26,188,156,0.12); color: #0d9488; border: 1px solid rgba(26,188,156,0.3); }
.alert-error { background: rgba(233,30,99,0.08); color: var(--magenta); border: 1px solid rgba(233,30,99,0.2); }

/* Footer */
.footer {
  background: linear-gradient(180deg, var(--blue-deep) 0%, #001a33 100%);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 30px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo { height: 48px; margin-bottom: 16px; filter: brightness(1.1); }
.footer-desc { font-size: 0.92rem; opacity: 0.8; line-height: 1.7; }
.footer h5 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.footer-links a:hover { color: var(--cyan); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,26,51,0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  transform: scale(0.9) translateY(20px);
  transition: all var(--transition);
  position: relative;
}
.modal-overlay.active .modal { transform: scale(1) translateY(0); }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-600);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.modal-close:hover { background: var(--gray-100); color: var(--magenta); }
.modal h3 { color: var(--blue-deep); margin-bottom: 12px; font-size: 1.3rem; }
.modal p { color: var(--gray-600); margin-bottom: 24px; }

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-3d);
  font-size: 1.2rem;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-4px); box-shadow: var(--shadow-3d-hover); }

/* PJAX — no full page refresh */
.pjax-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 10000;
  background: linear-gradient(90deg, var(--cyan), var(--green-emerald), var(--magenta));
  box-shadow: 0 0 12px rgba(0,170,255,0.6);
  transition: width 0.4s ease;
  pointer-events: none;
}
.pjax-progress.active { opacity: 1; }
#app-main.pjax-enter {
  animation: pjaxFadeIn 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes pjaxFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
body.is-navigating { cursor: progress; }
body.is-navigating a { pointer-events: none; }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Legal pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 0;
}
.legal-content h2 { color: var(--blue-deep); margin: 32px 0 12px; font-size: 1.3rem; }
.legal-content p { color: var(--gray-600); margin-bottom: 16px; }

/* Responsive */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .section-split { grid-template-columns: 1fr; gap: 32px; }
  .section-split.reverse { direction: ltr; }
  .hero .container { grid-template-columns: 1fr; }
  .jumbo-menu { left: 0; transform: translateX(0) translateY(12px); width: 100%; position: static; box-shadow: none; border-radius: 0; max-height: 0; overflow: hidden; opacity: 1; visibility: visible; pointer-events: auto; transition: max-height 0.4s; }
  .nav-item.has-jumbo.jumbo-open .jumbo-menu { max-height: 2000px; transform: none; }
  .nav-item.has-jumbo:hover .jumbo-menu { transform: none; }
  .jumbo-columns { grid-template-columns: 1fr; }
  .jumbo-featured { max-width: 100%; }
  .contact-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; z-index: 400; }
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(340px, 90vw);
    height: 100vh;
    background: var(--white);
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    transition: right var(--transition);
    z-index: 350;
    overflow-y: auto;
    padding: 80px 20px 24px;
  }
  .main-nav.open { right: 0; }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { width: 100%; border-bottom: 1px solid var(--gray-200); }
  .nav-link { width: 100%; padding: 14px 12px; }
  .nav-cta { margin-left: 0; padding: 12px; }
  .nav-cta .btn { width: 100%; }
  .jumbo-menu { width: 100%; padding: 0; }
  .jumbo-inner { padding: 12px 8px 20px; }
  .grid-2, .grid-3, .grid-4, .why-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero { padding: 70px 0 90px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
