/* ═══════════════════════════════════════════════════════════
   VADOM — Creative Redesign
   Smart City / Silicon Valley Aesthetic
   Deep, layered, dynamic, NOT flat
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --teal: #1b7783;
  --teal-bright: #47c5d3;
  --teal-light: #2a9dab;
  --teal-dark: #145c66;
  --navy: #145c66;
  --navy-light: #177a86;
  --navy-mid: #1b7783;
  --white: #ffffff;
  --gray-50: #f7f9fc;
  --gray-100: #eef2f7;
  --gray-200: #dde3ed;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --text-dark: #0f172a;
  --text-body: #475569;
  --text-light: #94a3b8;
  --container: 1240px;
  --nav-h: 80px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--white);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.mono { font-family: 'JetBrains Mono', monospace; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ═══ TOP BAR ═══ */
.top-bar {
  position: fixed;
  top: -40px; left: 0; width: 100%;
  height: 40px;
  background: var(--teal);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: top 0.4s var(--ease);
}

.top-bar.visible {
  top: 0;
}

.top-bar-inner {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color 0.2s;
}

.top-bar-contact a:hover {
  color: #fff;
}

.top-bar-contact svg {
  flex-shrink: 0;
}

.top-bar-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-bar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s, transform 0.2s;
}

.top-bar-social a:hover {
  color: #fff;
  transform: scale(1.15);
}

/* ═══ NAVBAR ═══ */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  height: var(--nav-h);
  z-index: 1000;
  transition: all 0.4s var(--ease);
}

.navbar.scrolled {
  top: 40px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 30px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
  .top-bar-inner { justify-content: center; }
  .top-bar-contact { gap: 16px; }
  .top-bar-contact span.top-bar-label { display: none; }
  .top-bar-social { display: none; }
}

.navbar.scrolled .logo-text { color: var(--text-dark); }
.navbar.scrolled .nav-links a { color: var(--text-body); }
.navbar.scrolled .nav-links a:hover { color: var(--teal); }
.navbar.scrolled .nav-cta { background: var(--teal); color: #fff; border-color: var(--teal); }

.nav-inner {
  max-width: var(--container);
  margin: 0 auto; padding: 0 32px;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px; font-weight: 700;
  color: #fff;
  letter-spacing: -1px;
  transition: color 0.3s;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  position: relative;
  height: 68px;
}

.logo-img {
  height: 100%;
  width: auto;
  transition: opacity 0.4s var(--ease);
}

.logo-dark {
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
}

.navbar.scrolled .logo-white { opacity: 0; }
.navbar.scrolled .logo-dark { opacity: 1; }

.footer-logo img {
  height: 52px;
  width: auto;
}

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

.nav-links a {
  font-size: 14px; font-weight: 450;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover { color: #fff; }

.nav-links a::after {
  content: '';
  position: absolute; bottom: -6px; left: 0;
  width: 0; height: 2px;
  background: var(--teal);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* ═══ NAV DROPDOWN ═══ */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-chevron {
  transition: transform 0.3s var(--ease);
  margin-top: 1px;
}

.nav-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

.nav-sub {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 100;
}

.nav-sub::before {
  content: '';
  position: absolute;
  top: -10px; left: 0; right: 0;
  height: 10px;
}

.nav-dropdown:hover .nav-sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-sub-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  transition: background 0.2s;
  text-decoration: none;
}

.nav-sub-item:hover {
  background: var(--gray-50);
}

.nav-sub-all {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 14px;
}

.nav-sub-all .nav-sub-label {
  font-weight: 600;
  color: var(--teal);
}

.nav-sub-num {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(27,119,131,0.08);
  border-radius: 8px;
}

.nav-sub-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.3;
}

.nav-sub-desc {
  display: block;
  font-size: 12px;
  color: var(--gray-400);
  line-height: 1.3;
}

.nav-sub-divider {
  height: 1px;
  background: var(--gray-100);
  margin: 4px 14px;
}

/* Dropdown trigger underline — use same pattern as nav-links a */
.nav-dropdown-trigger::after {
  content: '';
  position: absolute; bottom: -6px; left: 0;
  width: 0; height: 2px;
  background: var(--teal-bright);
  transition: width 0.3s var(--ease);
}

.nav-dropdown:hover .nav-dropdown-trigger::after,
.nav-dropdown-trigger.active::after { width: 100%; }

/* ═══ MOBILE DROPDOWN ═══ */
.mobile-dropdown-trigger {
  background: none;
  border: none;
  font: inherit;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 0;
  width: 100%;
}

.mobile-dropdown-trigger svg {
  transition: transform 0.3s var(--ease);
}

.mobile-dropdown.open .mobile-dropdown-trigger svg {
  transform: rotate(180deg);
}

.mobile-sub {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), padding 0.35s;
  padding: 0 0 0 16px;
}

.mobile-dropdown.open .mobile-sub {
  max-height: 300px;
  padding: 8px 0 0 16px;
}

.mobile-sub li a {
  display: block;
  font-size: 15px;
  color: var(--gray-500);
  padding: 6px 0;
  transition: color 0.2s;
}

.mobile-sub li a:hover {
  color: var(--teal);
}

.nav-cta {
  font-size: 14px; font-weight: 600;
  padding: 10px 24px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  color: #fff;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: #fff; transition: all 0.3s var(--ease);
}
.navbar.scrolled .nav-toggle span { background: var(--text-dark); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

.mobile-menu {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; width: 100%;
  transition: top 0.4s var(--ease);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  padding: 28px 32px 36px;
  z-index: 999;
  opacity: 0; transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.3s var(--ease);
}
.mobile-menu.open { opacity: 1; transform: translateY(0); pointer-events: all; }
.mobile-menu.scrolled-offset { top: calc(var(--nav-h) + 40px); }
.mobile-links { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-bottom: 20px; }
.mobile-links a { font-size: 17px; color: var(--text-dark); font-weight: 500; }
.mobile-cta-wrap { padding-top: 16px; border-top: 1px solid var(--gray-200); }

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600;
  padding: 16px 32px;
  border-radius: 8px;
  cursor: pointer; border: none;
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.btn:hover::before { opacity: 1; }

.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(27,119,131,0.3); }

.btn-bright { background: var(--teal); color: #fff; }
.btn-bright:hover { background: var(--teal-bright); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(27,119,131,0.4); }

.btn-white { background: #fff; color: var(--teal-dark); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(0,0,0,0.15); }

.btn-outline-white {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.btn-outline {
  background: transparent; color: var(--teal);
  border: 1.5px solid rgba(27,119,131,0.25);
}
.btn-outline:hover { background: rgba(27,119,131,0.05); border-color: var(--teal); transform: translateY(-2px); }

.btn-lg { padding: 18px 40px; font-size: 16px; border-radius: 10px; }

.arrow-r {
  transition: transform 0.25s var(--ease);
}
.btn:hover .arrow-r { transform: translateX(4px); }

/* ═══ HERO SLIDER ═══ */
.hero-slider {
  position: relative;
  width: 100%; height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.6s;
}

.slide.active { opacity: 1; z-index: 2; }

.slide-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 42, 48, 0.78) 0%,
    rgba(27, 119, 131, 0.4) 100%
  );
  z-index: 2;
}

.slide-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.slide-text {
  max-width: 680px;
  color: #fff;
}

.slide-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 500;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  opacity: 0;
}

