/* ============================================
   SoporteMax — Premium Corporate Website
   Stylesheet v1.0 — 2026-06-30
   ============================================ */

/* ============================================
   1. CSS VARIABLES (Tokens)
   ============================================ */
:root {
  /* Colors — ISINET Palette: Negro + Celeste */
  --bg: #0a0a0c;
  --bg-2: #0a0f14;
  --bg-3: #111827;
  --bg-4: #1e293b;
  --surface: #0a0f14;
  --surface-2: #111827;
  --surface-3: #1e293b;

  /* Text */
  --text: #f0f9ff;
  --text-2: #e0f2fe;
  --text-3: #6b8fa8;
  --text-4: #475569;

  /* Accent — Cyan */
  --accent: #06b6d4;
  --accent-2: #22d3ee;
  --accent-3: #67e8f9;
  --accent-glow: rgba(6, 182, 212, 0.3);
  --accent-glow-2: rgba(34, 211, 238, 0.15);

  /* Glass */
  --glass: rgba(10, 15, 22, 0.7);
  --glass-border: rgba(6, 182, 212, 0.18);
  --glass-hover: rgba(6, 182, 212, 0.1);

  /* Lines */
  --line: rgba(6, 182, 212, 0.12);
  --line-2: rgba(6, 182, 212, 0.2);

  /* Shadows — Tinted cyan */
  --shadow-sm: 0 2px 8px rgba(6, 182, 212, 0.1);
  --shadow-md: 0 8px 32px rgba(6, 182, 212, 0.12);
  --shadow-lg: 0 16px 64px rgba(6, 182, 212, 0.15);
  --shadow-glow: 0 0 40px rgba(6, 182, 212, 0.25);

  /* Spacing (4px grid) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Typography — Satoshi (premium geometric sans) + Space Grotesk */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Satoshi', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.45, 0, 0.55, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-nav: 300;
  --z-mobile-menu: 350;
  --z-modal: 400;
  --z-toast: 500;
  --z-cursor: 9999;

  /* Nav height */
  --nav-height: 72px;
}

/* ============================================
   1.1 LIGHT THEME
   ============================================ */
[data-theme="light"] {
  --bg: #f0f9ff;
  --bg-2: #ffffff;
  --bg-3: #e0f2fe;
  --bg-4: #bae6fd;
  --surface: #ffffff;
  --surface-2: #f0f9ff;
  --surface-3: #e0f2fe;

  --text: #0c4a6e;
  --text-2: #075985;
  --text-3: #0369a1;
  --text-4: #6b8fa8;

  --glass: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(6, 182, 212, 0.2);
  --glass-hover: rgba(255, 255, 255, 0.95);

  --line: rgba(6, 182, 212, 0.12);
  --line-2: rgba(6, 182, 212, 0.2);

  --shadow-sm: 0 2px 8px rgba(6, 182, 212, 0.08);
  --shadow-md: 0 8px 32px rgba(6, 182, 212, 0.1);
  --shadow-lg: 0 16px 64px rgba(6, 182, 212, 0.12);
  --shadow-glow: 0 0 40px rgba(6, 182, 212, 0.15);
}

[data-theme="light"] .nav { background: rgba(248, 249, 250, 0.85); border-color: var(--line); }
[data-theme="light"] .hero-overlay { background: linear-gradient(180deg, rgba(248,249,250,0.3) 0%, rgba(248,249,250,0.85) 100%); }
[data-theme="light"] .service-card { background: var(--glass); border-color: var(--glass-border); }
[data-theme="light"] .testimonial-card { background: var(--glass); border-color: var(--glass-border); }
[data-theme="light"] .faq-item { background: rgba(248, 249, 250, 0.6); border-color: var(--glass-border); box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06); }
[data-theme="light"] .faq-item.is-open { background: rgba(255, 255, 255, 0.9); border-color: var(--accent); box-shadow: 0 16px 48px rgba(6, 182, 212, 0.15); }
[data-theme="light"] .faq-icon { background: var(--bg-3); }
[data-theme="light"] .faq-item:hover { border-color: rgba(6, 182, 212, 0.2); }
[data-theme="light"] .feature-card { background: var(--glass); border-color: var(--glass-border); }
[data-theme="light"] .process-step { background: var(--glass); border-color: var(--glass-border); }
[data-theme="light"] .contact-info-card { background: var(--glass); border-color: var(--glass-border); }
[data-theme="light"] .about-floating-card { background: var(--glass); border-color: var(--glass-border); }
[data-theme="light"] .footer { background: rgba(248, 249, 250, 0.6); border-color: var(--glass-border); box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06); }
[data-theme="light"] .hero-mesh { opacity: 0.7; }
[data-theme="light"] .cursor-dot, [data-theme="light"] .cursor-ring { display: none; }

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* Animated Wave Background */
#bg-wave {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.8;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul { list-style: none; }
input, textarea { font: inherit; color: inherit; }

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  padding: var(--space-3) var(--space-6);
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: 600;
}
.skip-link:focus { top: var(--space-4); }

/* Focus */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Selection */
::selection {
  background: var(--accent);
  color: #fff;
}

