/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta profesional cálida - Marrón, Naranja, Amarillo */
    --primary: #8b4513; /* Marrón chocolate profesional */
    --secondary: #ff8c00; /* Naranja intenso */
    --accent: #daa520; /* Dorado */
    --dark: #2c1810; /* Marrón muy oscuro */
    --dark-alt: #3e2723; /* Marrón oscuro */
    --light: #c88a5c; /* Caramelo/terracota cálido */
    --text-white: #ffffff;
    --text-dark: #2c1810;
    --text-gray: #8b7355; /* Marrón grisáceo */
    --text-light-on-dark: #fef3e2; /* Crema cálido */
    --gradient-primary: linear-gradient(135deg, #8b4513 0%, #cc5500 50%, #ff8c00 100%);
    --gradient-accent: linear-gradient(135deg, #ff8c00 0%, #ffa500 50%, #daa520 100%);
    --gradient-dark: linear-gradient(135deg, #2c1810 0%, #3e2723 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #2c1810;
    background-image:
        linear-gradient(15deg, transparent 0%, transparent 48%, rgba(139, 69, 19, 0.12) 48%, rgba(139, 69, 19, 0.12) 52%, transparent 52%, transparent 100%),
        linear-gradient(75deg, transparent 0%, transparent 35%, rgba(255, 140, 0, 0.08) 35%, rgba(255, 140, 0, 0.08) 38%, transparent 38%, transparent 100%),
        linear-gradient(105deg, transparent 0%, transparent 62%, rgba(139, 69, 19, 0.1) 62%, rgba(139, 69, 19, 0.1) 65%, transparent 65%, transparent 100%),
        linear-gradient(-25deg, transparent 0%, transparent 70%, rgba(218, 165, 32, 0.1) 70%, rgba(218, 165, 32, 0.1) 73%, transparent 73%, transparent 100%),
        linear-gradient(135deg, transparent 0%, transparent 28%, rgba(139, 69, 19, 0.08) 28%, rgba(139, 69, 19, 0.08) 31%, transparent 31%, transparent 100%),
        linear-gradient(-45deg, transparent 0%, transparent 82%, rgba(255, 140, 0, 0.06) 82%, rgba(255, 140, 0, 0.06) 85%, transparent 85%, transparent 100%),
        linear-gradient(65deg, transparent 0%, transparent 15%, rgba(139, 69, 19, 0.09) 15%, rgba(139, 69, 19, 0.09) 18%, transparent 18%, transparent 100%);
    background-size: 100% 100%;
    background-attachment: scroll;
    overflow-x: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    overflow: visible;
}

/* Smooth scroll behavior - snap removed for better content visibility */
html {
    scroll-behavior: smooth;
    overflow-y: scroll;
    height: 100%;
}

/* Hero Section - Minimalist and Impactful */
.hero {
    position: relative;
    background: transparent;
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding: 60px 40px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
}

.hero-image {
    display: none;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    width: 100%;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.hero p {
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--text-light-on-dark);
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    margin-bottom: 2rem;
}

.hero .section-nav-inline {
    margin-top: 30px;
    padding-top: 20px;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.hero .nav-btn-inline {
    color: var(--text-white);
}

.hero .nav-btn-inline:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

/* Landing Narrative Section - Story-Based Layout */
.landing-narrative-section {
    background: transparent;
    position: relative;
    width: 100%;
}

.landing-narrative {
    width: 100%;
}

.narrative-block {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 40px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    overflow: visible;
}

.narrative-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.narrative-block {
    background: transparent;
    color: var(--text-white) !important;
}

.narrative-block * {
    color: inherit;
}


.narrative-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: transparent;
    width: 100%;
    overflow: visible;
}

.narrative-block p {
    font-size: 1.4rem;
    line-height: 1.7;
    font-weight: 500;
    margin-bottom: 1rem;
    color: inherit;
}

.narrative-block strong {
    color: var(--secondary);
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.narrative-block h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--text-white) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.narrative-block h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-white) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.narrative-block ul {
    list-style: none;
    text-align: left;
    max-width: 800px;
    margin: 2rem auto;
    padding: 0;
}

.narrative-block li {
    font-size: 1.1rem;
    padding: 10px 0 10px 55px;
    position: relative;
    color: inherit;
    line-height: 1.3;
    margin-bottom: 8px;
    border-left: 3px solid var(--secondary);
}

.narrative-block li::before {
    content: '✓';
    position: absolute;
    left: 12px;
    top: 10px;
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--secondary);
    background: rgba(255, 140, 0, 0.15);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.narrative-block li strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 6px;
    line-height: 1;
    color: var(--secondary);
    font-weight: 900;
}

