/* ==========================================================================
   CODIA — CREATIVE SOFTWARE STUDIO
   Dirección Visual: Fresh Tech / Modern Engineering
   Paleta Oficial:
   Cloud White #F7FAFC | Electric Blue #246BFD | Fresh Green #16C79A
   Aqua #48C9D9 | Deep Navy #172B4D | Mint Mist #E9F5F3
   ========================================================================== */

:root {
  --cloud-white: #F7FAFC;
  --pure-white: #FFFFFF;
  --electric-blue: #246BFD;
  --fresh-green: #16C79A;
  --aqua: #48C9D9;
  --deep-navy: #172B4D;
  --mint-mist: #E9F5F3;

  --text-muted: #4A5B78;
  --text-light: #7A8B9E;
  --border-subtle: rgba(23, 43, 77, 0.085);
  --border-strong: rgba(23, 43, 77, 0.14);

  --grad-tech: linear-gradient(135deg, #246BFD 0%, #48C9D9 52%, #16C79A 100%);
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-sm: 0 8px 24px -8px rgba(23, 43, 77, 0.06);
  --shadow-lg: 0 24px 56px -16px rgba(23, 43, 77, 0.11), 0 6px 18px -6px rgba(36, 107, 253, 0.06);
  --shadow-blue: 0 12px 28px -6px rgba(36, 107, 253, 0.30);

  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--cloud-white);
  color: var(--deep-navy);
}

