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

  --gradient-main: linear-gradient(135deg, #4E5FE8 0%, #3949AB 100%);
  --gradient-progress: linear-gradient(90deg, #4E5FE8 0%, #14b8a6 42%, #f59e0b 72%, #3949AB 100%);
  --gradient-hero-ring: linear-gradient(135deg, #4E5FE8 0%, #14b8a6 45%, #f59e0b 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%);

  --accent-teal: #14b8a6;
  --accent-teal-dim: #0d9488;
  --accent-amber: #f59e0b;
  --accent-amber-dim: #d97706;
  --accent-coral: #f43f5e;
  --accent-sky: #0ea5e9;
  --accent-violet: #8b5cf6;
  --green-lime: #A0D911;

  --bg-light: #FFFFFF;
  --bg-gray: #f1f5f9;
  --bg-soft: #eef2ff;
  --blob-1: rgba(78, 95, 232, 0.24);
  --blob-2: rgba(20, 184, 166, 0.2);
  --blob-3: rgba(245, 158, 11, 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);
}

/* 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(20, 184, 166, 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(20, 184, 166, 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(20, 184, 166, 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 {
  width: 240px;
  height: 240px;
  background: radial-gradient(
    circle,
    rgba(78, 95, 232, 0.07) 0%,
    rgba(20, 184, 166, 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:
      0 2px 12px rgba(78, 95, 232, 0.06),
      0 0 0 0 rgba(78, 95, 232, 0.02),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }
  50% {
    box-shadow:
      0 3px 14px rgba(20, 184, 166, 0.05),
      0 0 0 6px rgba(78, 95, 232, 0.02),
      inset 0 1px 0 rgba(255, 255, 255, 0.16);
  }
}

.edu-cursor__ring {
  position: fixed;
  left: var(--edu-ring-x, 0);
  top: var(--edu-ring-y, 0);
  pointer-events: none;
  z-index: 10000;
  will-change: left, top, transform, width, height;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  /* Casi transparente: el blur fuerte era lo que impedía leer el texto debajo */
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 60%, rgba(78, 95, 232, 0.02) 100%);
  backdrop-filter: blur(2px) saturate(115%);
  -webkit-backdrop-filter: blur(2px) saturate(115%);
  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,
    background 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: 10001;
  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: 42px;
  height: 42px;
  border-color: rgba(20, 184, 166, 0.28);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(20, 184, 166, 0.03) 100%);
}

.edu-cursor--hand .edu-cursor__ring {
  border-color: rgba(245, 158, 11, 0.32);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(245, 158, 11, 0.04) 40%, rgba(20, 184, 166, 0.03) 100%);
}

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

.edu-cursor--hand.edu-cursor--hover .edu-cursor__pointer {
  filter: drop-shadow(0 3px 12px rgba(245, 158, 11, 0.45)) drop-shadow(0 2px 8px rgba(20, 184, 166, 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;
}

@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;
  }
}

