/* ===================================
   PRESENTACIÓN IA - ESTILOS GLOBALES
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #070b1f 0%, #0f1428 100%);
    color: #e0e0e0;
    overflow: hidden;
    height: 100vh;
}

.presentation-container {
    display: flex;
    height: 100vh;
    width: 100vw;
    position: relative;
    padding-top: 75px;
    transition: padding-top 0.3s ease;
}

.presentation-container:has(.slide.section-cover.active),
.presentation-container:has(.slide.cover-slide.active) {
    padding-top: 0;
}

.slides {
    width: 100%;
    height: 100%;
    position: relative;
}

/* ===================================
   SLIDES - CENTRADO VERTICAL
   =================================== */

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(229, 23, 115, 0.4) transparent;
}

.slide::-webkit-scrollbar {
    width: 8px;
}

.slide::-webkit-scrollbar-track {
    background: transparent;
}

.slide::-webkit-scrollbar-thumb {
    background: rgba(229, 23, 115, 0.4);
    border-radius: 4px;
}

.slide::-webkit-scrollbar-thumb:hover {
    background: rgba(229, 23, 115, 0.6);
}

.slide.active {
    opacity: 1;
    z-index: 10;
}

.slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 50px 60px 200px 60px;
    background: linear-gradient(135deg, rgba(8, 10, 25, 0.97) 0%, rgba(15, 18, 35, 0.97) 100%);
    position: relative;
    overflow: visible;
    width: 100%;
    min-height: 100%;
}

.slide-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(229, 23, 115, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 171, 11, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* ===================================
   MENÚ DE NAVEGACIÓN DE SECCIONES
   =================================== */

.section-nav {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 15;
    padding: 8px 12px;
    background: transparent;
    backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slide-content .section-nav {
    display: none;
}

.top-ui {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 14px;
    z-index: 40;
    padding: 12px;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

body.cover-active .top-ui {
    display: none !important;
}

.top-ui .section-nav {
    position: static;
    transform: none;
    margin: 0;
}

.slide:first-child ~ * .top-ui,
.slide:first-child .top-ui {
    display: none;
}

.section-nav-item {
    padding: 6px 14px;
    border-radius: 18px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

.section-nav-item i {
    font-size: 0.7rem;
}

.section-nav-item:not(.active) {
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.03);
}

.section-nav-item:not(.active):hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.section-nav-item.active.pink {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(229, 23, 115, 0.4) 0%, rgba(229, 23, 115, 0.2) 100%);
    border-color: rgba(229, 23, 115, 0.6);
}

.section-nav-item.active.gold {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(236, 171, 11, 0.4) 0%, rgba(236, 171, 11, 0.2) 100%);
    border-color: rgba(236, 171, 11, 0.6);
}

/* ===================================
   PORTADAS DE SECCIÓN - OVERLAY OSCURO
   =================================== */

.section-cover .slide-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.section-cover .slide-content {
    background-image: url("assets/images/bg-seccion.jpg") !important;
    background-size: cover;
    background-position: center;
    justify-content: center;
}

/* Mantener centrado vertical para slides de portada */
.cover-slide,
.section-cover {
    justify-content: center;
}

.section-cover .slide-inner > div[style*="text-align"] {
    background: rgba(15, 20, 45, 0.4);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px 50px;
    width: 90vw;
    max-width: 680px !important;
    margin: 0 auto;
}

.slide-inner {
    max-width: 1200px;
    width: 100%;
    z-index: 2;
    position: relative;
}

/* ===================================
   PORTADA - ESTILO
   =================================== */
.cover-slide .slide-content {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
}

.cover-box {
    background: rgba(15, 20, 45, 0.45);
    backdrop-filter: blur(10px);
    padding: 60px 50px;
    border-radius: 20px;
    border: 1px solid rgba(229, 23, 115, 0.3);
    width: 90vw;
    max-width: 680px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.cover-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    margin: 0;
    z-index: 3;
}

.cover-subtitle {
    color: #ffffff;
    font-size: 1.35rem;
    margin: 0;
    text-align: center;
    opacity: 0.92;
}

/* Hover effects for closing slide buttons */
.cover-slide a[href*="making-leaders.es"]:hover {
    background: rgba(229, 23, 115, 0.35) !important;
    border-color: #E51773 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(229, 23, 115, 0.3);
}

.cover-slide a[href^="mailto"]:hover {
    background: rgba(229, 23, 115, 0.9) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(229, 23, 115, 0.4);
}

.cover-logo-center {
    width: 240px;
    max-width: 50%;
    z-index: 3;
}

.cover-logo-center svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Capa oscura sobre la imagen de la portada */
.cover-slide .slide-content .cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,var(--cover-overlay-top, 0.54)),
        rgba(0,0,0,var(--cover-overlay-bottom, 0.42))
    );
    z-index: 1;
    pointer-events: none;
    transition: background 200ms ease-in-out;
}

/* Notificación guardado */
.save-notification {
    position: fixed;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20,24,40,0.9);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    z-index: 9999;
    box-shadow: 0 6px 18px rgba(0,0,0,0.5);
    font-weight: 600;
}

/* ===================================
   TIPOGRAFÍA - TÍTULOS Y TEXTOS
   =================================== */

.slide-title {
    color: #E51773;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.slide-subtitle {
    color: #a8a8a8;
    font-size: 1.3rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 30px;
}

.slide-text {
    color: #d0d0d0;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.bullet-list {
    list-style: none;
    padding-left: 20px;
}

.bullet-list li {
    color: #d0d0d0;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 12px;
    position: relative;
}

.bullet-list li::before {
    content: '→';
    color: #E51773;
    font-weight: bold;
    position: absolute;
    left: -20px;
}

.bullet-list.gold li::before {
    color: #E51773;
}

/* ===================================
   TARJETAS Y CAJAS
   =================================== */

.feature-card {
    background: rgba(229, 23, 115, 0.1);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #E51773;
    margin-bottom: 15px;
}

.feature-card strong {
    color: #E51773;
    display: block;
    margin-bottom: 10px;
}

