/* ===================================================
   CREART STUDIO — DESIGN SYSTEM (EDICIÓN CREOVIBE ULTRADINÁMICA)
   PALETA: NEGRO CARBÓN + NARANJA VOLCÁNICO VIBRANTE + AMBIENT GLOW
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@600;700;800;900&family=Outfit:wght@600;700;800;900&family=Space+Grotesk:wght@600;700&display=swap');

:root {
  /* Fondo y Superficies */
  --bg-deep: #070709;
  --bg-surface: #101116;
  --bg-card: rgba(18, 19, 26, 0.75);
  --bg-card-hover: rgba(26, 28, 38, 0.95);
  
  /* Textos */
  --text-main: #FFFFFF;
  --text-muted: #9E9EA8;
  --text-dim: #5C5D68;
  
  /* Acentos Principales: Naranja Eléctrico / Creovibe Volcánico */
  --accent-orange: #FF4D12;
  --accent-orange-bright: #FF662A;
  --accent-orange-glow: rgba(255, 77, 18, 0.65);
  --accent-amber: #FFB300;
  --accent-cyan: #00F0FF;
  
  /* Gradientes de Alto Voltaje y Neón Ambiental */
  --grad-orange: linear-gradient(135deg, #FF4D12 0%, #FF9900 100%);
  --grad-orange-dark: linear-gradient(135deg, rgba(255, 77, 18, 0.25) 0%, rgba(255, 153, 0, 0.08) 100%);
  --grad-mesh: radial-gradient(at 15% 15%, rgba(255, 77, 18, 0.35) 0px, transparent 55%),
              radial-gradient(at 85% 20%, rgba(255, 120, 0, 0.25) 0px, transparent 50%),
              radial-gradient(at 50% 85%, rgba(255, 77, 18, 0.3) 0px, transparent 60%);

  /* Bordes & Glassmorphism con Luz Neón */
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-highlight: rgba(255, 77, 18, 0.7);
  --glass-blur: blur(20px);
  --shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  --shadow-orange: 0 10px 40px -5px var(--accent-orange-glow);
  --neon-border: 0 0 15px rgba(255, 77, 18, 0.4), inset 0 0 10px rgba(255, 77, 18, 0.15);

  /* Tipografías de Estudio Internacional */
  --font-display: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  /* Transiciones */
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset y Regla Global de Enlaces */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none !important;
}

html, body {
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
}

body {
  overflow-x: hidden;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.6;
  background-image: var(--grad-mesh);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

img, video, canvas, svg {
  max-width: 100%;
  height: auto;
}

/* Magic Cursor Personalizado */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-orange);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s, transform 0.05s ease-out;
  mix-blend-mode: difference;
  opacity: 0.8;
}

.custom-cursor.hover {
  width: 60px;
  height: 60px;
  background: #FFFFFF;
  opacity: 1;
}

@media (pointer: coarse) {
  .custom-cursor { display: none; }
}

/* Contenedor */
.container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Tipografía Masiva */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

/* ==========================================================================
   EFECTO TUBO DE NEÓN: EMPIEZA EN UNA ESQUINA, COMPLETA EL CONTORNO Y SALTA
   ========================================================================== */
.text-gradient-orange {
  display: inline;
  position: relative;
  vertical-align: baseline;
}

/* Envoltorio de palabra completa para impedir saltos de línea a mitad de una palabra */
.neon-beam-word {
  display: inline-block;
  white-space: nowrap;
}

/* Letra base con brillo sutil y natural */
.neon-beam-char {
  display: inline-block;
  position: relative;
  color: var(--accent-orange);
  -webkit-text-fill-color: var(--accent-orange);
  padding: 0 0.5px;
  line-height: inherit;
  vertical-align: baseline;
  transition: all 0.2s ease;
}

/* El trazo de luz fino y sutil que nace en la esquina, recorre y completa el contorno de la letra */
.neon-beam-char::before {
  content: attr(data-char);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 0 1px;
  pointer-events: none;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.9);
  
  /* Máscara de barrido angular que nace en la esquina y barre suavemente */
  mask-image: conic-gradient(from -45deg at 50% 50%, #000 0deg, #000 var(--beam-angle, 0deg), transparent var(--beam-angle, 0deg));
  -webkit-mask-image: conic-gradient(from -45deg at 50% 50%, #000 0deg, #000 var(--beam-angle, 0deg), transparent var(--beam-angle, 0deg));
  
  /* Resplandor sutil y sofisticado, sin quemar el texto */
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.8))
          drop-shadow(0 0 6px rgba(255, 120, 30, 0.65));
          
  opacity: 0;
  animation: neonDrawFromCorner 4.2s infinite cubic-bezier(0.25, 1, 0.5, 1);
  animation-delay: calc(var(--char-index, 0) * 0.38s);
}

/* Animación: trazo fino y elegante que nace en una esquina, dibuja el contorno con sutileza y salta a la siguiente letra */
@keyframes neonDrawFromCorner {
  0% {
    --beam-angle: 0deg;
    opacity: 0;
    -webkit-mask-image: conic-gradient(from -45deg at 50% 50%, #000 0deg, transparent 0deg);
  }
  1.5% {
    /* Nace en la esquina discretamente */
    opacity: 0.6;
    --beam-angle: 35deg;
    -webkit-mask-image: conic-gradient(from -45deg at 50% 50%, #000 0deg, #000 35deg, transparent 35deg);
  }
  5% {
    /* Recorre el contorno con un trazo fino */
    opacity: 0.95;
    --beam-angle: 180deg;
    -webkit-mask-image: conic-gradient(from -45deg at 50% 50%, #000 0deg, #000 180deg, transparent 180deg);
  }
  9% {
    /* Termina de delinear la letra completamente */
    opacity: 0.95;
    --beam-angle: 360deg;
    -webkit-mask-image: conic-gradient(from -45deg at 50% 50%, #000 0deg, #000 360deg, transparent 360deg);
  }
  13% {
    /* Breve pulso suave antes del salto */
    opacity: 0.85;
    --beam-angle: 360deg;
    -webkit-mask-image: conic-gradient(from -45deg at 50% 50%, #000 0deg, #000 360deg, transparent 360deg);
  }
  16% {
    /* Se desvanece de forma limpia para ceder el turno a la siguiente */
    opacity: 0;
  }
  100% {
    opacity: 0;
    --beam-angle: 0deg;
  }
}

/* Estilos para imágenes embebidas dentro de noticias del blog */
.article-body-img-wrap {
  margin: 2.5rem 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #0E1017;
  text-align: center;
}

.article-body-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.article-body-caption {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid var(--border-subtle);
}

/* Botones con Flecha a 45º Estilo Creovibe */
.theme-btn-orange {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 2.2rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  background: var(--accent-orange);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-orange);
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.theme-btn-orange::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: 0.5s;
}

.theme-btn-orange:hover::before {
  left: 100%;
}

.theme-btn-orange:hover {
  transform: translateY(-3px) scale(1.02);
  background: var(--accent-orange-bright);
  box-shadow: 0 15px 45px -5px var(--accent-orange-glow);
}

.theme-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 2.2rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  backdrop-filter: var(--glass-blur);
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
}

.theme-btn-outline:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  background: rgba(255, 77, 18, 0.08);
  transform: translateY(-3px);
}

/* Header Sticky */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.35s ease;
}

.site-header.scrolled {
  padding: 0.85rem 0;
  background: rgba(7, 7, 9, 0.85);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
}

/* LOGO MÁS GRANDE Y PROTAGONISTA EN HEADER */
.site-logo-img {
  height: 86px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  transition: transform 0.3s var(--ease-smooth);
  display: block;
}

.brand-logo:hover .site-logo-img {
  transform: scale(1.04);
}

/* LOGO PROTAGONISTA EN FOOTER */
.footer-logo-img {
  height: 85px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  transition: transform 0.3s var(--ease-smooth);
  display: block;
}

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

/* BOTÓN DESTACADO 'HABLEMOS' EN EL MENÚ */
.theme-btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--accent-orange);
  color: #FFFFFF;
  text-decoration: none;
  box-shadow: 0 4px 20px var(--accent-orange-glow);
  transition: all 0.3s var(--ease-smooth);
  white-space: nowrap;
}

.theme-btn-nav:hover {
  background: var(--accent-orange-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-orange-glow);
  color: #FFFFFF;
}

.theme-btn-nav svg {
  transition: transform 0.3s;
}

.theme-btn-nav:hover svg {
  transform: translate(2px, -2px);
}

.nav-menu {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(0.6rem, 1.1vw, 1.35rem);
  list-style: none;
}

.nav-drawer-header {
  display: none;
}

.nav-item-drawer-audit {
  display: none;
}

.nav-item {
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link {
  font-size: clamp(0.85rem, 0.95vw, 0.95rem);
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-orange);
  transition: width 0.3s var(--ease-smooth);
}

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

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: rgba(16, 17, 22, 0.96);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 0.9rem;
  min-width: 290px;
  opacity: 0;
  visibility: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.25s var(--ease-smooth);
  list-style: none;
  z-index: 1010;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item a {
  display: block;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.dropdown-item a:hover {
  background: rgba(255, 77, 18, 0.12);
  color: #FFFFFF;
  transform: translateX(4px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  padding: 0.5rem;
}

/* ===================================================
   HERO ULTRA-ESPECTACULAR ESTILO CREOVIBE
   =================================================== */
.creovibe-hero {
  position: relative;
  min-height: 100vh;
  padding: 10rem 0 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-glow-sphere {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 750px;
  max-width: 95vw;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 77, 18, 0.22) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(80px);
  z-index: 1;
}

.hero-subtag {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-orange);
  background: rgba(255, 77, 18, 0.1);
  border: 1px solid rgba(255, 77, 18, 0.3);
  padding: 0.45rem 1.25rem;
  border-radius: 999px;
  margin-bottom: 2rem;
}

.hero-massive-title {
  font-size: clamp(2.8rem, 7.5vw, 6.8rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}

/* Sello Giratorio de Estudio Circular (Rotating Studio Stamp) */
.hero-word-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: clamp(62px, 6.8vw, 88px);
  height: clamp(62px, 6.8vw, 88px);
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 94, 54, 0.12) 0%, rgba(20, 20, 20, 0.75) 80%);
  border: 1px dashed rgba(255, 94, 54, 0.55);
  box-shadow: 0 0 25px rgba(255, 94, 54, 0.22),
              inset 0 0 15px rgba(255, 94, 54, 0.1);
  vertical-align: middle;
  margin: 0 0.6rem;
  transform: translateY(-4px);
  transition: all 0.35s ease;
  user-select: none;
}

/* Anillo de texto circular giratorio orbitando suavemente */
.hero-word-badge::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--accent-orange);
  border-right-color: rgba(255, 94, 54, 0.5);
  animation: studioStampSpin 14s linear infinite;
  pointer-events: none;
}

.hero-word-badge::after {
  content: '★ CREART STUDIO ★ DIGITAL FACTORY ';
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.42rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0; /* Fallback estético limpio */
}

