@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/nueva_web_edumedia/fonts/inter-tight-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand-primary: #4E5FE8;
  --brand-secondary: #3949AB;
  --brand-deep: #1e3a5f;

  /**
   * Colores de apoyo (guía marca). Actualizar solo estos valores propaga
   * acentos, blobs, dropdowns y landings que usan --accent-* / rgba(var(--rgb-*)).
   */
  --support-lime: #afca0b;
  --support-lime-dim: #8f9f09;
  --support-lime-soft: #d8e86f;
  --support-orange: #f18500;
  --support-orange-dim: #c56d00;
  --support-orange-soft: #ffb84d;
  --support-red: #d80f16;
  --support-red-dim: #a60c11;
  --support-red-soft: #ff6b70;
  --support-grey: #878787;
  --support-grey-soft: #a8a8a8;

  /* Canales R,G,B para rgba(..., α) en todo el CSS */
  --rgb-lime: 175, 202, 11;
  --rgb-lime-dim: 143, 159, 7;
  --rgb-orange: 241, 133, 0;
  --rgb-orange-dim: 197, 109, 0;
  --rgb-red: 216, 15, 22;
  --rgb-grey: 135, 135, 135;

  --gradient-main: linear-gradient(135deg, #4E5FE8 0%, #3949AB 100%);
  --gradient-progress: linear-gradient(90deg, #4E5FE8 0%, var(--support-lime) 42%, var(--support-orange) 72%, #3949AB 100%);
  --gradient-hero-ring: linear-gradient(135deg, #4E5FE8 0%, var(--support-lime) 45%, var(--support-orange) 100%);
  --gradient-nav: linear-gradient(100deg, #312e81 0%, #3949AB 38%, #1e3a5f 100%);
  /* Panel flotante submenú: misma familia cromática que la barra */
  --gradient-nav-dropdown: linear-gradient(148deg, #312e81 0%, var(--brand-secondary) 46%, var(--brand-deep) 100%);

  /* Alias usados en Blade/config (icon_color, etc.) */
  --accent-teal: var(--support-lime);
  --accent-teal-dim: var(--support-lime-dim);
  --accent-amber: var(--support-orange);
  --accent-amber-dim: var(--support-orange-dim);
  --accent-coral: var(--support-red);
  --accent-sky: var(--support-grey-soft);
  --accent-violet: var(--support-grey);
  --green-lime: var(--support-lime);

  --bg-light: #FFFFFF;
  --bg-gray: #f1f5f9;
  --bg-soft: #eef2ff;
  --blob-1: rgba(78, 95, 232, 0.24);
  --blob-2: rgba(var(--rgb-lime), 0.2);
  --blob-3: rgba(var(--rgb-orange), 0.16);

  --text-main: #1e293b;
  --text-muted: #64748B;
  --text-white: #f8fafc;

  --font-heading: 'Baloo 2', "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  --font-body: 'Poppins', "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 9999px;

  --scrollbar-track: rgba(49, 46, 129, 0.09);
  --scrollbar-thumb: linear-gradient(180deg, var(--brand-secondary) 0%, var(--brand-primary) 55%, var(--accent-teal-dim) 100%);
  --selection-bg: rgba(78, 95, 232, 0.32);

  /* Marca compás (PNG en assets): fondo decorativo en secciones claras */
  --edumedia-deco-marca-url: url('../assets/edumedia-marca-compas-fondo.png');
}

/* Scrollbar corporativo (Firefox + WebKit) */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--brand-primary) var(--scrollbar-track);
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  border-radius: var(--r-full);
}
::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: var(--r-full);
  border: 2px solid var(--bg-light);
  box-shadow: 0 0 0 1px rgba(78, 95, 232, 0.12);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--brand-primary) 0%, var(--accent-teal) 100%);
}
::-webkit-scrollbar-corner {
  background: transparent;
}

/* Selección de texto (tinte marca; color del texto heredado) */
::selection {
  background: var(--selection-bg);
  color: inherit;
}
::-moz-selection {
  background: var(--selection-bg);
  color: inherit;
}

/* Icon Animation */
@keyframes iconFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.05); }
}
.bento-icon i, .stat-pill-icon i, .showcase-feat-icon i, .hero-float-card-icon i {
  animation: iconFloat 4s ease-in-out infinite;
  stroke-width: 2.2px;
  color: var(--brand-primary);
}
.bento-item:hover .bento-icon i {
  animation: iconFloat 1s ease-in-out infinite;
  color: var(--brand-secondary);
}

/* ══════════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; font-family: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-heading); }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

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

.gradient-text-inline {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ══════════════════════════════════════════════
   PROGRESS BAR — Learning journey
══════════════════════════════════════════════ */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 5px;
  background: var(--gradient-progress);
  width: 0%;
  z-index: 9999;
  border-radius: 0 5px 5px 0;
  transition: width 0.1s ease;
}

/* ══════════════════════════════════════════════
   SCROLL INDICATOR DOTS
══════════════════════════════════════════════ */
.section-nav {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.2rem;
  z-index: 1001;
}
.section-dot {
  position: relative;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  background: rgba(57, 73, 171, 0.25);
  border: 2px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.3s ease;
  text-decoration: none;
  outline: none;
}
/* Tooltip con nombre de sección (data-section-label desde JS) */
.section-dot::after {
  content: attr(data-section-label);
  position: absolute;
  right: calc(100% + 16px);
  top: 50%;
  z-index: 1002;
  padding: 0.4rem 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  white-space: nowrap;
  pointer-events: none;
  background: var(--gradient-main);
  border-radius: var(--r-sm);
  box-shadow: 0 6px 24px rgba(78, 95, 232, 0.4);
  opacity: 0;
  transform: translate(12px, -50%) scale(0.92);
  transition:
    opacity 0.28s ease,
    transform 0.32s cubic-bezier(0.34, 1.45, 0.64, 1);
}
.section-dot:hover::after,
.section-dot:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%) scale(1);
}
/* Sección actual al hacer scroll: etiqueta siempre visible (no solo hover) */
.section-dot.active::after {
  opacity: 1;
  transform: translate(0, -50%) scale(1);
  background: linear-gradient(135deg, #312e81 0%, var(--brand-primary) 50%, var(--accent-teal) 100%);
  box-shadow: 0 8px 28px rgba(57, 73, 171, 0.35);
}
.section-dot:focus-visible {
  box-shadow: 0 0 0 3px rgba(var(--rgb-lime), 0.55);
}
.section-dot:hover {
  background: var(--brand-primary);
  transform: scale(1.3);
}
.section-dot.active {
  background: var(--brand-primary);
  border-color: #fff;
  transform: scale(1.45);
  box-shadow: 0 0 12px rgba(78, 95, 232, 0.6);
}
.section-dot.active:hover {
  transform: scale(1.5);
}


/* Botón flotante WhatsApp (mismo patrón que tboard-blue-co) */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9998;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: #fff;
}

/* Volver arriba (sitio corporativo Blade; encima del WhatsApp) */
.site-scroll-top {
  position: fixed;
  right: 1.25rem;
  bottom: 5.75rem;
  z-index: 9997;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: var(--gradient-main);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(57, 73, 171, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, box-shadow 0.2s ease;
}
.site-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.site-scroll-top:hover {
  box-shadow: 0 6px 22px rgba(78, 95, 232, 0.45);
  filter: brightness(1.05);
}
.site-scroll-top:focus-visible {
  outline: 3px solid rgba(var(--rgb-lime), 0.85);
  outline-offset: 3px;
}
@media (max-width: 480px) {
  .site-scroll-top {
    bottom: 5.25rem;
    right: 1rem;
    width: 2.85rem;
    height: 2.85rem;
  }
}

.zoom-scheduler-section {
  padding: 5rem 0;
  background: linear-gradient(
    180deg,
    rgba(78, 95, 232, 0.07) 0%,
    rgba(var(--rgb-lime), 0.05) 45%,
    transparent 100%
  );
}
.zoom-scheduler-section .zoom-scheduler-header {
  text-align: center;
  margin-bottom: 3rem;
}
.zoom-scheduler-section .zoom-scheduler-mount {
  max-width: 42rem;
  margin: 0 auto;
}

/* Página contacto (/paginas/contactanos) */
.page-contact-main .contact-page-section {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 7vw, 5rem);
  background: linear-gradient(180deg, #f8fafc 0%, #fff 45%, #f8fafc 100%);
}
.contact-page-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 960px) {
  .contact-page-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 2.5rem;
  }
}
.contact-page-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: var(--brand-secondary);
  margin: 0 0 0.75rem;
}
.contact-page-lead {
  margin-bottom: 1.5rem;
  max-width: 36rem;
}
.contact-page-offices {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-page-office {
  padding: 1.15rem 1.25rem;
  border-radius: var(--r-lg);
  border: 1px solid #e2e8f0;
  background: var(--bg-light);
  box-shadow: 0 6px 20px rgba(57, 73, 171, 0.05);
}
.contact-page-office-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--brand-secondary);
}
.contact-page-office-meta {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.contact-page-office-meta a {
  color: var(--accent-teal-dim);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-page-office-meta a:hover {
  color: var(--brand-primary);
}
.contact-page-email {
  margin: 1.5rem 0 0;
}
.contact-page-email-link {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-primary);
  text-decoration: none;
  border-bottom: 2px solid rgba(78, 95, 232, 0.35);
}
.contact-page-email-link:hover {
  color: var(--brand-secondary);
  border-bottom-color: var(--brand-secondary);
}
.contact-page-hint {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 32rem;
}
.contact-page-code {
  font-size: 0.78em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: #f1f5f9;
}
.contact-page-form-card {
  background: var(--bg-light);
  border: 1px solid #e2e8f0;
  border-radius: var(--r-xl);
  padding: clamp(1.35rem, 3vw, 1.85rem);
  box-shadow: 0 16px 44px rgba(57, 73, 171, 0.08);
}
.contact-page-form-title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.2vw, 1.6rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: var(--brand-secondary);
}
.contact-page-form-desc {
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}
.contact-page-form-card .lead-form {
  margin-top: 1.15rem;
  background: rgba(78, 95, 232, 0.06);
  border-color: rgba(78, 95, 232, 0.12);
}
.contact-page-form-card .lead-form-label {
  color: var(--text-main);
}
.contact-page-form-card .lead-form-label span {
  opacity: 1;
}
.contact-page-form-card .lead-form-phone-hint {
  color: var(--text-muted);
}
.contact-page-form-card .lead-form-success-title {
  color: var(--brand-secondary);
}
.contact-page-form-card .lead-form-success-text {
  color: var(--text-muted);
}
.contact-page-form-card .lead-form-success-icon {
  color: var(--accent-teal-dim);
}
.contact-page-form-card .lead-form .iti__country-container {
  border-color: #cbd5e1;
  background: #fff;
}
.contact-page-form-card .lead-form .iti__selected-country-primary {
  background: #fff;
}
.contact-page-form-card .lead-form .iti__tel-input {
  border-color: #cbd5e1;
  background: #fff;
  color: var(--text-main);
}
.contact-page-form-card .lead-form .iti--separate-dial-code .iti__selected-country {
  background: #fff;
}
.contact-page-form-card .form-status-error {
  color: #b91c1c;
}
.contact-page-form-card .form-status-error .lead-form-error-title,
.contact-page-form-card .form-status-error .lead-form-error-list {
  color: #b91c1c;
}

/* ══════════════════════════════════════════════
   CUSTOM CURSOR GLOW
══════════════════════════════════════════════ */
.cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78, 95, 232, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transition: transform 0.15s ease-out, opacity 0.3s, width 0.4s ease, height 0.4s ease;
  transform: translate(-50%, -50%);
  opacity: 0;
}
body:hover .cursor-glow { opacity: 1; }


.cursor-glow.cursor-glow--edu {
  z-index: 10058;
  width: 240px;
  height: 240px;
  background: radial-gradient(
    circle,
    rgba(78, 95, 232, 0.07) 0%,
    rgba(var(--rgb-lime), 0.05) 38%,
    transparent 68%
  );
}

.edu-cursor {
  display: none;
  pointer-events: none;
}
body.has-edu-cursor .edu-cursor {
  display: block;
}
@keyframes edu-cursor-ring-breathe {
  0%,
  100% {
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.1),
      inset 0 -2px 10px rgba(15, 23, 42, 0.1),
      0 4px 18px rgba(78, 95, 232, 0.08),
      0 0 0 0 rgba(78, 95, 232, 0.02);
  }
  50% {
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.14),
      inset 0 -2px 12px rgba(15, 23, 42, 0.12),
      0 6px 22px rgba(var(--rgb-lime), 0.1),
      0 0 0 5px rgba(78, 95, 232, 0.03);
  }
}

