/* ====================================================
   OLPA GROUP — olpa.css
   Hoja de estilos compartida para todos los mockups y el theme WP.
   Importar con: <link rel="stylesheet" href="../../design-system/olpa.css">
   (ajustar ruta relativa según profundidad de la página)

   NO modificar esta hoja para estilos específicos de una página.
   El CSS propio de cada página va en el <style> de ese index.html.
   ==================================================== */

/* =====================================================
   1. TOKENS — variables CSS (fuente de verdad)
   ===================================================== */
:root {
  /* Fondos */
  --bg:        #07070C;
  --bg-2:      #0A0A12;
  --surface:   #12121C;
  --surface-2: #181826;

  /* Marca */
  --olpa:      #FFD60A;
  --olpa-soft: #FFE85C;
  --accent:    #00E5FF;
  --accent-2:  #0099FF;

  /* Texto */
  --text:   #F5F5F7;
  --muted:  #8A8A99;

  /* Bordes */
  --border: rgba(255, 255, 255, 0.08);

  /* Tipografías */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Pesos */
  --fw-light:    300;
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;

  /* Letter spacing */
  --ls-display: -0.02em;
  --ls-label:    0.15em;
  --ls-wider:    0.20em;

  /* Radios */
  --radius-sm:   14px;
  --radius-md:   18px;
  --radius-lg:   24px;
  --radius-full: 999px;

  /* Section padding */
  --section-py-mobile:   80px;
  --section-py-tablet:  112px;
  --section-py-desktop: 128px;

  /* Animación */
  --ease-out:      cubic-bezier(0.2, 0.8, 0.2, 1);
  --duration-fast: 0.3s;
  --duration-base: 0.5s;
  --duration-slow: 1.1s;

  /* Sombras */
  --shadow-glow-olpa: 0 0 40px rgba(255, 214, 10, 0.35),  0 0 80px rgba(255, 214, 10, 0.15);
  --shadow-glow-cyan: 0 0 40px rgba(0, 229, 255, 0.35),   0 0 80px rgba(0, 229, 255, 0.15);
  --shadow-card:      0 40px 80px rgba(0, 0, 0, 0.6),     0 0 60px rgba(255, 214, 10, 0.12);
  --shadow-btn:       0 25px 60px rgba(255, 214, 10, 0.5), 0 0 80px rgba(255, 214, 10, 0.4);

  /* Z-index */
  --z-noise:     1;
  --z-spotlight: 2;
  --z-nav:       50;
  --z-wa:        60;
  --z-cursor:    9999;
  --z-progress:  9998;
}

/* =====================================================
   2. RESET + BASE
   ===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  /* overflow-x: clip (no hidden) — clip no crea un contexto de scroll y por
     tanto no rompe position: sticky en descendientes como el sidebar del blog. */
  overflow-x: clip;
  line-height: 1.6;
}

html.lenis { height: auto; }

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }

/* Reset de márgenes de navegadores — preflight está deshabilitado en Tailwind */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
}
p, ul, ol, blockquote, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }

::-webkit-scrollbar              { width: 8px; }
::-webkit-scrollbar-track        { background: var(--bg); }
::-webkit-scrollbar-thumb        { background: linear-gradient(180deg, var(--olpa), var(--accent)); border-radius: 4px; }

/* =====================================================
   3. UTILIDADES DE COLOR Y TIPO
   ===================================================== */
.text-olpa    { color: var(--olpa); }
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--muted); }
.bg-olpa      { background-color: var(--olpa); }

.font-display { font-family: var(--font-display); letter-spacing: var(--ls-display); }
.font-mono    { font-family: var(--font-mono); }

.glow-olpa    { box-shadow: var(--shadow-glow-olpa); }
.glow-cyan    { box-shadow: var(--shadow-glow-cyan); }

/* Estado inicial para animaciones GSAP */
.rv  { opacity: 0; transform: translateY(30px); }
.sc  { opacity: 0; transform: scale(0.92); }

/* =====================================================
   4. FONDO GLOBAL — Grid animado (secciones interiores)
   ===================================================== */
.bg-grid {
  background-image:
    linear-gradient(rgba(255, 214, 10, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: bgGridMove 40s linear infinite;
}
@keyframes bgGridMove {
  from { background-position: 0 0; }
  to   { background-position: 60px 60px; }
}

/* Noise overlay — posición fixed, no interfiere con contenido */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: var(--z-noise);
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Mouse spotlight */
.mouse-spotlight {
  position: fixed;
  top: 0; left: 0;
  width: 700px; height: 700px;
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-spotlight);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 214, 10, 0.07), rgba(0, 229, 255, 0.03) 30%, transparent 60%);
  mix-blend-mode: screen;
}

/* Barra de progreso de scroll */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--olpa), var(--accent));
  z-index: var(--z-progress);
  width: 0;
  box-shadow: 0 0 20px var(--olpa);
}

/* =====================================================
   5. HERO — Fondo galáctico profundo
   ===================================================== */
.hero-bg {
  background:
    radial-gradient(ellipse at 50% 0%,   #14142A 0%, transparent 60%),
    radial-gradient(ellipse at 20% 90%,  #0C0C1E 0%, transparent 55%),
    radial-gradient(ellipse at 80% 90%,  #0A0A18 0%, transparent 55%),
    linear-gradient(180deg, #050510 0%,  #030308 100%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 3;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 214, 10, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 85%);
  animation: heroGridDrift 60s linear infinite;
}
@keyframes heroGridDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 70px 70px, 70px 70px; }
}

/* =====================================================
   6. BOTONES
   ===================================================== */

/* --- Primario: amarillo sólido + shimmer --- */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--olpa);
  color: #000;
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: 15px;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  border: none;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: translateX(-100%);
  transition: transform 0.7s ease;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover::before { transform: translateX(100%); }

/* --- Ghost: borde sutil + hover cian --- */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--border);
  padding: 15px 30px;
  border-radius: var(--radius-full);
  color: var(--text);
  background: transparent;
  font-family: var(--font-body);
  font-size: 15px;
  cursor: pointer;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.3);
}

/* --- Draw: borde SVG que se dibuja en hover --- */
.btn-draw {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  position: relative;
  color: var(--text);
  background: transparent;
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: 15px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255, 214, 10, 0.2);
  overflow: visible;
  transition: color 0.4s ease, border-color 0.4s ease;
}
.btn-draw .draw-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.btn-draw .draw-svg rect {
  width: 100%; height: 100%;
  fill: none;
  stroke: var(--olpa);
  stroke-width: 2;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn-draw:hover { color: var(--olpa); border-color: transparent; }
.btn-draw:hover .draw-svg rect { stroke-dashoffset: 0; }

/* =====================================================
   7. GLASS
   ===================================================== */
.glass {
  background: rgba(18, 18, 28, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.glass-hover {
  transition: all 0.5s var(--ease-out);
  position: relative;
}
.glass-hover::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    transparent,
    rgba(255, 214, 10, 0.4),
    transparent,
    rgba(0, 229, 255, 0.4),
    transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.glass-hover:hover::before  { opacity: 1; }
.glass-hover:hover {
  background: rgba(24, 24, 38, 0.8);
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
}

/* Spotlight de cursor dentro del card */
.glass-hover .spot {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle 200px at var(--mx, 50%) var(--my, 50%),
    rgba(255, 214, 10, 0.1),
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: inherit;
}
.glass-hover:hover .spot { opacity: 1; }

/* =====================================================
   8. SECTION TAG
   ===================================================== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--accent);
  background: rgba(0, 229, 255, 0.05);
  backdrop-filter: blur(10px);
  /* Espacio entre el tag y el título que sigue — no delegado a Tailwind */
  margin-bottom: 12px !important;
}
.section-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: tagPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes tagPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(1.4); }
}

