/* ===================================
   Inventsoft — Core Styles
   Brand: #1F2D6B navy, #4A6CF7 blue accent, white
   Layout: editorial split-sections, asymmetric
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --navy:       #1F2D6B;
  --navy-deep:  #141E4A;
  --navy-mid:   #2A3D8F;
  --accent:     #4A6CF7;
  --accent-lt:  #6B8BFF;
  --gold:       #F0A500;
  --white:      #FFFFFF;
  --off-white:  #F4F6FC;
  --pale-blue:  #EEF1FB;
  --gray-100:   #E2E7F5;
  --gray-400:   #8A96BC;
  --gray-600:   #4A5480;
  --text:       #1F2D6B;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  --nav-h: 80px;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 24px;
  --r-xl: 40px;
  --shadow: 0 4px 40px rgba(31,45,107,0.12);
  --shadow-lg: 0 16px 60px rgba(31,45,107,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 { line-height: 1.2; }
h1,h2 { font-family: var(--font-display); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-heading em { font-style: italic; color: var(--accent); }
.section-heading.light { color: var(--white); }

.lead {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 560px;
  font-weight: 400;
  line-height: 1.75;
}
.lead.light { color: rgba(255,255,255,0.65); }

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}
section { padding: 100px 0; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  border: 2px solid transparent;
  min-height: 44px;
}
.btn-primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-lt);
  border-color: var(--accent-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(74,108,247,0.4);
}
.btn-ghost {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: white;
}
.btn-white {
  background: white;
  color: var(--navy);
  border-color: white;
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: 0 2px 20px rgba(31,45,107,0.08);
}
/* Logo: white when transparent over hero, navy when scrolled */
.navbar .nav-logo img {
  filter: brightness(0) invert(1);
  transition: filter 0.35s ease;
}
.navbar.scrolled .nav-logo img {
  filter: none;
}
/* Nav links: white over hero, navy when scrolled */
.nav-links a {
  color: rgba(255,255,255,0.82);
}
.navbar.scrolled .nav-links a {
  color: var(--gray-600);
}
.nav-links a:hover, .nav-links a.active {
  color: white;
  background: rgba(255,255,255,0.12);
}
.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
  color: var(--navy);
  background: var(--pale-blue);
}
/* CTA button: ghost over hero, solid when scrolled */
.navbar .nav-cta.btn-primary {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
  color: white;
}
.navbar.scrolled .nav-cta.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}
.nav-logo img { height: 46px; width: auto; display: block; }
.nav-logo { text-decoration: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 0.5rem 0.9rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--r-sm);
  transition: all 0.2s;
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 0.6rem; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px); left: 0;
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--r-md);
  padding: 0.5rem;
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.2s;
  box-shadow: var(--shadow-lg);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem !important;
  color: var(--gray-600) !important;
  font-size: 0.85rem;
  border-radius: var(--r-sm);
}
.dropdown-menu a:hover { background: var(--pale-blue) !important; color: var(--navy) !important; }

.nav-cta { margin-left: 0.75rem; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: white; border-radius: 2px; transition: all 0.3s;
}
.navbar.scrolled .nav-hamburger span {
  background: var(--navy);
}

/* ── HERO — full bleed split layout ── */
.hero {
  min-height: 100svh;
  background: var(--navy-deep);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Left panel */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 4rem 6rem 2rem;
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin-left: auto;
}

/* Right panel — illustrated */
.hero-right {
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-right-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 3rem;
}

/* Decorative grid dots for hero bg */
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 0%, transparent 100%);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(74,108,247,0.15);
  border: 1px solid rgba(74,108,247,0.35);
  border-radius: 100px;
  padding: 0.4rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-lt);
  margin-bottom: 1.75rem;
  letter-spacing: 0.04em;
}
.hero-tag-dot {
  width: 6px; height: 6px;
  background: var(--accent-lt);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.4; transform:scale(1.5); }
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4rem);
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.hero h1 strong {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent-lt) 0%, #9BB3FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  max-width: 480px;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }

/* Stats strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
}
.hero-stat { padding-right: 1.5rem; }
.hero-stat + .hero-stat { padding-left: 1.5rem; border-left: 1px solid rgba(255,255,255,0.1); }
.hero-stat-val {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: white;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.hero-stat-val em { color: var(--accent-lt); font-style: normal; }
.hero-stat-lbl {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* Hero right: floating cards */
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  margin-bottom: 1rem;
  animation: float 6s ease-in-out infinite;
}
.hero-card:last-child { animation-delay: -3s; margin-bottom: 0; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-card-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-lt);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.service-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pill {
  padding: 0.3rem 0.75rem;
  background: rgba(74,108,247,0.2);
  border: 1px solid rgba(74,108,247,0.3);
  border-radius: 100px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.85);
}

