/* ══════════════════════════════════════════════════════
   SIMPL3X — STYLES.CSS
   Dark theme + Blue logo accent (#1E9FE8) + Green "3" (#2ECC71)
   ══════════════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --bg-primary:    #050a12;
  --bg-secondary:  #080f1a;
  --bg-card:       #0c1520;
  --bg-card-hover: #101d2a;
  --bg-elevated:   #152030;

  --border:        #162030;
  --border-light:  #1e3045;

  --accent:        #1E9FE8;
  --accent-dim:    #1E9FE818;
  --accent-blue:   #0d7fc4;
  --accent-green:  #2ECC71;
  --accent-glow:   rgba(30, 159, 232, 0.15);

  --text-primary:  #eef4fb;
  --text-secondary:#7a9bbf;
  --text-muted:    #3d5a78;

  --font-sans:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display:  'Space Grotesk', sans-serif;

  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     28px;

  --shadow-sm:     0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:     0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg:     0 8px 40px rgba(0,0,0,0.6);
  --shadow-glow:   0 0 30px rgba(30, 159, 232, 0.14);

  --transition:    all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height:    72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #333; }

/* ── SELECTION ── */
::selection { background: var(--accent-dim); color: var(--accent); }

/* ══════════════════════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════════════════════ */

.gradient-text {
  background: linear-gradient(135deg, #1E9FE8 0%, #2ECC71 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  background: var(--accent-dim);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #1E9FE8 0%, #1588cc 100%);
  color: #fff;
  box-shadow: 0 0 20px rgba(30, 159, 232, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #2aaff5 0%, #1E9FE8 100%);
  box-shadow: 0 0 35px rgba(30, 159, 232, 0.5);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-outline:hover {
  background: linear-gradient(135deg, #1E9FE8, #1588cc);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(30, 159, 232, 0.35);
}

.btn-full { width: 100%; justify-content: center; }

/* ══════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(8, 8, 8, 0.98);
  box-shadow: 0 1px 0 var(--border), 0 4px 20px rgba(0,0,0,0.3);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  text-decoration: none;
}
.nav-logo:hover { opacity: 0.88; }

/* Logo imagen (ícono real PNG) */
.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

/* Texto wordmark junto al ícono */
.logo-wordmark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #1E9FE8;
  line-height: 1;
}
.logo-3 { color: #2ECC71; }

/* Footer logo ligeramente más grande */
.footer-logo .logo-img { height: 48px; width: auto; }
.footer-logo .logo-wordmark { font-size: 1.4rem; }

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

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}
.nav-link:hover { color: var(--text-primary); background: var(--bg-elevated); }

.nav-cta {
  background: var(--accent-dim);
  color: var(--accent) !important;
  border: 1px solid rgba(30, 159, 232, 0.25);
  margin-left: 8px;
}
.nav-cta:hover {
  background: var(--accent) !important;
  color: #000 !important;
  border-color: var(--accent);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { padding: 0 24px; display: flex; flex-direction: column; gap: 4px; }
.mobile-link {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}
.mobile-link:hover { color: var(--accent); background: var(--accent-dim); }

/* ══════════════════════════════════════════════════════
   DROPDOWN SOLUCIONES (Desktop)
   ══════════════════════════════════════════════════════ */

.nav-dropdown-wrap {
  position: relative;
}

.nav-dropdown-btn {
  background: none;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.dropdown-chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
  opacity: 0.6;
}
.nav-dropdown-btn[aria-expanded="true"] .dropdown-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Panel dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: 310px;
  background: #0c1520;
  border: 1px solid rgba(30, 159, 232, 0.18);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 30px rgba(30,159,232,0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 200;
}

/* Flecha triangular superior */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 6px;
  background: #0c1520;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  border-top: 1px solid rgba(30,159,232,0.18);
}

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

/* Items del dropdown */
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  width: 100%;
  background: none;
  text-align: left;
}
.dropdown-item:hover {
  background: rgba(30, 159, 232, 0.08);
  color: var(--text-primary);
}

.dropdown-item-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* Iconos de items */
.di-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.di-icon-blue   { background: rgba(30,159,232,0.12); color: #1E9FE8; border: 1px solid rgba(30,159,232,0.2); }
.di-icon-green  { background: rgba(46,204,113,0.12); color: #2ECC71; border: 1px solid rgba(46,204,113,0.2); }
.di-icon-orange { background: rgba(249,115,22,0.12); color: #f97316; border: 1px solid rgba(249,115,22,0.2); }
.di-icon-muted  { background: rgba(122,155,191,0.08); color: #3d5a78; border: 1px solid rgba(122,155,191,0.1); }

.di-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.di-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.di-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

/* Badges */
.di-badge-disabled {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 100px;
  background: rgba(122,155,191,0.12);
  color: #3d5a78;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.di-badge-soon {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 100px;
  background: rgba(30,159,232,0.12);
  color: #1E9FE8;
  border: 1px solid rgba(30,159,232,0.2);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.dropdown-divider {
  height: 1px;
  background: rgba(30,159,232,0.1);
  margin: 4px 12px;
}

/* ══════════════════════════════════════════════════════
   MOBILE DROPDOWN SOLUCIONES
   ══════════════════════════════════════════════════════ */

.mobile-dropdown-wrap { list-style: none; }

.mobile-dropdown-btn {
  background: none;
  border: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: var(--transition);
}
.mobile-dropdown-btn:hover,
.mobile-dropdown-btn[aria-expanded="true"] {
  color: var(--accent);
  background: var(--accent-dim);
}
.mobile-chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
  opacity: 0.6;
}
.mobile-dropdown-btn[aria-expanded="true"] .mobile-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Sub-menú móvil */
.mobile-sub-menu {
  display: none;
  padding: 4px 0 4px 16px !important;
  gap: 2px !important;
}
.mobile-sub-menu.open { display: flex !important; }

.mobile-sub-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  background: none;
  width: 100%;
  cursor: pointer;
}
.mobile-sub-link:hover { color: var(--accent); background: var(--accent-dim); }
.mobile-sub-disabled  { opacity: 0.4; cursor: not-allowed; }
.mobile-sub-disabled:hover { background: none; color: var(--text-secondary); }

/* ══════════════════════════════════════════════════════
   HERO SLIDER
   ══════════════════════════════════════════════════════ */

/* ── Contenedor principal del slider ── */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  margin-top: var(--nav-height);
}

/* ── Track (contiene todos los slides) ── */
.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* ── Slide base ── */
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* ── Fondo del slide ── */
.slide-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Imagen real (slide 1) */
.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Overlay sobre fotografías reales: oscurece lo necesario sin perder la imagen */
.slide-overlay-photo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(5, 10, 18, 0.75) 0%,
      rgba(5, 10, 18, 0.50) 45%,
      rgba(5, 10, 18, 0.22) 100%
    );
}

/* Overlay sobre la imagen/arte para legibilidad del texto */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(5, 10, 18, 0.82) 0%,
    rgba(5, 10, 18, 0.65) 50%,
    rgba(5, 10, 18, 0.25) 100%
  );
}
.slide-overlay-dark {
  background: linear-gradient(
    110deg,
    rgba(5, 10, 18, 0.90) 0%,
    rgba(5, 10, 18, 0.72) 55%,
    rgba(5, 10, 18, 0.30) 100%
  );
}