/* Variante hero — amarillo OLPA (para hero principal y CTAs) */
.section-tag--hero {
  background: linear-gradient(135deg, rgba(255,214,10,0.12), rgba(0,229,255,0.08));
  border-color: rgba(255,214,10,0.3);
  color: var(--olpa);
}
.section-tag--hero .dot {
  background: var(--olpa);
  box-shadow: 0 0 10px var(--olpa);
}

/* =====================================================
   9. BADGES & LABELS
   ===================================================== */

/* Contador de paso (01 —) */
.num-badge {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 11px;
  letter-spacing: var(--ls-wider);
}

/* Etiqueta de categoría (+ Industrias, Beta) */
.area-num {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--olpa);
  background: rgba(255, 214, 10, 0.08);
  border: 1px solid rgba(255, 214, 10, 0.25);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
}

/* Número decorativo de fondo (metodología) */
.metodologia-num {
  position: absolute;
  top: -18px;
  right: -8px;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 100px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 214, 10, 0.18);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}

/* Pill de herramienta */
.tool-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}
.tool-pill.olpa   { color: var(--olpa);   border-color: rgba(255, 214, 10, 0.3); }
.tool-pill.accent { color: var(--accent); border-color: rgba(0, 229, 255, 0.3); }

/* =====================================================
   10. ICON BOX
   ===================================================== */
.icon-box {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* Valores actualizados para coincidir con los inline styles que usaban los patrones */
.icon-box.olpa  { background: rgba(255, 214, 10, 0.12); border: 1px solid rgba(255, 214, 10, 0.35); color: var(--olpa); }
.icon-box.cyan  { background: rgba(0, 229, 255, 0.08);  border: 1px solid rgba(0, 229, 255, 0.3);   color: var(--accent); }
.icon-box.muted { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); color: var(--muted); }

/* =====================================================
   11. FORMULARIOS
   ===================================================== */
.form-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: var(--muted);
  margin-bottom: 8px;
  display: block;
}
.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  transition: all 0.4s ease;
  font-family: var(--font-body);
  font-size: 15px;
}
.form-input:focus {
  outline: none;
  border-color: var(--olpa);
  background: rgba(255, 214, 10, 0.04);
  box-shadow: 0 0 0 4px rgba(255, 214, 10, 0.08), 0 0 30px rgba(255, 214, 10, 0.15);
  transform: translateY(-1px);
}
.form-input::placeholder { color: var(--muted); }
.form-input option { background: var(--surface); color: var(--text); }

/* Mensaje de feedback del formulario */
.olpa-form-msg {
  font-size: 14px;
  line-height: 1.5;
  border-radius: 12px;
  padding: 12px 16px;
}
.olpa-form-msg.success {
  background: rgba(0, 229, 100, 0.08);
  border: 1px solid rgba(0, 229, 100, 0.25);
  color: #4ade80;
}
.olpa-form-msg.error {
  background: rgba(255, 60, 60, 0.08);
  border: 1px solid rgba(255, 60, 60, 0.25);
  color: #f87171;
}

/* =====================================================
   12. NAVBAR
   ===================================================== */
.nav-shell { transition: padding 0.4s ease; }
.nav-shell.scrolled { padding-top: 14px; padding-bottom: 14px; }

.nav-glass {
  background: rgba(7, 7, 12, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px 14px 28px;
  min-height: 76px;
  position: relative;
}
.nav-shell.scrolled .nav-glass { min-height: 64px; padding: 10px 20px 10px 24px; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-item  { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 11px;
  font-size: 13px;
  font-weight: var(--fw-medium);
  color: var(--text);
  border-radius: 12px;
  transition: color 0.3s ease, background 0.3s ease;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 11px; right: 11px; bottom: 6px;
  height: 2px;
  background: var(--olpa);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease-out);
  border-radius: 2px;
}
.nav-link:hover              { color: var(--olpa); }
.nav-link:hover::after       { transform: scaleX(1); }
.nav-link .chev              { width: 14px; height: 14px; transition: transform 0.3s ease; }
.nav-item:hover .chev        { transform: rotate(180deg); }

/* Dropdown base */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  margin-top: 12px;
  min-width: 320px;
  background: rgba(10, 10, 18, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s var(--ease-out);
  pointer-events: none;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 214, 10, 0.08);
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -20px; left: 0; right: 0;
  height: 20px;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Variantes de dropdown */
.nav-mega      { min-width: 360px; }
.nav-mega-wide { min-width: 580px; }
.nav-mega-wide.nav-dropdown { left: auto; right: 0; transform: translateY(10px); }
.nav-item:hover .nav-mega-wide.nav-dropdown { transform: translateY(0); }
.nav-mega-2col  { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav-mega-tools { min-width: 340px; }

/* Fila de ítem en dropdown */
.nav-drop-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  transition: background 0.3s ease, transform 0.3s ease;
  color: var(--text);
}
.nav-drop-item:hover { background: rgba(255, 214, 10, 0.08); transform: translateX(4px); }
.nav-drop-item .drop-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255, 214, 10, 0.08);
  border: 1px solid rgba(255, 214, 10, 0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--olpa);
  flex-shrink: 0;
}
.nav-drop-item.accent .drop-icon {
  background: rgba(0, 229, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.2);
  color: var(--accent);
}
.nav-drop-item .drop-title { font-size: 13px; font-weight: var(--fw-semibold); margin-bottom: 2px; }
.nav-drop-item .drop-desc  { font-size: 11px; color: var(--muted); line-height: 1.4; }

/* Grid de herramientas */
.nav-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 4px 0;
}
.nav-tool-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 12px;
  transition: background 0.3s ease;
  color: var(--text);
  text-align: center;
  cursor: pointer;
  text-decoration: none;
}
.nav-tool-item:hover { background: rgba(255, 255, 255, 0.05); }
.nav-tool-logo {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  transition: transform 0.3s ease;
}
.nav-tool-item:hover .nav-tool-logo { transform: scale(1.08); }
.nav-tool-item > span:not(.nav-tool-badge) { font-size: 11px; font-weight: var(--fw-medium); }
.nav-tool-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  background: rgba(255, 214, 10, 0.12);
  color: var(--olpa);
  border: 1px solid rgba(255, 214, 10, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.08em;
}

/* Sección "Ver más" expandible */
.nav-more-section  { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 8px; }
.nav-more-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  background: none;
  cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease;
  border: none;
  font-family: var(--font-body);
}
.nav-more-btn:hover          { color: var(--olpa); background: rgba(255, 214, 10, 0.04); }
.nav-more-btn svg            { transition: transform 0.3s ease; }
.nav-more-btn.open svg       { transform: rotate(180deg); }
.nav-more-items              { display: none; padding-top: 6px; }
.nav-more-items.open         { display: block; }

/* CTA de la navbar */
@property --cta-ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