body {
  font-family: var(--font-sans);
  background-color: var(--cloud-white);
  color: var(--deep-navy);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

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

button, input, textarea, select {
  font-family: inherit;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* Luces Ambientales Suaves */
.ambient-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
}

.glow-orb--blue {
  width: 640px;
  height: 640px;
  top: -120px;
  right: -60px;
  background: radial-gradient(circle, rgba(36, 107, 253, 0.24) 0%, transparent 70%);
}

.glow-orb--mint {
  width: 560px;
  height: 560px;
  top: 320px;
  left: -100px;
  background: radial-gradient(circle, rgba(22, 199, 154, 0.22) 0%, transparent 70%);
}

.glow-orb--aqua {
  width: 520px;
  height: 520px;
  bottom: 12%;
  right: 12%;
  background: radial-gradient(circle, rgba(72, 201, 217, 0.20) 0%, transparent 70%);
}

.text-gradient {
  background: var(--grad-tech);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gradient-alt {
  background: linear-gradient(135deg, #16C79A 0%, #48C9D9 50%, #246BFD 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-blue { color: var(--electric-blue) !important; }
.text-green { color: #0D9A76 !important; }
.text-white { color: var(--pure-white) !important; }
.text-white-muted { color: rgba(255, 255, 255, 0.76) !important; }

/* Pills reutilizables */
.ui-pill-green {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: var(--mint-mist);
  color: #0D9A76;
}

.ui-pill-blue {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgba(36, 107, 253, 0.1);
  color: var(--electric-blue);
}

/* ==========================================================================
   PUNTERO INTERACTIVO (CUSTOM CURSOR LERP)
   ========================================================================== */
.custom-cursor-dot,
.custom-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  will-change: transform;
}

.custom-cursor-dot {
  width: 8px;
  height: 8px;
  margin-top: -4px;
  margin-left: -4px;
  background: var(--electric-blue);
  box-shadow: 0 0 10px rgba(36, 107, 253, 0.8), 0 0 4px #16C79A;
  transition: opacity 0.3s ease, background-color 0.2s ease, transform 0.05s linear;
}

.custom-cursor-ring {
  width: 36px;
  height: 36px;
  margin-top: -18px;
  margin-left: -18px;
  border: 1.5px solid rgba(36, 107, 253, 0.45);
  background: rgba(72, 201, 217, 0.06);
  transition: opacity 0.3s ease, border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

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

.custom-cursor-ring.is-hovered {
  border-color: #16C79A;
  background: rgba(22, 199, 154, 0.14);
  box-shadow: 0 0 18px rgba(22, 199, 154, 0.3);
}

.custom-cursor-dot.is-hovered {
  background: #16C79A;
  box-shadow: 0 0 12px #16C79A;
}

.custom-cursor-ring.is-clicking {
  border-color: var(--electric-blue);
  background: rgba(36, 107, 253, 0.25);
}

@media (pointer: coarse) {
  .custom-cursor-dot,
  .custom-cursor-ring {
    display: none !important;
  }
}

/* ==========================================================================
   ANIMACIONES AL BAJAR (SCROLL REVEAL)
   ========================================================================== */
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Barra de Progreso de Scroll en Header */
.header-scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, #246BFD 0%, #48C9D9 50%, #16C79A 100%);
  box-shadow: 0 0 8px rgba(72, 201, 217, 0.6);
  z-index: 100;
  transition: width 0.08s linear;
}

/* ==========================================================================
   HEADER PRINCIPAL
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 250, 252, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--pure-white);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(23, 43, 77, 0.04);
}

.brand-names {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--deep-navy);
}

.brand-descriptor {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--text-light);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-item {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--deep-navy);
  transition: color 0.2s ease;
}

.nav-item:hover {
  color: var(--electric-blue);
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-primary-tech {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, #246BFD 0%, #1752D8 100%);
  color: var(--pure-white);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.72rem 1.35rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 24px -4px rgba(36, 107, 253, 0.45);
  transition: all 0.25s var(--ease-smooth);
}

.btn-primary-tech:hover {
  background: linear-gradient(135deg, #1E5BE4 0%, #1342B4 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(36, 107, 253, 0.55);
}

.btn-secondary-tech {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--pure-white);
  color: var(--deep-navy);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.72rem 1.35rem;
  border-radius: 10px;
  border: 1.5px solid rgba(36, 107, 253, 0.22);
  box-shadow: 0 4px 14px rgba(23, 43, 77, 0.05);
  transition: all 0.25s var(--ease-smooth);
}

.btn-secondary-tech:hover {
  border-color: var(--electric-blue);
  color: var(--electric-blue);
  background: rgba(36, 107, 253, 0.04);
}

.btn-lg {
  padding: 0.88rem 1.55rem;
  font-size: 0.94rem;
}

.btn-full {
  width: 100%;
}

.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--pure-white);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 18px;
  height: 1.8px;
  background: var(--deep-navy);
}

.mobile-drawer {
  background: var(--pure-white);
  border-bottom: 1px solid var(--border-strong);
  padding: 1.25rem 0;
}

.mobile-drawer[hidden] {
  display: none !important;
}

.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mobile-drawer-inner a {
  font-weight: 600;
  padding: 0.45rem 0;
}

/* ==========================================================================
   HERO 2 COLUMNAS (BALANCEADO Y 100% VISIBLE EN PRIMERA PANTALLA)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 3.5rem 0 4.8rem;
  background:
    radial-gradient(ellipse 60% 50% at 15% 20%, rgba(36, 107, 253, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 88% 25%, rgba(22, 199, 154, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 65% 55% at 50% 90%, rgba(72, 201, 217, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F3F8FC 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(36, 107, 253, 0.10) 0%, rgba(22, 199, 154, 0.14) 100%);
  border: 1px solid rgba(22, 199, 154, 0.4);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 14px -3px rgba(22, 199, 154, 0.2);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fresh-green);
  box-shadow: 0 0 0 3px rgba(22, 199, 154, 0.22);
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2.15rem, 3.45vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--deep-navy);
  margin-bottom: 1.15rem;
}

.hero-subtitle {
  font-size: 1.04rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 1.85rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border-subtle);
}

.trust-avatars {
  display: flex;
  align-items: center;
}

.av-photo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--cloud-white);
  object-fit: cover;
  margin-left: -10px;
  box-shadow: 0 2px 8px rgba(23, 43, 77, 0.14);
  transition: transform 0.2s ease, z-index 0.2s ease;
}

.av-photo:hover {
  transform: translateY(-2px) scale(1.1);
  z-index: 5;
}

.av-photo:first-child {
  margin-left: 0;
}

.av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--cloud-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--pure-white);
  margin-left: -8px;
}

.av:first-child { margin-left: 0; }
.av--1 { background: var(--deep-navy); }
.av--2 { background: var(--electric-blue); }
.av--3 { background: var(--fresh-green); color: var(--deep-navy); }
.av--4 { background: var(--aqua); color: var(--deep-navy); }

.trust-text strong {
  display: block;
  font-size: 0.86rem;
  color: var(--deep-navy);
}

.trust-text span {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Escenario Visual Derecho del Hero (Deep Navy + Aurora Cyber 3D) */
.hero-stage-card {
  position: relative;
  height: 485px;
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(36, 107, 253, 0.35) 0%, transparent 60%),
    radial-gradient(circle at 85% 80%, rgba(22, 199, 154, 0.3) 0%, transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(72, 201, 217, 0.25) 0%, transparent 50%),
    linear-gradient(145deg, #0F1E36 0%, #172B4D 55%, #0B1728 100%);
  border: 1px solid rgba(72, 201, 217, 0.35);
  box-shadow:
    0 24px 60px -12px rgba(23, 43, 77, 0.42),
    0 12px 32px -6px rgba(36, 107, 253, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

#hero3dCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.floating-ui {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow:
    0 20px 42px -8px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(72, 201, 217, 0.25);
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

.floating-ui:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 48px -8px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(72, 201, 217, 0.45);
}

/* Tarjeta Flotante: Emprendedor / Caso de Éxito en Vivo */
.ui-founder-card {
  top: 18px;
  right: 18px;
  max-width: 280px;
  padding: 0.75rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 5;
}

.founder-thumb-box {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.founder-thumb-box img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--electric-blue);
  display: block;
}

.online-status-pulse {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--fresh-green);
  border: 2px solid var(--pure-white);
  box-shadow: 0 0 0 2px rgba(22, 199, 154, 0.4);
}

.founder-card-text {
  flex: 1;
  min-width: 0;
}

.founder-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  color: #0D9A76;
  background: var(--mint-mist);
  padding: 1px 6px;
  border-radius: 4px;
  margin-bottom: 2px;
}

.founder-card-text strong {
  display: block;
  font-size: 0.74rem;
  line-height: 1.25;
  color: var(--deep-navy);
}

.founder-card-text small {
  display: block;
  font-size: 0.63rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Ventana Flotante 1: Web Preview */
.ui-web-preview {
  top: 18px;
  left: 18px;
  width: 265px;
  overflow: hidden;
}

.ui-window-header {
  padding: 0.5rem 0.75rem;
  background: var(--cloud-white);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 600;
}

.ui-dots {
  display: flex;
  gap: 4px;
}

.ui-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.ui-dots i:nth-child(1) { background: var(--electric-blue); }
.ui-dots i:nth-child(2) { background: var(--aqua); }
.ui-dots i:nth-child(3) { background: var(--fresh-green); }

.ui-web-body {
  padding: 0.75rem;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 0.7rem;
  align-items: center;
}

.ui-web-photo {
  height: 68px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(23, 43, 77, 0.15), rgba(36, 107, 253, 0.25)),
    url('../assets/images/mex-mujer-laptop.jpg') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 4px;
}

.photo-overlay-tag {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  background: rgba(23, 43, 77, 0.85);
  color: var(--pure-white);
  padding: 2px 5px;
  border-radius: 4px;
}

.ui-web-info strong {
  display: block;
  font-size: 0.8rem;
  line-height: 1.25;
}

.ui-web-info small {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin: 2px 0 6px;
}

.ui-mini-tags {
  display: flex;
  gap: 4px;
}

.ui-mini-tags span {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--mint-mist);
  color: var(--deep-navy);
}

/* Ventana Flotante 2: Sistema & Ventas en Vivo */
.ui-system-preview {
  bottom: 18px;
  right: 18px;
  width: 245px;
  padding: 0.85rem 1rem;
}

.ui-sys-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.ui-sys-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--text-muted);
}