.edu-cursor__ring {
  position: fixed;
  left: var(--edu-ring-x, 0);
  top: var(--edu-ring-y, 0);
  pointer-events: none;
  /* Por encima de modales landings (p. ej. lightbox galería diagrama z-index 10050) */
  z-index: 10060;
  will-change: left, top, transform, width, height;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, 0.42);
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.09) 0%,
    rgba(255, 255, 255, 0.025) 44%,
    transparent 72%
  );
  /* Tinte muy suave sobre el píxel real del fondo (sin clonar DOM) */
  -webkit-backdrop-filter: saturate(1.12) brightness(1.04) hue-rotate(-5deg);
  backdrop-filter: saturate(1.12) brightness(1.04) hue-rotate(-5deg);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 -2px 10px rgba(15, 23, 42, 0.12),
    0 6px 22px rgba(0, 0, 0, 0.18);
  animation: edu-cursor-ring-breathe 2.8s ease-in-out infinite;
  transition:
    width 0.28s cubic-bezier(0.34, 1.35, 0.64, 1),
    height 0.28s cubic-bezier(0.34, 1.35, 0.64, 1),
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.edu-cursor__pointer {
  position: fixed;
  left: var(--edu-dot-x, 0);
  top: var(--edu-dot-y, 0);
  pointer-events: none;
  z-index: 10061;
  will-change: left, top, transform;
  transform: translate(-2px, -2px);
  transform-origin: 2px 2px;
  filter: drop-shadow(0 2px 6px rgba(57, 73, 171, 0.45));
  transition: transform 0.28s cubic-bezier(0.34, 1.4, 0.64, 1), filter 0.32s ease;
}

.edu-cursor__pointer-stack {
  position: relative;
  display: block;
  width: 32px;
  height: 32px;
}

.edu-cursor__glyph {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  transition:
    opacity 0.26s ease,
    transform 0.32s cubic-bezier(0.34, 1.45, 0.64, 1);
}

.edu-cursor__glyph--arrow {
  opacity: 1;
  transform: translate(0, 0) scale(1) rotate(0deg);
}

.edu-cursor__glyph--hand {
  opacity: 0;
  transform: translate(-13px, -7px) scale(0.52) rotate(8deg);
  transform-origin: 34% 17%;
}

.edu-cursor__pointer-svg {
  display: block;
  width: 28px;
  height: 28px;
}

.edu-cursor__hand-svg {
  display: block;
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.12));
}

.edu-cursor--hand .edu-cursor__glyph--arrow {
  opacity: 0;
  transform: translate(0, 0) scale(0.45) rotate(-18deg);
}

.edu-cursor--hand .edu-cursor__glyph--hand {
  opacity: 1;
  transform: translate(-13px, -7px) scale(1) rotate(0deg);
}

.edu-cursor--hover .edu-cursor__ring {
  width: 48px;
  height: 48px;
  border-color: rgba(var(--rgb-lime), 0.38);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 -2px 10px rgba(15, 23, 42, 0.1),
    0 6px 24px rgba(var(--rgb-lime), 0.12);
}

.edu-cursor--hand .edu-cursor__ring {
  border-color: rgba(var(--rgb-orange), 0.4);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 -2px 10px rgba(15, 23, 42, 0.12),
    0 6px 22px rgba(var(--rgb-orange), 0.14);
}

.edu-cursor--hover .edu-cursor__pointer {
  transform: translate(-2px, -2px) scale(1.08);
  filter: drop-shadow(0 3px 10px rgba(var(--rgb-lime), 0.5));
}

.edu-cursor--hand.edu-cursor--hover .edu-cursor__pointer {
  filter: drop-shadow(0 3px 12px rgba(var(--rgb-orange), 0.45)) drop-shadow(0 2px 8px rgba(var(--rgb-lime), 0.35));
}

.edu-cursor--press .edu-cursor__ring {
  width: 28px;
  height: 28px;
}

.edu-cursor--press .edu-cursor__pointer {
  transform: translate(-2px, -2px) scale(0.92);
}

/* Sobre iframes: sin capa custom encima del embed; cursor nativo dentro del iframe */
body.has-edu-cursor iframe {
  cursor: auto;
}
body.has-edu-cursor.edu-cursor--over-iframe .edu-cursor,
body.has-edu-cursor.edu-cursor--over-iframe .cursor-glow {
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.12s ease, visibility 0.12s ease;
}

/* Editor de medios corporativo (z-index alto): cursor nativo + sin capa custom */
body.has-edu-cursor.edu-cursor--over-media-editor .edu-cursor,
body.has-edu-cursor.edu-cursor--over-media-editor .cursor-glow {
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.12s ease, visibility 0.12s ease;
}

@media (pointer: fine) {
  body.has-edu-cursor,
  body.has-edu-cursor button,
  body.has-edu-cursor .btn,
  body.has-edu-cursor .nav-hamburger,
  body.has-edu-cursor .section-dot,
  body.has-edu-cursor .whatsapp-float,
  body.has-edu-cursor summary {
    cursor: none;
  }
  body.has-edu-cursor a {
    cursor: none;
  }
  body.has-edu-cursor input[type="text"],
  body.has-edu-cursor input[type="email"],
  body.has-edu-cursor input[type="tel"],
  body.has-edu-cursor input[type="search"],
  body.has-edu-cursor input[type="url"],
  body.has-edu-cursor input[type="number"],
  body.has-edu-cursor textarea {
    cursor: text;
  }
  body.has-edu-cursor select,
  body.has-edu-cursor label {
    cursor: none;
  }

  body.has-edu-cursor.edu-cursor--over-media-editor #edumedia-corporate-media-editor-root,
  body.has-edu-cursor.edu-cursor--over-media-editor #edumedia-corporate-media-editor-root * {
    cursor: auto !important;
  }
  body.has-edu-cursor.edu-cursor--over-media-editor #edumedia-corporate-media-editor-root input[type="text"],
  body.has-edu-cursor.edu-cursor--over-media-editor #edumedia-corporate-media-editor-root input[type="url"],
  body.has-edu-cursor.edu-cursor--over-media-editor #edumedia-corporate-media-editor-root input[type="email"],
  body.has-edu-cursor.edu-cursor--over-media-editor #edumedia-corporate-media-editor-root input[type="tel"],
  body.has-edu-cursor.edu-cursor--over-media-editor #edumedia-corporate-media-editor-root input[type="search"],
  body.has-edu-cursor.edu-cursor--over-media-editor #edumedia-corporate-media-editor-root input[type="number"],
  body.has-edu-cursor.edu-cursor--over-media-editor #edumedia-corporate-media-editor-root textarea {
    cursor: text !important;
  }
}

/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 5px;
  width: 100%;
  background: var(--gradient-nav);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 4rem;
  z-index: 1000;
  box-shadow: 0 4px 24px rgba(57, 73, 171, 0.35);
  transition: all 0.4s ease;
}
.nav.scrolled {
  top: 5px;
  padding: 0.7rem 4rem;
  box-shadow: 0 6px 32px rgba(57, 73, 171, 0.45);
}
.nav-logo { display: flex; align-items: center; gap: 0.8rem; }
.nav-logo a { display: inline-flex; align-items: center; text-decoration: none; color: inherit; }
.logo-img { height: 40px; object-fit: contain; }
.nav.scrolled .logo-img { height: 34px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links > li { position: relative; }
/* HTML estático antiguo: enlaces directos bajo .nav-links (sin <li>); si no, heredan color del body */
.nav-links > a,
.nav-links > li > a,
.nav-dropdown-toggle {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  position: relative;
  transition: color 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-dropdown-toggle { margin-left: 1.5rem; }
.nav-dropdown-chevron {
  width: 0.35rem;
  height: 0.35rem;
  border-right: 2px solid rgba(255, 255, 255, 0.75);
  border-bottom: 2px solid rgba(255, 255, 255, 0.75);
  transform: rotate(45deg);
  margin-top: -0.15rem;
}
.nav-item--dropdown.is-open .nav-dropdown-chevron {
  transform: rotate(-135deg);
  margin-top: 0.1rem;
}
.nav-links > a:hover,
.nav-links > li > a:hover,
.nav-dropdown-toggle:hover { color: #fff; }
.nav-links > a::after,
.nav-links > li > a::after,
.nav-dropdown-toggle::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--brand-primary);
  transition: width 0.3s ease;
}
.nav-links > a:hover::after,
.nav-links > li > a:hover::after,
.nav-dropdown-toggle:hover::after { width: 100%; }
.nav-links > li:nth-child(3n + 1) > a:hover::after,
.nav-item--dropdown:nth-child(3n + 1) .nav-dropdown-toggle:hover::after { background: var(--accent-teal); }
.nav-links > li:nth-child(3n + 2) > a:hover::after,
.nav-item--dropdown:nth-child(3n + 2) .nav-dropdown-toggle:hover::after { background: var(--accent-amber); }
.nav-links > li:nth-child(3n + 3) > a:hover::after,
.nav-item--dropdown:nth-child(3n + 3) .nav-dropdown-toggle:hover::after { background: #a5b4fc; }
.nav-links > a:nth-child(3n + 1):hover::after { background: var(--accent-teal); }
.nav-links > a:nth-child(3n + 2):hover::after { background: var(--accent-amber); }
.nav-links > a:nth-child(3n + 3):hover::after { background: #a5b4fc; }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 288px;
  margin: 0.45rem 0 0;
  padding: 0.4rem;
  list-style: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 42%),
    var(--gradient-nav-dropdown);
  border: 1px solid color-mix(in srgb, var(--brand-primary) 38%, transparent);
  border-radius: 14px;
  box-shadow:
    0 22px 48px color-mix(in srgb, var(--brand-secondary) 45%, #000),
    0 0 0 1px color-mix(in srgb, var(--brand-primary) 22%, transparent) inset,
    0 -1px 0 rgba(255, 255, 255, 0.08) inset;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 1100;
}
@media (min-width: 900px) {
  .nav-item--dropdown:nth-child(2) .nav-dropdown {
    min-width: 320px;
  }
}
.nav-item--dropdown.is-open .nav-dropdown,
.nav-item--dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .nav-dropdown {
    transition: opacity 0.15s ease, visibility 0.15s ease;
    transform: none;
  }
  .nav-item--dropdown.is-open .nav-dropdown,
  .nav-item--dropdown:hover .nav-dropdown {
    transform: none;
  }
}

.nav-dropdown__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.62rem 0.72rem;
  margin: 0;
  border-radius: 10px;
  color: rgba(248, 250, 252, 0.95);
  font-size: 0.875rem;
  font-weight: 400;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.nav-dropdown__link::after { display: none; }
.nav-dropdown__icon-wrap {
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--dd-accent, var(--support-lime-soft));
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.nav-dropdown-icon-svg {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
}
.nav-dropdown__label {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.nav-dropdown__title {
  font-weight: 600;
}
.nav-dropdown__link .nav-dropdown__sub {
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: rgba(248, 250, 252, 0.58);
  text-transform: none;
}
.nav-dropdown__link:hover .nav-dropdown__sub {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}
.nav-dropdown__sub--italic {
  font-style: italic;
}
/* Acentos rotativos por fila (data-dropdown-accent en el enlace) */
.nav-dropdown__link[data-dropdown-accent="1"] .nav-dropdown__icon-wrap {
  --dd-accent: var(--support-lime-soft);
  background: rgba(var(--rgb-lime), 0.18);
  color: #eef6c8;
}
.nav-dropdown__link[data-dropdown-accent="2"] .nav-dropdown__icon-wrap {
  --dd-accent: var(--support-orange-soft);
  background: rgba(var(--rgb-orange), 0.2);
  color: #ffe8cc;
}
.nav-dropdown__link[data-dropdown-accent="3"] .nav-dropdown__icon-wrap {
  --dd-accent: var(--support-grey-soft);
  background: rgba(var(--rgb-grey), 0.24);
  color: #e0e0e0;
}
.nav-dropdown__link[data-dropdown-accent="4"] .nav-dropdown__icon-wrap {
  --dd-accent: var(--support-red-soft);
  background: rgba(var(--rgb-red), 0.2);
  color: #ffd4d5;
}
.nav-dropdown__link:hover {
  background: linear-gradient(105deg, rgba(78, 95, 232, 0.35) 0%, rgba(var(--rgb-lime), 0.12) 100%);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: translateX(2px);
}
.nav-dropdown__link:hover .nav-dropdown__icon-wrap {
  background: rgba(255, 255, 255, 0.14);
  transform: scale(1.05);
}
@media (prefers-reduced-motion: reduce) {
  .nav-dropdown__link:hover,
  .nav-dropdown__link:hover .nav-dropdown__icon-wrap {
    transform: none;
  }
}
.nav-dropdown__link:focus-visible {
  outline: 2px solid rgba(94, 234, 212, 0.85);
  outline-offset: 2px;
}

/* Compat: enlaces antiguos sin clase en HTML estático */
.nav-dropdown > li:not(.nav-dropdown__item) > a {
  display: block;
  padding: 0.55rem 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-dropdown > li:not(.nav-dropdown__item) > a:hover {
  background: rgba(78, 95, 232, 0.25);
  color: #fff;
}

.nav-cta {
  padding: 10px 26px !important;
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-teal-dim) 100%) !important;
  border-radius: var(--r-full) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  box-shadow: 0 4px 18px rgba(var(--rgb-lime), 0.35);
  transition: all 0.3s !important;
  margin-left: 1rem !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  box-shadow: 0 6px 28px rgba(var(--rgb-lime), 0.55) !important;
  transform: translateY(-2px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ══════════════════════════════════════════════
   HERO — Bright, Colorful, ALIVE
══════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding-top: 120px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #f8fafc 0%, #eef2ff 40%, #ecfeff 78%, #fffbeb 100%);
  display: flex;
  align-items: center;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.65;
  z-index: 1;
}
.blob-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: var(--blob-1);
  animation: blobFloat 10s ease-in-out infinite alternate;
}
.blob-2 {
  bottom: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: var(--blob-2);
  animation: blobFloat 14s ease-in-out infinite alternate-reverse;
}
.blob-3 {
  top: 40%;
  left: 40%;
  width: 30vw;
  height: 30vw;
  background: var(--blob-3);
  animation: blobPulse 8s ease-in-out infinite;
  opacity: 0.5;
}

.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.28;
}