.feature-card p {
    color: #d0d0d0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.column-title {
    color: #E51773;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* ===================================
   CONTROLES Y NAVEGACIÓN
   =================================== */

.footer {
    position: absolute;
    bottom: 30px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
    z-index: 20;
}

.slide-number {
    display: none !important;
}

/* Ocultar logo en la portada */
.cover-slide .brand-logo {
    display: none !important;
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(229, 23, 115, 0.2);
    z-index: 100;
}

.progress-bar-fill {
    height: 100%;
    background: #E51773;
    width: 0%;
    transition: width 0.5s ease-in-out;
}

.slide-counter {
    position: static;
    background: linear-gradient(135deg, rgba(229, 23, 115, 0.08) 0%, rgba(236, 171, 11, 0.08) 100%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 500;
    z-index: 20;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(229, 23, 115, 0.2);
    backdrop-filter: blur(8px);
}

.controls {
    position: static;
    display: flex;
    gap: 10px;
    z-index: 20;
}

.btn-control {
    background: linear-gradient(135deg, rgba(229, 23, 115, 0.08) 0%, rgba(236, 171, 11, 0.08) 100%);
    border: 1px solid rgba(229, 23, 115, 0.2);
    color: rgba(255, 255, 255, 0.7);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    backdrop-filter: blur(8px);
}

.btn-control:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(229, 23, 115, 0.15) 0%, rgba(236, 171, 11, 0.15) 100%);
    color: #ffffff;
    transform: scale(1.05);
    border-color: rgba(229, 23, 115, 0.3);
}