.ui-sys-amount {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--deep-navy);
}

.ui-sim-btn {
  background: var(--electric-blue);
  color: var(--pure-white);
  border: none;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.ui-sim-btn:hover {
  background: var(--fresh-green);
  color: var(--deep-navy);
}

.ui-sparkline-box svg {
  width: 100%;
  height: 36px;
  display: block;
  margin: 0.35rem 0;
}

.ui-sys-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Ventana Flotante 3: Burbuja IA */
.ui-ai-pill {
  bottom: 20px;
  left: 18px;
  max-width: 255px;
  padding: 0.65rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.ai-avatar-glow {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad-tech);
  color: var(--pure-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.76rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ui-ai-pill strong {
  display: block;
  font-size: 0.74rem;
}

.ui-ai-pill span {
  display: block;
  font-size: 0.68rem;
  color: #0D9A76;
  line-height: 1.3;
}

/* ==========================================================================
   ESTRUCTURA GENERAL DE SECCIONES
   ========================================================================== */
.section-block {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-block--mint {
  background: linear-gradient(180deg, var(--cloud-white) 0%, var(--mint-mist) 50%, var(--cloud-white) 100%);
}

.section-block--navy {
  background: var(--deep-navy);
  color: var(--pure-white);
}

.section-header-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3rem;
}

.eyebrow-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: var(--electric-blue);
  display: block;
  margin-bottom: 0.45rem;
}

.eyebrow-tag--aqua {
  color: var(--aqua);
}

.section-heading {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 2.8vw, 2.45rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--deep-navy);
  max-width: 640px;
}

.section-lead-text {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 420px;
}

/* ==========================================================================
   SECCIÓN 01: BENTO GRID DE SERVICIOS CON MOCKUPS REALISTAS
   ========================================================================== */
.services-bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.s-card {
  background: var(--pure-white);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s ease;
}

.s-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.s-card--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 2.25rem;
  align-items: center;
}

