/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #fffbf0 0%, #ffe8d0 50%, #ffd4d0 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Controles superiores */
.controls {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    display: flex;
    gap: 0.5rem;
}

.language-selector {
    position: relative;
}

.lang-btn,
.export-btn {
    background: white;
    border: 1px solid #fed7aa;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.lang-btn:hover,
.export-btn:hover {
    background: #f9fafb;
}

.icon {
    font-size: 1rem;
}

.lang-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border: 1px solid #fed7aa;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    padding: 0.5rem 0;
}

.lang-menu.active {
    display: block;
}

.lang-menu button {
    width: 100%;
    padding: 0.5rem 1rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background 0.2s;
}

.lang-menu button:hover {
    background: #fff7ed;
}

/* Contador de slides superior */
.slide-counter-top {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1000;
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Contenedor de presentación */
.presentation-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    padding-bottom: 6rem;
}

/* Slides */
.slide {
    display: none;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease-in;
}

.slide.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-content {
    padding: 2rem;
}

/* Tipografía */
.title-main {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1;
}

.gradient-text {
    background: linear-gradient(to right, #dc2626, #ea580c, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 2rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.description {
    font-size: 1.5rem;
    color: #374151;
    max-width: 48rem;
    margin: 0 auto 2rem;
}

.slide-title {
    font-size: 3rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 2rem;
}

.slide-subtitle {
    font-size: 1.5rem;
    color: #ea580c;
    margin-top: 0.5rem;
}

.subtitle-large {
    font-size: 1.875rem;
    color: #ea580c;
    margin-bottom: 2rem;
}

.description-text {
    font-size: 1.25rem;
    color: #1f2937;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.description-text.large {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Utilidades */
.text-center {
    text-align: center;
}

.center {
    text-align: center;
}

/* CTA Box */
.cta-box {
    padding-top: 2rem;
}

.cta-text {
    background: linear-gradient(to right, #dc2626, #ea580c);
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    display: inline-block;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Problem List */
.problem-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.problem-item {
    background: white;
    border-left: 4px solid #ef4444;
    padding: 1.5rem;
    border-radius: 0 0.5rem 0.5rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    font-size: 1.5rem;
    color: #1f2937;
}

/* Icon Large */
.icon-large {
    font-size: 8rem;
    margin: 0 auto 2rem;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(to right, #ea580c, #dc2626);
    padding: 2rem 3rem;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.highlight-box.gradient {
    margin-top: 2rem;
}

.highlight-text {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.highlight-text.white {
    color: white;
}

/* Slide Header */
.slide-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.icon-title {
    font-size: 5rem;
}

/* Slide Image */
.slide-image {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.stat-card {
    background: white;
    border: 2px solid #fed7aa;
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.stat-value {
    font-size: 3rem;
    font-weight: bold;
    color: #ea580c;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #374151;
    font-size: 1.125rem;
}

/* Benefits List */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #fde68a;
    font-size: 1.25rem;
    color: #1f2937;
}

/* Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.comparison-card {
    background: white;
    border: 2px solid #e5e7eb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.comparison-header {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.comparison-header.red {
    color: #dc2626;
}

.comparison-header.green {
    color: #16a34a;
}

.comparison-item p,
.comparison-card p {
    color: #374151;
    font-size: 1.125rem;
}

.comparison-card p.bold {
    color: #1f2937;
    font-weight: 600;
}

.green {
    color: #16a34a;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: white;
    border: 2px solid #fed7aa;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #6b7280;
}

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border-left: 4px solid #ea580c;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.timeline-number {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background: #ea580c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.timeline-item p {
    font-size: 1.5rem;
    padding-top: 0.5rem;
    color: #1f2937;
}

/* Impact List */
.impact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.impact-card {
    background: white;
    border: 2px solid #fed7aa;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.impact-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ea580c;
    margin-bottom: 0.75rem;
}

.impact-card p {
    color: #1f2937;
    font-size: 1.25rem;
}

/* Benefits Grid (CTA) */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.benefit-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: white;
    border: 2px solid #d1fae5;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    font-size: 1.125rem;
    color: #1f2937;
}

/* Question Box */
.question-box {
    background: linear-gradient(to right, #dc2626, #ea580c, #dc2626);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.question-text {
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
}

/* Final Slide */
.final-cta {
    padding: 3rem 0;
}

.final-text {
    background: linear-gradient(to right, #ea580c, #dc2626);
    color: white;
    font-size: 1.875rem;
    font-weight: bold;
    padding: 2rem 4rem;
    border-radius: 1rem;
    display: inline-block;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.final-info {
    padding-top: 2rem;
    font-size: 1.25rem;
    color: #6b7280;
}

.final-info p {
    margin: 0.5rem 0;
}

/* Navegación */
.navigation {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1000;
}

.nav-btn {
    background: white;
    border: 1px solid #fed7aa;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.2s;
}

.nav-btn:hover:not(:disabled) {
    background: #f9fafb;
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slide-counter {
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #fed7aa;
    font-weight: 600;
    color: #1f2937;
}

/* Barra de progreso */
.progress-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #fed7aa;
    z-index: 1000;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, #ea580c, #dc2626);
    transition: width 0.3s ease;
    width: 6.67%; /* 1/15 = 6.67% */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .title-main {
        font-size: 3rem;
    }

    .slide-title {
        font-size: 2.5rem;
    }

    .stats-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .comparison-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .presentation-container {
        padding: 1rem;
        padding-bottom: 5rem;
    }

    .slide-content {
        padding: 1rem;
    }

    .title-main {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.5rem;
    }

    .description {
        font-size: 1.125rem;
    }

    .slide-title {
        font-size: 2rem;
    }

    .slide-subtitle,
    .subtitle-large {
        font-size: 1.25rem;
    }

    .description-text {
        font-size: 1rem;
    }

    .stats-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .slide-header {
        flex-direction: column;
        text-align: center;
    }

    .icon-title {
        font-size: 3rem;
    }

    .problem-item {
        font-size: 1.125rem;
    }

    .benefit-item {
        font-size: 1rem;
    }

    .timeline-item {
        flex-direction: column;
        text-align: center;
    }

    .timeline-item p {
        font-size: 1.125rem;
    }

    .question-text {
        font-size: 1.5rem;
    }

    .final-text {
        font-size: 1.5rem;
        padding: 1.5rem 2rem;
    }

    .controls {
        top: 0.5rem;
        right: 0.5rem;
        flex-direction: column;
    }

    .navigation {
        bottom: 1rem;
        gap: 0.5rem;
    }

    .nav-btn {
        padding: 0.5rem 1rem;
        font-size: 1.25rem;
    }

    .slide-counter {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .title-main {
        font-size: 2rem;
    }

    .slide-title {
        font-size: 1.5rem;
    }

    .stat-value {
        font-size: 2rem;
    }

    .feature-icon,
    .icon-large {
        font-size: 2.5rem;
    }

    .timeline-number {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }
}

/* Estilos para impresión */
@media print {
    body {
        background: white;
    }

    .controls,
    .slide-counter-top,
    .navigation,
    .progress-bar {
        display: none !important;
    }

    .slide {
        display: block !important;
        page-break-after: always;
        page-break-inside: avoid;
        min-height: 100vh;
        padding: 2rem;
    }

    .slide:last-child {
        page-break-after: auto;
    }

    .presentation-container {
        padding: 0;
    }

    @page {
        size: A4 landscape;
        margin: 0;
    }
}

/* Estilos para las comparaciones económicas */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.comparison-card {
    background: white;
    border: 2px solid #e5e7eb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    min-height: 120px;
    display: flex;
    flex-direction: column;
}

.comparison-header {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid;
}

.comparison-header.red {
    color: #dc2626;
    border-bottom-color: #fecaca;
}

.comparison-header.green {
    color: #16a34a;
    border-bottom-color: #bbf7d0;
}

.comparison-card p {
    color: #374151;
    font-size: 1.125rem;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.comparison-card p.bold {
    color: #1f2937;
    font-weight: 600;
}

/* Asegurar que todos los textos en la columna izquierda sean rojos */
.comparison-grid .comparison-card:first-child p {
    color: #dc2626;
}

/* Asegurar que todos los textos en la columna derecha sean verdes */
.comparison-grid .comparison-card:last-child p {
    color: #16a34a;
}

/* Para los textos en negrita en la columna derecha */
.comparison-grid .comparison-card:last-child p.bold {
    color: #16a34a;
    font-weight: 700;
}