.narrative-block .bullet-description {
    display: block;
    margin-left: 20px;
    line-height: 1.4;
}

/* Read More Button */
.btn-read-more {
    display: inline-block;
    margin-top: 30px;
    padding: 16px 40px;
    background: transparent;
    border: 3px solid currentColor;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-read-more::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-read-more:hover::before {
    width: 300px;
    height: 300px;
}

.btn-read-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s ease, opacity 0.6s ease, margin-top 0.6s ease;
    opacity: 0;
}

.expandable-content.expanded {
    max-height: 2000px;
    opacity: 1;
    margin-top: 40px;
}

.btn-read-more.expanded {
    opacity: 0.5;
    pointer-events: none;
}

/* CTA Buttons */
.btn-cta-main {
    display: inline-block;
    margin-top: 40px;
    padding: 22px 60px;
    background: var(--gradient-primary);
    color: var(--text-white);
    border: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow:
        0 10px 30px rgba(139, 69, 19, 0.4),
        0 0 50px rgba(255, 140, 0, 0.2);
    text-decoration: none;
}

.btn-cta-main:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 15px 40px rgba(139, 69, 19, 0.6),
        0 0 70px rgba(255, 140, 0, 0.4);
    background: var(--gradient-accent);
}

/* Divider */
.narrative-divider {
    width: 120px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 40px auto;
    border-radius: 2px;
}

/* CTA Modal */
.cta-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.cta-modal-content {
    position: relative;
    background: rgba(44, 24, 16, 0.95);
    border: 3px solid var(--primary);
    border-radius: 24px;
    max-width: 650px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow:
        0 0 80px rgba(139, 69, 19, 0.4),
        0 25px 80px rgba(0, 0, 0, 0.8);
    animation: slideIn 0.4s ease-out;
    backdrop-filter: blur(10px);
}

.cta-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-white);
    transition: all 0.3s;
    z-index: 10;
    font-weight: bold;
}

.cta-close:hover {
    background: var(--secondary);
    transform: rotate(90deg) scale(1.1);
}

.cta-body {
    padding: 70px 50px 50px;
    text-align: center;
    color: var(--text-white);
}

.cta-body h2 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.cta-body p {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    color: var(--text-light-on-dark);
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 20px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s;
    box-shadow:
        0 8px 25px rgba(139, 69, 19, 0.4),
        0 0 40px rgba(255, 140, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 12px 35px rgba(139, 69, 19, 0.6),
        0 0 60px rgba(255, 140, 0, 0.4);
    background: var(--gradient-accent);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Sections */
.section {
    padding: 100px 40px;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: visible;
}

.section-dark {
    background: transparent;
    color: var(--text-white);
    position: relative;
}

.section-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: transparent;
}

.section h2 {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    width: 100%;
    color: var(--text-white) !important;
}

.section h2::after {
    content: '';
    display: block;
    width: 120px;
    height: 6px;
    background: var(--gradient-primary);
    margin: 30px auto 60px;
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(139, 69, 19, 0.5);
}

.section-dark h2 {
    color: var(--text-white) !important;
}

/* Texto Programas */
.texto-programas {
    max-width: 900px;
    margin: 0 auto 5rem;
    font-size: 1.4rem;
    line-height: 2;
    color: var(--text-light-on-dark);
    white-space: pre-wrap;
    word-wrap: break-word;
    text-align: left;
    background: rgba(44, 24, 16, 0.6);
    padding: 3.5rem;
    border-radius: 20px;
    border-left: 8px solid var(--primary);
    border-right: 8px solid var(--secondary);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 80px rgba(139, 69, 19, 0.1);
    font-weight: 500;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.texto-programas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: transparent;
}

/* Loading */
.loading {
    text-align: center;
    padding: 80px;
    color: var(--text-gray);
    font-size: 1.2rem;
    font-weight: 600;
}

/* Videos Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
    width: 100%;
    overflow: visible;
}

.video-card {
    background: var(--light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    border: 3px solid transparent;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 140, 0, 0.3);
    border-color: var(--secondary);
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: var(--primary-black);
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-card h3 {
    padding: 28px;
    font-size: 1.4rem;
    color: var(--text-white);
    font-weight: 800;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* More Testimonials Button */
.more-testimonials-btn-container {
    text-align: center;
    margin-top: 70px;
}

.btn-more-testimonials {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 20px 45px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow:
        0 8px 25px rgba(139, 69, 19, 0.4),
        0 0 40px rgba(255, 140, 0, 0.2);
}

.btn-more-testimonials:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 12px 35px rgba(139, 69, 19, 0.6),
        0 0 60px rgba(255, 140, 0, 0.4);
    background: var(--gradient-accent);
}