/* Icono o glifo central */
.hero-word-badge span,
.hero-word-badge {
  color: var(--accent-orange);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  font-weight: 700;
  text-shadow: 0 0 16px var(--accent-orange-glow);
}

.hero-word-badge:hover {
  border-color: var(--accent-orange);
  box-shadow: 0 0 40px var(--accent-orange-glow),
              inset 0 0 20px rgba(255, 94, 54, 0.3);
  transform: translateY(-6px) scale(1.08);
}

.hero-word-badge:hover::before {
  animation-duration: 6s;
  border-top-color: #FFF;
}

@keyframes studioStampSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-split-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3.5rem;
  align-items: flex-end;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}

.hero-left-desc {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 680px;
}

.hero-stats-group {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.hero-stat-big h3 {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-family: var(--font-mono);
  color: #FFFFFF;
  line-height: 1;
}

.hero-stat-big p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-top: 0.4rem;
}

/* Tarjeta Destacada Hero Derecha (Conviértela en Hero Slider interactivo) */
.hero-floating-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 2.25rem;
  position: relative;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--accent-orange);
  transition: transform 0.3s;
  overflow: hidden;
  min-height: 340px;
}

.hero-full-slider-wrapper {
  position: relative;
  width: 100%;
  min-height: 580px;
  perspective: 1200px;
}

.hero-full-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(24px) scale(0.985);
  filter: blur(8px);
  transition: opacity 0.5s cubic-bezier(0.2, 0.9, 0.3, 1),
              transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1),
              filter 0.5s cubic-bezier(0.2, 0.9, 0.3, 1),
              visibility 0.5s;
}

.hero-full-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  filter: blur(0px);
}

/* Transición cinemática escalonada (Stagger) de los elementos internos */
.hero-full-slide .hero-subtag,
.hero-full-slide .hero-massive-title,
.hero-full-slide .hero-left-desc,
.hero-full-slide .theme-btn-orange,
.hero-full-slide .theme-btn-outline,
.hero-full-slide .hero-floating-card {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.hero-full-slide.active .hero-subtag {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.05s;
}

.hero-full-slide.active .hero-massive-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.12s;
}

.hero-full-slide.active .hero-left-desc {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.22s;
}

.hero-full-slide.active .theme-btn-orange,
.hero-full-slide.active .theme-btn-outline {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.30s;
}

.hero-full-slide.active .hero-floating-card {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.24s;
  animation: heroCardEntrance 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroCardEntrance {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.96) rotate(-0.5deg);
    filter: drop-shadow(0 0 0 rgba(255, 94, 54, 0));
  }
  60% {
    filter: drop-shadow(0 15px 30px rgba(255, 94, 54, 0.22));
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.45));
  }
}

/* Efecto de barra de progreso viva en la píldora activa */
.hero-slider-pill.active {
  position: relative;
  overflow: hidden;
}

.hero-slider-pill.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-orange), #FFB020);
  animation: slidePillProgress 6s linear infinite;
  transform-origin: left;
}

@keyframes slidePillProgress {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

/* Barra de controles y paginación superior/inferior del Hero Completo */
.hero-full-slider-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 10;
}

.hero-slider-pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-slider-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.hero-slider-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFF;
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-slider-pill.active {
  background: rgba(255, 94, 54, 0.12);
  color: #FFF;
  border-color: var(--accent-orange);
  box-shadow: 0 0 20px rgba(255, 94, 54, 0.25);
}

.hero-slider-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
  transition: all 0.25s ease;
}

.hero-slider-pill.active .hero-slider-pill-dot {
  background: var(--accent-orange);
  box-shadow: 0 0 8px var(--accent-orange);
}

.hero-slider-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-slider-actions .hero-slider-nav-btn {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-slider-actions .hero-slider-nav-btn:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  transform: scale(1.06);
  box-shadow: 0 0 15px var(--accent-orange-glow);
}

.hero-slider-nav-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #FFF;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-slider-nav-btn:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
}

.hero-floating-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-orange);
}

.hero-floating-card .card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.card-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-orange);
  font-weight: 700;
}

.card-live-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-orange);
  box-shadow: 0 0 12px var(--accent-orange);
  animation: pulse-orange 1.8s infinite;
}

@keyframes pulse-orange {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

/* ===================================================
   CINTA MARQUEE INFINITA DUAL (ESTILO CREOVIBE)
   =================================================== */
.creovibe-marquee {
  width: 100%;
  overflow: hidden;
  padding: 1.75rem 0;
  background: #0D0E12;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  transform: rotate(-1deg) scale(1.02);
  margin: 3rem 0 6rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 24s linear infinite;
  gap: 3rem;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 3rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #FFFFFF;
}

.marquee-item .sep {
  color: var(--accent-orange);
  font-size: 1.8rem;
}

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

/* ===================================================
   SHOWCASE INTERACTIVO DE NUESTRAS APPS SAAS PROPIAS
   =================================================== */
.apps-mega-section {
  padding: 6rem 0 9rem;
  position: relative;
}

.apps-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 3rem 0;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.25rem;
}

.app-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.75rem 1.8rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s;
}

.app-tab-btn.active, .app-tab-btn:hover {
  background: var(--accent-orange);
  color: #FFFFFF;
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-orange);
}

.app-showcase-screen {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  align-items: center;
  transition: all 0.4s var(--ease-smooth);
}

.app-showcase-screen:hover {
  border-color: rgba(255, 77, 18, 0.4);
}

.app-screen-content {
  padding: 4rem;
}

.app-screen-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 1rem;
}

.app-screen-title {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.app-screen-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.app-stats-pills {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.app-stat-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.75rem 1.25rem;
  border-radius: 14px;
}

.app-stat-pill h4 {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--accent-orange);
}

.app-stat-pill p {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-dim);
}

.app-screen-mockup {
  background: linear-gradient(135deg, rgba(255, 77, 18, 0.08) 0%, rgba(20, 22, 30, 0.95) 100%);
  padding: 3rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-left: 1px solid var(--border-subtle);
}

.mockup-window {
  width: 100%;
  max-width: 580px;
  background: #0B0D13;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.5s;
}

.mockup-window:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.mockup-bar {
  padding: 0.85rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  gap: 0.5rem;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mockup-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===================================================
   SERVICIOS NUMERADOS 01-07 CON HOVER ORANGE GLOW
   =================================================== */
.services-creovibe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.creovibe-service-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease-smooth);
}

.creovibe-service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-smooth);
}

.creovibe-service-item:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 77, 18, 0.7);
  box-shadow: 0 20px 50px -10px var(--accent-orange-glow), 0 0 30px rgba(255, 77, 18, 0.25);
}

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

.service-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.service-giant-num {
  font-family: var(--font-mono);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.12);
  transition: color 0.3s;
}

.creovibe-service-item:hover .service-giant-num {
  color: var(--accent-orange);
}

.service-arrow-round {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: all 0.3s var(--ease-smooth);
}

.creovibe-service-item:hover .service-arrow-round {
  background: var(--accent-orange);
  color: #FFFFFF;
  transform: rotate(45deg);
}

.service-title {
  font-size: 1.85rem;
  margin-bottom: 1rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* ===================================================
   PORTFOLIO CON HOVER EDITORIAL
   =================================================== */
.creovibe-portfolio {
  padding: 7rem 0;
}

.portfolio-grid-creovibe {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.portfolio-block {
  border-radius: 28px;
  overflow: hidden;
  background: #0D0E14;
  border: 1px solid var(--border-subtle);
  transition: all 0.4s var(--ease-smooth);
  display: flex;
  flex-direction: column;
}

.portfolio-block:hover {
  transform: translateY(-8px);
  border-color: var(--accent-orange);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(255, 77, 18, 0.35);
}

.portfolio-img-box {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.portfolio-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.portfolio-block:hover .portfolio-img-box img {
  transform: scale(1.08);
}

.portfolio-info {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* ===================================================
   FOOTER PREMIUM Y PERFECTAMENTE ESTRUCTURADO
   =================================================== */
.site-footer {
  background: #050608;
  border-top: 1px solid var(--border-subtle);
  padding: 6rem 0 2.5rem;
  margin-top: 8rem;
  position: relative;
  z-index: 10;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.4fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  margin: 1.5rem 0 1.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 360px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  margin-bottom: 1.75rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 25px;
  height: 2px;
  background: var(--accent-orange);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent-orange);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
  color: var(--text-dim);
}

.footer-bottom a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

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

@media (max-width: 1024px) {
  .hero-split-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .app-showcase-screen {
    grid-template-columns: 1fr;
  }
  .app-screen-content {
    padding: 2.5rem;
  }
  .app-screen-mockup {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
    padding: 2rem;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 1024px) {
  body {
    padding-bottom: 75px; /* Espacio reservado para el Bottom App Bar */
    overflow-x: hidden;
  }

  .container {
    padding: 0 1rem;
    max-width: 100%;
  }

  /* LOGO MÁS COMPACTO Y ELEGANTE EN MÓVIL */
  .site-logo-img {
    height: 46px;
    max-width: 180px;
  }

  .site-header {
    padding: 0.75rem 0;
    background: rgba(7, 7, 9, 0.94);
    backdrop-filter: blur(15px);
  }

  .creovibe-hero {
    padding: 7rem 0 3.5rem;
    overflow: hidden;
  }

  .hero-glow-sphere {
    width: 90vw;
    height: 320px;
    filter: blur(50px);
  }

  .hero-massive-title {
    font-size: clamp(2.1rem, 9vw, 3.4rem);
    letter-spacing: -0.03em;
    line-height: 1.05;
    word-break: break-word;
  }

  .hero-split-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .hero-floating-card {
    padding: 1.5rem 1.25rem;
    border-radius: 20px;
    max-width: 100%;
  }

  .hero-word-badge {
    height: 42px;
    padding: 0 0.75rem;
    font-size: 1.4rem;
  }

  /* MARQUEE SIN DESBORDE LATERAL EN MÓVIL */
  .creovibe-marquee {
    margin: 2rem 0 4rem;
    transform: none; /* Elimina rotate y scale en móvil para evitar que sobresalga de la pantalla */
    width: 100%;
    overflow: hidden;
  }

  .marquee-item {
    font-size: 1.15rem;
    gap: 2rem;
  }

  /* SHOWCASE DE APPS SAAS EN FORMATO APP NATIVA */
  .apps-mega-section {
    padding: 4rem 0 6rem;
    overflow: hidden;
  }

  .apps-tab-nav {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    margin: 2rem 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .apps-tab-nav::-webkit-scrollbar {
    display: none;
  }

  .app-tab-btn {
    flex: 0 0 auto;
    scroll-snap-align: start;
    white-space: nowrap;
    font-size: 0.82rem;
    padding: 0.65rem 1rem;
  }

  .app-showcase-screen {
    border-radius: 20px;
    overflow: hidden;
  }

  .app-screen-content {
    padding: 1.5rem 1.25rem;
  }

  .app-screen-mockup {
    padding: 1.25rem;
  }

  .mockup-window {
    transform: none !important; /* Desactiva inclinación 3D en móvil para evitar salirse */
    max-width: 100%;
  }

  .app-stats-pills {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .app-stat-pill {
    padding: 0.85rem;
  }

  /* CUADRÍCULAS TIPO APP A 1 COLUMNA TOTALMENTE ADAPTABLES */
  .services-creovibe-grid,
  .portfolio-grid-creovibe {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: 100%;
  }

  .creovibe-service-item {
    padding: 1.75rem 1.25rem;
    border-radius: 20px;
  }

  .contact-departments-strip {
    margin-top: 3rem;
    padding: 1.75rem 1.25rem;
    border-radius: 22px;
  }

  /* DRAWER MÓVIL MODERNO ESTILO APP */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -110%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: #0E1017;
    border-left: 1px solid rgba(255, 77, 18, 0.3);
    flex-direction: column;
    align-items: stretch;
    padding: 5.5rem 1.75rem 2.5rem;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.95);
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10005 !important;
    gap: 1.1rem;
    overflow-y: auto;
    display: flex !important;
  }

  .nav-menu.open {
    right: 0 !important;
  }

  .nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-drawer-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: #FFF;
  }

  .nav-drawer-close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: #FFF;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
  }

  .nav-drawer-close:hover {
    background: rgba(255, 77, 18, 0.2);
    border-color: var(--accent-orange);
    color: var(--accent-orange);
  }

  .nav-item-drawer-audit {
    display: block !important;
    margin-bottom: 0.5rem;
  }

  .mobile-drawer-audit-btn {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, rgba(255, 77, 18, 0.15) 0%, rgba(255, 61, 0, 0.05) 100%);
    border: 1px solid rgba(255, 77, 18, 0.4);
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 77, 18, 0.15);
  }

  .drawer-audit-icon {
    font-size: 1.35rem;
    filter: drop-shadow(0 0 6px var(--accent-orange));
  }

  .drawer-audit-info {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .drawer-audit-info strong {
    font-size: 0.92rem;
    color: #FFF;
    font-weight: 700;
  }

  .drawer-audit-info span {
    font-size: 0.74rem;
    color: var(--text-dim);
  }

  .drawer-audit-badge {
    background: #000;
    color: #00E599;
    font-size: 0.65rem;
    font-family: var(--font-mono);
    font-weight: 800;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    border: 1px solid rgba(0, 229, 153, 0.4);
    box-shadow: 0 0 8px rgba(0, 229, 153, 0.3);
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: #FFFFFF;
    cursor: pointer;
    z-index: 10006 !important;
  }

  /* DROPDOWNS EN MÓVIL EN MODO ACORDEÓN */
  .dropdown-chevron {
    transition: transform 0.3s ease;
    pointer-events: none !important;
  }

  .nav-item.open-mobile .dropdown-chevron {
    transform: rotate(180deg) !important;
    color: var(--accent-orange) !important;
  }

  .dropdown-menu {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 77, 18, 0.25) !important;
    margin-top: 0.5rem !important;
    padding: 0.75rem 0.6rem !important;
    border-radius: 14px !important;
    display: none !important;
    min-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .nav-item.open-mobile .dropdown-menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    animation: accordionSlideDown 0.25s ease forwards;
  }

  .dropdown-item a {
    display: block !important;
    padding: 0.65rem 0.85rem !important;
    border-radius: 8px !important;
    color: #D1D2DC !important;
    font-size: 0.92rem !important;
    transition: all 0.2s ease !important;
  }

  .dropdown-item a:hover,
  .dropdown-item a:active {
    background: rgba(255, 77, 18, 0.15) !important;
    color: var(--accent-orange) !important;
  }

  @keyframes accordionSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* PADDING RESERVADO PARA EL FOOTER EN MÓVIL */
  .site-footer {
    padding-bottom: calc(95px + env(safe-area-inset-bottom, 0px));
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }
}