.slide-tag-dot {
  width: 8px; height: 8px;
  background: var(--teal-bright);
  border-radius: 50%;
}

.slide-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -2px;
  margin-bottom: 22px;
  opacity: 0;
}

.slide-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--teal-bright), #8fe3ed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.slide-desc {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin-bottom: 36px;
  opacity: 0;
}

.slide-buttons {
  display: flex; gap: 14px; flex-wrap: wrap;
  opacity: 0;
}

/* Slider nav */
.slider-nav {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex; gap: 12px;
}

.slider-dot {
  width: 40px; height: 4px;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: none;
  padding: 0;
}

.slider-dot.active {
  background: var(--teal);
  width: 60px;
}

.slider-progress {
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--teal);
  z-index: 10;
  transition: width 0.1s linear;
}

/* Floating shapes in hero */
.hero-shapes {
  position: absolute; inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border: 1px solid rgba(27, 119, 131, 0.15);
  border-radius: 4px;
}

.hero-grid-lines {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(255,255,255,0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.3) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* Scroll indicator */
.scroll-cue {
  position: absolute;
  bottom: 100px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}

.scroll-cue-text {
  font-size: 11px; letter-spacing: 2px;
  color: rgba(255,255,255,0.35);
  font-family: 'JetBrains Mono', monospace;
}

.scroll-cue-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--teal), transparent);
}

/* ═══ CLIENTS GRID ═══ */
.clients-section {
  padding: 100px 0;
  background: var(--gray-50);
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 56px;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(25% - 15px);
  padding: 24px 40px;
  border: 2px solid var(--gray-100);
  border-radius: 14px;
  background: var(--white);
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.client-logo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,119,131,0.06), rgba(71,197,211,0.04));
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.client-logo img {
  max-height: 85px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: none;
  transition: all 0.35s var(--ease);
  position: relative;
  z-index: 1;
}