.nav-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: linear-gradient(135deg, var(--olpa-soft), var(--olpa));
  color: #000;
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: 13px;
  border-radius: var(--radius-full);
  border: none;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
  box-shadow: 0 12px 35px rgba(255, 214, 10, 0.35), 0 0 50px rgba(255, 214, 10, 0.15), inset 0 0 20px rgba(255, 255, 255, 0.2);
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
}
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: translateX(-100%);
  animation: ctaShine 3.5s ease-in-out infinite;
}
@keyframes ctaShine {
  0%, 60% { transform: translateX(-100%); }
  80%, 100% { transform: translateX(100%); }
}
.nav-cta::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: conic-gradient(from var(--cta-ang, 0deg), var(--olpa), var(--accent), var(--olpa));
  z-index: -1;
  opacity: 0.5;
  animation: ctaAuraRotate 4s linear infinite;
  filter: blur(4px);
}
@keyframes ctaAuraRotate { to { --cta-ang: 360deg; } }
.nav-cta:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 20px 55px rgba(255, 214, 10, 0.55), 0 0 80px rgba(255, 214, 10, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.3);
}
.nav-cta:hover::after { opacity: 0.85; }
.nav-cta .cta-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-cta .cta-icon svg { width: 16px; height: 16px; animation: ctaRing 1.6s ease-in-out infinite; }
@keyframes ctaRing {
  0%, 100% { transform: rotate(0); }
  10%       { transform: rotate(-15deg); }
  20%       { transform: rotate(12deg); }
  30%       { transform: rotate(-10deg); }
  40%       { transform: rotate(8deg); }
  50%       { transform: rotate(0); }
}

/* Hamburguesa mobile */
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
}

@media (max-width: 1023px) {
  .nav-links  { display: none; }
  .nav-burger { display: flex; }
  .nav-glass  { min-height: 64px; padding: 10px 16px; }
  .nav-cta    { padding: 10px 18px; font-size: 12px; }
}

/* =====================================================
   12b. MOBILE DRAWER (menú hamburguesa)
   ===================================================== */

/* Backdrop oscuro que cubre todo el viewport cuando el drawer está abierto */
.nav-mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(5, 5, 10, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-mobile-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

/* Drawer lateral — slide desde la derecha */
.nav-mobile {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(92vw, 420px);
  z-index: 9999;
  background: linear-gradient(180deg, var(--surface), var(--bg));
  border-left: 1px solid var(--border);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.45);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.nav-mobile.is-open {
  transform: translateX(0);
}

/* Header: logo + botón cerrar */
.nav-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.nav-mobile-logo img {
  height: 26px;
  width: auto;
}
.nav-mobile-close {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.nav-mobile-close:hover {
  background: rgba(255, 214, 10, 0.08);
  border-color: rgba(255, 214, 10, 0.3);
  color: var(--olpa);
}

/* Cuerpo scrollable */
.nav-mobile-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 14px;
}

/* Cada grupo (item del nav + su panel colapsable) */
.nav-mobile-group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.nav-mobile-group:last-child {
  border-bottom: none;
}

/* Trigger del acordeón */
.nav-mobile-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 14px;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.2s ease;
}
.nav-mobile-accordion-trigger:hover {
  background: rgba(255, 214, 10, 0.05);
}
.nav-mobile-accordion-trigger .nav-mobile-chev {
  color: var(--muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.nav-mobile-group.is-expanded .nav-mobile-accordion-trigger {
  color: var(--olpa);
}
.nav-mobile-group.is-expanded .nav-mobile-chev {
  transform: rotate(180deg);
  color: var(--olpa);
}

/* Link directo (sin dropdown, ej. Portfolio) */
.nav-mobile-direct {
  display: block;
  padding: 18px 14px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: 15px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-mobile-direct:hover {
  background: rgba(255, 214, 10, 0.05);
  color: var(--olpa);
}

/* Panel colapsable */
.nav-mobile-panel {
  display: none;
  padding: 4px 6px 14px;
}
.nav-mobile-group.is-expanded .nav-mobile-panel {
  display: block;
  animation: navMobileExpand 0.3s ease;
}
@keyframes navMobileExpand {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Items dentro del panel (clones de .nav-drop-item / .nav-tool-item) */
.nav-mobile-panel .nav-mobile-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 12px;
  border-radius: 10px;
  color: var(--text);
  transition: background 0.2s ease;
  margin-bottom: 2px;
}
.nav-mobile-panel .nav-mobile-item:hover {
  background: rgba(255, 214, 10, 0.05);
}
.nav-mobile-panel .nav-mobile-item .drop-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}
.nav-mobile-panel .nav-mobile-item .drop-title {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  margin-bottom: 2px;
}
.nav-mobile-panel .nav-mobile-item .drop-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
/* Tools — ajuste de layout compacto */
.nav-mobile-panel .nav-mobile-item.nav-tool-item {
  flex-direction: row;
  padding: 10px 12px;
}
.nav-mobile-panel .nav-mobile-item.nav-tool-item .nav-tool-logo {
  width: 36px; height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}
.nav-mobile-panel .nav-mobile-item.nav-tool-item > span {
  font-size: 14px;
}
.nav-mobile-panel .nav-mobile-item.nav-tool-item .nav-tool-badge {
  margin-left: auto;
}
/* Ocultar el "Ver más" del desktop en mobile (ya aplanamos todo) */
.nav-mobile-panel .nav-more-section,
.nav-mobile-panel .nav-more-btn {
  display: none;
}

/* Footer con CTA */
.nav-mobile-footer {
  padding: 18px 22px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.nav-mobile-footer .nav-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 14px 22px;
  font-size: 14px;
}

/* =====================================================
   13. WHATSAPP BUBBLE
   ===================================================== */
.wa-bubble {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: var(--z-wa);
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 50px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: waPing 2.2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  transition: transform 0.4s var(--ease-out);
  cursor: pointer;
  text-decoration: none;
}
.wa-bubble:hover { transform: scale(1.1) rotate(-8deg); }
.wa-bubble svg   { width: 30px; height: 30px; }
.wa-bubble::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.35);
  animation: waRing 2.2s ease-out infinite;
}
@keyframes waPing {
  0%, 100% { box-shadow: 0 20px 50px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50%       { box-shadow: 0 20px 50px rgba(37, 211, 102, 0.5),  0 0 0 14px rgba(37, 211, 102, 0); }
}
@keyframes waRing {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}

.wa-bubble-tooltip {
  position: absolute;
  right: 74px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: rgba(7, 7, 12, 0.95);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  padding: 10px 16px;
  border-radius: 12px;
  white-space: nowrap;
  font-size: 12px;
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;
}
.wa-bubble-tooltip::after {
  content: '';
  position: absolute;
  right: -6px; top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px; height: 10px;
  background: rgba(7, 7, 12, 0.95);
  border-right: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.wa-bubble:hover .wa-bubble-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 640px) {
  .wa-bubble      { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .wa-bubble svg  { width: 26px; height: 26px; }
}

/* =====================================================
   14. MARQUEE
   ===================================================== */
.marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 60px;
  padding-right: 60px;
  white-space: nowrap;
}
.marquee-track.left  { animation: marqueeLeft  50s linear infinite; }
.marquee-track.right { animation: marqueeRight 50s linear infinite; }
@keyframes marqueeLeft  { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes marqueeRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* Variante inclinada con text-stroke */
.marquee-skew { transform: skewY(-3deg); padding: 60px 0; }
.marquee-skew .marquee-track { animation-duration: 60s; }
.marquee-skew .stroke-text {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--olpa);
  letter-spacing: -0.02em;
}
.marquee-skew .stroke-text.accent { -webkit-text-stroke-color: var(--accent); }

/* Logos de partners y clientes */
.partner-logo {
  filter: brightness(0) invert(1);
  opacity: 0.4;
  transition: all 0.4s ease;
  max-height: 40px;
  width: auto;
}
.partner-logo:hover {
  opacity: 1;
  filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(255, 214, 10, 0.6));
  transform: scale(1.15);
}
/* Card contenedora de logo en el marquee */
.marquee .glass {
  min-width: 140px !important;
  height: 80px;
  padding: 16px 20px !important;
  border-radius: var(--radius-md);
}