@keyframes blobFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 30px) scale(1.05); }
}
@keyframes blobPulse {
  0% { transform: scale(1); opacity: 0.45; }
  50% { transform: scale(1.1); opacity: 0.65; }
  100% { transform: scale(1); opacity: 0.45; }
}
@keyframes morphShape {
  0%   { border-radius: 50% 30% 60% 40% / 40% 50% 50% 60%; }
  50%  { border-radius: 30% 60% 40% 50% / 60% 40% 60% 50%; }
  100% { border-radius: 50% 30% 60% 40% / 40% 50% 50% 60%; }
}
@keyframes floatMascot {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-14px); }
  100% { transform: translateY(0); }
}
@keyframes typing {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes blink {
  0%, 100% { border-color: var(--brand-primary); }
  50% { border-color: transparent; }
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, #fff 0%, rgba(236,253,245,0.7) 100%);
  color: var(--brand-secondary);
  padding: 0.55rem 1.3rem;
  border-radius: 30px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(78, 95, 232, 0.1);
  border: 1px solid rgba(var(--rgb-lime), 0.35);
  border-left: 4px solid var(--accent-amber);
  font-family: var(--font-heading);
}
.hero-badge .pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent-teal);
  border-radius: 50%;
  margin-right: 8px;
  animation: blobPulse 2s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(var(--rgb-lime), 0.6);
  vertical-align: middle;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--brand-secondary);
}
.hero-title .title-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(2.8rem, 6vw, 4.75rem);
  display: block;
}

/* Typewriter effect for subtitle */
.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 95%;
  line-height: 1.75;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.stat-pill {
  background: var(--bg-light);
  padding: 0.75rem 1.3rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  box-shadow: 0 10px 30px rgba(57, 73, 171, 0.08);
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-pill:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(57, 73, 171, 0.14);
}
.stat-pill-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.1rem;
}
.stat-pill:nth-child(1) .stat-pill-icon {
  background: linear-gradient(135deg, rgba(var(--rgb-lime), 0.18) 0%, rgba(var(--rgb-lime-dim), 0.12) 100%);
  border: 1px solid rgba(var(--rgb-lime), 0.4);
}
.stat-pill:nth-child(2) .stat-pill-icon {
  background: linear-gradient(135deg, rgba(var(--rgb-orange), 0.2) 0%, rgba(var(--rgb-orange-dim), 0.12) 100%);
  border: 1px solid rgba(var(--rgb-orange), 0.45);
}
.stat-pill:nth-child(3) .stat-pill-icon {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.16) 0%, rgba(124, 58, 237, 0.1) 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
}
.stat-pill-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-secondary);
  line-height: 1.1;
}
.stat-pill-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--r-full);
  transition: all 0.35s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
  font-family: var(--font-body);
}
.btn-brand {
  background: var(--gradient-main);
  color: white;
  box-shadow: 0 12px 28px rgba(78, 95, 232, 0.35);
}
.btn-brand:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 36px rgba(57, 73, 171, 0.4), 0 0 0 2px rgba(var(--rgb-orange), 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--text-main);
  border: 2px solid rgba(57, 73, 171, 0.25);
}
.btn-ghost:hover {
  border-color: var(--brand-primary);
  background: rgba(78, 95, 232, 0.04);
  transform: translateY(-3px);
}

/* Hero Images — Morphing organic shape */
.hero-images {
  position: relative;
  height: 100%;
  min-height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image-bg {
  width: min(450px, 90vw);
  height: min(450px, 90vw);
  background-image: var(--gradient-hero-ring);
  padding: 4px;
  border-radius: 50% 30% 60% 40% / 40% 50% 50% 60%;
  position: absolute;
  overflow: hidden;
  animation: morphShape 8s ease-in-out infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}
.hero-main-img {
  width: 92%;
  height: 92%;
  object-fit: cover;
  border-radius: inherit;
  background: var(--bg-light);
}
.hero-float-img {
  position: absolute;
  width: min(260px, 42vw);
  top: 0;
  right: 0;
  z-index: 10;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(30, 41, 59, 0.2), 0 0 0 3px #fff, 0 0 0 5px rgba(var(--rgb-lime), 0.65);
  object-fit: cover;
  animation: floatMascot 6s ease-in-out infinite;
}

/* Floating glass cards on hero image */
.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226,232,240,0.9);
  border-radius: var(--r-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  box-shadow: 0 12px 32px rgba(30, 41, 59, 0.12);
  z-index: 12;
}
.hero-float-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.hero-float-1 {
  top: 20px; right: -20px;
  animation: floatMascot 6s ease-in-out infinite;
}
.hero-float-1 .hero-float-card-icon {
  background: linear-gradient(135deg, rgba(78, 95, 232, 0.15) 0%, rgba(var(--rgb-lime), 0.1) 100%);
  border: 1px solid rgba(78, 95, 232, 0.25);
}
.hero-float-2 {
  bottom: 50px; left: -30px;
  animation: floatMascot 7s ease-in-out infinite reverse;
}
.hero-float-2 .hero-float-card-icon {
  background: linear-gradient(135deg, rgba(var(--rgb-lime), 0.15) 0%, rgba(var(--rgb-lime), 0.1) 100%);
  border: 1px solid rgba(var(--rgb-lime), 0.35);
}
.hero-float-number {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-float-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
}

/* ══════════════════════════════════════════════
   TRUST / PARTNERS MARQUEE
══════════════════════════════════════════════ */
.trust {
  padding: 48px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  background: var(--bg-gray);
  overflow: hidden;
}
.trust-label {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 28px;
}
.marquee-track {
  display: flex;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.trust-item {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-secondary);
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding: 0 48px;
  transition: color 0.3s, opacity 0.3s;
  opacity: 0.4;
}
.trust-item:hover { opacity: 1; color: var(--brand-primary); }

/* ══════════════════════════════════════════════
   SECTION SHARED
══════════════════════════════════════════════ */
.section { padding: 7rem 0; }
.section-light { background: var(--bg-light); }
.section-gray { background: var(--bg-gray); }
.section-soft { background: var(--bg-soft); }

.section-blue-bg {
  background: var(--brand-secondary);
  position: relative;
  overflow: hidden;
}
.section-blue-bg .bg-pattern {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 2px, transparent 2px);
  background-size: 28px 28px;
  opacity: 0.55;
  pointer-events: none;
}

.section-header {
  margin-bottom: 3.5rem;
  max-width: 800px;
}
.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-tag {
  display: inline-block;
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--brand-secondary);
  padding-bottom: 0.35rem;
  font-family: var(--font-body);
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--brand-secondary);
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
}
.section-desc.mx-auto { margin: 0 auto; }

/* Marca compás — capa decorativa tenue (solo con .has-deco-marca + .deco-marca-layer) */
.has-deco-marca {
  position: relative;
  isolation: isolate;
}
.has-deco-marca > .container {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.deco-marca-layer {
  position: absolute;
  left: 0;
  top: 8%;
  bottom: 8%;
  width: min(46vw, 440px);
  max-width: 100%;
  right: auto;
  z-index: 0;
  pointer-events: none;
  /* Recorte: el cuadro no sale por la izquierda; el desplazamiento del motivo lo hace JS (background-position) */
  background: var(--edumedia-deco-marca-url) no-repeat 18% 50%;
  background-size: 118%;
  opacity: 0.072;
  filter: blur(0.9px) saturate(0.92);
  will-change: transform, background-position;
  transform: translate3d(0, 0, 0);
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  animation: deco-marca-opacity-breathe 18s ease-in-out infinite;
}
@keyframes deco-marca-opacity-breathe {
  0%, 100% { opacity: 0.048; }
  50% { opacity: 0.078; }
}
@media (prefers-reduced-motion: reduce) {
  .deco-marca-layer {
    animation: none;
    opacity: 0.058;
  }
}

/* ══════════════════════════════════════════════
   PRODUCTS — BENTO GRID (Light version)
══════════════════════════════════════════════ */
.products {
  padding: 7rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #eef2ff 50%, #ecfeff 100%);
  min-width: 0;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(180px, auto);
  gap: 20px;
  min-width: 0;
}
a.bento-item {
  text-decoration: none;
  color: inherit;
  display: block;
}

.bento-item {
  background: var(--bg-light);
  border: 1px solid #e2e8f0;
  border-radius: var(--r-lg);
  padding: 32px;
  transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.4s cubic-bezier(.16,1,.3,1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 8px 28px rgba(57, 73, 171, 0.06);
  transform-style: preserve-3d;
  perspective: 1000px;
  min-width: 0;
}
.bento-item:hover {
  box-shadow: 0 18px 44px rgba(57, 73, 171, 0.12);
  border-color: rgba(78, 95, 232, 0.3);
}
/* Shine effect element */
.card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
              rgba(255, 255, 255, 0.4) 0%, 
              transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 5;
}
.bento-item:hover .card-glow, 
.service-card:hover .card-glow, 
.country-card:hover .card-glow {
  opacity: 1;
}
.bento-icon {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, rgba(78, 95, 232, 0.1) 0%, rgba(var(--rgb-lime), 0.08) 100%);
  border: 1px solid rgba(78, 95, 232, 0.18);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.bento-item h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; color: var(--brand-secondary); }
.bento-item p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }
.bento-tag {
  display: inline-block;
  padding: 4px 13px;
  background: rgba(var(--rgb-lime), 0.1);
  border: 1px solid rgba(var(--rgb-lime), 0.25);
  border-radius: var(--r-full);
  font-size: 0.72rem;
  color: var(--accent-teal-dim);
  font-weight: 600;
  margin-top: 14px;
}

.b-hero-card  { grid-column: span 8; grid-row: span 2; padding: 40px; }
.b-small-1    { grid-column: span 4; }
.b-small-2    { grid-column: span 4; }
.b-third-1    { grid-column: span 4; }
.b-third-2    { grid-column: span 4; }
.b-third-3    { grid-column: span 4; }

.bento-item.b-hero-card h3 { font-size: 1.7rem; margin-bottom: 12px; }

.bento-visual {
  margin-top: 20px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  flex-grow: 1;
  min-height: 160px;
}
.bento-visual img { width: 100%; height: 100%; object-fit: cover; }

/* Colorful accent borders per card */
.bento-item:nth-child(1) { border-top: 3px solid var(--accent-teal); }
.bento-item:nth-child(2) { border-top: 3px solid var(--accent-amber); }
.bento-item:nth-child(3) { border-top: 3px solid var(--accent-violet); }
.bento-item:nth-child(4) { border-top: 3px solid var(--accent-coral); }
.bento-item:nth-child(5) { border-top: 3px solid var(--brand-primary); }

/* Per-card unique icon bg */
.bento-item:nth-child(2) .bento-icon {
  background: linear-gradient(135deg, rgba(var(--rgb-orange), 0.14) 0%, rgba(var(--rgb-orange), 0.06) 100%);
  border-color: rgba(var(--rgb-orange), 0.35);
}
.bento-item:nth-child(3) .bento-icon {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.14) 0%, rgba(139, 92, 246, 0.06) 100%);
  border-color: rgba(139, 92, 246, 0.35);
}
.bento-item:nth-child(4) .bento-icon {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.12) 0%, rgba(244, 63, 94, 0.05) 100%);
  border-color: rgba(244, 63, 94, 0.35);
}
.bento-item:nth-child(5) .bento-icon {
  background: linear-gradient(135deg, rgba(78, 95, 232, 0.12) 0%, rgba(78, 95, 232, 0.05) 100%);
  border-color: rgba(78, 95, 232, 0.35);
}

/* ══════════════════════════════════════════════
   STATS — Colorful cards
══════════════════════════════════════════════ */
.stats {
  padding: 5rem 0;
  background: var(--brand-secondary);
  position: relative;
  overflow: hidden;
  /* Transición orgánica con el área clara: recorte en diagonal (arriba-derecha y abajo-izquierda) */
  border-top-right-radius: clamp(28px, 5.5vw, 72px);
  border-bottom-left-radius: clamp(28px, 5.5vw, 72px);
}
.stats .bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 2px, transparent 2px);
  background-size: 28px 28px;
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.stat-card {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.4s cubic-bezier(.16,1,.3,1);
  backdrop-filter: blur(8px);
  transform-style: preserve-3d;
  perspective: 1000px;
}
.stat-card:hover {
  background: rgba(255,255,255,0.1);
  box-shadow: 0 16px 36px rgba(0,0,0,0.2);
}
.stat-card:hover .card-glow {
  opacity: 1;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.stat-card:nth-child(1) .stat-number { color: var(--support-lime-soft); }
.stat-card:nth-child(2) .stat-number { color: var(--support-orange-soft); }
.stat-card:nth-child(3) .stat-number { color: var(--support-grey-soft); }
.stat-card:nth-child(4) .stat-number { color: var(--support-red-soft); }
.stat-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
  margin-top: 6px;
  font-weight: 500;
}
.stat-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* ══════════════════════════════════════════════
   EDUMAKER SHOWCASE
══════════════════════════════════════════════ */
.showcase {
  padding: 7rem 0;
  background: linear-gradient(180deg, #fff 0%, #faf5ff 50%, #eef2ff 100%);
}
.showcase .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.showcase-visual { position: relative; }
.showcase-img-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 50px rgba(57, 73, 171, 0.12);
  position: relative;
}
.showcase-img-wrap img { width: 100%; height: auto; }
.showcase-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  padding: 8px 16px;
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-amber-dim);
  border: 1px solid rgba(245,158,11,0.3);
  font-family: var(--font-heading);
}
.showcase-content .section-desc { margin-bottom: 36px; }