/* ============================================
   3. TYPOGRAPHY — Premium
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 600; }

p {
  line-height: 1.7;
  color: var(--text-3);
  max-width: 65ch;
}

em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   4. LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: 20px 0;
  position: relative;
  z-index: 1;
  background: rgba(10, 10, 15, 0.15);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
}

[data-theme="light"] .section {
  background: rgba(248, 249, 250, 0.15);
}

.section-header {
  text-align: center;
  margin-bottom: 20px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.section-title {
  margin-bottom: var(--space-6);
  text-wrap: balance;
  line-height: 1.15;
}

.section-title em {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-3);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   5. COMPONENTS
   ============================================ */

/* Buttons — Premium pill architecture */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.btn:active {
  transform: scale(0.97);
}

/* All pressable elements get tactile feedback */
.nav-link:active, .mobile-link:active, .btn-ghost:active {
  transform: scale(0.97);
}
.faq-question:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

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

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(6, 182, 212, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
  }
  .btn-primary:hover::before {
    opacity: 1;
  }
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-ghost:hover {
  border-color: rgba(6, 182, 212, 0.3);
  color: var(--accent);
  background: rgba(6, 182, 212, 0.08);
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.15);
}

@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover {
    transform: translateY(-2px);
  }
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  z-index: -1;
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.25s var(--ease-out);
}
.btn-glow:hover::after { opacity: 0.5; }

.btn-full { width: 100%; }

.btn-nav { display: none; }
@media (min-width: 960px) { .btn-nav { display: inline-flex; } }

/* ============================================
   6. SPLASH
   ============================================ */
.splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: splashSafety 0.01s 4.5s forwards;
}

[data-theme="light"] .splash {
  background: var(--bg-3);
}

@keyframes splashSafety {
  to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
}

.splash.is-out {
  animation: splashHide 0.6s var(--ease-out) forwards;
}

@keyframes splashHide {
  to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
}

.splash-inner { text-align: center; }

.splash-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-6);
}

.splash-bar {
  width: 200px;
  height: 3px;
  background: var(--bg-3);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.splash-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: var(--radius-full);
  animation: splashLoad 2s var(--ease-out) forwards;
}

@keyframes splashLoad {
  to { width: 100%; }
}

/* ============================================
   7. CURSOR
   ============================================ */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: var(--z-cursor);
  opacity: 0;
  transition: opacity 0.25s var(--ease-out);
  will-change: transform;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out), opacity 0.25s var(--ease-out);
}

.cursor-dot.is-ready, .cursor-ring.is-ready { opacity: 1; }

.cursor-ring.is-hover {
  transform: translate(-50%, -50%) scale(1.55);
  border-color: var(--accent-2);
  mix-blend-mode: difference;
}

@media (hover: none), (max-width: 960px) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ============================================
   8. NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: var(--z-nav);
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}

.nav.is-scrolled {
  background: rgba(10, 10, 15, 0.85);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

[data-theme="light"] .nav {
  background: rgba(248, 249, 250, 0.7);
}

[data-theme="light"] .nav.is-scrolled {
  background: rgba(248, 249, 250, 0.9);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.nav-logo-icon { font-size: 1.5rem; }

.nav-links {
  display: none;
  gap: var(--space-1);
}
@media (min-width: 960px) { .nav-links { display: flex; } }

.nav-link {
  padding: var(--space-2) var(--space-4);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-3);
  border-radius: var(--radius-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
  position: relative;
}
.nav-link:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) {
  .nav-link:hover {
    color: var(--text);
    background: rgba(6, 182, 212, 0.1);
  }
  .nav-link.active {
    color: var(--text);
    background: rgba(6, 182, 212, 0.15);
  }
  .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: 1px;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Theme Toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
  color: var(--text-3);
}
.theme-toggle:hover { background: var(--glass-hover); color: var(--text); }

.icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
@media (min-width: 960px) { .nav-hamburger { display: none; } }

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), opacity 0.25s var(--ease-out);
}

.nav-hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-mobile-menu);
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s var(--ease-out), visibility 0s 0.2s, transform 0.2s var(--ease-out);
  overflow-y: auto;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.2s var(--ease-out), visibility 0s 0s, transform 0.2s var(--ease-out);
}

.mobile-menu-inner {
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.mobile-link {
  padding: var(--space-4);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-3);
  border-radius: var(--radius-md);
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out), transform 0.15s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.mobile-link:active {
  transform: scale(0.97);
  color: var(--text);
  background: var(--glass-hover);
}