.btn-more-testimonials svg {
    transition: transform 0.3s;
}

.btn-more-testimonials:hover svg {
    transform: translateY(5px);
}

/* Cursos Grid */
.cursos-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 70px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    overflow: visible;
}

.curso-card {
    background: rgba(44, 24, 16, 0.7);
    border-radius: 25px;
    overflow: hidden;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(139, 69, 19, 0.2);
    transition: all 0.4s;
    display: flex;
    flex-direction: row;
    border: 3px solid transparent;
    position: relative;
    min-height: 400px;
    backdrop-filter: blur(5px);
}

.curso-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
}

.curso-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.7),
        0 0 80px rgba(255, 140, 0, 0.4);
    border-color: var(--secondary);
}

.curso-image {
    width: 45%;
    min-width: 400px;
    height: auto;
    object-fit: cover;
    background: transparent;
    padding: 40px;
}

.curso-content {
    padding: 50px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: transparent;
    justify-content: center;
}

.curso-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-white);
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.curso-card .description {
    color: var(--text-light-on-dark);
    margin-bottom: 30px;
    flex: 1;
    font-size: 1.15rem;
    line-height: 1.8;
    font-weight: 400;
}

.curso-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 25px;
    border-top: 2px solid rgba(99, 102, 241, 0.3);
}

.precio {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -0.02em;
}

.btn-comprar {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s;
    box-shadow:
        0 6px 20px rgba(139, 69, 19, 0.4),
        0 0 30px rgba(255, 140, 0, 0.2);
}

.btn-comprar:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 10px 30px rgba(139, 69, 19, 0.6),
        0 0 50px rgba(255, 140, 0, 0.4);
    background: var(--gradient-accent);
}

/* Testimonios Grid */
.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
    width: 100%;
    overflow: visible;
}

.testimonio-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    text-align: center;
    transition: all 0.3s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border: none;
}

.testimonio-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.testimonio-card h4 {
    font-size: 1.6rem;
    margin-bottom: 0;
    color: var(--text-white);
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.testimonio-screenshot {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: none;
}

/* Footer */
.footer {
    background: transparent;
    color: var(--text-light-on-dark);
    padding: 60px 40px;
    text-align: center;
    margin-top: 0;
    border-top: 4px solid var(--primary);
}

.footer p {
    font-size: 1.1rem;
    font-weight: 500;
}

.footer-credit {
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(245, 245, 245, 0.5);
    margin-top: 15px;
}

.footer-credit a {
    color: var(--primary-yellow);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.footer-credit a:hover {
    opacity: 1;
    text-decoration: underline;
    color: var(--accent-orange);
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    border: none;
}

.social-links svg {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.05);
}

.social-links a:hover svg {
    transform: scale(1.15);
}

.social-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-instagram:hover {
    box-shadow:
        0 10px 30px rgba(214, 36, 159, 0.4),
        0 0 40px rgba(253, 89, 73, 0.3);
}

.social-tiktok {
    background: #000000;
}

.social-tiktok:hover {
    box-shadow:
        0 10px 30px rgba(37, 244, 238, 0.4),
        0 0 40px rgba(254, 44, 85, 0.3);
}

.social-facebook {
    background: #1877F2;
}

.social-facebook:hover {
    box-shadow:
        0 10px 30px rgba(24, 119, 242, 0.5),
        0 0 40px rgba(24, 119, 242, 0.3);
}

.social-youtube {
    background: #FF0000;
}

.social-youtube:hover {
    box-shadow:
        0 10px 30px rgba(255, 0, 0, 0.5),
        0 0 40px rgba(255, 0, 0, 0.3);
}

/* Section Navigation - Icon-Only Centered Buttons */
.section-nav-inline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    padding-top: 30px;
    width: 100%;
    clear: both;
}