.btn-control:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Marca en esquina inferior izquierda */
.brand-logo {
    position: static;
    z-index: 30;
    width: 100px;
    max-width: 15%;
    pointer-events: auto;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.brand-logo:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

.brand-logo svg {
    width: 100%;
    height: auto;
    display: block;
}

.btn-control:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Cover Slide Styles */
.cover-slide,
.section-cover {
    background: linear-gradient(135deg, #070b1f 0%, #0f1428 100%) !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}

.cover-slide .slide-content,
.section-cover .slide-content {
    background-size: cover;
    background-position: center;
    position: relative;
}

@media (max-width: 1200px) {
    .slide-title {
        font-size: 2rem;
    }

    .slide-subtitle {
        font-size: 1.1rem;
    }

    .slide-content {
        padding: 40px 50px;
    }

    .slide-text {
        font-size: 0.95rem;
    }

    .bullet-list li {
        font-size: 0.9rem;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ===================================
   CLASES PARA ÍNDICE Y SECCIONES
   =================================== */

.index-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.index-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-card {
    background: rgba(15, 20, 45, 0.5);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(229, 23, 115, 0.25);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.section-card-header {
    gap: 10px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(229, 23, 115, 0.3);
}

.section-card-header i {
    font-size: 1.2rem;
    color: #E51773;
}

.section-card-header h3 {
    color: #ffffff;
    font-size: 0.98rem;
    margin: 0;
    font-weight: 700;
}

.section-card-items {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.section-item {
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(229, 23, 115, 0.05);
    border-left: 3px solid transparent;
}

.section-item:hover {
    background: rgba(229, 23, 115, 0.15);
    border-left-color: #E51773;
}

.section-item span {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.82rem;
    font-weight: 500;
}

/* ===================================
   ICONOGRAFÍA PRIMARIA
   =================================== */

.icon-primary {
    font-size: 1.2rem;
    color: #E51773;
}

.section-card-header h3 {
    color: #ffffff;
    font-size: 0.98rem;
    margin: 0;
    font-weight: 700;
}

/* ===================================
   ESTILOS ADICIONALES PARA CONTENIDO
   =================================== */

.section-content-text {
    text-align: center;
}

.section-content-icon {
    font-size: 6rem;
    color: #ffffff;
    margin-bottom: 20px;
    display: block;
}

.slide-title-spaced {
    margin-bottom: 40px;
}

.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.card-highlight-pink {
    background: linear-gradient(135deg, rgba(229, 23, 115, 0.15) 0%, rgba(229, 23, 115, 0.05) 100%);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #E51773;
}

.card-highlight-gold {
    background: linear-gradient(135deg, rgba(229, 23, 115, 0.08) 0%, rgba(236, 171, 11, 0.08) 100%);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid rgba(236, 171, 11, 0.5);
}

.card-header-flex {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.icon-2rem {
    font-size: 2rem;
}

.icon-pink {
    color: #E51773;
}

.icon-gold {
    color: #ECAB0B;
}

.header-pink {
    color: #E51773;
    font-size: 1.2rem;
    margin: 0;
}

.header-gold {
    color: #ECAB0B;
    font-size: 1.2rem;
    margin: 0;
}

.text-no-margin {
    margin: 0;
}

.highlight-box {
    margin-top: 40px;
    background: linear-gradient(90deg, rgba(229, 23, 115, 0.2) 0%, rgba(229, 23, 115, 0.05) 100%);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid rgba(229, 23, 115, 0.3);
    position: relative;
    overflow: hidden;
}

.highlight-box-bg {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 8rem;
    color: rgba(229, 23, 115, 0.1);
    line-height: 1;
}

.highlight-box-content {
    position: relative;
    z-index: 2;
}

.heading-large {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.icon-gold-margin {
    color: #ECAB0B;
    margin-right: 10px;
}

/* ===================================
   VARIABLES DE COLOR Y ESPACIADO
   =================================== */

:root {
    --color-primary: #E51773;
    --color-secondary: #ECAB0B;
    --color-dark: #070b1f;
    --color-dark-light: #0f1428;
    --color-text-primary: #ffffff;
    --color-text-secondary: #e0e0e0;
    --color-text-tertiary: #d0d0d0;
    --color-text-muted: rgba(255, 255, 255, 0.5);
    --color-text-light-muted: rgba(255, 255, 255, 0.95);
    --color-bg-overlay: rgba(15, 20, 45, 0.4);
    --spacing-xs: 5px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 16px;
    --spacing-xl: 20px;
    --spacing-2xl: 30px;
    --border-radius: 10px;
    --border-radius-sm: 6px;
    --transition-ease: all 0.3s ease;
}

/* ===================================
   CAJAS Y TARJETAS GENÉRICAS
   =================================== */

.card {
    background: rgba(15, 20, 45, 0.5);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(229, 23, 115, 0.25);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-small {
    padding: 10px;
    background: rgba(229, 23, 115, 0.1);
    border-radius: 8px;
    border-left: 3px solid #E51773;
}

.card-small strong {
    color: #E51773;
    font-size: 0.9rem;
}

.card-small p {
    font-size: 0.75rem;
    color: #d0d0d0;
    margin-top: 3px;
}

.card-highlight {
    background: linear-gradient(135deg, rgba(229, 23, 115, 0.2) 0%, rgba(229, 23, 115, 0.1) 100%);
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    border: 1px solid rgba(229, 23, 115, 0.3);
    text-align: center;
}

.card-highlight p {
    margin: 0;
    color: #d0d0d0;
    font-size: 0.85rem;
}

.card-highlight p:first-child {
    font-size: 1.1rem;
    color: #E51773;
    font-weight: 600;
    margin-bottom: 8px;
}

/* ===================================
   TÍTULO CON MARGEN PERSONALIZADO
   =================================== */

.slide-title-index {
    margin-bottom: 25px;
}

/* ===================================
   GRILLAS RESPONSIVAS
   =================================== */

.grid-6-cols {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.grid-1-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .slide-title {
        font-size: 1.8rem;
    }

    .slide-subtitle {
        font-size: 1rem;
    }

    .slide-content {
        padding: 30px 25px;
    }

    .slide-text {
        font-size: 0.9rem;
    }

    .bullet-list li {
        font-size: 0.85rem;
    }

    .footer {
        padding: 0 25px;
    }

    .top-ui {
        top: 10px;
        gap: 10px;
        padding: 6px 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .brand-logo {
        width: 90px;
    }

    .index-grid {
        grid-template-columns: 1fr;
    }

    .grid-6-cols {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   UTILITY GRID CLASSES - FOR LAYOUTS
   =================================== */

/* 2-Column grids with different gap/margin patterns */
.grid-2-cols-40 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.grid-2-cols-40-mb35 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 35px;
}

.grid-2-cols-40-pos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.grid-2-cols-30-mt40 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.grid-2-cols-26-mt22 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    margin-top: 22px;
}

.grid-2-cols-26-mt30 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    margin-top: 30px;
}

.grid-2-cols-20-mt30 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.grid-2-cols-35 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.grid-2-cols-35-mt30 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    margin-top: 30px;
}

/* 3-Column grids */
.grid-3-cols-15 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.grid-3-cols-20-mt22 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 22px;
}

.grid-3-cols-18-mt20 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.grid-3-cols-12-mono {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    font-family: 'Courier New', monospace;
    font-size: 0.92rem;
}

/* 4-Column grids */
.grid-4-cols-12 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.grid-4-cols-16 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* 5-Column grids */
.grid-5-cols-16 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin: 24px 0 30px;
}

/* Complex asymmetric grids */
.grid-1-3 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 18px;
    margin-top: 18px;
}

.grid-1-auto-1 {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.grid-1-auto-1-20 {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 35px;
}

/* 5-step horizontal flow layout */
.grid-5-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

/* Pipeline conceptual (slide 2.2) */
.pipeline-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    gap: 18px;
    margin-top: 15px;
}

.pipeline-grid .comparison-item {
    padding: 16px 12px;
    text-align: center;
    background: rgba(10, 14, 30, 0.6);
    border-color: rgba(229, 23, 115, 0.35);
}

.pipeline-step-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.pipeline-step-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(229, 23, 115, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pipeline-step-badge i {
    font-size: 1.1rem;
}

.pipeline-grid .comparison-item h4 {
    font-size: 1rem;
    line-height: 1.2;
    text-align: center;
    word-break: break-word;
    hyphens: auto;
}

.pipeline-grid .comparison-item h4 i {
    margin-right: 0;
}

.pipeline-grid .comparison-item p {
    font-size: 0.85rem;
    line-height: 1.4;
    text-align: center;
    margin: 6px 0 0 0;
    word-break: break-word;
    hyphens: auto;
}

/* Flexible grid with wrapping */
.grid-flex-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* Full width single column */
.grid-full {
    display: grid;
    grid-template-columns: 1fr;
}

.grid-2-cols-35-mt30-align {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    margin-top: 30px;
    align-items: start;
}

/* ===================================
   MARGIN & PADDING UTILITY CLASSES
   =================================== */

/* Margins */
.m-0 { margin: 0; }
.m-5 { margin: 5px; }
.m-10 { margin: 10px; }
.m-12 { margin: 12px; }
.m-15 { margin: 15px; }
.m-18 { margin: 18px; }
.m-20 { margin: 20px; }
.m-22 { margin: 22px; }
.m-25 { margin: 25px; }
.m-30 { margin: 30px; }
.m-35 { margin: 35px; }
.m-40 { margin: 40px; }

/* Margin Top */
.mt-0 { margin-top: 0; }
.mt-5 { margin-top: 5px; }
.mt-8 { margin-top: 8px; }
.mt-10 { margin-top: 10px; }
.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }
.mt-15 { margin-top: 15px; }
.mt-18 { margin-top: 18px; }
.mt-20 { margin-top: 20px; }
.mt-22 { margin-top: 22px; }
.mt-25 { margin-top: 25px; }
.mt-30 { margin-top: 30px; }
.mt-35 { margin-top: 35px; }
.mt-40 { margin-top: 40px; }

/* Margin Bottom */
.mb-0 { margin-bottom: 0; }
.mb-5 { margin-bottom: 5px; }
.mb-8 { margin-bottom: 8px; }
.mb-10 { margin-bottom: 10px; }
.mb-12 { margin-bottom: 12px; }
.mb-14 { margin-bottom: 14px; }
.mb-15 { margin-bottom: 15px; }
.mb-18 { margin-bottom: 18px; }
.mb-20 { margin-bottom: 20px; }
.mb-22 { margin-bottom: 22px; }
.mb-25 { margin-bottom: 25px; }
.mb-30 { margin-bottom: 30px; }
.mb-35 { margin-bottom: 35px; }
.mb-40 { margin-bottom: 40px; }

/* Padding */
.p-0 { padding: 0; }
.p-5 { padding: 5px; }
.p-8 { padding: 8px; }
.p-10 { padding: 10px; }
.p-12 { padding: 12px; }
.p-14 { padding: 14px; }
.p-15 { padding: 15px; }
.p-18 { padding: 18px; }
.p-20 { padding: 20px; }
.p-22 { padding: 22px; }
.p-24 { padding: 24px; }
.p-25 { padding: 25px; }
.p-30 { padding: 30px; }
.p-32 { padding: 32px; }
.p-35 { padding: 35px; }
.p-40 { padding: 40px; }

/* Padding Top */
.pt-0 { padding-top: 0; }
.pt-10 { padding-top: 10px; }
.pt-12 { padding-top: 12px; }
.pt-15 { padding-top: 15px; }
.pt-16 { padding-top: 16px; }
.pt-18 { padding-top: 18px; }
.pt-20 { padding-top: 20px; }
.pt-25 { padding-top: 25px; }

/* Padding Bottom */
.pb-0 { padding-bottom: 0; }
.pb-8 { padding-bottom: 8px; }
.pb-10 { padding-bottom: 10px; }
.pb-12 { padding-bottom: 12px; }
.pb-15 { padding-bottom: 15px; }
.pb-16 { padding-bottom: 16px; }
.pb-20 { padding-bottom: 20px; }

/* Padding X (left and right) */
.px-12 { padding-left: 12px; padding-right: 12px; }
.px-14 { padding-left: 14px; padding-right: 14px; }
.px-16 { padding-left: 16px; padding-right: 16px; }
.px-18 { padding-left: 18px; padding-right: 18px; }
.px-20 { padding-left: 20px; padding-right: 20px; }
.px-24 { padding-left: 24px; padding-right: 24px; }
.px-30 { padding-left: 30px; padding-right: 30px; }

/* Padding Y (top and bottom) */
.py-10 { padding-top: 10px; padding-bottom: 10px; }
.py-12 { padding-top: 12px; padding-bottom: 12px; }
.py-14 { padding-top: 14px; padding-bottom: 14px; }
.py-15 { padding-top: 15px; padding-bottom: 15px; }
.py-18 { padding-top: 18px; padding-bottom: 18px; }
.py-20 { padding-top: 20px; padding-bottom: 20px; }
.py-25 { padding-top: 25px; padding-bottom: 25px; }

/* ===================================
   COLOR & TYPOGRAPHY UTILITY CLASSES
   =================================== */

/* Text Colors */
.text-pink { color: #E51773; }
.text-gold { color: #ECAB0B; }
.text-primary { color: #e0e0e0; }
.text-secondary { color: #d0d0d0; }
.text-tertiary { color: #b8b8b8; }
.text-muted { color: #a8a8a8; }
.text-white { color: #ffffff; }
.text-light { color: rgba(255, 255, 255, 0.9); }

/* Font Sizes */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.85rem; }
.text-base { font-size: 0.9rem; }
.text-md { font-size: 0.95rem; }
.text-lg { font-size: 1rem; }
.text-xl { font-size: 1.1rem; }
.text-2xl { font-size: 1.2rem; }
.text-3xl { font-size: 1.3rem; }

/* Font Weights */
.font-300 { font-weight: 300; }
.font-400 { font-weight: 400; }
.font-500 { font-weight: 500; }
.font-600 { font-weight: 600; }
.font-700 { font-weight: 700; }
.font-800 { font-weight: 800; }

/* Text Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Line Heights */
.leading-tight { line-height: 1.4; }
.leading-normal { line-height: 1.6; }
.leading-relaxed { line-height: 1.8; }
.leading-loose { line-height: 2; }

/* Background Colors */
.bg-dark { background: linear-gradient(135deg, #070b1f 0%, #0f1428 100%); }
.bg-pink-light { background: rgba(229, 23, 115, 0.1); }
.bg-pink-lighter { background: rgba(229, 23, 115, 0.05); }
.bg-gold-light { background: rgba(236, 171, 11, 0.1); }
.bg-gold-lighter { background: rgba(236, 171, 11, 0.05); }
.bg-dark-light { background: rgba(15, 20, 45, 0.5); }
.bg-dark-lighter { background: rgba(15, 20, 45, 0.3); }
.bg-overlay-dark { background: rgba(15, 20, 45, 0.6); }

/* Border Colors */
.border-pink { border-color: #E51773; }
.border-gold { border-color: #ECAB0B; }
.border-light { border-color: rgba(255, 255, 255, 0.1); }

/* ===================================
   RESPONSIVE GRID VARIANTS
   =================================== */

@media (max-width: 1024px) {
    /* 2-Column grids collapse to 1 column on tablets */
    .grid-2-cols-40-mb35,
    .grid-2-cols-40-pos,
    .grid-2-cols-30-mt40,
    .grid-2-cols-26-mt22,
    .grid-2-cols-26-mt30,
    .grid-2-cols-20-mt30,
    .grid-2-cols-35,
    .grid-2-cols-35-mt30,
    .grid-2-cols-35-mt30-align,
    .grid-1-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* 3-Column grids collapse to 2 columns */
    .grid-3-cols-15,
    .grid-3-cols-20-mt22,
    .grid-3-cols-18-mt20 {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* 4-Column grids collapse to 2 columns */
    .grid-4-cols-12,
    .grid-4-cols-16 {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* 5-Column grids collapse to 3 columns */
    .grid-5-cols-16,
    .grid-5-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    /* 1fr auto 1fr collapses to 1 column */
    .grid-1-auto-1,
    .grid-1-auto-1-20 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Extra small screens: everything to 1 column */
    .grid-2-cols-40-mb35,
    .grid-2-cols-40-pos,
    .grid-2-cols-30-mt40,
    .grid-2-cols-26-mt22,
    .grid-2-cols-26-mt30,
    .grid-2-cols-20-mt30,
    .grid-2-cols-35,
    .grid-2-cols-35-mt30,
    .grid-2-cols-35-mt30-align,
    .grid-1-3 {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* 3-Column grids become 1 column */
    .grid-3-cols-15,
    .grid-3-cols-20-mt22,
    .grid-3-cols-18-mt20,
    .grid-3-cols-12-mono {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* 4-Column grids become 1 column */
    .grid-4-cols-12,
    .grid-4-cols-16 {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* 5-Column grids become 2 columns */
    .grid-5-cols-16,
    .grid-5-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* Text sizes reduce on mobile */
    .text-2xl { font-size: 1.1rem; }
    .text-3xl { font-size: 1.2rem; }

    /* Padding/margins reduce on mobile */
    .p-30, .p-32, .p-35, .p-40 { padding: 15px; }
    .m-30, .m-35, .m-40 { margin: 15px; }
    .mt-30, .mt-35, .mt-40 { margin-top: 15px; }
    .mb-30, .mb-35, .mb-40 { margin-bottom: 15px; }

    /* ===================================
       MOBILE RESPONSIVE FIXES
       =================================== */
    
    /* Enable scrolling and top alignment for overflow content */
    .slide {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        justify-content: flex-start !important; /* Align content to top instead of center */
        align-items: flex-start !important;
        padding: 0 !important;
    }

    .slide-content {
        padding: 30px 15px 140px 15px !important; /* Top/side padding + adaptive bottom padding for navigation */
        margin-top: 0;
        margin-bottom: 0;
        width: 100%;
        height: auto !important; /* Allow content to determine height */
        min-height: 100%;
        align-items: flex-start !important; /* Align to top instead of center */
        justify-content: flex-start !important; /* Start from top */
    }

    .slide-inner {
        padding-top: 0;
        width: 100%;
    }

    /* Top UI repositioned to bottom on mobile */
    .top-ui {
        position: fixed !important;
        top: auto !important;
        bottom: 60px !important; /* Above the section nav */
        left: 0 !important;
        right: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 15px !important;
        background: rgba(20, 24, 40, 0.95) !important;
        backdrop-filter: blur(20px) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-bottom: none !important;
        gap: 10px;
        z-index: 90 !important;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2) !important;
    }

    /* Brand logo repositioning */
    .brand-logo {
        width: 70px !important;
        max-width: 70px !important;
        height: auto !important;
        order: 1;
    }

    /* Controls next to logo - include slide number */
    .controls {
        display: flex !important;
        gap: 8px;
        align-items: center;
        order: 2;
        flex: 1;
        justify-content: flex-end;
    }

    .btn-control {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    /* Hide section nav from top on mobile */
    .top-ui .section-nav {
        display: none !important;
    }

    /* Navigation menu fixed at bottom */
    .slide-content .section-nav {
        display: flex !important; /* Show at bottom on mobile */
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        transform: none;
        z-index: 100;
        padding: 10px 5px;
        background: rgba(20, 24, 40, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 0;
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        gap: 4px;
        justify-content: space-around;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
    }

    /* Icon-only navigation items on mobile */
    .section-nav-item {
        font-size: 0 !important; /* Hide text */
        padding: 8px 12px;
        min-width: auto;
        flex-direction: column;
        gap: 0;
    }

    .section-nav-item i {
        font-size: 1.2rem !important; /* Show icons larger */
        margin: 0;
    }

    /* Adjust slide title for mobile */
    .slide-title {
        font-size: 1.5rem;
        margin-top: 10px;
    }

    /* Footer adjustments */
    .footer {
        display: none !important; /* Hide footer on mobile since controls are in top-ui */
    }
}

/* ===================================
   AJUSTES DE PALETA PARA CONTENIDO NUEVO
   =================================== */

.slide-content [style*="#0066cc"],
.slide-content [style*="color: #0066cc"] {
    color: #E51773 !important;
    border-left-color: #E51773 !important;
    border-color: rgba(229, 23, 115, 0.6) !important;
}

.slide-content [style*="#e6f2ff"],
.slide-content [style*="#f0f8ff"],
.slide-content [style*="#f9f9f9"] {
    background: rgba(15, 20, 45, 0.45) !important;
    border-color: rgba(229, 23, 115, 0.4) !important;
    color: #d0d0d0 !important;
}
.slide-content [style*="#fff3cd"] {
    background: rgba(236, 171, 11, 0.12) !important;
    border-left-color: #ECAB0B !important;
    border-color: rgba(236, 171, 11, 0.35) !important;
    color: #d0d0d0 !important;
}

.slide-content [style*="color: #333"],
.slide-content [style*="color: #666"],
.slide-content [style*="color: #999"] {
    color: #d0d0d0 !important;
}

.slide-content [style*="background: white"],
.slide-content [style*="background: #fff"] {
    background: rgba(15, 20, 45, 0.6) !important;
    color: #d0d0d0 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}
/* ===================================
   NUEVO DISEÑO ÍNDICE - GRID IMPACTANTE
   =================================== */

.index-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-card-new {
    position: relative;
    overflow: hidden;
    background: rgba(15, 20, 45, 0.3);
    border: 3px solid rgba(229, 23, 115, 0.35);
    border-radius: 15px;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(0);
    cursor: pointer;
}

.section-card-new:hover {
    background: rgba(15, 20, 45, 0.5);
    border-color: rgba(229, 23, 115, 0.65);
    transform: translateY(-6px);
    box-shadow: 0 10px 32px rgba(229, 23, 115, 0.14);
}

.section-card-new-inner {
    padding: 40px 25px;
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    min-height: 280px;
    justify-content: center;
}

.section-card-new-icon {
    font-size: 2.4rem;
    color: #E51773;
    margin-bottom: 10px;
    transition: all 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: radial-gradient(circle, rgba(229, 23, 115, 0.15) 0%, rgba(229, 23, 115, 0.05) 100%);
    border-radius: 50%;
}

.section-card-new:hover .section-card-new-icon {
    transform: scale(1.05) rotate(2deg);
    background: radial-gradient(circle, rgba(229, 23, 115, 0.25) 0%, rgba(229, 23, 115, 0.1) 100%);
}

.section-card-new-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin: 10px 0 0 0;
    line-height: 1.3;
    transition: color 0.35s ease;
}

.section-card-new:hover .section-card-new-title {
    color: #E51773;
}

.section-card-new-desc {
    font-size: 0.95rem;
    color: rgba(208, 208, 208, 0.8);
    margin: 5px 0 0 0;
    transition: color 0.35s ease;
}

.section-card-new:hover .section-card-new-desc {
    color: #E51773;
}

.section-card-new-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    transition: all 0.35s ease;
}

.section-card-new:hover .section-card-new-accent {
    height: 5px;
}

.section-card-new-accent.accent-magenta {
    background: linear-gradient(90deg, #E51773 0%, rgba(229, 23, 115, 0.3) 100%);
}

.section-card-new-accent.accent-gold {
    background: linear-gradient(90deg, #ECAB0B 0%, rgba(236, 171, 11, 0.3) 100%);
}

/* Respuesta a mobile */
@media (max-width: 1024px) {
    .index-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 15px;
    }

    .section-card-new-inner {
        padding: 30px 20px;
        min-height: 250px;
    }

    .section-card-new-icon {
        font-size: 2.2rem;
        width: 58px;
        height: 58px;
    }

    .section-card-new-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .index-grid-new {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }

    .section-card-new-inner {
        padding: 25px 15px;
        min-height: auto;
    }

    .section-card-new:hover {
        transform: translateY(-6px);
    }
}

/* ===================================
   DESTACADOS Y ACENTOS VISUALES
   =================================== */

/* Destacado amarillo para puntos clave */
.highlight-yellow {
    background: linear-gradient(135deg, rgba(236, 171, 11, 0.15) 0%, rgba(236, 171, 11, 0.05) 100%) !important;
    border-left: 4px solid #ECAB0B !important;
    padding: 15px 20px !important;
    border-radius: 8px !important;
    margin: 15px 0 !important;
}

/* Destacado magenta para información crítica */
.highlight-magenta {
    background: linear-gradient(135deg, rgba(229, 23, 115, 0.15) 0%, rgba(229, 23, 115, 0.05) 100%) !important;
    border-left: 4px solid #E51773 !important;
    padding: 15px 20px !important;
    border-radius: 8px !important;
    margin: 15px 0 !important;
}

/* Mejora de contraste para h4 en destacados */
.highlight-yellow h4,
.highlight-yellow h5,
.highlight-magenta h4,
.highlight-magenta h5 {
    color: #ffffff !important;
    margin-top: 0 !important;
}

/* Animación de entrada sutil para tarjetas de índice */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-card-new {
    animation: fadeInUp 0.6s ease-out backwards;
}

.section-card-new:nth-child(1) {
    animation-delay: 0.1s;
}

.section-card-new:nth-child(2) {
    animation-delay: 0.2s;
}

.section-card-new:nth-child(3) {
    animation-delay: 0.3s;
}

.section-card-new:nth-child(4) {
    animation-delay: 0.4s;
}

.section-card-new:nth-child(5) {
    animation-delay: 0.5s;
}

.section-card-new:nth-child(6) {
    animation-delay: 0.6s;
}

/* ===================================
   EFECTOS MEJORADOS PARA CONTENIDO
   =================================== */

/* Efecto de glow en títulos */
.slide-title {
    position: relative;
}

/* Mejora visual de listas */
.slide-body ul li {
    margin-bottom: 12px;
    line-height: 1.6;
}

/* Efecto de borde animado en cajas - DESACTIVADO */
/* .slide-content [style*="border-left"] {
    transition: all 0.3s ease;
}

.slide-content [style*="border-left"]:hover {
    padding-left: 25px !important;
    border-left-width: 5px !important;
} */

/* ===================================
   LAYOUT GLOBAL PARA SLIDES INTERIORES
   =================================== */

.slide:not(.section-cover) .slide-inner {
    background: rgba(7, 11, 31, 0.35);
    border: 1px solid rgba(229, 23, 115, 0.18);
    border-radius: 18px;
    padding: 35px 40px;
    box-shadow: 0 20px 60px rgba(7, 11, 31, 0.35);
    max-width: 1200px;
    width: 100%;
}

.slide:not(.section-cover) .slide-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.2px;
}

.slide:not(.section-cover) .slide-body {
    margin-top: 20px;
}

.slide:not(.section-cover) .slide-inner {
    max-height: 92vh;
}

.slide-body.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.slide-body.two-column .col {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.slide-body.compact p,
.slide-body.compact li {
    font-size: 0.95rem;
}

@media (max-width: 1024px) {
    .slide:not(.section-cover) .slide-inner {
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: rgba(229, 23, 115, 0.4) transparent;
    }

    .slide:not(.section-cover) .slide-inner::-webkit-scrollbar {
        width: 6px;
    }

    .slide:not(.section-cover) .slide-inner::-webkit-scrollbar-track {
        background: transparent;
    }

    .slide:not(.section-cover) .slide-inner::-webkit-scrollbar-thumb {
        background: rgba(229, 23, 115, 0.4);
        border-radius: 4px;
    }

    .slide-body.two-column {
        grid-template-columns: 1fr;
    }
}

/* Iconografía automática en jerarquías */
.slide-body h4 {
    display: block;
    width: 100%;
}

.slide-body h4[style*="text-align: center"] {
    justify-content: center;
}

.slide-body h4::before {
    content: none;
}

.slide-body h4.no-before::before {
    content: none;
}

.slide-body h5 {
    display: block;
}

/* Listas con icono sin tocar HTML */
.slide-body ul:not(.icon-list) {
    list-style: none;
    padding-left: 0;
}

.slide-body ul:not(.icon-list) li {
    position: relative;
    padding-left: 24px;
}

.slide-body ul:not(.icon-list) li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #E51773;
    position: absolute;
    left: 0;
    top: 2px;
}

/* Checkmarks amarillos para listas en secciones de agentes */
.slide-body ul:not(.icon-list) li.yellow-check::before {
    color: #ECAB0B !important;
}

.slide-body ul.no-checks li::before {
    content: "\f00d";
    color: var(--no-check-color, #ECAB0B);
}

/* Bordes uniformes en los 4 lados */
.slide [style*="border-left"][style*="border:"] {
    border-width: 1px !important;
    border-left-width: 1px !important;
}

.slide [style*="border-left"]:not([style*="border:"]) {
    border-left: none !important;
}
/* ===================================
   MEJORAS VISUALES PARA SLIDES INTERIORES
   =================================== */

/* Cajas destacadas con iconografía */
.feature-box {
    background: linear-gradient(135deg, rgba(229, 23, 115, 0.15) 0%, rgba(229, 23, 115, 0.05) 100%);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid rgba(229, 23, 115, 0.3);
    margin: 25px 0;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.feature-box:hover {
    border-color: rgba(229, 23, 115, 0.7);
    box-shadow: 0 12px 32px rgba(229, 23, 115, 0.25);
    transform: translateY(-3px);
}

/* Feature box con borde amarillo inline */
.feature-box[style*="border: 2px solid rgba(236, 171, 11"]:hover {
    border-color: rgba(236, 171, 11, 0.7) !important;
    box-shadow: 0 20px 60px rgba(236, 171, 11, 0.25) !important;
}

.feature-box-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.feature-box-icon {
    font-size: 2.5rem;
    color: #E51773;
    flex-shrink: 0;
    min-width: 50px;
    text-align: center;
}

.feature-box-title {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

/* Variante dorada */
.feature-box.gold {
    background: linear-gradient(135deg, rgba(236, 171, 11, 0.15) 0%, rgba(236, 171, 11, 0.05) 100%);
    border-color: rgba(236, 171, 11, 0.3);
}

.feature-box.gold:hover {
    border-color: rgba(236, 171, 11, 0.7);
    box-shadow: 0 12px 32px rgba(236, 171, 11, 0.25);
    transform: translateY(-3px);
}

.feature-box.gold .feature-box-icon {
    color: #ECAB0B;
}

.feature-box.gold .feature-box-title {
    color: #ECAB0B;
}

/* Feature box con borde amarillo inline - icono amarillo */
.feature-box[style*="border: 2px solid rgba(236, 171, 11"] .feature-box-icon {
    color: #ECAB0B !important;
}

.feature-box[style*="rgba(236, 171, 11"] .feature-box-icon {
    color: #ECAB0B !important;
}

/* Grid de dos columnas para comparativas */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 25px 0;
}

.comparison-grid.three-col {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
}

.comparison-grid.three-col > .info-box {
    margin: 0;
    height: 100%;
}

.comparison-item {
    background: rgba(15, 20, 45, 0.4);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(229, 23, 115, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.comparison-item.positive {
    --accent: #E51773;
    background: linear-gradient(135deg, rgba(30, 15, 35, 0.65) 0%, rgba(15, 20, 45, 0.55) 100%);
    border-color: rgba(229, 23, 115, 0.45);
    box-shadow: 0 12px 30px rgba(229, 23, 115, 0.12);
}

.comparison-item.negative {
    --accent: #E51773;
    background: linear-gradient(135deg, rgba(30, 15, 35, 0.65) 0%, rgba(15, 20, 45, 0.55) 100%);
    border-color: rgba(229, 23, 115, 0.45);
    box-shadow: 0 12px 30px rgba(229, 23, 115, 0.12);
}


.comparison-item h4 {
    color: #E51773;
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: block;
    align-items: center;
    gap: 10px;
}

.comparison-item.positive h4,
.comparison-item.negative h4 {
    color: #ffffff;
}

.comparison-item h4 i {
    color: var(--accent, #E51773);
    margin-right: 6px;
}

.comparison-item p {
    color: #d0d0d0;
    line-height: 1.7;
    margin: 0 0 10px 0;
}

.comparison-item ul {
    margin: 0;
    padding-left: 20px;
    list-style: none;
}

.comparison-item li {
    color: #d0d0d0;
    line-height: 1.6;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.comparison-item li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent, #ECAB0B);
    font-weight: bold;
}

.comparison-item.negative li:before {
    content: '✕';
    color: var(--accent, #E51773);
}

/* Timeline visual */
.timeline {
    position: relative;
    padding: 20px 0;
    margin: 30px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #E51773 0%, #ECAB0B 50%, #E51773 100%);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(even) {
    direction: rtl;
}

.timeline-item:nth-child(even) > div {
    direction: ltr;
}

.timeline-item-content {
    background: linear-gradient(135deg, rgba(229, 23, 115, 0.15) 0%, rgba(229, 23, 115, 0.05) 100%);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #E51773;
}

.timeline-item:nth-child(even) .timeline-item-content {
    border-left: none;
    border-right: 4px solid #ECAB0B;
    background: linear-gradient(135deg, rgba(236, 171, 11, 0.15) 0%, rgba(236, 171, 11, 0.05) 100%);
}

.timeline-item-title {
    color: #E51773;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-item:nth-child(even) .timeline-item-title {
    color: #ECAB0B;
}

.timeline-item-period {
    color: #ECAB0B;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

/* Caja de información destacada */
.info-box {
    background: rgba(15, 20, 45, 0.5);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(229, 23, 115, 0.2);
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-box.result {
    background: linear-gradient(135deg, rgba(25, 30, 55, 0.85) 0%, rgba(15, 20, 45, 0.6) 100%);
    border-color: rgba(236, 171, 11, 0.45);
    box-shadow: 0 14px 35px rgba(236, 171, 11, 0.12);
    padding: 28px 28px 28px 32px;
    position: relative;
}

.info-box-icon {
    font-size: 2.5rem;
    color: #E51773;
    flex-shrink: 0;
    min-width: 50px;
}

.info-box.result .info-box-icon {
    font-size: 3rem;
    color: #ECAB0B !important;
    min-width: 56px;
    margin-top: 2px;
}

.info-box.result .info-box-icon i {
    color: #ECAB0B !important;
}

.info-box-content h4 {
    color: #E51773;
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.info-box.result .info-box-content h4 {
    color: #ffffff;
    font-size: 1.15rem;
    letter-spacing: 0.2px;
}

.info-box.result.no-bar::before {
    display: none;
}

.info-box-content p {
    margin: 0;
    color: #d0d0d0;
    line-height: 1.7;
}

/* Listas mejoradas con iconos */
.icon-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.icon-list li {
    display: block;
    margin-bottom: 15px;
    color: #d0d0d0;
    line-height: 1.6;
}

.icon-list.two-col {
    column-count: 2;
    column-gap: 18px;
}

.icon-list.two-col li {
    break-inside: avoid;
    margin-bottom: 10px;
}

.icon-list-icon {
    font-size: 1.3rem;
    color: #E51773;
    flex-shrink: 0;
    margin-top: 3px;
    margin-right: 10px;
    display: inline-block;
}

/* Fondo decorativo para secciones especiales */
.feature-box::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    font-size: 6rem;
    opacity: 0.08;
    z-index: 0;
}

.feature-box > * {
    position: relative;
    z-index: 1;
}

/* Mejora de párrafos */
.slide-body p {
    line-height: 1.75;
    margin-bottom: 15px;
    color: #d0d0d0;
}

.slide-body strong {
    color: #E51773;
    font-weight: 700;
}

/* Slide 2.5 - Contexto: visual impact */
.context-limit-slide .slide-body {
    gap: 22px;
}

.context-limit-slide .context-hero {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(229, 23, 115, 0.22) 0%, rgba(229, 23, 115, 0.08) 100%);
    border: 2px solid rgba(229, 23, 115, 0.45);
    box-shadow: 0 12px 28px rgba(229, 23, 115, 0.18);
}

.context-limit-slide .context-hero-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(229, 23, 115, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.context-limit-slide .context-hero-icon i {
    color: #E51773;
    font-size: 1.5rem;
}

.context-limit-slide .context-hero-label {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(229, 23, 115, 0.2);
    color: #E51773;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
}

.context-limit-slide .context-hero-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
}

.context-limit-slide .context-hero-sub {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.context-limit-slide .col {
    display: flex;
    flex-direction: column;
}

.context-limit-slide .context-card {
    background: linear-gradient(135deg, rgba(10, 14, 30, 0.85) 0%, rgba(10, 14, 30, 0.65) 100%);
    border: 2px solid rgba(229, 23, 115, 0.45);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    height: 100%;
}

.context-limit-slide .context-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.context-limit-slide .context-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(229, 23, 115, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.context-limit-slide .context-card-icon i {
    color: #E51773;
    font-size: 1rem;
}

.context-limit-slide .context-card h4,
.context-limit-slide .context-card h5 {
    color: #E51773;
    margin-top: 0;
}

.context-limit-slide .context-card.context-secondary {
    border-color: rgba(236, 171, 11, 0.45);
}

.context-limit-slide .context-card.context-secondary .context-card-icon {
    background: rgba(236, 171, 11, 0.2);
}

.context-limit-slide .context-card.context-secondary .context-card-icon i {
    color: #ECAB0B;
}

.context-limit-slide .context-card.context-secondary h5 {
    color: #ECAB0B;
}

.context-limit-slide .context-callout {
    margin-top: 14px;
    padding: 16px 18px;
    border-radius: 12px;
    border: 2px solid rgba(236, 171, 11, 0.45);
    background: linear-gradient(135deg, rgba(236, 171, 11, 0.16) 0%, rgba(236, 171, 11, 0.06) 100%);
    grid-column: 1 / -1;
}

.context-limit-slide .context-callout-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.context-limit-slide .context-callout-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(236, 171, 11, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.context-limit-slide .context-callout-icon i {
    color: #ECAB0B;
    font-size: 0.95rem;
}

.context-limit-slide .context-list {
    list-style: none;
    padding-left: 0;
}

.context-limit-slide .context-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 10px;
}

.context-limit-slide .context-list li::before {
    content: none;
}

.context-limit-slide .context-list-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(236, 171, 11, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.context-limit-slide .context-list-icon i {
    color: #ECAB0B;
    font-size: 0.85rem;
}

.context-limit-slide .context-emphasis {
    color: #ECAB0B;
    font-weight: 700;
}

.context-limit-slide .context-callout.context-warn h5 {
    color: #ECAB0B;
}


/* Iconos en cajas rosas (por defecto) */
.feature-box:not(.gold) i,
.info-box:not(.gold) i,
.comparison-item i,
.highlight-yellow:not(.gold) i {
    color: #E51773 !important;
}

/* Texto fuerte en cajas amarillas */
.feature-box.gold strong,
.info-box.gold strong,
.highlight-yellow strong,
.feature-box.gold b,
.info-box.gold b,
.highlight-yellow b,
*[style*="#ECAB0B"] strong,
*[style*="#ecab0b"] strong,
*[style*="236, 171, 11"] strong,
*[style*="#ECAB0B"] b,
*[style*="#ecab0b"] b,
*[style*="236, 171, 11"] b,
*[style*="#fff3cd"] strong,
*[style*="#fff3cd"] b,
*[style*="#FFF3CD"] strong,
*[style*="#FFF3CD"] b {
    color: #ECAB0B;
}

/* Hover para las 5 cajas finales en la slide 2.4 */
.instruction-align-slide .align-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.instruction-align-slide .align-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
    border-color: rgba(229, 23, 115, 0.6);
}

/* Iconos en cajas amarillas */
.feature-box.gold i,
.info-box.gold i,
.highlight-yellow i,
*[style*="#ECAB0B"] i,
*[style*="#ecab0b"] i,
*[style*="236, 171, 11"] i,
*[style*="#fff3cd"] i,
*[style*="#FFF3CD"] i {
    color: #ECAB0B !important;
}

/* Responsive para timeline */
@media (max-width: 1024px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 0;
        padding-left: 50px;
    }

    .timeline-item:nth-child(even) {
        direction: ltr;
    }

    .timeline-item-content {
        border-left: 4px solid #E51773;
        border-right: none;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   EFECTO HOVER PARA CAJAS DE ERRORES
   =================================== */

.error-box {
    transition: all 0.3s ease;
    cursor: pointer;
}

.error-box:hover {
    transform: translateY(-3px);
    border-color: rgba(229,23,115,0.7) !important;
    box-shadow: 0 12px 32px rgba(229, 23, 115, 0.25) !important;
    background: rgba(15, 15, 15, 0.75) !important;
}

/* ===================================
   EFECTO HOVER PARA CAJAS ROSA Y AMARILLA
   =================================== */

/* Cajas con borde rosa */
[style*="border: 2px solid rgba(229,23,115"]:hover,
[style*="rgba(229,23,115,0.35); padding"]:hover {
    border-color: rgba(229, 23, 115, 0.7) !important;
    box-shadow: 0 12px 32px rgba(229, 23, 115, 0.25) !important;
    background-color: rgba(229, 23, 115, 0.1) !important;
    transform: translateY(-3px);
}

/* Cajas con gradiente rosa */
[style*="rgba(229,23,115,0.1) 0%, rgba(229,23,115"]:hover {
    border-color: rgba(229, 23, 115, 0.7) !important;
    box-shadow: 0 12px 32px rgba(229, 23, 115, 0.25) !important;
    background: linear-gradient(135deg, rgba(229, 23, 115, 0.2) 0%, rgba(229, 23, 115, 0.12) 100%) !important;
    transform: translateY(-3px);
}

/* Cajas con borde amarillo */
[style*="border: 2px solid rgba(236,171,11"]:hover,
[style*="rgba(236,171,11,0.35); padding"]:hover {
    border-color: rgba(236, 171, 11, 0.7) !important;
    box-shadow: 0 12px 32px rgba(236, 171, 11, 0.25) !important;
    background-color: rgba(236, 171, 11, 0.1) !important;
    transform: translateY(-3px);
}

/* Cajas con gradiente amarillo */
[style*="rgba(236,171,11,0.1) 0%, rgba(236,171,11"]:hover {
    border-color: rgba(236, 171, 11, 0.7) !important;
    box-shadow: 0 12px 32px rgba(236, 171, 11, 0.25) !important;
    background: linear-gradient(135deg, rgba(236, 171, 11, 0.2) 0%, rgba(236, 171, 11, 0.12) 100%) !important;
    transform: translateY(-3px);
}