/* ===================================================
   BARRA DE NAVEGACIÓN INFERIOR NATIVA TIPO APP (MOBILE BOTTOM BAR)
   =================================================== */
.mobile-bottom-appbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 68px;
  background: rgba(10, 11, 15, 0.94);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 9992;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.5rem;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
  .mobile-bottom-appbar {
    display: flex;
  }
}

.appbar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all 0.2s ease;
  flex: 1;
  height: 100%;
}

.appbar-item svg {
  transition: transform 0.2s ease, stroke 0.2s ease;
}

.appbar-item:hover,
.appbar-item.active {
  color: var(--accent-orange);
}

.appbar-item.active svg {
  stroke: var(--accent-orange);
  transform: translateY(-2px);
}

.appbar-item-center {
  position: relative;
  top: -12px;
}

.appbar-center-glow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-orange);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 6px 20px rgba(255, 77, 18, 0.5), 0 0 15px rgba(255, 77, 18, 0.3);
  margin-bottom: 0.15rem;
  transition: transform 0.2s ease;
}

.appbar-item-center:hover .appbar-center-glow,
.appbar-item-center.active .appbar-center-glow {
  transform: scale(1.1);
}

/* ===================================================
   BOTÓN BACK TO TOP (POR ENCIMA DEL ASISTENTE)
   =================================================== */
.back-to-top-btn {
  position: fixed;
  bottom: 6.8rem;
  right: 2.2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #111319;
  border: 1px solid rgba(255, 77, 18, 0.3);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9989;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s var(--ease-smooth);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #FFF;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 15px 35px var(--accent-orange-glow);
}

/* ===================================================
   AGENTE VIRTUAL CREART — ASISTENTE WHATSAPP INTELIGENTE
   =================================================== */
.creart-agent-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--font-body);
}

.agent-trigger-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.4rem;
  background: #111319;
  border: 1px solid rgba(255, 77, 18, 0.4);
  border-radius: 999px;
  color: #FFF;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 77, 18, 0.25);
  transition: all 0.3s var(--ease-smooth);
}

.agent-trigger-btn:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: var(--accent-orange);
  box-shadow: 0 15px 40px rgba(255, 77, 18, 0.4);
}

.agent-avatar-badge {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.agent-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #25D366;
  border: 2px solid #111319;
  box-shadow: 0 0 8px #25D366;
}

.agent-chat-modal {
  position: absolute;
  bottom: 5.5rem;
  right: 0;
  width: 390px;
  max-width: calc(100vw - 2.5rem);
  background: #0E1017;
  border: 1px solid rgba(255, 94, 54, 0.35);
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 35px rgba(255, 94, 54, 0.2);
  overflow: hidden;
  display: none;
  flex-direction: column;
  animation: agentModalFade 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.agent-chat-modal.active {
  display: flex;
}

@keyframes agentModalFade {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.agent-chat-header {
  padding: 1.15rem 1.4rem;
  background: #141722;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.agent-chat-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-height: 440px;
  min-height: 280px;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.agent-message-bubble {
  background: #181B26;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.95rem 1.15rem;
  border-radius: 18px 18px 18px 4px;
  font-size: 0.88rem;
  color: #FFF;
  line-height: 1.55;
  animation: bubblePop 0.25s ease forwards;
}

.agent-user-bubble {
  background: rgba(255, 94, 54, 0.18);
  border: 1px solid rgba(255, 94, 54, 0.4);
  color: #FFF;
  padding: 0.75rem 1.1rem;
  border-radius: 18px 18px 4px 18px;
  font-size: 0.88rem;
  align-self: flex-end;
  max-width: 85%;
  line-height: 1.45;
  animation: bubblePop 0.25s ease forwards;
}

.agent-ai-bubble {
  background: #161924;
  border: 1px solid rgba(255, 94, 54, 0.25);
  color: #FFF;
  padding: 0.95rem 1.15rem;
  border-radius: 18px 18px 18px 4px;
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 95%;
  animation: bubblePop 0.25s ease forwards;
}

@keyframes bubblePop {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.agent-quick-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.agent-opt-btn {
  text-align: left;
  padding: 0.7rem 0.95rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #FFF;
  font-size: 0.82rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.agent-opt-btn:hover {
  background: rgba(255, 94, 54, 0.12);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  transform: translateX(3px);
}

.agent-chat-footer {
  padding: 0.75rem 1rem;
  background: #10121A;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.agent-input-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #161822;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.35rem 0.5rem 0.35rem 1rem;
  transition: border-color 0.2s;
}

.agent-input-form:focus-within {
  border-color: var(--accent-orange);
  box-shadow: 0 0 15px rgba(255, 94, 54, 0.2);
}

.agent-text-input {
  background: transparent;
  border: none;
  color: #FFF;
  font-size: 0.85rem;
  flex-grow: 1;
  outline: none;
}

.agent-text-input::placeholder {
  color: var(--text-dim);
}

.agent-send-btn {
  background: var(--accent-orange);
  color: #FFF;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.agent-send-btn:hover {
  transform: scale(1.08);
}

.agent-whatsapp-direct {
  margin-top: 0.65rem;
  padding: 0.75rem 1.1rem;
  background: #25D366;
  color: #090A0F;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
  transition: all 0.2s ease;
}

.agent-whatsapp-direct:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* ===================================================
   BANNER DE COOKIES RGPD & BOTÓN FLOTANTE GALLETITA
   =================================================== */
.cookie-banner-overlay {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  max-width: 440px;
  background: #0D0E15;
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 77, 18, 0.1);
  z-index: 9995;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  animation: cookieBannerFade 0.4s var(--ease-smooth) forwards;
}

@keyframes cookieBannerFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  color: #FFF;
}

.cookie-banner-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-btn-accept {
  flex: 1;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--accent-orange);
  color: #FFF;
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: var(--shadow-orange);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-btn-accept:hover {
  background: var(--accent-orange-bright);
  transform: translateY(-2px);
}

.cookie-btn-reject {
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-btn-reject:hover {
  color: #FFF;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* BOTÓN FLOTANTE PERMANENTE DE LA GALLETITA */
.cookie-badge-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #111319;
  border: 1px solid var(--border-subtle);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 9994;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  transition: all 0.3s var(--ease-smooth);
}

.cookie-badge-btn:hover {
  transform: scale(1.1) rotate(12deg);
  border-color: var(--accent-orange);
  box-shadow: 0 12px 30px rgba(255, 77, 18, 0.3);
}

/* ===================================================
   SOCIAL PROOF TOAST FLOTANTE EN VIVO
   =================================================== */
.social-proof-toast {
  position: fixed;
  bottom: 2rem;
  left: 5.5rem; /* Al lado de la galletita para no taparla */
  background: rgba(14, 16, 24, 0.95);
  border: 1px solid rgba(255, 77, 18, 0.35);
  border-radius: 18px;
  padding: 0.85rem 1.15rem 0.85rem 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 360px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.85), 0 0 25px rgba(255, 77, 18, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9993;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: toastSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-proof-toast:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--accent-orange);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 77, 18, 0.25);
}

@keyframes toastSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.toast-avatar-box {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 77, 18, 0.12);
  border: 1px solid rgba(255, 77, 18, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

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

.toast-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.toast-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent-orange);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toast-time {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
}

.toast-msg {
  font-size: 0.8rem;
  color: #ECECEC;
  line-height: 1.35;
  margin: 0;
}

.toast-msg strong {
  color: #FFF;
}

.toast-close-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0 0.2rem;
  line-height: 1;
  align-self: flex-start;
  transition: color 0.2s;
}

.toast-close-btn:hover {
  color: #FFF;
}

@media (max-width: 768px) {
  .social-proof-toast {
    left: 1rem;
    right: 1rem;
    bottom: calc(68px + 72px); /* Por encima del navbar de móvil y del asistente */
    max-width: none;
  }
}

.cookie-btn-settings {
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-btn-settings:hover {
  color: var(--accent-orange);
  border-color: var(--accent-orange);
}

/* MODAL DE CONFIGURACIÓN DETALLADA DE COOKIES */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: cookieModalFadeIn 0.3s ease forwards;
}

.cookie-modal-backdrop.active {
  display: flex;
}

@keyframes cookieModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cookie-settings-dialog {
  background: #0E1017;
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 77, 18, 0.15);
  display: flex;
  flex-direction: column;
}