.client-logo:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 32px rgba(27,119,131,0.15);
  transform: translateY(-4px);
}

.client-logo:hover::before {
  opacity: 1;
}

.client-logo:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.06);
}

/* ═══ SECTION UTILITIES ═══ */
.section { padding: 120px 0; position: relative; }
.section-dark { background: var(--teal-dark); color: #fff; }
.section-gray { background: var(--gray-50); }
.section-teal {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #fff;
}

.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 500;
  letter-spacing: 2px;
  color: var(--teal);
  margin-bottom: 16px;
}

.section-tag-line {
  width: 24px; height: 2px;
  background: var(--teal);
  display: inline-block;
}

.section-dark .section-tag { color: var(--teal); }
.section-teal .section-tag { color: rgba(255,255,255,0.7); }

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.section-dark .section-title { color: #fff; }
.section-teal .section-title { color: #fff; }

.section-sub {
  font-size: 18px; line-height: 1.7;
  color: var(--gray-500);
  max-width: 560px;
}

.section-dark .section-sub { color: rgba(255,255,255,0.6); }
.section-center { text-align: center; }
.section-center .section-sub { margin: 0 auto; }

/* ═══ INTRO / ABOUT STRIP ═══ */
.intro-strip {
  padding: 100px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-text h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.intro-text h2 span { color: var(--teal); }

.intro-text p {
  font-size: 17px; line-height: 1.8;
  color: var(--gray-500);
  margin-bottom: 28px;
}

.intro-badges {
  display: flex; gap: 12px; flex-wrap: wrap;
}

.intro-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500;
  color: var(--teal);
  background: rgba(27,119,131,0.06);
  border: 1px solid rgba(27,119,131,0.12);
  padding: 8px 16px;
  border-radius: 100px;
}

.intro-badge-dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
}

.intro-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
}

.intro-image-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 1px;
}

.intro-image-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(20,92,102,0.92), transparent);
}

.intro-image-stat {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px; font-weight: 700;
  color: var(--teal);
}

.intro-image-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* Floating decoration */
.float-decor {
  position: absolute;
  border: 1.5px solid rgba(27,119,131,0.1);
  border-radius: 8px;
  pointer-events: none;
}

/* ═══ WHY VADOM SECTION ═══ */
.why-vadom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.why-vadom-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 28px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.why-vadom-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--teal), var(--teal-bright));
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.why-vadom-card:hover {
  border-color: rgba(27,119,131,0.15);
  box-shadow: 0 12px 40px rgba(27,119,131,0.08);
  transform: translateY(-3px);
}

.why-vadom-card:hover::before {
  opacity: 1;
}

.why-vadom-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(27,119,131,0.1), rgba(27,119,131,0.04));
  border-radius: 12px;
  color: var(--teal);
}

.why-vadom-content h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.why-vadom-content p {
  font-size: 14.5px;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ═══ SERVICES CARDS ═══ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.service-card {
  position: relative;
  padding: 40px 32px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all 0.35s var(--ease);
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(27,119,131,0.12);
  border-color: transparent;
}

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

.service-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(27,119,131,0.08), rgba(27,119,131,0.06));
  border-radius: 12px;
  margin-bottom: 24px;
  color: var(--teal);
  transition: all 0.35s var(--ease);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  transform: scale(1.05);
}

.service-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 21px; font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 15px; line-height: 1.65;
  color: var(--gray-500);
}

.service-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600;
  color: var(--teal);
  margin-top: 20px;
  transition: gap 0.25s var(--ease);
}

.service-card:hover .service-card-link { gap: 12px; }

/* ═══ IMAGE + TEXT BLOCKS ═══ */
.img-text-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 100px 0;
}

.img-text-block + .img-text-block {
  border-top: 1px solid var(--gray-100);
}

.img-text-block.reverse .img-block-visual {
  order: 2;
}

.img-text-block.reverse .img-block-info {
  order: 1;
}

.img-block-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 5/4;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
}

img.img-block-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

div.img-block-bg {
  width: 100%; height: 100%;
}

.img-block-float {
  position: absolute;
  bottom: 20px; right: 20px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  z-index: 2;
}

.img-block-float-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px; font-weight: 700;
  color: var(--teal);
}

.img-block-float-label {
  font-size: 12px; color: var(--gray-500);
}

.img-block-info .section-tag { margin-bottom: 12px; }

.img-block-info h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -1px;
  line-height: 1.12;
  margin-bottom: 18px;
}

.img-block-info p {
  font-size: 16px; line-height: 1.75;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.feature-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 14px;
  margin-top: 24px;
}

.feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: var(--text-body);
}

.feature-check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(27,119,131,0.1);
  border-radius: 50%;
  color: var(--teal);
  margin-top: 1px;
}

/* ═══ STATS SECTION ═══ */
.stats-section {
  padding: 110px 0;
  background: #0a1628;
  position: relative;
  overflow: hidden;
}

.stats-bg-pattern {
  position: absolute; inset: 0;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(71,197,211,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71,197,211,0.15) 1px, transparent 1px);
  background-size: 80px 80px;
}

.stats-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(0,240,192,0.08), rgba(71,197,211,0.04) 40%, transparent 70%);
  pointer-events: none;
}

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

.stat-card {
  text-align: center;
  padding: 48px 24px 44px;
  border: 1px solid rgba(71,197,211,0.12);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(71,197,211,0.06) 0%, rgba(255,255,255,0.02) 100%);
  backdrop-filter: blur(8px);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 50px; height: 3px;
  background: linear-gradient(90deg, transparent, #00f0c0, transparent);
  border-radius: 0 0 4px 4px;
  opacity: 0;
  transition: opacity 0.4s, width 0.4s;
}

.stat-card:hover {
  border-color: rgba(71,197,211,0.3);
  background: linear-gradient(160deg, rgba(71,197,211,0.1) 0%, rgba(255,255,255,0.04) 100%);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(71,197,211,0.08);
}

.stat-card:hover::before {
  opacity: 1;
  width: 80%;
}

.stat-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 4.5vw, 56px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
  line-height: 1;
}

.stat-label {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.3px;
  line-height: 1.4;
}

/* ═══ IMAGE SHOWCASE GRID ═══ */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 300px 300px;
  gap: 16px;
  margin-top: 64px;
}

.showcase-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.showcase-item-bg {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  transition: transform 0.5s var(--ease);
}

.showcase-item:hover .showcase-item-bg {
  transform: scale(1.05);
}

.showcase-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,92,102,0.88) 0%, transparent 60%);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: background 0.3s;
}

.showcase-item:hover .showcase-item-overlay {
  background: linear-gradient(to top, rgba(20,92,102,0.95) 0%, rgba(27,119,131,0.3) 100%);
}

.showcase-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 2px;
  color: var(--teal);
  margin-bottom: 8px;
}

.showcase-item h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px; font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.showcase-item p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.showcase-large {
  grid-column: span 2;
}

/* ═══ CTA SECTION ═══ */
.cta-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
}

.cta-bg-image {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.cta-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(20,92,102,0.85), rgba(27,119,131,0.7));
}

.cta-content {
  position: relative; z-index: 2;
  text-align: center;
  color: #fff;
}

.cta-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}

.cta-sub {
  font-size: 18px; line-height: 1.7;
  color: rgba(255,255,255,0.65);
  max-width: 500px;
  margin: 0 auto 40px;
}

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

/* ═══ PARTNERS / TECH STRIP ═══ */
.tech-strip {
  padding: 56px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  overflow: hidden;
}

.tech-strip-inner {
  display: flex; align-items: center; gap: 56px;
  animation: marquee 40s linear infinite;
  width: max-content;
}

.tech-logo-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; min-width: 72px;
  transition: transform 0.3s var(--ease);
}

.tech-logo-item:hover { transform: translateY(-4px); }

.tech-logo-item i {
  font-size: 36px;
  opacity: 0.55;
  transition: opacity 0.3s;
}

.tech-logo-item:hover i { opacity: 1; }

.tech-logo-item span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 1px;
  color: var(--gray-400);
  white-space: nowrap;
  transition: color 0.3s;
}

.tech-logo-item:hover span { color: var(--teal); }

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

/* ═══ FOOTER ═══ */
.footer {
  background: linear-gradient(160deg, var(--teal-dark) 0%, var(--teal) 50%, var(--teal-light) 100%);
  padding: 0;
  color: rgba(255,255,255,0.7);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.footer::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,170,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.footer-top {
  padding: 72px 0 56px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer .logo-text { font-size: 22px; }
.footer .logo-text span { color: var(--teal-bright); }

.footer-tagline {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  margin-top: 18px;
  line-height: 1.7;
}

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

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  transition: all 0.3s var(--ease);
  border: 1px solid rgba(255,255,255,0.08);
}

.footer-social a:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.footer-col { display: flex; flex-direction: column; gap: 14px; }

.footer-col-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2.5px;
  color: #fff;
  margin-bottom: 6px;
  font-weight: 600;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s var(--ease);
  padding: 2px 0;
}

.footer-col a:hover {
  color: #fff;
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: color 0.2s var(--ease);
}