.client-logo {
  filter: brightness(0) invert(1);
  opacity: 0.35;
  max-height: 32px;
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all 0.5s ease;
}
.client-logo:hover {
  opacity: 1;
  filter: brightness(0) invert(1) drop-shadow(0 0 30px rgba(255, 214, 10, 0.7));
  transform: scale(1.15);
}

/* =====================================================
   15. EFECTOS CSS
   ===================================================== */

/* Conic border rotante */
@property --conic-ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

.conic-border { position: relative; }
.conic-border::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--conic-ang, 0deg),
    var(--olpa), transparent 25%, var(--accent) 50%, transparent 75%, var(--olpa)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: conicSpin 5s linear infinite;
  pointer-events: none;
}
@keyframes conicSpin { to { --conic-ang: 360deg; } }

/* RGB glitch — aplicar en heading + data-text idéntico al contenido */
.fx-rgb { position: relative; display: inline-block; }
.fx-rgb::before,
.fx-rgb::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.fx-rgb::before { color: var(--olpa);   animation: rgbL 3s ease-in-out infinite; mix-blend-mode: screen; }
.fx-rgb::after  { color: var(--accent); animation: rgbR 3s ease-in-out infinite; mix-blend-mode: screen; }
@keyframes rgbL { 0%, 100% { transform: translate(0); } 50% { transform: translate(-3px, -1px); } }
@keyframes rgbR { 0%, 100% { transform: translate(0); } 50% { transform: translate(3px, 1px); } }

/* Splitting.js — estructura de chars/words.
   El estado inicial (opacity:0, rotateX) lo gestiona GSAP desde animations.js.
   Si GSAP no carga, los chars quedan visibles por defecto. */
.splitting .char { display: inline-block; }
.splitting .word { display: inline-block; margin-right: 0.22em; }

/* =====================================================
   16. CURSOR PERSONALIZADO
   ===================================================== */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--olpa);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 40px; height: 40px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s;
}
.cursor-ring.hover {
  width: 60px; height: 60px;
  border-color: var(--olpa);
  background: rgba(255, 214, 10, 0.08);
}
@media (max-width: 1024px) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* =====================================================
   17. COMPONENTES DE BLOG
   ===================================================== */
.blog-img { overflow: hidden; border-radius: 18px 18px 0 0; }
.blog-img img { transition: transform 0.6s var(--ease-out); }
.blog-card:hover .blog-img img { transform: scale(1.08); }

/* =====================================================
   18. KEYFRAMES GLOBALES
   ===================================================== */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes glowPulse {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(255, 214, 10, 0.3)); }
  50%       { filter: drop-shadow(0 0 35px rgba(255, 214, 10, 0.7)); }
}

/* =====================================================
   19. RESPONSIVE GLOBAL
   ===================================================== */
@media (max-width: 768px) {
  section { padding-left: 20px; padding-right: 20px; }
}

/* =====================================================
   19b. WORDPRESS BLOCK RESET
   Evita que los wrappers de bloques restrinjan el ancho
   de las secciones de pantalla completa.
   ===================================================== */

/* Quitar max-width heredado del editor de bloques */
.wp-block-html,
.wp-block-group,
.wp-site-blocks > * {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* El padding lateral lo controlan nuestras secciones internamente con px-4/px-6/px-12 */
.wp-block-html section,
.wp-block-html header,
.wp-block-html footer,
.wp-block-html nav {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

/* Asegurar que el body/main no tienen overflow oculto que corte secciones */
body, main, .wp-block-group {
  overflow-x: hidden;
}

/* WordPress genera esta clase en grupos con layout default */
.wp-block-group.is-layout-flow > * {
  max-width: none;
}

/* =====================================================
   20. HSCROLL-TOOL (pill tag para áreas y servicios)
   ===================================================== */
.hscroll-tool {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px;
  font-family: var(--font-mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: .1em; color: var(--muted);
  background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(10px);
}
.hscroll-tool.olpa  { color: var(--olpa); border-color: rgba(255, 214, 10, 0.3); }
.hscroll-tool.accent { color: var(--accent); border-color: rgba(0, 229, 255, 0.3); }

/* =====================================================
   21. BREADCRUMB
   ===================================================== */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); transition: color .3s ease; }
.breadcrumb a:hover { color: var(--olpa); }
.breadcrumb .sep { opacity: .4; }
.breadcrumb .current { color: var(--olpa); }

/* =====================================================
   21. NOSOTROS — TIMELINE
   ===================================================== */
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 22px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--olpa), var(--accent), transparent);
  opacity: .4;
}
@media (min-width: 768px) {
  .timeline { padding-left: 0; }
  .timeline::before { left: 50%; transform: translateX(-50%); }
}
.tl-row {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 60px;
}
@media (min-width: 768px) {
  .tl-row { flex-direction: row; align-items: center; gap: 40px; margin-bottom: 80px; }
  .tl-row.reverse { flex-direction: row-reverse; }
  .tl-row > .glass { width: calc(50% - 40px); }
  .tl-row > .tl-node-wrap {
    width: 80px; display: flex; justify-content: center; flex-shrink: 0;
    position: absolute; left: 50%; transform: translateX(-50%);
    top: 50%; margin-top: -24px;
  }
}
.tl-node {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--olpa);
  display: flex; align-items: center; justify-content: center;
  color: var(--olpa); font-family: var(--font-mono); font-weight: 700; font-size: 13px;
  box-shadow: 0 0 30px rgba(255, 214, 10, 0.4);
  flex-shrink: 0; position: relative; z-index: 2;
}
.tl-node.accent { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 30px rgba(0, 229, 255, 0.4); }
.tl-card { padding: 24px 26px; position: relative; }
.tl-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin-bottom: 8px; }
.tl-card p  { font-size: 13px; color: var(--muted); line-height: 1.55; }
@media (max-width: 767px) {
  .tl-node-wrap { position: absolute; left: -40px; top: 22px; }
  .tl-node { width: 44px; height: 44px; }
}

/* =====================================================
   22. NOSOTROS — EQUIPO & VALORES
   ===================================================== */
.team-card { padding: 22px; text-align: center; }
.team-avatar {
  width: 96px; height: 96px; margin: 0 auto 16px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 214, 10, 0.3), rgba(0, 229, 255, 0.15) 50%, rgba(255, 255, 255, 0.02) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 32px;
  color: var(--olpa); text-shadow: 0 0 30px rgba(255, 214, 10, 0.5);
  border: 1px solid var(--border);
}
.team-card h4   { font-family: var(--font-display); font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.team-card .role {
  font-family: var(--font-mono); font-size: 10px; color: var(--accent);
  letter-spacing: .15em; text-transform: uppercase; margin-bottom: 12px; display: block;
}
.team-card p { font-size: 12px; color: var(--muted); line-height: 1.5; margin-bottom: 14px; }

.value-card { padding: 28px; position: relative; height: 100%; }
.value-card .v-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.value-card.olpa  .v-icon { background: rgba(255, 214, 10, 0.1); border: 1px solid rgba(255, 214, 10, 0.3); color: var(--olpa); }
.value-card.accent .v-icon { background: rgba(0, 229, 255, 0.1); border: 1px solid rgba(0, 229, 255, 0.3); color: var(--accent); }
.value-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin-bottom: 8px; }
.value-card p  { font-size: 13px; color: var(--muted); line-height: 1.55; }

