@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary: #61b7fd;
    --primary-dark: #4a9ee6;
    --primary-light: #e0f2ff;
    --secondary: #13263A;
    --secondary-dark: #1D3148;
    --text: #13263A;
    --text-light: #5A6A7A;
    --white: #FFFFFF;
    --shadow: 0 10px 20px -5px rgba(97, 183, 253, 0.1), 0 4px 6px -2px rgba(254, 118, 174, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(97, 183, 253, 0.12), 0 10px 10px -5px rgba(254, 118, 174, 0.08);
    --shadow-primary: 0 10px 30px -5px rgba(97, 183, 253, 0.3);
    --radius: 12px;
    --radius-lg: 30px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Camila Aguilar - Brand Colors */
    --camila-yellow: #ffaa1c;
    --camila-pink: #fe76ae;
    --camila-blue: #61b7fd;
    --camila-bg: #fffdf9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(167, 212, 251, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(167, 212, 251, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(167, 212, 251, 0);
    }
}

/* Top Bar */
.top-bar {
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 5%;
    font-size: 0.85rem;
    position: relative;
    width: 100%;
    z-index: 1001;
}

.top-bar-content {
    display: flex;
    justify-content: center;
    /* Centrado como en el ejemplo */
    align-items: center;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.top-social {
    position: absolute;
    right: 0;
    display: flex;
    gap: 1rem;
}

.top-social a {
    color: var(--white);
    transition: var(--transition);
}

.top-social a:hover {
    opacity: 0.8;
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
    height: 100px;
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav.scrolled {
    height: 70px;
    box-shadow: var(--shadow);
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 10px 0;
}

.logo img {
    height: 100%;
    max-height: 140px;
    /* Tamaño máximo cuando no hay scroll */
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

nav.scrolled .logo img {
    max-height: 50px;
}

nav.scrolled .btn {
    padding: 0.4rem 1.4rem;
    font-size: 0.85rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.btn {
    padding: 0.4rem 1.4rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.85rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-login {
    background: transparent;
    color: var(--secondary);
    padding: 0.4rem 1.4rem;
    font-size: 0.85rem;
    border: 1.5px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.btn-login:hover {
    background: #fff5f0;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-primary);
    position: relative;
    overflow: hidden;
}

.btn-cta {
    animation: pulse 2s infinite;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-cta {
    font-weight: 700;
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
}

/* Hero Section - Academia/Cursos Version (Restored) */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 10%;
    min-height: 80vh;
    background: #fff;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: 3.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-image-premium {
    flex: 1;
    position: relative;
}

.hero-image-premium img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.hero-floating-card {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.hero-floating-card i {
    font-size: 2rem;
    color: var(--camila-yellow);
}

.hero-floating-card strong {
    display: block;
    font-size: 1.1rem;
    color: var(--secondary);
}

.hero-floating-card span {
    font-size: 0.85rem;
    color: var(--text-light);
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero-floating-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
        width: 90%;
    }
}

/* Hero Section - Dual Image Version (Home) */
.hero-impact {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #fff;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-impact-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-impact-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.3;
    /* Subtle background */
    filter: blur(5px);
}

.hero-impact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0;
    position: relative;
    z-index: 3;
    gap: 4rem;
}

.hero-impact-text {
    flex: 0.7;
    text-align: left;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
}

.hero-impact-image {
    flex: 1.3;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 950px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.hero-image-wrapper img {
    width: 100%;
    display: block;
}

.hero-impact-text h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--secondary);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-impact-text h1 span {
    color: var(--camila-yellow);
}

.section-header-premium h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 3.5rem;
    color: var(--camila-pink);
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.hero-impact-support {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-style: italic;
    opacity: 0.9;
}

.cta-group {
    display: flex;
    justify-content: flex-start;
}

/* Smaller, centered Primary Button */
.btn-primary {
    background: var(--camila-pink);
    color: white !important;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 50px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(254, 118, 174, 0.2);
}

.btn-primary:hover {
    background: #e66a9d;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(254, 118, 174, 0.3);
}

.btn-hero-primary {
    background: var(--camila-pink);
    color: white;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 800;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(254, 118, 174, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-hero-primary:hover {
    background: #e66a9d;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(254, 118, 174, 0.3);
}

/* Acerca de Mi - Overlapping Design */
.about-me-premium {
    padding: 100px 5%;
    background-color: #fff;
    overflow: hidden;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    position: relative;
}

.about-visual {
    flex: 1.2;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(19, 38, 58, 0.15);
    z-index: 1;
}

.about-visual img {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-visual:hover img {
    transform: scale(1.05);
}

.about-content-box {
    flex: 1;
    background: #a498f1;
    padding: 4rem;
    margin-left: -120px;
    z-index: 2;
    border-radius: 30px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    color: white;
    position: relative;
}

.about-box-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    color: white;
    /* Title inside the blue box should be white for contrast, but I'll make it pink if it looks better? No, white is better here. */
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-text-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 400;
}

.about-text-content p:last-child {
    margin-bottom: 2.5rem;
}

.about-footer-elements {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.about-cta {
    background: transparent !important;
    color: white !important;
    font-weight: 700 !important;
    padding: 0.5rem 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-decoration: none;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    border: none !important;
    cursor: pointer;
}

.about-cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.about-cta:hover::after {
    width: 100%;
}

.about-cta i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.about-cta:hover i {
    transform: rotate(90deg);
}

.about-cta:hover {
    background: transparent !important;
    transform: none !important;
}

.about-social-minimal {
    display: flex;
    gap: 1.5rem;
}

.about-social-minimal a {
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
}

.about-social-minimal a:hover {
    transform: scale(1.2);
    color: var(--camila-yellow);
}

@media (max-width: 1100px) {
    .about-container {
        flex-direction: column;
    }

    .about-content-box {
        margin-left: 0;
        margin-top: -60px;
        width: 90%;
        padding: 2.5rem;
    }

    .about-visual {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .about-content-box {
        padding: 2rem;
        margin-top: -40px;
    }

    .about-text-content p {
        font-size: 1.05rem;
    }

    .about-footer-elements {
        flex-direction: column;
        gap: 1.5rem;
    }

    .about-cta {
        width: 100%;
        text-align: center;
    }
}

.btn-hero-secondary {
    background: white;
    color: var(--camila-pink);
    border: 2px solid var(--camila-pink);
    padding: 1.1rem 2.2rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 16px;
    margin-left: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-hero-secondary:hover {
    background: var(--camila-pink);
    color: white;
    transform: translateY(-4px);
}

.hero-trust-text {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-trust-text i {
    color: var(--camila-yellow);
}

/* Proceso Terapéutico Section */
.therapeutic-process {
    padding: 100px 5%;
    background-color: var(--camila-bg);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin: 4rem auto;
    max-width: 1400px;
}

.process-card {
    background: white;
    padding: 3.5rem 2.5rem;
    border-radius: 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.06);
}

.process-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.process-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.process-card h3 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.process-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Card Specific Colors */
.card-blue {
    border-top: 6px solid var(--camila-blue);
}

.card-blue .process-number {
    background-color: var(--camila-blue);
}

.card-blue .process-icon {
    color: var(--camila-blue);
}

.card-yellow {
    border-top: 6px solid var(--camila-yellow);
}

.card-yellow .process-number {
    background-color: var(--camila-yellow);
}

.card-yellow .process-icon {
    color: var(--camila-yellow);
}

.card-pink {
    border-top: 6px solid var(--camila-pink);
}

.card-pink .process-number {
    background-color: var(--camila-pink);
}

.card-pink .process-icon {
    color: var(--camila-pink);
}

.process-cta {
    text-align: center;
    margin-top: 2rem;
}

@media (max-width: 992px) {
    .hero-impact {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .hero-impact-container {
        flex-direction: column;
        padding: 2rem 5%;
        text-align: center;
        gap: 3rem;
    }

    .hero-impact-text {
        text-align: center;
        max-width: 100%;
        padding: 0;
    }

    .hero-impact-text h1 {
        font-size: 2.5rem;
    }

    .hero-image-wrapper {
        transform: none;
    }

    .hero-impact-support {
        border-left: none;
        padding-left: 0;
    }

    .cta-group {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .btn-hero-secondary {
        margin-left: 0;
        width: 100%;
    }

    .btn-hero-primary {
        width: 100%;
    }

    .hero-trust-text {
        justify-content: center;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

/* Comprehensive Course Block */
.course-block {
    padding: 60px 5%;
    background: linear-gradient(to bottom, var(--white), var(--background));
}

/* Perks Section */
.perks-section {
    padding: 100px 5%;
    background: var(--white);
    text-align: center;
    border-bottom: 1px solid var(--border-soft);
    position: relative;
}

.perks-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: #F1E8DD;
    opacity: 0.3;
    filter: blur(80px);
    bottom: -50px;
    right: 5%;
    border-radius: 50%;
    z-index: 0;
}

.perks-section .container {
    position: relative;
    z-index: 1;
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.perk-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    background: #fff9f5;
}

.perk-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
}

.perk-item h4 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.perk-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Credibility Section */
.credibility-section {
    padding: 100px 5%;
    background: var(--accent-peach);
    text-align: center;
    border-top: 1px solid var(--border-soft);
}

.credibility-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 3rem;
}

.cred-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.cred-item span {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.cred-item p {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Final CTA */
.final-cta-section {
    padding: 120px 5%;
    background: linear-gradient(135deg, var(--secondary-dark) 0%, #243B55 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(167, 212, 251, 0.1) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
}

.final-cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.final-cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.final-cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.final-cta-section .btn:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
    border-color: var(--primary) !important;
}

.course-block {
    padding: 100px 5%;
    background: var(--accent-beige-soft);
}

.courses-flex-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    max-width: 1400px;
    margin: 3rem auto 0;
    padding: 0 1rem;
}

.course-card-premium {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    width: 310px;
    /* 15% más grande aprox */
    min-height: 480px;
    text-align: left;
}

.course-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.thumb-wrapper {
    position: relative;
    height: 190px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.thumb-wrapper i {
    font-size: 3.5rem;
    color: #cbd5e1;
}

.thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(19, 38, 58, 0.5), transparent);
}

.course-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.course-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.mockup-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.mockup-card i {
    font-size: 3rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

@media (max-width: 1200px) {
    .mockup-card {
        flex: 0 1 calc(30% - 1rem);
    }
}

@media (max-width: 992px) {
    .mockup-card {
        flex: 0 1 calc(45% - 1rem);
    }
}

@media (max-width: 600px) {
    .mockup-card {
        flex: 0 1 100%;
    }
}

.course-main {
    flex: 1.5;
}

.course-header-branding h2 {
    font-size: 3.5rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.course-tagline {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 2rem;
}

.course-perks {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.perk {
    background: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--background);
}

.perk i {
    color: var(--primary);
}

.course-description-full {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 700px;
    line-height: 1.8;
}

.bonuses-box {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 2px dashed var(--primary-light);
    position: relative;
}

.bonuses-box h4 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.bonus-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.bonus-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.bonus-list li i {
    color: var(--primary);
}

/* Integrated Mini Program */
.course-program-integrated {
    margin-top: 3.5rem;
}

.course-program-integrated h4,
.course-tools-integrated h4 {
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    text-align: center;
}

.grid-mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.card-mini {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--background);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
}

.card-mini:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
}

.icon-small {
    width: 45px;
    height: 45px;
    background: var(--primary-light);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.card-mini:nth-child(2) .icon-small {
    background: var(--secondary);
}

.card-mini:nth-child(3) .icon-small {
    background: var(--accent-orange);
}

.card-mini:nth-child(4) .icon-small {
    background: var(--accent-blue);
}

.card-mini h5 {
    font-size: 0.95rem;
    font-weight: 700;
}

/* Integrated Tools List */
.course-tools-integrated {
    margin-top: 3.5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--background);
}

.course-tools-integrated h4 {
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.mini-tool-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.resource-grid-mini {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.8rem;
}

.resource-tag {
    background: var(--surface);
    padding: 0.7rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid var(--primary-light);
    transition: var(--transition);
}

.resource-tag:hover {
    background: var(--white);
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.resource-tag i {
    color: var(--primary);
    font-size: 1rem;
}

/* Pricing Card */
.course-pricing-card {
    flex: 1;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--primary-light);
    position: sticky;
    top: 100px;
}

.pricing-badge {
    background: var(--accent-yellow);
    color: var(--text);
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.course-pricing-card h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.pricing-visual img {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

.price-box {
    margin-bottom: 0.5rem;
}

.price-box .currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: top;
    color: var(--text-light);
    margin-right: 0.2rem;
}

.price-box .amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
}

.price-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.full-width {
    width: 100%;
    margin-bottom: 1.5rem;
}

.payment-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.payment-trust i {
    font-size: 1.2rem;
}

@media (max-width: 992px) {
    .course-container {
        flex-direction: column;
    }

    .bonus-list {
        grid-template-columns: 1fr;
    }

    .course-pricing-card {
        position: static;
        width: 100%;
        padding: 2.5rem 1.5rem;
    }

    .course-header-branding h2 {
        font-size: 2.2rem;
    }

    .price-box .amount {
        font-size: 2.5rem;
    }
}

/* Sections General */
section {
    padding: 100px 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Modules Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(253, 75, 127, 0.1);
}

.card:nth-child(even) {
    background: var(--surface);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(97, 183, 253, 0.15), 0 10px 20px rgba(254, 118, 174, 0.1);
    border-color: var(--primary-light);
}

.card .icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.card:nth-child(2) .icon {
    background: var(--secondary);
}

.card:nth-child(3) .icon {
    background: var(--accent-orange);
}

.card:nth-child(4) .icon {
    background: var(--accent-blue);
}

.card h3 {
    margin-bottom: 1rem;
}

/* Resources Section */
.resources {
    background: var(--surface);
}

.resource-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.resource-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 5px solid var(--primary);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.resource-item:hover {
    transform: scale(1.03);
    background: var(--surface);
}

.resource-item:nth-child(odd) {
    border-left-color: var(--secondary);
}

.resource-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Pricing Section */
.pricing {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    text-align: center;
}

.pricing-card {
    background: var(--white);
    color: var(--text);
    max-width: 400px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-card ul li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        height: 75px;
        /* MÃƒÆ’Ã‚Â¡s compacto aÃƒÆ’Ã‚Âºn */
        padding: 0 4%;
    }

    .logo img {
        height: 68px;
        /* Aumentado 50% */
    }

    /* Logo mÃƒÆ’Ã‚Â¡s pequeÃƒÆ’Ã‚Â±o */
}

nav .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

.nav-links {
    display: none;
}

.hero {
    flex-direction: column;
    text-align: center;
    height: auto;
    padding: 100px 5% 40px;
}

.hero-content h1 {
    font-size: 2rem;
}

.hero-content p {
    font-size: 0.95rem;
}

.hero-image {
    margin-top: 2rem;
    order: -1;
}

.hero-image img {
    width: 100%;
    max-width: 350px;
}

.cta-group {
    justify-content: center;
    gap: 1.5rem;
}

.btn {
    padding: 0.7rem 1.3rem;
    font-size: 0.9rem;
}

.btn-primary {
    padding: 0.9rem 1.8rem;
    font-size: 0.95rem;
}

/* Perks mÃƒÆ’Ã‚Â¡s pequeÃƒÆ’Ã‚Â±os y eficientes */
@media (max-width: 768px) {




    .header-button-group button {
        width: 100%;
        margin: 0 !important;
        justify-content: center;
        padding: 0.6rem 1rem !important;
        /* MÃƒÂ¡s fino */
        font-size: 0.85rem !important;
        /* MÃƒÂ¡s pequeÃƒÂ±o */
        border-radius: 10px !important;
        min-height: 40px;
        /* TamaÃƒÂ±o consistente pero no gigante */
    }

    .section-header-flex h2 {
        font-size: 1.2rem !important;
        /* TÃƒÂ­tulo mÃƒÂ¡s acorde al mÃƒÂ³vil */
    }
}

.course-perks {
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.perk {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    border-radius: 30px;
}
}

/* Booking Block */
/* Booking Block */
.booking-block {
    padding: 60px 5%;
    background: var(--white);
}

.booking-container {
    display: flex;
    align-items: center;
    gap: 5rem;
    max-width: 1250px;
    margin: 0 auto;
    background: #eaffff;
    /* Celeste corporativo tenue */
    padding: 5rem;
    border-radius: 40px;
    border: 1.5px solid rgba(22, 121, 148, 0.2);
    /* Borde elegante en azul */
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/* DecoraciÃƒÆ’Ã‚Â³n para mÃƒÆ’Ã‚Â¡s "vida" */
.booking-container::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(22, 121, 148, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.booking-visual {
    flex: 1;
    position: relative;
    z-index: 1;
}

.booking-visual img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    transition: var(--transition);
    border: 8px solid var(--white);
}

.booking-visual:hover img {
    transform: translateY(-10px) rotate(-1deg);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.15);
}

.booking-info {
    flex: 1.2;
    position: relative;
    z-index: 1;
}

.booking-info h2 {
    font-size: 3rem;
    /* TÃƒÆ’Ã‚Â­tulo mÃƒÆ’Ã‚Â¡s impactante */
    color: var(--primary);
    /* TÃƒÆ’Ã‚Â­tulo ahora en Rosado */
    margin-bottom: 2rem;
    line-height: 1.1;
    font-weight: 800;
}

.booking-info p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.booking-benefits {
    list-style: none;
    margin-bottom: 3rem;
}

.booking-benefits li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-weight: 600;
    color: var(--text);
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(253, 75, 127, 0.15);
    /* Borde rosado suave */
    transition: var(--transition);
}

.booking-benefits li:hover {
    background: rgba(253, 75, 127, 0.05);
    /* Soft pink hover */
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(253, 75, 127, 0.1);
}

.booking-benefits li i {
    color: var(--white);
    background: var(--primary);
    /* Bullet en rosado corporativo */
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
    box-shadow: 0 5px 10px rgba(253, 75, 127, 0.3);
}

.btn-teal-solid {
    background: var(--primary);
    /* BotÃƒÆ’Ã‚Â³n en rosado corporativo */
    color: var(--white);
    padding: 1.5rem 4rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(253, 75, 127, 0.3);
}

.btn-teal-solid:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(253, 75, 127, 0.4);
}

.booking-note {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--text-light);
    opacity: 0.8;
}

@media (max-width: 992px) {
    .booking-block {
        padding: 40px 5%;
    }

    .booking-container {
        flex-direction: column;
        padding: 2.5rem 1.2rem;
        text-align: center;
        gap: 2rem;
        border-radius: 25px;
    }

    .booking-info h2 {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }

    .booking-info p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .booking-benefits {
        margin-bottom: 1.8rem;
    }

    .booking-benefits li {
        justify-content: flex-start;
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
        gap: 0.8rem;
    }

    .booking-benefits li i {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .btn-teal-solid {
        padding: 1rem 2rem;
        /* ReducciÃƒÆ’Ã‚Â³n a un tamaÃƒÆ’Ã‚Â±o balanceado */
        font-size: 0.95rem;
        letter-spacing: 0.5px;
    }

    .booking-note {
        font-size: 0.85rem;
        margin-top: 1rem;
    }
}

/* --- PREMIUM BRANDED FOOTER (REFINED IMAGE REFERENCE) --- */
.footer {
    background: linear-gradient(135deg, #e8f1fd 0%, #f2e6ff 100%);
    padding: 80px 5% 40px;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-main {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.footer-col h3 {
    font-family: 'Fredoka', sans-serif;
    color: var(--secondary);
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 35px;
    height: 3px;
    border-radius: 10px;
}

.col-explora h3::after {
    background: #FFD93D;
}

.col-conectemos h3::after {
    background: var(--camila-pink);
}

.footer-brand p {
    color: var(--text-light);
    line-height: 1.8;
    margin-top: 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    max-width: 280px;
}

.footer-brand .highlight-pink {
    color: var(--camila-pink);
    font-weight: 600;
}

.footer-copyright {
    margin-top: 3rem;
    color: var(--text-light);
    font-size: 1rem;
    opacity: 0.8;
}

/* Explora Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1.8rem;
}

.footer-links a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    display: grid;
    grid-template-columns: 35px 1fr;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    line-height: 1.3;
}

.footer-links i {
    color: #61b7fd;
    font-size: 1.3rem;
    opacity: 0.6;
}

.footer-links a:hover {
    color: var(--camila-pink);
    transform: translateX(5px);
}

/* Conectemos Section */
.contact-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
    color: var(--secondary);
    font-weight: 500;
    text-decoration: none;
    font-size: 1.05rem;
}

.contact-icon {
    width: 38px;
    height: 38px;
    background: #f0f7ff;
    color: #61b7fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.social-links-minimal {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 200px;
}

.social-minimal-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.social-minimal-icon.instagram {
    color: #E1306C;
}

.social-minimal-icon.whatsapp {
    color: #25D366;
}

.social-minimal-icon:hover {
    background: #f8f9fa;
    transform: scale(1.1);
}

/* Hablemos Card */
.hablemos-card {
    background: #ffffff;
    border-radius: 35px;
    padding: 50px 35px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(97, 183, 253, 0.1);
    border: 1px solid rgba(97, 183, 253, 0.05);
}

.card-heart {
    color: var(--camila-pink);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.hablemos-card h4 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.hablemos-card .yellow-divider {
    width: 45px;
    height: 3px;
    background: #FFD93D;
    margin: 0 auto 2.5rem;
    border-radius: 10px;
}

.hablemos-card p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.btn-card-cta {
    background: linear-gradient(to right, #fe76ae, #fd4b7f);
    color: white;
    padding: 16px 32px;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(253, 75, 127, 0.2);
    font-size: 1.1rem;
}

.btn-card-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(253, 75, 127, 0.3);
}

/* Footer Bottom Strip */
.footer-bottom {
    padding: 40px 5% 0;
    margin-top: 40px;
    text-align: center;
}

.footer-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--text-light);
}

@media (max-width: 1200px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3.5rem;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-brand p {
        margin: 2rem auto 0;
    }

    .footer-links a {
        justify-content: center;
        grid-template-columns: auto auto;
    }

    .contact-item {
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .social-links-minimal {
        justify-content: center;
        margin: 3rem auto 0;
    }

    .footer-bottom-container {
        flex-direction: column;
    }
}

@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1.2fr;
    }
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-links a {
        justify-content: center;
    }

    .contact-item {
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .social-links-minimal {
        justify-content: center;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* MODAL & CALENDAR POLISH */
#calendar {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
}

.fc-toolbar-title {
    font-size: 1.5rem !important;
    font-weight: 800;
    color: var(--secondary);
}

.fc-button-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    text-transform: capitalize !important;
}

.fc-button-primary:hover {
    background-color: var(--primary-dark) !important;
}

.fc-daygrid-day-number {
    font-weight: 600;
    padding: 8px !important;
}

/* Modals */
.dash-card h3 {
    border-bottom: 2px solid #fdf2f5;
    padding-bottom: 1rem;
}

#admin-modal,
#patient-modal,
#patient-reg-modal,
#student-registration-modal,
#course-mgmt-modal,
#lesson-mgmt-modal,
#report-upload-modal {
    max-height: 90vh;
    overflow-y: auto;
    border: none;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.2);
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) transparent;
}

#admin-modal textarea,
#patient-modal textarea {
    border: 1.5px solid #edf2f7;
    background: #f8fafc;
    transition: var(--transition);
}

#admin-modal textarea:focus,
#patient-modal textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Dashboard */
.sidebar {
    width: 280px;
    background: var(--white);
    border-right: 1px solid #e2e8f0;
    padding: 2.5rem 1.5rem;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 100;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #f1f5f9 transparent;
}

.sidebar::-webkit-scrollbar {
    width: 4px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #f1f5f9;
    border-radius: 10px;
}

.sidebar-logo {
    height: 90px;
    margin-bottom: 2.5rem;
    padding-left: 0.5rem;
    display: flex;
    align-items: center;
}

.user-profile-sidebar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #f1f5f9;
}

.sidebar-menu {
    list-style: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centrar botones verticalmente */
    margin: 3.5rem 0;
}

.sidebar-menu li {
    margin-bottom: 0.5rem;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
    transition: var(--transition);
}

.sidebar-menu a:hover,
.sidebar-menu li.active a {
    background: #fdf2f5;
    color: var(--primary);
}

.sidebar-menu a i {
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.sidebar-footer {
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
    /* Push to bottom */
}

/* Dashboard Content */
.dashboard-main {
    flex: 1;
    padding: 3rem 5%;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.dashboard-header h1 {
    font-size: 2rem;
    color: var(--text);
}

.dashboard-header .date {
    color: var(--text-light);
    font-weight: 500;
}

.dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.dash-card {
    background: var(--white);
    padding: 2.2rem;
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

.dash-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--secondary);
}

.dash-card h3 i {
    color: var(--primary);
}

/* List Items in Cards */
.dash-list {
    list-style: none;
}

.dash-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.dash-item:last-child {
    border-bottom: none;
}

.item-date {
    background: #fdf2f5;
    color: var(--primary);
    padding: 0.6rem;
    border-radius: 10px;
    text-align: center;
    min-width: 65px;
}

.item-date .day {
    font-size: 1.2rem;
    font-weight: 800;
    display: block;
}

.item-date .month {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.item-details h5 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.item-details p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.status-badge {
    margin-left: auto;
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
}

.status-confirmed {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.status-pending {
    background: #fff9db;
    color: #856404;
    border: 1px solid #ffeeba;
}

.status-rejected {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* FullCalendar Custom Theme */
.fc {
    font-family: 'Outfit', sans-serif !important;
}

.fc-toolbar-title {
    color: var(--secondary);
    font-weight: 700 !important;
}

.fc-button {
    background: var(--white) !important;
    border: 1px solid #e2e8f0 !important;
    color: var(--text) !important;
    font-weight: 600 !important;
    text-transform: capitalize !important;
    padding: 0.6rem 1rem !important;
    border-radius: 12px !important;
    transition: var(--transition) !important;
}

.fc-button:hover {
    background: #f8fafc !important;
    border-color: var(--primary) !important;
}

.fc-button-active {
    background: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
}

.fc-event {
    cursor: pointer;
    border-radius: 6px !important;
    padding: 2px 5px !important;
    font-weight: 500 !important;
    font-size: 0.85rem !important;
}

/* Modal Enhancements */
#modal-overlay {
    animation: fadeIn 0.3s ease;
}

#admin-modal,
#patient-modal {
    animation: slideUp 0.4s ease;
    border-radius: 30px !important;
    border: none !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.course-mini-card {
    margin-bottom: 1.5rem;
}

.course-header-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.course-progress-wrapper {
    height: 10px;
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
}

.course-progress-bar {
    height: 100%;
    background: var(--primary);
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

/* Reports / Files Dashboard */
.file-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.file-item:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.file-icon {
    font-size: 1.5rem;
    color: var(--primary-light);
}

.file-info {
    flex: 1;
}

.file-info h5 {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.file-info span {
    font-size: 0.75rem;
    color: var(--text-light);
}

.btn-download {
    color: var(--secondary);
    font-size: 1.2rem;
    padding: 0.5rem;
}

/* Mobile Dashboard Adjustments */
@media (max-width: 992px) {
    .dashboard-wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 1.5rem;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .sidebar-logo {
        margin-bottom: 0;
        height: 45px;
    }
}

/* --- MODERN FORM GROUPS (Modals) --- */
.form-group-modern {
    margin-bottom: 1rem;
    /* MÃƒÆ’Ã‚Â¡s compacto verticalmente */
    text-align: left;
    width: 100%;
}

.form-group-modern label {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    /* Un poco mÃƒÆ’Ã‚Â¡s pequeÃƒÆ’Ã‚Â±o */
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group-modern label i {
    margin-right: 0.6rem;
    color: var(--primary);
    font-size: 1rem;
    width: 20px;
}

.form-group-modern input,
.form-group-modern select,
.form-group-modern textarea {
    width: 100% !important;
    display: block;
    padding: 1rem 1.2rem;
    /* Mantengo el tamaÃƒÆ’Ã‚Â±o pero un poco mÃƒÆ’Ã‚Â¡s ajustado */
    border-radius: 15px;
    border: 2px solid #edf2f7;
    background: #f8fafc;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
    transition: var(--transition);
}

.form-group-modern input:focus,
.form-group-modern select:focus,
.form-group-modern textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 5px 15px rgba(167, 212, 251, 0.1);
}

.form-group-modern textarea {
    resize: none;
}

.modal-content {
    background: var(--white);
    max-width: 480px;
    width: 95%;
    border-radius: 30px;
    padding: 2.5rem !important;
    position: relative;
    /* CRITICAL for the X button */
    animation: modalFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
    .modal-content {
        padding: 1.5rem !important;
        border-radius: 20px;
    }

    .form-group-modern {
        margin-bottom: 0.8rem;
    }

    .form-group-modern input,
    .form-group-modern select,
    .form-group-modern textarea {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .form-group-modern label {
        font-size: 0.75rem;
        margin-bottom: 0.3rem;
    }
}

.modal-content .icon-small {
    width: 50px !important;
    height: 50px !important;
    margin-bottom: 1rem !important;
}

.modal-content h3 {
    font-size: 1.5rem !important;
    margin-bottom: 0.2rem !important;
}

/* --- CALENDAR COMPACTION & TABLE --- */

.fc {
    max-height: none !important;
    /* Eliminada restricciÃƒÆ’Ã‚Â³n de altura global */
}

/* Achicar los recuadros del calendario */
.fc-daygrid-day-frame {
    min-height: 60px !important;
    /* Altura mínima reducida para escritorio */
}

@media (max-width: 768px) {
    .fc-daygrid-day-frame {
        min-height: 110px !important;
        /* Más alto en móvil para facilitar el toque */
    }

    .fc-daygrid-day-number {
        font-size: 1.1rem !important;
        padding: 10px !important;
        font-weight: 800;
    }

    .fc-col-header-cell-cushion {
        font-size: 0.9rem !important;
        text-transform: uppercase;
    }
}

/* Días de otros meses en gris y menos pesados */
.fc-day-other {
    background-color: #f9fbff !important;
}

.fc-day-other .fc-daygrid-day-number {
    color: #cbd5e1 !important;
    font-weight: 400 !important;
}

/* Día actual y del mes en curso en negrita */
.fc-daygrid-day-number {
    font-weight: 800;
    color: var(--secondary);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.fc-daygrid-day-number:hover {
    color: var(--primary);
}

.fc-event {
    cursor: pointer;
    border-radius: 8px !important;
    margin-bottom: 3px !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.2s ease !important;
    overflow: hidden !important;
}

.fc-event-main {
    padding: 6px 10px !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    border-left: 5px solid !important;
    border-left-color: inherit !important;
    /* Hereda el color del estado */
    background-color: inherit !important;
    /* Hereda el pastel de JS */
    color: inherit !important;
    /* Hereda el texto oscuro de JS */
}

.fc-daygrid-block-event {
    background-color: inherit !important;
}

/* Acciones en la tabla premium */
.premium-table .btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.premium-table .btn-login:hover {
    transform: scale(1.1);
    background: #f8fafc;
}

.fc-daygrid-event {
    white-space: normal !important;
    /* Permitir un poco mÃƒÆ’Ã‚Â¡s de texto */
}

.fc-v-event {
    background-color: var(--primary);
    border: none !important;
}

.premium-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 1rem;
}

.premium-table th {
    background: #f8fafc;
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem;
    text-align: left;
    border-bottom: 2px solid #edf2f7;
}

.premium-table td {
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--text);
    border-bottom: 1px solid #f1f5f9;
}

.premium-table tr:last-child td {
    border-bottom: none;
}

.premium-table tr:hover {
    background: #fff5f0;
}

.table-responsive,
#patients-table-container {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    #patients-table-container .premium-table {
        min-width: 950px !important;
        /* Asegura que todas las columnas y botones quepan */
    }
}

/* Modal Close Button (X) */
.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.2s ease;
    z-index: 10;
}

.modal-close-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: rotate(90deg);
}

/* --- REPORTS VIEW STYLES --- */
#reports-patient-container {
    gap: 1.5rem;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    background: #f8fafc;
    border-radius: 15px;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.file-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background: var(--white);
}

.file-icon {
    font-size: 1.5rem;
    color: #ef4444;
    margin-right: 1.2rem;
}

.file-info {
    flex: 1;
}

.file-info h5 {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text);
}

.file-info span {
    font-size: 0.75rem;
    color: var(--text-light);
}

.btn-download {
    color: var(--primary);
    background: #fff5f0;
    width: 35px;
    height: 35px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.btn-download:hover {
    background: var(--primary);
    color: var(--white);
}

#reports-view .dash-card {
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

#reports-view .dash-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(167, 212, 251, 0.1);
}

/* --- DASHBOARD SUMMARY: WIDE REPORTS --- */
#reports-summary-card .file-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.file-item-summary {
    display: flex;
    align-items: center;
    background: #f8fafc;
    padding: 1.2rem;
    border-radius: 18px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.file-item-summary:hover {
    transform: translateY(-3px);
    background: var(--white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-light);
}

.file-icon-wrapper {
    width: 50px;
    height: 50px;
    background: #fff5f0;
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-right: 1.2rem;
}

.file-info-main {
    flex: 1;
}

.file-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.file-title-row h5 {
    margin: 0;
    font-size: 1rem;
    color: var(--secondary);
    font-weight: 600;
}

.file-date {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

.file-meta-row {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.file-type-tag {
    font-size: 0.7rem;
    background: #e2e8f0;
    color: #475569;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
}

.file-patient-tag {
    font-size: 0.7rem;
    background: #dcfce7;
    color: #166534;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-weight: 600;
}

.file-actions-summary {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.file-actions-summary .btn-view-summary {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.file-actions-summary .btn-view-summary:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.file-actions-summary .btn-delete-summary {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    color: #ef4444;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    cursor: pointer;
    margin-left: 0.5rem;
}

.file-actions-summary .btn-delete-summary:hover {
    background: #ef4444;
    color: var(--white);
    transform: scale(1.1);
}

@media (max-width: 600px) {
    #reports-summary-card .file-list {
        grid-template-columns: 1fr;
    }

    .file-item-summary {
        padding: 1rem;
    }
}

/* --- RESPONSIVE SIDEBAR (MOBILE) --- */
.mobile-only-btn {
    display: none;
    background: white;
    border: 1.5px solid #f1f5f9;
    color: var(--primary);
    padding: 0.6rem;
    border-radius: 12px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.mobile-only-btn:hover {
    background: #fff5f0;
    border-color: var(--primary-light);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
    /* Above sidebar initially */
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

@media (max-width: 1024px) {
    .mobile-only-btn {
        display: flex;
    }

    /* FORCED STABILITY FOR SIDEBAR */
    .sidebar {
        position: fixed !important;
        left: -320px !important;
        top: 0 !important;
        width: 290px !important;
        height: 100vh !important;
        background-color: #ffffff !important;
        /* Force solid white */
        opacity: 1 !important;
        z-index: 9999 !important;
        /* Absolute top */
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: 20px 0 60px rgba(0, 0, 0, 0.2) !important;
        padding: 2rem 1.5rem !important;
        display: flex !important;
        flex-direction: column !important;
        overflow-y: auto !important;
        border-right: none !important;
    }

    .sidebar.active {
        left: 0 !important;
    }

    /* Prevent content from shrinking or shifting */
    .dashboard-wrapper {
        display: block !important;
    }

    .dashboard-main {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 1.5rem 0.8rem !important;
        /* Slightly less padding */
    }

    /* CALENDAR EXPANSION */
    #calendar-view {
        padding: 1.2rem 0.8rem !important;
        /* More width for calendar */
    }

    #calendar {
        margin-bottom: 2rem !important;
    }

    .fc .fc-toolbar {
        flex-direction: column !important;
        gap: 0.8rem !important;
    }

    .fc .fc-toolbar-title {
        font-size: 1.1rem !important;
    }

    /* REPORTS SUMMARY OPTIMIZATION */
    .file-item-summary {
        padding: 1.2rem !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
    }

    .file-info-summary {
        width: 100% !important;
    }

    .file-actions-summary {
        width: 100% !important;
        justify-content: flex-end !important;
        margin-top: 0.5rem !important;
        border-top: 1px solid #f1f5f9;
        padding-top: 0.8rem;
    }

    /* BLOCK SYSTEM FOR DASHBOARD CONTENT - REFINED STABILITY */
    #dashboard-content-main {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.2rem !important;
        width: 100% !important;
        padding-bottom: 2rem;
    }

    #summary-view,
    #calendar-view,
    #weekly-summary-section,
    #reports-view {
        width: 100% !important;
        box-sizing: border-box !important;
        height: auto !important;
        /* Forces containers to wrap their content */
    }

    /* DEFINTIVE MOBILE STABILITY - ZERO BLEED SYSTEM */
    .dashboard-main,
    .dashboard-main *,
    #dashboard-content-main,
    .dash-card,
    #reports-summary-card {
        box-sizing: border-box !important;
        max-width: 100% !important;
    }

    #dashboard-content-main {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.2rem !important;
        width: 100% !important;
        padding: 0 !important;
        /* Managed by parent padding */
        overflow-x: hidden !important;
    }

    #calendar-view,
    #weekly-summary-section,
    #reports-view,
    .dash-card {
        background: white !important;
        border-radius: 20px !important;
        padding: 1.2rem 1rem !important;
        /* Compact balanced padding */
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04) !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Reports Mobile Item Refinement */
    .file-item-summary {
        width: 100% !important;
        margin: 0 !important;
        padding: 0.8rem 0.5rem !important;
        /* Less horizontal padding */
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
        border-bottom: 1px solid #f1f5f9;
        overflow: hidden !important;
    }

    /* Fixed height for summary items on PC (moved out or kept safe) */
    @media (min-width: 1025px) {
        .file-item-summary {
            min-height: 60px;
        }
    }

    #calendar {
        min-height: 450px !important;
        /* Reduced 10% to fit perfectly */
        width: 100% !important;
        margin-bottom: 1rem !important;
    }

    /* Shrink the calendar cells by ~10% */
    .fc .fc-daygrid-day-frame {
        min-height: 80px !important;
        /* Slightly more compact cells */
    }

    /* --- PREMIUM COURSE CARD DESIGN - STABILIZED --- */

    .course-card-premium {
        background: var(--white);
        border-radius: 20px;
        overflow: hidden;
        border: 1px solid rgba(15, 23, 42, 0.08);
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
        position: relative;
        display: flex;
        flex-direction: column;
        height: 100%;
        max-width: 400px;
        /* AHORA MÃƒÆ’Ã‚Â S COMPACTA */
        margin: 0;
        /* CORRIDO A LA IZQUIERDA */
    }

    .course-card-premium:hover {
        transform: translateY(-8px);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
        border-color: var(--primary-light);
    }

    .course-card-premium .thumb-wrapper {
        position: relative;
        height: 180px;
        /* ALTURA REDUCIDA PARA QUE NO SE VEA ENORME */
        overflow: hidden;
        background: #f1f5f9;
    }

    .course-card-premium .thumb-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        /* CAMBIADO DE COVER A CONTAIN PARA EVITAR CORTES */
        background: #f8fafc;
        transition: transform 0.6s ease;
    }

    .course-card-premium .thumb-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(15, 23, 42, 0.4) 0%, transparent 40%);
        display: flex;
        align-items: flex-end;
        padding: 1rem;
        pointer-events: none;
    }

    .course-card-premium .badge-lesson {
        background: var(--secondary);
        color: white;
        padding: 0.5rem 1rem;
        border-radius: 50px;
        font-size: 0.8rem;
        font-weight: 700;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 2;
        width: fit-content;
        display: inline-block;
    }

    .course-card-premium .course-content {
        padding: 2rem;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .course-card-premium .course-title {
        font-size: 1.4rem;
        font-weight: 700;
        color: var(--secondary);
        margin-bottom: 0.8rem;
        line-height: 1.2;
    }

    .course-card-premium .course-desc {
        font-size: 0.95rem;
        color: var(--text-light);
        line-height: 1.6;
        margin-bottom: 2rem;
    }

    .course-card-premium .admin-toolbar {
        display: flex;
        gap: 0.8rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid #f1f5f9;
    }

    .course-card-premium .btn-admin-action {
        height: 48px;
        /* MÃƒÆ’Ã‚Â S GRANDES */
        border-radius: 12px;
        border: 1px solid #e2e8f0;
        background: #f8fafc;
        color: var(--text);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
        cursor: pointer;
        font-size: 1rem;
        /* MÃƒÆ’Ã‚Â S GRANDE */
        padding: 0 1rem;
    }

    .course-card-premium .btn-admin-action:hover {
        background: var(--white);
        border-color: var(--primary);
        color: var(--primary);
    }

    .course-card-premium .btn-delete-action {
        color: #ef4444;
    }

    .course-card-premium .main-action-btn {
        width: 100%;
        padding: 1.2rem;
        border-radius: 15px;
        font-weight: 700;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.8rem;
    }

    /* Grilla Alineada a la Izquierda */
    #courses-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 2.5rem;
        justify-content: start;
        /* CORRIDO A LA IZQUIERDA */
    }

    /* Course Player & Playlist Refinements */

    .lesson-item {
        display: flex;
        align-items: center;
        gap: 1.2rem;
        padding: 1.2rem;
        border-radius: 18px;
        background: #f8fafc;
        border: 1px solid transparent;
        cursor: pointer;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        margin-bottom: 0.8rem;
    }

    .lesson-item:hover {
        background: var(--white);
        transform: translateX(8px);
        border-color: var(--primary-light);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .lesson-item.active {
        background: #fdf2f5;
        border-color: var(--primary);
        box-shadow: 0 8px 20px rgba(253, 75, 127, 0.08);
    }

    .lesson-item.locked {
        opacity: 0.5;
        cursor: not-allowed;
        filter: grayscale(1);
    }

    .lesson-item.locked:hover {
        transform: none;
        background: #f8fafc;
        border-color: transparent;
        box-shadow: none;
    }

    .progress-bar-container {
        background: #f1f5f9;
        border-radius: 100px;
        overflow: hidden;
    }

    @keyframes progressAnim {
        from {
            width: 0;
        }
    }

    .progress-bar-container div {
        animation: progressAnim 1s ease-out forwards;
    }

    /* Responsividad para la grilla de cursos */
    @media (max-width: 1024px) {
        #courses-grid {
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
            gap: 1.5rem !important;
        }
    }

    @media (max-width: 600px) {
        #courses-grid {
            grid-template-columns: 1fr !important;
        }

        #player-container-full .player-grid-responsive {
            grid-template-columns: 1fr !important;
        }

        #player-container-full .playlist-container {
            border-left: none !important;
            border-top: 1px solid #f1f5f9;
            max-height: none !important;
        }
    }

    /* --- ACCORDION SYSTEM --- */
    .accordion-header {
        cursor: pointer;
        transition: background 0.2s;
    }

    .accordion-header:hover {
        background: #f1f5f9 !important;
    }

    .accordion-header i.fa-chevron-down {
        transition: transform 0.3s ease;
    }

    .accordion-header.active i.fa-chevron-down {
        transform: rotate(180deg);
    }

    .accordion-content {
        display: block;
        /* Visible by default on PC */
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    @media (max-width: 1024px) {
        .accordion-content {
            display: none;
            /* Collapsed by default on mobile */
        }

        .accordion-content.active {
            display: block;
        }
    }

    /* --- PURCHASE MODAL STYLES --- */
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(15, 23, 42, 0.6);
        backdrop-filter: blur(8px);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 2000;
        animation: fadeIn 0.3s ease-out;
    }

    .form-group-premium input:focus {
        border-color: var(--primary) !important;
        box-shadow: 0 0 0 4px rgba(253, 75, 127, 0.1);
    }

    /* --- SISTEMA DE CABECERAS DASHBOARD PREMIUM (ARREGLO FINAL) --- */
    .dash-header-premium {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        margin-bottom: 2.5rem !important;
        flex-wrap: nowrap !important;
    }

    .dash-buttons-group {
        display: flex !important;
        flex-direction: row !important;
        gap: 0.8rem !important;
        align-items: center !important;
    }

    /* Botones ultra-estÃ©ticos y compactos para PC */
    .dash-buttons-group .btn {
        width: auto !important;
        min-width: 120px !important;
        padding: 0.3rem 0.8rem !important;
        font-size: 0.75rem !important;
        height: 32px !important;
        border-radius: 8px !important;
        white-space: nowrap !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        transition: all 0.2s ease !important;
    }

    .dash-buttons-group .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    }

    @media (max-width: 768px) {
        .dash-header-premium {
            flex-direction: column !important;
            align-items: flex-start !important;
            gap: 1.2rem !important;
        }

        .dash-buttons-group {
            width: 100% !important;
            flex-direction: column !important;
            gap: 0.8rem !important;
        }

        .dash-buttons-group .btn {
            width: 100% !important;
            height: 48px !important;
            font-size: 1rem !important;
            padding: 0.8rem !important;
        }
    }
}