/* ============================================
   9. HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 5, 0.2) 0%,
    rgba(5, 5, 5, 0.3) 40%,
    rgba(5, 5, 5, 0.6) 100%
  );
}

.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle 600px at var(--mx, 50%) var(--my, 50%), rgba(6, 182, 212, 0.15) 0%, transparent 50%),
    radial-gradient(circle 800px at calc(var(--mx, 50%) + 10%) calc(var(--my, 50%) - 10%), rgba(34, 211, 238, 0.1) 0%, transparent 50%);
  filter: blur(40px);
  pointer-events: none;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + var(--space-16)) var(--space-6) var(--space-16);
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: var(--space-6);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-badge:hover {
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.2);
  box-shadow: 0 4px 24px rgba(6, 182, 212, 0.15);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  margin-bottom: var(--space-6);
  text-wrap: balance;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-3);
  margin-bottom: var(--space-8);
  letter-spacing: 0.05em;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}

.hero-stats {
  display: flex;
  gap: var(--space-10);
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  z-index: 2;
}

.hero-scroll span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-4);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: var(--text-4);
  animation: scrollLine 2s var(--ease-out) infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   10. ABOUT
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 960px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-text {
  color: var(--text-3);
  margin-bottom: var(--space-4);
  font-size: 1.05rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.about-feature {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  color: var(--text-2);
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
}

.about-feature:hover {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.15);
}

.about-feature svg {
  color: var(--accent);
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-feature:hover svg {
  transform: scale(1.15);
  filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.4));
}

.about-visual {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-wrapper:hover {
  box-shadow: 0 32px 80px rgba(6, 182, 212, 0.2);
  border-color: rgba(6, 182, 212, 0.2);
}

.about-image-wrapper img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) and (pointer: fine) {
  .about-image-wrapper:hover img {
    transform: scale(1.08);
  }
}

.about-image-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(6, 182, 212, 0.2) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.about-image-wrapper:hover .about-image-glow {
  opacity: 1;
}

.about-floating-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: rgba(14, 14, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: float 3s ease-in-out infinite;
}

.about-floating-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(6, 182, 212, 0.2);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.about-floating-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-floating-text {
  font-size: 0.8rem;
  color: var(--text-3);
  line-height: 1.3;
}

/* ============================================
   11. SERVICES
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}



@media (min-width: 720px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1280px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  position: relative;
  background: rgba(14, 14, 20, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, transparent 50%, rgba(34, 211, 238, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  z-index: 1;
}

[data-theme="light"] .service-card {
  background: rgba(248, 249, 250, 0.7);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 32px 80px -12px rgba(6, 182, 212, 0.25), 0 0 0 1px rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.3);
  }
  .service-card:hover::before {
    opacity: 1;
  }
}

.service-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--bg-2);
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover .service-card-image img {
    transform: scale(1.05);
  }
}

.service-card-overlay {
  display: none;
}

/* Modern gradient backgrounds per card */
/* Light theme gradient adjustments */
.service-card-content {
  padding: var(--space-6);
}

.service-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(34, 211, 238, 0.1));
  backdrop-filter: blur(8px);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: var(--radius-md);
  color: var(--accent);
  margin-bottom: var(--space-4);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.15);
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover .service-card-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 32px rgba(6, 182, 212, 0.4);
  }
}

.service-card-title {
  font-size: 1.15rem;
  margin-bottom: var(--space-2);
}

.service-card-desc {
  font-size: 0.9rem;
  color: var(--text-3);
  line-height: 1.5;
}

/* ============================================
   12. FEATURES
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 720px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1280px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); }
}

.feature-card {
  padding: var(--space-8);
  background: rgba(14, 14, 20, 0.5);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(6, 182, 212, 0.1) 25%, transparent 50%);
  opacity: 0;
  transition: opacity 0.6s;
  animation: none;
  pointer-events: none;
}

[data-theme="light"] .feature-card {
  background: rgba(248, 249, 250, 0.6);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

@media (hover: hover) and (pointer: fine) {
  .feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 32px 80px rgba(6, 182, 212, 0.2), 0 0 0 1px rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.25);
  }
  .feature-card:hover::after {
    opacity: 1;
    animation: featureSpin 3s linear infinite;
  }
}

@keyframes featureSpin {
  to { transform: rotate(360deg); }
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(34, 211, 238, 0.1));
  backdrop-filter: blur(8px);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: var(--radius-lg);
  color: var(--accent);
  margin-bottom: var(--space-5);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.15);
}

@media (hover: hover) and (pointer: fine) {
  .feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: 0 8px 32px rgba(6, 182, 212, 0.4);
  }
}

.feature-title {
  font-size: 1.1rem;
  margin-bottom: var(--space-3);
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-3);
  line-height: 1.6;
}

/* ============================================
   13. PROCESS
   ============================================ */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 720px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1280px) {
  .process-grid { grid-template-columns: repeat(4, 1fr); }
}

.process-step {
  padding: var(--space-8);
  background: rgba(14, 14, 20, 0.5);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.process-step::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

[data-theme="light"] .process-step {
  background: rgba(248, 249, 250, 0.6);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

@media (hover: hover) and (pointer: fine) {
  .process-step:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 32px 80px rgba(6, 182, 212, 0.2), 0 0 0 1px rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.25);
  }
  .process-step:hover::before {
    opacity: 1;
  }
}

.process-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.25;
  line-height: 1;
  margin-bottom: var(--space-4);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) and (pointer: fine) {
  .process-step:hover .process-number {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

.process-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(34, 211, 238, 0.1));
  backdrop-filter: blur(8px);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: var(--radius-lg);
  color: var(--accent);
  margin: 0 auto var(--space-5);
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.15);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) and (pointer: fine) {
  .process-step:hover .process-icon {
    transform: scale(1.15) rotate(5deg);
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: 0 8px 32px rgba(6, 182, 212, 0.4);
  }
}

.process-title {
  font-size: 1.15rem;
  margin-bottom: var(--space-3);
}

.process-desc {
  font-size: 0.9rem;
  color: var(--text-3);
  line-height: 1.6;
}