.step-number {
  font-family: var(--font-mono); font-size: 64px; font-weight: 700;
  opacity: .06; position: absolute; top: -20px; right: 20px; line-height: 1;
}

/* =====================================================
   23. SERVICIOS — CARDS, PILLS, TABLA
   ===================================================== */
.cat-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border: 1px solid var(--border); border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--muted);
  background: rgba(255, 255, 255, 0.02); backdrop-filter: blur(10px);
  cursor: pointer; transition: all .3s ease;
}
.cat-pill:hover { border-color: rgba(255, 214, 10, 0.3); color: var(--text); }
.cat-pill.active { background: var(--olpa); color: #000; border-color: var(--olpa); box-shadow: 0 10px 30px rgba(255, 214, 10, 0.35), 0 0 40px rgba(255, 214, 10, 0.2); }
.cat-pill .count { font-family: var(--font-mono); font-size: 10px; opacity: .7; }

.service-card {
  position: relative; padding: 28px; height: 100%;
  display: flex; flex-direction: column;
  transition: all .5s cubic-bezier(.2, .8, .2, 1);
}
.service-card:hover { transform: translateY(-8px); }
.service-card .sv-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; transition: transform .4s ease;
}
.service-card:hover .sv-icon { transform: scale(1.08) rotate(-5deg); }
.service-card.olpa  .sv-icon { background: rgba(255, 214, 10, 0.1); border: 1px solid rgba(255, 214, 10, 0.3); color: var(--olpa); }
.service-card.accent .sv-icon { background: rgba(0, 229, 255, 0.1); border: 1px solid rgba(0, 229, 255, 0.3); color: var(--accent); }
.service-card h3   { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.service-card .desc { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 16px; }
.service-card .features { list-style: none; padding: 0; margin: 0 0 18px 0; display: flex; flex-direction: column; gap: 8px; }
.service-card .features li { font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.service-card .features li svg { flex-shrink: 0; width: 14px; height: 14px; margin-top: 2px; color: var(--olpa); }
.service-card.accent .features li svg { color: var(--accent); }
.service-card .stack { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.service-card .stack-tag {
  font-family: var(--font-mono); font-size: 9px; padding: 4px 8px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border);
  color: var(--muted); letter-spacing: .1em; text-transform: uppercase;
}
.service-card .see-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--olpa); font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border);
  transition: gap .3s ease;
}
.service-card.accent .see-more { color: var(--accent); }
.service-card:hover .see-more { gap: 12px; }

.compare-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 640px; }
.compare-table th, .compare-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.compare-table thead th { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); font-weight: 500; background: rgba(255, 255, 255, 0.015); }
.compare-table tbody tr { transition: background .3s ease; }
.compare-table tbody tr:hover { background: rgba(255, 214, 10, 0.03); }
.compare-table tbody th { font-family: var(--font-display); font-weight: 600; color: var(--text); font-size: 14px; }
.compare-table .chk { color: var(--olpa); display: inline-flex; }
.compare-table .chk.accent { color: var(--accent); }
.compare-table .dash { color: var(--muted); opacity: .3; }

/* =====================================================
   24. CONTACTO — INFO CARDS, MAP, FAQ, HOURS
   ===================================================== */
.info-card { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.info-card .ic-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-card.olpa  .ic-icon { background: rgba(255, 214, 10, 0.1); border: 1px solid rgba(255, 214, 10, 0.3); color: var(--olpa); }
.info-card.accent .ic-icon { background: rgba(0, 229, 255, 0.1); border: 1px solid rgba(0, 229, 255, 0.3); color: var(--accent); }
.info-card.green .ic-icon  { background: rgba(37, 211, 102, 0.1); border: 1px solid rgba(37, 211, 102, 0.3); color: #25D366; }
.info-card h4     { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.info-card .label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .15em; color: var(--muted); text-transform: uppercase; }
.info-card a, .info-card p { font-size: 14px; color: #D8D8E0; line-height: 1.5; }

.map-wrap { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16/9; background: var(--surface); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: invert(0.92) hue-rotate(180deg) saturate(0.85); }
.map-pin { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -100%); pointer-events: none; z-index: 5; display: flex; flex-direction: column; align-items: center; }
.pin-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--olpa); border: 3px solid #000; box-shadow: 0 0 0 3px var(--olpa), 0 0 30px rgba(255, 214, 10, 0.6); animation: pinBounce 2s ease-in-out infinite; }
@keyframes pinBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-display); font-weight: 600; font-size: 17px; transition: color .3s ease; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--olpa); }
.faq-item summary .faq-plus { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .4s ease; }
.faq-item[open] summary .faq-plus { background: var(--olpa); border-color: var(--olpa); color: #000; transform: rotate(45deg); }
.faq-item p { padding: 0 0 22px 0; color: var(--muted); font-size: 14px; line-height: 1.65; max-width: 85%; }

.hours-row { display: flex; justify-content: space-between; padding: 12px 0; font-size: 13px; border-bottom: 1px solid var(--border); }
.hours-row:last-child { border-bottom: none; }
.hours-row .day  { color: var(--text); font-weight: 500; }
.hours-row .time { font-family: var(--font-mono); color: var(--muted); font-size: 12px; }

/* =====================================================
   25. BLOG — POSTS, FEATURED, FILTERS
   ===================================================== */
.search-wrap { position: relative; }
.search-wrap input {
  width: 100%; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border);
  color: var(--text); padding: 16px 20px 16px 50px; border-radius: 14px;
  transition: all .4s ease; font-family: inherit; font-size: 15px;
}
.search-wrap input:focus { outline: none; border-color: var(--olpa); background: rgba(255, 214, 10, 0.04); box-shadow: 0 0 0 4px rgba(255, 214, 10, 0.08); }
.search-wrap input::placeholder { color: var(--muted); }
.search-wrap > [data-lucide] { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }

.fpill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border: 1px solid var(--border); border-radius: 999px;
  font-size: 12px; font-weight: 500; color: var(--muted);
  background: rgba(255, 255, 255, 0.02); backdrop-filter: blur(10px);
  cursor: pointer; transition: all .3s ease; white-space: nowrap;
}
.fpill:hover { color: var(--text); border-color: rgba(255, 214, 10, 0.3); }
.fpill.active { background: var(--olpa); color: #000; border-color: var(--olpa); box-shadow: 0 8px 25px rgba(255, 214, 10, 0.3); }
.fpill .count { font-family: var(--font-mono); font-size: 10px; opacity: .7; }

.feat-card {
  position: relative; overflow: hidden; border-radius: 28px;
  border: 1px solid var(--border); background: rgba(18, 18, 28, 0.6);
  backdrop-filter: blur(20px); display: grid; grid-template-columns: 1fr; min-height: 400px;
}
@media (min-width: 1024px) { .feat-card { grid-template-columns: 1.1fr 1fr; min-height: 500px; } }
.feat-img { position: relative; overflow: hidden; min-height: 300px; }
.feat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.feat-card:hover .feat-img img { transform: scale(1.05); }
.feat-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(7, 7, 12, 0.4)); }
@media (max-width: 1023px) { .feat-img::after { background: linear-gradient(180deg, transparent 50%, rgba(7, 7, 12, 0.6)); } }
.feat-content { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.feat-cat {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 10px;
  padding: 6px 12px; border-radius: 8px; background: rgba(255, 214, 10, 0.12);
  border: 1px solid rgba(255, 214, 10, 0.35); color: var(--olpa);
  text-transform: uppercase; letter-spacing: .15em; margin-bottom: 16px; align-self: flex-start;
}
.feat-content h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 4vw, 40px); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 14px; }
.feat-content p { font-size: 15px; color: var(--muted); line-height: 1.6; margin-bottom: 24px; }
.feat-meta { display: flex; gap: 16px; font-size: 11px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .15em; color: var(--muted); margin-bottom: 20px; }
.feat-meta span { display: flex; align-items: center; gap: 6px; }

.post-card { position: relative; display: flex; flex-direction: column; overflow: hidden; }
.post-img { position: relative; overflow: hidden; aspect-ratio: 16/10; border-radius: 20px 20px 0 0; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.post-card:hover .post-img img { transform: scale(1.08); }
.post-cat {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--font-mono); font-size: 9px; padding: 5px 10px; border-radius: 6px;
  background: rgba(7, 7, 12, 0.8); backdrop-filter: blur(12px);
  border: 1px solid var(--border); text-transform: uppercase; letter-spacing: .15em;
}
.post-cat.olpa  { color: var(--olpa); border-color: rgba(255, 214, 10, 0.35); }
.post-cat.accent { color: var(--accent); border-color: rgba(0, 229, 255, 0.35); }
.post-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.post-body h3 { font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.3; margin-bottom: 8px; letter-spacing: -0.01em; transition: color .3s ease; }
.post-card:hover h3 { color: var(--olpa); }
.post-body p { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 16px; flex: 1; }
.post-meta { display: flex; gap: 12px; font-size: 11px; font-family: var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.post-meta span { display: flex; align-items: center; gap: 5px; }
.read-more { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--olpa); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-top: auto; transition: gap .3s ease; }
.post-card:hover .read-more { gap: 10px; }

/* =====================================================
   26. ENTRY CONTENT — tipografía para post/page content
       Aplica a: single.html, single-portfolio.html, page.html
       El wrapper tiene clase .entry-content generada por WP
       y clase .prose que usamos en nuestros templates.
   ===================================================== */
.entry-content,
.prose {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
}

/* Headings */
.entry-content h1, .prose h1,
.entry-content h2, .prose h2,
.entry-content h3, .prose h3,
.entry-content h4, .prose h4,
.entry-content h5, .prose h5,
.entry-content h6, .prose h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: var(--ls-display);
  color: var(--text);
  line-height: 1.15;
  margin-top: 1.2em;
  margin-bottom: 0.6em;
}
.entry-content h1, .prose h1 { font-size: clamp(32px, 5vw, 52px); }
.entry-content h2, .prose h2 { font-size: clamp(26px, 4vw, 40px); }
.entry-content h3, .prose h3 { font-size: clamp(20px, 3vw, 28px); }
.entry-content h4, .prose h4 { font-size: 20px; font-weight: 600; }
.entry-content h5, .prose h5 { font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.entry-content h6, .prose h6 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); }

/* Párrafos */
.entry-content p, .prose p { margin-bottom: 1.4em; }
.entry-content p:last-child, .prose p:last-child { margin-bottom: 0; }

/* Listas */
.entry-content ul, .prose ul { list-style: none; padding-left: 0; margin-bottom: 1.4em; }
.entry-content ul li, .prose ul li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: 0.5em;
}
.entry-content ul li::before, .prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--olpa);
}
.entry-content ol, .prose ol { padding-left: 1.6em; margin-bottom: 1.4em; counter-reset: olpa-ol; list-style: none; }
.entry-content ol li, .prose ol li {
  position: relative;
  padding-left: 0.5em;
  margin-bottom: 0.5em;
  counter-increment: olpa-ol;
}
.entry-content ol li::before, .prose ol li::before {
  content: counter(olpa-ol) '.';
  position: absolute;
  left: -1.6em;
  color: var(--olpa);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  top: 2px;
}

/* Blockquote */
.entry-content blockquote, .prose blockquote {
  position: relative;
  margin: 2em 0;
  padding: 28px 32px 28px 40px;
  background: rgba(255, 214, 10, 0.06);
  border-left: 3px solid var(--olpa);
  border-radius: 0 16px 16px 0;
  font-style: italic;
  color: var(--text);
}
.entry-content blockquote p, .prose blockquote p { margin-bottom: 0; font-size: 18px; line-height: 1.65; }
.entry-content blockquote cite, .prose blockquote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .12em;
}

/* Inline code */
.entry-content code, .prose code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 7px;
  color: var(--accent);
}

/* Code block */
.entry-content pre, .prose pre {
  background: rgba(7, 7, 12, 0.85);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px;
  overflow-x: auto;
  margin: 1.8em 0;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
}
.entry-content pre code, .prose pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
  color: inherit;
}

/* Tabla */
.entry-content table, .prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: 15px;
}
.entry-content th, .prose th {
  background: rgba(255, 214, 10, 0.10);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 214, 10, 0.25);
  text-align: left;
}
.entry-content td, .prose td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  vertical-align: top;
}
.entry-content tr:last-child td, .prose tr:last-child td { border-bottom: none; }
.entry-content tr:hover td, .prose tr:hover td { background: rgba(255, 255, 255, 0.03); }

/* Separador */
.entry-content hr, .prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5em 0;
}

/* Imágenes dentro del contenido */
.entry-content img, .prose img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  margin: 1.8em auto;
}
.entry-content figure, .prose figure { margin: 2em 0; }
.entry-content figcaption, .prose figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
  font-family: var(--font-mono);
  letter-spacing: .06em;
}

/* Links */
.entry-content a, .prose a {
  color: var(--olpa);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 214, 10, 0.4);
  transition: text-decoration-color .25s ease, color .25s ease;
}
.entry-content a:hover, .prose a:hover {
  color: var(--olpa-soft);
  text-decoration-color: var(--olpa-soft);
}

/* Strong / Em */
.entry-content strong, .prose strong { font-weight: 700; color: var(--text); }
.entry-content em, .prose em { color: var(--muted); }

/* WordPress Gutenberg block alignments */
.entry-content .alignleft  { float: left;  margin: 0 2em 1em 0; }
.entry-content .alignright { float: right; margin: 0 0 1em 2em; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }
.entry-content .alignwide  { width: calc(100% + 4rem); margin-left: -2rem; }
.entry-content .alignfull  { width: 100vw; margin-left: calc(-50vw + 50%); }
@media (max-width: 768px) {
  .entry-content .alignleft, .entry-content .alignright { float: none; margin: 1em 0; }
  .entry-content .alignwide  { width: 100%; margin-left: 0; }
  .entry-content .alignfull  { width: 100%; margin-left: 0; }
}

/* Primer hijo sin margen superior */
.entry-content > *:first-child, .prose > *:first-child { margin-top: 0; }

