@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
   /* Branding Colors */
   --color-primary-start: #ff7a18;
   --color-primary-end: #ec4899;
   --color-accent: #CD2A8F;
   --color-brand-blue: #3b82f6;

   /* Text Colors (High Contrast for Soft UI Evolution) */
   --color-text-dark: #1f2933;
   --color-text-muted: #4b5563;
   --color-text-light: #6b7280;
   --color-text-very-light: #9ca3af;

   /* Backgrounds & Borders */
   --bg-main: #ffffff;
   --bg-light: #f8fafc;
   --bg-subtle: #f1f5f9;
   --bg-hover-highlight: #fff4d4;
   --border-light: rgba(0, 0, 0, 0.03);
   --border-subtle: #f1f5f9;
   --border-soft: #e2e8f0;

   /* Soft UI Evolution Shadows */
   --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
   --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.02);
   --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.05), 0 4px 10px rgba(0, 0, 0, 0.03);
   --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.04);

   /* Animations & Transitions */
   --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
   --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);

   /* Radius */
   --radius-sm: 6px;
   --radius-md: 10px;
   /* Standardized to 10px per Soft UI Evolution */
   --radius-lg: 20px;
   --radius-full: 9999px;
}

/* RESET BÁSICO */

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

.scroll-progress-container {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 4px;

   background: white;

   z-index: 2000;
   border-bottom: 1px solid #f1f1f1;
}

.scroll-progress-bar {
   height: 100%;
   width: 0%;

   background: linear-gradient(90deg, var(--color-primary-start), var(--color-primary-end));

   transition: width 0.1s linear;
}

/* POSIBLE ELIMINACIÓN: .scroll-progress no está referenciado en ningún HTML del sitio.
   Se usa .scroll-progress-container + .scroll-progress-bar en su lugar.
   Conservado por si se usa dinámicamente desde JS. */
/*
.scroll-progress {
   position: fixed;
   top: 0;
   left: 0;
   height: 4px;
   width: 0%;
   background: linear-gradient(90deg, var(--color-primary-start), var(--color-primary-end), var(--color-primary-start));
   background-size: 200% 100%;
   animation: progressGlow 4s linear infinite;
   z-index: 2000;
}

@keyframes progressGlow {
   0%   { background-position: 0% }
   100% { background-position: 200% }
}
*/

body {
   font-family: 'Poppins', sans-serif;
   font-weight: 400;
   color: var(--color-text-dark);
   line-height: 1.6;
   background: #fff;
}

/* JERARQUÍA TIPOGRÁFICA — Poppins */

h1,
h2,
h3,
h4,
h5,
h6 {
   font-family: 'Poppins', sans-serif;
   font-weight: 700;
}

h3,
h4 {
   font-weight: 600;
}

.main-nav a,
.feature-btn,
.btn-login,
.btn-primary,
.btn-secondary,
button,
input,
textarea,
select {
   font-family: 'Poppins', sans-serif;
   font-weight: 500;
}

p,
li,
td,
th,
label,
blockquote {
   font-family: 'Poppins', sans-serif;
   font-weight: 400;
}

/* CONTAINER */

.container {
   max-width: 1200px;
   margin: auto;
   padding: 0 24px;
}

/* HEADER */

.site-header {
   background: white;
   padding: 18px 0;
   position: sticky;
   top: 4px;
   z-index: 1000;
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
   display: flex;
   align-items: center;
   justify-content: space-between;
}

/* LOGO */

.logo img {
   height: 36px;
}

/* NAV */

.main-nav .nav-list {
   list-style: none;
   display: flex;
   gap: 28px;
}

.main-nav a {
   text-decoration: none;
   color: var(--color-text-muted);
   font-weight: 500;
   position: relative;
   padding-bottom: 4px;
   transition: color 0.3s ease;

   /* Necesario para el gradiente de texto en hover */
   background-clip: text;
   -webkit-background-clip: text;
}

/* Barra de subrayado animada */
.main-nav a::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
   height: 2px;
   background: linear-gradient(90deg, var(--color-primary-start), var(--color-primary-end));
   border-radius: 2px;
   transform: scaleX(0);
   transform-origin: left center;
   transition: transform 0.3s ease;
}

/* Hover: gradiente en el texto */
.nav-list li:hover>a {
   color: transparent;
   background-image: linear-gradient(90deg, var(--color-primary-start), var(--color-primary-end));
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
}

/* Hover: aparece la barra de izquierda a derecha */
.nav-list li:hover>a::after {
   transform: scaleX(1);
}

/* Estado actual para links de nivel superior */
.nav-list>li>a.current {
   color: transparent;
   background-image: linear-gradient(90deg, var(--color-primary-start), var(--color-primary-end));
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
}

.nav-list>li>a.current::after {
   transform: scaleX(1);
}

/* ============================================
   MEGA MENÚ CENTRADO — Ancho controlado
   Animación con opacity + visibility + translateY
   ============================================ */

/* El li sale del flujo de posicionamiento →
   el dropdown se posiciona relativo al .site-header */
.has-dropdown {
   position: static;
}

/* Panel mega menú */
.dropdown {
   position: absolute;
   top: 100%;
   margin-top: 0;
   left: 50%;
   transform: translateX(-50%) translateY(-10px);

   width: 90vw;
   max-width: 1100px;

   background: var(--bg-main);
   padding: 36px 40px;
   border-radius: var(--radius-lg);
   box-shadow: var(--shadow-hover);
   border: 1px solid var(--border-soft);

   /* Oculto por defecto — sin display:none */
   opacity: 0;
   visibility: hidden;

   /* Transición suave */
   transition: all var(--transition-normal);

   z-index: 999;

   /* Columnas internas */
   display: flex;
   gap: 0;
}

/* Mostrar en hover */
.has-dropdown:hover .dropdown {
   opacity: 1;
   visibility: visible;
   transform: translateX(-50%) translateY(0);
}

/* Cada columna */
.dropdown-column {
   flex: 1;
   padding: 0 32px;
   border-right: 1px solid var(--bg-subtle);
}

.dropdown-column:first-child {
   padding-left: 0;
}

.dropdown-column:last-child {
   border-right: none;
}

/* Título de columna */
.dropdown-title {
   display: block;
   font-size: inherit;
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 0.5px;
   color: #666;
   margin-bottom: 10px;
}

/* Lista de links */
.dropdown-list {
   list-style: none;
   display: flex;
   flex-direction: column;
   gap: 4px;
}

/* Links dentro del dropdown */
.dropdown-list li a,
.dropdown-column>a {
   display: block;
   padding: 7px 10px;
   border-radius: 6px;
   font-size: inherit;
   font-weight: inherit;
   color: inherit;
   text-decoration: none;
   transition: background 0.2s ease, color 0.2s ease;

   /* Resetear herencia del gradiente del nav */
   background-image: none;
   -webkit-text-fill-color: unset;
}

.dropdown-list li a:hover,
.dropdown-column>a:hover {
   background: var(--bg-hover-highlight);
   color: var(--color-primary-start);
   background-image: none;
   -webkit-text-fill-color: var(--color-primary-start);
}

/* Estado actual para links en dropdown */
.dropdown-list li a.current,
.dropdown-column>a.current {
   background: linear-gradient(90deg, var(--color-primary-start), var(--color-primary-end));
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
}

/* Suprimir la barra animada dentro del dropdown */
.dropdown-list li a::after,
.dropdown-column>a::after {
   display: none;
}

/* ============================================
   MENÚ HAMBURGUESA — BOTÓN
   ============================================ */

.menu-toggle {
   display: none;
   /* se muestra en mobile via media query */
   flex-direction: column;
   justify-content: flex-start;
   align-self: center;
   flex-shrink: 0;
   background: none;
   border: none;
   cursor: pointer;
   padding: 0;
   width: 30px;
   height: auto;
   z-index: 1100;
}

.menu-toggle span {
   display: block;
   width: 100%;
   height: 3px;
   background: var(--color-text-dark);
   border-radius: 2px;
   transition: all 0.3s ease;
   transform-origin: center;
}

.menu-toggle span:not(:last-child) {
   margin-bottom: 6px;
}

/* Hamburguesa animada → X cuando está activo */
.menu-toggle.active span:nth-child(1) {
   transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
   opacity: 0;
   transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
   transform: translateY(-9px) rotate(-45deg);
}

/* ============================================
   OFF-CANVAS — OVERLAY
   ============================================ */