/* ── ABOUT STRIP — tilted accent ── */
.about-strip {
  background: var(--pale-blue);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.about-strip::before {
  content: '';
  position: absolute;
  top: -40px; left: -5%;
  width: 110%;
  height: 80px;
  background: var(--white);
  transform: rotate(-1.5deg);
}
.about-strip::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -5%;
  width: 110%;
  height: 80px;
  background: var(--white);
  transform: rotate(-1.5deg);
}
.about-strip-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 2rem;
  text-align: center;
}
.strip-stat-val {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.strip-stat-val em { color: var(--accent); font-style: normal; }
.strip-stat-lbl {
  font-size: 0.8rem;
  color: var(--gray-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── SERVICES — alternating split rows ── */
.services-section { background: white; padding: 100px 0; }

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 7rem;
}
.service-row:last-child { margin-bottom: 0; }
.service-row.flip { direction: rtl; }
.service-row.flip > * { direction: ltr; }

.service-panel {
  background: var(--navy-deep);
  border-radius: var(--r-xl);
  padding: 3rem;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.service-panel::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(74,108,247,0.25) 0%, transparent 70%);
}
.service-panel-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
.service-panel h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: white;
  margin-bottom: 0.75rem;
  font-style: italic;
}
.service-panel p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
}
.service-panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 1.5rem;
}
.service-panel-tag {
  padding: 0.25rem 0.65rem;
  background: rgba(74,108,247,0.15);
  border: 1px solid rgba(74,108,247,0.25);
  border-radius: 100px;
  font-size: 0.7rem;
  color: var(--accent-lt);
}
.service-content { padding: 1rem 0; }
.service-content h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 1rem;
  font-style: italic;
}
.service-content p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.service-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--gray-600);
}
.service-list li::before {
  content: '→';
  color: var(--accent);
  flex-shrink: 0;
  font-weight: 700;
}

/* ── MARQUEE ── */
.clients-section {
  background: var(--navy-deep);
  padding: 50px 0;
  overflow: hidden;
}
.clients-label {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  font-weight: 700;
  margin-bottom: 2rem;
}
.marquee-wrap { position: relative; overflow: hidden; }
.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
}
.marquee-wrap::before { left: 0; background: linear-gradient(to right, var(--navy-deep), transparent); }
.marquee-wrap::after  { right: 0; background: linear-gradient(to left, var(--navy-deep), transparent); }
.marquee-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: scroll 35s linear infinite;
}
.marquee-item {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  transition: color 0.3s;
}
.marquee-item:hover { color: white; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── ENGAGEMENT MODELS ── */
.engage-section {
  background: var(--pale-blue);
  padding: 100px 0;
}
.engage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.engage-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.engage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.engage-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--accent));
}
.engage-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--gray-100);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-style: italic;
}
.engage-card h3 { font-size: 1.1rem; color: var(--navy); font-weight: 700; margin-bottom: 0.75rem; }
.engage-card p { font-size: 0.875rem; color: var(--gray-600); line-height: 1.75; }

/* ── AI MODERNIZATION — dark full-bleed ── */
.ai-section {
  background: var(--navy);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.ai-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(74,108,247,0.12) 1px, transparent 1px);
  background-size: 40px 40px;
}
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}
.ai-steps { display: flex; flex-direction: column; gap: 1rem; }
.ai-step {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  transition: all 0.3s;
}
.ai-step:hover { border-color: rgba(74,108,247,0.4); background: rgba(74,108,247,0.07); }
.ai-step-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent-lt);
  min-width: 2rem;
  font-style: italic;
}
.ai-step h4 { font-size: 0.95rem; color: white; margin-bottom: 0.25rem; font-weight: 700; }
.ai-step p { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.65; }
.ai-right-cards { display: flex; flex-direction: column; gap: 1.5rem; }
.ai-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 2rem;
}
.ai-card h3 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-lt);
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
}
.check { width: 20px; height: 20px; background: rgba(74,108,247,0.2); border: 1px solid rgba(74,108,247,0.4); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; color: var(--accent-lt); flex-shrink: 0; }

/* Diff grid */
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.diff-item {
  background: rgba(74,108,247,0.1);
  border: 1px solid rgba(74,108,247,0.2);
  border-radius: var(--r-sm);
  padding: 0.9rem;
}
.diff-item strong { display: block; color: white; font-size: 0.85rem; margin-bottom: 0.2rem; }
.diff-item span { font-size: 0.78rem; color: rgba(255,255,255,0.5); }

/* ── CAPABILITIES ── */
.cap-section { background: white; padding: 100px 0; }
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.cap-card {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-md);
  padding: 1.5rem;
  transition: all 0.25s;
}
.cap-card:hover { border-color: var(--accent); background: rgba(74,108,247,0.04); transform: translateY(-3px); box-shadow: var(--shadow); }
.cap-card-icon { font-size: 1.4rem; margin-bottom: 0.6rem; }
.cap-card h4 { font-size: 0.875rem; font-weight: 700; color: var(--navy); margin-bottom: 0.3rem; }
.cap-card p { font-size: 0.78rem; color: var(--gray-600); line-height: 1.6; }
.cap-badge { display: inline-block; margin-top: 0.5rem; padding: 0.15rem 0.55rem; background: rgba(74,108,247,0.1); color: var(--accent); border-radius: 100px; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.05em; }