.s-num-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--electric-blue);
  background: rgba(36, 107, 253, 0.08);
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 0.85rem;
}

.s-card-copy h3 {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.s-card-copy p {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 1.15rem;
}

.s-feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.s-feature-chips span {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
  background: var(--cloud-white);
  border: 1px solid var(--border-subtle);
}

/* Mockup Navegador Web en Servicio 01 */
.visual-browser-mockup {
  background: var(--cloud-white);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.vbm-bar {
  padding: 0.65rem 1rem;
  background: var(--pure-white);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vbm-domain {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.vbm-mode-switch {
  background: var(--deep-navy);
  color: var(--pure-white);
  border: none;
  padding: 0.28rem 0.7rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.vbm-mode-switch:hover {
  background: var(--electric-blue);
}

.vbm-screen {
  padding: 1.1rem;
}

.vbm-screen[hidden] {
  display: none !important;
}

.vbm-hero-banner {
  background: var(--deep-navy);
  color: var(--pure-white);
  border-radius: 12px;
  padding: 1.15rem;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.vbm-kicker {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--fresh-green);
  display: block;
  margin-bottom: 0.25rem;
}

.vbm-hero-text h4 {
  font-size: 0.98rem;
  line-height: 1.28;
  margin-bottom: 0.65rem;
}

.vbm-cta-mini {
  display: inline-block;
  background: var(--electric-blue);
  color: var(--pure-white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
}

.vbm-hero-image {
  height: 92px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(23, 43, 77, 0.25), rgba(36, 107, 253, 0.3)),
    url('../assets/images/mex-hombre-laptop.jpg') center/cover no-repeat;
}

.vbm-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.vbm-mini-prod {
  background: var(--pure-white);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.vbm-thumb {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  flex-shrink: 0;
}

.vbm-thumb--1 {
  background:
    linear-gradient(135deg, rgba(36, 107, 253, 0.15), rgba(72, 201, 217, 0.2)),
    url('../assets/images/mex-mujer-laptop.jpg') center/cover no-repeat;
}

.vbm-thumb--2 {
  background:
    linear-gradient(135deg, rgba(22, 199, 154, 0.15), rgba(36, 107, 253, 0.2)),
    url('../assets/images/mex-equipo-laptop.jpg') center/cover no-repeat;
}

.vbm-lines strong {
  display: block;
  font-size: 0.76rem;
}

.vbm-lines span {
  font-size: 0.68rem;
  color: #0D9A76;
  font-weight: 600;
}

/* Vista CMS Admin */
.cms-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  font-size: 0.85rem;
}

.cms-control-item {
  background: var(--pure-white);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  margin-bottom: 0.55rem;
  display: flex;
  flex-direction: column;
}

.cms-control-item span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.cms-control-item strong {
  font-size: 0.82rem;
}

/* Mockup Servicio 02: ERP Widget */
.visual-erp-widget {
  background: var(--cloud-white);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.25rem;
}

.vew-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.vew-bars-chart {
  height: 110px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  align-items: end;
  padding: 0 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.vew-bar-col {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 0.35rem;
}

.vew-bar {
  width: 100%;
  max-width: 38px;
  border-radius: 6px 6px 2px 2px;
  background: rgba(36, 107, 253, 0.25);
}

.vew-bar--active {
  background: var(--grad-tech);
}

.vew-bar-col small {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.vew-bottom-pills {
  display: flex;
  justify-content: space-between;
  padding-top: 0.75rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--deep-navy);
}

/* Mockup Servicio 03: App Móvil */
.visual-mobile-duo {
  background: linear-gradient(135deg, var(--mint-mist) 0%, var(--cloud-white) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.vmd-phone {
  background: var(--deep-navy);
  color: var(--pure-white);
  border-radius: 14px;
  padding: 1rem;
  flex: 1;
}

.vmd-phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--aqua);
  margin-bottom: 0.5rem;
}

.vmd-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fresh-green);
}

.vmd-balance small {
  display: block;
  font-size: 0.66rem;
  opacity: 0.75;
}

.vmd-balance strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.vmd-list {
  margin-top: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.vmd-row {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
}

.vmd-floating-qr {
  background: var(--pure-white);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.85rem;
  text-align: center;
  width: 115px;
}

.mini-qr-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.45rem;
  border-radius: 8px;
  background:
    repeating-linear-gradient(45deg, var(--deep-navy) 0, var(--deep-navy) 6px, var(--pure-white) 6px, var(--pure-white) 12px);
  border: 2px solid var(--electric-blue);
}

.vmd-floating-qr span {
  font-size: 0.68rem;
  font-weight: 700;
  display: block;
}

/* Mockup Servicio 04: Simulador WhatsApp IA */
.ai-chat-simulator {
  background: var(--cloud-white);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  overflow: hidden;
}

.acs-header {
  background: var(--pure-white);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.acs-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.acs-badge {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--grad-tech);
  color: var(--pure-white);
  font-weight: 800;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.acs-brand strong {
  display: block;
  font-size: 0.84rem;
}

.acs-brand small {
  font-size: 0.7rem;
  color: #0D9A76;
  font-weight: 600;
}

.acs-messages {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: 155px;
  overflow-y: auto;
}

.acs-msg {
  font-size: 0.8rem;
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  max-width: 88%;
}

.acs-msg--user {
  background: var(--pure-white);
  border: 1px solid var(--border-subtle);
  align-self: flex-end;
}

.acs-msg--bot {
  background: var(--mint-mist);
  border-left: 3px solid var(--fresh-green);
  align-self: flex-start;
}

.acs-prompts {
  padding: 0.65rem 1rem;
  background: var(--pure-white);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.acs-prompt-btn {
  background: var(--cloud-white);
  border: 1px solid var(--electric-blue);
  color: var(--electric-blue);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.acs-prompt-btn:hover {
  background: var(--electric-blue);
  color: var(--pure-white);
}

/* ==========================================================================
   SECCIÓN 02: PORTAFOLIO DE CLIENTES Y PROYECTOS REALES
   ========================================================================== */
.portfolio-showcase-list {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.portfolio-item {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 3rem;
  align-items: center;
  background: var(--pure-white);
  border: 1px solid var(--border-strong);
  border-radius: 26px;
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.portfolio-item--reverse {
  grid-template-columns: 0.88fr 1.12fr;
}

.portfolio-item--reverse .portfolio-visual-col {
  order: 2;
}

.portfolio-item--reverse .portfolio-info-col {
  order: 1;
}

.p-frame {
  border-radius: 18px;
  padding: 1.35rem;
}

.p-frame--clarity {
  background: linear-gradient(135deg, #172B4D 0%, #243F6B 100%);
}

.p-frame--aprezzia {
  background: linear-gradient(135deg, #E9F5F3 0%, #D3EFE9 100%);
}

.p-frame--malu {
  background: linear-gradient(135deg, #EEF5FF 0%, #E9F5F3 100%);
}

.p-browser-window {
  background: var(--pure-white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

.clarity-visual-body {
  padding: 1.1rem;
}

.cv-hero-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  align-items: center;
  background: #0F172A;
  color: var(--pure-white);
  border-radius: 12px;
  padding: 1.15rem;
  margin-bottom: 0.85rem;
}

.cv-badge {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--fresh-green);
  letter-spacing: 0.08em;
}

.cv-copy h4 {
  font-size: 1.1rem;
  margin: 0.2rem 0 0.35rem;
}

.cv-copy p {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0.7rem;
}

.cv-btns {
  display: flex;
  gap: 0.45rem;
}

.cv-btn-dark {
  background: var(--electric-blue);
  color: var(--pure-white);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
}

.cv-btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.68rem;
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
}

.cv-photo-card {
  height: 115px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(23, 43, 77, 0.15), rgba(36, 107, 253, 0.25)),
    url('../assets/images/mex-mujer-laptop.jpg') center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 6px;
}

.cv-photo-badge {
  background: rgba(23, 43, 77, 0.85);
  color: var(--pure-white);
  font-size: 0.6rem;
  padding: 2px 7px;
  border-radius: 4px;
}

.cv-bottom-widgets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.cv-mini-box {
  background: var(--cloud-white);
  border: 1px solid var(--border-subtle);
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
}

.cv-mini-box small {
  display: block;
  font-size: 0.66rem;
  color: var(--text-muted);
}

.cv-mini-box strong {
  font-size: 0.76rem;
  color: var(--deep-navy);
}

/* Visual Aprezzia */
.aprezzia-visual-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1rem;
}

.ap-card-main {
  background: var(--pure-white);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.ap-kicker {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--electric-blue);
}

.ap-card-main h4,
.menuka-side-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0.3rem 0 0.45rem;
}

.ap-card-main p,
.menuka-side-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.ap-guest-pass {
  background: var(--cloud-white);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ap-guest-pass small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-muted);
}

.ap-guest-pass strong {
  font-size: 0.8rem;
}

.ap-card-side {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.ap-qr-box {
  background: var(--deep-navy);
  color: var(--pure-white);
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
}

.qr-matrix {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.5rem;
  background: var(--pure-white);
  padding: 6px;
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

.qr-matrix span {
  background: var(--deep-navy);
}

.qr-matrix span:nth-child(3n) {
  background: var(--electric-blue);
}

.ap-qr-box strong {
  display: block;
  font-size: 0.8rem;
}

.ap-qr-box small {
  font-size: 0.66rem;
  color: var(--aqua);
}

.ap-stats-mini {
  background: var(--pure-white);
  border-radius: 12px;
  padding: 0.75rem;
  text-align: center;
}

.ap-stats-mini strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #0D9A76;
}

.ap-stats-mini span {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* Visual Malu & Menuka */
.malu-visual-stage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.malu-phone-card {
  background: var(--pure-white);
  border-radius: 14px;
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
}

.mp-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.mp-pot-box {
  background: var(--deep-navy);
  color: var(--pure-white);
  border-radius: 12px;
  padding: 0.9rem;
  margin-bottom: 0.75rem;
}

.mp-pot-box small {
  display: block;
  font-size: 0.66rem;
  color: var(--aqua);
}

.mp-pot-box strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.mp-split-bar {
  margin-top: 0.55rem;
  display: flex;
  border-radius: 6px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
}

.mp-split-bar span:first-child {
  background: var(--electric-blue);
  padding: 3px 6px;
}

.mp-split-bar span:last-child {
  background: var(--fresh-green);
  color: var(--deep-navy);
  padding: 3px 6px;
}

.mp-compartments {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.mp-comp-item {
  background: var(--cloud-white);
  border: 1px solid var(--border-subtle);
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
}

.mp-comp-item span {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.mp-comp-item strong {
  font-size: 0.82rem;
}

.menuka-side-card {
  background: var(--pure-white);
  border-radius: 14px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mk-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.mk-badges span {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  background: var(--mint-mist);
  color: var(--deep-navy);
}

/* Info del Proyecto en Portafolio */
.p-client-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.88rem;
}

.p-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.p-dot--blue { background: var(--electric-blue); }
.p-dot--green { background: var(--fresh-green); }
.p-dot--aqua { background: var(--aqua); }

.portfolio-info-col h3 {
  font-size: 1.48rem;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}

.portfolio-info-col p {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.p-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.p-result-box {
  background: var(--cloud-white);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.p-result-box strong {
  display: block;
  font-size: 0.84rem;
  margin-bottom: 0.2rem;
}

.p-result-box span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Banners con Fotos Reales en Portafolio */
.ap-photo-banner,
.mk-photo-banner {
  position: relative;
  height: 110px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.ap-photo-banner img,
.mk-photo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ap-photo-tag {
  position: absolute;
  bottom: 6px;
  left: 6px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  background: rgba(23, 43, 77, 0.85);
  backdrop-filter: blur(4px);
  color: var(--pure-white);
  padding: 2px 7px;
  border-radius: 4px;
}

/* Burbujas de Testimonio en Portafolio */
.p-quote-bubble {
  margin-top: 1.25rem;
  padding: 0.95rem 1.15rem;
  border-radius: 12px;
  background: var(--pure-white);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--electric-blue);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.p-quote-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--mint-mist);
}

.p-quote-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p-quote-text em {
  display: block;
  font-style: italic;
  font-size: 0.82rem;
  color: var(--deep-navy);
  line-height: 1.45;
  margin-bottom: 0.35rem;
}

.p-quote-text strong {
  display: block;
  font-size: 0.72rem;
  color: var(--electric-blue);
  font-family: var(--font-mono);
}

/* ==========================================================================
   SECCIÓN 03: COMPARATIVA CREATIVIDAD VS PLANTILLAS
   ========================================================================== */
.craft-comparison-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.75rem;
}

.craft-box {
  border-radius: 22px;
  padding: 2.25rem;
}

.craft-box--muted {
  background: var(--pure-white);
  border: 1px solid var(--border-strong);
}

.craft-box--codia {
  background: linear-gradient(145deg, #FFFFFF 0%, #E9F5F3 100%);
  border: 2px solid var(--electric-blue);
  box-shadow: var(--shadow-lg);
}

.craft-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.45rem;
}

.craft-box--codia .craft-label {
  color: var(--electric-blue);
}

.craft-box h4 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.craft-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.craft-list li {
  font-size: 0.92rem;
  padding-left: 1.65rem;
  position: relative;
}

.craft-list--no li {
  color: var(--text-muted);
}

.craft-list--no li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #94A3B8;
  font-weight: 700;
}

.craft-list--yes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #0D9A76;
  font-weight: 800;
}

/* Banner del Equipo Creativo & Humano en México */
.team-showcase-card {
  margin-top: 3.5rem;
  background: var(--pure-white);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 2.25rem;
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.team-photo-side {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 11;
}

.team-main-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.team-photo-side:hover .team-main-photo {
  transform: scale(1.03);
}

.team-photo-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(23, 43, 77, 0.9);
  backdrop-filter: blur(8px);
  color: var(--pure-white);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
}

.team-copy-side h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0.5rem 0 1rem;
}

.team-copy-side p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.team-perks-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.tp-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.tp-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mint-mist);
  color: #0D9A76;
  font-weight: 700;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.tp-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--deep-navy);
}

.tp-item small {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Cuadrícula de Testimonios Reales */
.testimonials-block {
  margin-top: 4.5rem;
}

.text-center-row {
  text-align: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.section-heading-sm {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--deep-navy);
  margin-top: 0.4rem;
}

.testimonials-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testi-card {
  background: var(--pure-white);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-smooth), box-shadow 0.25s var(--ease-smooth);
}

.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(36, 107, 253, 0.25);
}

.testi-stars {
  color: #FFB800;
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.testi-quote {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--deep-navy);
  margin-bottom: 1.35rem;
  flex-grow: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--electric-blue);
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-size: 0.84rem;
  color: var(--deep-navy);
}

.testi-author span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECCIÓN 04: SOLUCIONES POR GIRO DE NEGOCIO
   ========================================================================== */
.industries-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.ind-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 1.75rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.ind-card:hover {
  transform: translateY(-4px);
  border-color: var(--aqua);
}

.ind-icon {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--fresh-green);
  background: rgba(22, 199, 154, 0.14);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.ind-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.ind-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.1rem;
}

.ind-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ind-card li {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.92);
  padding-left: 1rem;
  position: relative;
}

.ind-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--aqua);
}