.mobile-overlay {
   position: fixed;
   inset: 0;
   background: rgba(0, 0, 0, 0.45);
   z-index: 1200;
   opacity: 0;
   visibility: hidden;
   transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-overlay.active {
   opacity: 1;
   visibility: visible;
}

/* ============================================
   OFF-CANVAS — PANEL PRINCIPAL
   ============================================ */

.mobile-menu {
   position: fixed;
   top: 0;
   right: 0;
   width: 100%;
   height: 100vh;
   background: white;
   transform: translateX(100%);
   transition: transform 0.3s ease;
   z-index: 9999;
   display: flex;
   flex-direction: column;
}

.mobile-menu.active {
   transform: translateX(0);
}

body.menu-open {
   overflow: hidden;
}

/* Cabecera del panel */
.mobile-menu-header {
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 20px 24px;
   border-bottom: 1px solid var(--bg-subtle);
   flex-shrink: 0;
}

.mobile-logo {
   height: 30px;
}

.mobile-close {
   background: none;
   border: none;
   cursor: pointer;
   padding: 4px;
   display: flex;
   align-items: center;
   justify-content: center;
   color: var(--color-text-dark);
   border-radius: 6px;
   transition: background 0.2s ease;
}

.mobile-close:hover {
   background: var(--bg-subtle);
}

/* Lista de navegación mobile */
.mobile-nav {
   flex: 1;
   overflow-y: auto;
   padding: 12px 0;
}

.mobile-nav-list {
   list-style: none;
}

.mobile-nav-item {
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 16px 24px;
   font-size: 16px;
   font-weight: 500;
   color: var(--color-text-dark);
   cursor: pointer;
   border-bottom: 1px solid var(--bg-light);
   transition: background 0.2s ease;
}

.mobile-nav-item:hover {
   background: var(--bg-light);
}

.mobile-nav-item a {
   text-decoration: none;
   color: inherit;
   font-weight: inherit;
   width: 100%;
   -webkit-text-fill-color: unset;
   background-image: none;
}

/* No barra animada en mobile */
.mobile-nav-item a::after {
   display: none;
}

.arrow-icon {
   width: 18px;
   height: 18px;
   color: var(--color-text-very-light);
   flex-shrink: 0;
}

/* CTA bottom */
.mobile-cta {
   padding: 20px 24px;
   border-top: 1px solid var(--bg-subtle);
   flex-shrink: 0;
}

.mobile-cta .btn-primary {
   display: block;
   text-align: center;
   width: 100%;
}

/* ============================================
   OFF-CANVAS — SUBPANELES (DRILL-DOWN)
   ============================================ */

.mobile-submenu {
   position: fixed;
   top: 0;
   right: 0;
   width: 100%;
   height: 100vh;
   background: white;
   z-index: 10000;
   display: flex;
   flex-direction: column;

   /* Oculto a la derecha, sobre el panel principal */
   transform: translateX(100%);
   transition: transform 0.3s ease;
}

.mobile-submenu.active {
   transform: translateX(0);
}

/* Cabecera del submenú */
.mobile-submenu-header {
   display: flex;
   align-items: center;
   gap: 12px;
   padding: 20px 24px;
   border-bottom: 1px solid var(--bg-subtle);
   flex-shrink: 0;
}

.mobile-back {
   display: flex;
   align-items: center;
   gap: 6px;
   background: none;
   border: none;
   cursor: pointer;
   font-size: 14px;
   font-weight: 500;
   color: var(--color-text-light);
   padding: 6px 10px 6px 6px;
   border-radius: 8px;
   transition: background 0.2s ease, color 0.2s ease;
   font-family: 'Poppins', sans-serif;
}

.mobile-back:hover {
   background: var(--bg-subtle);
   color: var(--color-text-dark);
}

.submenu-title {
   font-size: 16px;
   font-weight: 700;
   color: var(--color-text-dark);
}

/* Lista del submenú */
.mobile-submenu-list {
   list-style: none;
   flex: 1;
   overflow-y: auto;
   padding: 12px 0;
}

.mobile-submenu-list li a {
   display: block;
   padding: 15px 24px;
   font-size: 15px;
   font-weight: 400;
   color: #374151;
   text-decoration: none;
   border-bottom: 1px solid var(--bg-light);
   transition: background 0.2s ease, color 0.2s ease;
   background-image: none;
   -webkit-text-fill-color: unset;
}

.mobile-submenu-list li a::after {
   display: none;
}

.mobile-submenu-list li a:hover {
   background: var(--bg-light);
   color: var(--color-accent);
   -webkit-text-fill-color: var(--color-accent);
}

/* Títulos de grupo dentro del submenú */
.submenu-group-title {
   display: block;
   padding: 14px 24px 6px;
   font-size: 11px;
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 0.5px;
   color: var(--color-text-very-light);
}

/* ============================================
   RESPONSIVE — mostrar/ocultar
   ============================================ */

@media (max-width: 900px) {
   .main-nav {
      display: none;
      /* ocultar nav desktop */
   }

   .header-cta {
      display: none;
      /* ocultar botón login desktop */
   }

   .menu-toggle {
      display: flex;
      /* mostrar hamburguesa */
   }
}

/* BOTÓN LOGIN */

.btn-login {
   background: #3b82f6;
   color: white;
   padding: 10px 22px;
   border-radius: 24px;
   text-decoration: none;
   font-weight: 500;
}

/* Functions Outline */
.objective-item {
   display: flex;
   align-items: center;
   gap: 12px;
   font-weight: 600;
   font-size: 1.1rem;
   color: var(--text-dark);
}

.objective-item i {
   font-size: 1.5rem;
   background: var(--bg-light);
   width: 45px;
   height: 45px;
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 12px;
}

/* ============================================
   BREADCRUMB
   ============================================ */

.breadcrumb {
   background: transparent;
   padding: 14px 0;
   margin-top: 32px;
}

.breadcrumb__list {
   list-style: none;
   display: flex;
   align-items: center;
   flex-wrap: wrap;
   gap: 0;
   margin: 0;
   padding: 0;
}

.breadcrumb__item {
   display: flex;
   align-items: center;
   font-size: 13.5px;
   font-weight: 400;
   color: var(--color-text-light);
   white-space: nowrap;
}

/* Separador "/" entre ítems */
.breadcrumb__item:not(:last-child)::after {
   content: "/";
   margin: 0 9px;
   color: #d1d5db;
   font-size: 12px;
   font-weight: 300;
   flex-shrink: 0;
}

/* Enlace navegable */
.breadcrumb__link {
   text-decoration: none;
   color: var(--color-text-light);
   transition: color var(--transition-fast);
   background-image: none;
   -webkit-text-fill-color: unset;
   border-radius: 3px;
}

/* Suprimir la barra animada del nav principal */
.breadcrumb__link::after {
   display: none !important;
}

.breadcrumb__link:hover {
   color: var(--color-accent);
   -webkit-text-fill-color: var(--color-accent);
}

.breadcrumb__link:focus-visible {
   outline: 2px solid var(--color-accent);
   outline-offset: 3px;
   border-radius: 3px;
}

/* Ítem de sección: categoría sin URL propia, se muestra como texto */
.breadcrumb__section {
   color: var(--color-text-light);
   font-weight: 400;
}

/* Página actual */
.breadcrumb__current {
   font-weight: 600;
   background: linear-gradient(90deg, var(--color-primary-start), var(--color-primary-end));
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
}

@media (max-width: 991px) {
   .breadcrumb {
      padding: 9px 0;
   }
}

@media (max-width: 600px) {
   .breadcrumb__item {
      font-size: 12.5px;
   }
}

/* Grid System */
.grid-2,
.grid-3 {
   display: grid;
   gap: 30px;
}

.grid-2 {
   grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 20px;
}

.grid-5 {
   display: grid;
   grid-template-columns: repeat(5, 1fr);
   gap: 20px;
}

@media (max-width: 1200px) {
   .grid-4 {
      grid-template-columns: repeat(2, 1fr);
   }

   .grid-5 {
      grid-template-columns: repeat(3, 1fr);
   }
}

@media (max-width: 768px) {
   .grid-4 {
      grid-template-columns: repeat(2, 1fr);
   }

   .grid-5 {
      grid-template-columns: repeat(2, 1fr);
   }
}

@media (max-width: 480px) {

   .grid-4,
   .grid-5 {
      grid-template-columns: 1fr;
   }
}

.align-center {
   align-items: center;
}

@media (max-width: 991px) {

   .grid-2,
   .grid-3 {
      grid-template-columns: 1fr;
   }
}

/* Benefit Cards */

.benefit-card {
   background: var(--bg-main);
   padding: 40px 30px;
   border-radius: var(--radius-lg);
   box-shadow: var(--shadow-soft);
   border: 1px solid var(--border-light);
   transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
   height: 100%;
   display: flex;
   flex-direction: column;
   align-items: center;
   text-align: center;
}

.benefit-card:hover {
   transform: translateY(-10px);
   box-shadow: var(--shadow-hover);
   border-color: rgba(255, 122, 24, 0.2);
}

/* Reveal / fade-up animation states */
.fade-up {
   transform: translateY(50px);
}

.reveal.active,
.reveal.visible {
   opacity: 1;
   transform: translateY(0);
}

.fade-up.active {
   transform: translateY(0);
}

.benefit-card h3 {
   font-size: 1.15rem;
   font-weight: 700;
   color: var(--color-text-dark);
   margin-bottom: 12px;
}

.benefit-card p {
   font-size: 0.95rem;
   color: var(--color-text-light);
   line-height: 1.6;
}

.benefit-card .icon-box {
   width: 70px;
   height: 70px;
   margin-bottom: 25px;
   border-radius: 16px;
   background: linear-gradient(135deg, rgba(242, 106, 74, 0.1), rgba(217, 20, 122, 0.1));
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.8rem;
   transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
      background 0.3s ease,
      box-shadow 0.3s ease;
}

.benefit-card:hover .icon-box {
   transform: translateY(-5px) scale(1.1) rotate(5deg);
   background: linear-gradient(135deg, rgba(242, 106, 74, 0.2), rgba(217, 20, 122, 0.2));
}

.benefit-card .icon-box i {
   font-size: 1.8rem;
   color: #D9147A;
   transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.benefit-card:hover .icon-box i {
   transform: scale(1.2);
}

/* HERO */
.hero-features {
   margin-bottom: 40px;
}

.hero-features li {
   display: flex;
   align-items: flex-start;
   gap: 12px;
   margin-bottom: 12px;
   font-weight: 500;
   font-size: 1.05rem;
   color: var(--text-dark);
}

.hero-features li i {
   color: #10b981;
   font-size: 1.2rem;
   margin-top: 3px;
}

.hero {
   padding: 80px 0;
   background-image: url("../img/fondo-hero.jpg");
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
}

.hero-container {
   display: grid;
   grid-template-columns: 1fr 1fr;
   align-items: center;
   gap: 60px;
}

/* HERO TEXT */

.hero-title {
   font-size: 52px;
   line-height: 1.1;
   margin-bottom: 24px;
}

.highlight {
   background: linear-gradient(90deg, var(--color-primary-start), var(--color-primary-end));
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
}

.hero-description {
   font-size: 18px;
   color: var(--color-text-muted);
   margin-bottom: 30px;
   max-width: 520px;
}

/* BOTONES */

.hero-actions {
   display: flex;
   gap: 16px;
}

.btn-primary {
   background: linear-gradient(90deg, var(--color-primary-start), var(--color-primary-end));
   color: white;
   padding: 14px 28px;
   border-radius: var(--radius-full);
   text-decoration: none;
   font-weight: 600;
   display: inline-block;
   text-align: center;
   box-sizing: border-box;
   border: none;
   box-shadow: var(--shadow-sm);
   transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.btn-primary:hover {
   transform: translateY(-2px);
   box-shadow: var(--shadow-md);
}

.btn-secondary {
   background: var(--color-text-dark);
   color: white;
   padding: 14px 28px;
   border-radius: var(--radius-full);
   text-decoration: none;
   font-weight: 600;
   display: inline-block;
   text-align: center;
   box-sizing: border-box;
   border: none;
   box-shadow: var(--shadow-sm);
   transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.btn-secondary:hover {
   transform: translateY(-2px);
   box-shadow: var(--shadow-md);
}

/* IMAGEN HERO */

.hero-image img {
   width: 100%;
   border-radius: 20px;
}

.hero-image {
   position: relative;
}

.lcd-floating-icon {
   position: absolute;
   max-width: 200px !important;
   top: 50%;
   right: 120px;
   animation: float 4s ease-in-out infinite;
}

@keyframes float {

   0% {
      transform: translate(0, 0);
   }

   50% {
      transform: translate(5px, -15px);
   }

   100% {
      transform: translate(0, 0);
   }

}

/* Eliminado: duplicados de .menu-toggle y .main-nav .nav-list
   Las definiciones canónicas están en líneas ~320 y ~155 respectivamente. */

/* SECCION COLEGIOS */

.schools {
   padding: 80px 0;
   background: white;
   text-align: center;
}

/* Eliminado: primera definición de .schools-title (font-size: 18px)
   sobrescrita completamente por la definición correcta más abajo (font-size: 26px). */

/* SLIDER */

.schools-slider {
   overflow: hidden;
   position: relative;
}

/* TRACK */

.schools-track {
   display: flex;
   align-items: center;
   gap: 80px;
   width: max-content;
   animation: scrollSchools 35s linear infinite;
}

/* LOGOS */

.schools-track img {
   height: 60px;
   width: auto;
   opacity: 0.8;
   transition: all .3s ease;
}

.schools-track img:hover {
   opacity: 1;
   transform: scale(1.05);
}

/* ANIMACION */

@keyframes scrollSchools {

   0% {
      transform: translateX(0);
   }

   100% {
      transform: translateX(-50%);
   }

}

.schools-slider::before,
.schools-slider::after {
   content: "";
   position: absolute;
   top: 0;
   height: 100%;
   width: 120px;
   z-index: 2;
}

.schools-slider::before {
   left: 0;
   background: linear-gradient(to right, white, transparent);
}

.schools-slider::after {
   right: 0;
   background: linear-gradient(to left, white, transparent);
}

.schools-title {
   font-size: 26px;
   font-weight: 700;
   text-align: center;
   color: var(--color-text-dark);
   margin-bottom: 50px;
   line-height: 1.4;
}

/* INTRO PLATAFORMA */

.platform-intro {
   padding: 80px 0;
   text-align: center;
   background: #ffffff;
}

/* texto pequeño superior */

.platform-kicker {
   font-size: 23px;
   font-weight: 700;
   color: var(--color-text-light);
   margin-bottom: 20px;
}

/* titulo principal */

.platform-title {
   font-size: 40px;
   font-weight: 700;
   color: #000;
   line-height: 1.2;
   margin-bottom: 30px;
}

/* descripcion */

.platform-description {
   font-size: 18px;
   color: #374151;
   max-width: 900px;
   margin: auto;
   line-height: 1.5;
}

/* feature-slide */
.feature-slider {
   padding: 0px 20px;
}

.feature-controls {
   display: flex;
   gap: 20px;
   margin-bottom: 40px;
}


.feature-btn {
   display: flex;
   align-items: center;
   gap: 8px;
   padding: 12px 18px;
   border-radius: 30px;
   border: 2px solid #374151;
   /* borde gris */
   background: none;
   color: #374151;
   /* gris oscuro */
   font-weight: 500;
   cursor: pointer;
   transition: all .25s ease;
}

.feature-btn.active {
   border: 2px solid var(--color-accent);
   color: var(--color-accent);
   background: transparent;
}

.feature-slides {
   position: relative;
   width: 100%;
   max-width: 1289px;
   aspect-ratio: 1289 / 577;
   border-radius: 30px;
   overflow: hidden;
   margin: auto;
}

.feature-icon {
   width: 20px;
   height: 20px;
}

.feature-slide {
   position: absolute;
   width: 100%;
   height: 100%;
   background-size: cover;
   background-position: center;
   opacity: 0;
   z-index: 1;
   pointer-events: none;
   transition: opacity .8s ease, z-index .8s ease;
}

.feature-slide.active {
   opacity: 1;
   z-index: 2;
   pointer-events: auto;
}

.feature-card {
   position: absolute;
   left: 80px;
   top: 50%;
   transform: translateY(-50%) translateX(-40px);
   background: rgba(255, 255, 255, 0.92);
   padding: 50px;
   border-radius: 30px;
   max-width: 480px;
   opacity: 0;
   transition: all .7s ease;
}

.feature-slide.active .feature-card {
   opacity: 1;
   transform: translateY(-50%) translateX(0);
}

.feature-title {
   font-size: 41px;
   font-weight: 700;
   line-height: 1.2;
   margin-bottom: 20px;
}

.feature-text {
   font-size: 18px;
   line-height: 1.6;
   color: #374151;
   margin-bottom: 20px;
}

.feature-link {
   color: #ff6a3d;
   font-weight: 600;
   text-decoration: none;
}

.feature-icon {
   width: 20px;
   height: 20px;
   margin-right: 8px;
   flex-shrink: 0;
}

/* SECCION SERVICIOS */

.services {
   padding: 100px 0;
   background: #ffffff;
}

.services-header {
   text-align: center;
   margin-bottom: 60px;
}

.services-kicker {
   font-size: 28px;
   font-weight: 700;
   color: var(--color-text-light);
   margin-bottom: 20px;
}

.services-title {
   font-size: 40px;
   font-weight: 700;
   line-height: 1.2;
   color: #000;
}

/* GRID */

.services-grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 30px;
   margin-top: 60px;
}

/* TARJETA */

.service-card {
   background: #ffffff;
   padding: 30px;
   border-radius: 20px;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
   display: flex;
   flex-direction: column;
   gap: 20px;
}


/* ILUSTRACION */

.service-illustration {
   width: 100%;
   height: auto;
}

/* TITULO + ICONO */

.service-title {
   display: flex;
   align-items: center;
   gap: 10px;
}

.service-title h3 {
   font-size: 20px;
   font-weight: 700;
}

.service-icon {
   width: 22px;
   height: 22px;
   color: var(--color-accent);
}

/* TEXTO */

.service-text {
   font-size: 16px;
   color: var(--color-text-muted);
   line-height: 1.5;
}

/* BOTON */

.service-button {
   width: 40px;
   height: 40px;
   border-radius: 50%;
   border: 2px solid var(--color-accent);
   background: none;
   color: var(--color-accent);
   font-size: 18px;
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: all .25s ease;
   text-decoration: none;
}

.service-button:hover {
   background: var(--color-accent);
   color: white;
}

/* SECCION COMPLIANCE */

.compliance {
   padding: 100px 0;
   background: #F7F6FF;
}

.compliance-container {
   display: grid;
   grid-template-columns: 1fr 1fr;
   align-items: center;
   gap: 80px;
}

/* IMAGEN */

.compliance-image img {
   width: 100%;
   height: auto;
   border-radius: 20px;
}

/* TEXTO */

.compliance-kicker {
   font-size: 28px;
   font-weight: 700;
   color: var(--color-text-light);
   margin-bottom: 20px;
}

.compliance-title {
   font-size: 40px;
   font-weight: 700;
   line-height: 1.2;
   margin-bottom: 25px;
}

.compliance-text {
   font-size: 18px;
   line-height: 1.6;
   color: var(--color-text-muted);
   margin-bottom: 35px;
   max-width: 520px;
}

/* SECCION CIFRAS */

.stats {
   padding: 100px 0;
   background: #ffffff;
   text-align: center;
}

.stats-title {
   font-size: 40px;
   font-weight: 700;
   max-width: 900px;
   margin: 0 auto 70px auto;
   line-height: 1.2;
}

.stats-grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 40px;
}

.stat-item {
   display: flex;
   flex-direction: column;
   gap: 15px;
}

.stat-number {
   font-size: 56px;
   font-weight: 700;
   color: var(--color-accent);
   letter-spacing: -1px;
}

.stat-text {
   font-size: 18px;
   color: #555;
   line-height: 1.4;
   max-width: 220px;
   margin: auto;
}

.testimonials {
   padding: 120px 0;
   overflow: hidden;
   background-color: #F7F6FF;
}

.testimonials-header {
   max-width: 600px;
   margin-bottom: 60px;
}

.testimonials-kicker {
   font-size: 18px;
   font-weight: 700;
   color: #888;
   margin-bottom: 15px;
}

.testimonials-title {
   font-size: 40px;
   font-weight: 700;
   line-height: 1.2;
}

.testimonials-slider {
   overflow: hidden;
}

.testimonials-track {
   display: flex;
   gap: 30px;
   transition: transform .6s ease;
   cursor: grab;
}

.testimonials-track:active {
   cursor: grabbing;
}

.testimonial-card {
   min-width: 346px;
   height: 455px;
   border-radius: 20px;
   overflow: hidden;
   position: relative;
   flex-shrink: 0;
}

.testimonial-bg {
   width: 100%;
   height: 100%;
   background-size: cover;
   background-position: center;
   position: relative;
   display: flex;
   align-items: flex-end;
}

.testimonial-bg::before {
   content: "";
   position: absolute;
   inset: 0;
   background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
   z-index: 1;
}

.testimonial-bg {
   position: relative;
   overflow: hidden;
}

.testimonial-content {
   background: rgba(255, 255, 255, 0.82);
   backdrop-filter: blur(8px);
   -webkit-backdrop-filter: blur(6px);

   position: relative;
   z-index: 2;

   width: 317px;
   padding: 20px;
   border-radius: 16px;
   margin: 0 auto 20px auto;

   box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.testimonial-text {
   font-size: 15px;
   line-height: 1.5;
   margin-bottom: 15px;
}

.testimonial-name {
   font-size: 16px;
   font-weight: 700;
}

.testimonial-role {
   font-size: 13px;
   color: #777;
}

.testimonial-controls {
   display: flex;
   gap: 15px;
   margin-top: 40px;
}

.testimonial-controls button {
   width: 45px;
   height: 45px;
   border-radius: 50%;
   border: 1px solid #ddd;
   background: white;
   cursor: pointer;
   font-size: 18px;
}

/* POSIBLE ELIMINACIÓN: Blob decorativo violeta (#615EA6) en .news::before.
   Está siendo sobrescrito por el blob magenta (var(--color-accent)) definido más abajo.
   Solo uno de los dos pseudo-elementos ::before puede existir a la vez.
   Revisar visualmente antes de eliminar definitivamente. */
/*
.news::before {
   content: ""; position: absolute;
   width: 420px; height: 420px;
   background: #615EA6;
   filter: blur(180px); opacity: .15;
   top: -120px; right: -100px;
   z-index: -1;
}
*/

.news {
   padding: 120px 0;
   position: relative;
   overflow: hidden;
}

.news-title {
   font-size: 40px;
   font-weight: 700;
   text-align: center;
   margin-bottom: 70px;
}

.news-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 40px;
   max-width: 1200px;
   margin: auto;
}

.news-card {
   background: #fff;
   border-radius: 20px;
   overflow: hidden;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
   display: flex;
   flex-direction: column;
   transition: transform .3s ease, box-shadow .3s ease;
}



.news-card:hover {
   transform: translateY(-8px);
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.news-image {
   width: 100%;
   height: 257px;
   object-fit: cover;
}

.news-content {
   padding: 30px;
   display: flex;
   flex-direction: column;
   gap: 15px;
}

.news-card-title {
   font-size: 32px;
   font-weight: 700;
   line-height: 1.2;
}

.services-grid .news-card-title {
   font-weight: 500;
}

.news-text {
   font-size: 16px;
   color: #555;
   line-height: 1.5;
}

.news-link {
   margin-top: auto;
   color: var(--color-accent);
   font-weight: 600;
   text-decoration: none;
}

.news::before {
   content: "";
   position: absolute;

   width: 450px;
   height: 450px;

   background: var(--color-accent);

   border-radius: 50%;

   filter: blur(140px);
   opacity: 0.25;

   top: 300px;
   right: 500px;

   z-index: -1;
}

.contact {
   padding: 80px 0;
}

.contact-container {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 80px;
   align-items: center;
}

.contact-image img {
   width: 100%;
   max-width: 578px;
   height: auto;
   border-radius: 20px;
   display: block;
   transition: transform .4s ease;
}

.contact-title {
   font-size: 40px;
   font-weight: 700;
   margin-bottom: 20px;
}

.contact-text {
   font-size: 18px;
   line-height: 1.6;
   color: #555;
   margin-bottom: 30px;
   max-width: 500px;
}

.contact-image img:hover {
   transform: scale(1.03);
}

.contact-form {
   display: flex;
   flex-direction: column;
   gap: 15px;
}

.contact-form input,
.contact-form textarea {
   padding: 14px;
   border-radius: 8px;
   border: 1px solid #ddd;
   font-size: 16px;
   font-family: inherit;
}

.contact-form textarea {
   min-height: 120px;
   resize: vertical;
}

.footer {
   position: relative;
   overflow: hidden;
   padding: 100px 0;
   background: transparent;
   margin-top: 60px;
}

.footer-bg {
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   z-index: 0;
   pointer-events: none;
}

.footer-glow {
   position: absolute;
   width: 800px;
   height: 800px;
   border-radius: 50%;
   filter: blur(100px);
   opacity: 0.8;
}

.glow-1 {
   top: -300px;
   right: -200px;
   background: radial-gradient(circle, rgb(252, 221, 66) 0%, rgba(252, 221, 66, 0.8) 40%, rgba(252, 221, 66, 0) 70%);
}

.glow-2 {
   bottom: -300px;
   left: -200px;
   background: radial-gradient(circle, rgb(255, 0, 119) 0%, rgba(255, 0, 119, 0.8) 40%, rgba(255, 0, 119, 0) 70%);
}

.glow-3 {
   top: 10%;
   left: 30%;
   width: 600px;
   height: 600px;
   background: radial-gradient(circle, rgb(158, 0, 161) 0%, rgba(158, 0, 161, 0.8) 40%, rgba(158, 0, 161, 0) 70%);
}

.footer-box {
   background: var(--bg-light);
   border-radius: 24px;
   padding: 80px 60px;
   position: relative;
   z-index: 2;
   box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.footer-container {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 60px;
   margin-bottom: 60px;
}

.footer-logo {
   width: 140px;
   margin-bottom: 20px;
}

.footer-small-text {
   font-size: 14px;
   color: #777;
   margin-bottom: 10px;
}

.footer-inexoos {
   width: 120px;
}

.footer-title {
   font-size: 16px;
   font-weight: 700;
   margin-bottom: 20px;
}

.footer-link {
   display: block;
   margin-bottom: 12px;
   text-decoration: none;
   color: #333;
   font-size: 15px;
}

.footer-link:hover {
   color: var(--color-accent);
}

.footer-icon {
   display: flex;
   align-items: center;
   gap: 10px;
}

.footer-icon img {
   width: 18px;
}

.footer-bottom {
   text-align: center;
}

.footer-follow {
   font-size: 16px;
   margin-bottom: 15px;
}

.footer-social {
   display: flex;
   justify-content: center;
   gap: 20px;
   margin-bottom: 20px;
}

.footer-social img {
   width: 24px;
}

.footer-copy {
   font-size: 14px;
   color: #777;
}

/* RESPONSIVE */

@media (max-width:900px) {

   .hero-container {
      grid-template-columns: 1fr;
      text-align: center;
   }

   .hero-actions {
      justify-content: center;
   }

   /* ocultar menu normal */

   .main-nav {
      display: none;
   }

   /* mostrar hamburguesa */

   .menu-toggle {
      display: block;
   }

   /* menu abierto */

   .main-nav.active {
      display: block;
      position: absolute;
      top: 70px;
      left: 0;
      width: 100%;
      background: white;
      padding: 20px;
   }

   /* lista vertical */

   .nav-list {
      flex-direction: column;
      gap: 15px;
   }

   .compliance-container {
      grid-template-columns: 1fr;
      gap: 50px;
   }

   .compliance-content {
      text-align: center;
   }

   .compliance-text {
      margin: auto;
      margin-bottom: 30px;
   }

   .stats-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 50px;
   }

}

@media (max-width:600px) {

   .stats-title {
      font-size: 30px;
   }

   .stats-grid {
      grid-template-columns: 1fr;
   }

   .stat-number {
      font-size: 46px;
   }

}

/* TABLET */
@media (max-width:1000px) {

   .services-grid {
      grid-template-columns: repeat(2, 1fr);
   }

}

/* MOBILE — bloque unificado (ex 3 bloques @media 600px fusionados) */
@media (max-width:600px) {

   .services-grid {
      grid-template-columns: 1fr;
   }

   .service-card {
      padding: 30px;
      text-align: center;
   }

   /* .service-card img {} — eliminado: regla vacía sin propiedades */

   .napsis {
      width: 24px;
   }

   .service-illustration {
      width: 70%;
      display: block;
      margin: 0 auto;
   }

   /* footer-container: eliminada regla repeat(2,1fr) — sobrescrita por la de abajo */
   .footer {
      padding: 60px 30px;
   }

   .footer-container {
      grid-template-columns: 1fr;
   }

   .footer-col {
      text-align: center;
   }

   .footer-icon {
      justify-content: center;
   }

}


/* ============================= */
/* HERO COMPLIANCE */
/* ============================= */

.compliance-hero {
   padding: 120px 0 80px;
   background: #F7F6FF;
}

.compliance-hero-container {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 60px;
   align-items: center;
}

.compliance-title {
   font-size: 48px;
   font-weight: 700;
   line-height: 1.2;
   margin-bottom: 20px;
}

.compliance-description {
   font-size: 18px;
   line-height: 1.6;
   color: #555;
   margin-bottom: 30px;
}

.compliance-hero-image img {
   width: 100%;
   border-radius: 16px;
   display: block;
}


/* ============================= */
/* TARJETAS */
/* ============================= */

.compliance-cards {
   padding: 100px 0;
   background: #fff;
}

.compliance-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 32px;
}

.compliance-card {
   background: #fff;
   padding: 32px;
   border-radius: 16px;
   border: 1px solid #eee;
   box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
   display: flex;
   flex-direction: column;
   gap: 16px;
   transition: .3s;
}

.compliance-card:hover {
   transform: translateY(-6px);
   box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.compliance-icon {
   width: 50px;
   height: 50px;
   background: #F3F2FF;
   border-radius: 12px;
   display: flex;
   align-items: center;
   justify-content: center;
}

.compliance-icon img {
   width: 24px;
   height: 24px;
}

.compliance-card h3 {
   font-size: 20px;
   font-weight: 700;
   margin: 0;
}

.compliance-card p {
   font-size: 15px;
   line-height: 1.5;
   color: #555;
}

.card-link {
   margin-top: auto;
   text-decoration: none;
   font-weight: 600;
   color: var(--color-accent);
}


/* ============================= */
/* DETALLE TEXTO */
/* ============================= */

.compliance-detail {
   padding: 100px 0;
}

.compliance-detail.alt {
   background: #F7F6FF;
}

.compliance-detail-container {
   max-width: 760px;
}

.compliance-text h2 {
   font-size: 34px;
   margin-bottom: 20px;
}

.compliance-text p {
   font-size: 18px;
   line-height: 1.7;
   margin-bottom: 18px;
   color: #555;
}


/* ============================= */
/* VALORES */
/* ============================= */

.compliance-values {
   padding: 100px 0;
   text-align: center;
}

.values-title {
   font-size: 38px;
   margin-bottom: 20px;
}

.values-text {
   max-width: 700px;
   margin: auto;
   font-size: 18px;
   line-height: 1.6;
   color: #555;
}


/* ============================= */
/* CTA */
/* ============================= */

.compliance-cta {
   padding: 100px 0;
   text-align: center;
   background: #F7F6FF;
}

.compliance-cta h2 {
   font-size: 36px;
   margin-bottom: 30px;
}


/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width:1000px) {

   .compliance-hero-container {
      grid-template-columns: 1fr;
   }

   .compliance-grid {
      grid-template-columns: repeat(2, 1fr);
   }

}

@media (max-width:640px) {

   .compliance-grid {
      grid-template-columns: 1fr;
   }

   .compliance-title {
      font-size: 36px;
   }

}

.reveal {
   opacity: 0;
   transform: translateY(40px);
   transition: all .8s ease;
}

.reveal.visible {
   opacity: 1;
   transform: translateY(0);
}

/* =================================
   HERO LIBRO DE CLASES
================================= */

.lcd-hero {

   padding: 120px 0;

}

.lcd-hero-container {

   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 80px;
   align-items: center;

}

.lcd-title {

   font-size: 44px;
   font-weight: 700;
   line-height: 1.2;
   margin-bottom: 28px;

}

.lcd-description {

   font-size: 18px;
   line-height: 1.7;
   color: var(--color-text-muted);
   margin-bottom: 20px;

}

.lcd-hero-image img {

   width: 100%;
   border-radius: 16px;

}

/* ===============================
   HERO RESPONSIVE
================================ */

@media (max-width:900px) {

   .lcd-hero-container {

      grid-template-columns: 1fr;
      gap: 40px;

   }

   .lcd-title {

      font-size: 32px;

   }

}

/* =================================
LIBRO DE CLASES DIGITAL
================================= */

.lcd-section {
   padding: 100px 0;
}

.lcd-gray {
   background: #f7f7f9;
}

.lcd-center {
   text-align: center;
   margin-bottom: 60px;
}

.lcd-intro {
   max-width: 800px;
   margin: auto;
   text-align: center;
}

.lcd-intro h2 {
   font-size: 36px;
   margin-bottom: 24px;
}

.lcd-intro p {
   font-size: 18px;
   line-height: 1.7;
   color: var(--color-text-muted);
   margin-bottom: 16px;
}



/* =================================
GRID
================================= */

.lcd-grid-3 {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 30px;
   margin-top: 40px;
}



/* =================================
CARDS
================================= */

.lcd-card {
   background: #fff;
   padding: 30px;
   border-radius: 12px;
   box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
   transition: all .3s;
}

.lcd-card:hover {
   transform: translateY(-5px);
}

.lcd-card h3 {
   font-size: 20px;
   margin-bottom: 12px;
}

.lcd-card p {
   color: var(--color-text-light);
   line-height: 1.6;
}



/* =================================
ICON CARDS
================================= */

.lcd-icon-card {
   background: #fff;
   padding: 28px;
   border-radius: 12px;
   text-align: center;
   box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.lcd-icon-card h3 {
   font-size: 18px;
   margin-bottom: 10px;
}

.lcd-icon-card p {
   font-size: 15px;
   color: var(--color-text-light);
}



/* =================================
CHECKLIST
================================= */

.lcd-checklist {
   max-width: 700px;
   margin: 40px auto 0 auto;
   list-style: none;
   padding: 0;
}

.lcd-checklist li {
   font-size: 18px;
   margin-bottom: 18px;
   padding-left: 28px;
   position: relative;
}

.lcd-checklist li:before {
   content: "✓";
   position: absolute;
   left: 0;
   color: #615EA6;
   font-weight: bold;
}



/* =================================
TABLA COMPARACION
================================= */

.lcd-table {
   width: 100%;
   max-width: 800px;
   margin: 40px auto 0 auto;
   border-collapse: collapse;
   background: #fff;
   border-radius: 10px;
   overflow: hidden;
   box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.lcd-table th {
   background: #615EA6;
   color: #fff;
   padding: 16px;
   text-align: left;
}

.lcd-table td {
   padding: 16px;
   border-bottom: 1px solid #eee;
}

.lcd-table tr:last-child td {
   border-bottom: none;
}



/* =================================
FAQ ACORDEON
================================= */

.lcd-faq {
   max-width: 800px;
   margin: auto;
}

.lcd-faq details {
   border-bottom: 1px solid #e5e7eb;
   padding: 20px 0;
}

.lcd-faq summary {
   font-size: 18px;
   font-weight: 600;
   cursor: pointer;
   list-style: none;
}

.lcd-faq summary::-webkit-details-marker {
   display: none;
}

.lcd-faq p {
   margin-top: 10px;
   color: var(--color-text-light);
   line-height: 1.6;
}



/* =================================
RESPONSIVE
================================= */

@media (max-width:900px) {

   .lcd-grid-3 {
      grid-template-columns: 1fr;
   }

   .lcd-section {
      padding: 70px 0;
   }

   .lcd-intro h2 {
      font-size: 30px;
   }

}

/* =================================
2 COLUMNAS
================================= */

.lcd-two-col {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 80px;
   align-items: center;
}

.lcd-col-text h2 {
   font-size: 36px;
   margin-bottom: 20px;
}

.lcd-subtext {
   font-size: 18px;
   color: var(--color-text-light);
   margin-bottom: 30px;
   line-height: 1.6;
}

.lcd-col-image img {
   width: 100%;
   border-radius: 16px;
   /*box-shadow:0 20px 40px rgba(0,0,0,0.1);*/
   transition: transform .3s;
}

.lcd-col-image img:hover {
   transform: scale(1.03);
}

@media (max-width:900px) {

   .lcd-two-col {
      grid-template-columns: 1fr;
      gap: 40px;
   }

}

/* SECCION CON MOCKUP ABAJO */

.lcd-mockup-section {
   padding-bottom: 0;
   /* clave para que la imagen toque el borde */
   overflow: hidden;
}

/* IMAGEN */

.lcd-mockup {
   width: 70%;
   margin: 80px auto -80px auto;
   /* esto hace que sobresalga */
}

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


/* =============================================
   LIBRO DE CLASES DIGITAL v2 — lcd2-*
   Todos los estilos con prefijo lcd2- para
   evitar conflictos con el sitio principal
   ============================================= */

/* ---- SECCIÓN BASE ---- */

.lcd2-section {
   padding: 100px 0;
}

.lcd2-bg-light {
   background: #f8f9fc;
}

.lcd2-section-title {
   font-size: 40px;
   font-weight: 700;
   text-align: center;
   line-height: 1.2;
   margin-bottom: 20px;
   color: var(--color-text-dark);
}

.lcd2-section-subtitle {
   font-size: 18px;
   color: var(--color-text-muted);
   text-align: center;
   max-width: 800px;
   margin: 0 auto 10px;
   line-height: 1.6;
}

/* ---- GRIDS ---- */

.lcd2-grid-2 {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 30px;
   margin-top: 50px;
}

.lcd2-col-text {
   text-align: left;
}

.lcd2-col-text .lcd2-section-title,
.lcd2-col-text .lcd2-section-subtitle,
.lcd2-col-text .lcd2-registers-block,
.lcd2-col-text .lcd2-highlight-banner {
   text-align: left;
}

.lcd2-col-text .lcd2-section-subtitle {
   margin-left: 0;
   margin-right: auto;
}

.lcd2-grid-3 {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 30px;
   margin-top: 50px;
}

.lcd2-align-top {
   align-items: start;
}

/* =============================================
   HERO
   ============================================= */

.lcd2-hero {
   position: relative;
   padding: 100px 0 80px;
   overflow: hidden;
   background: #fff;
}

.lcd2-hero-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 60px;
   align-items: center;
}

.lcd2-hero-text h1 {
   font-size: 52px;
   line-height: 1.1;
   margin-bottom: 24px;
   color: var(--color-text-dark);
}

.lcd2-hero-text p {
   font-size: 18px;
   color: var(--color-text-muted);
   line-height: 1.7;
   margin-bottom: 30px;
   max-width: 520px;
}

.lcd2-hero-buttons {
   margin-top: 30px;
}

/* Blobs decorativos */
.lcd2-blob-wrapper {
   position: absolute;
   top: -100px;
   right: -80px;
   width: 500px;
   height: 500px;
   z-index: 0;
   pointer-events: none;
}

.lcd2-blob {
   position: absolute;
   border-radius: 50%;
   filter: blur(120px);
   opacity: 0.18;
}

.lcd2-blob-orange {
   width: 350px;
   height: 350px;
   background: var(--color-primary-start);
   top: 0;
   right: 0;
}

.lcd2-blob-magenta {
   width: 300px;
   height: 300px;
   background: var(--color-primary-end);
   top: 100px;
   right: 150px;
}

/* ---- MOCKUP DASHBOARD ---- */

.lcd2-hero-mockup {
   position: relative;
   z-index: 1;
}

.page-libro .lcd2-hero-image {
   width: 100%;
   max-width: 500px;
   height: auto;
   display: block;
   margin: 0 auto;
}

.page-libro .lcd2-hero-mockup {
   display: flex;
   justify-content: center;
   align-items: center;
}

/* =============================================
   REGISTROS
   ============================================= */

.lcd2-registers-block {
   margin-top: 50px;
   text-align: center;
}

.lcd2-registers-block h3 {
   font-size: 22px;
   font-weight: 600;
   margin-bottom: 28px;
   color: var(--color-text-dark);
}

.lcd2-registers-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 16px;
}

.lcd2-register-item {
   display: flex;
   align-items: center;
   gap: 10px;
   padding: 16px 20px;
   background: #ffffff;
   border-radius: 12px;
   border: 1px solid var(--bg-subtle);
   font-size: 15px;
   font-weight: 500;
   color: #374151;
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
   transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lcd2-register-item:hover {
   transform: translateY(-2px);
   box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.lcd2-register-item i {
   font-size: 22px;
   color: var(--color-accent);
   flex-shrink: 0;
}

/* ---- HIGHLIGHT BANNER ---- */

.lcd2-highlight-banner {
   margin-top: 50px;
   padding: 28px 36px;
   background: #F7F6FF;
   border: 1px solid rgba(205, 42, 143, 0.1);
   color: var(--color-text-dark);
   border-radius: 14px;
   font-size: 17px;
   font-weight: 500;
   line-height: 1.6;
   text-align: center;
}

/* =============================================
   BENEFICIOS
   ============================================= */

.lcd2-benefits {
   position: relative;
   background: #fff;
}

.lcd2-benefit-card {
   background: #ffffff;
   padding: 32px;
   border-radius: 16px;
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
   border: 1px solid var(--bg-subtle);
   transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lcd2-benefit-card:hover {
   transform: translateY(-4px);
   box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.lcd2-benefit-header {
   display: flex;
   align-items: center;
   gap: 14px;
   margin-bottom: 16px;
}

.lcd2-benefit-header i {
   font-size: 32px;
   background: linear-gradient(135deg, var(--color-primary-start), var(--color-primary-end));
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   flex-shrink: 0;
}

.lcd2-benefit-header h3 {
   font-size: 22px;
   font-weight: 500;
   color: var(--color-text-dark);
}

.lcd2-benefit-card p {
   font-size: 15px;
   color: var(--color-text-muted);
   line-height: 1.6;
}

/* =============================================
   CARDS (CARACTERÍSTICAS)
   ============================================= */

.lcd2-card {
   background: #ffffff;
   padding: 32px;
   border-radius: 16px;
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
   border: 1px solid var(--bg-subtle);
   text-align: center;
   transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lcd2-card:hover {
   transform: translateY(-4px);
   box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.lcd2-icon-box {
   width: 60px;
   height: 60px;
   border-radius: 14px;
   background: linear-gradient(135deg, rgba(255, 122, 24, 0.1), rgba(236, 72, 153, 0.1));
   display: flex;
   align-items: center;
   justify-content: center;
   margin: 0 auto 20px;
}

.lcd2-icon-box i {
   font-size: 28px;
   background: linear-gradient(135deg, var(--color-primary-start), var(--color-primary-end));
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
}

.lcd2-card h3 {
   font-size: 18px;
   font-weight: 700;
   margin-bottom: 12px;
   color: var(--color-text-dark);
}

.lcd2-card p {
   font-size: 15px;
   color: var(--color-text-muted);
   line-height: 1.6;
}

/* =============================================
   TECH BOX (POR QUÉ + COMPARATIVA)
   ============================================= */

.lcd2-tech-box {
   background: #ffffff;
   padding: 36px;
   border-radius: 16px;
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
   border: 1px solid var(--bg-subtle);
}

.lcd2-tech-box h3 {
   font-size: 24px;
   font-weight: 700;
   margin-bottom: 16px;
   color: var(--color-text-dark);
}

.lcd2-tech-box>p {
   font-size: 15px;
   color: var(--color-text-muted);
   line-height: 1.6;
}

/* Check list */
.lcd2-check-list {
   list-style: none;
   margin-top: 20px;
   display: flex;
   flex-direction: column;
   gap: 12px;
}

.lcd2-check-list li {
   display: flex;
   align-items: center;
   gap: 10px;
   font-size: 18px;
   color: #374151;
   line-height: 1.5;
}

.lcd2-check-list li i {
   font-size: 20px;
   color: var(--color-accent);
   flex-shrink: 0;
}

/* Comparison table */
.lcd2-comparison {
   margin-top: 20px;
   border-radius: 12px;
   overflow: hidden;
   border: 1px solid #e5e7eb;
}

.lcd2-comp-header {
   display: grid;
   grid-template-columns: 1fr 1fr;
   background: #1e293b;
   color: white;
   font-size: 13px;
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 0.3px;
}

.lcd2-comp-header div {
   padding: 14px 18px;
}

.lcd2-comp-row {
   display: grid;
   grid-template-columns: 1fr 1fr;
   border-bottom: 1px solid var(--bg-subtle);
   font-size: 14px;
}

.lcd2-comp-row div {
   padding: 13px 18px;
   color: #374151;
   display: flex;
   align-items: center;
   gap: 8px;
}

.lcd2-comp-row div:first-child {
   color: var(--color-text-very-light);
}

.lcd2-comp-row div i {
   color: #22c55e;
   font-size: 16px;
}

/* Chips */
.lcd2-chips {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 10px;
   margin-top: 20px;
}

.lcd2-chip {
   display: inline-block;
   padding: 8px 18px;
   border-radius: 30px;
   font-size: 13px;
   font-weight: 500;
   color: var(--color-accent);
   background: rgba(205, 42, 143, 0.08);
   border: 1px solid rgba(205, 42, 143, 0.15);
}

/* =============================================
   FAQ — Accordion nativo con <details>
   ============================================= */

.lcd2-faq {
   max-width: 800px;
   margin: 40px auto 0;
   display: flex;
   flex-direction: column;
   gap: 16px;
}

.lcd2-accordion {
   background: #fff;
   border-radius: 12px;
   border: 1px solid var(--bg-subtle);
   overflow: hidden;
   transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.lcd2-accordion:hover {
   border-color: #e2e8f0;
}

.lcd2-accordion[open] {
   box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
   border-color: var(--bg-subtle);
}

.lcd2-accordion summary {
   padding: 24px;
   font-size: 16px;
   font-weight: 600;
   color: var(--color-text-dark);
   cursor: pointer;
   list-style: none;
   display: flex;
   justify-content: space-between;
   align-items: center;
   transition: color 0.2s ease;
}

.lcd2-accordion summary::-webkit-details-marker {
   display: none;
}

.lcd2-accordion summary::after {
   content: '+';
   font-size: 24px;
   font-weight: 400;
   color: var(--color-text-very-light);
   line-height: 1;
   transition: transform 0.25s ease, color 0.2s ease;
}

.lcd2-accordion[open] summary::after {
   content: '−';
   color: var(--color-accent);
}

.lcd2-accordion[open] summary {
   color: var(--color-accent);
}

.lcd2-accordion p {
   padding: 0 24px 24px;
   font-size: 15px;
   color: var(--color-text-muted);
   line-height: 1.7;
   margin: 0;
}

/* Animación de apertura nativa (aplica al contenido) */
.lcd2-accordion[open] p {
   animation: lcd2-fade-slide 0.3s ease-out forwards;
}

@keyframes lcd2-fade-slide {
   from {
      opacity: 0;
      transform: translateY(-8px);
   }

   to {
      opacity: 1;
      transform: translateY(0);
   }
}

/* =============================================
   RESPONSIVE — lcd2
   ============================================= */

@media (max-width: 900px) {
   .lcd2-hero-grid {
      grid-template-columns: 1fr;
      gap: 40px;
   }

   .lcd2-hero-text h1 {
      font-size: 34px;
   }

   .lcd2-section-title {
      font-size: 28px;
   }

   .lcd2-grid-2 {
      grid-template-columns: 1fr;
   }

   .lcd2-grid-3 {
      grid-template-columns: 1fr;
   }

   .lcd2-registers-grid {
      grid-template-columns: repeat(2, 1fr);
   }

   .lcd2-section {
      padding: 60px 0;
   }
}

@media (max-width: 600px) {
   .lcd2-registers-grid {
      grid-template-columns: 1fr;
   }

   .lcd2-hero {
      padding: 60px 0 40px;
   }

   .lcd2-hero-text h1 {
      font-size: 28px;
   }

   .lcd2-comp-row {
      font-size: 12px;
   }
}

/* =========================
   PORTAL COMUNICACIONES (PC)
   ========================= */

.pc-wrapper {
   --pc-primary: #F26A4A;
   --pc-secondary: #D9147A;
   --pc-accent: #FFB347;
   --pc-text-dark: #16223B;
   --pc-text-body: #5b6375;
   --pc-bg-light: #f8fcfd;
   --pc-white: #ffffff;

   --pc-shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.03);
   --pc-shadow-md: 0 10px 20px rgba(0, 0, 0, 0.06);
   --pc-shadow-lg: 0 15px 35px rgba(22, 34, 59, 0.08);

   --pc-radius-md: 12px;
   --pc-radius-lg: 20px;
   --pc-radius-pill: 50px;

   --pc-transition: all 0.3s ease;

   /* Layout Container Reset */
   display: block;
   width: 100%;
   background-color: var(--pc-white);
   color: var(--pc-text-body);
   overflow: hidden;
   /* Evita scroll horizontal por blobs o elementos absolutos */
}

/* Aislar la jerarquía tipográfica para que el body global no sobreescriba colores */
.pc-wrapper h1,
.pc-wrapper h2,
.pc-wrapper h3,
.pc-wrapper h4,
.pc-wrapper h5,
.pc-wrapper h6 {
   color: var(--pc-text-dark);
}

.pc-wrapper p {
   color: var(--pc-text-body);
}

.pc-wrapper a {
   text-decoration: none;
}

/* Layout */
.pc-container {
   max-width: 1140px;
   margin: 0 auto;
   padding: 0 20px;
}

.pc-section {
   padding: 100px 0;
}

.pc-bg-light {
   background: var(--pc-bg-light);
}

.pc-text-center {
   text-align: center;
}

/* Grid */
.pc-grid-2 {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
   gap: 30px;
}

.pc-grid-3 {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 30px;
}

.pc-align-center {
   align-items: center;
}

/* Typography */
.pc-section-title {
   font-size: 2.5rem;
   margin-bottom: 20px;
   color: var(--pc-text-dark);
}

.pc-gradient-text {
   background: linear-gradient(135deg, var(--pc-primary), var(--pc-secondary));
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
}

.pc-gradient-secondary {
   background: linear-gradient(135deg, var(--pc-secondary), #8e2de2);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
}

/* Buttons */
.pc-btn {
   padding: 14px 32px;
   border-radius: var(--pc-radius-pill);
   font-weight: 600;
   display: inline-block;
}

.pc-btn-primary {
   background: linear-gradient(90deg, var(--pc-primary), var(--pc-secondary));
   color: white;
   box-shadow: 0 4px 15px rgba(242, 106, 74, 0.3);
}

.pc-btn-primary:hover {
   transform: translateY(-2px);
}

/* HERO */

.hero-features {
   margin-bottom: 40px;
}

.hero-features li {
   display: flex;
   align-items: flex-start;
   gap: 12px;
   margin-bottom: 12px;
   font-weight: 500;
   font-size: 1.05rem;
   color: var(--text-dark);
}

.hero-features li i {
   color: #10b981;
   font-size: 1.2rem;
   margin-top: 3px;
}

.pc-hero {
   position: relative;
   overflow: hidden;
   padding: 80px 0;
}

.pc-blob {
   position: absolute;
   border-radius: 50%;
   filter: blur(80px);
   opacity: 0.5;
}

.pc-bg-orange {
   width: 400px;
   height: 400px;
   background: var(--pc-primary);
   top: -100px;
   right: -50px;
}

.pc-bg-magenta {
   width: 350px;
   height: 350px;
   background: var(--pc-secondary);
   bottom: -100px;
   left: -50px;
}

.pc-hero-container {
   display: flex;
   align-items: center;
   justify-content: space-between;
}

.pc-hero-content {
   max-width: 600px;
}

.pc-hero-content h1 {
   font-size: 3.5rem;
   margin-bottom: 20px;
}

.pc-hero-subtitle {
   font-size: 1.2rem;
   margin-bottom: 30px;
}

/* Mockup */
.pc-dashboard-mockup {
   max-width: 450px;
   height: 400px;
   background: white;
   border-radius: var(--pc-radius-lg);
   box-shadow: var(--pc-shadow-lg);
   overflow: hidden;
}

.pc-mockup-header {
   height: 40px;
   background: var(--bg-subtle);
}

.pc-dots span {
   display: inline-block;
   width: 10px;
   height: 10px;
   border-radius: 50%;
   margin: 5px;
}

/* Cards */
.pc-benefit-card {
   background: white;
   padding: 30px;
   border-radius: var(--pc-radius-lg);
   box-shadow: var(--pc-shadow-sm);
   text-align: center;
   transition: var(--pc-transition);
}

.pc-benefit-card:hover {
   transform: translateY(-10px);
}

/* Functions */
.pc-functions-grid {
   display: grid;
   gap: 30px;
}

.pc-function-item {
   display: flex;
   gap: 20px;
   padding: 25px;
   background: var(--pc-bg-light);
   border-radius: var(--pc-radius-md);
}

/* FAQ */
.pc-accordion-item {
   background: white;
   border-radius: var(--pc-radius-md);
   margin-bottom: 10px;
   overflow: hidden;
}

.pc-accordion-header {
   padding: 20px;
   cursor: pointer;
   font-weight: 600;
}

.pc-accordion-content {
   max-height: 0;
   overflow: hidden;
   transition: 0.3s;
}

/* Animaciones */
.pc-reveal {
   opacity: 0;
   transform: translateY(30px);
   transition: 0.6s;
}

.pc-reveal.pc-active {
   opacity: 1;
   transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
   .pc-hero-container {
      flex-direction: column;
      text-align: center;
   }

   .pc-hero-content h1 {
      font-size: 2.5rem;
   }
}

/* ============================================
   FUNCIONES SECTION & UTILITIES
   ============================================ */

.section {
   padding: 100px 0;
}

.text-center {
   text-align: center;
}

.mb-5 {
   margin-bottom: 3rem !important;
}

.mt-5 {
   margin-top: 3rem !important;
}

.section-title {
   font-size: 2.8rem;
   font-weight: 800;
   color: var(--color-text-dark);
   line-height: 1.2;
   margin-bottom: 20px;
}

.gradient-secondary {
   background: linear-gradient(90deg, var(--color-primary-start), var(--color-primary-end));
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
}

.functions-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
   gap: 30px;
}

.function-item {
   display: flex;
   gap: 25px;
   padding: 40px 30px;
   background: #ffffff;
   border-radius: 24px;
   border: 1px solid rgba(0, 0, 0, 0.04);
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
   transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
   position: relative;
   overflow: hidden;
}

.function-item::before {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   width: 4px;
   height: 0;
   background: linear-gradient(to bottom, var(--color-primary-start), var(--color-primary-end));
   transition: height 0.3s ease;
}

.function-item:hover {
   transform: translateY(-10px);
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
   border-color: rgba(236, 72, 153, 0.1);
}

.function-item:hover::before {
   height: 100%;
}

.function-icon {
   width: 64px;
   height: 64px;
   background: linear-gradient(135deg, rgba(255, 122, 24, 0.08), rgba(236, 72, 153, 0.08));
   border-radius: 18px;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.6rem;
   color: var(--color-primary-end);
   flex-shrink: 0;
   transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.function-item:hover .function-icon {
   transform: scale(1.1) rotate(10deg);
   background: linear-gradient(135deg, rgba(255, 122, 24, 0.15), rgba(236, 72, 153, 0.15));
   color: #D9147A;
}

.function-content h4 {
   font-size: 1.25rem;
   font-weight: 700;
   color: var(--color-text-dark);
   margin-bottom: 12px;
}

.function-content p {
   font-size: 0.98rem;
   color: var(--color-text-light);
   line-height: 1.6;
}

/* Reveal extras for left/right */
.fade-left {
   opacity: 0;
   transform: translateX(-40px);
   transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-right {
   opacity: 0;
   transform: translateX(40px);
   transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-left.active,
.fade-left.visible,
.fade-right.active,
.fade-right.visible,
.reveal.active .fade-left,
.reveal.active .fade-right {
   opacity: 1;
   transform: translateX(0);
}

@media (max-width: 768px) {
   .section {
      padding: 60px 0;
   }

   .section-title {
      font-size: 2.2rem;
   }

   .function-item {
      padding: 30px 20px;
   }

   .functions-grid {
      grid-template-columns: 1fr;
   }
}

/* ============================================
   ALERT SECTION
   ============================================ */

.alert-section {
   background: linear-gradient(135deg, var(--color-text-dark), #16223B);
   padding: 100px 0;
   color: white;
}

.relative {
   position: relative;
}

.z-10 {
   z-index: 10;
}

.text-secondary {
   color: #D9147A;
}

.problem-solution-box {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 40px;
   margin-top: 50px;
   text-align: left;
}

.problem,
.solution {
   background: #ffffff;
   padding: 40px;
   border-radius: 24px;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
   color: #374151;
   transition: transform 0.3s ease;
}

.problem:hover,
.solution:hover {
   transform: translateY(-5px);
}

.problem h4,
.solution h4 {
   font-size: 1.5rem;
   color: var(--color-text-dark);
   margin-bottom: 20px;
   position: relative;
   padding-bottom: 10px;
}

.problem h4::after,
.solution h4::after {
   content: "";
   position: absolute;
   bottom: 0;
   left: 0;
   width: 50px;
   height: 4px;
   background: #D9147A;
   border-radius: 2px;
}

.solution h4::after {
   background: #10b981;
   /* Green for solution */
}

.problem p,
.solution p {
   font-size: 1.05rem;
   line-height: 1.6;
   margin-bottom: 20px;
}

.problem ul {
   list-style: none;
   padding: 0;
}

.problem ul li {
   display: flex;
   align-items: center;
   gap: 12px;
   margin-bottom: 15px;
   font-size: 1rem;
   color: var(--color-text-muted);
}

.problem ul li i {
   font-size: 1.2rem;
   flex-shrink: 0;
}

.solution {
   border: 2px solid transparent;
   background-clip: padding-box;
   position: relative;
}

.solution::before {
   content: "";
   position: absolute;
   top: -2px;
   left: -2px;
   right: -2px;
   bottom: -2px;
   background: linear-gradient(135deg, #10b981, #059669);
   z-index: -1;
   border-radius: 26px;
}

@media (max-width: 900px) {
   .problem-solution-box {
      grid-template-columns: 1fr;
   }
}

/* ============================================
   FAQ SECTION
   ============================================ */

.bg-light {
   background: #f8f9fb;
}

.gradient-text {
   background: linear-gradient(90deg, var(--color-primary-start), var(--color-primary-end));
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
}

.faq-container {
   max-width: 860px;
   margin: 0 auto;
}

.accordion {
   display: flex;
   flex-direction: column;
   gap: 14px;
}

.accordion-item {
   background: #ffffff;
   border-radius: 16px;
   border: 1px solid rgba(0, 0, 0, 0.06);
   box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
   overflow: hidden;
   transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.accordion-item:hover {
   box-shadow: 0 8px 28px rgba(242, 106, 74, 0.12);
   border-color: rgba(242, 106, 74, 0.3);
}

.accordion-header {
   width: 100%;
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 16px;
   padding: 22px 28px;
   background: none;
   border: none;
   cursor: pointer;
   font-family: 'Poppins', sans-serif;
   font-size: 1.05rem;
   font-weight: 600;
   color: var(--color-text-dark);
   text-align: left;
   transition: color 0.25s ease;
}

.accordion-header i {
   font-size: 1rem;
   color: var(--color-text-very-light);
   flex-shrink: 0;
   transition: transform 0.35s ease, color 0.25s ease;
}

.accordion-header:hover {
   color: #f26a4a;
}

.accordion-header:hover i {
   color: #f26a4a;
}

.accordion-header.active {
   color: #f26a4a;
}

.accordion-header.active i {
   transform: rotate(180deg);
   color: #f26a4a;
}

.accordion-item:has(.accordion-header.active) {
   border-color: rgba(242, 106, 74, 0.35);
   box-shadow: 0 8px 28px rgba(242, 106, 74, 0.1);
}

.accordion-content {
   max-height: 0;
   overflow: hidden;
   transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-content p {
   padding: 0 28px 22px;
   font-size: 1rem;
   color: var(--color-text-light);
   line-height: 1.7;
   border-top: 1px solid var(--bg-subtle);
   margin: 0;
   padding-top: 16px;
}

@media (max-width: 768px) {
   .accordion-header {
      font-size: 0.98rem;
      padding: 18px 20px;
   }

   .accordion-content p {
      padding: 14px 20px 20px;
   }
}

/* ============================================
   TECH SECTION
   ============================================ */

.tech {
   padding: 100px 0;
}

.tech.bg-light {
   background: #f8f9fb;
}

.tech-content {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 60px;
   align-items: center;
}

.tech-text h2 {
   font-size: 3rem;
   font-weight: 800;
   color: var(--color-text-dark);
   line-height: 1.1;
   margin-bottom: 25px;
}

.tech-text p {
   font-size: 1.15rem;
   color: var(--color-text-muted);
   margin-bottom: 20px;
   line-height: 1.7;
}

.tech-box {
   background: #ffffff;
   padding: 50px;
   border-radius: 30px;
   box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
   border: 1px solid rgba(0, 0, 0, 0.02);
}

.tech-box h3 {
   font-size: 1.4rem;
   font-weight: 700;
   margin-bottom: 25px;
   line-height: 1.3;
}

.check-list {
   list-style: none;
   padding: 0;
}

.check-list li {
   display: flex;
   align-items: flex-start;
   gap: 12px;
   margin-bottom: 18px;
   font-size: 1.05rem;
}

.check-list.dark li {
   color: #374151;
   font-weight: 500;
}

.check-list li i {
   margin-top: 5px;
   font-size: 1.1rem;
}

.animated-list li {
   transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.animated-list li:hover {
   transform: translateX(8px);
}

@media (max-width: 991px) {
   .tech {
      padding: 70px 0;
   }

   .tech-content {
      grid-template-columns: 1fr;
      gap: 50px;
      text-align: center;
   }

   .tech-text {
      text-align: center;
   }

   .tech-text h2 {
      font-size: 2.4rem;
   }

   .tech-box {
      padding: 35px;
   }

   .tech-text .arrow-list,
   .tech-text .check-list,
   .benefit-card .arrow-list,
   .benefit-card .check-list {
      display: inline-block;
      text-align: left;
      margin: 0 auto;
   }
}

/* ============================================
   HERO MEDICIÓN Y EVALUACIÓN
   ============================================ */

.hero {
   padding: 100px 0;
   background: #fff;
   position: relative;
   overflow: hidden;
}

.hero-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   align-items: center;
   gap: 60px;
}

.hero-content h1 {
   font-size: 3.6rem;
   font-weight: 800;
   color: var(--color-text-dark);
   line-height: 1.1;
   margin-bottom: 30px;
}

.hero-content p {
   font-size: 1.2rem;
   color: var(--color-text-muted);
   margin-bottom: 25px;
   line-height: 1.7;
   max-width: 540px;
}

.hero-highlight {
   color: var(--color-text-dark) !important;
   font-weight: 700;
}

.hero-buttons {
   margin-top: 40px;
}

/* Mockup & Blobs */
.hero-image {
   position: relative;
   display: flex;
   justify-content: flex-end;
}

.blob-wrapper {
   position: relative;
   width: 100%;
   max-width: 520px;
}

.blob {
   position: absolute;
   width: 350px;
   height: 350px;
   filter: blur(80px);
   opacity: 0.35;
   border-radius: 50%;
   z-index: 1;
}

.bg-orange {
   background: #f26a4a;
   top: -80px;
   right: -40px;
}

.bg-magenta {
   background: #d9147a;
   bottom: -80px;
   left: -40px;
}

.dashboard-mockup {
   position: relative;
   z-index: 2;
   background: #ffffff;
   border-radius: 24px;
   box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
   border: 1px solid rgba(0, 0, 0, 0.05);
   overflow: hidden;
   width: 100%;
   transition: transform 0.5s ease;
}

.dashboard-mockup:hover {
   transform: translateY(-10px);
}

.mockup-header {
   padding: 18px 24px;
   background: #f9fafb;
   border-bottom: 1px solid var(--bg-subtle);
}

.mockup-dots {
   display: flex;
   gap: 8px;
}

.mockup-dots span {
   width: 10px;
   height: 10px;
   border-radius: 50%;
}

.mockup-dots span:nth-child(1) {
   background: #ff5f56;
}

.mockup-dots span:nth-child(2) {
   background: #ffbd2e;
}

.mockup-dots span:nth-child(3) {
   background: #27c93f;
}

.mockup-body {
   padding: 40px;
   min-height: 280px;
   display: flex;
   align-items: flex-end;
   justify-content: center;
}

.chart {
   width: 100%;
   height: 180px;
   display: flex;
   align-items: flex-end;
   justify-content: space-around;
   gap: 20px;
   padding-bottom: 10px;
   border-bottom: 2px solid var(--bg-subtle);
}

.bar {
   width: 50px;
   border-radius: 8px 8px 0 0;
   position: relative;
   transition: height 1s ease-in-out;
}

.bar-1 {
   height: 50%;
   background: rgba(217, 20, 122, 0.5);
}

.bar-2 {
   height: 80%;
   background: linear-gradient(180deg, #f26a4a, #d9147a);
}

.bar-3 {
   height: 40%;
   background: rgba(142, 45, 226, 0.5);
}

@media (max-width: 991px) {
   .hero {
      padding: 60px 0;
   }

   .hero-grid {
      grid-template-columns: 1fr;
      gap: 20px;
      text-align: center;
   }

   .hero-content h1,
   .lcd2-hero-text h1 {
      font-size: 1.7rem;
      line-height: 1.2;
   }

   .hero-content p,
   .lcd2-hero-text p {
      font-size: 1.05rem;
      margin: 0 auto 20px;
   }

   .hero-grid .check-list {
      display: inline-block;
      text-align: left;
      margin: 0 auto 30px;
   }

   .hero-buttons {
      display: flex;
      justify-content: center;
      margin-top: 30px;
   }

   .hero-image {
      justify-content: center;
   }

   .blob {
      width: 250px;
      height: 250px;
   }
}

/* ============================================
   SECTION FUNCTIONALITIES (5 PASOS)
   ============================================ */

.functionalities {
   background: #f8f9fb;
   padding: 100px 0;
}

.functionalities .card {
   background: #ffffff;
   padding: 40px 30px;
   border-radius: 24px;
   text-align: center;
   border: 1px solid rgba(0, 0, 0, 0.04);
   transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
   height: 100%;
   display: flex;
   flex-direction: column;
   align-items: center;
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.functionalities .card.card-left {
   text-align: left !important;
   align-items: flex-start !important;
   padding: 20px 25px;
   border-radius: 20px;
}

.card-header-horizontal {
   display: flex;
   align-items: center;
   gap: 15px;
   margin-bottom: 0;
}

.functionalities .card.card-left .icon-box {
   width: 48px;
   height: 48px;
   margin-bottom: 15px;
   font-size: 1.3rem;
   border-radius: 12px;
}

.card-header-horizontal .icon-box {
   margin-bottom: 0 !important;
   flex-shrink: 0;
}

.functionalities .card.card-left h3 {
   font-size: 1.2rem;
   margin-bottom: 8px;
}

.card-header-horizontal h3 {
   margin-bottom: 0 !important;
   font-size: 1.1rem;
}

.accordion-icon {
   width: 32px !important;
   height: 32px !important;
   font-size: 1rem !important;
   margin-right: 12px;
   margin-bottom: 0 !important;
}

.functionalities .card.card-left p {
   font-size: 0.95rem;
   line-height: 1.5;
}

.functionalities-list {
   display: flex;
   flex-direction: column;
   gap: 15px;
}

.functionalities-list .card {
   height: auto;
}

.functionalities .card:hover {
   transform: translateY(-12px);
   box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
   border-color: rgba(242, 106, 74, 0.3);
}

.functionalities .icon-box {
   width: 68px;
   height: 68px;
   margin-bottom: 25px;
   border-radius: 16px;
   background: linear-gradient(135deg, rgba(242, 106, 74, 0.08), rgba(217, 20, 122, 0.08));
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.7rem;
   color: #d9147a;
   transition: all 0.3s ease;
}

.functionalities .card:hover .icon-box {
   background: linear-gradient(135deg, #f26a4a, #d9147a);
   color: #ffffff;
   transform: scale(1.1) rotate(8deg);
}

.functionalities .card h3 {
   font-size: 1.35rem;
   font-weight: 700;
   color: var(--color-text-dark);
   margin-bottom: 15px;
}

.functionalities .card p {
   font-size: 1rem;
   color: var(--color-text-light);
   line-height: 1.6;
   margin: 0;
}

/* Pyramid Adjustment removed - no longer needed with 2-column layout */
/*
@media (min-width: 992px) {
   .functionalities .grid-2 {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      max-width: 760px !important;
      gap: 30px;
   }
}
*/

@media (max-width: 768px) {
   .functionalities {
      padding: 60px 0;
   }

   .functionalities .card {
      padding: 30px 20px;
   }
}

/* ============================================
   BENEFITS SECTION (INSTRUMENTOS EVALUACIÓN)
   ============================================ */

.benefits {
   padding: 100px 0;
   background: #f8f9fb;
   position: relative;
}

.benefits .benefit-card {
   background: #ffffff;
   border-radius: 24px;
   padding: 50px;
   text-align: left;
   align-items: flex-start;
   display: flex;
   flex-direction: column;
   position: relative;
   overflow: hidden;
   box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
   border: 1px solid rgba(0, 0, 0, 0.02);
   transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.benefits .benefit-card:hover {
   transform: translateY(-8px);
   box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

/* Left Accent Border */
.benefits .benefit-card::before {
   content: '';
   position: absolute;
   left: 0;
   top: 0;
   width: 6px;
   height: 100%;
   background: linear-gradient(180deg, #f26a4a, #d9147a);
   border-radius: 6px 0 0 6px;
}

.benefits .benefit-header {
   display: flex;
   align-items: center;
   gap: 20px;
   margin-bottom: 25px;
}

.benefits .benefit-header i {
   font-size: 2.4rem;
   color: #1f2937;
   opacity: 0.8;
}

.benefits .benefit-card h3 {
   font-size: 1.55rem;
   font-weight: 800;
   color: var(--color-text-dark);
   margin: 0;
   line-height: 1.2;
}

.benefits .benefit-card p {
   font-size: 1.1rem;
   color: var(--color-text-muted);
   line-height: 1.6;
   margin: 0;
}

.benefits .check-list {
   list-style: none;
   padding: 0;
   padding-top: 0;
   margin-top: 0;
}

.benefits .check-list li {
   display: flex;
   align-items: flex-start;
   gap: 12px;
   margin-bottom: 14px;
   font-size: 1.05rem;
   color: var(--color-text-muted);
}

.benefits .check-list li i {
   color: #10b981;
   font-size: 1.1rem;
   margin-top: 5px;
}

/* Decorative Shapes */
.circle-shape-1 {
   position: absolute;
   width: 400px;
   height: 400px;
   background: radial-gradient(circle, rgba(242, 106, 74, 0.05) 0%, transparent 70%);
   border-radius: 50%;
   top: -100px;
   right: -100px;
   z-index: 0;
}

@media (max-width: 991px) {
   .benefits {
      padding: 70px 0;
   }

   .benefits .benefit-card {
      padding: 35px;
   }

   .benefits .benefit-card h3 {
      font-size: 1.3rem;
   }
}

/* ============================================
   SECTION WHY CHOOSE
   ============================================ */

.why-choose {
   padding: 100px 0;
   background: #ffffff;
}

.why-choose .card {
   background: #ffffff;
   padding: 45px 35px;
   border-radius: 28px;
   text-align: center;
   border: 1px solid rgba(0, 0, 0, 0.05);
   transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
   height: 100%;
   display: flex;
   flex-direction: column;
   align-items: center;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.why-choose .card:hover {
   transform: translateY(-12px);
   box-shadow: 0 30px 60px rgba(0, 0, 0, 0.07);
   border-color: rgba(242, 106, 74, 0.2);
}

.why-choose .icon-box {
   width: 72px;
   height: 72px;
   margin-bottom: 25px;
   border-radius: 18px;
   background: linear-gradient(135deg, rgba(242, 106, 74, 0.1), rgba(217, 20, 122, 0.1));
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.8rem;
   color: #d9147a;
   transition: all 0.3s ease;
}

.why-choose .card:hover .icon-box {
   background: linear-gradient(135deg, #f26a4a, #d9147a);
   color: #ffffff;
   transform: scale(1.1) rotate(5deg);
}

.why-choose h3 {
   font-size: 1.4rem;
   font-weight: 700;
   color: var(--color-text-dark);
   margin-bottom: 15px;
   line-height: 1.3;
}

.why-choose p {
   font-size: 1.05rem;
   color: var(--color-text-light);
   line-height: 1.6;
}

/* Pyramid Adjustment for Why Choose */
@media (min-width: 992px) {
   .why-choose .grid-2 {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      max-width: 760px !important;
      gap: 30px;
   }
}

/* Specific Border Colors for Benefits */
.benefits .benefit-card.border-magenta::before {
   background: linear-gradient(180deg, var(--color-primary-end), #d9147a);
}

.benefits .benefit-card.border-orange::before {
   background: linear-gradient(180deg, #f26a4a, var(--color-primary-start));
}

.benefits .benefit-card.border-purple::before {
   background: linear-gradient(180deg, #8b5cf6, #6366f1);
}

.benefits .benefit-card.border-blue::before {
   background: linear-gradient(180deg, #3b82f6, #2dd4bf);
}

/* Arrow List for Tech Section */
.arrow-list {
   list-style: none;
   padding: 0;
   margin-top: 20px;
}

.arrow-list li {
   display: flex;
   align-items: flex-start;
   gap: 12px;
   margin-bottom: 12px;
   font-size: 1.05rem;
   color: var(--color-text-muted);
   transition: transform 0.3s ease;
}

.arrow-list li:hover {
   transform: translateX(8px);
}

.arrow-list li i {
   color: #f26a4a;
   font-size: 0.8rem;
   margin-top: 6px;
}

/* Responsive Feature Slider */
@media (max-width: 991px) {
   .feature-controls {
      overflow-x: auto;
      padding-bottom: 15px;
      gap: 12px;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      /* Firefox */
   }

   .feature-controls::-webkit-scrollbar {
      display: none;
      /* Chrome/Safari */
   }

   .feature-btn {
      flex-shrink: 0;
      white-space: nowrap;
      padding: 10px 16px;
      font-size: 14px;
   }

   .feature-slides {
      aspect-ratio: auto;
      height: 550px;
   }

   .feature-card {
      left: 15px;
      right: 15px;
      bottom: 15px;
      top: auto;
      transform: translateY(20px);
      padding: 30px 20px;
      max-width: none;
      text-align: center;
   }

   .feature-slide.active .feature-card {
      transform: translateY(0);
   }

   .feature-title {
      font-size: 26px;
      margin-bottom: 15px;
   }

   .feature-text {
      font-size: 16px;
   }
}

@media (max-width: 480px) {
   .feature-slides {
      height: 600px;
   }

   .feature-title {
      font-size: 22px;
   }
}

/* Responsive News Grid */
@media (max-width: 991px) {
   .news-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
      padding: 0 20px;
   }

   .news-title {
      font-size: 32px;
      margin-bottom: 50px;
   }

   .news-card-title {
      font-size: 26px;
   }
}

@media (max-width: 767px) {
   .news-grid {
      grid-template-columns: 1fr;
      gap: 25px;
   }

   .news-title {
      font-size: 28px;
   }

   .news-card-title {
      font-size: 24px;
   }
}

/* Responsive Contact Section */
@media (max-width: 991px) {
   .contact-container {
      grid-template-columns: 1fr;
      gap: 40px;
      padding: 0 20px;
   }

   .contact-image {
      order: 2;
   }

   .contact-content {
      order: 1;
      text-align: center;
   }

   .contact-text {
      max-width: 100%;
      margin-left: auto;
      margin-right: auto;
   }

   .contact-title {
      font-size: 32px;
   }
}

@media (max-width: 767px) {
   .contact-title {
      font-size: 28px;
   }

   .contact-text {
      font-size: 16px;
   }
}

/* Responsive Footer Improvements */
@media (max-width: 1024px) {
   .footer {
      padding: 60px 20px;
   }

   .footer-box {
      padding: 40px 20px;
   }

   .footer-container {
      grid-template-columns: repeat(2, 1fr);
      gap: 40px;
   }
}

@media (max-width: 767px) {
   .footer-container {
      grid-template-columns: 1fr;
      gap: 30px;
   }

   .footer-col {
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
   }

   .footer-icon {
      justify-content: center;
   }

   .footer-logo {
      margin-left: auto;
      margin-right: auto;
   }
}

/* UI Components */
.chip {
   display: inline-block;
   padding: 4px 12px;
   border-radius: 50px;
   background: var(--bg-subtle);
   color: #64748b;
   font-size: 0.75rem;
   font-weight: 600;
   margin-bottom: 12px;
   width: fit-content;
}

/* ===========================================
   SaaS TABLET MOCKUP — Animated (Libro de Clases)
   =========================================== */

.saas-tablet-mockup {
   position: relative;
   width: 100%;
   max-width: 560px;
   margin: 0 auto;
   background: #e2e8f0;
   border-radius: 32px;
   padding: 14px;
   box-shadow:
      0 30px 60px -12px rgba(0, 0, 0, 0.15),
      inset 0 2px 4px rgba(255, 255, 255, 0.8),
      inset 0 -2px 4px rgba(0, 0, 0, 0.05);
   border: 1px solid #cbd5e1;
}

.tablet-screen {
   position: relative;
   width: 100%;
   aspect-ratio: 16/10;
   background: #ffffff;
   border-radius: 18px;
   overflow: hidden;
   border: 2px solid #0f172a;
}

.tablet-reflection {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 40%);
   pointer-events: none;
   z-index: 10;
}

.tablet-slider {
   width: 100%;
   height: 100%;
}

.tablet-slider .swiper-slide {
   width: 100%;
   height: 100%;
   background: #f8fafc;
   display: flex;
   align-items: center;
   justify-content: center;
   overflow: hidden;
}

.tablet-slider .swiper-slide img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   object-position: top center;
   transform: scale(1);
   transition: transform 4s ease-out;
}

.tablet-slider .swiper-slide-active img {
   transform: scale(1.05);
   /* Ken Burns Effect */
}

/* ===========================================
   STATIC TABLET MOCKUP — Light (Convivencia)
   =========================================== */

.cv-tablet-wrap {
   width: 100%;
   max-width: 520px;
   margin: 0 auto;
}

.cv-tablet-frame {
   position: relative;
   width: 100%;
   background: rgb(203, 213, 225);
   border-radius: 32px;
   padding: 14px;
   box-shadow:
      0 30px 60px -12px rgba(0, 0, 0, 0.15),
      inset 0 2px 4px rgba(255, 255, 255, 0.8),
      inset 0 -2px 4px rgba(0, 0, 0, 0.05);
   border: 1px solid #cbd5e1;
}

/* Top bar with camera */
.cv-tablet-bar {
   display: flex;
   align-items: center;
   justify-content: center;
   height: 18px;
   margin-bottom: 8px;
}

.cv-tablet-camera {
   width: 7px;
   height: 7px;
   background: radial-gradient(circle at 40% 35%, #b0bec5, #90a4ae);
   border-radius: 50%;
   border: 1px solid #aab4be;
   box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
}

/* Screen area */
.cv-tablet-screen {
   position: relative;
   width: 100%;
   aspect-ratio: 16 / 10;
   background: #ffffff;
   border-radius: 18px;
   overflow: hidden;
   border: 2px solid #0f172a;
   box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.cv-tablet-screen img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   object-position: top center;
   display: block;
}

/* Glass glare overlay */
.cv-tablet-glare {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 40%);
   pointer-events: none;
   z-index: 2;
   border-radius: 18px;
}

/* Bottom home button hint */
.cv-tablet-home {
   display: flex;
   align-items: center;
   justify-content: center;
   height: 20px;
   margin-top: 6px;
}

.cv-tablet-home span {
   display: block;
   width: 32px;
   height: 4px;
   background: #a0aec0;
   border-radius: 3px;
}

@media (max-width: 768px) {
   .cv-tablet-wrap {
      max-width: 100%;
   }
}

/* ===========================================
   TABLET IMAGE — Convivencia screen fit
   =========================================== */

.tablet-image {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
   object-position: top center;
   display: block;
}

/* ===========================================
   SaaS LAPTOP MOCKUP — Portal Comunicaciones
   =========================================== */

.laptop-mockup-wrapper {
   position: relative;
   width: 100%;
   max-width: 640px;
   margin: 0 auto;
   padding: 10px 20px;
   display: flex;
   justify-content: center;
   align-items: center;
   box-sizing: border-box;
}

.laptop-device {
   position: relative;
   width: 100%;
   display: flex;
   flex-direction: column;
   align-items: center;
}

/* Screen outer frame (Bezel) */
.laptop-screen-container {
   position: relative;
   width: 90%;
   aspect-ratio: 16 / 10;
   background: #1e293b;
   /* Space gray aluminum style */
   border-radius: 20px 20px 0 0;
   padding: 12px 12px 14px 12px;
   /* Bezel spacing */
   box-sizing: border-box;
   box-shadow:
      0 25px 50px -12px rgba(0, 0, 0, 0.15),
      inset 0 1px 2px rgba(255, 255, 255, 0.15);
   border: 1px solid #334155;
   border-bottom: none;
}

/* Webcam dot */
.laptop-screen-container::before {
   content: '';
   position: absolute;
   top: 5px;
   left: 50%;
   transform: translateX(-50%);
   width: 5px;
   height: 5px;
   background: #0f172a;
   border-radius: 50%;
   z-index: 10;
   box-shadow: 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Screen display area */
.laptop-screen {
   position: relative;
   width: 100%;
   height: 100%;
   background: #ffffff;
   overflow: hidden;
   border-radius: 6px;
   border: 1px solid #0f172a;
}

/* Slide container */
.laptop-slides {
   position: relative;
   width: 100%;
   height: 100%;
}

/* Slide image styles */
.laptop-slide {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
   object-position: top center;
   opacity: 0;
   transform: scale(1);
   transition: opacity 1.2s ease-in-out, transform 3.5s ease-out;
   z-index: 1;
   display: block;
}

.laptop-slide.active {
   opacity: 1;
   transform: scale(1.03);
   /* Ken Burns effect */
   z-index: 2;
}

/* Glass glare overlay */
.laptop-screen-glare {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 50%);
   pointer-events: none;
   z-index: 3;
   border-radius: 6px;
}

/* Laptop Keyboard Base */
.laptop-keyboard-base {
   position: relative;
   width: 104%;
   height: 14px;
   background: linear-gradient(to bottom, #cbd5e1 0%, #94a3b8 20%, #475569 80%, #334155 100%);
   border-radius: 0 0 14px 14px;
   box-shadow:
      0 15px 30px rgba(0, 0, 0, 0.12),
      0 5px 15px rgba(0, 0, 0, 0.08);
   border-top: 1px solid #e2e8f0;
   border-bottom: 1px solid #1e293b;
   z-index: 4;
}

/* Laptop Base center notch */
.laptop-keyboard-base::before {
   content: '';
   position: absolute;
   top: 0;
   left: 50%;
   transform: translateX(-50%);
   width: 80px;
   height: 5px;
   background: #1e293b;
   border-radius: 0 0 5px 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
   .laptop-slide {
      /* Reduce Ken Burns scale on mobile for performance/smoothness */
      transition: opacity 1s ease-in-out, transform 0.5s ease;
   }

   .laptop-slide.active {
      transform: scale(1);
   }

   .laptop-keyboard-base {
      height: 10px;
   }
}

/* ===========================================
   LIGHT THEME LAPTOP MOCKUP (Light grey/aluminum)
   =========================================== */
.laptop-mockup-wrapper.light-theme {
   max-width: 580px;
   /* Maintains the same screen size */
}

.laptop-mockup-wrapper.light-theme .laptop-screen-container {
   background: #e2e8f0;
   border: 1px solid #cbd5e1;
   box-shadow:
      0 25px 50px -12px rgba(0, 0, 0, 0.1),
      inset 0 1px 2px rgba(255, 255, 255, 0.8),
      inset 0 -2px 4px rgba(0, 0, 0, 0.05);
}

.laptop-mockup-wrapper.light-theme .laptop-screen-container::before {
   background: #94a3b8;
   /* Web camera dot */
   box-shadow: none;
}

.laptop-mockup-wrapper.light-theme .laptop-screen {
   border: 2px solid #0f172a;
}

.laptop-mockup-wrapper.light-theme .laptop-keyboard-base {
   background: linear-gradient(to bottom, #cbd5e1 0%, #e2e8f0 25%, #cbd5e1 80%, #94a3b8 100%);
   border-top: 1px solid #cbd5e1;
   border-bottom: 2px solid #94a3b8;
   box-shadow:
      0 12px 24px -10px rgba(0, 0, 0, 0.15),
      0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.laptop-mockup-wrapper.light-theme .laptop-keyboard-base::before {
   background: #94a3b8;
}

/* ===========================================
   SAAS CONTACT MODAL
   =========================================== */
.saas-modal-overlay {
   position: fixed;
   top: 0;
   left: 0;
   width: 100vw;
   height: 100vh;
   background: rgba(15, 23, 42, 0.65);
   /* Dark slate overlay */
   backdrop-filter: blur(5px);
   -webkit-backdrop-filter: blur(5px);
   z-index: 9999;
   display: flex;
   align-items: center;
   justify-content: center;
   opacity: 0;
   visibility: hidden;
   transition: opacity 0.3s ease, visibility 0.3s ease;
}

.saas-modal-overlay.active {
   opacity: 1;
   visibility: visible;
}

.saas-modal-container {
   position: relative;
   background: #ffffff;
   width: 90%;
   max-width: 580px;
   border-radius: 24px;
   box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
   transform: scale(0.95);
   transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
   overflow: hidden;
   display: flex;
   flex-direction: column;
}

.saas-modal-overlay.active .saas-modal-container {
   transform: scale(1);
}

.saas-modal-close {
   position: absolute;
   top: 16px;
   right: 20px;
   background: rgba(241, 245, 249, 0.8);
   border: none;
   width: 32px;
   height: 32px;
   border-radius: 50%;
   font-size: 24px;
   line-height: 1;
   color: #64748b;
   cursor: pointer;
   z-index: 10;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: background 0.2s ease, color 0.2s ease;
}

.saas-modal-close:hover,
.saas-modal-close:focus {
   background: #e2e8f0;
   color: #0f172a;
   outline: none;
}

.saas-modal-content {
   width: 100%;
   padding: 40px 20px 20px;
   /* Space for close button */
   max-height: 90vh;
   overflow-y: auto;
   /* Scroll inside modal if needed */
   display: flex;
   justify-content: center;
}

.sr-only {
   position: absolute;
   width: 1px;
   height: 1px;
   padding: 0;
   margin: -1px;
   overflow: hidden;
   clip: rect(0, 0, 0, 0);
   white-space: nowrap;
   border-width: 0;
}

/* Hide scrollbar for modal content if it scrolls, for cleaner look */
.saas-modal-content::-webkit-scrollbar {
   width: 6px;
}

.saas-modal-content::-webkit-scrollbar-track {
   background: transparent;
}

.saas-modal-content::-webkit-scrollbar-thumb {
   background: #cbd5e1;
   border-radius: 4px;
}

@media (max-width: 768px) {
   .saas-modal-container {
      width: 95%;
      border-radius: 20px;
   }

   .saas-modal-content {
      padding: 36px 16px 16px;
   }
}

/* =============================================
   NUEVAS SECCIONES - LIBRO DE CLASES DIGITAL
   ============================================= */

/* 1. Bloque de Valor / Seguridad / Confianza */
.lcd2-checklist-col {
   display: flex;
   justify-content: center;
   align-items: center;
}

/* 2. Bloque de Apoyo / Soporte */
.lcd2-onboarding-section {
   padding: 100px 0;
   background-color: #ffffff;
}

.lcd2-onboarding-card-wrapper {
   display: grid;
   grid-template-columns: 1.55fr 1fr;
   background: #ffffff;
   border: 1px solid rgba(226, 232, 240, 0.8);
   border-radius: 32px;
   box-shadow: 0 10px 40px -15px rgba(22, 34, 59, 0.05), 0 1px 3px rgba(0, 0, 0, 0.01);
   overflow: hidden;
   align-items: stretch;
}

.lcd2-onboarding-content-col {
   padding: 70px 60px;
   display: flex;
   flex-direction: column;
   justify-content: center;
}

.lcd2-onboarding-header {
   margin-bottom: 50px;
}

.lcd2-onboarding-title {
   font-size: 38px;
   font-weight: 700;
   color: var(--color-text-dark);
   margin-bottom: 12px;
   line-height: 1.2;
}

.lcd2-onboarding-subtitle {
   font-size: 17px;
   color: var(--color-text-muted);
   line-height: 1.5;
   margin: 0;
}

.lcd2-onboarding-steps {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 30px;
   position: relative;
}

.lcd2-onboarding-step-card {
   position: relative;
   background: #ffffff;
   border: 1px solid rgba(241, 245, 249, 0.9);
   border-radius: 20px;
   padding: 28px 20px 24px;
   box-shadow: 0 4px 15px rgba(22, 34, 59, 0.02);
   transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
   display: flex;
   flex-direction: column;
   align-items: flex-start;
}

.lcd2-onboarding-step-card:hover {
   transform: translateY(-5px);
   box-shadow: 0 15px 30px -10px rgba(22, 34, 59, 0.08);
   border-color: rgba(226, 232, 240, 0.8);
}

/* Badge (Badge circular flotando a la izquierda y arriba del card) */
.lcd2-step-badge {
   position: absolute;
   top: -14px;
   left: 20px;
   width: 28px;
   height: 28px;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 13px;
   font-weight: 700;
   color: #ffffff;
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
   z-index: 2;
}

.lcd2-step-badge.badge-orange {
   background: linear-gradient(135deg, #ff7a18 0%, #ff5200 100%);
}

.lcd2-step-badge.badge-pink {
   background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.lcd2-step-badge.badge-purple {
   background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

/* Icon */
.lcd2-step-icon {
   width: 48px;
   height: 48px;
   border-radius: 12px;
   display: flex;
   align-items: center;
   justify-content: center;
   margin-bottom: 20px;
   transition: transform 0.3s ease;
}

.lcd2-onboarding-step-card:hover .lcd2-step-icon {
   transform: scale(1.08);
}

.lcd2-step-icon.icon-orange {
   background: rgba(255, 122, 24, 0.06);
   color: #ff5200;
}

.lcd2-step-icon.icon-pink {
   background: rgba(236, 72, 153, 0.06);
   color: #db2777;
}

.lcd2-step-icon.icon-purple {
   background: rgba(139, 92, 246, 0.06);
   color: #7c3aed;
}

/* Card titles and text */
.lcd2-onboarding-step-card h3 {
   font-size: 17px;
   font-weight: 600;
   color: var(--color-text-dark);
   margin-bottom: 10px;
   line-height: 1.3;
}

.lcd2-onboarding-step-card p {
   font-size: 14px;
   color: var(--color-text-muted);
   line-height: 1.5;
   margin: 0;
}

/* Dotted Connectors on Desktop */
.lcd2-onboarding-step-card:not(:last-child)::after {
   content: '';
   position: absolute;
   top: 52px;
   right: -25px;
   width: 20px;
   height: 2px;
   border-top: 2px dotted rgba(203, 213, 225, 0.8);
   z-index: 1;
   pointer-events: none;
}

/* Image column styles */
.lcd2-onboarding-image-col {
   position: relative;
   overflow: hidden;
   height: 100%;
   min-height: 100%;
}

.lcd2-onboarding-image {
   width: 100%;
   height: 100%;
   object-fit: cover;
   display: block;
   transition: transform 0.5s ease;
}

.lcd2-onboarding-card-wrapper:hover .lcd2-onboarding-image {
   transform: scale(1.02);
}

/* Responsive Styles */
@media (max-width: 1024px) {
   .lcd2-onboarding-card-wrapper {
      grid-template-columns: 1.4fr 1fr;
      border-radius: 24px;
   }

   .lcd2-onboarding-content-col {
      padding: 50px 40px;
   }

   .lcd2-onboarding-header {
      margin-bottom: 40px;
   }

   .lcd2-onboarding-title {
      font-size: 32px;
   }

   .lcd2-onboarding-steps {
      gap: 20px;
   }

   .lcd2-onboarding-step-card {
      padding: 24px 16px 20px;
   }

   .lcd2-onboarding-step-card:not(:last-child)::after {
      right: -15px;
      width: 10px;
   }
}

@media (max-width: 900px) {
   .lcd2-onboarding-card-wrapper {
      grid-template-columns: 1fr;
      border-radius: 20px;
   }

   .lcd2-onboarding-content-col {
      padding: 50px 30px;
   }

   .lcd2-onboarding-image-col {
      height: 350px;
      min-height: auto;
   }

   .lcd2-onboarding-image {
      height: 100%;
   }

   .lcd2-onboarding-step-card:not(:last-child)::after {
      display: none;
   }
}

@media (max-width: 600px) {
   .lcd2-onboarding-content-col {
      padding: 40px 20px;
      text-align: center;
   }

   .lcd2-onboarding-header {
      margin-bottom: 40px;
   }

   .lcd2-onboarding-title {
      font-size: 26px;
   }

   .lcd2-onboarding-subtitle {
      font-size: 15px;
   }

   .lcd2-onboarding-steps {
      grid-template-columns: 1fr;
      gap: 30px;
   }

   .lcd2-onboarding-step-card {
      align-items: center;
      text-align: center;
      padding: 28px 20px 24px;
   }

   .lcd2-step-badge {
      left: 50%;
      transform: translateX(-50%);
   }

   .lcd2-onboarding-image-col {
      height: 280px;
   }
}

/* Overrides para sección ¿Qué es? en Responsive */
@media (max-width: 1024px) {
   #que-es .lcd2-grid-2 {
      grid-template-columns: 1fr;
      gap: 40px;
      margin-top: 30px;
   }

   #que-es .lcd2-col-text {
      order: 1;
      /* Mover texto arriba */
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center !important;
      padding: 0 20px;
      box-sizing: border-box;
   }

   #que-es .lcd2-col-img {
      order: 2;
      /* Mockup abajo */
      display: flex;
      justify-content: center;
      width: 100%;
   }

   #que-es .lcd2-col-text .lcd2-section-title {
      text-align: center !important;
      font-size: 32px;
      margin-bottom: 16px;
   }

   #que-es .lcd2-col-text .lcd2-section-subtitle {
      text-align: center !important;
      margin: 0 auto 16px auto !important;
      max-width: 650px;
      font-size: 16px;
   }
}

@media (max-width: 600px) {
   #que-es .lcd2-col-text .lcd2-section-title {
      font-size: 26px;
   }
}

/* 3. Testimonio / Social Proof */
.lcd2-quote-container {
   max-width: 850px;
   margin: 0 auto 60px;
   background: #ffffff;
   padding: 50px 60px;
   border-radius: 24px;
   box-shadow: var(--shadow-soft);
   border: 1px solid var(--border-soft);
   position: relative;
   text-align: center;
}

.lcd2-quote-icon {
   font-size: 64px;
   color: rgba(205, 42, 143, 0.15);
   /* Light accent pink */
   line-height: 1;
   margin-bottom: 20px;
}

.lcd2-quote-text {
   font-size: 22px;
   font-weight: 500;
   color: var(--color-text-dark);
   line-height: 1.6;
   font-style: italic;
   margin-bottom: 24px;
}

.lcd2-quote-avatar {
   width: 72px;
   height: 72px;
   border-radius: 50%;
   object-fit: cover;
   border: 3px solid rgba(205, 42, 143, 0.15);
   margin: 0 auto 16px;
   display: block;
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.lcd2-quote-author {
   font-size: 15px;
   font-weight: 700;
   color: var(--color-text-muted);
   text-transform: uppercase;
   letter-spacing: 1px;
}

/* Stats Horizontal Strip */
.lcd2-stats-strip {
   border-top: 1px solid var(--border-soft);
   padding-top: 50px;
   margin-top: 20px;
}

.lcd2-stats-grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 30px;
   text-align: center;
}

.lcd2-stat-number {
   font-size: 48px;
   font-weight: 800;
   background: linear-gradient(135deg, var(--color-primary-start), var(--color-primary-end));
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   margin-bottom: 10px;
}

.lcd2-stat-text {
   font-size: 15px;
   font-weight: 600;
   color: var(--color-text-muted);
   line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 991px) {
   .lcd2-stats-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 40px;
   }

   .lcd2-quote-container {
      padding: 40px 30px;
   }
}

@media (max-width: 576px) {
   .lcd2-stats-grid {
      grid-template-columns: 1fr;
      gap: 30px;
   }
}

/* Convivencia Escolar stats grid responsive */
.stats-grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 30px;
   text-align: center;
}

@media (max-width: 991px) {
   .stats-grid {
      grid-template-columns: repeat(2, 1fr);
   }

   .stats-grid .stat-col:nth-child(2) {
      border-right: none !important;
   }
}

@media (max-width: 576px) {
   .stats-grid {
      grid-template-columns: 1fr;
   }

   .stats-grid .stat-col {
      border-right: none !important;
      border-bottom: 1px solid var(--border-soft);
      padding-bottom: 20px !important;
      margin-bottom: 10px;
   }

   .stats-grid .stat-col:last-child {
      border-bottom: none !important;
      padding-bottom: 0 !important;
   }
}

/* ===========================
   Beneficios Comunidad Educativa Section
   =========================== */
.comunidad-benefits {
   padding: 100px 0;
   background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.comunidad-benefits .section-subtitle {
   font-size: 1.15rem;
   line-height: 1.7;
   color: var(--color-text-muted);
   max-width: 650px;
   margin: 0 auto;
   text-align: center;
}

.comunidad-grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 30px;
   margin-top: 60px;
}

.comunidad-card {
   background: white;
   border-radius: 20px;
   padding: 40px 28px 36px;
   text-align: center;
   border: 1px solid var(--border-soft);
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
   transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
   display: flex;
   flex-direction: column;
   align-items: center;
}

.comunidad-card:hover {
   transform: translateY(-6px);
   box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
   border-color: transparent;
}

.comunidad-card .card-avatar {
   width: 110px;
   height: 110px;
   border-radius: 50%;
   object-fit: cover;
   margin-bottom: 24px;
   border: 4px solid #f1f5f9;
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
   transition: all 0.35s ease;
}

.comunidad-card:hover .card-avatar {
   border-color: var(--color-primary-start);
   box-shadow: 0 6px 20px rgba(0, 86, 179, 0.15);
   transform: scale(1.05);
}

.comunidad-card h3 {
   font-size: 1.15rem;
   font-weight: 700;
   color: var(--color-text-dark);
   margin-bottom: 12px;
}

.comunidad-card p {
   font-size: 0.95rem;
   line-height: 1.6;
   color: var(--color-text-muted);
   margin: 0;
}

@media (max-width: 991px) {
   .comunidad-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
   }

   .comunidad-benefits {
      padding: 70px 0;
   }
}

@media (max-width: 576px) {
   .comunidad-grid {
      grid-template-columns: 1fr;
      gap: 20px;
      margin-top: 40px;
   }

   .comunidad-card {
      padding: 32px 24px 28px;
   }

   .comunidad-card .card-avatar {
      width: 90px;
      height: 90px;
   }

   .comunidad-benefits {
      padding: 50px 0;
   }
}

/* =============================================
   AUDIT FIXES - LIBRO DE CLASES DIGITAL
   ============================================= */

/* Benefit card headers scaling */
@media (max-width: 768px) {
   .lcd2-benefit-header h3 {
      font-size: 19px;
   }

   .lcd2-quote-text {
      font-size: 18px;
      line-height: 1.5;
   }
}

@media (max-width: 480px) {
   .lcd2-benefit-header h3 {
      font-size: 18px;
   }
}

/* Valor / Seguridad section responsive centering */
@media (max-width: 900px) {
   #valor-seguridad .lcd2-col-text {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 0 20px;
      box-sizing: border-box;
   }

   #valor-seguridad .lcd2-col-text .lcd2-section-title {
      text-align: center;
      font-size: 32px;
      margin-bottom: 16px;
   }

   #valor-seguridad .lcd2-col-text .lcd2-section-subtitle {
      text-align: center;
      margin: 0 auto 16px auto;
      max-width: 650px;
      font-size: 16px;
   }
}

@media (max-width: 600px) {
   #valor-seguridad .lcd2-col-text .lcd2-section-title {
      font-size: 26px;
   }
}

/* Pre-Footer CTA Classes */
.lcd2-cta-section {
   padding: 40px 20px;
}

.lcd2-cta-box {
   background: linear-gradient(135deg, var(--color-primary-start) 0%, var(--color-primary-end) 100%);
   color: white;
   text-align: center;
   border-radius: 24px;
   margin: 0 auto;
   max-width: 1000px;
   padding: 70px 40px;
   box-shadow: var(--shadow-hover);
}

.lcd2-cta-box h2 {
   font-size: 36px;
   font-weight: 800;
   margin-bottom: 24px;
   color: white;
   line-height: 1.2;
}

.lcd2-cta-box p {
   font-size: 18px;
   margin-bottom: 40px;
   opacity: 0.95;
   max-width: 700px;
   margin-left: auto;
   margin-right: auto;
   line-height: 1.6;
}

.lcd2-cta-box .btn-primary {
   background: white;
   color: var(--color-primary-start);
   font-weight: 700;
   padding: 18px 40px;
   font-size: 18px;
   border-radius: 50px;
   display: inline-block;
   box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
   transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lcd2-cta-box .btn-primary:hover {
   transform: translateY(-2px);
   box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
   color: var(--color-primary-end);
}

@media (max-width: 768px) {
   .lcd2-cta-box {
      padding: 50px 24px;
   }

   .lcd2-cta-box h2 {
      font-size: 28px;
      margin-bottom: 16px;
   }

   .lcd2-cta-box p {
      font-size: 16px;
      margin-bottom: 30px;
   }

   .lcd2-cta-box .btn-primary {
      font-size: 16px;
      padding: 14px 30px;
   }
}

@media (max-width: 480px) {
   .lcd2-cta-box {
      padding: 40px 16px;
   }

   .lcd2-cta-box h2 {
      font-size: 22px;
   }

   .lcd2-cta-box p {
      font-size: 14px;
   }

   .lcd2-cta-box .btn-primary {
      font-size: 15px;
      padding: 12px 24px;
      width: 100%;
      box-sizing: border-box;
   }
}

/* =============================================
   1024px RESPONSIVE REFINEMENTS
   ============================================= */
@media (max-width: 1024px) {

   /* Hero Section Optimizations */
   .lcd2-hero {
      padding: 80px 0 60px;
   }

   .lcd2-hero-grid {
      grid-template-columns: 1fr;
      gap: 40px;
      text-align: center;
   }

   .lcd2-hero-text {
      display: flex;
      flex-direction: column;
      align-items: center;
   }

   .lcd2-hero-text h1 {
      font-size: 38px;
      line-height: 1.2;
      margin-bottom: 20px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
   }

   .lcd2-hero-text p {
      font-size: 16px;
      max-width: 650px;
      margin: 0 auto 24px;
   }

   .lcd2-hero-buttons {
      justify-content: center;
      width: 100%;
   }

   .lcd2-hero-mockup {
      display: flex;
      justify-content: center;
      width: 100%;
   }

   .lcd2-hero-image {
      max-width: 500px;
      width: 100%;
      height: auto;
      margin: 0 auto;
   }

   /* General grid & alignment fixes for 1024px */
   .lcd2-grid-2 {
      grid-template-columns: 1fr;
      gap: 30px;
   }

   /* Valor / Seguridad Centering */
   #valor-seguridad .lcd2-col-text {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center !important;
      padding: 0 20px;
      box-sizing: border-box;
   }

   #valor-seguridad .lcd2-col-text .lcd2-section-title {
      text-align: center !important;
      font-size: 32px;
      margin-bottom: 16px;
   }

   #valor-seguridad .lcd2-col-text .lcd2-section-subtitle {
      text-align: center !important;
      margin: 0 auto 24px auto !important;
      max-width: 650px;
      font-size: 16px;
   }

   #valor-seguridad .lcd2-checklist-col {
      display: flex;
      justify-content: center;
      width: 100%;
   }

   #valor-seguridad .lcd2-check-list {
      max-width: 500px;
      width: 100%;
      margin: 0 auto;
      text-align: left;
   }
}

/* ============================================
   SINGLE ARTICLE / BLOG LAYOUT
   ============================================ */

.article-hero {
   position: relative;
   width: 100%;
   padding: 80px 0 60px;
   background: var(--bg-light);
   text-align: center;
   border-bottom: 1px solid var(--border-soft);
}

.article-hero-img-wrapper {
   max-width: 1000px;
   margin: 40px auto 0;
   padding: 0 20px;
}

.article-hero-img {
   width: 100%;
   max-height: 480px;
   object-fit: cover;
   border-radius: var(--radius-lg);
   box-shadow: var(--shadow-md);
}

.article-meta {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 15px;
   font-size: 14px;
   color: var(--color-text-light);
   margin-bottom: 20px;
   flex-wrap: wrap;
}

.article-category {
   background: linear-gradient(90deg, var(--color-primary-start), var(--color-primary-end));
   color: white;
   padding: 4px 12px;
   border-radius: var(--radius-full);
   font-weight: 600;
   text-transform: uppercase;
   font-size: 11px;
   letter-spacing: 0.5px;
}

.article-date {
   font-weight: 500;
}

.article-title {
   font-size: 42px;
   font-weight: 800;
   line-height: 1.2;
   color: var(--color-text-dark);
   max-width: 850px;
   margin: 0 auto 20px;
   padding: 0 20px;
}

.article-subtitle {
   font-size: 20px;
   font-weight: 400;
   line-height: 1.6;
   color: var(--color-text-muted);
   max-width: 800px;
   margin: 0 auto;
   padding: 0 20px;
}

.article-container {
   max-width: 840px;
   margin: 60px auto;
   padding: 0 20px;
}

.article-content {
   font-size: 17px;
   line-height: 1.8;
   color: var(--color-text-muted);
}

.article-content p {
   margin-bottom: 25px;
}

.article-content h2 {
   font-size: 26px;
   font-weight: 700;
   color: var(--color-text-dark);
   margin: 45px 0 20px;
   line-height: 1.3;
}

.article-content h3 {
   font-size: 20px;
   font-weight: 600;
   color: var(--color-text-dark);
   margin: 30px 0 15px;
}

.article-content blockquote {
   border-left: 4px solid var(--color-accent);
   padding-left: 20px;
   font-style: italic;
   font-size: 19px;
   color: var(--color-text-dark);
   margin: 35px 0;
}

.article-content ul,
.article-content ol {
   margin: 0 0 30px 25px;
}

.article-content li {
   margin-bottom: 10px;
}

.article-content img {
   width: 100%;
   border-radius: var(--radius-md);
   margin: 30px 0;
   box-shadow: var(--shadow-sm);
}

.article-cta {
   background: linear-gradient(135deg, #1e1b4b 0%, #0f0728 100%);
   border-radius: var(--radius-lg);
   padding: 60px 40px;
   color: white;
   text-align: center;
   margin-top: 80px;
   position: relative;
   overflow: hidden;
}

.article-cta h3 {
   font-size: 32px;
   color: white;
   margin-bottom: 15px;
}

.article-cta p {
   font-size: 17px;
   color: #cbd5e1;
   max-width: 600px;
   margin: 0 auto 30px;
}

.article-cta-btn {
   display: inline-block;
   background: linear-gradient(90deg, var(--color-primary-start), var(--color-primary-end));
   color: white;
   padding: 14px 30px;
   border-radius: var(--radius-full);
   font-weight: 600;
   text-decoration: none;
   transition: transform 0.2s ease, box-shadow 0.2s ease;
   box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

.article-cta-btn:hover {
   transform: translateY(-2px);
   box-shadow: 0 6px 20px rgba(236, 72, 153, 0.6);
}

.article-navigation {
   margin-top: 50px;
   border-top: 1px solid var(--border-soft);
   padding-top: 30px;
   display: flex;
   justify-content: center;
}

.btn-back-to-news {
   display: inline-flex;
   align-items: center;
   gap: 10px;
   color: var(--color-text-dark);
   font-weight: 600;
   text-decoration: none;
   transition: color 0.2s ease;
}

.btn-back-to-news:hover {
   color: var(--color-accent);
}

.btn-back-to-news svg {
   transition: transform 0.2s ease;
}

.btn-back-to-news:hover svg {
   transform: translateX(-4px);
}

@media (max-width: 768px) {
   .article-title {
      font-size: 32px;
   }

   .article-subtitle {
      font-size: 18px;
   }

   .article-cta {
      padding: 40px 20px;
   }

   .article-cta h3 {
      font-size: 26px;
   }
}

.plat-card-icon {
   width: 72px;
   height: 72px;

   display: flex;
   align-items: center;
   justify-content: center;

   margin: 28px 28px 18px;

   background: #fff;

   border: 2px solid #E5E7EB;
   border-radius: 18px;

   box-shadow:
      0 4px 10px rgba(15, 23, 42, .05),
      0 12px 32px rgba(15, 23, 42, .06);

   transition: all .3s ease;
}

.plat-card-icon svg {
   width: 30px;
   height: 30px;
}

.plat-card:hover .plat-card-icon {
   transform: translateY(-4px);
   box-shadow:
      0 8px 20px rgba(15, 23, 42, .08),
      0 18px 40px rgba(15, 23, 42, .10);
}