/* ══════════════════════════════════════════════
   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: 600;
  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, #5eead4);
  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;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
/* Acentos rotativos por fila (data-dropdown-accent en el enlace) */
.nav-dropdown__link[data-dropdown-accent="1"] .nav-dropdown__icon-wrap {
  --dd-accent: #5eead4;
  background: rgba(20, 184, 166, 0.18);
  color: #99f6e4;
}
.nav-dropdown__link[data-dropdown-accent="2"] .nav-dropdown__icon-wrap {
  --dd-accent: #fcd34d;
  background: rgba(245, 158, 11, 0.2);
  color: #fde68a;
}
.nav-dropdown__link[data-dropdown-accent="3"] .nav-dropdown__icon-wrap {
  --dd-accent: #a5b4fc;
  background: rgba(99, 102, 241, 0.22);
  color: #c7d2fe;
}
.nav-dropdown__link[data-dropdown-accent="4"] .nav-dropdown__icon-wrap {
  --dd-accent: #7dd3fc;
  background: rgba(14, 165, 233, 0.18);
  color: #bae6fd;
}
.nav-dropdown__link:hover {
  background: linear-gradient(105deg, rgba(78, 95, 232, 0.35) 0%, rgba(20, 184, 166, 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(20, 184, 166, 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(20, 184, 166, 0.55) !important;
  transform: translateY(-2px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  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(20, 184, 166, 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(20, 184, 166, 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(20, 184, 166, 0.18) 0%, rgba(13, 148, 136, 0.12) 100%);
  border: 1px solid rgba(20, 184, 166, 0.4);
}
.stat-pill:nth-child(2) .stat-pill-icon {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.12) 100%);
  border: 1px solid rgba(245, 158, 11, 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(245, 158, 11, 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(20, 184, 166, 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(20, 184, 166, 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(20, 184, 166, 0.15) 0%, rgba(160, 217, 17, 0.1) 100%);
  border: 1px solid rgba(20, 184, 166, 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; }

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

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 20px;
}
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;
}
.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(20, 184, 166, 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(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 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(--accent-sky); }
.bento-item:nth-child(6) { border-top: 3px solid var(--brand-primary); }

/* Per-card unique icon bg */
.bento-item:nth-child(2) .bento-icon {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, rgba(245, 158, 11, 0.06) 100%);
  border-color: rgba(245, 158, 11, 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(14, 165, 233, 0.14) 0%, rgba(14, 165, 233, 0.06) 100%);
  border-color: rgba(14, 165, 233, 0.35);
}

/* ══════════════════════════════════════════════
   STATS — Colorful cards
══════════════════════════════════════════════ */
.stats {
  padding: 5rem 0;
  background: var(--brand-secondary);
  position: relative;
  overflow: hidden;
}
.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: #5eead4; }
.stat-card:nth-child(2) .stat-number { color: #fbbf24; }
.stat-card:nth-child(3) .stat-number { color: #a5b4fc; }
.stat-card:nth-child(4) .stat-number { color: #fb923c; }
.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(20, 184, 166, 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__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;
}
.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 p { color: var(--text-muted); font-size: 0.88rem; }

/* ══════════════════════════════════════════════
   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(245, 158, 11, 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;
}
.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 {
  background: linear-gradient(145deg, #312e81 0%, var(--brand-secondary) 38%, #0f766e 100%);
  padding: 80px 0 36px;
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand .footer-logo img {
  height: 30px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(10);
}
.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(20, 184, 166, 0.22);
  border-color: rgba(45, 212, 191, 0.35);
  color: #99f6e4;
}
.footer-col__link[data-footer-accent="2"] .footer-col__icon {
  background: rgba(245, 158, 11, 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(245, 158, 11, 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(20, 184, 166, 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: #A0D911;
}
.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: #A0D911;
  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, 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: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 {
    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; }
}

/* 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__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(245, 158, 11, 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 .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;
}
/* 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(20, 184, 166, 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(20, 184, 166, 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(20, 184, 166, 0.1) 42%,
    rgba(245, 158, 11, 0.08) 100%
  );
  border-top: 1px solid rgba(78, 95, 232, 0.12);
  border-bottom: 1px solid rgba(20, 184, 166, 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(20, 184, 166, 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(245, 158, 11, 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(20, 184, 166, 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: #5eead4;
}
.product-lp-stats-band .stat-card:nth-child(2) .product-lp-metric-val {
  color: #fbbf24;
}
.product-lp-stats-band .stat-card:nth-child(3) .product-lp-metric-val {
  color: #a5b4fc;
}
.product-lp-stats-band .stat-card:nth-child(4) .product-lp-metric-val {
  color: #fb923c;
}

/* 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;
}
.page-landing-licencias .cta-card .product-lp-cta-ghost {
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}
.page-landing-licencias .cta-card .product-lp-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
  color: #fff;
}

/* T-Board Black: landing oscura (marca: gradiente índigo + teal/ámbar en acentos) */
.page-landing-tboard-black {
  color-scheme: dark;
  background: #070a12;
  color: #e2e8f0;
}
.page-landing-tboard-black .page-interior-main {
  background: linear-gradient(180deg, #070a12 0%, #0c1220 38%, #070a12 100%);
}
.page-landing-tboard-black .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(20, 184, 166, 0.12) 0%, transparent 50%),
    linear-gradient(168deg, #0a0e18 0%, #0f1628 42%, #0c101c 100%);
}
.page-landing-tboard-black .page-hero--split .blob-1 {
  background: rgba(78, 95, 232, 0.38);
}
.page-landing-tboard-black .page-hero--split .blob-2 {
  background: rgba(20, 184, 166, 0.2);
}
.page-landing-tboard-black .page-hero--split .blob-3 {
  background: rgba(245, 158, 11, 0.14);
}
.page-landing-tboard-black .page-hero__title {
  color: #f1f5f9;
}
.page-landing-tboard-black .page-hero__title .gradient-text-inline {
  background: linear-gradient(135deg, #818cf8 0%, #5eead4 55%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-landing-tboard-black .page-hero__lead,
.page-landing-tboard-black .hero-subtitle {
  color: #94a3b8;
}
.page-landing-tboard-black .page-hero__content .section-tag {
  color: #a5b4fc;
  border-bottom-color: rgba(129, 140, 248, 0.65);
}
.page-landing-tboard-black .product-lp-kicker {
  color: #cbd5e1;
}
.page-landing-tboard-black .product-lp-kicker__dot {
  box-shadow: 0 0 0 3px rgba(78, 95, 232, 0.35);
}
.page-landing-tboard-black .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 .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 .stat-pill-number {
  color: #e2e8f0;
}
.page-landing-tboard-black .stat-pill-label {
  color: #94a3b8;
}
.page-landing-tboard-black .stat-pill-icon i {
  color: #a5b4fc;
}
.page-landing-tboard-black .btn-ghost {
  color: #e2e8f0;
  border-color: rgba(129, 140, 248, 0.45);
  background: rgba(255, 255, 255, 0.04);
}
.page-landing-tboard-black .btn-ghost:hover {
  border-color: #818cf8;
  background: rgba(78, 95, 232, 0.18);
  color: #fff;
}
.page-landing-tboard-black .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 .page-hero__badge {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fcd34d;
}
.page-landing-tboard-black .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 .trust-item {
  color: #cbd5e1;
  opacity: 0.5;
}
.page-landing-tboard-black .trust-item:hover {
  color: #a5b4fc;
  opacity: 1;
}
.page-landing-tboard-black .product-lp-showcase.showcase {
  background: linear-gradient(180deg, #0d121f 0%, #0f172a 55%, #0c101c 100%);
}
.page-landing-tboard-black .product-lp-showcase .section-title {
  color: #f1f5f9;
}
.page-landing-tboard-black .product-lp-showcase .section-desc {
  color: #94a3b8;
}
.page-landing-tboard-black .product-lp-showcase .section-tag {
  color: #a5b4fc;
  border-bottom-color: rgba(129, 140, 248, 0.5);
}
.page-landing-tboard-black .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 .showcase-badge {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fcd34d;
}
.page-landing-tboard-black .showcase-feat-icon {
  background: linear-gradient(135deg, rgba(78, 95, 232, 0.2) 0%, rgba(20, 184, 166, 0.12) 100%);
  border-color: rgba(129, 140, 248, 0.35);
}
.page-landing-tboard-black .showcase-feat-icon i {
  color: #a5b4fc;
}
.page-landing-tboard-black .showcase-feature h4 {
  color: #e2e8f0;
}
.page-landing-tboard-black .showcase-feature p {
  color: #94a3b8;
}
.page-landing-tboard-black .products.product-lp-value {
  background: linear-gradient(180deg, #0c101c 0%, #111827 48%, #0a0e18 100%);
}
.page-landing-tboard-black .products.product-lp-value .section-title {
  color: #f1f5f9;
}
.page-landing-tboard-black .products.product-lp-value .section-desc {
  color: #94a3b8;
}
.page-landing-tboard-black .products.product-lp-value .section-tag {
  color: #a5b4fc;
  border-bottom-color: rgba(129, 140, 248, 0.5);
}
.page-landing-tboard-black .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 .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 .product-lp-value .bento-item h3 {
  color: #f1f5f9;
}
.page-landing-tboard-black .product-lp-value .bento-item p {
  color: #94a3b8;
}
.page-landing-tboard-black .product-lp-value .bento-tag {
  background: rgba(20, 184, 166, 0.12);
  border-color: rgba(45, 212, 191, 0.35);
  color: #5eead4;
}
.page-landing-tboard-black .product-lp-diagram {
  padding: 3rem 0 2rem;
  background: linear-gradient(180deg, #0a0e18 0%, #0f1628 100%);
}
.page-landing-tboard-black .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 .product-lp-stats-band.stats {
  background: linear-gradient(145deg, #1e1b4b 0%, var(--brand-secondary) 48%, #0f766e 100%);
}
.page-landing-tboard-black .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;
  }
}