/* ==========================================================================
   SECCIÓN 05: PROCESO EN 4 PASOS + FAQ
   ========================================================================== */
.steps-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 4.5rem;
}

.step-box {
  background: var(--pure-white);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 1.75rem;
}

.step-box--green {
  background: var(--mint-mist);
  border-color: rgba(22, 199, 154, 0.35);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--electric-blue);
  display: block;
  margin-bottom: 0.6rem;
}

.step-box h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
}

.step-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.faq-wrapper {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--border-strong);
}

.faq-intro-col h3 {
  font-size: 1.65rem;
  font-weight: 800;
  margin: 0.35rem 0 0.65rem;
}

.faq-intro-col p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--pure-white);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  overflow: hidden;
}

.faq-item.active {
  border-color: var(--electric-blue);
}

.faq-question {
  width: 100%;
  padding: 1.15rem 1.35rem;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.faq-icon {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--electric-blue);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.35rem 1.2rem;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECCIÓN 06: CONTACTO DIRECTO (DEEP NAVY / HIGH CONTRAST)
   ========================================================================== */
.section-contact-navy {
  position: relative;
  padding: 5.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-card-wrapper {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-side h2 {
  font-size: clamp(1.85rem, 2.8vw, 2.5rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin: 0.4rem 0 1rem;
}

.contact-info-side p {
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 1.85rem;
}

/* Tarjeta Destacada de WhatsApp Directo */
.direct-wa-card {
  background: rgba(22, 199, 154, 0.08);
  border: 1px solid rgba(22, 199, 154, 0.3);
  border-radius: 18px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.dw-badge-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: #16C79A;
  margin-bottom: 0.75rem;
}

.dw-content strong {
  display: block;
  font-size: 1.08rem;
  color: var(--pure-white);
  margin-bottom: 0.35rem;
}

.dw-content p {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.15rem;
}

.btn-whatsapp-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: #16C79A;
  color: #0B241D;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.8rem 1.4rem;
  border-radius: 10px;
  box-shadow: 0 8px 24px -4px rgba(22, 199, 154, 0.45);
  transition: all 0.25s var(--ease-smooth);
}

.btn-whatsapp-glow:hover {
  background: #1CE0AD;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(22, 199, 154, 0.6);
}

.contact-highlights-dark {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.ch-dark-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.ch-dark-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(72, 201, 217, 0.15);
  border: 1px solid rgba(72, 201, 217, 0.3);
  color: var(--aqua);
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ch-dark-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--pure-white);
}

.ch-dark-item small {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.contact-email-dark {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

.contact-email-dark a {
  font-weight: 700;
  color: var(--aqua);
  font-family: var(--font-mono);
}

/* Caja de Formulario en Cristal Oscuro (Glassmorphism Dark) */
.contact-glass-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 2.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 56px -16px rgba(0, 0, 0, 0.35);
}

.cgb-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cgb-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--pure-white);
  margin-bottom: 0.25rem;
}

.cgb-header p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group-dark {
  margin-bottom: 1.15rem;
}

.form-group-dark label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.45rem;
}