/* Fondos de slides con arte CSS */
.slide-bg-web {
  background: linear-gradient(135deg, #050e20 0%, #071428 40%, #0a1e40 100%);
}
.slide-bg-mobile {
  background: linear-gradient(135deg, #060d1c 0%, #081428 40%, #091e3a 100%);
}
.slide-bg-enterprise {
  background: linear-gradient(135deg, #040d1a 0%, #071228 40%, #0a1a38 100%);
}

/* Arte decorativo en cada slide */
.slide-bg-art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6%;
  overflow: hidden;
}

/* ── SLIDE 2: Bloques de código ── */
.art-code-block {
  position: absolute;
  background: rgba(10, 20, 40, 0.85);
  border: 1px solid rgba(30, 159, 232, 0.18);
  border-radius: 10px;
  overflow: hidden;
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 20px rgba(30,159,232,0.06);
}
.art-code-1 {
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  animation: codeFloat1 6s ease-in-out infinite;
}
.art-code-2 {
  right: 33%;
  top: 55%;
  width: 220px;
  opacity: 0.7;
  animation: codeFloat2 7s ease-in-out infinite;
}
@keyframes codeFloat1 {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 12px)); }
}
@keyframes codeFloat2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.acb-bar {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 8px 12px;
  background: rgba(5, 10, 20, 0.8);
  border-bottom: 1px solid rgba(30, 159, 232, 0.12);
}
.acb-dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.acb-dot.r { background: #ff5f57; }
.acb-dot.y { background: #febc2e; }
.acb-dot.g { background: #28c840; }

.acb-lines {
  padding: 14px 16px;
  font-family: 'Courier New', monospace;
  font-size: 0.78rem;
  line-height: 1.7;
}
.acl { display: block; }
.acl-blue   { color: #82AAFF; }
.acl-green  { color: #C3E88D; }
.acl-white  { color: #ccd6e0; }
.acl-yellow { color: #FFCB6B; }

.art-browser-bar {
  position: absolute;
  bottom: 14%;
  right: 6%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(10, 20, 40, 0.8);
  border: 1px solid rgba(30, 159, 232, 0.2);
  border-radius: 100px;
  animation: codeFloat2 5s ease-in-out infinite;
}
.abb-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #1E9FE8; opacity: 0.6;
}
.abb-url {
  font-size: 0.72rem;
  color: #7a9bbf;
  font-family: monospace;
}

/* ── SLIDE 3: Teléfonos ── */
.art-phones {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.art-phone {
  width: 100px;
  height: 190px;
  background: rgba(8, 16, 30, 0.9);
  border: 1px solid rgba(30, 159, 232, 0.25);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 20px rgba(30,159,232,0.08);
}
.art-phone-left  { height: 160px; opacity: 0.75; animation: phoneFloat 5s ease-in-out infinite; }
.art-phone-center { height: 200px; border-color: rgba(30, 159, 232, 0.4); animation: phoneFloat 6s ease-in-out infinite 0.5s; }
.art-phone-right  { height: 165px; opacity: 0.75; animation: phoneFloat 5.5s ease-in-out infinite 1s; }
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.aph-screen { padding: 10px 8px; height: 100%; }
.aph-nav { height: 8px; background: rgba(30,159,232,0.3); border-radius: 4px; margin-bottom: 8px; }
.aph-nav-dark { background: rgba(255,255,255,0.08); }
.aph-hero-el { height: 50px; background: linear-gradient(135deg, rgba(30,159,232,0.2), rgba(46,204,113,0.15)); border-radius: 8px; margin-bottom: 8px; }
.aph-list { display: flex; flex-direction: column; gap: 5px; }
.aph-item { height: 12px; background: rgba(255,255,255,0.07); border-radius: 3px; }
.aph-item-accent { background: rgba(30,159,232,0.2); }
.aph-map { height: 80px; background: linear-gradient(135deg, rgba(30,159,232,0.12), rgba(10,30,60,0.8)); border-radius: 6px; margin-bottom: 8px; }
.aph-pill { height: 18px; width: 70%; margin: 0 auto; background: rgba(30,159,232,0.3); border-radius: 100px; }
.aph-chat { display: flex; flex-direction: column; gap: 6px; padding-top: 4px; }
.apc-msg { height: 12px; border-radius: 8px; }
.apc-in { background: rgba(255,255,255,0.1); width: 70%; }
.apc-out { background: rgba(30,159,232,0.25); width: 60%; align-self: flex-end; margin-left: auto; }
.apc-long { height: 20px; }

/* ── SLIDE 4: Dashboard ── */
.art-dashboard {
  position: absolute;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  width: 440px;
  height: 280px;
  background: rgba(8, 16, 30, 0.9);
  border: 1px solid rgba(30, 159, 232, 0.2);
  border-radius: 14px;
  display: flex;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 30px rgba(30,159,232,0.08);
  animation: dashFloat 7s ease-in-out infinite;
}
@keyframes dashFloat {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 8px)); }
}

.ad-sidebar {
  width: 72px;
  background: rgba(5, 10, 20, 0.8);
  border-right: 1px solid rgba(30,159,232,0.12);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ads-logo { height: 28px; background: rgba(30,159,232,0.3); border-radius: 6px; margin-bottom: 4px; }
.ads-menu { display: flex; flex-direction: column; gap: 6px; }
.ads-item { height: 8px; background: rgba(255,255,255,0.06); border-radius: 3px; }
.ads-active { background: rgba(30,159,232,0.4); }

.ad-main { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ad-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.adt-title { height: 10px; width: 40%; background: rgba(255,255,255,0.12); border-radius: 3px; }
.adt-actions { display: flex; gap: 6px; }
.adt-btn { height: 18px; width: 40px; background: rgba(255,255,255,0.06); border-radius: 4px; }
.adt-btn-accent { background: rgba(30,159,232,0.4); }

.ad-kpis { display: flex; gap: 8px; }
.ad-kpi {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(30,159,232,0.12);
  border-radius: 8px;
  padding: 8px;
}
.adk-num { font-size: 0.85rem; font-weight: 700; color: #eef4fb; font-family: var(--font-display); }
.adk-label { font-size: 0.6rem; color: #3d5a78; margin: 2px 0; }
.adk-trend { font-size: 0.62rem; font-weight: 600; }
.adk-up { color: #2ECC71; }

.ad-chart { flex: 1; background: rgba(255,255,255,0.02); border: 1px solid rgba(30,159,232,0.08); border-radius: 8px; padding: 8px; }
.adc-bars { display: flex; align-items: flex-end; gap: 6px; height: 100%; }
.adc-bar {
  flex: 1;
  background: rgba(30,159,232,0.2);
  border-radius: 3px 3px 0 0;
  transition: height 0.5s ease;
}
.adc-bar-accent { background: rgba(30,159,232,0.6); }

/* ── CONTENIDO FLOTANTE DEL SLIDE ── */
.slide-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 48px;
  padding-top: 20px;
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(5, 10, 18, 0.6);
  border: 1px solid rgba(30, 159, 232, 0.35);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(30, 159, 232, 0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(30, 159, 232, 0); }
}

.slide-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  max-width: 680px;
}

.slide-subtitle {
  font-size: 1.05rem;
  color: rgba(238, 244, 251, 0.75);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}
.slide-subtitle strong { color: #fff; font-weight: 600; }

.slide-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Botón ghost especial para el slider (blanco semitransparente) */
.btn-slide-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}
.btn-slide-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ── FLECHAS DE NAVEGACIÓN ── */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(5, 10, 18, 0.6);
  border: 1px solid rgba(30, 159, 232, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.slider-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  transform: translateY(-50%) scale(1.05);
}
.slider-prev { left: 24px; }
.slider-next { right: 24px; }

/* ── DOTS ── */
.slider-dots {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 8px;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.slider-dot.active {
  background: var(--accent);
  width: 28px;
  box-shadow: 0 0 10px rgba(30, 159, 232, 0.6);
}
.slider-dot:hover:not(.active) { background: rgba(255,255,255,0.6); }

/* ── BARRA DE STATS INFERIOR ── */
.hero-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(5, 10, 18, 0.85);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(30, 159, 232, 0.15);
  padding: 18px 32px;
}

.hsb-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0 32px;
}
.hsb-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.hsb-label {
  font-size: 0.75rem;
  color: rgba(238, 244, 251, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hsb-divider {
  width: 1px;
  height: 36px;
  background: rgba(30, 159, 232, 0.2);
  flex-shrink: 0;
}

/* Stats para secciones (los .stat que quedan en process, etc.) */
.stat { text-align: left; }
.stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 3px;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-light);
}

/* ══════════════════════════════════════════════════════
   TECH BAND (TRUSTED)
   ══════════════════════════════════════════════════════ */

.trusted {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.trusted-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

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

.tech-track-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.tech-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 25s linear infinite;
}

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

.tech-item {
  padding: 8px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: var(--transition);
}
.tech-item:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ══════════════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════════════ */

.services {
  padding: 100px 0;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}
.service-card:hover::before { opacity: 1; }

.service-featured {
  grid-column: span 1;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(30, 159, 232, 0.06) 100%);
  border-color: rgba(30, 159, 232, 0.2);
}
.service-featured::before { opacity: 0.5; }

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--accent-dim);
  border: 1px solid rgba(30, 159, 232, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
}

.service-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.service-features li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.service-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
}

.service-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
  margin-top: auto;
  padding-top: 8px;
}
.service-link:hover { color: #00ffaa; }

/* CTA card */
.service-cta-card {
  background: linear-gradient(135deg, rgba(30, 159, 232, 0.08) 0%, rgba(46, 204, 113, 0.06) 100%);
  border-color: rgba(30, 159, 232, 0.2);
  align-items: center;
  justify-content: center;
  text-align: center;
}

.service-cta-inner h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-cta-inner p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════
   PROCESS
   ══════════════════════════════════════════════════════ */

.process {
  padding: 80px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  margin-top: 16px;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px var(--border-light);
  line-height: 1;
  margin-bottom: 20px;
  transition: var(--transition);
}

.process-step:hover .step-number {
  -webkit-text-stroke-color: var(--accent);
  color: transparent;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.step-content p {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.process-connector {
  flex-shrink: 0;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--border-light), #1E9FE8, var(--border-light));
  margin-top: 48px;
  opacity: 0.5;
}

/* ══════════════════════════════════════════════════════
   PORTFOLIO
   ══════════════════════════════════════════════════════ */

.portfolio {
  padding: 100px 0;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-sans);
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  font-weight: 600;
}

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

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.portfolio-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.portfolio-card-wide { grid-column: span 2; }

.portfolio-visual {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.pv-1 { background: linear-gradient(135deg, #071428 0%, #0a1e3d 100%); }
.pv-2 { background: linear-gradient(135deg, #061220 0%, #091b33 100%); }
.pv-3 { background: linear-gradient(135deg, #061a10 0%, #092b18 100%); }
.pv-4 { background: linear-gradient(135deg, #061828 0%, #091e36 100%); }
.pv-5 { background: linear-gradient(135deg, #070c24 0%, #0a1238 100%); }

.portfolio-card-wide .portfolio-visual { height: 240px; }

/* Browser mockup */
.mock-browser {
  width: 280px;
  background: #1a1a1a;
  border-radius: 8px;
  border: 1px solid #2a2a2a;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.mock-bar {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 8px 10px;
  background: #222;
  border-bottom: 1px solid #333;
}
.mock-dot { width: 7px; height: 7px; border-radius: 50%; background: #333; }
.mock-screen { padding: 10px; }
.mock-nav { height: 8px; background: #2a2a2a; border-radius: 3px; margin-bottom: 8px; }
.mock-hero { height: 40px; background: linear-gradient(90deg, #1E9FE815, #2ECC7115); border-radius: 4px; margin-bottom: 8px; }
.mock-cards { display: flex; gap: 6px; }
.mock-card { flex: 1; height: 28px; background: #222; border-radius: 3px; }

/* Phone mockup */
.mock-phone {
  width: 120px;
  height: 200px;
  background: #1a1a1a;
  border-radius: 20px;
  border: 2px solid #333;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.mock-phone-screen { padding: 8px; height: 100%; }
.mock-phone-nav { height: 6px; background: #2a2a2a; border-radius: 3px; margin-bottom: 6px; }
.mock-phone-content { display: flex; flex-direction: column; gap: 6px; }
.mock-phone-card { height: 40px; background: linear-gradient(90deg, rgba(30,159,232,0.12), rgba(46,204,113,0.10)); border-radius: 6px; }
.mock-phone-list { height: 80px; background: #222; border-radius: 6px; }

.mock-phone-alt { }
.mock-phone-header { display: flex; gap: 8px; align-items: center; padding: 6px 0; margin-bottom: 6px; }
.mph-avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); opacity: 0.6; flex-shrink: 0; }
.mph-info { flex: 1; height: 10px; background: #2a2a2a; border-radius: 3px; }
.mock-chat { display: flex; flex-direction: column; gap: 6px; }
.mc-msg { height: 14px; border-radius: 8px; }
.mc-in { background: #2a2a2a; width: 70%; }
.mc-out { background: rgba(30,159,232,0.15); width: 60%; align-self: flex-end; margin-left: auto; }
.mc-long { width: 85%; height: 20px; }

/* Dashboard mockup */
.mock-dashboard {
  width: 320px;
  height: 180px;
  background: #111;
  border-radius: 8px;
  border: 1px solid #2a2a2a;
  display: flex;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.mock-sidebar { width: 60px; background: #1a1a1a; border-right: 1px solid #2a2a2a; padding: 10px 8px; display: flex; flex-direction: column; gap: 6px; }
.ms-item { height: 8px; background: #2a2a2a; border-radius: 3px; }
.ms-active { background: rgba(30,159,232,0.3); }
.mock-main { flex: 1; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.mm-header { height: 10px; background: #2a2a2a; border-radius: 3px; width: 60%; }
.mm-stats { display: flex; gap: 6px; }
.mm-stat { flex: 1; height: 24px; background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 4px; }
.mm-chart { flex: 1; background: linear-gradient(180deg, rgba(30,159,232,0.12) 0%, transparent 100%); border-radius: 4px; border: 1px solid #2a2a2a; }

/* Desktop mockup */
.mock-desktop {
  width: 280px;
  background: #1a1a1a;
  border-radius: 8px;
  border: 1px solid #333;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.mock-desktop-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: #222;
  border-bottom: 1px solid #333;
  font-size: 0.65rem;
  color: #555;
}
.mdb-controls { display: flex; gap: 4px; }
.mdb-btn { width: 10px; height: 10px; border-radius: 50%; background: #333; }
.mdb-close { background: #ff5f57; }
.mock-desktop-content { padding: 10px; }
.mdc-table { display: flex; flex-direction: column; gap: 4px; }
.mdc-row { height: 10px; background: #222; border-radius: 2px; }
.mdc-head { background: #2a2a2a; }
.mdc-highlight { background: rgba(30,159,232,0.1); }

/* Portfolio info */
.portfolio-info { padding: 20px 24px 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }

.portfolio-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 500;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
}

.portfolio-info h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}
.portfolio-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Hidden filtered items */
.portfolio-card.hidden { display: none; }

/* ══════════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════════ */

.about {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

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

.about-text {
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-text strong { color: var(--text-primary); font-weight: 600; }

.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  border: 1px solid rgba(30, 159, 232, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.value-item p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* About visual */
.about-visual { position: relative; }

.about-card-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  transition: var(--transition);
}
.about-card:hover {
  border-color: rgba(30, 159, 232, 0.2);
  box-shadow: var(--shadow-glow);
}

.ac-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ac-name { font-weight: 600; font-size: 0.95rem; }
.ac-role { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.ac-divider { height: 1px; background: var(--border); margin-bottom: 16px; }

.ac-stats { display: flex; justify-content: space-around; }
.acs-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--text-primary); }
.acs-label { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }

.ac-tech .act-label { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.act-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.act-tags span {
  padding: 4px 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.ac-location {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ══════════════════════════════════════════════════════
   TEAM
   ══════════════════════════════════════════════════════ */

.team {
  padding: 100px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.team-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #1E9FE8, #2ECC71);
  opacity: 0;
  transition: var(--transition);
}
.team-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}
.team-card:hover::after { opacity: 1; }

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ta-1 { background: linear-gradient(135deg, #0a1e38, #061428); }
.ta-2 { background: linear-gradient(135deg, #081a30, #051020); }
.ta-3 { background: linear-gradient(135deg, #0a1628, #061020); }
.ta-4 { background: linear-gradient(135deg, #091c34, #061228); }

.avatar-initials {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  z-index: 1;
}

.avatar-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(135deg, #1E9FE8, #2ECC71) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0.4;
}
.team-card:hover .avatar-ring { opacity: 0.9; }

.team-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.team-social { display: flex; gap: 8px; justify-content: center; }
.social-link {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-link:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-dim); }

/* ── Editorial de equipo ── */
.team-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 48px;
}

.team-editorial-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.team-lead {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-primary);
  font-weight: 400;
}

.team-highlight {
  color: var(--accent);
  font-weight: 600;
}

.team-body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* Pilares del equipo */
.team-pillars {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.team-pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.team-pillar:hover {
  border-color: var(--border-light);
  transform: translateX(4px);
}

.tp-icon {
  width: 44px;
  height: 44px;
  background: rgba(30, 159, 232, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tp-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.tp-content p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.team-cta {
  text-align: center;
  padding: 40px;
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.team-cta p { font-size: 0.97rem; color: var(--text-secondary); }

/* ══════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════ */

.contact {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-subtitle {
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-methods { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }

.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.contact-method:hover { border-color: var(--accent); box-shadow: var(--shadow-glow); }

.cm-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  border: 1px solid rgba(30, 159, 232, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.cm-icon-green { background: rgba(34, 197, 94, 0.1); border-color: rgba(34, 197, 94, 0.2); color: #22c55e; }
.cm-icon-blue  { background: rgba(59, 130, 246, 0.1); border-color: rgba(59, 130, 246, 0.2); color: #3b82f6; }

.cm-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.cm-value { font-size: 0.9rem; font-weight: 500; color: var(--text-primary); margin-top: 2px; line-height: 1.4; }

/* Mapa de ubicación en contacto */
.contact-map {
  margin-top: 24px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(30, 159, 232, 0.18);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
  filter: grayscale(25%) contrast(1.05) brightness(0.92);
  border-radius: 14px;
}

.contact-availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.avail-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* Form */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.contact-form { display: flex; flex-direction: column; gap: 18px; }

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

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

label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

input, select, textarea {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: var(--font-sans);
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

input::placeholder, textarea::placeholder { color: var(--text-muted); }

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 159, 232, 0.08);
}

select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23555' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

select option { background: var(--bg-card); color: var(--text-primary); }

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

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(30, 159, 232, 0.08);
  border: 1px solid rgba(30, 159, 232, 0.25);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: var(--accent);
}
.form-success.show { display: flex; }

/* ══════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════ */

.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.footer-logo { margin-bottom: 14px; }

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 280px;
}

.footer-social { display: flex; gap: 8px; }
.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-social-link:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-dim); }

.footer-links-group h4 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-links-group ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links-group li, .footer-links-group a {
  font-size: 0.87rem;
  color: var(--text-secondary);
  transition: var(--transition);
}
.footer-links-group a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-legal a:hover { color: var(--text-secondary); }

/* ══════════════════════════════════════════════════════
   WHATSAPP FAB
   ══════════════════════════════════════════════════════ */

.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  z-index: 999;
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

/* ══════════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ══════════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  /* Slider */
  .hero-slider { height: 88vh; min-height: 560px; }
  .slide-content { padding: 0 32px; }
  .slide-title { font-size: clamp(1.9rem, 4vw, 2.8rem); }
  .art-dashboard { width: 340px; height: 220px; right: 2%; }
  .art-code-1 { width: 240px; }
  .art-code-2 { display: none; }
  .art-phone { width: 84px; height: 164px; }
  .art-phone-center { height: 174px; }
  .hsb-stat { padding: 0 20px; }

  /* Layout */
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-card-wide { grid-column: span 2; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .team-editorial { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }

  .process-steps { flex-direction: column; align-items: center; gap: 0; }
  .process-connector {
    width: 1px; height: 40px;
    background: linear-gradient(180deg, var(--border-light), var(--accent), var(--border-light));
    margin: 0;
  }
  .process-step { text-align: center; max-width: 380px; padding: 24px; }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Slider mobile */
  .hero-slider { height: 100svh; min-height: 500px; max-height: 800px; }
  .slide-content { padding: 0 20px; padding-top: 10px; }
  .slide-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .slide-subtitle { font-size: 0.92rem; }
  .slide-actions { flex-direction: column; }
  .slide-actions .btn { width: fit-content; }
  .slider-arrow { width: 38px; height: 38px; }
  .slider-prev { left: 12px; }
  .slider-next { right: 12px; }
  .slider-dots { bottom: 88px; }
  .hero-stats-bar { padding: 14px 16px; }
  .hsb-stat { padding: 0 12px; }
  .hsb-num { font-size: 1.2rem; }
  .hsb-label { font-size: 0.65rem; }

  /* Arte decorativo oculto en mobile */
  .art-code-1, .art-code-2, .art-browser-bar { display: none; }
  .art-phones { right: 0; gap: 8px; transform: translateY(-50%) scale(0.75); transform-origin: right center; }
  .art-dashboard { right: -20px; width: 260px; height: 180px; transform: translateY(-50%) scale(0.85); transform-origin: right center; }

  /* Layout */
  .services-grid { grid-template-columns: 1fr; }
  .service-cta-card { min-height: auto; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-card-wide { grid-column: span 1; }
  .portfolio-card-wide .portfolio-visual { height: 220px; }
  .mock-dashboard { width: 240px; }
  .team-editorial { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-title { font-size: 1.75rem; }
  .contact-form-wrap { padding: 24px; }
  .team-cta { flex-direction: column; }
}

/* Small mobile */
@media (max-width: 480px) {
  .section-container { padding: 0 16px; }
  .team-editorial { grid-template-columns: 1fr; }
  .portfolio-filters { flex-wrap: wrap; }
  .art-phones { opacity: 0.3; }
  .art-dashboard { opacity: 0.3; }
}