/* Training Modal Styles */
.training-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(19, 38, 58, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.training-modal-overlay.active {
    display: flex !important;
    opacity: 1;
}

.training-modal-content {
    background: white;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 30px;
    position: relative;
    padding: 3rem;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.training-modal-overlay.active .training-modal-content {
    transform: scale(1);
}

.training-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.training-modal-close:hover {
    color: var(--camila-pink);
    transform: rotate(90deg);
}

.training-title {
    font-family: 'Fredoka', sans-serif;
    color: var(--camila-pink);
    font-size: 2rem;
    margin-bottom: 2rem;
    line-height: 1.3;
    text-align: left;
}

.training-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.training-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.5;
}

.training-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--camila-blue);
    font-size: 1.5rem;
    line-height: 1;
}

/* Google Reviews Section */
.google-reviews-premium {
    padding: 100px 0;
    background: linear-gradient(180deg, #f0f9ff 0%, #e6f4ff 100%);
    overflow: hidden;
    position: relative;
}

.google-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 50px;
}

.google-brand-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.google-brand-logo {
    height: 60px;
}

.google-reviews-label {
    font-size: 2.2rem;
    font-weight: 400;
    color: #5f6368;
    font-family: 'Outfit', sans-serif;
    margin-top: -5px;
}

.google-rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

