    :root {
        /* Refined Color Palette */
        --primary: #2563eb;
        --primary-deep: #1d4ed8;
        --accent-blue: #3b82f6;
        --accent-purple: #8b5cf6;
        --accent-green: #10b981;

        --gray-50: #f8fafc;
        --gray-100: #f1f5f9;
        --gray-200: #e2e8f0;
        --gray-300: #cbd5e1;
        --gray-400: #94a3b8;
        --gray-500: #64748b;
        --gray-600: #475569;
        --gray-700: #334155;
        --gray-800: #1e293b;
        --gray-900: #0f172a;

        /* Premium Shadow Tokens */
        --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
        --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.04), 0 4px 6px -2px rgba(15, 23, 42, 0.02);
        --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.05), 0 10px 10px -5px rgba(15, 23, 42, 0.02);
        --shadow-premium: 0 25px 50px -12px rgba(15, 23, 42, 0.08);

        /* Layout Tokens */
        --container-max: 1280px;
        --section-spacing: 120px;
        --border-radius: 16px;

        /* Restored Colors for Previous Design */
        --blue-50: #eff6ff;
        --blue-600: #2563eb;
        --blue-700: #1d4ed8;
        --purple-50: #f5f3ff;
        --purple-600: #9333ea;
        --red-500: #ef4444;
        --white: #ffffff;
    }

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

    /* ============================================================
       APPLE-STYLE DESIGN SYSTEM
       ============================================================ */
    html {
        scroll-behavior: smooth;
    }


    body {
        font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', sans-serif;
        background: #ffffff;
        color: #1d1d1f;
        line-height: 1.6;
        overflow-x: hidden;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    main {
        display: block;
    }

    /* SECTION SYSTEM — Normal flow, full viewport height */
    .section {
        min-height: 100dvh;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }

    /* Hero gets extra top padding so headline clears the fixed navbar */
    #inicio .section-inner {
        padding-top: 220px;
        padding-bottom: 120px;
    }

    .section-light {
        background: #ffffff;
        color: #1d1d1f;
    }

    .section-dark {
        background: #000000;
        color: #f5f5f7;
    }

    .section-gray {
        background: #f5f5f7;
        color: #1d1d1f;
    }

    .section-inner {
        width: 100%;
        max-width: 1080px;
        margin: 0 auto;
        padding: 100px 48px;
    }

    /* ============================================================
       APPLE TYPOGRAPHY
       ============================================================ */
    .apple-eyebrow {
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        margin-bottom: 20px;
        display: block;
    }

    .section-dark .apple-eyebrow {
        color: #6e6e73;
    }

    .section-light .apple-eyebrow {
        color: #6e6e73;
    }

    .apple-headline {
        font-size: clamp(48px, 7.5vw, 92px);
        font-weight: 800;
        line-height: 1.01;
        letter-spacing: -0.05em;
        margin-bottom: 32px;
    }

    .section-dark .apple-headline {
        background: linear-gradient(180deg, #ffffff 0%, #86868b 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .section-light .apple-headline {
        color: #1d1d1f;
    }

    .apple-subheadline {
        font-size: clamp(19px, 2.2vw, 24px);
        font-weight: 400;
        line-height: 1.45;
        margin-bottom: 48px;
        max-width: 600px;
    }

    .section-dark .apple-subheadline {
        color: #86868b;
    }

    .section-light .apple-subheadline {
        color: #6e6e73;
    }

    .apple-body {
        font-size: clamp(17px, 1.5vw, 19px);
        font-weight: 400;
        line-height: 1.7;
    }

    .section-dark .apple-body {
        color: #a1a1a6;
    }

    .section-light .apple-body {
        color: #6e6e73;
    }

    /* ============================================================
       APPLE BUTTONS
       ============================================================ */
    .apple-btn-primary {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 16px 36px;
        background: #0071e3;
        color: #fff;
        font-size: 17px;
        font-weight: 500;
        border-radius: 980px;
        text-decoration: none;
        transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
        border: none;
        cursor: pointer;
    }

    .apple-btn-primary:hover {
        background: #0077ed;
        transform: scale(1.04) translateY(-1px);
        box-shadow: 0 12px 24px rgba(0, 113, 227, 0.3);
    }

    .apple-btn-primary:active {
        transform: scale(0.98);
    }

    .apple-btn-ghost {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 16px 36px;
        font-size: 17px;
        font-weight: 500;
        border-radius: 980px;
        text-decoration: none;
        transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
        border: 1.5px solid currentColor;
        background: transparent;
    }

    .section-dark .apple-btn-ghost {
        color: #f5f5f7;
    }

    .section-light .apple-btn-ghost {
        color: #0071e3;
    }

    .apple-btn-ghost:hover {
        background: rgba(255, 255, 255, 0.08);
        transform: scale(1.04) translateY(-1px);
    }

    .apple-btn-ghost:active {
        transform: scale(0.98);
    }

    /* ============================================================
       ENTRANCE ANIMATIONS (JS-triggered via IntersectionObserver)
       ============================================================ */
    .anim {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
            transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .anim.from-left {
        transform: translateX(-40px);
    }

    .anim.from-right {
        transform: translateX(40px);
    }

    .anim.from-scale {
        transform: scale(0.93);
    }

    .anim.visible {
        opacity: 1;
        transform: none;
    }

    .anim-d1 {
        transition-delay: 0.1s;
    }

    .anim-d2 {
        transition-delay: 0.22s;
    }

    .anim-d3 {
        transition-delay: 0.34s;
    }

    .anim-d4 {
        transition-delay: 0.46s;
    }

    .anim-d5 {
        transition-delay: 0.58s;
    }

    /* ============================================================
       PREMIUM ANIMATIONS — Ambient, Hover, Hero, Interactive
       ============================================================ */

    /* 1. Animated gradient text on hero headline */
    .apple-headline.gradient-anim {
        background: linear-gradient(135deg, #ffffff 0%, #a0c4ff 25%, #cbdbff 50%, #a0c4ff 75%, #ffffff 100%);
        background-size: 200% auto;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: textShimmer 8s linear infinite;
    }

    /* Noise texture overlay */
    /* Noise texture overlay - REMOVED */
    .section-dark::after {
        content: none;
    }

    @keyframes textShimmer {
        0% {
            background-position: 200% center;
        }

        100% {
            background-position: -200% center;
        }
    }

    /* 2. Floating ambient orbs in hero background */
    .hero-orb {
        position: absolute;
        border-radius: 50%;
        filter: blur(80px);
        pointer-events: none;
        will-change: transform;
    }

    .hero-orb-1 {
        width: 700px;
        height: 700px;
        background: radial-gradient(circle, rgba(0, 113, 227, 0.22) 0%, transparent 70%);
        top: -150px;
        left: -150px;
        animation: orbFloat1 20s ease-in-out infinite;
    }

    .hero-orb-2 {
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(100, 60, 255, 0.15) 0%, transparent 70%);
        bottom: -100px;
        right: -100px;
        animation: orbFloat2 25s ease-in-out infinite;
    }

    .hero-orb-3 {
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(0, 200, 150, 0.10) 0%, transparent 70%);
        top: 50%;
        right: 15%;
        animation: orbFloat1 22s ease-in-out infinite reverse;
    }

    @keyframes orbFloat1 {

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

        33% {
            transform: translate(30px, -40px) scale(1.08);
        }

        66% {
            transform: translate(-20px, 20px) scale(0.96);
        }
    }

    @keyframes orbFloat2 {

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

        40% {
            transform: translate(-25px, 30px) scale(1.05);
        }

        80% {
            transform: translate(15px, -20px) scale(0.95);
        }
    }

    /* 3. Methodology step number count-up shimmer */
    .step-number {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.18) 50%, rgba(255, 255, 255, 0.06) 100%);
        background-size: 200% 100%;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: stepShimmer 4s ease-in-out infinite;
    }

    @keyframes stepShimmer {
        0% {
            background-position: 200% 0;
        }

        100% {
            background-position: -200% 0;
        }
    }

    /* 4. Card hover — lift + blue border glow */
    .hover-lift {
        transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
            box-shadow 0.35s ease;
    }

    .hover-lift:hover {
        transform: translateY(-8px) scale(1.015);
        box-shadow: 0 24px 60px rgba(0, 113, 227, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    /* 5. Primary button persistent glow pulse */
    .apple-btn-primary {
        position: relative;
        overflow: hidden;
    }

    .apple-btn-primary::after {
        content: '';
        position: absolute;
        inset: -3px;
        border-radius: inherit;
        background: linear-gradient(135deg, rgba(0, 113, 227, 0.5), rgba(100, 60, 255, 0.4));
        filter: blur(8px);
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: -1;
    }

    .apple-btn-primary:hover::after {
        opacity: 1;
    }

    .apple-btn-primary:hover {
        transform: scale(1.04);
        box-shadow: 0 8px 32px rgba(0, 113, 227, 0.35);
    }

    /* 6. Section line reveal (horizontal rule that draws in) */
    .line-reveal {
        display: block;
        height: 1px;
        background: rgba(255, 255, 255, 0.15);
        transform-origin: left;
        transform: scaleX(0);
        transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .line-reveal.visible {
        transform: scaleX(1);
    }

    /* 7. Certificate image parallax glow ring */
    #proof-premium .anim.from-left {
        position: relative;
    }

    #proof-premium .anim.from-left::before {
        content: '';
        position: absolute;
        inset: -20px;
        border-radius: 32px;
        background: radial-gradient(ellipse at center, rgba(0, 113, 227, 0.12) 0%, transparent 70%);
        pointer-events: none;
        animation: certGlow 5s ease-in-out infinite;
    }

    @keyframes certGlow {

        0%,
        100% {
            opacity: 0.6;
            transform: scale(1);
        }

        50% {
            opacity: 1;
            transform: scale(1.04);
        }
    }

    /* Step card — clean blue top border on hover, no box shadow */
    .step-card {
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        padding-top: 32px;
        transition: border-top-color 0.4s ease;
    }

    .step-card:hover {
        border-top-color: #0071e3;
    }

    .step-card:hover .step-number {
        opacity: 0.75;
    }

    /* 8. FAQ item hover highlight */
    .faq-item {
        transition: background 0.3s ease;
        cursor: pointer;
        user-select: none;
    }

    .faq-item:hover {
        background: rgba(0, 113, 227, 0.04);
    }

    /* 9. Stats strip number glow on visibility */
    #statCourses {
        transition: opacity 0.5s ease;
    }

    /* 10. Hero section background noise texture overlay */
    #inicio::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
        opacity: 0.03;
        pointer-events: none;
        z-index: 0;
    }

    #inicio .section-inner {
        position: relative;
        z-index: 1;
    }

    /* ============================================================
       DIVIDER
       ============================================================ */
    .apple-divider {
        border: none;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        margin: 0;
    }

    .section-dark .apple-divider {
        border-top-color: rgba(255, 255, 255, 0.08);
    }


    /* Grid Accordion Animation */
    .faq-answer {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        opacity: 0;
    }

    .faq-item.faq-open .faq-answer {
        grid-template-rows: 1fr;
        opacity: 1;
    }

    .faq-answer>div {
        overflow: hidden;
    }

    /* Icon rotation controlled by class */
    .faq-question i,
    .faq-question svg {
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .faq-item.faq-open .faq-question i,
    .faq-item.faq-open .faq-question svg {
        transform: rotate(45deg);
    }

    .faq-question {
        outline: none !important;
        -webkit-tap-highlight-color: transparent;
    }



    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-100px);
        }

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

    @keyframes pulse {

        0%,
        100% {
            transform: scale(1);
            opacity: 1;
        }

        50% {
            transform: scale(1.3);
            opacity: 0.7;
        }
    }

    @keyframes float {

        0%,
        100% {
            transform: translateY(0) scale(1);
        }

        50% {
            transform: translateY(-30px) scale(1.1);
        }
    }

    @keyframes floatReverse {

        0%,
        100% {
            transform: translateY(0) scale(1.1);
        }

        50% {
            transform: translateY(20px) scale(1);
        }
    }

    .animate-fadeInUp {
        animation: fadeInUp 0.6s ease-out forwards;
    }

    .animate-fadeInRight {
        animation: fadeInRight 0.8s ease-out forwards;
    }

    .animate-slideDown {
        animation: slideDown 0.6s ease-out forwards;
    }

    .delay-100 {
        animation-delay: 0.1s;
        opacity: 0;
    }

    .delay-200 {
        animation-delay: 0.2s;
        opacity: 0;
    }

    .delay-300 {
        animation-delay: 0.3s;
        opacity: 0;
    }

    .delay-400 {
        animation-delay: 0.4s;
        opacity: 0;
    }

    .delay-500 {
        animation-delay: 0.5s;
        opacity: 0;
    }

    .delay-600 {
        animation-delay: 0.6s;
        opacity: 0;
    }

    .delay-700 {
        animation-delay: 0.7s;
        opacity: 0;
    }

    .navbar {
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
        background: transparent;
        backdrop-filter: blur(0px);
        transition: all 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
        border-bottom: 1px solid transparent;
    }

    .navbar.scrolled {
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    }

    .navbar-inner {
        max-width: 1280px;
        margin: 0 auto;
        padding: 16px 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .logo {
        display: flex;
        align-items: center;
        gap: 12px;
        text-decoration: none;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
        background: linear-gradient(135deg, var(--blue-600), var(--purple-600));
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo-icon svg {
        width: 20px;
        height: 20px;
        color: white;
    }

    .logo-text {
        font-size: 14px;
        font-weight: 500;
        color: var(--gray-900);
    }

    .logo-text strong {
        font-weight: 700;
    }

    .logo-text .accent {
        color: var(--blue-600);
        margin-left: 8px;
    }

    .nav-links {
        display: flex;
        align-items: center;
        gap: 32px;
        list-style: none;
    }

    .nav-link {
        position: relative;
        font-size: 14px;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        padding: 8px 0;
        transition: all 0.4s ease;
    }

    .navbar.scrolled .nav-link {
        color: #1d1d1f;
    }

    .nav-link:hover {
        color: #ffffff;
    }

    .navbar.scrolled .nav-link:hover {
        color: #0071e3;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--blue-600);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateX(-50%);
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .btn-link {
        padding: 10px 24px;
        font-size: 14px;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: all 0.3s;
    }

    .navbar.scrolled .btn-link {
        color: var(--blue-600);
    }

    .btn-link:hover {
        color: #ffffff;
        transform: scale(1.05);
    }

    .navbar.scrolled .btn-link:hover {
        color: var(--blue-700);
    }

    .btn-primary {
        padding: 10px 24px;
        font-size: 14px;
        font-weight: 600;
        color: white;
        background: var(--blue-600);
        border: none;
        border-radius: 12px;
        text-decoration: none;
        cursor: pointer;
        transition: all 0.3s;
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    }

    .btn-primary:hover {
        background: var(--blue-700);
        transform: scale(1.05) translateY(-2px);
    }

    /* === HERO SECTION === */
    .hero {
        position: relative;
        background: var(--white);
        overflow: hidden;
        padding: 80px 0 100px;
    }

    .hero-bg-circle-1 {
        position: absolute;
        top: 0;
        right: 0;
        width: 600px;
        height: 600px;
        background: var(--blue-50);
        border-radius: 50%;
        filter: blur(80px);
        opacity: 0.3;
        animation: float 15s ease-in-out infinite;
    }

    .hero-bg-circle-2 {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 500px;
        height: 500px;
        background: var(--purple-50);
        border-radius: 50%;
        filter: blur(80px);
        opacity: 0.2;
        animation: floatReverse 12s ease-in-out infinite;
    }

    .hero-inner {
        position: relative;
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 24px;
    }

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

    .hero-content {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    /* Live Badge */
    .live-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        background: var(--red-500);
        color: white;
        border-radius: 50px;
        font-size: 14px;
        font-weight: 600;
        width: fit-content;
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
        transition: transform 0.3s;
    }

    .live-badge:hover {
        transform: scale(1.05);
    }

    .live-dot {
        width: 8px;
        height: 8px;
        background: white;
        border-radius: 50%;
        animation: pulse 2s infinite;
    }

    /* Hero Title */
    .hero-title {
        font-size: clamp(40px, 6vw, 72px);
        font-weight: 900;
        line-height: 1.1;
        color: var(--gray-900);
    }

    .hero-title .gradient-text {
        background: linear-gradient(135deg, var(--blue-600), var(--purple-600), var(--blue-600));
        background-size: 200% 200%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .hero-subtitle {
        font-size: 20px;
        color: var(--gray-600);
        max-width: 520px;
        line-height: 1.7;
    }

    .hero-subtitle .accent {
        color: var(--blue-600);
        font-weight: 600;
    }

    /* Hero Buttons */
    .hero-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }

    .btn-hero {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 16px 32px;
        border-radius: 12px;
        font-size: 16px;
        font-weight: 700;
        text-decoration: none;
        cursor: pointer;
        transition: all 0.3s;
    }

    .btn-hero-primary {
        background: var(--blue-600);
        color: white;
        border: none;
        box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
    }

    .btn-hero-primary:hover {
        background: var(--blue-700);
        transform: scale(1.05) translateY(-2px);
    }

    .btn-hero-secondary {
        background: white;
        color: var(--gray-900);
        border: 2px solid var(--gray-200);
    }

    .btn-hero-secondary:hover {
        border-color: var(--blue-600);
        color: var(--blue-600);
        transform: scale(1.05) translateY(-2px);
    }

    /* Hero Stats */
    .hero-stats {
        display: flex;
        gap: 48px;
        padding-top: 16px;
    }

    .stat-item {
        cursor: pointer;
        transition: transform 0.3s;
    }

    .stat-item:hover {
        transform: translateY(-5px);
    }

    .stat-value {
        font-size: 32px;
        font-weight: 900;
        color: var(--gray-900);
    }

    .stat-label {
        font-size: 14px;
        color: var(--gray-600);
    }

    /* Hero Image */
    .hero-image-wrapper {
        position: relative;
    }

    .hero-image-container {
        position: relative;
        border-radius: 24px;
        overflow: hidden;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
        transition: transform 0.3s;
    }

    .hero-image-container:hover {
        transform: scale(1.02);
    }

    .hero-image-container img {
        width: 100%;
        height: auto;
        display: block;
    }

    .hero-image-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(37, 99, 235, 0.1), transparent);
        pointer-events: none;
    }

    /* Stats Cards below image */
    .hero-stats-cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        margin-top: 24px;
    }

    .stat-card {
        background: white;
        border-radius: 12px;
        padding: 16px;
        text-align: center;
        border: 1px solid var(--gray-100);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        transition: all 0.3s;
    }

    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    }

    .stat-card-value {
        font-size: 24px;
        font-weight: 900;
    }

    .stat-card-value.blue {
        color: var(--blue-600);
    }

    .stat-card-value.purple {
        color: var(--purple-600);
    }

    .stat-card-value.green {
        color: var(--green-600);
    }

    .stat-card-label {
        font-size: 12px;
        color: var(--gray-600);
    }

    /* === FEATURES SECTION === */
    .features {
        padding: 100px 0;
        background: var(--white);
    }

    .features-inner {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 24px;
    }

    .section-header {
        text-align: center;
        margin-bottom: 64px;
    }

    .section-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        background: var(--blue-50);
        color: var(--blue-600);
        border-radius: 50px;
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 24px;
        transition: transform 0.3s;
    }

    .section-badge:hover {
        transform: scale(1.05);
    }

    .section-title {
        font-size: clamp(32px, 4vw, 48px);
        font-weight: 900;
        color: var(--gray-900);
        margin-bottom: 16px;
    }

    .section-title .gradient-text {
        background: linear-gradient(135deg, var(--blue-600), var(--purple-600));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .section-subtitle {
        font-size: 20px;
        color: var(--gray-600);
        max-width: 640px;
        margin: 0 auto;
    }

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

    .feature-card {
        background: white;
        border-radius: 20px;
        padding: 32px;
        border: 1px solid var(--gray-100);
        transition: all 0.4s;
        height: 100%;
    }

    .feature-card:hover {
        transform: translateY(-10px);
        border-color: var(--gray-200);
        box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
    }

    .feature-icon {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 24px;
        transition: all 0.4s;
    }

    .feature-icon svg {
        width: 28px;
        height: 28px;
    }

    .feature-card:hover .feature-icon {
        transform: rotate(360deg) scale(1.1);
    }

    .feature-icon.blue {
        background: var(--blue-50);
        color: var(--blue-600);
    }

    .feature-card:hover .feature-icon.blue {
        background: var(--blue-600);
        color: white;
    }

    .feature-icon.purple {
        background: var(--purple-50);
        color: var(--purple-600);
    }

    .feature-card:hover .feature-icon.purple {
        background: var(--purple-600);
        color: white;
    }

    .feature-icon.green {
        background: var(--green-50);
        color: var(--green-600);
    }

    .feature-card:hover .feature-icon.green {
        background: var(--green-600);
        color: white;
    }

    .feature-icon.orange {
        background: var(--orange-50);
        color: var(--orange-600);
    }

    .feature-card:hover .feature-icon.orange {
        background: var(--orange-600);
        color: white;
    }

    .feature-title {
        font-size: 20px;
        font-weight: 700;
        color: var(--gray-900);
        margin-bottom: 12px;
    }

    .feature-desc {
        font-size: 15px;
        color: var(--gray-600);
        line-height: 1.6;
    }

    /* === COURSES SECTION === */
    .courses {
        padding: 100px 0;
        background: var(--gray-50);
    }

    .courses-inner {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 24px;
    }

    .courses-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        background: white;
        color: var(--gray-900);
        border-radius: 50px;
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 24px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        border: 1px solid var(--gray-100);
    }

    .courses-badge i {
        color: var(--blue-600);
    }

    .courses-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 32px;
        margin-bottom: 48px;
    }



    .course-image {
        position: relative;
        height: 192px;
        overflow: hidden;
        background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    }

    .course-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s;
    }

    .course-card:hover .course-image img {
        transform: scale(1.1);
    }





    /* === DASHBOARD STYLE COURSE CARD === */
    .course-card {
        background: white;
        border-radius: 16px;
        overflow: hidden;
        border: 1px solid var(--gray-200);
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        height: 100%;
        cursor: pointer;
        position: relative;
    }

    .course-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.15), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        /* Premium Shadow */
        border-color: var(--blue-200);
    }

    .course-image {
        height: 200px;
        width: 100%;
        background-color: var(--gray-100);
        position: relative;
        overflow: hidden;
    }

    .course-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

    .course-card:hover .course-image img {
        transform: scale(1.06);
    }

    /* Badges - Premium Glassmorphism */
    .course-badges {
        position: absolute;
        top: 10px;
        left: 10px;
        right: 10px;
        display: flex;
        justify-content: space-between;
        pointer-events: none;
        z-index: 10;
        gap: 6px;
    }

    .badge-group-left,
    .badge-group-right {
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
    }

    .badge {
        padding: 3px 8px;
        border-radius: 6px;
        font-size: 9px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        display: inline-flex;
        align-items: center;
        gap: 3px;
        backdrop-filter: blur(12px) saturate(180%);
        -webkit-backdrop-filter: blur(12px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    /* Level Badge Glass Style */
    .badge-level {
        background: rgba(255, 255, 255, 0.8);
        color: #1e293b;
    }

    .badge-level.junior,
    .badge-level.basico {
        border-left: 3px solid #3b82f6;
    }

    .badge-level.mid,
    .badge-level.intermedio {
        border-left: 3px solid #a855f7;
    }

    .badge-level.senior,
    .badge-level.avanzado {
        border-left: 3px solid #f59e0b;
    }

    /* Special Badges - Vibrant Gradiente */
    .badge-status.en-clase {
        background: linear-gradient(135deg, #ef4444, #dc2626);
        color: white;
        border: none;
    }

    .badge-status.inscripciones {
        background: linear-gradient(135deg, #10b981, #059669);
        color: white;
        border: none;
    }

    .badge-oferta {
        background: linear-gradient(135deg, #fbbf24, #f59e0b);
        color: #78350f;
        border: 1px solid rgba(255, 255, 255, 0.4);
        font-weight: 900;
        box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    }

    .badge-urgent {
        background: rgba(239, 68, 68, 0.9);
        color: white;
        animation: pulse-premium 2s infinite;
    }

    /* Free Overlay */
    .free-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
        padding: 16px;
        padding-top: 32px;
        display: flex;
        align-items: flex-end;
        z-index: 5;
    }

    .free-tag {
        background: #10b981;
        color: white;
        font-size: 9px;
        font-weight: 800;
        padding: 3px 8px;
        border-radius: 4px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .course-content {
        padding: 24px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        gap: 12px;
    }

    .course-top-meta {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        color: var(--blue-600);
        letter-spacing: 0.5px;
    }

    .course-title {
        font-size: 18px;
        font-weight: 800;
        color: var(--gray-900);
        margin: 0;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .course-desc {
        font-size: 13px;
        color: var(--gray-500);
        line-height: 1.6;
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Price Section - High Contrast */
    .course-price-container {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .course-price-label {
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        color: #64748b;
        letter-spacing: 0.5px;
    }

    .course-price {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .price-original {
        font-size: 0.85rem;
        color: #94a3b8;
        text-decoration: line-through;
        font-weight: 500;
        line-height: 1;
    }

    .price-final {
        font-size: 1.5rem;
        font-weight: 900;
        color: #0f172a;
        line-height: 1.1;
        letter-spacing: -0.5px;
    }

    .price-final.discounted {
        color: #16a34a;
    }

    /* Card Footer */
    .course-footer {
        margin-top: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 20px;
        border-top: 1px solid #f1f5f9;
    }

    .btn-course {
        padding: 12px 24px;
        background: #0071e3;
        color: white;
        border: none;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 12px rgba(0, 113, 227, 0.2);
    }

    .btn-course:hover {
        background: #0077ed;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 113, 227, 0.3);
    }

    @keyframes pulse-premium {

        0%,
        100% {
            transform: scale(1);
            opacity: 1;
        }

        50% {
            transform: scale(1.05);
            opacity: 0.9;
        }
    }

    /* Free Overlay */
    .free-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
        padding: 16px;
        padding-top: 32px;
        display: flex;
        align-items: flex-end;
        z-index: 5;
    }

    .free-tag {
        background: #10b981;
        color: white;
        font-size: 9px;
        font-weight: 800;
        padding: 3px 8px;
        border-radius: 4px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .course-content {
        padding: 24px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        gap: 12px;
    }

    .course-top-meta {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        color: var(--blue-600);
        letter-spacing: 0.5px;
    }

    .course-title {
        font-size: 18px;
        font-weight: 800;
        color: var(--gray-900);
        margin: 0;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .course-desc {
        font-size: 13px;
        color: var(--gray-500);
        line-height: 1.6;
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Price Section - High Contrast */
    .course-price-container {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .course-price-label {
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        color: #64748b;
        letter-spacing: 0.5px;
    }

    .course-price {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .price-original {
        font-size: 0.85rem;
        color: #94a3b8;
        text-decoration: line-through;
        font-weight: 500;
        line-height: 1;
    }

    .price-final {
        font-size: 1.5rem;
        font-weight: 900;
        color: #0f172a;
        line-height: 1.1;
        letter-spacing: -0.5px;
    }

    .price-final.discounted {
        color: #16a34a;
        /* Vibrant Green for discounts */
    }

    /* Card Footer Improvements */
    .course-footer {
        margin-top: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 20px;
        border-top: 1px solid #f1f5f9;
    }

    .btn-course {
        padding: 12px 24px;
        background: #2563eb;
        color: white;
        border: none;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    }

    .btn-course:hover {
        background: #1d4ed8;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    }

    .btn-view-all {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        padding: 16px 32px;
        background: var(--blue-600);
        color: white;
        border: none;
        border-radius: 12px;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        text-decoration: none;
        transition: all 0.3s;
        box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
    }

    .btn-view-all:hover {
        background: var(--blue-700);
        transform: scale(1.05) translateY(-2px);
    }

    /* === CTA SECTION === */
    .cta {
        padding: 100px 0;
        background: linear-gradient(135deg, var(--blue-600), var(--purple-600), var(--blue-600));
        position: relative;
        overflow: hidden;
    }

    .cta-bg-circle {
        position: absolute;
        top: 0;
        right: 0;
        width: 400px;
        height: 400px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        filter: blur(80px);
        animation: float 10s ease-in-out infinite;
    }

    .cta-inner {
        position: relative;
        max-width: 800px;
        margin: 0 auto;
        padding: 0 24px;
        text-align: center;
        z-index: 1;
    }

    .cta-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(12px);
        color: white;
        border-radius: 50px;
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 32px;
        transition: transform 0.3s;
    }

    .cta-badge:hover {
        transform: scale(1.05);
    }

    .cta-badge i {
        color: #fbbf24;
    }

    .cta-title {
        font-size: clamp(32px, 4vw, 48px);
        font-weight: 900;
        color: white;
        margin-bottom: 24px;
    }

    .cta-subtitle {
        font-size: 20px;
        color: rgba(255, 255, 255, 0.9);
        max-width: 600px;
        margin: 0 auto 40px;
    }

    .cta-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }

    .btn-cta-white {
        padding: 20px 40px;
        background: white;
        color: var(--blue-600);
        border: none;
        border-radius: 12px;
        font-size: 16px;
        font-weight: 900;
        cursor: pointer;
        text-decoration: none;
        transition: all 0.3s;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    }

    .btn-cta-white:hover {
        transform: scale(1.05) translateY(-2px);
    }

    .btn-cta-outline {
        padding: 20px 40px;
        background: transparent;
        color: white;
        border: 2px solid white;
        border-radius: 12px;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        text-decoration: none;
        transition: all 0.3s;
    }

    .btn-cta-outline:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: scale(1.05) translateY(-2px);
    }

    /* === FOOTER === */
    .footer {
        background: white;
        border-top: 1px solid var(--gray-100);
        padding: 48px 0 24px;
    }

    .footer-inner {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 24px;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 48px;
        margin-bottom: 32px;
    }

    .footer-brand {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 16px;
    }

    .footer-brand-icon {
        width: 32px;
        height: 32px;
        background: linear-gradient(135deg, var(--blue-600), var(--purple-600));
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .footer-brand-icon svg {
        width: 18px;
        height: 18px;
        color: white;
    }

    .footer-brand-text {
        font-size: 18px;
        font-weight: 700;
        color: var(--gray-900);
    }

    .footer-desc {
        font-size: 14px;
        color: var(--gray-600);
        line-height: 1.6;
    }

    .footer-title {
        font-size: 15px;
        font-weight: 700;
        color: var(--gray-900);
        margin-bottom: 20px;
    }

    .footer-links {
        list-style: none;
    }

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        font-size: 14px;
        color: var(--gray-600);
        text-decoration: none;
        transition: all 0.3s;
    }

    .footer-links a:hover {
        color: var(--blue-600);
        transform: translateX(3px);
        display: inline-block;
    }

    .footer-bottom {
        padding-top: 24px;
        border-top: 1px solid var(--gray-100);
        text-align: center;
        font-size: 13px;
        color: var(--gray-600);
    }

    /* === RESPONSIVE === */
    @media (max-width: 1024px) {
        .hero-grid {
            grid-template-columns: 1fr;
            text-align: center;
        }

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

        .hero-subtitle {
            margin: 0 auto;
        }

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

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

        .hero-image-wrapper {
            max-width: 600px;
            margin: 0 auto;
        }

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

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

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

    @media (max-width: 768px) {
        .nav-links {
            display: none;
        }

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

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

        .cta-buttons {
            flex-direction: column;
            align-items: center;
        }

        .footer-grid {
            grid-template-columns: 1fr;
            gap: 24px;
        }
    }

    /* Loading spinner */
    .spinner {
        width: 40px;
        height: 40px;
        border: 3px solid var(--gray-200);
        border-top-color: var(--blue-600);
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin: 0 auto;
    }

    @keyframes spin {
        to {
            transform: rotate(360deg);
        }
    }

    /* Mobile menu */
    .nav-toggle {
        display: none;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        background: none;
        border: none;
        padding: 8px;
    }

    .nav-toggle span {
        width: 24px;
        height: 2px;
        background: var(--gray-900);
        border-radius: 2px;
        transition: 0.3s;
    }

    @media (max-width: 768px) {
        .nav-toggle {
            display: flex;
        }
    }

    /* === RESPONSIVE STYLES === */
    @media (max-width: 968px) {
        .hero-grid {
            grid-template-columns: 1fr;
            gap: 48px;
            text-align: center;
        }

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

        .hero-subtitle {
            margin: 0 auto;
        }

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

        .hero-image-wrapper {
            max-width: 600px;
            margin: 0 auto;
        }
    }

    @media (max-width: 768px) {

        /* Navbar Mobile */
        .navbar-inner {
            flex-wrap: wrap;
        }

        .nav-links {
            width: 100%;
            flex-direction: column;
            gap: 16px;
            display: none;
            order: 3;
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid var(--gray-100);
        }

        .nav-actions {
            width: 100%;
            flex-direction: column;
            gap: 12px;
            display: none;
            order: 4;
            margin-bottom: 8px;
        }

        .nav-links.active,
        .nav-actions.active {
            display: flex;
            animation: slideDown 0.3s ease-out;
        }

        .btn-link,
        .btn-primary {
            width: 100%;
            text-align: center;
            justify-content: center;
        }

        /* Hero Mobile */
        .hero-title {
            font-size: 40px;
        }

        .hero-stats {
            flex-direction: column;
            gap: 32px;
        }

        .stat-item {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /* === MOBILE VISUAL ENHANCEMENTS === */

        /* Snappier animations for mobile (less floaty) */
        .reveal {
            transform: translateY(20px);
        }

        /* Tactile Feedback (Touch Press Effect) */
        .course-card:active,
        .btn-primary:active,
        .btn-hero-primary:active,
        .btn-hero-secondary:active,
        .cta-buttons .btn:active {
            transform: scale(0.96) !important;
            transition: transform 0.1s ease-out;
        }

        /* Density Improvements */
        .hero,
        .features,
        .courses,
        .cta,
        .faq-section {
            padding: 60px 0 !important;
        }

        /* Fix Background Distractions */
        .hero-bg-circle-1,
        .hero-bg-circle-2 {
            opacity: 0.15;
            filter: blur(60px);
        }
    }

    /* =============================================================
       APPLE SECTIONS \u2014 MOBILE (≤ 768px)
       ============================================================= */
    @media (max-width: 768px) {

        .section-inner {
            padding: 80px 24px 60px;
        }

        #inicio .section-inner {
            padding-top: 110px;
            padding-bottom: 60px;
        }

        .apple-headline {
            font-size: clamp(32px, 9vw, 52px) !important;
        }

        .apple-subheadline {
            font-size: 17px !important;
        }

        /* Hero orbs: shrink */
        .hero-orb {
            width: 220px !important;
            height: 220px !important;
            animation-duration: 14s !important;
        }

        /* Hero buttons: stack */
        #inicio div[style*="display: flex"][style*="justify-content: center"] {
            flex-direction: column;
            align-items: stretch;
            gap: 12px !important;
        }

        /* Hero stats strip: tighten gap */
        #inicio div[style*="margin-top: 80px"] {
            gap: 32px !important;
            margin-top: 48px !important;
        }

        /* Methodology: 3-col → 1-col stacked */
        .steps-grid {
            grid-template-columns: 1fr !important;
            gap: 0 !important;
        }

        .step-card {
            padding: 28px 0 !important;
            border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
            border-right: none !important;
        }

        /* Platform + Certificate: 2-col → 1-col stacked */
        .two-col-grid {
            grid-template-columns: 1fr !important;
            gap: 48px !important;
        }

        /* Certificate KPI cards: 3-col \u2192 1-col */
        #proof-premium div[style*="grid-template-columns:repeat(3,1fr)"] {
            grid-template-columns: 1fr !important;
        }

        /* Remove right border, add bottom border on KPI cells */
        #proof-premium div[style*="border-right:1px solid #e0e0e5"] {
            border-right: none !important;
            border-bottom: 1px solid #e0e0e5 !important;
        }

        /* Apple buttons full-width on mobile */
        .apple-btn-primary,
        .apple-btn-ghost {
            width: 100%;
            justify-content: center;
            text-align: center;
            box-sizing: border-box;
        }

        /* Footer: collapse to 2-col */
        footer div[style*="grid-template-columns:2fr"] {
            grid-template-columns: 1fr 1fr !important;
            gap: 40px !important;
        }

        /* Hide noise texture on mobile (performance) */
        #inicio::after {
            display: none;
        }

        /* Courses: Carousel on mobile */
        .courses-grid {
            display: flex !important;
            overflow-x: auto !important;
            gap: 20px !important;
            padding-bottom: 24px !important;
            margin: 0 -24px !important;
            padding: 0 24px !important;
            scroll-snap-type: x mandatory !important;
            -webkit-overflow-scrolling: touch;
            grid-template-columns: none !important;
        }

        .courses-grid::-webkit-scrollbar {
            display: none;
        }

        .course-card {
            flex: 0 0 calc(100vw - 80px) !important;
            max-width: 340px !important;
            scroll-snap-align: center !important;
        }
    }

    @media (max-width: 480px) {

        .section-inner {
            padding: 72px 20px 48px;
        }

        #inicio .section-inner {
            padding-top: 90px;
        }

        /* Footer: full single column */
        footer div[style*="grid-template-columns:2fr"] {
            grid-template-columns: 1fr !important;
        }
    }