/* ============================================
   14. STATS
   ============================================ */
.section-stats {
  position: relative;
  padding: var(--space-24) 0;
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  inset: 0;
}

.stats-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
}

.stats-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.85);
}

[data-theme="light"] .stats-overlay {
  background: rgba(248, 249, 250, 0.88);
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

@media (min-width: 720px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-3);
  margin-top: var(--space-2);
}

/* ============================================
   15. GALLERY
   ============================================ */
/* ============================================
   CAMERAS IP FEATURE SECTION
   ============================================ */
.cameras-feature {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 0 24px;
}

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

.cameras-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.cameras-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.cameras-desc {
  font-size: 1.05rem;
  color: var(--text-3);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 480px;
}

.cameras-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cameras-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-2);
}

.cameras-list svg {
  color: var(--accent);
  flex-shrink: 0;
}

.cameras-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.cameras-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .cameras-visual:hover img {
    transform: scale(1.04);
  }
}

.cameras-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.1) 0%, transparent 60%);
  pointer-events: none;
}

/* ============================================
   16. TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 720px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  padding: var(--space-8);
  background: rgba(14, 14, 20, 0.5);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent));
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.4s;
}

[data-theme="light"] .testimonial-card {
  background: rgba(248, 249, 250, 0.6);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

@media (hover: hover) and (pointer: fine) {
  .testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 32px 80px rgba(6, 182, 212, 0.2), 0 0 0 1px rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.25);
  }
  .testimonial-card:hover::before {
    opacity: 1;
    animation: shimmer 2s linear infinite;
  }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.testimonial-rating {
  display: flex;
  gap: 2px;
  color: #fbbf24;
  margin-bottom: var(--space-5);
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.3);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) and (pointer: fine) {
  .testimonial-card:hover .testimonial-avatar {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(6, 182, 212, 0.5);
  }
}

.testimonial-name {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-role {
  display: block;
  font-size: 0.8rem;
  color: var(--text-4);
}

/* ============================================
   17. FAQ
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: rgba(14, 14, 20, 0.5);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

@media (hover: hover) and (pointer: fine) {
  .faq-item:hover {
    box-shadow: 0 16px 48px rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.2);
  }
}

.faq-item.is-open {
  border-color: var(--accent);
  background: rgba(14, 14, 20, 0.6);
  box-shadow: var(--shadow-glow);
}

.faq-question {
  width: 100%;
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  transition: color 0.2s;
}

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

.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-4);
}

.faq-item.is-open .faq-icon {
  transform: rotate(135deg);
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.4);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease-out);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-answer p {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--text-3);
  line-height: 1.7;
}

/* ============================================
   18. CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

.contact-form-wrapper {
  background: rgba(14, 14, 20, 0.5);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .contact-form-wrapper {
  background: rgba(248, 249, 250, 0.6);
  border-color: var(--glass-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 540px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-3);
  margin-bottom: var(--space-2);
}

.form-input {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  background: rgba(22, 22, 31, 0.5);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow), 0 4px 16px rgba(6, 182, 212, 0.15);
  background: rgba(22, 22, 31, 0.7);
}

.form-input::placeholder {
  color: var(--text-4);
}

[data-theme="light"] .form-input {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .form-input:focus {
  background: rgba(255, 255, 255, 0.9);
}

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

.btn-loading { display: none; }
.is-sending .btn-text { display: none; }
.is-sending .btn-loading { display: inline-flex; animation: spin 1s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-10);
}

.form-success.is-visible {
  display: block;
}

.form-success svg {
  color: #22c55e;
  margin: 0 auto var(--space-4);
}

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-2);
}

.form-success p {
  color: var(--text-3);
}

/* Contact Info */
.contact-info-card {
  background: rgba(14, 14, 20, 0.5);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-info-card:hover {
  box-shadow: 0 16px 48px rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.2);
}

[data-theme="light"] .contact-info-card {
  background: rgba(248, 249, 250, 0.6);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-info-item:hover {
  background: rgba(6, 182, 212, 0.08);
}

.contact-info-item svg {
  color: var(--accent);
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-info-item:hover svg {
  transform: scale(1.1);
}
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-info-value {
  display: block;
  font-weight: 500;
  color: var(--text);
}

.contact-map {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

/* ============================================
   19. FOOTER
   ============================================ */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-16) 0 var(--space-8);
  background: rgba(14, 14, 20, 0.5);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  position: relative;
  z-index: 1;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-8);
  }
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.footer-desc {
  color: var(--text-4);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text-4);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.footer-social-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(6, 182, 212, 0.05);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.footer-links ul, .footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a, .footer-contact li {
  font-size: 0.9rem;
  color: var(--text-4);
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: var(--space-6);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-4);
}

/* ============================================
   20. TOAST
   ============================================ */