.form-input-dark {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: var(--pure-white);
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.form-input-dark::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-input-dark:focus {
  outline: none;
  border-color: var(--aqua);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(72, 201, 217, 0.2);
}

.btn-glow-blue {
  box-shadow: 0 10px 28px rgba(36, 107, 253, 0.45);
}

.btn-glow-blue:hover {
  box-shadow: 0 14px 32px rgba(36, 107, 253, 0.6);
}

.form-Confirmation--dark {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(22, 199, 154, 0.15);
  border: 1px solid #16C79A;
  color: #1CE0AD;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--pure-white);
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 340px;
  margin-top: 0.8rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col strong {
  font-size: 0.84rem;
  margin-bottom: 0.25rem;
}

.footer-col a {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-col a:hover {
  color: var(--electric-blue);
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid,
  .s-card--wide,
  .portfolio-item,
  .portfolio-item--reverse,
  .craft-comparison-grid,
  .team-showcase-card,
  .faq-wrapper,
  .contact-card-wrapper {
    grid-template-columns: 1fr;
  }

  .testimonials-cards-grid {
    grid-template-columns: 1fr;
  }

  .s-card--wide {
    grid-column: span 1;
  }

  .services-bento-grid,
  .industries-cards-grid,
  .steps-timeline-grid {
    grid-template-columns: 1fr 1fr;
  }

  .portfolio-item--reverse .portfolio-visual-col {
    order: 1;
  }

  .portfolio-item--reverse .portfolio-info-col {
    order: 2;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .main-nav {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .services-bento-grid,
  .industries-cards-grid,
  .steps-timeline-grid,
  .form-row-2,
  .p-results-grid,
  .cv-hero-split,
  .aprezzia-visual-grid,
  .malu-visual-stage,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .ui-founder-card {
    display: none;
  }

  .ui-web-preview {
    width: 230px;
  }
}