.footer-contact-item:hover {
  color: #fff;
}

.footer-contact-item svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  position: relative;
  z-index: 1;
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ═══ PAGE HERO (inner pages) ═══ */
.page-hero {
  padding: calc(var(--nav-h) + 60px) 0 60px;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  color: #fff; position: relative; overflow: hidden;
}

.page-hero-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero-content { position: relative; z-index: 2; max-width: 700px; }

.page-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -1.5px; margin-bottom: 16px;
}

.page-hero p { font-size: 18px; color: rgba(255,255,255,0.65); line-height: 1.7; }

/* ═══ REVEAL ANIMATIONS (CSS-only transitions) ═══ */

/* Default: fade up */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Image blocks: slide in from left via clip-path */
.img-block-visual.reveal {
  opacity: 1;
  transform: none;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s cubic-bezier(0.22,1,0.36,1);
}
.img-block-visual.reveal.revealed,
.img-block-visual.revealed {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
}

/* Float badges on images */
.img-block-float {
  opacity: 0;
  transform: translateY(16px) scale(0.85);
  transition: opacity 0.5s 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.5s 0.8s cubic-bezier(0.34,1.56,0.64,1);
}
.img-block-visual.revealed .img-block-float {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Platform rows: slide in from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Section headers */
.reveal-header {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.reveal-header.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Hero shapes: CSS float animation instead of anime.js */
.hero-shape {
  animation: heroFloat 6s ease-in-out infinite alternate;
  opacity: 0.25;
}
@keyframes heroFloat {
  0%   { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-30px) rotate(10deg); }
}

/* Scroll cue */
.scroll-cue { transition: opacity 0.4s; }
.scroll-cue.hidden { opacity: 0; pointer-events: none; }

/* Showcase image hover — pure CSS */
.showcase-item-bg { transition: transform 0.6s cubic-bezier(0.22,1,0.36,1); }
.showcase-item:hover .showcase-item-bg { transform: scale(1.06); }

/* Card hover lift — pure CSS */
.service-card,
.stat-card,
.why-vadom-card,
.value-card,
.service-module {
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s cubic-bezier(0.22,1,0.36,1), border-color 0.35s;
}

/* ═══ Reuse from before ═══ */
.section-header-center { text-align: center; }
.section-header-center .section-sub { margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; margin-top: 56px; }
.contact-info h3 { font-family:'Space Grotesk',sans-serif; font-size:28px; font-weight:700; color:var(--text-dark); margin-bottom:16px; }
.contact-info > p { font-size:16px; line-height:1.7; color:var(--text-body); margin-bottom:36px; }
.contact-detail { display:flex; align-items:flex-start; gap:14px; margin-bottom:24px; }
.contact-detail-icon { width:44px; height:44px; display:flex; align-items:center; justify-content:center; background: rgba(27,119,131,0.06); border-radius:10px; color:var(--teal); flex-shrink:0; }
.contact-detail h5 { font-size:14px; font-weight:600; color:var(--text-dark); margin-bottom:2px; }
.contact-detail p { font-size:14px; color:var(--gray-500); }
.contact-form { padding:40px; border:1px solid var(--gray-200); border-radius:16px; background:#fff; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px; }
.form-group { display:flex; flex-direction:column; gap:6px; }
.form-group.full { grid-column:1 / -1; }
.form-label { font-size:13px; font-weight:500; color:var(--text-dark); }
.form-input,.form-select,.form-textarea { padding:13px 16px; border:1px solid var(--gray-200); border-radius:8px; font-family:'Inter',sans-serif; font-size:14px; color:var(--text-dark); background:#fff; transition: border-color 0.15s, box-shadow 0.15s; outline: none; }
.form-input:focus,.form-select:focus,.form-textarea:focus { border-color:var(--teal); box-shadow: 0 0 0 3px rgba(27,119,131,0.08); }
.form-textarea { min-height:120px; resize:vertical; }

/* Service page reuse */
.service-section { padding:100px 0; border-bottom:1px solid var(--gray-100); }
.service-section:last-of-type { border-bottom:none; }
.service-grid { display:grid; grid-template-columns:1fr 1.2fr; gap:60px; align-items:start; }
.service-grid-reverse { grid-template-columns:1.2fr 1fr; }
.service-info .section-tag { margin-bottom:12px; }
.service-info h2 { font-family:'Space Grotesk',sans-serif; font-size:clamp(28px,3vw,40px); font-weight:700; color:var(--text-dark); letter-spacing:-1px; margin-bottom:16px; line-height:1.1; }
.service-info p { font-size:16px; line-height:1.75; color:var(--text-body); margin-bottom:24px; }
.service-features { list-style:none; display:flex; flex-direction:column; gap:12px; }
.service-features li { display:flex; align-items:flex-start; gap:12px; font-size:15px; color:var(--text-body); }
.service-features li .check { flex-shrink:0; margin-top:3px; color:var(--teal); }
.service-modules { display:grid; gap:14px; }
.service-module { padding:28px 24px; border:1px solid var(--gray-200); border-radius:12px; background:#fff; transition: border-color 0.2s, box-shadow 0.2s; }
.service-module:hover { border-color: rgba(27,119,131,0.2); box-shadow: 0 4px 20px rgba(27,119,131,0.06); }
.service-module-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
.service-module h5 { font-size:16px; font-weight:600; color:var(--text-dark); }
.service-module-tag { font-family:'JetBrains Mono',monospace; font-size:9px; letter-spacing:1.5px; color:var(--teal); background: rgba(27,119,131,0.06); padding:3px 8px; border-radius:3px; }
.service-module p { font-size:14px; line-height:1.6; color:var(--gray-500); }
.service-visual { background:var(--gray-50); border:1px solid var(--gray-200); border-radius:16px; padding:40px; min-height:280px; display:flex; flex-direction:column; justify-content:center; gap:12px; }
.service-visual-bar { height:8px; border-radius:4px; background:var(--gray-100); position:relative; overflow:hidden; }
.service-visual-bar::after { content:''; position:absolute; left:0; top:0; bottom:0; width:var(--bar-w,60%); background: linear-gradient(90deg, var(--teal), var(--teal)); border-radius:4px; }
.service-visual-label { display:flex; justify-content:space-between; font-size:12px; }
.service-visual-label span:first-child { color:var(--text-body); }
.service-visual-label span:last-child { font-family:'JetBrains Mono',monospace; color:var(--teal); font-weight:600; }

/* Impact reuse */
.impact-hero-stats { display:flex; gap:48px; margin-top:40px; }
.impact-stat-val { font-family:'Space Grotesk',sans-serif; font-size:40px; font-weight:700; color:#fff; }
.impact-stat-label { font-size:14px; color:rgba(255,255,255,0.55); }
.cases-grid { display:grid; gap:24px; margin-top:56px; }
.case-full { display:grid; grid-template-columns:1fr 1fr; gap:48px; padding:48px; border:1px solid var(--gray-200); border-radius:20px; background:#fff; align-items:center; transition: box-shadow 0.3s; }
.case-full:hover { box-shadow: 0 20px 60px rgba(27,119,131,0.08); }
.case-full-tag { font-family:'JetBrains Mono',monospace; font-size:10px; letter-spacing:2px; color:var(--teal); margin-bottom:12px; }
.case-full h3 { font-family:'Space Grotesk',sans-serif; font-size:26px; font-weight:700; color:var(--text-dark); letter-spacing:-0.5px; margin-bottom:14px; }
.case-full p { font-size:15px; line-height:1.7; color:var(--text-body); margin-bottom:24px; }
.case-full-metrics { display:flex; gap:32px; }
.case-full-metric-val { font-family:'Space Grotesk',sans-serif; font-size:32px; font-weight:700; color:var(--teal); }
.case-full-metric-label { font-size:12px; color:var(--gray-500); }
.case-full-visual { background: linear-gradient(135deg, rgba(27,119,131,0.05), rgba(27,119,131,0.03)); border-radius:16px; min-height:260px; display:flex; align-items:center; justify-content:center; }
.case-visual-icon { color:var(--teal); opacity:0.15; }

/* Products grid reuse */
.products-grid { display:grid; grid-template-columns: 1fr; gap:16px; max-width:800px; margin:48px auto 0; }
.product-card { padding:28px 32px; border:1px solid var(--gray-200); border-radius:12px; background:#fff; transition: box-shadow 0.2s; }
.product-card:hover { box-shadow: 0 4px 20px rgba(27,119,131,0.06); }
.product-card h4 { font-size:17px; font-weight:600; color:var(--text-dark); }
.product-card p { font-size:15px; color:var(--gray-500); margin-top:8px; }

/* Why / values reuse */
.why-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:56px; }
.why-card { text-align:center; padding:40px 24px; }
.why-card h4 { font-size:16px; font-weight:600; color:var(--text-dark); margin-bottom:8px; }
.why-card p { font-size:14px; color:var(--gray-500); line-height:1.6; }

.values-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:56px; }
.value-card { padding:36px 28px; border:1px solid var(--gray-200); border-radius:12px; text-align:center; transition: box-shadow 0.2s; }
.value-card:hover { box-shadow: 0 8px 30px rgba(27,119,131,0.06); }
.value-icon { width:56px; height:56px; display:flex; align-items:center; justify-content:center; background: rgba(27,119,131,0.06); border-radius:12px; color:var(--teal); margin:0 auto 18px; }
.value-card h4 { font-size:17px; font-weight:600; color:var(--text-dark); margin-bottom:8px; }
.value-card p { font-size:14px; color:var(--gray-500); line-height:1.6; }

.story-grid { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.story-text h3 { font-family:'Space Grotesk',sans-serif; font-size:32px; font-weight:700; color:var(--text-dark); letter-spacing:-1px; margin-bottom:18px; }
.story-text p { font-size:16px; line-height:1.75; color:var(--text-body); margin-bottom:16px; }
.story-visual { background: linear-gradient(135deg, rgba(27,119,131,0.05), rgba(27,119,131,0.03)); border-radius:16px; padding:48px; min-height:360px; display:flex; align-items:center; justify-content:center; }
.story-visual-text { font-family:'JetBrains Mono',monospace; font-size:80px; font-weight:700; color:var(--teal); opacity:0.15; }

.team-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; margin-top:56px; }
.team-card { text-align:center; }
.team-avatar { width:80px; height:80px; border-radius:50%; background: rgba(27,119,131,0.06); display:flex; align-items:center; justify-content:center; margin:0 auto 14px; color:var(--teal); font-family:'Space Grotesk',sans-serif; font-size:18px; font-weight:700; }
.team-card h4 { font-size:15px; font-weight:600; color:var(--text-dark); margin-bottom:2px; }
.team-card p { font-size:13px; color:var(--gray-500); }

/* ═══ PLATFORMS SECTION ═══ */
.platforms {
  position: relative;
  padding: 140px 0 120px;
  background: var(--teal-dark);
  overflow: hidden;
}

#platformsCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.platforms-glow {
  position: absolute;
  top: 15%; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, rgba(27,119,131,0.2), transparent 70%);
  pointer-events: none;
  z-index: 1;
  animation: platformsGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes platformsGlowPulse {
  0% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.platforms-header {
  text-align: center;
  margin-bottom: 80px;
}

.platforms-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.platforms-title .title-gradient {
  background: linear-gradient(135deg, #00f0c0, var(--teal-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.platforms-sub {
  font-size: 18px; line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 0 auto;
}

/* Platform rows list */
.platforms-list {
  max-width: 920px;
  margin: 0 auto;
}

.pl-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 30px 36px;
  text-decoration: none;
  position: relative;
  border-radius: 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  margin-bottom: 12px;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.pl-row::before {
  content: '';
  position: absolute;
  left: 0; top: 12px; bottom: 12px;
  width: 3px;
  background: linear-gradient(180deg, var(--teal-bright), #fff);
  border-radius: 3px;
  opacity: 0;
  transform: scaleY(0);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.pl-row:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.25);
  transform: translateX(8px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

.pl-row:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.pl-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.pl-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  width: 36px;
  letter-spacing: -1px;
  text-shadow: 0 0 20px rgba(71, 197, 211, 0.5);
  transition: color 0.3s, text-shadow 0.3s;
}

.pl-row:hover .pl-num {
  color: var(--teal-bright);
  text-shadow: 0 0 28px rgba(71, 197, 211, 0.8);
}

.pl-row:hover .pl-num {
  color: var(--teal-bright);
}

.pl-icon {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  color: #fff;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.pl-row:hover .pl-icon {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(27,119,131,0.45);
}

.pl-content {
  flex: 1;
  min-width: 0;
}

.pl-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px; font-weight: 600;
  color: #fff;
  letter-spacing: -0.3px;
  margin-bottom: 4px;
  transition: color 0.3s;
}

.pl-product {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--teal-bright);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.pl-content p {
  font-size: 14px; line-height: 1.65;
  color: rgba(255,255,255,0.65);
  transition: color 0.3s;
}

.pl-row:hover .pl-content p {
  color: rgba(255,255,255,0.85);
}

.pl-tags {
  display: flex; flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.pl-tags span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 1px;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 3px 9px;
  border-radius: 4px;
  transition: all 0.25s;
}

.pl-row:hover .pl-tags span {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}

.pl-arrow {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(27,119,131,0.06);
  border: 1px solid rgba(27,119,131,0.08);
  color: rgba(255,255,255,0.25);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.pl-row:hover .pl-arrow {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(27,119,131,0.35);
}

/* Platforms responsive */
@media (max-width: 768px) {
  .platforms { padding: 100px 0 80px; }
  .platforms-header { margin-bottom: 48px; }
  .pl-row {
    flex-wrap: wrap;
    padding: 24px 20px;
    gap: 16px;
  }
  .pl-content {
    width: 100%;
    order: 3;
  }
  .pl-arrow {
    margin-left: auto;
  }
}

/* ═══ SERVICE HERO (product pages) ═══ */
.service-hero {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  background: linear-gradient(160deg, var(--teal-dark) 0%, var(--teal) 60%, var(--teal-bright) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.service-hero .page-hero-content { max-width: 760px; }

.service-hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 500;
  letter-spacing: 2px;
  color: var(--teal-bright);
  border: 1px solid rgba(71,197,211,0.25);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.service-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 700; line-height: 1.06;
  letter-spacing: -2px; margin-bottom: 18px;
}

.service-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--teal-bright), #8fe3ed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-hero p { font-size: 18px; color: rgba(255,255,255,0.6); line-height: 1.7; max-width: 580px; }

.service-hero-stats {
  display: flex; gap: 48px; margin: 36px 0;
}

.service-hero-stat-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px; font-weight: 700; color: #fff;
}

.service-hero-stat-label { font-size: 13px; color: rgba(255,255,255,0.45); }

.service-hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ═══ MODULES GRID ═══ */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.modules-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ═══ SERVICE INDEX GRID (servicios overview) ═══ */
.service-index-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.service-index-card {
  position: relative;
  padding: 44px 36px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all 0.35s var(--ease);
  text-decoration: none;
  display: block;
}

.service-index-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--teal-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.service-index-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(27,119,131,0.14);
  border-color: transparent;
}

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

.service-index-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px; font-weight: 700;
  color: var(--gray-100);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.3s;
}

.service-index-card:hover .service-index-num { color: rgba(27,119,131,0.1); }

.service-index-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(27,119,131,0.06);
  border-radius: 12px;
  color: var(--teal);
  margin-bottom: 20px;
  transition: all 0.3s var(--ease);
}

.service-index-card:hover .service-index-icon {
  background: var(--teal);
  color: #fff;
}

.service-index-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px; font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.service-index-card > p {
  font-size: 15px; line-height: 1.65;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.service-index-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 20px;
}

.service-index-tags span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 1px;
  color: var(--teal);
  background: rgba(27,119,131,0.06);
  border: 1px solid rgba(27,119,131,0.1);
  padding: 4px 10px;
  border-radius: 4px;
}

.service-index-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600;
  color: var(--teal);
  transition: gap 0.25s var(--ease);
}

.service-index-card:hover .service-index-arrow { gap: 12px; }

.service-index-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}