.cookie-dialog-header {
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #12141F;
}

.cookie-dialog-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cookie-cat-item {
  background: #141620;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cookie-cat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cookie-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #2A2C38;
  transition: .3s;
  border-radius: 24px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

.cookie-switch input:checked + .cookie-slider {
  background-color: var(--accent-orange);
}

.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(22px);
}

.cookie-switch input:disabled + .cookie-slider {
  background-color: rgba(255, 77, 18, 0.4);
  cursor: not-allowed;
}

.cookie-dialog-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border-subtle);
  background: #12141F;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ===================================================
   EFECTOS DE LUZ NEÓN VANGUARDISTAS (ESTUDIO DIGITAL)
   =================================================== */
.neon-glow-orange {
  box-shadow: 0 0 25px rgba(255, 77, 18, 0.4), inset 0 0 15px rgba(255, 77, 18, 0.2);
  border-color: rgba(255, 77, 18, 0.6) !important;
}

.neon-text-orange {
  text-shadow: 0 0 10px rgba(255, 77, 18, 0.7), 0 0 25px rgba(255, 77, 18, 0.4);
}

.neon-glow-cyan {
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.35), inset 0 0 12px rgba(0, 240, 255, 0.15);
  border-color: rgba(0, 240, 255, 0.5) !important;
}

.neon-card {
  position: relative;
  border-radius: 24px;
  background: rgba(14, 16, 23, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  transition: all 0.4s var(--ease-smooth);
  overflow: hidden;
}

.neon-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
  opacity: 0.6;
  transition: opacity 0.3s;
}

.neon-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 77, 18, 0.5);
  box-shadow: 0 15px 40px -10px rgba(255, 77, 18, 0.35), 0 0 30px rgba(255, 77, 18, 0.15);
}

.neon-card:hover::before {
  opacity: 1;
}

/* DEPARTAMENTOS DE CONTACTO (ESTILO CREART DIRECT CONTACT ROW) */
.contact-departments-strip {
  margin-top: 5rem;
  padding: 3rem;
  background: #090A0F;
  border: 1px solid rgba(255, 77, 18, 0.25);
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 77, 18, 0.12);
  position: relative;
  overflow: hidden;
}

.contact-departments-strip::after {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
}

.contact-departments-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

.contact-dept-col {
  padding-right: 1.5rem;
  border-right: 1px dashed rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.contact-dept-col:last-child {
  padding-right: 0;
  border-right: none;
}

.contact-dept-col:hover {
  transform: translateY(-4px);
}

.contact-dept-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.contact-dept-detail {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-dept-detail a {
  color: #FFF;
  transition: all 0.2s;
  display: inline-block;
  word-break: break-all;
}

.contact-dept-detail a:hover {
  color: var(--accent-orange);
  text-shadow: 0 0 10px rgba(255, 77, 18, 0.6);
}

@media (max-width: 1200px) {
  .contact-departments-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
  .contact-dept-col {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
  }
  .contact-dept-col:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

@media (max-width: 768px) {
  .contact-departments-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================
   CANDADITO DE ACCESO ADMIN & MODAL DE AUTENTICACIÓN
   =================================================== */
.footer-lock-btn {
  background: none;
  border: none;
  color: var(--accent-orange);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 6px rgba(255, 77, 18, 0.4));
  vertical-align: middle;
}

.footer-lock-btn:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 12px var(--accent-orange));
  color: var(--accent-orange-bright);
}

.admin-login-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: adminModalFadeIn 0.3s ease forwards;
}

.admin-login-backdrop.active {
  display: flex;
}

@keyframes adminModalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.admin-login-dialog {
  background: #0E1018;
  border: 1px solid rgba(255, 77, 18, 0.4);
  border-radius: 28px;
  width: 100%;
  max-width: 420px;
  padding: 2.5rem;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 77, 18, 0.2);
  position: relative;
}

/* ===================================================
   SECCIÓN DE EQUIPO: PERSONAJES 3D (ESTILO TOY STUDIO PIXAR)
   =================================================== */
.team-character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.team-character-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.team-character-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 94, 54, 0.5);
  box-shadow: 0 20px 45px rgba(255, 94, 54, 0.15),
              0 0 20px rgba(255, 94, 54, 0.1);
}

.team-char-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0D0F15;
}

.team-char-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-character-card:hover .team-char-img {
  transform: scale(1.05);
}

.team-char-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(14, 16, 23, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-orange);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.team-char-status {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  background: rgba(14, 16, 23, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #FFF;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  z-index: 2;
}

.team-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00E599;
  box-shadow: 0 0 8px #00E599;
}

.team-char-body {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-char-name {
  font-size: 1.65rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.team-char-role {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-orange);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.team-char-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.team-skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.team-skill-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  transition: all 0.2s ease;
}

.team-character-card:hover .team-skill-tag {
  border-color: rgba(255, 94, 54, 0.25);
  color: #FFF;
}

/* ===================================================
   RESPONSIVE GRIDS DE PÁGINAS INTERNAS (FIX 1-COL EN MÓVIL)
   =================================================== */
.contact-main-grid,
.service-detail-grid,
.app-detail-grid,
.project-detail-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.project-detail-grid {
  grid-template-columns: 1.5fr 1fr;
}

.app-detail-grid {
  grid-template-columns: 1.4fr 1fr;
}

@media (max-width: 992px) {
  .contact-main-grid,
  .service-detail-grid,
  .app-detail-grid,
  .project-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}

@media (max-width: 768px) {
  .neon-card {
    padding: 1.75rem 1.25rem !important;
  }
  
  .container {
    padding: 0 1.25rem;
  }

  /* Ajuste de espaciado superior en páginas internas */
  .inner-page-hero {
    padding-top: 6.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  /* Títulos responsivos que no se cortan */
  h1 {
    font-size: clamp(2.1rem, 8vw, 3.8rem) !important;
    line-height: 1.1 !important;
  }

  h2 {
    font-size: clamp(1.8rem, 6.5vw, 2.8rem) !important;
  }
}

/* ===================================================
   FILTROS DE PORTFOLIO POR CATEGORÍA
   =================================================== */
.portfolio-filter-nav {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.filter-pill-btn:hover {
  background: rgba(255, 77, 18, 0.12);
  border-color: rgba(255, 77, 18, 0.5);
  color: #FFF;
  transform: translateY(-2px);
}

.filter-pill-btn.active {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #FFF;
  box-shadow: 0 4px 20px rgba(255, 77, 18, 0.45);
}

.filter-pill-count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 999px;
  color: inherit;
}

@media (max-width: 768px) {
  .portfolio-filter-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .portfolio-filter-nav::-webkit-scrollbar {
    display: none;
  }

  .filter-pill-btn {
    flex: 0 0 auto;
    font-size: 0.8rem;
    padding: 0.55rem 1rem;
  }
}

/* ===================================================
   SECCIÓN DE TESTIMONIOS (SOCIAL PROOF)
   =================================================== */
.testimonials-section {
  padding: 7rem 0;
  background: linear-gradient(180deg, #070709 0%, #0C0D13 50%, #070709 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.testimonial-card {
  background: rgba(14, 16, 23, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
  position: relative;
  backdrop-filter: blur(15px);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 77, 18, 0.45);
  box-shadow: 0 20px 45px -10px rgba(255, 77, 18, 0.2);
}

.testimonial-stars {
  color: #FFAE00;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
  display: flex;
  gap: 0.2rem;
}

.testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 2rem;
  flex: 1;
  font-style: normal;
}

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

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-orange);
  box-shadow: 0 0 12px rgba(255, 77, 18, 0.35);
}

.testimonial-name {
  font-size: 1rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 0.2rem;
}

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

.testimonial-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-orange);
  background: rgba(255, 77, 18, 0.12);
  border: 1px solid rgba(255, 77, 18, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-top: 0.3rem;
}

/* ===================================================
   RIBBON DIAGONAL CORNER: AUDITOR WEB DESTACADO
   =================================================== */