.showcase-features {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 40px;
}
.showcase-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.showcase-feat-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, rgba(78, 95, 232, 0.1) 0%, rgba(var(--rgb-lime), 0.08) 100%);
  border: 1px solid rgba(78, 95, 232, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.showcase-feature h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 3px;
  color: var(--brand-secondary);
}
.showcase-feature p { font-size: 0.88rem; color: var(--text-muted); }

/* ══════════════════════════════════════════════
   HOME — Soluciones complementarias (T-Board, EDUMAKER)
══════════════════════════════════════════════ */
.home-complementarias {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: linear-gradient(180deg, #eef2ff 0%, #ffffff 55%, #f8fafc 100%);
}
.home-complementarias__header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.home-complementarias__header .section-desc {
  max-width: 42rem;
}
.home-complementarias__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.home-plataformas.home-complementarias {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
}
.home-plataformas__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .home-plataformas__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-complementarias__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
  }
}
.home-complementarias__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  background: var(--bg-light);
  border: 1px solid #e2e8f0;
  border-radius: var(--r-lg);
  padding: 1.35rem 1.25rem 1.25rem;
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
  box-shadow: 0 6px 22px rgba(57, 73, 171, 0.06);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* Franja superior: sin border-radius propio (24px en 3px de alto deformaba el trazo); el recorte lo hace overflow:hidden + radius de la tarjeta */
.home-complementarias__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #e2e8f0 0%, #eef2f7 100%);
}
.home-complementarias__card > * {
  position: relative;
  z-index: 1;
}
.home-complementarias__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(57, 73, 171, 0.12);
  border-color: rgba(78, 95, 232, 0.28);
}
.home-complementarias__card--featured {
  border-color: rgba(78, 95, 232, 0.42);
  background: linear-gradient(165deg, #ffffff 0%, #f0f4ff 100%);
  box-shadow: 0 10px 32px rgba(78, 95, 232, 0.12);
}
.home-complementarias__card--featured::before {
  height: 4px;
  background: var(--gradient-main);
}
.home-complementarias__logo {
  margin-bottom: 0.7rem;
  max-width: 100%;
}
.home-complementarias__logo-img {
  display: block;
  height: auto;
  max-height: 44px;
  width: auto;
  max-width: min(220px, 100%);
  object-fit: contain;
}
@media (prefers-reduced-motion: reduce) {
  .home-complementarias__logo-img {
    transition: none;
  }
}
.home-complementarias__badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: rgba(78, 95, 232, 0.12);
  border: 1px solid rgba(78, 95, 232, 0.22);
  border-radius: var(--r-full);
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.65rem;
}
.home-complementarias__card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-secondary);
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
}
.home-complementarias__card-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 auto;
  flex: 1;
}
.home-complementarias__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--brand-primary);
}

/* ══════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════ */
.services {
  padding: 7rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ecfeff 50%, #fffbeb 100%);
}
.services-header { text-align: center; margin-bottom: 64px; }
.services-header .section-desc { margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.services-grid--single {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}
.service-card {
  background: var(--bg-light);
  border: 1px solid #e2e8f0;
  border-radius: var(--r-lg);
  padding: 40px 32px;
  transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.4s cubic-bezier(.16,1,.3,1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(57, 73, 171, 0.05);
  transform-style: preserve-3d;
  perspective: 1000px;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(57, 73, 171, 0.12);
}
.service-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.08;
  position: absolute;
  top: 16px; right: 24px;
  line-height: 1;
}
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; color: var(--brand-secondary); }
.service-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-primary);
  transition: gap 0.3s;
}
.service-card:hover .service-link { gap: 14px; }

/* Per-card accent */
.service-card:nth-child(1) { border-left: 4px solid var(--accent-teal); }
.service-card:nth-child(2) { border-left: 4px solid var(--accent-amber); }
.service-card:nth-child(3) { border-left: 4px solid var(--accent-violet); }

/* ══════════════════════════════════════════════
   COUNTRIES / PRESENCE
══════════════════════════════════════════════ */
.countries {
  padding: 7rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #ecfeff 50%, #f8fafc 100%);
}
.countries-header { text-align: center; margin-bottom: 64px; }
.countries-header .section-desc { margin: 0 auto; }

.countries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.country-card {
  background: var(--bg-light);
  border: 1px solid #e2e8f0;
  border-radius: var(--r-lg);
  padding: 40px 32px;
  text-align: center;
  transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.4s cubic-bezier(.16,1,.3,1);
  box-shadow: 0 8px 28px rgba(57, 73, 171, 0.06);
  transform-style: preserve-3d;
  perspective: 1000px;
}
.country-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(57, 73, 171, 0.12);
}
.country-card:nth-child(1) { border-top: 3px solid var(--accent-teal); }
.country-card:nth-child(2) { border-top: 3px solid var(--accent-amber); }
.country-card:nth-child(3) { border-top: 3px solid var(--accent-violet); }

.country-flag { margin-bottom: 16px; }
.country-flag img {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 4px;
  display: block;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.country-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; color: var(--brand-secondary); }
.country-card__kicker {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0 0 0.25rem;
  line-height: 1.4;
}
.country-card__contact {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid #e2e8f0;
  font-style: normal;
  text-align: center;
}
.country-card__addr {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.45;
  margin: 0 0 0.5rem;
}
.country-card__phones {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
}
.country-card__phones a {
  color: var(--brand-primary);
  text-decoration: none;
}
.country-card__phones a:hover {
  text-decoration: underline;
}

/* ══════════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════════ */
.cta-section { padding: 5rem 0; }
.cta-card {
  background: var(--gradient-main);
  border-radius: var(--r-xl);
  padding: 80px 56px;
  text-align: center;
  position: relative;
  /* visible: si overflow:hidden recorta el dropdown de intl-tel-input en el formulario */
  overflow: visible;
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 40%, rgba(94, 234, 212, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(var(--rgb-orange), 0.15) 0%, transparent 50%);
}
.cta-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}
/* Variantes de marca (cta_strip.accent en config); indigo = base .cta-card sin sufijo */
.cta-card--accent-forest {
  background: linear-gradient(128deg, #1e3a5f 0%, #0f766e 38%, #4E5FE8 100%);
}
.cta-card--accent-forest::before {
  background:
    radial-gradient(circle at 18% 35%, rgba(var(--rgb-lime), 0.35) 0%, transparent 52%),
    radial-gradient(circle at 82% 65%, rgba(94, 234, 212, 0.2) 0%, transparent 48%);
}
.cta-card--accent-ember {
  background: linear-gradient(125deg, #4338ca 0%, #4E5FE8 40%, #c2410c 100%);
}
.cta-card--accent-ember::before {
  background:
    radial-gradient(circle at 22% 42%, rgba(var(--rgb-orange), 0.32) 0%, transparent 50%),
    radial-gradient(circle at 78% 55%, rgba(251, 191, 36, 0.14) 0%, transparent 46%);
}
.cta-card--accent-midnight {
  background: linear-gradient(118deg, #0f172a 0%, #1e1b4b 36%, #312e81 72%, #3949AB 100%);
}
.cta-card--accent-midnight::before {
  background:
    radial-gradient(circle at 25% 30%, rgba(129, 140, 248, 0.22) 0%, transparent 48%),
    radial-gradient(circle at 75% 70%, rgba(15, 118, 110, 0.18) 0%, transparent 52%);
}
.cta-card--accent-aurora {
  background: linear-gradient(135deg, #4E5FE8 0%, #0d9488 42%, #65a30d 96%);
}
.cta-card--accent-aurora::before {
  background:
    radial-gradient(circle at 20% 38%, rgba(var(--rgb-lime), 0.28) 0%, transparent 50%),
    radial-gradient(circle at 85% 45%, rgba(147, 197, 253, 0.2) 0%, transparent 48%);
}
.site-page-interior .cta-card .btn.btn-ghost,
.site-page-interior .cta-card a.btn-ghost {
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}
.site-page-interior .cta-card .btn.btn-ghost:hover,
.site-page-interior .cta-card a.btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.18);
}
.cta-content { position: relative; z-index: 1; }
.cta-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #fff;
}
.cta-card p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,0.9);
}
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: #fff;
  color: var(--brand-secondary);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--r-full);
  border: none;
  transition: all 0.35s ease;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  font-family: var(--font-heading);
}
.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.site-footer {
  position: relative;
  background: transparent;
  padding: 0;
  color: #fff;
  overflow: visible;
}
/* Bloque con esquinas superiores redondeadas + textura (sin onda SVG) */
.site-footer__body {
  position: relative;
  z-index: 0;
  margin-top: clamp(-14px, -2vw, -6px);
  padding: 76px 0 40px;
  border-radius: clamp(22px, 5vw, 48px) clamp(22px, 5vw, 48px) 0 0;
  background: linear-gradient(155deg, #312e81 0%, var(--brand-secondary) 42%, #6d94eb 100%);
  color: #fff;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.07), 0 -24px 56px rgba(25, 22, 80, 0.22);
}
.site-footer__body::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 110% 60% at 0% 0%, rgba(255, 255, 255, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 85% 55% at 100% 8%, rgba(147, 197, 253, 0.14) 0%, transparent 50%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, transparent 35%);
}
.site-footer__body::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.065) 1px, transparent 1px);
  background-size: 15px 17px;
}
.site-footer__body .container {
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand .footer-logo img {
  height: 45px;
  width: auto;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
  object-fit: contain;
}
.footer-brand p {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 300px;
}
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-social {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  color: rgba(255,255,255,0.8);
}
.footer-social:hover {
  background: var(--accent-teal);
  border-color: var(--accent-teal);
  color: #fff;
}
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col__link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.22s ease, transform 0.22s ease;
}
.footer-col__link:hover {
  color: #99f6e4;
  transform: translateX(3px);
}
.footer-col__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.footer-col__icon .nav-dropdown-icon-svg {
  width: 15px;
  height: 15px;
}
.footer-col__link[data-footer-accent="1"] .footer-col__icon {
  background: rgba(var(--rgb-lime), 0.22);
  border-color: rgba(var(--rgb-lime), 0.35);
  color: #99f6e4;
}
.footer-col__link[data-footer-accent="2"] .footer-col__icon {
  background: rgba(var(--rgb-orange), 0.2);
  border-color: rgba(251, 191, 36, 0.35);
  color: #fde68a;
}
.footer-col__link[data-footer-accent="3"] .footer-col__icon {
  background: rgba(99, 102, 241, 0.22);
  border-color: rgba(165, 180, 252, 0.35);
  color: #c7d2fe;
}
.footer-col__link[data-footer-accent="4"] .footer-col__icon {
  background: rgba(14, 165, 233, 0.18);
  border-color: rgba(125, 211, 252, 0.35);
  color: #bae6fd;
}
.footer-col__link:hover .footer-col__icon {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.footer-col__label { line-height: 1.35; }
@media (prefers-reduced-motion: reduce) {
  .footer-col__link:hover { transform: none; }
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

/* ══════════════════════════════════════════════
   ANIMATIONS & REVEALS
══════════════════════════════════════════════ */
.animate-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

.parallax-el { transition: transform 0.1s ease-out; }

/* ══════════════════════════════════════════════
   PARALLAX WOW EFFECTS
══════════════════════════════════════════════ */

/* 3D Tilt Card Effect */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease;
}
.tilt-card .tilt-inner {
  transform: translateZ(30px);
  transition: transform 0.2s ease;
}
.tilt-card:hover {
  box-shadow: 0 25px 60px rgba(57, 73, 171, 0.18), 0 0 0 1px rgba(78, 95, 232, 0.1);
}

/* Hero zoom-out on scroll */
.hero-scale-wrap {
  transition: transform 0.05s linear, filter 0.1s linear;
  will-change: transform, filter;
}

/* Floating decorative shapes */
.deco-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.deco-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.deco-shape.visible { opacity: 1; }

.deco-circle {
  width: 80px; height: 80px;
  border: 3px solid rgba(78, 95, 232, 0.15);
  animation: decoFloat 8s ease-in-out infinite;
}
.deco-dot {
  width: 14px; height: 14px;
  background: var(--accent-teal);
  opacity: 0.25;
  animation: decoFloat 6s ease-in-out infinite reverse;
}
.deco-ring {
  width: 120px; height: 120px;
  border: 2px dashed rgba(var(--rgb-orange), 0.2);
  animation: decoSpin 20s linear infinite;
}
.deco-cross {
  width: 24px; height: 24px;
  border-radius: 0;
  background: none;
  opacity: 0.2;
}
.deco-cross::before, .deco-cross::after {
  content: '';
  position: absolute;
  background: var(--accent-violet);
}
.deco-cross::before {
  width: 24px; height: 3px;
  top: 50%; left: 0;
  transform: translateY(-50%);
}
.deco-cross::after {
  width: 3px; height: 24px;
  left: 50%; top: 0;
  transform: translateX(-50%);
}
.deco-triangle {
  width: 0; height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-bottom: 32px solid rgba(var(--rgb-lime), 0.12);
  border-radius: 0;
  background: none;
  animation: decoFloat 9s ease-in-out infinite;
}

@keyframes decoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-25px) rotate(8deg); }
}
@keyframes decoSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Word reveal on scroll */
.word-reveal {
  display: inline;
}
.word-reveal .word {
  display: inline-block;
  opacity: 0.15;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: translateY(5px);
}
.word-reveal .word.lit {
  opacity: 1;
  transform: translateY(0);
}