/* =====================================================
   27. IA IGNITION — Componentes específicos del landing
   ===================================================== */

/* Gradient text — amarillo → cian (sin violeta) */
.gradient-text {
  background: linear-gradient(135deg, #FFD60A 0%, #FFE85C 40%, #00E5FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* Versión animada (hero headline) */
.gradient-animated {
  background: linear-gradient(90deg, #FFD60A, #00E5FF, #FFD60A);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradShift 4s linear infinite;
}
@keyframes gradShift {
  from { background-position: 0% center; }
  to   { background-position: 200% center; }
}

/* Olpita flotante */
.olpita-float {
  filter: drop-shadow(0 0 40px rgba(255, 214, 10, 0.45));
  animation: olpitaFloat 6s ease-in-out infinite;
  will-change: transform;
}
@keyframes olpitaFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%       { transform: translateY(-22px) rotate(2deg); }
}

/* Pill de urgencia / cupo */
.cupo-pill {
  background: linear-gradient(135deg, rgba(255,214,10,0.12), rgba(0,229,255,0.08));
  border: 1px solid rgba(255,214,10,0.3);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}
.cupo-pill::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,214,10,0.2), transparent);
  transform: translateX(-100%);
  animation: cupoShine 3s ease-in-out infinite;
}
@keyframes cupoShine {
  0%        { transform: translateX(-100%); }
  50%, 100% { transform: translateX(100%); }
}

/* Speech bubble de Olpita */
.speech {
  position: relative;
  background: var(--olpa);
  color: #000;
  padding: 14px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  max-width: 260px;
  box-shadow: 0 20px 50px rgba(255,214,10,0.3), 0 0 40px rgba(255,214,10,0.2);
  line-height: 1.4;
}
.speech::after {
  content: '';
  position: absolute; bottom: -10px; left: 30px;
  width: 0; height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid var(--olpa);
}

/* Anillos orbitales hero */
.ring-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--olpa);
  pointer-events: none;
  animation: ringOrbit 20s linear infinite;
}
.ring-orbit.reverse { animation-direction: reverse; animation-duration: 15s; }
.ring-orbit.slow    { animation-duration: 25s; border-style: dashed; }
@keyframes ringOrbit {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Hero blobs de color */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  will-change: transform;
}
.hero-blob-1 {
  top: 10%; left: -15%;
  width: 500px; height: 500px;
  background: var(--olpa);
  opacity: 0.22;
  animation: blobMove1 20s ease-in-out infinite;
}
.hero-blob-2 {
  bottom: 0; right: -15%;
  width: 600px; height: 600px;
  background: var(--accent);
  opacity: 0.16;
  animation: blobMove2 25s ease-in-out infinite;
}
@keyframes blobMove1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(80px, 60px) scale(1.12); }
}
@keyframes blobMove2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(-60px, -50px) scale(1.08); }
}
@media (max-width: 768px) {
  .hero-blob-1, .hero-blob-2 { width: 300px !important; height: 300px !important; filter: blur(80px); }
}

/* Agenda vertical timeline */
.agenda-tl { position: relative; padding-left: 50px; }
.agenda-tl::before {
  content: '';
  position: absolute;
  left: 16px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--olpa), var(--accent));
  opacity: .25;
}
.agenda-tl-item {
  position: relative;
  padding-bottom: 40px;
}
.agenda-tl-item:last-child { padding-bottom: 0; }
.agenda-tl-dot {
  position: absolute;
  left: -42px; top: 6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--olpa);
  box-shadow: 0 0 0 4px rgba(255,214,10,0.2), 0 0 25px rgba(255,214,10,0.5);
  z-index: 2;
  flex-shrink: 0;
}
.agenda-tl-dot.accent {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0,229,255,0.2), 0 0 25px rgba(0,229,255,0.5);
}

/* ============================================================
   § 28 — WORDPRESS FSE: LAYOUT OVERRIDES
   Evitar que WordPress restrinja el ancho o agregue padding
   en los wrappers generados por el editor de bloques.
   Estas reglas aplican globalmente a todas las páginas.
   ============================================================ */

/* 28.1 — Sin padding en el contenedor raíz */
.wp-site-blocks {
  padding-top: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
}

/* 28.2 — Quitar max-width y padding en wrappers de bloques */
.wp-block-group,
.wp-block-html,
main.wp-block-group {
  max-width: none !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
  padding-block: 0 !important;
  box-sizing: border-box;
}

/* 28.3 — is-layout-constrained agrega max-inline-size: contentSize.
   Lo sobreescribimos para que nuestros <section> puedan ir full-width. */
.wp-block-group.is-layout-constrained > *,
.wp-block-group.is-layout-flow > *,
.is-layout-constrained > * {
  max-width: none !important;
  margin-inline: 0 !important;
}

/* 28.4 — Secciones de nuestros patrones siempre full-width */
.wp-block-html section,
.wp-block-html > section {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin-inline: 0;
}

/* 28.5 — Block gap del group: ya en theme.json pero como fallback */
.wp-block-group > * + * {
  margin-top: 0;
}

/* ============================================================
   § 31 — SISTEMA DE LAYOUT DE SECCIÓN
   Reemplaza las clases Tailwind de padding/contenedor que
   se repiten en todos los patrones. Usar en el <section>.
   ============================================================ */

/* Padding estándar — py-20 sm:py-28 md:py-32 px-4 sm:px-6 md:px-12 */
.sec {
  position: relative;
  padding-block: var(--section-py-mobile);     /* 80px */
  padding-inline: 1rem;                         /* px-4 */
}
@media (min-width: 640px) {
  .sec { padding-block: var(--section-py-tablet); padding-inline: 1.5rem; }
}
@media (min-width: 768px) {
  .sec { padding-block: var(--section-py-desktop); padding-inline: 3rem; }
}

/* Padding compacto — py-20 sm:py-24 (partners) */
.sec--sm {
  position: relative;
  padding-block: var(--section-py-mobile);
  padding-inline: 1rem;
}
@media (min-width: 640px) { .sec--sm { padding-block: 96px; padding-inline: 1.5rem; } }
@media (min-width: 768px) { .sec--sm { padding-inline: 3rem; } }

/* Padding extra compacto — py-16 sm:py-20 md:py-24 (newsletter) */
.sec--xs {
  position: relative;
  padding-block: 64px;
  padding-inline: 1rem;
}
@media (min-width: 640px) { .sec--xs { padding-block: var(--section-py-mobile); padding-inline: 1.5rem; } }
@media (min-width: 768px) { .sec--xs { padding-block: 96px; padding-inline: 3rem; } }

/* Contenedor máx. 1280 — reemplaza max-w-7xl mx-auto */
.container-xl {
  max-width: 80rem;
  margin-inline: auto;
  width: 100%;
}

/* Bloque header de sección (tag + título + subtítulo) */
.sec-header {
  margin-bottom: 3.5rem;   /* mb-14 */
}
@media (min-width: 640px) { .sec-header { margin-bottom: 5rem; } }  /* mb-20 */
.sec-header.center { text-align: center; }
/* Variante compacta (partners: mb-12) */
.sec-header--sm { margin-bottom: 3rem; text-align: center; }

/* ============================================================
   § 32 — SISTEMA DE TIPOGRAFÍA DE PÁGINA
   Clases semánticas que reemplazan los grupos Tailwind
   font-display + tamaños + peso en cada patrón.
   ============================================================ */