.corner-ribbon-diagonal {
  position: fixed;
  top: 32px;
  right: -52px;
  transform: rotate(45deg);
  width: 250px;
  background: linear-gradient(135deg, #FF6B00 0%, #FF3D00 50%, #D82600 100%);
  color: #FFF;
  text-decoration: none;
  text-align: center;
  padding: 0.55rem 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 10005;
  box-shadow: 0 8px 25px rgba(255, 61, 0, 0.5), 0 2px 10px rgba(0, 0, 0, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: block;
}

.corner-ribbon-diagonal:hover {
  transform: rotate(45deg) scale(1.06);
  box-shadow: 0 12px 35px rgba(255, 61, 0, 0.75), 0 0 25px rgba(255, 120, 50, 0.8);
  background: linear-gradient(135deg, #FF7A1A 0%, #FF4D12 50%, #E62A00 100%);
}

.ribbon-glow-beam {
  position: absolute;
  top: -50%;
  left: -100%;
  width: 60%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: rotate(30deg);
  animation: ribbonBeamSweep 3.5s infinite;
  pointer-events: none;
}

@keyframes ribbonBeamSweep {
  0% { left: -100%; }
  35%, 100% { left: 160%; }
}

.ribbon-text {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.ribbon-icon {
  font-size: 0.9rem;
  filter: drop-shadow(0 0 6px #FFF);
}

.ribbon-tag {
  background: #000;
  color: #00E599;
  font-size: 0.68rem;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  font-weight: 900;
  box-shadow: 0 0 8px rgba(0, 229, 153, 0.5);
  border: 1px solid rgba(0, 229, 153, 0.4);
}

@media (max-width: 768px) {
  /* En pantallas móviles ocultamos la banda diagonal de la esquina para no tapar el botón hamburguesa ni el logo */
  .corner-ribbon-diagonal {
    display: none !important;
  }
}

/* ===================================================
   TIENDA Y MARKETPLACE DE PLUGINS WORDPRESS CREART
   =================================================== */
.plugins-hero-section {
  padding: 10rem 0 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.plugins-guarantees-pill-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.plugin-pill-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: #ECECEC;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.plugins-marketplace-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.plugin-market-card {
  background: #0B0D14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.plugin-market-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 77, 18, 0.5);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(255, 77, 18, 0.15);
}

.plugin-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.plugin-cat-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-orange);
  background: rgba(255, 77, 18, 0.1);
  border: 1px solid rgba(255, 77, 18, 0.25);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  text-transform: uppercase;
  font-weight: 700;
}

.plugin-feat-badge {
  background: #000;
  color: #00E599;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 229, 153, 0.4);
}

.plugin-card-title {
  font-size: 1.35rem;
  line-height: 1.3;
  margin-bottom: 0.65rem;
}

.plugin-card-title a {
  color: #FFF;
  text-decoration: none;
  transition: color 0.2s;
}

.plugin-card-title a:hover {
  color: var(--accent-orange);
}

.plugin-card-tagline {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.plugin-card-features {
  margin-bottom: 1.5rem;
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
}

.plugin-card-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.plugin-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #DDD;
  line-height: 1.4;
}

.plugin-card-specs {
  display: flex;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
}

.spec-col {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.76rem;
  font-family: var(--font-mono);
}

.spec-col span {
  color: var(--text-dim);
}

.spec-col strong {
  color: #FFF;
}

.plugin-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.plugin-price-box {
  display: flex;
  flex-direction: column;
}

.plugin-price-val {
  font-size: 1.85rem;
  font-weight: 900;
  color: #FFF;
  font-family: var(--font-display);
  line-height: 1;
}

.plugin-price-sub {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.plugins-bundle-banner {
  background: linear-gradient(135deg, rgba(255, 77, 18, 0.15) 0%, rgba(14, 16, 24, 0.95) 100%);
  border: 1px solid rgba(255, 77, 18, 0.45);
  border-radius: 28px;
  padding: 3rem 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 45px rgba(255, 77, 18, 0.15);
}

/* Ficha Detalle Plugin */
.plugin-breadcrumb {
  display: flex;
  gap: 0.65rem;
  font-size: 0.88rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.plugin-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.plugin-breadcrumb a:hover {
  color: var(--accent-orange);
}

.plugin-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.plugin-tech-banner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.5rem;
}

.tech-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.tech-label {
  font-size: 0.76rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.tech-val {
  font-size: 0.95rem;
  color: #FFF;
  font-weight: 700;
}

.plugin-buy-card {
  background: #0B0D14;
  border: 1px solid rgba(255, 77, 18, 0.4);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 35px rgba(255, 77, 18, 0.15);
  position: sticky;
  top: 6rem;
}

.plugin-price-big {
  font-size: 3.2rem;
  font-weight: 900;
  color: #FFF;
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.plugin-buy-perks {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.plugin-buy-perks li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: #DDD;
}

.plugin-features-deep-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-deep-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
}

.feature-number {
  font-size: 1.5rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--accent-orange);
  line-height: 1;
}

@media (max-width: 900px) {
  .plugin-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .plugins-bundle-banner {
    padding: 2rem 1.5rem;
  }
}

/* ===================================================
   ESCÁNER TÉCNICO INTERACTIVO & AUDITOR WEB
   =================================================== */
.web-audit-section {
  padding: 6.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.audit-scanner-box {
  background: #0B0D14;
  border: 1px solid rgba(255, 77, 18, 0.4);
  border-radius: 32px;
  padding: 3.5rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(255, 77, 18, 0.12);
  position: relative;
}

.audit-scanner-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
}

.audit-scanner-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

.audit-input-form {
  display: flex;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.audit-input-group {
  flex: 1.5;
  min-width: 260px;
  position: relative;
  display: flex;
  align-items: center;
}

.audit-input-email-group {
  flex: 1;
  min-width: 200px;
}

.audit-input-icon {
  position: absolute;
  left: 1.25rem;
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.audit-url-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1.15rem 1.25rem 1.15rem 3.2rem;
  color: #FFF;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.audit-input-email-group .audit-url-input {
  padding-left: 1.25rem;
}

.audit-url-input:focus {
  outline: none;
  border-color: var(--accent-orange);
  background: rgba(255, 77, 18, 0.05);
  box-shadow: 0 0 25px rgba(255, 77, 18, 0.25);
}

.audit-submit-btn {
  padding: 1.15rem 2.2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 14px;
  cursor: pointer;
  white-space: nowrap;
}

/* Indicador de radar y progreso */
.audit-progress-container {
  margin-top: 3rem;
  padding: 2.5rem;
  background: rgba(255, 77, 18, 0.04);
  border: 1px dashed rgba(255, 77, 18, 0.35);
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: fadeIn 0.4s ease;
}

.audit-radar-spinner {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 3px solid rgba(255, 77, 18, 0.2);
  border-top-color: var(--accent-orange);
  animation: radarSpin 0.9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  flex-shrink: 0;
}

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

.audit-progress-text h4 {
  font-size: 1.15rem;
  color: #FFF;
  margin: 0;
}

/* Contenedor del informe */
.audit-report-wrapper {
  margin-top: 3.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.5rem;
  animation: fadeIn 0.5s ease;
}

.audit-report-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.audit-report-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-orange);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-bottom: 0.35rem;
}

.audit-report-domain {
  font-size: 1.8rem;
  color: #FFF;
  margin-bottom: 0.35rem;
}

.audit-score-main-box {
  background: rgba(11, 13, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 1rem 1.75rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.audit-score-hero {
  font-size: 2.8rem;
  font-weight: 900;
  font-family: var(--font-mono);
  line-height: 1;
}

.text-good { color: #10B981; }
.text-mid { color: #F59E0B; }
.text-bad { color: #EF4444; }

/* Grid de métricas */
.audit-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0;
}

.audit-metric-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.25rem;
}

.metric-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.metric-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.score-badge {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
}

.score-good { background: rgba(16, 185, 129, 0.15); color: #10B981; border: 1px solid rgba(16, 185, 129, 0.3); }
.score-mid { background: rgba(245, 158, 11, 0.15); color: #F59E0B; border: 1px solid rgba(245, 158, 11, 0.3); }
.score-bad { background: rgba(239, 68, 68, 0.15); color: #EF4444; border: 1px solid rgba(239, 68, 68, 0.3); }

.metric-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.metric-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #F59E0B, var(--accent-orange));
  border-radius: 999px;
  transition: width 1s ease;
}

.metric-sub {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin: 0;
}

/* Oportunidades */
.audit-opps-container {
  margin: 2.5rem 0;
}

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

.audit-opp-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.audit-opp-item.opp-high {
  border-left: 4px solid #EF4444;
  background: rgba(239, 68, 68, 0.03);
}

.audit-opp-item.opp-medium {
  border-left: 4px solid #F59E0B;
  background: rgba(245, 158, 11, 0.03);
}

.audit-opp-item.opp-low {
  border-left: 4px solid #10B981;
  background: rgba(16, 185, 129, 0.03);
}

.opp-info strong {
  display: block;
  font-size: 0.95rem;
  color: #FFF;
  margin-bottom: 0.25rem;
}

.opp-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.opp-impact-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-orange);
  background: rgba(255, 77, 18, 0.08);
  border: 1px solid rgba(255, 77, 18, 0.2);
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  white-space: nowrap;
}

.audit-report-cta {
  margin-top: 2.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255, 77, 18, 0.12), rgba(0, 0, 0, 0.6));
  border: 1px solid rgba(255, 77, 18, 0.35);
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .audit-scanner-box {
    padding: 2rem 1.5rem;
  }
  .audit-input-form {
    flex-direction: column;
  }
  .audit-input-group, .audit-submit-btn {
    width: 100%;
  }
  .audit-progress-container {
    flex-direction: column;
    text-align: center;
  }
  .audit-report-cta {
    flex-direction: column;
    text-align: center;
  }
}

/* ===================================================
   SIMULADOR / CALCULADOR INTERACTIVO DE PRESUPUESTOS
   =================================================== */
.budget-calc-section {
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.budget-calc-box {
  background: #0B0D14;
  border: 1px solid rgba(255, 77, 18, 0.35);
  border-radius: 32px;
  padding: 3.5rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 45px rgba(255, 77, 18, 0.15);
  position: relative;
}

.budget-calc-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
}

.calc-grid-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3.5rem;
  align-items: flex-start;
  margin-top: 3rem;
}

.calc-step-card {
  margin-bottom: 2.25rem;
}

.calc-step-card:last-child {
  margin-bottom: 0;
}

.calc-step-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.calc-step-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-orange);
  background: rgba(255, 77, 18, 0.15);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
}

.calc-chip-label {
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.calc-chip-label:hover {
  background: rgba(255, 77, 18, 0.08);
  border-color: rgba(255, 77, 18, 0.4);
}

.calc-chip-label input {
  display: none;
}

.calc-chip-label input:checked + .calc-chip-content {
  color: #FFF;
}

.calc-chip-label.active {
  background: rgba(255, 77, 18, 0.15);
  border-color: var(--accent-orange);
  box-shadow: 0 0 20px rgba(255, 77, 18, 0.3);
}

.calc-chip-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 0.25rem;
}

.calc-chip-desc {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.4;
}

.calc-chip-price {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent-orange);
  font-weight: 700;
  margin-top: 0.5rem;
}

/* Tarjeta lateral de resultado en vivo */
.calc-summary-panel {
  background: rgba(14, 16, 23, 0.9);
  border: 1px solid rgba(255, 77, 18, 0.35);
  border-radius: 24px;
  padding: 2.5rem;
  position: sticky;
  top: 6rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
}

.calc-price-headline {
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.calc-price-big {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  font-family: var(--font-display);
  color: #FFF;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.calc-price-big span {
  color: var(--accent-orange);
}

.calc-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #25D366;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 2rem;
}

.calc-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
}

.calc-breakdown-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.calc-breakdown-item strong {
  color: #FFF;
}

@media (max-width: 992px) {
  .budget-calc-box {
    padding: 2.25rem 1.5rem;
    border-radius: 24px;
  }

  .calc-grid-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .calc-summary-panel {
    position: static;
    padding: 2rem 1.5rem;
  }
}

/* ===================================================
   SECCIÓN DE GARANTÍAS Y CASOS DE ÉXITO VERIFICADOS
   =================================================== */
.trust-section {
  padding: 7rem 0;
  position: relative;
  background: linear-gradient(180deg, rgba(8, 10, 15, 0) 0%, rgba(14, 17, 24, 0.6) 50%, rgba(8, 10, 15, 0) 100%);
}

.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 3.5rem 0 5rem;
}

.guarantee-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.guarantee-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 45px;
  height: 3px;
  background: var(--accent-orange);
  transition: width 0.35s ease;
}

.guarantee-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 77, 18, 0.45);
  background: rgba(255, 77, 18, 0.04);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 77, 18, 0.12);
}

.guarantee-card:hover::before {
  width: 100%;
}

.guarantee-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.guarantee-card:hover .guarantee-icon-box {
  background: rgba(255, 94, 54, 0.12);
  border-color: rgba(255, 94, 54, 0.4);
  color: var(--accent-orange);
}

.guarantee-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 0.75rem;
}

.guarantee-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Grilla de Clientes Reales (3 Columnas con más espacio) */
.trust-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.trust-case-card {
  background: #0D0F17;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.trust-case-card:hover {
  border-color: var(--accent-orange);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 77, 18, 0.15);
  transform: translateY(-5px);
}