.toast {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  padding: var(--space-4) var(--space-6);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 0.9rem;
  z-index: var(--z-toast);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  box-shadow: var(--shadow-md);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toast.is-success { border-color: #22c55e; }
.toast.is-error { border-color: #ef4444; }

/* ============================================
   21. REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Safety: split text always visible */
.reveal[data-split] {
  opacity: 1;
  transform: none;
}

/* Stagger cards with clean 40ms progression */
[data-reveal-cards] .reveal:nth-child(1) { transition-delay: 0s; }
[data-reveal-cards] .reveal:nth-child(2) { transition-delay: 0.04s; }
[data-reveal-cards] .reveal:nth-child(3) { transition-delay: 0.08s; }
[data-reveal-cards] .reveal:nth-child(4) { transition-delay: 0.12s; }
[data-reveal-cards] .reveal:nth-child(5) { transition-delay: 0.16s; }
[data-reveal-cards] .reveal:nth-child(6) { transition-delay: 0.2s; }

/* ============================================
   22. BRANDS MARQUEE
   ============================================ */
.section-brands {
  padding: var(--space-16) 0 var(--space-10);
  overflow: hidden;
}

.section-brands .section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.brands-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: var(--space-8) 0;
}

.brands-marquee-wrapper::before,
.brands-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.brands-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}

.brands-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}