/* Magnetic button: sin transición en transform (Chrome la acumula con mousemove y se siente pesada) */
.btn-magnetic {
  transition: box-shadow 0.3s ease;
  will-change: transform;
  backface-visibility: hidden;
}
.btn-magnetic.btn-magnetic--settling {
  transition: transform 0.4s cubic-bezier(0.34, 1.45, 0.64, 1);
}

/* Stagger rotate reveal */
.reveal-rotate {
  opacity: 0;
  transform: translateY(50px) rotate(3deg);
  transition: all 0.7s cubic-bezier(.16,1,.3,1);
}
.reveal-rotate.visible {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

/* Parallax depth layers for sections */
.section-parallax {
  position: relative;
  overflow: hidden;
}
.parallax-bg-layer {
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: calc(100% + 100px);
  z-index: 0;
  will-change: transform;
}

/* Sticky hero text effect */
.hero-content {
  will-change: transform, opacity;
}

/* Scale up image on approach */
.img-scale-on-scroll {
  transition: transform 0.4s cubic-bezier(.16,1,.3,1);
  will-change: transform;
}
.img-scale-on-scroll.scaled {
  transform: scale(1.04);
}

/* Section divider wave */
.section-wave {
  position: relative;
  height: 80px;
  overflow: hidden;
  margin-top: -1px;
}
.section-wave svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 80px;
}

/* Depth shadow on scroll */
.depth-shadow {
  transition: box-shadow 0.4s ease;
}
.depth-shadow.deep {
  box-shadow: 0 30px 80px rgba(57, 73, 171, 0.2), 0 15px 30px rgba(0,0,0,0.06);
}