.nav-btn-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    border: none;
    background: transparent;
    color: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px;
}

.nav-btn-inline svg {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.narrative-block .nav-btn-inline {
    color: var(--text-white);
}

.section .nav-btn-inline {
    color: var(--text-white);
}

.nav-btn-inline:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

.nav-btn-inline.nav-up:hover svg {
    transform: translateY(-3px);
}

.nav-btn-inline.nav-down:hover svg {
    transform: translateY(3px);
}

/* Error and Empty States */
.error-message {
    background: linear-gradient(135deg, #ff3b3b 0%, #ff6b00 100%);
    border: 3px solid #ff0000;
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin: 30px 0;
    font-weight: 700;
    font-size: 1.1rem;
}

.empty-state {
    text-align: center;
    padding: 100px 40px;
    color: var(--text-gray);
}

.empty-state h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-image {
        width: 300px;
        height: 450px;
        right: 5%;
    }

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

@media (max-width: 968px) {
    .container {
        padding: 0 30px;
    }

    .hero {
        min-height: 550px;
        flex-direction: column;
        justify-content: center;
        padding: 60px 30px;
        overflow: visible;
    }

    .hero-image {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 280px;
        height: 380px;
        margin-top: 40px;
        order: 2;
    }

    .hero-content {
        max-width: 100%;
        padding-right: 0;
        text-align: center;
        order: 1;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.3rem;
    }

    .narrative-block {
        padding: 50px 30px;
    }

    .narrative-block p {
        font-size: 1.3rem;
    }

    .narrative-block h2 {
        font-size: 2rem;
    }

    .nav-btn-inline {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

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

    .hero {
        min-height: 500px;
        padding: 50px 20px;
        overflow: visible;
    }

    .hero-image {
        width: 240px;
        height: 320px;
        order: 1;
    }

    .hero-overlay {
        order: 2;
    }

    .hero-content {
        order: 3;
    }

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

    .hero p {
        font-size: 1.1rem;
    }

    .narrative-block {
        padding: 40px 20px;
    }

    .narrative-block p {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .narrative-block h2 {
        font-size: 1.6rem;
    }

    .section-nav-inline {
        gap: 20px;
        margin-top: 30px;
    }

    .nav-btn-inline {
        padding: 8px;
    }

    .nav-btn-inline svg {
        width: 28px;
        height: 28px;
    }

    .section {
        padding: 70px 20px;
    }

    .section h2 {
        font-size: 2.5rem;
    }

    .texto-programas {
        font-size: 1.15rem;
        padding: 2.5rem;
        line-height: 1.8;
    }

    .cta-body {
        padding: 60px 30px 40px;
    }

    .cta-body h2 {
        font-size: 2.2rem;
    }

    .cta-body p {
        font-size: 1.15rem;
    }

    .cta-button {
        padding: 18px 40px;
        font-size: 1.1rem;
    }

    .cta-modal-content {
        width: 95%;
        border-radius: 20px;
    }

    .videos-grid,
    .testimonios-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .curso-card {
        flex-direction: column;
        min-height: auto;
    }

    .curso-image {
        width: 100%;
        min-width: unset;
        height: 280px;
    }

    .curso-content {
        padding: 35px;
    }

    .btn-more-testimonials {
        padding: 18px 36px;
        font-size: 1.1rem;
    }

    .curso-card h3 {
        font-size: 1.6rem;
    }

    .curso-card .description {
        font-size: 1.05rem;
    }

    .precio {
        font-size: 2.5rem;
    }

    .btn-comprar {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .btn-cta-main {
        padding: 18px 40px;
        font-size: 1.1rem;
    }
}