.trust-case-badge-row {
  margin-bottom: 1rem;
}

.trust-case-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #FFF;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.trust-case-badge svg {
  color: var(--accent-orange);
  flex-shrink: 0;
}

.trust-case-client {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 0.85rem;
}

.trust-case-solution {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.trust-deliverables-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
}

.trust-deliverable-item {
  font-size: 0.86rem;
  color: #DDD;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.trust-deliverable-item svg {
  color: #25D366;
  flex-shrink: 0;
}

.trust-case-action-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-case-btn {
  padding: 0.75rem 1.35rem !important;
  font-size: 0.85rem !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
}

.trust-case-link {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-decoration: underline;
  white-space: nowrap;
  transition: color 0.2s;
}

.trust-case-link:hover {
  color: #FFF;
}

@media (max-width: 1024px) {
  .trust-cases-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ===================================================
   COMPONENTES ENRIQUECIDOS DE SERVICIOS (OPCIONES Y PLANES)
   =================================================== */
.service-section-header {
  margin-bottom: 2.5rem;
}

.service-section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #FFF;
  margin-top: 0.5rem;
  line-height: 1.2;
}

/* Tarjetas de Opciones Técnicas (Diseño Web, Ecommerce, Fotografía) */
.service-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-bottom: 4.5rem;
}

.service-option-card {
  background: #0B0D14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.service-option-card:hover {
  border-color: rgba(255, 94, 54, 0.5);
  background: rgba(255, 94, 54, 0.02);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.service-option-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-orange);
  background: rgba(255, 94, 54, 0.12);
  border: 1px solid rgba(255, 94, 54, 0.3);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  width: fit-content;
}

.service-option-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 0.85rem;
}

.service-option-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-option-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.service-option-tag {
  font-size: 0.76rem;
  font-family: var(--font-mono);
  color: #DDD;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

/* Grilla de Planes Estructurados (SEO, Mantenimiento) */
.service-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
  margin-bottom: 4.5rem;
  align-items: stretch;
}

.service-plan-card {
  background: #0D0F17;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 2.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.service-plan-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 94, 54, 0.4);
}

.service-plan-card.recommended {
  background: #11141E;
  border-color: var(--accent-orange);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 94, 54, 0.2);
}

.plan-popular-pill {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-orange);
  color: #FFF;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(255, 94, 54, 0.4);
  white-space: nowrap;
}

.plan-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-orange);
  margin-bottom: 0.5rem;
  display: block;
}

.plan-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 0.5rem;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-price-val {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #FFF;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.plan-price-period {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.plan-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex-grow: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: #DDD;
  line-height: 1.5;
}

.plan-feature-item svg {
  color: var(--accent-orange);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Preguntas Frecuentes de Servicios */
.service-faqs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 5rem;
}

.service-faq-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.service-faq-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
}

.service-faq-q {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 0.75rem;
}

.service-faq-a {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===================================================
   AJUSTES DEFINITIVOS PARA MÓVIL: ASISTENTE, MENÚ INFERIOR Y COOKIES
   (AL FINAL DEL FICHERO PARA PRIORIDAD ABSOLUTA EN MÓVIL <= 768PX)
   =================================================== */
@media (max-width: 768px) {
  /* 1. BOTÓN FLOTANTE DE LA GALLETITA EN MÓVIL: ALINEADO A LA MISMA ALTURA DEL ASISTENTE */
  .cookie-badge-btn {
    display: flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
    position: fixed !important;
    bottom: calc(68px + 16px) !important;
    left: 1rem !important;
    right: auto !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: rgba(14, 16, 24, 0.95) !important;
    border: 1px solid rgba(255, 77, 18, 0.45) !important;
    color: #FFF !important;
    font-size: 1.25rem !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 77, 18, 0.25) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    z-index: 9995 !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* 2. BARRA DE NAVEGACIÓN INFERIOR NATIVA (APP BAR) */
  .mobile-bottom-appbar {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 68px !important;
    z-index: 9998 !important;
    background: rgba(10, 11, 16, 0.98) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border-top: 1px solid rgba(255, 77, 18, 0.3) !important;
    box-shadow: 0 -12px 35px rgba(0, 0, 0, 0.95) !important;
  }

  /* 3. ASISTENTE FLOTANTE: FLOTA LIMPIAMENTE A 16PX POR ENCIMA DEL MENÚ INFERIOR */
  .creart-agent-widget {
    display: flex !important;
    position: fixed !important;
    bottom: calc(68px + 16px) !important;
    right: 1rem !important;
    left: auto !important;
    z-index: 9995 !important;
  }

  /* BOTÓN ASISTENTE COMPACTO: PÍLDORA ELEGANTE QUE NO TAPA EL HERO */
  .agent-trigger-btn {
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    padding: 0.55rem 0.95rem !important;
    border-radius: 999px !important;
    background: rgba(14, 16, 24, 0.95) !important;
    border: 1px solid rgba(255, 77, 18, 0.5) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 77, 18, 0.3) !important;
    backdrop-filter: blur(15px) !important;
  }

  .agent-avatar-badge {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.85rem !important;
  }

  .agent-trigger-title {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #FFF !important;
    line-height: 1 !important;
  }

  /* Ocultar el subtítulo largo para que la píldora sea pequeña, moderna y no bloquee contenido */
  .agent-trigger-sub {
    display: none !important;
  }

  /* 4. MODAL DEL CHAT DEL ASISTENTE EN MÓVIL */
  .agent-chat-modal {
    width: calc(100vw - 2rem) !important;
    max-width: 360px !important;
    right: 0 !important;
    bottom: calc(68px + 62px) !important;
    max-height: calc(100vh - 160px) !important;
    z-index: 9996 !important;
  }

  /* 5. BOTÓN VOLVER ARRIBA (SOLO VISIBLE CON SCROLL): FLOTA JUSTO POR ENCIMA DEL ASISTENTE */
  .back-to-top-btn {
    position: fixed !important;
    bottom: calc(68px + 16px + 48px) !important;
    right: 1rem !important;
    left: auto !important;
    width: 38px !important;
    height: 38px !important;
    z-index: 9994 !important;
  }

  /* 6. BANNER DE COOKIES EN MÓVIL */
  .cookie-banner-overlay {
    bottom: calc(68px + 12px) !important;
    left: 0.75rem !important;
    right: 0.75rem !important;
    max-width: none !important;
    z-index: 10005 !important;
  }

  /* 7. ESPACIADO DEL FOOTER */
  .site-footer {
    padding-bottom: calc(95px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* ==========================================================================
   PÁGINA FACTORÍA SAAS / APLICACIONES (/aplicaciones) - 2 COLUMNAS
   ========================================================================== */
.apps-saas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
  margin-bottom: 5rem;
}

@media (max-width: 960px) {
  .apps-saas-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.apps-saas-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 2.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.apps-saas-card:hover {
  border-color: rgba(255, 94, 54, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 94, 54, 0.1);
}

.apps-saas-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
}

@media (max-width: 520px) {
  .apps-saas-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.apps-saas-btn-primary {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  white-space: nowrap !important;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  background: var(--accent-orange);
  color: #FFF;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255, 94, 54, 0.35);
  transition: all 0.25s ease;
}

.apps-saas-btn-primary:hover {
  background: var(--accent-orange-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 94, 54, 0.5);
  color: #FFF;
}

.apps-saas-btn-secondary {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  white-space: nowrap !important;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: #FFF;
  text-decoration: none;
  transition: all 0.25s ease;
}

.apps-saas-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFF;
  transform: translateY(-2px);
}

/* ==========================================================================
   MEGAMENÚ SERVICIOS (DESKTOP INTERACTIVO CON PREVIEW DINÁMICO)
   ========================================================================== */
.nav-wrapper {
  position: relative;
}

.nav-item.has-megamenu {
  position: relative;
}

.nav-item.has-megamenu::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 24px;
}

.megamenu-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(14px);
  width: 960px;
  max-width: calc(100vw - 2.5rem);
  background: rgba(14, 16, 23, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.9), 0 0 45px rgba(255, 94, 54, 0.12);
  display: flex;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease;
  z-index: 1050;
  overflow: hidden;
}

/* Puente invisible para mantener el hover */
.megamenu-panel::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 24px;
}

.nav-item.has-megamenu:hover .megamenu-panel,
.nav-item.has-megamenu:focus-within .megamenu-panel,
.nav-item.has-megamenu.megamenu-open .megamenu-panel,
.megamenu-panel:hover,
.megamenu-panel:focus-within {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.megamenu-left {
  width: 58%;
  padding: 2rem 1.75rem 2rem 2.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
}

.megamenu-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.1rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.megamenu-section-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  text-transform: uppercase;
}

.megamenu-all-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-orange);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.megamenu-all-link:hover {
  color: var(--accent-orange-bright);
  transform: translateX(2px);
}

.megamenu-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.megamenu-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.22s ease;
  cursor: pointer;
}

.megamenu-item:hover,
.megamenu-item.active {
  background: rgba(255, 94, 54, 0.08);
  border-color: rgba(255, 94, 54, 0.25);
  transform: translateX(4px);
}

.megamenu-item-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  flex-shrink: 0;
  transition: all 0.22s ease;
}

.megamenu-item:hover .megamenu-item-icon,
.megamenu-item.active .megamenu-item-icon {
  background: var(--accent-orange);
  color: #FFF;
  border-color: var(--accent-orange);
  box-shadow: 0 4px 12px rgba(255, 94, 54, 0.4);
}

.megamenu-item-info {
  flex: 1;
  min-width: 0;
}

.megamenu-item-title {
  font-size: 0.93rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 0.15rem;
  line-height: 1.25;
}

.megamenu-item:hover .megamenu-item-title,
.megamenu-item.active .megamenu-item-title {
  color: var(--accent-orange);
}

.app-micro-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent-orange);
  background: rgba(255, 94, 54, 0.12);
  border: 1px solid rgba(255, 94, 54, 0.3);
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  margin-left: 0.45rem;
  vertical-align: middle;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.megamenu-item-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.megamenu-item-arrow {
  color: var(--text-dim);
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.megamenu-item:hover .megamenu-item-arrow,
.megamenu-item.active .megamenu-item-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent-orange);
}

/* Columna Derecha Preview */
.megamenu-right {
  width: 42%;
  padding: 2rem 2rem 2rem 1.75rem;
  background: rgba(8, 9, 14, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.megamenu-preview-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.megamenu-preview-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 200px;
  background: #0E1017;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.25rem;
}

.megamenu-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}

.megamenu-preview-box:hover .megamenu-preview-img {
  transform: scale(1.04);
}

.megamenu-preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 16, 23, 0.02) 0%, rgba(14, 16, 23, 0.45) 100%);
  pointer-events: none;
}

.megamenu-preview-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(14, 16, 23, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 94, 54, 0.4);
  color: var(--accent-orange);
  letter-spacing: 0.5px;
}