/* Contacto / lead (sitio corporativo) */
.cta-content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  text-align: left;
}
.cta-intro .btn-white {
  margin-top: 1rem;
}
.cta-hint {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(248, 250, 252, 0.75);
  max-width: 28rem;
  line-height: 1.45;
}
.cta-hint code {
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 1.25rem 1.35rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.lead-form-label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-white);
}
.lead-form-label span {
  opacity: 0.92;
}
.lead-form-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
}
.lead-form-input:focus {
  outline: 2px solid var(--accent-teal);
  outline-offset: 1px;
}
.lead-form-textarea {
  resize: vertical;
  min-height: 4.5rem;
}
.lead-form-submit {
  margin-top: 0.25rem;
  width: 100%;
  justify-content: center;
}
.form-status {
  min-height: 1.25rem;
  font-size: 0.9rem;
  margin: 0;
  padding-top: 0.25rem;
}
.form-status-success {
  color: var(--support-lime);
}
.form-status-error {
  color: #fecaca;
}
.lead-form-error-title {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.lead-form-error-list {
  margin: 0;
  padding-left: 1.2rem;
  text-align: left;
  line-height: 1.45;
}
.lead-form-error-list li {
  margin: 0.15rem 0;
}
.lead-form-fields {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.lead-form-phone-hint {
  margin: -0.35rem 0 0;
  font-size: 0.78rem;
  line-height: 1.35;
  opacity: 0.85;
  color: rgba(255, 255, 255, 0.88);
}
.lead-form .iti {
  width: 100%;
  display: block;
}
.lead-form .iti__country-container {
  border-radius: var(--r-sm) 0 0 var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-right: none;
  background: rgba(255, 255, 255, 0.98);
  padding: 0;
}
.lead-form .iti__selected-country {
  border-radius: var(--r-sm) 0 0 var(--r-sm);
  padding: 0 0.35rem 0 0.5rem;
}
.lead-form .iti__tel-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
}
.lead-form .iti__tel-input:focus {
  outline: 2px solid var(--accent-teal);
  outline-offset: 1px;
}
.lead-form .iti--separate-dial-code .iti__selected-country {
  background: rgba(255, 255, 255, 0.98);
}
.lead-form .iti__selected-dial-code {
  color: #1e293b !important;
  font-weight: 600;
  opacity: 1 !important;
}
.lead-form .iti__arrow {
  border-top-color: #475569 !important;
}
/* Panel país: buscador, lista y contraste (home CTA + mismo markup en contacto) */
.lead-form .iti__dropdown-content,
body > .iti--container .iti__dropdown-content {
  border-radius: var(--r-md);
  border: 1px solid rgba(57, 73, 171, 0.2);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.14);
  background: #fff;
  z-index: 50;
}
.lead-form .iti__search-input,
body > .iti--container .iti__search-input {
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  margin: 8px !important;
  box-sizing: border-box !important;
  width: calc(100% - 16px) !important;
  max-width: none !important;
  padding: 0.55rem 0.75rem !important;
  font-family: inherit !important;
  font-size: 0.9rem !important;
  color: #0f172a !important;
  background: #f8fafc !important;
}
.lead-form .iti__search-input:focus,
body > .iti--container .iti__search-input:focus {
  outline: none !important;
  border-color: #4e5fe8 !important;
  box-shadow: 0 0 0 2px rgba(78, 95, 232, 0.22);
}
.lead-form .iti__country-name,
body > .iti--container .iti__country-name {
  color: #0f172a !important;
  font-weight: 500;
}
.lead-form .iti__dial-code,
body > .iti--container .iti__dial-code {
  color: #475569 !important;
}
.lead-form .iti__country.iti__highlight,
body > .iti--container .iti__country.iti__highlight {
  background: rgba(78, 95, 232, 0.1) !important;
}
.lead-form .iti__country-list,
body > .iti--container .iti__country-list {
  border-top: 1px solid #e2e8f0;
}
.lead-form .iti__globe,
.lead-form .iti__flag {
  opacity: 1;
}
.lead-form-success {
  text-align: center;
  padding: 1rem 0.5rem 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.lead-form-success[hidden] {
  display: none !important;
}
.lead-form-success-icon {
  color: var(--support-lime);
  line-height: 0;
}
.lead-form-success-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
}
.lead-form-success-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  max-width: 28rem;
}
.lead-form-success-reset {
  margin-top: 0.35rem;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  padding: 1rem 0 0;
  margin-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  font-size: 0.85rem;
}
.footer-legal a {
  color: var(--accent-teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-legal a:focus-visible {
  outline: 2px solid var(--accent-teal);
  outline-offset: 2px;
}
@media (max-width: 900px) {
  .cta-content-split {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-stats { justify-content: center; }
  .hero-buttons { justify-content: center; }
  .hero-images { margin-top: 3rem; min-height: 360px; }
  .hero-float-img { right: 5%; }
  .hero-float-card { display: none; }

  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .b-hero-card { grid-column: span 6; grid-row: span 1; }
  .b-small-1   { grid-column: span 3; }
  .b-small-2   { grid-column: span 3; }
  .b-third-1   { grid-column: span 3; }
  .b-third-2   { grid-column: span 3; }
  .b-third-3   { grid-column: span 6; }

  .showcase .container { grid-template-columns: 1fr; }
  .showcase-visual { order: -1; max-width: 520px; margin: 0 auto; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { padding: 1rem 2rem; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1rem;
    background: var(--gradient-nav);
    box-shadow: 0 12px 32px rgba(57, 73, 171, 0.45);
    z-index: 1001;
  }
  .nav-links.open {
    display: flex !important;
  }
  .nav-links > a,
  .nav-links > li > a,
  .nav-dropdown-toggle {
    margin-left: 0;
    padding: 0.65rem 0;
  }
  .nav-item--dropdown:not(.is-open):hover .nav-dropdown {
    opacity: 0;
    visibility: hidden;
  }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    transition: max-height 0.35s ease;
    box-shadow: none;
    border: none;
    border-radius: 12px;
    background: color-mix(in srgb, var(--brand-secondary) 28%, transparent);
  }
  .nav-item--dropdown.is-open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    max-height: 640px;
    padding: 0.45rem;
    margin-top: 0.35rem;
    border: 1px solid color-mix(in srgb, var(--brand-primary) 35%, transparent);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
      var(--gradient-nav-dropdown);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 10px 28px color-mix(in srgb, var(--brand-secondary) 40%, #000);
  }
  .nav-dropdown__link {
    padding: 0.58rem 0.55rem;
  }
  .nav-hamburger { display: flex; }
  .section-nav {
    right: 0.5rem;
    gap: 0.85rem;
  }
  .section-dot {
    width: 10px;
    height: 10px;
  }
  .section-dot::after {
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
    right: calc(100% + 10px);
    max-width: min(52vw, 11rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .bento { grid-template-columns: 1fr; }
  .b-hero-card, .b-small-1, .b-small-2,
  .b-third-1, .b-third-2, .b-third-3 { grid-column: span 1; }

  .services-grid { grid-template-columns: 1fr; }
  .countries-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-card { padding: 56px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

.legal-placeholder__section {
  padding: 8.5rem 0 5rem;
  color: var(--text-main);
}
.legal-placeholder__section h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  margin: 0.4rem 0 1rem;
}
.legal-placeholder__kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-deep);
}
.legal-placeholder__section p {
  max-width: 40rem;
  font-size: 1.05rem;
}
.legal-placeholder__section a {
  color: var(--brand-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Páginas interiores — mismo lenguaje visual que index (tema claro, gradientes) */
.site-page-interior .page-interior-main {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 32%, #f8fafc 100%);
}
.site-page-interior .page-hero--split {
  position: relative;
  padding: clamp(100px, 14vw, 130px) 0 clamp(48px, 8vw, 72px);
  overflow: hidden;
  background: linear-gradient(165deg, #f8fafc 0%, #eef2ff 38%, #ecfeff 72%, #fffbeb 100%);
}
.site-page-interior .page-hero__blobs {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.site-page-interior .page-hero__blobs .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.55;
}
.site-page-interior .page-hero__container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  max-width: 1280px;
}
.site-page-interior .page-hero__content .section-tag {
  margin-bottom: 1rem;
}
.site-page-interior .page-hero__brand {
  margin-bottom: 0.85rem;
}
.site-page-interior .page-hero__brand-logo {
  display: block;
  height: auto;
  max-height: 48px;
  width: auto;
  max-width: min(260px, 100%);
  object-fit: contain;
}
@media (prefers-reduced-motion: reduce) {
  .site-page-interior .page-hero__brand-logo {
    transition: none;
  }
}
.site-page-interior .page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 1rem;
  color: var(--brand-secondary);
}
.site-page-interior .page-hero__title .gradient-text-inline,
.site-page-interior .page-hero__title strong {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.site-page-interior .page-hero__lead {
  margin-bottom: 1.75rem;
  max-width: 38rem;
  line-height: 1.7;
}
.site-page-interior .page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.site-page-interior .page-hero__visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 520px;
}
.site-page-interior .page-hero__img-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 24px 56px rgba(57, 73, 171, 0.14);
  background: var(--bg-light);
}
.site-page-interior .page-hero__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  padding: 8px 14px;
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-amber-dim);
  border: 1px solid rgba(var(--rgb-orange), 0.35);
  font-family: var(--font-heading);
}
.site-page-interior .page-hero__tilt-inner {
  border-radius: 0 0 calc(var(--r-xl) - 2px) calc(var(--r-xl) - 2px);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.12s ease-out;
}
.site-page-interior .page-hero__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
/* Hero: fotos de producto anchas (p. ej. T-Board) sin recorte agresivo */
.page-landing-tboard-blue .page-hero__img {
  object-fit: contain;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}
.page-landing-tboard-black:not(.site-page-interior) .page-hero__img {
  object-fit: contain;
  background: linear-gradient(180deg, #0b0f18 0%, #151b2e 100%);
}
.site-page-interior .page-hero__video-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 24px 56px rgba(57, 73, 171, 0.14);
  background: #0f172a;
}
.site-page-interior .page-hero__video-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.site-page-interior .page-hero__video-inner iframe,
.site-page-interior .page-hero__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.site-page-interior .page-hero__video-inner--native {
  background: #0f172a;
}
.site-page-interior .page-hero__video-inner--native-fs {
  background: #000;
}
.site-page-interior .page-hero__video-native {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0f172a;
  cursor: pointer;
}
.site-page-interior .page-hero__native-poster-hit {
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 48px;
  z-index: 5;
  border: none;
  background: transparent;
  pointer-events: auto;
}
.site-page-interior .page-hero__native-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.site-page-interior .page-hero__native-overlay--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.site-page-interior .page-hero__native-bigplay {
  position: relative;
  z-index: 1;
  width: 4.25rem;
  height: 4.25rem;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 40px rgba(57, 73, 171, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  pointer-events: auto;
}
.site-page-interior .page-hero__native-bigplay-bg {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--gradient-main);
  opacity: 0.95;
}
.site-page-interior .page-hero__native-bigplay:hover .page-hero__native-bigplay-bg {
  opacity: 1;
  filter: brightness(1.05);
}
.site-page-interior .page-hero__native-bigplay:hover {
  transform: scale(1.06);
}
.site-page-interior .page-hero__native-bigplay-triangle {
  position: relative;
  z-index: 1;
  margin-left: 3px;
}
.site-page-interior .page-hero__native-chrome {
  --hero-native-accent: var(--accent-teal);
  --hero-native-accent-dim: var(--accent-teal-dim);
  --hero-native-progress: 0%;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 12px;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.92));
  border-radius: 0 0 calc(var(--r-xl) - 2px) calc(var(--r-xl) - 2px);
  color: #f1f5f9;
  pointer-events: auto;
}
.site-page-interior .page-hero__native-chrome[hidden] {
  display: none !important;
}
.site-page-interior .page-hero__native-pp,
.site-page-interior .page-hero__native-mute,
.site-page-interior .page-hero__native-fs {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 10px;
  background: rgba(78, 95, 232, 0.35);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.site-page-interior .page-hero__native-pp:hover,
.site-page-interior .page-hero__native-mute:hover,
.site-page-interior .page-hero__native-fs:hover {
  background: rgba(var(--rgb-lime), 0.35);
  color: #0f172a;
}
.site-page-interior .page-hero__native-pp .page-hero__native-icon--pause {
  display: none;
}
.site-page-interior .page-hero__native-pp.is-playing .page-hero__native-icon--play {
  display: none;
}
.site-page-interior .page-hero__native-pp.is-playing .page-hero__native-icon--pause {
  display: block;
}
.site-page-interior .page-hero__native-mute .page-hero__native-icon--muted {
  display: none;
}
.site-page-interior .page-hero__native-mute.is-muted .page-hero__native-icon--vol {
  display: none;
}
.site-page-interior .page-hero__native-mute.is-muted .page-hero__native-icon--muted {
  display: block;
}
.site-page-interior .page-hero__native-time {
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  color: #e2e8f0;
  min-width: 5.5rem;
}
.site-page-interior .page-hero__native-seek {
  flex: 1 1 120px;
  min-width: 80px;
  height: 6px;
  margin: 0 4px;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--hero-native-accent) 0%,
    var(--hero-native-accent) var(--hero-native-progress),
    rgba(255, 255, 255, 0.22) var(--hero-native-progress),
    rgba(255, 255, 255, 0.22) 100%
  );
  cursor: pointer;
}
.site-page-interior .page-hero__native-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(78, 95, 232, 0.9), 0 2px 8px rgba(0, 0, 0, 0.35);
  border: none;
  margin-top: -4px;
}
.site-page-interior .page-hero__native-seek::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}
.site-page-interior .page-hero__native-seek::-moz-range-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--hero-native-accent);
}
.site-page-interior .page-hero__native-seek::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 0 0 2px rgba(78, 95, 232, 0.9);
}
/* Fachada: poster + play (marca); iframe tras clic con color=white en URL (barra blanca; YouTube no permite azul en la barra). */
.site-page-interior .page-hero__video-inner--facade {
  background: #0f172a;
}
.site-page-interior .page-hero__video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.site-page-interior .page-hero__video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 4.25rem;
  height: 4.25rem;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 40px rgba(57, 73, 171, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.site-page-interior .page-hero__video-play-bg {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--gradient-main);
  opacity: 0.95;
}
.site-page-interior .page-hero__video-play:hover .page-hero__video-play-bg {
  opacity: 1;
  filter: brightness(1.05);
}
.site-page-interior .page-hero__video-play:hover {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 16px 48px rgba(78, 95, 232, 0.5);
}
.site-page-interior .page-hero__video-play:focus-visible {
  outline: 3px solid rgba(var(--rgb-lime), 0.85);
  outline-offset: 4px;
}
.site-page-interior .page-hero__video-play-triangle {
  position: relative;
  z-index: 1;
  margin-left: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .site-page-interior .page-hero__video-play:hover {
    transform: translate(-50%, -50%);
  }
}
.site-page-interior .doc-section {
  margin: 1.5rem 0;
  padding: clamp(20px, 3vw, 36px);
  border-radius: var(--r-lg);
  border: 1px solid #e2e8f0;
  background: var(--bg-light);
  box-shadow: 0 12px 40px rgba(57, 73, 171, 0.07);
  position: relative;
  overflow: hidden;
}
.site-page-interior .doc-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-main);
  opacity: 0.9;
  pointer-events: none;
}
.site-page-interior .doc-section:nth-of-type(2n) {
  background: linear-gradient(165deg, #fafbff 0%, #fff 48%, #f0fdfa 100%);
  border-color: rgba(var(--rgb-lime), 0.2);
}
.site-page-interior .doc-section > *:first-child {
  margin-top: 0;
}
.site-page-interior .doc-rhythm-break {
  margin: 2.5rem 0;
  padding: 20px 20px;
  text-align: center;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  background: linear-gradient(
    100deg,
    rgba(78, 95, 232, 0.12) 0%,
    rgba(var(--rgb-lime), 0.1) 42%,
    rgba(var(--rgb-orange), 0.08) 100%
  );
  border-top: 1px solid rgba(78, 95, 232, 0.12);
  border-bottom: 1px solid rgba(var(--rgb-lime), 0.12);
}
.site-page-interior .doc-rhythm-break__label {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.site-page-interior .page-hero__lead.word-reveal {
  display: block;
}
.site-page-interior .page-body-section {
  padding: 0 0 5.5rem;
}
.site-page-interior .page-doc-card {
  background: var(--bg-light);
  border: 1px solid #e2e8f0;
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 48px) clamp(24px, 3vw, 44px);
  box-shadow: 0 16px 48px rgba(57, 73, 171, 0.07);
}
.site-page-interior .doc-prose {
  font-size: 1.05rem;
  line-height: 1.78;
  color: var(--text-muted);
  max-width: 900px;
}
.site-page-interior .doc-prose > *:first-child {
  margin-top: 0;
}
.site-page-interior .doc-prose h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--brand-secondary);
  margin: 2rem 0 0.65rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid rgba(78, 95, 232, 0.2);
}
.site-page-interior .doc-prose h3 {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--brand-secondary);
  margin: 1.5rem 0 0.5rem;
}
.site-page-interior .doc-prose h4,
.site-page-interior .doc-prose h5 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-deep);
  margin: 1.25rem 0 0.4rem;
}
.site-page-interior .doc-prose p {
  margin: 0.9em 0;
}
.site-page-interior .doc-prose ul {
  margin: 1em 0;
  padding-left: 1.35rem;
  list-style: disc;
}
.site-page-interior .doc-prose li {
  margin: 0.4em 0;
}
.site-page-interior .doc-prose li::marker {
  color: var(--brand-primary);
}
.site-page-interior .doc-prose a {
  color: var(--accent-teal-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.site-page-interior .doc-prose a:hover {
  color: var(--brand-primary);
}
.site-page-interior .doc-prose strong {
  color: var(--text-main);
  font-weight: 700;
}
.site-page-interior .doc-figure {
  margin: 1.35em 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  box-shadow: 0 8px 28px rgba(57, 73, 171, 0.06);
}
.site-page-interior .doc-figure img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.site-page-interior .doc-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin: 1.75rem 0;
}
.site-page-interior .doc-gallery .doc-figure {
  margin: 0;
  height: 100%;
}
.site-page-interior .doc-gallery .doc-figure img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.site-page-interior .doc-rich {
  margin: 1.15em 0;
}
.site-page-interior .doc-rich p {
  margin: 0.75em 0;
}
.site-page-interior .doc-rich ul,
.site-page-interior .doc-rich ol {
  margin: 0.75em 0;
  padding-left: 1.35rem;
}
.site-page-interior .doc-rich a {
  color: var(--accent-teal-dim);
  font-weight: 600;
}
.site-page-interior .doc-hr {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 2rem 0;
}
.site-page-interior .doc-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--brand-primary);
  text-decoration: none;
  border-bottom: 2px solid rgba(78, 95, 232, 0.35);
}
.site-page-interior .doc-cta-link:hover {
  color: var(--brand-secondary);
  border-bottom-color: var(--brand-secondary);
}
/* Lista de beneficios (interiores editadas a mano): sin viñeta duplicada con el copy */
.site-page-interior .doc-prose ul.doc-benefits {
  list-style: none;
  padding-left: 0;
  margin: 1.35em 0 1.75em;
}
.site-page-interior .doc-prose ul.doc-benefits li {
  position: relative;
  padding-left: 1.35rem;
  margin: 0.75em 0;
  line-height: 1.65;
}
.site-page-interior .doc-prose ul.doc-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gradient-main);
}
.site-page-interior .doc-cta-box {
  margin: 2rem 0 0;
  padding: 1.35rem 1.5rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(78, 95, 232, 0.22);
  background: linear-gradient(
    135deg,
    rgba(78, 95, 232, 0.07) 0%,
    rgba(var(--rgb-lime), 0.06) 100%
  );
}
.site-page-interior .doc-cta-box p:first-child {
  margin-top: 0;
}
.site-page-interior .doc-cta-box p:last-child {
  margin-bottom: 0;
}
.site-page-interior .doc-video-wrap {
  margin: 1.5rem 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #0f172a;
  aspect-ratio: 16 / 9;
  max-height: 420px;
}
.site-page-interior .doc-video {
  width: 100%;
  height: 100%;
  min-height: 240px;
  border: 0;
  display: block;
}
.site-page-interior .doc-fetch-fail {
  padding: 1.25rem 1.5rem;
  border-radius: var(--r-md);
  background: #fffbeb;
  border: 1px solid rgba(var(--rgb-orange), 0.45);
  color: var(--brand-deep);
}
.site-page-interior .page-cta-strip {
  margin-top: 2.75rem;
  padding: 24px 26px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(78, 95, 232, 0.25);
  background: linear-gradient(135deg, rgba(78, 95, 232, 0.08) 0%, rgba(var(--rgb-lime), 0.06) 100%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-page-interior .page-cta-strip p {
  margin: 0;
  color: var(--text-muted);
  max-width: 46ch;
  font-size: 0.98rem;
}
.site-page-interior .nav-logo a {
  display: inline-flex;
  align-items: center;
}
@media (max-width: 960px) {
  .site-page-interior .page-hero__container {
    grid-template-columns: 1fr;
  }
  .site-page-interior .page-hero__visual {
    justify-self: center;
    order: -1;
    max-width: 440px;
  }
}

/* Landings comerciales (dinámicas + licencias): bento en grid 2–3 columnas; métricas alineadas a la referencia */
.product-lp-value .product-lp-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .product-lp-value .product-lp-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .product-lp-value .product-lp-bento {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.product-lp-value .product-lp-bento .bento-item.bento-item--product {
  min-height: 0;
  justify-content: flex-start;
  align-items: stretch;
}
.product-lp-value .product-lp-bento .bento-tag {
  align-self: flex-start;
  margin-top: 0.875rem;
}

.product-lp-stats-band .product-lp-metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .product-lp-stats-band .product-lp-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .product-lp-stats-band .product-lp-metrics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.product-lp-stats-band .product-lp-metric-val {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
}
.product-lp-stats-band .stat-card:nth-child(1) .product-lp-metric-val {
  color: var(--support-lime-soft);
}
.product-lp-stats-band .stat-card:nth-child(2) .product-lp-metric-val {
  color: var(--support-orange-soft);
}
.product-lp-stats-band .stat-card:nth-child(3) .product-lp-metric-val {
  color: var(--support-grey-soft);
}
.product-lp-stats-band .stat-card:nth-child(4) .product-lp-metric-val {
  color: var(--support-red-soft);
}

/* Landing de producto (páginas interiores editadas a mano, ej. licencias) */
.page-landing-licencias .product-lp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-secondary);
  margin: 0 0 1rem;
  font-family: var(--font-heading);
}
.page-landing-licencias .product-lp-kicker__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-main);
  box-shadow: 0 0 0 3px rgba(78, 95, 232, 0.2);
}
.page-landing-licencias .product-lp-hero-stats {
  margin-bottom: 1.75rem;
}
.page-landing-licencias .product-lp-trust {
  padding: 2.5rem 0 2rem;
}
.page-landing-licencias .product-lp-value {
  padding-top: 4rem;
}
.page-landing-licencias .product-lp-showcase {
  padding-top: 5rem;
}
.page-landing-licencias .product-lp-diagram {
  padding: 3rem 0 2rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.page-landing-licencias .product-lp-diagram__figure {
  margin: 0 auto;
  max-width: 920px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 50px rgba(57, 73, 171, 0.1);
  background: var(--bg-light);
}
.page-landing-licencias .product-lp-diagram__figure img {
  display: block;
  width: 100%;
  height: auto;
}
.page-landing-licencias .product-lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

/* T-Board Black: landing oscura (marca: gradiente índigo + teal/ámbar en acentos) */
.page-landing-tboard-black:not(.site-page-interior) {
  color-scheme: dark;
  background: #070a12;
  color: #e2e8f0;
}
.page-landing-tboard-black:not(.site-page-interior) .page-interior-main {
  background: linear-gradient(180deg, #070a12 0%, #0c1220 38%, #070a12 100%);
}
.page-landing-tboard-black:not(.site-page-interior) .page-hero--split {
  background:
    radial-gradient(ellipse 90% 70% at 15% 20%, rgba(78, 95, 232, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 75%, rgba(var(--rgb-lime), 0.12) 0%, transparent 50%),
    linear-gradient(168deg, #0a0e18 0%, #0f1628 42%, #0c101c 100%);
}
.page-landing-tboard-black:not(.site-page-interior) .page-hero--split .blob-1 {
  background: rgba(78, 95, 232, 0.38);
}
.page-landing-tboard-black:not(.site-page-interior) .page-hero--split .blob-2 {
  background: rgba(var(--rgb-lime), 0.2);
}
.page-landing-tboard-black:not(.site-page-interior) .page-hero--split .blob-3 {
  background: rgba(var(--rgb-orange), 0.14);
}
.page-landing-tboard-black:not(.site-page-interior) .page-hero__title {
  color: #f1f5f9;
}
.page-landing-tboard-black:not(.site-page-interior) .page-hero__title .gradient-text-inline {
  background: linear-gradient(135deg, #818cf8 0%, var(--support-lime-soft) 55%, var(--support-orange-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-landing-tboard-black:not(.site-page-interior) .page-hero__lead,
.page-landing-tboard-black:not(.site-page-interior) .hero-subtitle {
  color: #94a3b8;
}
.page-landing-tboard-black:not(.site-page-interior) .page-hero__content .section-tag {
  color: #a5b4fc;
  border-bottom-color: rgba(129, 140, 248, 0.65);
}
.page-landing-tboard-black:not(.site-page-interior) .product-lp-kicker {
  color: #cbd5e1;
}
.page-landing-tboard-black:not(.site-page-interior) .product-lp-kicker__dot {
  box-shadow: 0 0 0 3px rgba(78, 95, 232, 0.35);
}
.page-landing-tboard-black:not(.site-page-interior) .stat-pill {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.page-landing-tboard-black:not(.site-page-interior) .stat-pill:hover {
  border-color: rgba(129, 140, 248, 0.45);
  box-shadow: 0 16px 44px rgba(57, 73, 171, 0.25);
}
.page-landing-tboard-black:not(.site-page-interior) .stat-pill-number {
  color: #e2e8f0;
}
.page-landing-tboard-black:not(.site-page-interior) .stat-pill-label {
  color: #94a3b8;
}
.page-landing-tboard-black:not(.site-page-interior) .stat-pill-icon i {
  color: #a5b4fc;
}
.page-landing-tboard-black:not(.site-page-interior) .btn-ghost {
  color: #e2e8f0;
  border-color: rgba(129, 140, 248, 0.45);
  background: rgba(255, 255, 255, 0.04);
}
.page-landing-tboard-black:not(.site-page-interior) .btn-ghost:hover {
  border-color: #818cf8;
  background: rgba(78, 95, 232, 0.18);
  color: #fff;
}
.page-landing-tboard-black:not(.site-page-interior) .page-hero__img-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.65);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(78, 95, 232, 0.15);
}
.page-landing-tboard-black:not(.site-page-interior) .page-hero__badge {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(var(--rgb-orange), 0.35);
  color: var(--support-orange-soft);
}
.page-landing-tboard-black:not(.site-page-interior) .product-lp-trust {
  border-top-color: rgba(255, 255, 255, 0.08);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #0a0e18 0%, #0d121f 100%);
}
.page-landing-tboard-black:not(.site-page-interior) .trust-item {
  color: #cbd5e1;
  opacity: 0.5;
}
.page-landing-tboard-black:not(.site-page-interior) .trust-item:hover {
  color: #a5b4fc;
  opacity: 1;
}
.page-landing-tboard-black:not(.site-page-interior) .product-lp-showcase.showcase {
  background: linear-gradient(180deg, #0d121f 0%, #0f172a 55%, #0c101c 100%);
}
.page-landing-tboard-black:not(.site-page-interior) .product-lp-showcase .section-title {
  color: #f1f5f9;
}
.page-landing-tboard-black:not(.site-page-interior) .product-lp-showcase .section-desc {
  color: #94a3b8;
}
.page-landing-tboard-black:not(.site-page-interior) .product-lp-showcase .section-tag {
  color: #a5b4fc;
  border-bottom-color: rgba(129, 140, 248, 0.5);
}
.page-landing-tboard-black:not(.site-page-interior) .showcase-img-wrap {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
}
.page-landing-tboard-black:not(.site-page-interior) .showcase-badge {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(var(--rgb-orange), 0.35);
  color: var(--support-orange-soft);
}
.page-landing-tboard-black:not(.site-page-interior) .showcase-feat-icon {
  background: linear-gradient(135deg, rgba(78, 95, 232, 0.2) 0%, rgba(var(--rgb-lime), 0.12) 100%);
  border-color: rgba(129, 140, 248, 0.35);
}
.page-landing-tboard-black:not(.site-page-interior) .showcase-feat-icon i {
  color: #a5b4fc;
}
.page-landing-tboard-black:not(.site-page-interior) .showcase-feature h4 {
  color: #e2e8f0;
}
.page-landing-tboard-black:not(.site-page-interior) .showcase-feature p {
  color: #94a3b8;
}
.page-landing-tboard-black:not(.site-page-interior) .products.product-lp-value {
  background: linear-gradient(180deg, #0c101c 0%, #111827 48%, #0a0e18 100%);
}
.page-landing-tboard-black:not(.site-page-interior) .products.product-lp-value .section-title {
  color: #f1f5f9;
}
.page-landing-tboard-black:not(.site-page-interior) .products.product-lp-value .section-desc {
  color: #94a3b8;
}
.page-landing-tboard-black:not(.site-page-interior) .products.product-lp-value .section-tag {
  color: #a5b4fc;
  border-bottom-color: rgba(129, 140, 248, 0.5);
}
.page-landing-tboard-black:not(.site-page-interior) .product-lp-value .bento-item.bento-item--product {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.page-landing-tboard-black:not(.site-page-interior) .product-lp-value .bento-item.bento-item--product:hover {
  border-color: rgba(129, 140, 248, 0.35);
  box-shadow: 0 20px 48px rgba(57, 73, 171, 0.2);
}
.page-landing-tboard-black:not(.site-page-interior) .product-lp-value .bento-item h3 {
  color: #f1f5f9;
}
.page-landing-tboard-black:not(.site-page-interior) .product-lp-value .bento-item p {
  color: #94a3b8;
}
.page-landing-tboard-black:not(.site-page-interior) .product-lp-value .bento-tag {
  background: rgba(var(--rgb-lime), 0.12);
  border-color: rgba(var(--rgb-lime), 0.35);
  color: var(--support-lime-soft);
}
.page-landing-tboard-black:not(.site-page-interior) .product-lp-diagram {
  padding: 3rem 0 2rem;
  background: linear-gradient(180deg, #0a0e18 0%, #0f1628 100%);
}
.page-landing-tboard-black:not(.site-page-interior) .product-lp-diagram__figure {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35);
  background: rgba(15, 23, 42, 0.5);
}
.page-landing-tboard-black:not(.site-page-interior) .product-lp-stats-band.stats {
  background: linear-gradient(145deg, #1e1b4b 0%, var(--brand-secondary) 48%, var(--support-lime-dim) 100%);
}
.page-landing-tboard-black:not(.site-page-interior) .cta-section {
  background: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .site-page-interior .doc-section.reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .site-page-interior .word-reveal .word {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .site-page-interior .page-hero__tilt-inner {
    transform: none !important;
  }
}

/* ══════════════════════════════════════════════
   Landing — diagrama como galería + glass + minijuego
══════════════════════════════════════════════ */
.product-lp-diagram--gallery {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  position: relative;
}
.product-lp-diagram-gallery__wrap {
  position: relative;
}
.product-lp-diagram-gallery__replay {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 6;
  font-size: 0.78rem;
  padding: 0.35rem 0.65rem;
}
.product-lp-diagram-gallery__viewport {
  position: relative;
  border-radius: var(--r-xl, 1.25rem);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 18px 48px rgba(57, 73, 171, 0.1);
  background: #f8fafc;
}
.product-lp-diagram-gallery__track {
  display: flex;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.product-lp-diagram-gallery__track::-webkit-scrollbar {
  display: none;
}
.product-lp-diagram-gallery__slide {
  flex: 0 0 100%;
  min-width: 100%;
  min-height: 0;
  margin: 0;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  max-height: min(72vh, 560px);
  overflow: hidden;
}
.product-lp-diagram-gallery__slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: default;
  background: linear-gradient(180deg, #f1f5f9 0%, #fff 100%);
}
.product-lp-diagram--gallery.is-unlocked .product-lp-diagram-gallery__slide img {
  cursor: zoom-in;
}
.product-lp-diagram-gallery__glass {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(14px) saturate(1.35);
  -webkit-backdrop-filter: blur(14px) saturate(1.35);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.product-lp-diagram--gallery.is-unlocked .product-lp-diagram-gallery__glass {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.product-lp-diagram-gallery__glass-panel {
  width: min(34rem, 100%);
  max-height: min(78vh, 520px);
  overflow: auto;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--r-lg, 1rem);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 4px 24px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.product-lp-diagram-gallery__glass-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-family: var(--font-heading);
  color: var(--brand-secondary);
}
.product-lp-diagram-gallery__glass-lead {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.product-lp-diagram-gallery__stmt {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.45;
}
.product-lp-diagram-gallery__btnrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.product-lp-diagram-gallery__slider-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.product-lp-diagram-gallery__range {
  width: 100%;
  margin-bottom: 1rem;
  accent-color: var(--brand-primary);
}
.product-lp-diagram-gallery__check {
  margin-top: 0.25rem;
}
.product-lp-diagram-gallery__feedback {
  min-height: 1.25rem;
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
}
.product-lp-diagram-gallery__feedback.is-success {
  color: #0f766e;
}
.product-lp-diagram-gallery__feedback.is-error {
  color: #b91c1c;
}
.product-lp-diagram-gallery__match-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}
.product-lp-diagram-gallery__match-row:last-child {
  border-bottom: none;
}
.product-lp-diagram-gallery__match-text {
  font-size: 0.9rem;
  color: #334155;
}
.product-lp-diagram-gallery__match-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.product-lp-diagram-gallery__mem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: 16rem;
  margin: 0 auto;
}
.product-lp-diagram-gallery__mem-card {
  aspect-ratio: 1;
  border-radius: var(--r-md, 0.65rem);
  border: 1px solid rgba(78, 95, 232, 0.35);
  background: linear-gradient(145deg, #eef2ff, #fff);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--brand-secondary);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-lp-diagram-gallery__mem-card:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(57, 73, 171, 0.15);
}
.product-lp-diagram-gallery__mem-card:disabled {
  opacity: 0.85;
  cursor: default;
}
.product-lp-diagram-gallery__tl {
  list-style: decimal;
  margin: 0 0 1rem 1.1rem;
  padding: 0;
}
.product-lp-diagram-gallery__tl-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.4rem 0;
}
.product-lp-diagram-gallery__tl-text {
  font-size: 0.88rem;
  color: #334155;
  flex: 1;
  min-width: 0;
}
.product-lp-diagram-gallery__tl-actions {
  display: flex;
  gap: 0.25rem;
  flex-shrink: 0;
}
.product-lp-diagram-gallery__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
.product-lp-diagram-gallery__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r-full);
  border: 1px solid #e2e8f0;
  background: #fff;
  color: var(--brand-primary);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.product-lp-diagram-gallery__nav:hover {
  background: #eef2ff;
  border-color: rgba(78, 95, 232, 0.35);
}
.product-lp-diagram-gallery__dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  max-width: 12rem;
}
.product-lp-diagram-gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: #cbd5e1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.product-lp-diagram-gallery__dot.is-active {
  background: var(--brand-primary);
  transform: scale(1.15);
}
.page-landing-tboard-black:not(.site-page-interior) .product-lp-diagram--gallery .product-lp-diagram-gallery__viewport {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35);
  background: rgba(15, 23, 42, 0.45);
}
.page-landing-tboard-black:not(.site-page-interior) .product-lp-diagram-gallery__slide img {
  background: rgba(15, 23, 42, 0.35);
}
/* Lightbox: imagen ampliada (solo landings corporativas, sin dependencia de Vue) */
.product-lp-diagram-gallery__lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 3vw, 1.5rem);
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-lp-diagram-gallery__lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.product-lp-diagram-gallery__lightbox-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: rgba(15, 23, 42, 0.72);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-lp-diagram-gallery__lightbox.is-open .product-lp-diagram-gallery__lightbox-backdrop {
  opacity: 1;
}
.product-lp-diagram-gallery__lightbox-panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  width: min(96vw, 1200px);
  max-height: min(92vh, 900px);
  padding: clamp(0.65rem, 2vw, 1rem);
  border-radius: var(--r-lg, 1rem);
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  transition:
    opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-lp-diagram-gallery__lightbox.is-open .product-lp-diagram-gallery__lightbox-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.product-lp-diagram-gallery__lightbox-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.product-lp-diagram-gallery__lightbox-nav--prev {
  justify-self: start;
}
.product-lp-diagram-gallery__lightbox-close {
  justify-self: center;
  flex-shrink: 0;
}
.product-lp-diagram-gallery__lightbox-nav--next {
  justify-self: end;
}
.product-lp-diagram-gallery__lightbox-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(88vh, 820px);
  margin: 0 auto;
  object-fit: contain;
  border-radius: var(--r-md, 0.65rem);
  background: #f1f5f9;
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-lp-diagram-gallery__lightbox-img.is-img-enter {
  opacity: 0;
  transform: scale(0.96);
}
.product-lp-diagram-gallery__lightbox-img.is-img-exit {
  opacity: 0;
  transform: scale(0.96);
}
.page-landing-tboard-black:not(.site-page-interior) .product-lp-diagram-gallery__lightbox-panel {
  background: rgba(30, 27, 75, 0.96);
  border-color: rgba(129, 140, 248, 0.3);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}
.page-landing-tboard-black:not(.site-page-interior) .product-lp-diagram-gallery__lightbox-img {
  background: rgba(15, 23, 42, 0.5);
}
.page-landing-tboard-black:not(.site-page-interior) .product-lp-diagram-gallery__glass-panel {
  background: rgba(30, 27, 75, 0.82);
  border-color: rgba(129, 140, 248, 0.25);
  color: #e2e8f0;
}
.page-landing-tboard-black:not(.site-page-interior) .product-lp-diagram-gallery__glass-title {
  color: #f1f5f9;
}
.page-landing-tboard-black:not(.site-page-interior) .product-lp-diagram-gallery__glass-lead,
.page-landing-tboard-black:not(.site-page-interior) .product-lp-diagram-gallery__stmt,
.page-landing-tboard-black:not(.site-page-interior) .product-lp-diagram-gallery__match-text,
.page-landing-tboard-black:not(.site-page-interior) .product-lp-diagram-gallery__tl-text {
  color: #cbd5e1;
}
.page-landing-tboard-black:not(.site-page-interior) .product-lp-diagram-gallery__feedback.is-success {
  color: #5eead4;
}
.page-landing-tboard-black:not(.site-page-interior) .product-lp-diagram-gallery__feedback.is-error {
  color: #fca5a5;
}
@media (prefers-reduced-motion: reduce) {
  .product-lp-diagram-gallery__glass {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .product-lp-diagram-gallery__track {
    scroll-behavior: auto;
  }
  .product-lp-diagram-gallery__lightbox,
  .product-lp-diagram-gallery__lightbox-backdrop,
  .product-lp-diagram-gallery__lightbox-panel,
  .product-lp-diagram-gallery__lightbox-img {
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   Edublog (frontal público SSR) — light theme coherente con corporativo
   Tokens: --text-main, --text-muted, --brand-primary, --brand-secondary,
           --brand-deep, --accent-teal-dim
   ============================================================ */
.page-edublog {
  background: #ffffff;
  color: var(--text-main);
}
.edublog-main {
  padding-top: clamp(80px, 12vh, 140px);
  padding-bottom: clamp(60px, 10vh, 120px);
}
.edublog-hero {
  padding: 32px 0 48px;
}
.edublog-hero__inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.edublog-hero__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.1;
  margin: 0;
  color: var(--brand-secondary);
}
.edublog-hero__lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.55;
}
.edublog-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}
.edublog-hero--taxonomy {
  padding-top: 16px;
}

.edublog-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  background: rgba(78, 95, 232, 0.08);
  border: 1px solid rgba(78, 95, 232, 0.25);
  color: var(--brand-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
}
.edublog-chip:hover {
  background: rgba(78, 95, 232, 0.15);
  border-color: rgba(78, 95, 232, 0.5);
  color: var(--brand-deep);
  transform: translateY(-1px);
}
.edublog-chip--solid {
  background: var(--primary-gradient, linear-gradient(135deg, #4E5FE8 0%, #3949AB 100%));
  border-color: transparent;
  color: #fff;
}
.edublog-chip--solid:hover {
  filter: brightness(1.08);
  color: #fff;
}

.edublog-section {
  padding: 32px 0;
}
.edublog-section__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  color: var(--brand-secondary);
  margin: 0 0 24px;
}

.edublog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.edublog-grid--related {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.edublog-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.edublog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(78, 95, 232, 0.45);
  box-shadow: 0 18px 40px rgba(57, 73, 171, 0.18);
}
.edublog-card__media-link {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f1f5f9;
}
.edublog-card__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.edublog-card:hover .edublog-card__media {
  transform: scale(1.04);
}
.edublog-card__media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-gradient, linear-gradient(135deg, #4E5FE8 0%, #3949AB 100%));
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
}
.edublog-card__body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.edublog-card__category {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-primary);
  text-decoration: none;
}
.edublog-card__category:hover {
  color: var(--brand-secondary);
  text-decoration: underline;
}
.edublog-card__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 0;
  color: var(--brand-secondary);
}
.edublog-card__title a {
  color: inherit;
  text-decoration: none;
}
.edublog-card__title a:hover {
  color: var(--brand-primary);
}
.edublog-card__excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}
.edublog-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 8px;
}
.edublog-card__sep {
  opacity: 0.5;
}

.edublog-empty {
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
  padding: 48px 0;
}

.edublog-pagination {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}
.edublog-pagination nav {
  display: inline-flex;
  gap: 4px;
}
.edublog-pagination a,
.edublog-pagination span {
  padding: 8px 14px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
}
.edublog-pagination a:hover {
  border-color: rgba(78, 95, 232, 0.5);
  color: var(--brand-primary);
}
.edublog-pagination .active span,
.edublog-pagination [aria-current="page"] {
  background: var(--primary-gradient, linear-gradient(135deg, #4E5FE8 0%, #3949AB 100%));
  border-color: transparent;
  color: #fff;
}

.edublog-breadcrumbs {
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.edublog-breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.edublog-breadcrumbs a {
  color: var(--brand-primary);
  text-decoration: none;
}
.edublog-breadcrumbs a:hover {
  color: var(--brand-secondary);
  text-decoration: underline;
}
.edublog-breadcrumbs span[aria-current="page"] {
  color: var(--text-main);
  font-weight: 600;
}

/* Article page */
.edublog-article__header-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  padding: 24px 0 32px;
}
.edublog-article__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.edublog-article__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0;
  color: var(--brand-secondary);
  text-shadow: none;
}
.edublog-article__lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.55;
}
.edublog-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.edublog-article__cover {
  margin: 24px 0 40px;
}
.edublog-article__cover img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}
.edublog-article__body {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: 40px;
}

/* Prose: estilos del contenido renderizado desde Markdown (light theme) */
.prose-edublog {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-main);
}
.prose-edublog > * + * { margin-top: 1.2em; }
.prose-edublog h2,
.prose-edublog h3,
.prose-edublog h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  line-height: 1.3;
  margin-top: 2em;
  color: var(--brand-secondary);
}
.prose-edublog h2 { font-size: 1.7rem; }
.prose-edublog h3 { font-size: 1.35rem; }
.prose-edublog h4 { font-size: 1.15rem; }
.prose-edublog a {
  color: var(--accent-teal-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}
.prose-edublog a:hover { color: var(--brand-primary); }
.prose-edublog p { margin: 0; color: var(--text-main); }
.prose-edublog strong { font-weight: 700; color: var(--brand-deep); }
.prose-edublog em { font-style: italic; }
.prose-edublog ul,
.prose-edublog ol {
  padding-left: 1.6em;
  margin: 0;
  color: var(--text-main);
}
.prose-edublog ul li,
.prose-edublog ol li { margin: 0.4em 0; }
.prose-edublog blockquote {
  border-left: 4px solid var(--brand-primary);
  padding: 12px 18px;
  background: rgba(78, 95, 232, 0.06);
  border-radius: 0 10px 10px 0;
  margin: 0;
  font-style: italic;
  color: var(--text-main);
}
.prose-edublog code {
  background: rgba(78, 95, 232, 0.1);
  color: var(--brand-deep);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}
.prose-edublog pre {
  background: #0f1729;
  border: 1px solid #1e2a44;
  border-radius: 10px;
  padding: 16px;
  overflow-x: auto;
  color: #e2e8f0;
}
.prose-edublog pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}
.prose-edublog img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 1.5em auto;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.prose-edublog table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95em;
  color: var(--text-main);
}
.prose-edublog th,
.prose-edublog td {
  border: 1px solid #e2e8f0;
  padding: 10px 14px;
  text-align: left;
}
.prose-edublog th {
  background: rgba(78, 95, 232, 0.08);
  color: var(--brand-secondary);
  font-weight: 700;
}
.prose-edublog hr {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 2em 0;
}