/* H1 — Hero principal */
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: var(--ls-display);
  font-size: 2.25rem;          /* base mobile */
  line-height: 0.95;
}
@media (min-width: 640px)  { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1280px) { .hero-title { font-size: 4.5rem; } }

/* Párrafo bajo h1 hero */
.hero-body {
  font-size: 1rem;
  color: var(--muted);
  max-width: 36rem;
  line-height: 1.65;
}
@media (min-width: 640px) { .hero-body { font-size: 1.125rem; } }
@media (min-width: 768px) { .hero-body { font-size: 1.25rem; } }
.hero-body strong { color: var(--text); font-weight: 600; }

/* H2 — Encabezado de sección (principal) */
.sec-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: var(--ls-display);
  font-size: 1.875rem;         /* text-3xl */
  line-height: 1.1;
}
@media (min-width: 640px) { .sec-title { font-size: 3rem; } }     /* text-5xl */
@media (min-width: 768px) { .sec-title { font-size: 3.75rem; } }  /* text-6xl */

/* H2 — Partners (ligeramente más pequeño: text-3xl sm:text-4xl md:text-5xl) */
.sec-title--sm {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: var(--ls-display);
  font-size: 1.875rem;
  line-height: 1.1;
}
@media (min-width: 640px) { .sec-title--sm { font-size: 2.25rem; } }
@media (min-width: 768px) { .sec-title--sm { font-size: 3rem; } }

/* H3 — Widget / bloque compacto (newsletter: text-2xl sm:3xl md:4xl) */
.sec-title--xs {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: var(--ls-display);
  font-size: 1.5rem;
  line-height: 1.1;
}
@media (min-width: 640px) { .sec-title--xs { font-size: 1.875rem; } }
@media (min-width: 768px) { .sec-title--xs { font-size: 2.25rem; } }

/* Párrafo subtítulo bajo sec-title (centrado, max-w-3xl) */
.sec-body {
  font-size: 1rem;
  color: var(--muted);
  max-width: 48rem;
  line-height: 1.7;
}
@media (min-width: 640px) { .sec-body { font-size: 1.125rem; } }
.sec-body.center { margin-inline: auto; }
.sec-body strong { color: var(--text); font-weight: 600; }

/* H3 — Título de card (text-xl sm:2xl) */
.card-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: var(--ls-display);
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
@media (min-width: 640px) { .card-title { font-size: 1.5rem; } }

/* H3 — Título de card grande (metodología: text-2xl fijo) */
.card-title--lg {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: var(--ls-display);
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* Párrafo dentro de cards */
.card-body {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.card-body strong { color: var(--text); font-weight: 600; }

/* Párrafo muted sin margin bottom (metodología, newsletter) */
.card-text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}
.card-text strong { color: var(--text); font-weight: 600; }

/* ============================================================
   § 33 — COMPONENTES REUTILIZABLES
   ============================================================ */

/* Stats — contenedor de valor + label */
.stat-item { display: flex; flex-direction: column; gap: 4px; }

/* Número del stat (reemplaza font-display text-2xl sm:text-3xl font-bold) */
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: var(--ls-display);
  font-size: 1.5rem;
  line-height: 1;
}
@media (min-width: 640px) { .stat-num { font-size: 1.875rem; } }

/* Etiqueta del stat (reemplaza text-[10px] sm:text-xs uppercase tracking-wider text-[var(--muted)] mt-1) */
.stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-top: 4px;
}
@media (min-width: 640px) { .stat-label { font-size: 0.75rem; } }

/* Enlace "Ver más / Saber más" en cards */
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-top: 1.25rem;
  transition: gap 0.25s ease;
}
.card-link:hover          { gap: 0.75rem; }
.card-link.olpa           { color: var(--olpa); }
.card-link.accent         { color: var(--accent); }
.card-link.muted          { color: var(--muted); }

/* Variante icono box 48px para filas de contacto */
.icon-box--sm {
  width: 48px !important;
  height: 48px !important;
  border-radius: 14px !important;
}

/* Fila de info de contacto */
.contact-item { display: flex; gap: 1rem; align-items: center; }

/* Etiqueta tipo "Dirección", "Email" */
.contact-item__label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 2px;
  display: block;
}

/* Valor: nombre, email, teléfono */
.contact-item__value {
  font-size: 0.875rem;
  font-weight: 500;
}
.contact-item__value a { color: var(--text); transition: color 0.2s ease; }
.contact-item__value a:hover { color: var(--olpa); }

/* ============================================================
   § 34 — ANIMACIONES DE ENTRADA (hero)
   Estados iniciales — GSAP los anima en animations.js.
   Fallback: si GSAP no carga, JS de animations.js los revela.
   ============================================================ */

/* Reveal por línea — usado en h1 hero con overflow:hidden padre */
.reveal-up {
  display: inline-block;
  opacity: 0;
  transform: translateY(105%);
}

/* Fade-in hacia arriba — párrafos y botones hero */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
}

/* 28.6 — Splitting.js: chars necesitan display inline-block
   (fallback si splitting.css del CDN no cargó) */
.word,
.char {
  display: inline-block;
}

/* ============================================================
   § 29 — SPLITTING.JS + GRADIENT TEXT — COMPATIBILIDAD
   background-clip:text no funciona cuando el contenido es
   reemplazado por hijos display:inline-block (chars/words).
   Fallback: color sólido OLPA para que el texto sea visible.
   El JS de animations.js omite animar esos chars.
   ============================================================ */

/* 29.1 — Remover el gradient del wrapper (ya no tiene texto directo) */
.splitting .gradient-text,
.splitting .gradient-animated {
  background: none !important;
  -webkit-text-fill-color: var(--olpa) !important;
  color: var(--olpa) !important;
  animation: none !important;
}

/* 29.2 — Words y chars heredan el color forzado */
.splitting .gradient-text .word,
.splitting .gradient-text .char,
.splitting .gradient-animated .word,
.splitting .gradient-animated .char {
  background: none !important;
  -webkit-text-fill-color: inherit !important;
  color: inherit !important;
}

/* ============================================================
   § 30 — SECTION HEADINGS — MARGEN CONSISTENTE
   Normaliza el espacio entre .section-tag y el h2/h3 siguiente
   para que todas las páginas tengan la misma separación.
   ============================================================ */

/* 30.1 — El h2/h3 inmediatamente después de section-tag no suma margin-top */
.section-tag + h1,
.section-tag + h2,
.section-tag + h3,
.section-tag + [data-splitting] {
  margin-top: 0 !important;
}

/* 30.2 — Separación estándar entre section-tag y título (si hay wrapper) */
.section-tag ~ h1,
.section-tag ~ h2,
.section-tag ~ h3 {
  margin-top: 0;
}

/* 30.3 — El párrafo subtítulo debajo del h2 en secciones */
.section-tag ~ p,
h2 + p.text-muted,
h2 + p[class*="text-[var(--muted)]"] {
  margin-top: 0;
}

/* =====================================================
   31. FOOTER — estilos migrados desde inline onmouseover
   Aplicados cuando los links del footer dejan de depender de JS inline.
   ===================================================== */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}
.footer-links a {
  color: var(--muted);
  transition: color .3s ease;
}
.footer-links a:hover {
  color: var(--olpa);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--muted);
  transition: color .3s ease, transform .3s ease;
}
.footer-social a:hover {
  color: var(--olpa);
  transform: translateY(-2px);
}

.footer-copy {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

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