.megamenu-preview-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.megamenu-preview-category {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-orange);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.megamenu-preview-title {
  font-size: 1.25rem;
  color: #FFF;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.megamenu-preview-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.megamenu-preview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.mm-tag {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: #D1D2DC;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.megamenu-preview-btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  font-size: 0.88rem;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Adaptación móvil del megamenú */
@media (max-width: 1024px) {
  .nav-item.has-megamenu {
    position: relative !important;
  }

  .megamenu-panel {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 94, 54, 0.2) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    display: none !important;
    padding: 0.5rem !important;
    margin-top: 0.5rem !important;
  }

  .nav-item.open-mobile .megamenu-panel {
    display: flex !important;
    flex-direction: column !important;
    animation: accordionSlideDown 0.25s ease forwards;
  }

  .megamenu-left {
    width: 100% !important;
    padding: 0 !important;
    border-right: none !important;
  }

  .megamenu-header-row,
  .megamenu-right {
    display: none !important;
  }

  .megamenu-item {
    padding: 0.65rem 0.75rem !important;
  }

  .megamenu-item-sub {
    display: none !important;
  }
}

/* ==========================================================================
   PORTFOLIO RELACIONADO AL FINAL DE CADA SERVICIO (3 PROYECTOS)
   ========================================================================== */
.service-portfolio-section {
  margin-top: 6rem;
  padding-top: 5rem;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 5rem;
}

.service-portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.service-portfolio-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.6;
  margin-top: 0.75rem;
}

.service-portfolio-all-btn {
  padding: 0.8rem 1.6rem;
  font-size: 0.92rem;
  white-space: nowrap;
}

.service-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .service-portfolio-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.service-portfolio-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-portfolio-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 94, 54, 0.4);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 94, 54, 0.12);
}

.service-portfolio-img-box {
  position: relative;
  height: 240px;
  background: #0E1017;
  overflow: hidden;
}

.service-portfolio-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.45s ease;
}

.service-portfolio-card:hover .service-portfolio-img-box img {
  transform: scale(1.05);
}

.service-portfolio-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(14, 16, 23, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 94, 54, 0.35);
  color: var(--accent-orange);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.service-portfolio-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-portfolio-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.service-portfolio-card-title a {
  color: #FFF;
  text-decoration: none;
  transition: color 0.2s ease;
}

.service-portfolio-card-title a:hover {
  color: var(--accent-orange);
}

.service-portfolio-card-summary {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.service-portfolio-card-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.service-portfolio-btn {
  padding: 0.65rem 1.35rem;
  font-size: 0.86rem;
  white-space: nowrap !important;
}

.service-portfolio-live-link {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.service-portfolio-live-link:hover {
  color: #FFF;
}

/* ==========================================================================
   LIVE VISUAL STUDIO HUD & SEO MANAGER PRO (DISEÑO ULTRA-PREMIUM VANGUARDISTA)
   ========================================================================== */

/* ==========================================================================
   LIVE STUDIO SIDEBAR IZQUIERDO & GESTIÓN NO INVASIVA
   ========================================================================== */

/* Pestañita / Botón Disparador Flotante Izquierdo */
.live-editor-trigger-btn {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%) translateX(-100%);
  z-index: 99998;
  background: rgba(14, 16, 24, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 94, 54, 0.5);
  border-left: none;
  border-radius: 0 16px 16px 0;
  padding: 0.85rem 0.65rem;
  cursor: pointer;
  box-shadow: 8px 0 25px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 94, 54, 0.25);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.admin-editor-active .live-editor-trigger-btn {
  transform: translateY(-50%) translateX(0);
}

.live-editor-trigger-btn:hover {
  background: rgba(255, 94, 54, 0.18);
  border-color: var(--accent-orange);
  box-shadow: 10px 0 30px rgba(255, 94, 54, 0.45);
  padding-right: 0.85rem;
}

.live-trigger-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.live-trigger-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-orange);
  box-shadow: 0 0 12px var(--accent-orange), 0 0 20px rgba(255, 94, 54, 0.6);
  animation: pulseNeonDot 2s infinite ease-in-out;
}

.live-trigger-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #FFF;
}

.live-trigger-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  color: #FFF;
  background: var(--accent-orange);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px var(--accent-orange);
}

/* Sidebar Lateral Izquierdo Desplegable */
.live-editor-sidebar {
  position: fixed;
  top: 0;
  left: -400px;
  width: 360px;
  max-width: 90vw;
  height: 100vh;
  background: rgba(10, 11, 16, 0.96);
  backdrop-filter: blur(35px) saturate(200%);
  -webkit-backdrop-filter: blur(35px) saturate(200%);
  border-right: 1px solid rgba(255, 94, 54, 0.35);
  z-index: 100002;
  box-shadow: 25px 0 60px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  font-family: var(--font-body);
}

.live-editor-sidebar.open {
  left: 0 !important;
}

.live-sidebar-header {
  padding: 1.75rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 94, 54, 0.05);
}

.live-sidebar-neon-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-orange);
  box-shadow: 0 0 14px var(--accent-orange), 0 0 25px rgba(255, 94, 54, 0.6);
  animation: pulseNeonDot 2s infinite ease-in-out;
}

.live-sidebar-brand-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFF;
  margin: 0;
  line-height: 1.2;
}

.live-sidebar-sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-orange);
  font-weight: 700;
  letter-spacing: 0.05em;
  display: block;
}

.live-sidebar-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.live-sidebar-close-btn:hover {
  background: rgba(255, 94, 54, 0.2);
  color: #FFF;
  border-color: var(--accent-orange);
}

.live-sidebar-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1;
}

.live-sidebar-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.live-sidebar-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.25rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  outline: none;
  white-space: nowrap;
}

.live-btn-toggle {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #FFF;
}

.live-btn-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.live-btn-toggle.active {
  background: linear-gradient(135deg, rgba(255, 94, 54, 0.25), rgba(255, 77, 18, 0.15));
  border-color: var(--accent-orange);
  color: var(--accent-orange-bright);
  box-shadow: 0 0 20px rgba(255, 94, 54, 0.3);
}

.live-btn-save {
  background: var(--gradient-accent-orange);
  color: #FFF;
  border: none;
  box-shadow: 0 4px 18px rgba(255, 94, 54, 0.45);
}

.live-btn-save:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 94, 54, 0.65);
}

.live-btn-save:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
  transform: none !important;
}

.live-btn-seo {
  background: rgba(0, 240, 255, 0.08);
  border-color: rgba(0, 240, 255, 0.3);
  color: #00F0FF;
}

.live-btn-seo:hover {
  background: rgba(0, 240, 255, 0.16);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.3);
  transform: translateY(-1px);
}

.live-sidebar-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 9, 14, 0.6);
}

.live-sidebar-exit-btn {
  width: 100%;
  padding: 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.live-sidebar-exit-btn:hover {
  color: #FF5F56;
  border-color: #FF5F56;
  background: rgba(255, 95, 86, 0.12);
}

.live-editor-changes-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.live-editor-changes-badge.has-changes {
  color: #FFF;
  background: rgba(255, 94, 54, 0.25);
  border-color: var(--accent-orange);
  box-shadow: 0 0 15px rgba(255, 94, 54, 0.4);
}

/* Indicadores de elementos editables en vivo */
body.live-editing-enabled [contenteditable="true"] {
  outline: 1.5px dashed rgba(255, 94, 54, 0.6) !important;
  outline-offset: 4px;
  cursor: text !important;
  border-radius: 6px;
  transition: all 0.2s ease;
}

body.live-editing-enabled [contenteditable="true"]:hover {
  outline: 2px solid var(--accent-orange) !important;
  background: rgba(255, 94, 54, 0.08) !important;
  box-shadow: 0 0 20px rgba(255, 94, 54, 0.25);
}

body.live-editing-enabled [contenteditable="true"]:focus {
  outline: 2px solid var(--accent-orange-bright) !important;
  background: rgba(255, 94, 54, 0.12) !important;
  box-shadow: 0 0 25px rgba(255, 94, 54, 0.4);
}

/* Mini Toolbar Flotante de Formato Rápido */
.live-format-toolbar {
  position: absolute;
  background: rgba(14, 16, 24, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 94, 54, 0.4);
  border-radius: 14px;
  padding: 5px;
  display: none;
  gap: 4px;
  z-index: 100005;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 94, 54, 0.25);
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s;
}

.live-format-toolbar.visible {
  display: flex;
  align-items: center;
  transform: translateY(0);
}

.fmt-btn {
  background: transparent;
  border: none;
  color: #E2E3EB;
  font-size: 0.85rem;
  font-weight: 700;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.fmt-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFF;
}

/* Botón flotante para cambiar imagen */
.live-image-overlay-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(14, 16, 24, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--accent-orange);
  color: #FFF;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  z-index: 50;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7), 0 0 15px rgba(255, 94, 54, 0.3);
  transition: all 0.2s ease;
}

.live-image-overlay-btn:hover {
  background: var(--accent-orange);
  transform: scale(1.06);
  box-shadow: 0 10px 30px rgba(255, 94, 54, 0.6);
}

/* Modal de cambio de imagen */
.live-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 100010;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.live-modal-backdrop.active {
  display: flex;
}

.live-modal-card {
  background: #0E1017;
  border: 1px solid rgba(255, 94, 54, 0.4);
  border-radius: 24px;
  width: 100%;
  max-width: 540px;
  padding: 2.25rem;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.95), 0 0 50px rgba(255, 94, 54, 0.25);
}

.live-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.live-modal-header h4 {
  font-size: 1.25rem;
  color: #FFF;
  margin: 0;
  font-weight: 800;
}

.live-modal-footer {
  margin-top: 1.75rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.85rem;
}

/* ==========================================================================
   DRAWER LATERAL SEO MANAGER PRO (SNIPPET GOOGLE + HEALTH CHECK)
   ========================================================================== */
.live-seo-drawer {
  position: fixed;
  top: 0;
  right: -560px;
  width: 520px;
  max-width: 100vw;
  height: 100vh;
  background: rgba(10, 11, 16, 0.97);
  backdrop-filter: blur(35px) saturate(200%);
  -webkit-backdrop-filter: blur(35px) saturate(200%);
  border-left: 1px solid rgba(255, 94, 54, 0.35);
  z-index: 100005;
  box-shadow: -25px 0 60px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.live-seo-drawer.active,
.live-seo-drawer.open {
  right: 0 !important;
}

.live-seo-header {
  padding: 1.75rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 94, 54, 0.05);
}

.live-seo-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

/* Previsualización exacta de Google SERP Snippet */
.google-serp-preview {
  background: #1F2024;
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid #3c4043;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.google-serp-url-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.google-serp-favicon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-orange);
  color: #FFF;
  font-weight: 800;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.google-serp-domain {
  font-size: 0.8rem;
  color: #dadce0;
  font-weight: 600;
}

.google-serp-breadcrumb {
  font-size: 0.72rem;
  color: #bdc1c6;
  font-family: var(--font-mono);
}

.google-serp-title {
  font-size: 1.15rem;
  color: #8ab4f8;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 0.45rem;
  word-break: break-word;
  cursor: pointer;
}

.google-serp-title:hover {
  text-decoration: underline;
}

.google-serp-snippet {
  font-size: 0.86rem;
  color: #bdc1c6;
  line-height: 1.5;
  word-break: break-word;
}

/* Formulario SEO */
.live-seo-input,
.live-seo-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #FFF;
  font-size: 0.9rem;
  outline: none;
  font-family: var(--font-body);
  transition: all 0.2s ease;
}