.edublog-faq {
  margin-top: 48px;
}
.edublog-faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.edublog-faq__item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 18px;
}
.edublog-faq__item summary {
  cursor: pointer;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  color: var(--brand-secondary);
  list-style: none;
}
.edublog-faq__item summary::-webkit-details-marker { display: none; }
.edublog-faq__item[open] summary { color: var(--brand-primary); }
.edublog-faq__answer {
  margin-top: 10px;
  color: var(--text-main);
  line-height: 1.6;
}

.edublog-article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.edublog-article__newsletter {
  margin-top: 40px;
}
.edublog-article__newsletter-card {
  background: var(--primary-gradient, linear-gradient(135deg, #4E5FE8 0%, #3949AB 100%));
  border-radius: 18px;
  padding: 32px;
  text-align: center;
  color: #fff;
  box-shadow: 0 18px 40px rgba(57, 73, 171, 0.25);
}
.edublog-article__newsletter-card h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 0 8px;
  color: #fff;
}
.edublog-article__newsletter-card p {
  margin: 0 0 20px;
  opacity: 0.95;
  color: #fff;
}
.edublog-article__newsletter-card .btn {
  background: #fff;
  color: var(--brand-secondary);
  font-weight: 700;
}

.edublog-related {
  border-top: 1px solid #e2e8f0;
  margin-top: 48px;
}

@media (max-width: 640px) {
  .edublog-grid { grid-template-columns: 1fr; }
  .edublog-article__cover img { max-height: 320px; }
  .edublog-article__newsletter-card { padding: 24px 18px; }
}

/* ===================== Comentarios públicos (Hito 5) — light theme ===================== */
.edublog-comments {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid #e2e8f0;
}
.edublog-comments h2,
.edublog-comments__title {
  color: var(--brand-secondary);
  font-weight: 800;
}
.edublog-comments__count {
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 6px;
}
.edublog-comments__notice {
  padding: 12px 16px;
  border-radius: 10px;
  margin: 12px 0 24px;
  font-size: 0.95rem;
}
.edublog-comments__notice--ok {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}
.edublog-comments__notice--error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}
.edublog-comments__list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.edublog-comment {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
}
.edublog-comment--reply {
  background: rgba(78, 95, 232, 0.05);
  border-color: rgba(78, 95, 232, 0.25);
}
.edublog-comment__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.edublog-comment__author {
  font-weight: 700;
  color: var(--brand-secondary);
}
.edublog-comment__author a { color: inherit; text-decoration: none; border-bottom: 1px dotted rgba(57,73,171,0.4); }
.edublog-comment__date {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.edublog-comment__body {
  color: var(--text-main);
  line-height: 1.6;
  white-space: normal;
}
.edublog-comment__reply {
  background: transparent;
  border: 0;
  color: var(--brand-primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 8px;
  padding: 0;
  cursor: pointer;
}
.edublog-comment__reply:hover { color: var(--brand-secondary); text-decoration: underline; }
.edublog-comments__replies {
  list-style: none;
  padding: 14px 0 0 18px;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 2px solid rgba(78, 95, 232, 0.3);
}
.edublog-comments__empty {
  color: var(--text-muted);
  font-style: italic;
  margin: 0 0 28px;
}

.edublog-comments__form {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.edublog-comments__form-replying {
  background: rgba(78, 95, 232, 0.08);
  border: 1px solid rgba(78, 95, 232, 0.25);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.9rem;
  color: var(--brand-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.edublog-comments__form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.edublog-comments__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}
.edublog-comments__form input[type="text"],
.edublog-comments__form input[type="email"],
.edublog-comments__form input[type="url"],
.edublog-comments__form textarea {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--text-main);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.edublog-comments__form input::placeholder,
.edublog-comments__form textarea::placeholder {
  color: #94a3b8;
}
.edublog-comments__form input:focus,
.edublog-comments__form textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(78, 95, 232, 0.15);
}
.edublog-comments__form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}
.edublog-comments__form-actions .btn { min-width: 180px; }
.edublog-comments__legal {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
  flex: 1 1 240px;
}
.edublog-comments__legal a { color: var(--brand-primary); text-decoration: underline; }
.edublog-comments__error {
  color: #b91c1c;
  font-size: 0.82rem;
}
.edublog-comments__honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 640px) {
  .edublog-comments__form-actions .btn { width: 100%; min-width: 0; }
}

/* ===================== Newsletter (Hito 7) ===================== */
.edublog-newsletter__notice {
  padding: 10px 14px;
  border-radius: 10px;
  margin: 0 0 14px;
  font-size: 0.9rem;
}
.edublog-newsletter__notice--ok {
  background: rgba(46, 204, 113, 0.18);
  border: 1px solid rgba(46, 204, 113, 0.35);
  color: #fff;
}
.edublog-newsletter__notice--error {
  background: rgba(231, 76, 60, 0.18);
  border: 1px solid rgba(231, 76, 60, 0.4);
  color: #fff;
}
.edublog-newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.edublog-newsletter__row { display: flex; flex-direction: column; gap: 4px; }
.edublog-newsletter__form input[type="email"],
.edublog-newsletter__form input[type="text"] {
  background: rgba(255, 255, 255, 0.95);
  border: 0;
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  color: #1f2937;
  width: 100%;
}
.edublog-newsletter__form input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}
.edublog-newsletter__consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}
.edublog-newsletter__consent input[type="checkbox"] { margin-top: 3px; }
.edublog-newsletter__consent a { color: #fff; text-decoration: underline; }
.edublog-newsletter__error {
  color: #ffd2cf;
  font-size: 0.82rem;
}
.edublog-newsletter__form .btn {
  align-self: flex-start;
  background: #fff;
  color: #3949AB;
  font-weight: 600;
}

.edublog-newsletter-page {
  padding: 80px 0;
  text-align: center;
  color: var(--text-main);
}
.edublog-newsletter-page h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--brand-secondary);
}
.edublog-newsletter-page p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  .edublog-newsletter__form .btn { width: 100%; align-self: stretch; }
}

/* Navegación corporativa: un disclosure cerrado no deja huecos ni enlaces enfocables. */
@media (max-width: 768px) {
  body:is(.site-home-corrientes, .site-page-interior) .nav-links.open {
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  body:is(.site-home-corrientes, .site-page-interior) .nav-item--dropdown:not(.is-open) .nav-dropdown {
    display: none;
  }
}