.service-index-card.featured .service-index-num {
  font-size: 72px;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}

/* ═══ RELATED CASE ═══ */
.related-case {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 48px;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  background: #fff;
}

.related-case-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 2px;
  color: var(--teal);
  margin-bottom: 10px;
}

.related-case h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px; font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.related-case > div > p {
  font-size: 15px; line-height: 1.65;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.related-case-metrics {
  display: flex; gap: 32px;
}

.related-case-metric-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px; font-weight: 700;
  color: var(--teal);
}

.related-case-metric-label {
  font-size: 12px; color: var(--gray-500);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .intro-inner { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .img-text-block { grid-template-columns: 1fr; gap: 40px; }
  .img-text-block.reverse .img-block-visual { order: 0; }
  .img-text-block.reverse .img-block-info { order: 0; }
  .showcase-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .showcase-large { grid-column: 1 / -1; }
  .client-logo { width: calc(33.333% - 14px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-grid, .service-grid-reverse { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .case-full { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .why-vadom-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .service-index-grid { grid-template-columns: 1fr; }
  .service-index-card.featured { grid-column: auto; display: block; }
  .service-index-card.featured .service-index-num { writing-mode: horizontal-tb; transform: none; font-size: 48px; }
  .related-case { grid-template-columns: 1fr; }
  .modules-grid, .modules-grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
  .nav-links { display: none; }
  .nav-cta:not(.mobile-cta) { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: block; }
  .client-logo { width: calc(50% - 10px); }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .slide-buttons { flex-direction: column; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .hero-slider { min-height: 100svh; }
  .impact-hero-stats { flex-direction: column; gap: 20px; }
  .case-full-metrics { flex-direction: column; gap: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .service-hero { padding: calc(var(--nav-h) + 48px) 0 48px; }
  .service-hero-stats { flex-direction: column; gap: 20px; }
  .modules-grid, .modules-grid-3 { grid-template-columns: 1fr; }
  .related-case-metrics { flex-direction: column; gap: 16px; }
}