.live-seo-textarea {
  min-height: 90px;
  resize: vertical;
}

.live-seo-input:focus,
.live-seo-textarea:focus {
  border-color: var(--accent-orange);
  background: rgba(255, 94, 54, 0.03);
  box-shadow: 0 0 15px rgba(255, 94, 54, 0.2);
}

/* Auditoría Checklist On-Page */
.live-seo-checklist {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.seo-check-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.seo-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
  color: #FFF;
}

.seo-check-item.valid .seo-check-icon {
  background: rgba(37, 211, 102, 0.2);
  color: #25D366;
}

.seo-check-item.valid .seo-check-text {
  color: #FFF;
}

.seo-check-item.warning .seo-check-icon {
  background: rgba(255, 95, 86, 0.2);
  color: #FF5F56;
}

.seo-check-item.warning .seo-check-text {
  color: #FF8F87;
}

.live-seo-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  background: rgba(8, 9, 14, 0.8);
}

/* ==========================================================================
   TOAST NOTIFICATION MODERNA (ALERTAS ELEGANTES CREART STUDIO)
   ========================================================================== */
.creart-toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100020;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.creart-toast {
  pointer-events: auto;
  min-width: 320px;
  max-width: 420px;
  background: rgba(14, 16, 24, 0.94);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 1rem 1.25rem;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 94, 54, 0.2);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.creart-toast.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.creart-toast.hide {
  transform: translateY(-15px) scale(0.92);
  opacity: 0;
}

.creart-toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.15rem;
}

.creart-toast.success {
  border-color: rgba(37, 211, 102, 0.4);
}
.creart-toast.success .creart-toast-icon {
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.3);
}

.creart-toast.error {
  border-color: rgba(255, 95, 86, 0.4);
}
.creart-toast.error .creart-toast-icon {
  background: rgba(255, 95, 86, 0.15);
  color: #FF5F56;
  box-shadow: 0 0 15px rgba(255, 95, 86, 0.3);
}

.creart-toast.info {
  border-color: rgba(0, 240, 255, 0.4);
}
.creart-toast.info .creart-toast-icon {
  background: rgba(0, 240, 255, 0.15);
  color: #00F0FF;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.creart-toast-content {
  flex: 1;
}

.creart-toast-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFF;
  margin: 0 0 0.2rem 0;
  line-height: 1.3;
}

.creart-toast-message {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

.creart-toast-close {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 0.2rem;
  border-radius: 6px;
  line-height: 1;
  font-size: 1.1rem;
  transition: color 0.15s;
}

.creart-toast-close:hover {
  color: #FFF;
}

.creart-toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), #FF8533);
  width: 100%;
  transform-origin: left;
  animation: toastProgress 3.8s linear forwards;
}

.creart-toast.success .creart-toast-progress {
  background: linear-gradient(90deg, #25D366, #00F0FF);
}

.creart-toast.error .creart-toast-progress {
  background: #FF5F56;
}

@keyframes toastProgress {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

/* ==========================================================================
   SECCIÓN DE PLUGINS WORDPRESS PROPIETARIOS EN LA HOME & MARKETPLACE
   ========================================================================== */

.home-plugins-section {
  padding: 7rem 0 6rem;
  background: linear-gradient(180deg, rgba(8, 9, 14, 0.4) 0%, rgba(18, 20, 30, 0.8) 50%, rgba(8, 9, 14, 0.9) 100%);
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.home-plugins-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 77, 18, 0.08) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(80px);
}

.home-plugins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.home-plugin-card {
  background: #11131c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.home-plugin-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 77, 18, 0.45);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 25px rgba(255, 77, 18, 0.15);
}

.home-plugin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.home-plugin-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 77, 18, 0.15);
  color: var(--accent-orange);
  border: 1px solid rgba(255, 77, 18, 0.3);
}

.home-plugin-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #FFF;
}

.home-plugin-title {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.home-plugin-title a {
  color: #FFF;
  text-decoration: none;
  transition: color 0.2s;
}

.home-plugin-title a:hover {
  color: var(--accent-orange);
}

.home-plugin-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.home-plugin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1.25rem;
}

.home-plugin-meta span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 600;
}

.home-plugin-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* STRIP HORIZONTAL DE GARANTÍAS DE PLUGINS */
.home-plugins-trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  background: #0d0f17;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 2rem;
}

.trust-strip-item {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
}

.trust-strip-icon {
  font-size: 1.8rem;
  line-height: 1;
  background: rgba(255, 77, 18, 0.1);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 77, 18, 0.25);
  flex-shrink: 0;
}

.trust-strip-item strong {
  display: block;
  font-size: 1.05rem;
  color: #FFF;
  margin-bottom: 0.35rem;
}

.trust-strip-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   ESTILOS DE LA PÁGINA MARKETPLACE / TIENDA DE PLUGINS (/plugins)
   ========================================================================== */

.plugins-hero-section {
  padding: 8.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.plugins-guarantees-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 1rem;
}

.plugin-pill-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: #FFF;
  font-weight: 600;
}

.plugins-marketplace-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.plugin-market-card {
  background: #11131c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.plugin-market-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 77, 18, 0.45);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 77, 18, 0.15);
}

.plugin-badge-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.plugin-cat-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
}

.plugin-feat-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background: rgba(255, 77, 18, 0.15);
  color: var(--accent-orange);
  border: 1px solid rgba(255, 77, 18, 0.3);
}

.plugin-card-title {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.plugin-card-title a {
  color: #FFF;
  text-decoration: none;
}

.plugin-card-title a:hover {
  color: var(--accent-orange);
}

.plugin-card-tagline {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.plugin-card-features ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.plugin-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: #FFF;
  line-height: 1.45;
}

.plugin-card-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 1.5rem;
}

.spec-col span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.spec-col strong {
  display: block;
  font-size: 0.82rem;
  color: #FFF;
  margin-top: 0.15rem;
}

.plugin-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.plugin-card-price-box {
  display: flex;
  flex-direction: column;
}

.plugin-card-price {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 900;
  color: #FFF;
  line-height: 1;
}

.plugin-card-pricetag {
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* ==========================================================================
   ESTILOS DE LA FICHA INDIVIDUAL DE PLUGIN (/plugins/:slug)
   ========================================================================== */

.plugin-detail-page {
  position: relative;
  overflow: hidden;
}

.plugin-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.plugin-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.plugin-breadcrumb a:hover {
  color: var(--accent-orange);
}

.plugin-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

@media (max-width: 992px) {
  .plugin-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.plugin-tech-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
}

.tech-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.tech-val {
  display: block;
  font-size: 0.95rem;
  color: #FFF;
  font-weight: 700;
}

.plugin-buy-card {
  background: #11131c;
  border: 1px solid rgba(255, 77, 18, 0.35);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 77, 18, 0.12);
  position: sticky;
  top: 6rem;
}

.plugin-price-big {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 900;
  color: #FFF;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.plugin-buy-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.plugin-buy-perks li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #FFF;
  line-height: 1.45;
}

.plugin-buy-perks code {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  color: var(--accent-orange);
}

/* ==========================================================================
   BOTÓN DEL CARRITO EN LA CABECERA (HEADER CART)
   ========================================================================== */

.header-cart-btn {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFF;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.header-cart-btn:hover {
  background: rgba(255, 77, 18, 0.15);
  border-color: rgba(255, 77, 18, 0.4);
  color: var(--accent-orange);
  transform: translateY(-2px);
}

.header-cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--accent-orange);
  color: #FFF;
  font-size: 0.7rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(255, 77, 18, 0.6);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.header-cart-badge.bump {
  transform: scale(1.35);
}

/* ==========================================================================
   DRAWER LATERAL DEL CARRITO DE COMPRA (CREART SIDE CART)
   ========================================================================== */

.creart-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.creart-cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.creart-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: #0f1118;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.creart-cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #141722;
}

.cart-drawer-icon {
  font-size: 1.5rem;
}

.cart-drawer-title {
  font-size: 1.15rem;
  color: #FFF;
  margin: 0;
  font-weight: 700;
}

.cart-drawer-sub {
  font-size: 0.75rem;
  color: var(--text-dim);
  display: block;
}

.cart-drawer-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s;
}

.cart-drawer-close:hover {
  background: rgba(255, 77, 18, 0.2);
  color: #FFF;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-empty-state {
  margin: auto;
  text-align: center;
  padding: 3rem 1rem;
}

.cart-empty-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.cart-empty-state h4 {
  font-size: 1.25rem;
  color: #FFF;
  margin-bottom: 0.5rem;
}

.cart-empty-state p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 260px;
  margin: 0 auto;
}

/* ITEM DEL CARRITO */
.cart-item-card {
  background: #151824;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  transition: border-color 0.2s;
}

.cart-item-card:hover {
  border-color: rgba(255, 77, 18, 0.35);
}

.cart-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.cart-item-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #FFF;
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.cart-item-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent-orange);
  background: rgba(255, 77, 18, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.cart-item-remove-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.2rem;
  transition: color 0.15s;
}

.cart-item-remove-btn:hover {
  color: #FF5E57;
}

.cart-item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.cart-item-qty {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.cart-item-price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFF;
}

/* FOOTER DEL CARRITO */
.cart-drawer-footer {
  padding: 1.5rem 1.75rem;
  background: #141722;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cart-summary-row.total-row {
  font-size: 1.15rem;
  color: #FFF;
  font-weight: 700;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.cart-summary-row.total-row strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--accent-orange);
}

.cart-checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.cart-pay-btn {
  width: 100%;
  padding: 1rem;
  font-size: 0.98rem;
  border-radius: 12px;
  justify-content: center;
}

.cart-wa-btn {
  width: 100%;
  padding: 0.8rem;
  font-size: 0.88rem;
  border-radius: 12px;
  justify-content: center;
  color: #25D366;
  border-color: rgba(37, 211, 102, 0.35);
  background: rgba(37, 211, 102, 0.05);
}

.cart-wa-btn:hover {
  background: rgba(37, 211, 102, 0.15);
  border-color: #25D366;
}

.cart-security-badge {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

/* ==========================================================================
   MODAL DE DESCARGA DIRECTA DE ARCHIVOS TRAS EL PAGO
   ========================================================================== */

.download-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.download-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.download-modal-window {
  background: #11131c;
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: 24px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 40px rgba(37, 211, 102, 0.15);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.download-modal-backdrop.open .download-modal-window {
  transform: scale(1);
}

.download-modal-header {
  padding: 1.75rem 2rem;
  background: #151824;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.download-modal-body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}

.download-items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.download-item-card {
  background: #151926;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  transition: border-color 0.2s;
}

.download-item-card:hover {
  border-color: rgba(255, 77, 18, 0.4);
}

.download-modal-footer {
  padding: 1.25rem 2rem;
  background: #151824;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
}