/* ── GLOBAL ── */
.global-section { background: var(--navy-deep); padding: 80px 0; }
.global-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.global-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: all 0.3s;
}
.global-card:hover { border-color: rgba(74,108,247,0.4); background: rgba(74,108,247,0.07); }
.global-flag { font-size: 2rem; margin-bottom: 0.75rem; }
.global-card h3 { font-family: var(--font-display); font-size: 1.2rem; color: white; margin-bottom: 0.5rem; font-style: italic; }
.global-card p { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.65; }
.city-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.85rem; }
.city-badge {
  padding: 0.2rem 0.65rem;
  background: rgba(74,108,247,0.15);
  border: 1px solid rgba(74,108,247,0.25);
  border-radius: 100px;
  font-size: 0.72rem;
  color: var(--accent-lt);
  font-weight: 600;
}

/* ── TESTIMONIALS ── */
.testimonials-section { background: var(--pale-blue); padding: 100px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.testimonial-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.15;
  position: absolute;
  top: 0.5rem; left: 1.25rem;
  line-height: 1;
}
.testimonial-text {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.testimonial-author { font-weight: 700; font-size: 0.875rem; color: var(--navy); }
.testimonial-role { font-size: 0.78rem; color: var(--gray-400); margin-top: 0.2rem; }

/* ── CTA BANNER ── */
.cta-section {
  background: var(--accent);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
}
.cta-section h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: white;
  margin-bottom: 1rem;
  position: relative;
}
.cta-section p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 2.5rem; position: relative; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── CONTACT ── */
.contact-section { background: white; padding: 100px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.contact-info h2 { font-size: 1.8rem; color: var(--navy); margin-bottom: 1rem; }
.contact-info p { font-size: 0.95rem; color: var(--gray-600); margin-bottom: 2rem; line-height: 1.8; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.25rem; align-items: flex-start; }
.contact-icon { width: 42px; height: 42px; background: var(--pale-blue); border: 1px solid var(--gray-100); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-item h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-400); font-weight: 700; margin-bottom: 0.2rem; }
.contact-item p { font-size: 0.9rem; color: var(--navy); margin: 0; }
.contact-item a { color: var(--accent); text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }

.contact-form {
  background: var(--off-white);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  border: 1px solid var(--gray-100);
}
.contact-form h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 0.35rem; font-weight: 700; }
.contact-form > p { font-size: 0.875rem; color: var(--gray-600); margin-bottom: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.78rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; letter-spacing: 0.03em; text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--navy);
  background: white;
  outline: none;
  transition: border-color 0.2s;
  min-height: 48px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74,108,247,0.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--navy);
  color: white;
  border: none;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  min-height: 48px;
}
.form-submit:hover { background: var(--navy-mid); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(31,45,107,0.3); }

/* ── FOOTER ── */
.footer { background: var(--navy-deep); padding: 70px 0 30px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.4); line-height: 1.8; margin-top: 1rem; max-width: 280px; }
.footer-col h4 { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent-lt); margin-bottom: 1.25rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-social { display: flex; gap: 0.75rem; }
.social-link { width: 36px; height: 36px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.85rem; transition: all 0.2s; }
.social-link:hover { background: var(--accent); border-color: var(--accent); color: white; }

/* ── PAGE HERO ── */
.page-hero {
  background: var(--navy-deep);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(74,108,247,0.2) 0%, transparent 60%);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: white; margin-bottom: 1rem; font-style: italic; position: relative; }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.6); max-width: 560px; position: relative; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 5rem 2rem 4rem; max-width: 100%; margin: 0; }
  .hero-right { display: none; }
  .hero-stats { grid-template-columns: repeat(3,1fr); }
  .service-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-row.flip { direction: ltr; }
  .cap-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  section { padding: 60px 0; }
  .container { padding: 0 1.25rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0.25rem;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: white;
    padding: 1.25rem 1.5rem 2rem;
    border-top: 1px solid var(--gray-100);
    box-shadow: 0 20px 40px rgba(31,45,107,0.12);
    z-index: 999;
  }
  .nav-links.open a { font-size: 1rem; padding: 0.7rem 1rem; color: var(--gray-600) !important; }
  .nav-links.open a:hover { color: var(--navy) !important; background: var(--pale-blue); }
  .hero-left { padding: 4rem 1.25rem 3rem; }
  .hero h1 { font-size: clamp(2.2rem, 7vw, 3rem); }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: 0; }
  .about-strip-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .engage-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .global-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { width: 100%; max-width: 320px; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 130px 0 60px; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-stat-val { font-size: 1.6rem; }
  .cap-grid { grid-template-columns: 1fr; }
  .about-strip-inner { grid-template-columns: 1fr 1fr; }
}

/* ── UX POLISH ── */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.navbar { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
footer { padding-bottom: calc(30px + env(safe-area-inset-bottom)); }
body { -webkit-overflow-scrolling: touch; }
.btn, .nav-links a, .footer-links a, .social-link, .form-submit { min-height: 44px; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-card { animation: none; }
  .marquee-track { animation: none; }
}

/* ---- FORM VALIDATION ---- */
.input-error {
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1) !important;
}
.field-error {
  display: block;
  color: #EF4444;
  font-size: 0.78rem;
  margin-top: 0.3rem;
  font-weight: 500;
}