@media (max-width: 600px) {
    .training-modal-content {
        padding: 2rem 1.5rem;
        width: 95%;
    }

    .training-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .google-brand-logo {
        height: 40px;
    }

    .google-reviews-label {
        font-size: 1.6rem;
    }

    .rating-number {
        font-size: 1.8rem;
    }

    .google-rating-summary {
        flex-direction: column;
        gap: 8px;
    }

    .google-rating-summary .stars {
        font-size: 1.1rem;
    }
}

.rating-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a1a;
    font-family: 'Outfit', sans-serif;
}

.google-rating-summary .stars {
    color: #fbaf08;
    font-size: 1.4rem;
    display: flex;
    gap: 4px;
}

.rating-count {
    font-size: 0.9rem;
    color: #5f6368;
    font-weight: 500;
}

.reviews-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 30px 0;
}

.reviews-marquee-inner {
    display: flex;
    width: max-content;
    animation: marquee 80s linear infinite;
}

.reviews-marquee-inner:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.review-card {
    background: white;
    width: 350px;
    margin: 0 20px;
    padding: 30px;
    border-radius: 25px;
    border: 2px solid rgba(254, 118, 174, 0.15);
    box-shadow: 0 15px 35px rgba(97, 183, 253, 0.12), 0 5px 15px rgba(254, 118, 174, 0.08);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: all 0.3s ease;
}

.sticky-nav .logo img {
    height: 68px;
    /* Aumentado 50% */
    transition: height 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--camila-pink);
    box-shadow: 0 20px 40px rgba(97, 183, 253, 0.18), 0 10px 20px rgba(254, 118, 174, 0.15);
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.review-user-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.review-user-info strong {
    font-size: 1.05rem;
    color: var(--secondary);
    font-weight: 700;
}

.review-user-info span {
    font-size: 0.85rem;
    color: #70757a;
}

.review-stars {
    color: #fbaf08;
    font-size: 0.9rem;
    display: flex;
    gap: 2px;
}

.review-text {
    font-size: 0.95rem;
    color: #3c4043;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.reviews-cta-wrapper {
    text-align: center;
    margin-top: 50px;
}

.btn-reviews-corporate {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 2rem;
    background: var(--camila-pink);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-reviews-corporate:hover {
    background: #e65a94;
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(254, 118, 174, 0.3);
}