[data-theme="light"] .brands-marquee-wrapper::before {
  background: linear-gradient(to right, #f8f9fa 0%, transparent 100%);
}

[data-theme="light"] .brands-marquee-wrapper::after {
  background: linear-gradient(to left, #f8f9fa 0%, transparent 100%);
}

.brands-marquee {
  display: flex;
  gap: var(--space-6);
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.brands-marquee:hover {
  animation-play-state: paused;
}

.brand-card {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 120px;
  padding: var(--space-5);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease-out);
  cursor: default;
}

.brand-card:hover {
  border-color: var(--accent);
  background: var(--surface-3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.brand-card img {
  max-width: 140px;
  max-height: 80px;
  object-fit: contain;
  transition: transform 0.3s var(--ease-out);
}

.brand-card:hover img {
  transform: scale(1.05);
}

.brand-card-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  color: var(--text-4);
  font-size: 0.85rem;
  text-align: center;
}

.brand-card-placeholder svg {
  opacity: 0.5;
}

@media (prefers-reduced-motion: reduce) {
  .brands-marquee {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .brand-card:hover {
    transform: none;
  }
}

@media (max-width: 768px) {
  .brand-card {
    width: 160px;
    height: 100px;
  }

  .brand-card img {
    max-width: 110px;
    max-height: 60px;
  }

  .brands-marquee-wrapper::before,
  .brands-marquee-wrapper::after {
    width: 60px;
  }
}

.brand-card {
  opacity: 0;
  transform: translateY(25px) scale(0.95);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.brand-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ============================================
   22. CLIENTS MARQUEE
   ============================================ */
.section-clients {
  padding: var(--space-16) 0 var(--space-20);
  overflow: hidden;
}

.section-clients .section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.clients-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: var(--space-8) 0;
}

/* Gradient fade edges */
.clients-marquee-wrapper::before,
.clients-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.clients-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}

.clients-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}

[data-theme="light"] .clients-marquee-wrapper::before {
  background: linear-gradient(to right, #f8f9fa 0%, transparent 100%);
}

[data-theme="light"] .clients-marquee-wrapper::after {
  background: linear-gradient(to left, #f8f9fa 0%, transparent 100%);
}

.clients-marquee {
  display: flex;
  gap: var(--space-6);
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.clients-marquee:hover {
  animation-play-state: paused;
}

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

.client-card {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 120px;
  padding: var(--space-5);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease-out);
  cursor: default;
}

.client-card:hover {
  border-color: var(--accent);
  background: var(--surface-3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.client-card img {
  max-width: 140px;
  max-height: 80px;
  object-fit: contain;
  transition: transform 0.3s var(--ease-out);
}

.client-card:hover img {
  transform: scale(1.05);
}

.client-card-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  color: var(--text-4);
  font-size: 0.85rem;
  text-align: center;
}

.client-card-placeholder svg {
  opacity: 0.5;
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  z-index: 400;
  transition: all 0.3s var(--ease-out);
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  pointer-events: none;
}

.whatsapp-btn.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.whatsapp-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
  margin-top: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-btn {
    transition: opacity 0.2s;
    transform: none;
  }
  .whatsapp-btn.is-visible {
    transform: none;
  }
  .whatsapp-btn:hover {
    transform: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .clients-marquee {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .client-card:hover {
    transform: none;
  }
}

@media (max-width: 768px) {
  .client-card {
    width: 160px;
    height: 100px;
  }

  .client-card img {
    max-width: 110px;
    max-height: 60px;
  }

  .clients-marquee-wrapper::before,
  .clients-marquee-wrapper::after {
    width: 60px;
  }
}

/* ============================================
   22B. TEXT & TITLE ANIMATIONS — DRAMATIC MOVEMENT
   ============================================ */

/* Hero title — dramatic entrance with blur + 3D rotate */
.hero-title {
  animation: heroTitleDramatic 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

@keyframes heroTitleDramatic {
  from { opacity: 0; transform: translateY(60px) rotateX(15deg) scale(0.9); filter: blur(12px); }
  to { opacity: 1; transform: translateY(0) rotateX(0) scale(1); filter: blur(0); }
}

/* Hero title em — continuous floating */
.hero-title em { animation: heroEmFloat 3s ease-in-out infinite; }
@keyframes heroEmFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* Hero subtitle — slide from right */
.hero-sub { animation: heroSubSlide 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both; }
@keyframes heroSubSlide {
  from { opacity: 0; transform: translateX(40px) translateY(20px); }
  to { opacity: 1; transform: translateX(0) translateY(0); }
}

/* Hero badge — bounce in from top */
.hero-badge { animation: heroBadgeBounce 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both; }
@keyframes heroBadgeBounce {
  from { opacity: 0; transform: translateY(-30px) scale(0.7); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Hero actions — fade + slide up with bounce */
.hero-actions { animation: heroActionsIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s both; }
@keyframes heroActionsIn {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Section titles — slide up + slight rotate */
.section-title { opacity: 0; transform: translateY(50px) rotate(-2deg); transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); }
.section-title.is-visible { opacity: 1; transform: translateY(0) rotate(0); }

/* Section tag — pop + scale bounce */
.section-tag { display: inline-block; opacity: 0; transform: scale(0.5) translateY(15px) rotate(5deg); transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1); }
.section-tag.is-visible { opacity: 1; transform: scale(1) translateY(0) rotate(0); }

/* Section subtitle — slide up with delay */
.section-subtitle { opacity: 0; transform: translateY(25px); transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s; }
.section-subtitle.is-visible { opacity: 1; transform: translateY(0); }

/* Gradient text em — animated gradient shift */
.section-title em { background-size: 200% 200%; animation: gradientShift 3s ease-in-out infinite; display: inline-block; }
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  25% { background-position: 100% 0%; }
  50% { background-position: 100% 100%; }
  75% { background-position: 0% 100%; }
}

/* Process numbers — bounce scale in */
.process-number { opacity: 0; transform: scale(0.3) rotate(-10deg); transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1); }
.process-step.is-visible .process-number { opacity: 0.25; transform: scale(1) rotate(0); }

/* Process titles — slide from bottom */
.process-title { opacity: 0; transform: translateY(20px); transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s; }
.process-step.is-visible .process-title { opacity: 1; transform: translateY(0); }

/* Process descriptions — fade in */
.process-desc { opacity: 0; transform: translateY(15px); transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.25s; }
.process-step.is-visible .process-desc { opacity: 1; transform: translateY(0); }

/* Feature titles — slide from left with rotation */
.feature-title { opacity: 0; transform: translateX(-40px) rotate(2deg); transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s; }
.feature-card.is-visible .feature-title { opacity: 1; transform: translateX(0) rotate(0); }

/* Feature descriptions — fade + scale */
.feature-desc { opacity: 0; transform: translateY(12px) scale(0.98); transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s; }
.feature-card.is-visible .feature-desc { opacity: 1; transform: translateY(0) scale(1); }

/* Testimonial text — slide from left */
.testimonial-text { opacity: 0; transform: translateY(20px) translateX(-10px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.testimonial-card.is-visible .testimonial-text { opacity: 1; transform: translateY(0) translateX(0); }

/* Testimonial author — slide up with bounce */
.testimonial-author { opacity: 0; transform: translateY(15px) scale(0.95); transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s; }
.testimonial-card.is-visible .testimonial-author { opacity: 1; transform: translateY(0) scale(1); }

/* Testimonial rating stars — pop in stagger */
.testimonial-rating svg { opacity: 0; transform: scale(0) rotate(-30deg); transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.testimonial-card.is-visible .testimonial-rating svg:nth-child(1) { transition-delay: 0.05s; }
.testimonial-card.is-visible .testimonial-rating svg:nth-child(2) { transition-delay: 0.1s; }
.testimonial-card.is-visible .testimonial-rating svg:nth-child(3) { transition-delay: 0.15s; }
.testimonial-card.is-visible .testimonial-rating svg:nth-child(4) { transition-delay: 0.2s; }
.testimonial-card.is-visible .testimonial-rating svg:nth-child(5) { transition-delay: 0.25s; }
.testimonial-card.is-visible .testimonial-rating svg { opacity: 1; transform: scale(1) rotate(0); }

/* FAQ question — text glow + slide on hover */
.faq-question span { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.faq-question:hover span { color: var(--accent); text-shadow: 0 0 24px rgba(6, 182, 212, 0.4); transform: translateX(4px); }

/* FAQ answer — expand animation */
.faq-answer-inner p { opacity: 0; transform: translateY(10px); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s; }
.faq-item.is-open .faq-answer-inner p { opacity: 1; transform: translateY(0); }

/* Stat numbers — pulse glow on hover */
.stat-item { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.stat-item:hover { transform: translateY(-4px); }
.stat-item:hover .stat-number { text-shadow: 0 0 40px rgba(6, 182, 212, 0.6); transform: scale(1.1); transition: all 0.3s; }
.stat-label { opacity: 0; transform: translateY(10px); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s; }
.stat-item.is-visible .stat-label { opacity: 1; transform: translateY(0); }

/* Contact title — shimmer */
.section-contact .section-title em { animation: contactShimmer 2s linear infinite; background-size: 300% 100%; }
@keyframes contactShimmer { 0% { background-position: -100% 0; } 100% { background-position: 200% 0; } }

/* Contact form labels — slide in */
.form-label { opacity: 0; transform: translateX(-10px); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.contact-form .form-group:nth-child(1) .form-label { transition-delay: 0.05s; }
.contact-form .form-group:nth-child(2) .form-label { transition-delay: 0.1s; }
.contact-form .form-group:nth-child(3) .form-label { transition-delay: 0.15s; }
.is-visible .form-label { opacity: 1; transform: translateX(0); }

/* Footer brand — breathe glow */
.footer-logo { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.footer-logo:hover { transform: scale(1.03); }
.footer-logo:hover .nav-logo-icon { filter: drop-shadow(0 0 16px rgba(6, 182, 212, 0.6)); }

/* Footer headings — slide in */
.footer-heading { opacity: 0; transform: translateY(10px); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.footer.is-visible .footer-heading { opacity: 1; transform: translateY(0); }

/* WhatsApp button — bounce entrance */
.whatsapp-btn { transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.whatsapp-btn.is-visible { animation: whatsappBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
@keyframes whatsappBounce {
  from { opacity: 0; transform: scale(0.3) translateY(40px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* WhatsApp ring pulse */
.whatsapp-btn.is-visible::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(37, 211, 102, 0.4); animation: whatsappRing 2s ease-out infinite; }
@keyframes whatsappRing { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

/* Nav logo — glow pulse on hover */
.nav-logo-icon { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.nav-logo:hover .nav-logo-icon { filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.6)); transform: scale(1.08) rotate(-3deg); }

/* Client cards — stagger entrance */
.client-card { opacity: 0; transform: translateY(25px) scale(0.95); transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.client-card.is-visible { opacity: 1; transform: translateY(0) scale(1); }

/* About text paragraphs — slide up */
.about-text { opacity: 0; transform: translateY(20px); transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.about-text:nth-child(1) { transition-delay: 0.1s; }
.about-text:nth-child(2) { transition-delay: 0.2s; }
.about-content.is-visible .about-text { opacity: 1; transform: translateY(0); }

/* About features — slide from left */
.about-feature { opacity: 0; transform: translateX(-20px); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.about-feature:nth-child(1) { transition-delay: 0.1s; }
.about-feature:nth-child(2) { transition-delay: 0.2s; }
.about-feature:nth-child(3) { transition-delay: 0.3s; }
.about-content.is-visible .about-feature { opacity: 1; transform: translateX(0); }

/* ============================================
   CHAT WIDGET
   ============================================ */
.chat-widget { position: fixed; bottom: 28px; right: 28px; z-index: 450; }

.chat-toggle {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: #0a0a0c; box-shadow: 0 4px 24px rgba(6, 182, 212, 0.4);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.chat-toggle:hover { transform: scale(1.1); box-shadow: 0 8px 40px rgba(6, 182, 212, 0.5); }
.chat-toggle .chat-icon-close { display: none; }
.chat-toggle.is-open .chat-icon-open { display: none; }
.chat-toggle.is-open .chat-icon-close { display: block; }

.chat-toggle::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(6, 182, 212, 0.3);
  animation: chatPulse 2s ease-out infinite;
}
@keyframes chatPulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }

.chat-window {
  position: fixed; bottom: 172px; right: 28px; width: 380px; max-height: 520px;
  background: rgba(10, 15, 22, 0.95); backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(6, 182, 212, 0.18); border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(6, 182, 212, 0.1);
  display: flex; flex-direction: column; overflow: hidden; z-index: 460;
  opacity: 0; transform: translateY(20px) scale(0.95); pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.chat-window.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

.chat-header {
  padding: 16px 20px; display: flex; align-items: center; justify-content: space-between;
  background: rgba(6, 182, 212, 0.08); border-bottom: 1px solid rgba(6, 182, 212, 0.12);
}
.chat-header-info { display: flex; align-items: center; gap: 12px; }
.chat-avatar {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.chat-name { display: block; font-weight: 600; font-size: 0.9rem; color: var(--text); }
.chat-status { display: block; font-size: 0.75rem; color: #22c55e; }
.chat-close {
  width: 32px; height: 32px; border-radius: 8px; border: none; cursor: pointer;
  background: rgba(255, 255, 255, 0.05); color: var(--text-3); display: flex;
  align-items: center; justify-content: center; transition: all 0.2s;
}
.chat-close:hover { background: rgba(239, 68, 68, 0.15); color: #ef4444; }

.chat-messages {
  flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px;
  min-height: 280px; max-height: 320px;
  scrollbar-width: thin; scrollbar-color: rgba(6, 182, 212, 0.3) transparent;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(6, 182, 212, 0.3); border-radius: 2px; }

.chat-msg {
  max-width: 85%; padding: 12px 16px; border-radius: 16px; font-size: 0.875rem; line-height: 1.5;
  animation: msgIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }

.chat-msg.bot {
  align-self: flex-start; background: rgba(6, 182, 212, 0.1); border: 1px solid rgba(6, 182, 212, 0.15);
  color: var(--text-2); border-bottom-left-radius: 4px;
}
.chat-msg.user {
  align-self: flex-end; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0a0a0c; border-bottom-right-radius: 4px;
}
.chat-msg a { color: var(--accent-2); text-decoration: underline; }
.chat-msg.user a { color: #0a0a0c; }

.chat-typing { display: flex; gap: 4px; padding: 12px 16px; }
.chat-typing span {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent); opacity: 0.4;
  animation: typingBounce 1.4s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-8px); opacity: 1; } }

.chat-quick-actions {
  padding: 8px 16px; display: flex; flex-wrap: wrap; gap: 6px;
  border-top: 1px solid rgba(6, 182, 212, 0.08);
}
.chat-quick-btn {
  padding: 6px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 500;
  background: rgba(6, 182, 212, 0.08); border: 1px solid rgba(6, 182, 212, 0.15);
  color: var(--accent-2); cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.chat-quick-btn:hover { background: rgba(6, 182, 212, 0.18); border-color: rgba(6, 182, 212, 0.3); transform: translateY(-1px); }

.chat-input-area {
  padding: 12px 16px; display: flex; gap: 8px;
  border-top: 1px solid rgba(6, 182, 212, 0.08);
}
.chat-input {
  flex: 1; padding: 10px 16px; border-radius: 24px; border: 1px solid rgba(6, 182, 212, 0.15);
  background: rgba(6, 182, 212, 0.05); color: var(--text); font-size: 0.875rem;
  outline: none; transition: all 0.3s;
}
.chat-input:focus { border-color: var(--accent); background: rgba(6, 182, 212, 0.08); }
.chat-input::placeholder { color: var(--text-4); }
.chat-send {
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #0a0a0c;
  display: flex; align-items: center; justify-content: center; transition: all 0.3s;
}
.chat-send:hover { transform: scale(1.1); box-shadow: 0 4px 16px rgba(6, 182, 212, 0.4); }

.chat-footer {
  padding: 10px 16px; display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(6, 182, 212, 0.08); font-size: 0.75rem; color: var(--text-4);
}
.chat-whatsapp-btn {
  display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px;
  border-radius: 16px; background: rgba(37, 211, 102, 0.12); border: 1px solid rgba(37, 211, 102, 0.2);
  color: #25D366; font-size: 0.75rem; font-weight: 600; text-decoration: none; transition: all 0.2s;
}
.chat-whatsapp-btn:hover { background: rgba(37, 211, 102, 0.2); transform: translateY(-1px); }

@media (max-width: 480px) {
  .chat-window { width: calc(100vw - 32px); right: 16px; bottom: 172px; max-height: 60vh; }
  .chat-widget { bottom: 16px; right: 16px; }
  .chat-toggle { width: 54px; height: 54px; }
  .whatsapp-btn { bottom: 84px; right: 16px; width: 54px; height: 54px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .splash, .splash-bar-fill { animation: none; }
  .splash-bar-fill { width: 100%; }
  .reveal, .hero-title, .hero-sub, .hero-badge, .hero-actions, .hero-title em { animation: none; opacity: 1; transform: none; filter: none; }
  .section-title, .section-tag, .section-subtitle, .process-number, .process-title, .process-desc { transition: none; opacity: 1; transform: none; }
  .feature-title, .feature-desc, .testimonial-text, .testimonial-author, .testimonial-rating svg { transition: none; opacity: 1; transform: none; }
  .stat-label, .about-text, .about-feature, .footer-heading, .client-card, .brand-card, .form-label { transition: none; opacity: 1; transform: none; }
  .whatsapp-btn.is-visible, .section-title em, .section-contact .section-title em { animation: none; }
  .hero-scroll-line, .hero-badge-dot { animation: none; }
  .faq-question:hover span { text-shadow: none; }
  .service-card:hover, .feature-card:hover, .process-step:hover, .testimonial-card:hover, .about-image-wrapper:hover, .stat-item:hover { transform: none; }
}

/* ============================================
    23. RESPONSIVE
   ============================================ */
@media (max-width: 539px) {
  .hero-content { padding-top: calc(var(--nav-height) + var(--space-10)); }
  .hero-stats { gap: var(--space-6); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .section { padding: var(--space-16) 0; }
  .section-header { margin-bottom: var(--space-10); }
  .about-floating-card { display: none; }
}

@media (min-width: 540px) and (max-width: 719px) {
  .hero-stats { gap: var(--space-8); }
}

/* ============================================
   23. REDUCED MOTION — only gate intrusive
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .splash { animation: none; }
  .splash-bar-fill { animation: none; width: 100%; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .hero-scroll-line { animation: none; }
  .hero-badge-dot { animation: none; }
  .hero-title, .hero-sub, .hero-badge, .hero-actions { animation: none; opacity: 1; transform: none; filter: none; }
  .section-title, .section-tag, .section-subtitle { transition: none; opacity: 1; transform: none; }
  .process-number { transition: none; opacity: 0.25; transform: none; }
  .feature-title, .feature-desc { transition: none; opacity: 1; transform: none; }
  .testimonial-text, .testimonial-author { transition: none; opacity: 1; transform: none; }
  .client-card, .brand-card { transition: none; opacity: 1; transform: none; }
  .whatsapp-btn.is-visible { animation: none; }
  .section-title em { animation: none; }
  .section-contact .section-title em { animation: none; }
  .service-card:hover, .feature-card:hover, .process-step:hover,
  .testimonial-card:hover, .about-image-wrapper:hover {
    transform: none;
  }
  /* DO NOT disable: hover colors, theme toggle, FAQ accordion, cursor */
}
