:root {
            --brand-orange: #f97316;    
            --brand-orange-dark: #ea580c;
            --brand-yellow: #fcd34d;
            --brand-yellow-dark: #d97706;
            --brand-blue: #3b82f6;
            --brand-blue-dark: #2563eb;
            --brand-green: #10b981;
            
            --bg-body: #fdfdfd;
            --bg-card: #ffffff;
            --bg-offset: #f3f4f6;
            --text-dark: #1e293b; /* Solid dark slate */
            --text-main: #334155; 
            --text-muted: #64748b;
            
            --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -2px rgba(0,0,0,0.05);
            --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
            --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
            --shadow-orange: 0 10px 20px -5px rgba(249, 115, 22, 0.4);
            
            --radius-md: 12px;
            --radius-lg: 24px;
            --radius-xl: 36px;
        }

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

        body {
            font-family: 'Inter', sans-serif;
            color: var(--text-main);
            background-color: var(--bg-body);
            line-height: 1.6;
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5, h6, .brand-font {
            font-family: 'Outfit', sans-serif;
            color: var(--text-dark);
            line-height: 1.2;
        }

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

        /* Nav & Glass Header */
        header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(0,0,0,0.05);
            transition: all 0.3s ease;
        }

        .top-bar-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 90px;
        }

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

        .logo-icon {
            width: 48px;
            height: 48px;
            background: linear-gradient(135deg, var(--brand-orange), var(--brand-yellow));
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 800;
            font-size: 14px;
            box-shadow: var(--shadow-sm);
        }

        .logo-text {
            font-family: 'Outfit', sans-serif;
            font-weight: 800;
            font-size: 1.2rem;
            line-height: 1.1;
            color: var(--text-dark);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .logo-img {
            height: 52px;
            width: auto;
            object-fit: contain;
        }

        .nav-links {
            display: flex;
            gap: 32px;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-main);
            font-family: 'Outfit', sans-serif;
            font-weight: 500;
            font-size: 0.95rem;
            transition: color 0.2s ease;
            position: relative;
        }

        .nav-links a:hover {
            color: var(--brand-orange);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -4px;
            width: 0%;
            height: 2px;
            background: var(--brand-orange);
            transition: width 0.3s ease;
        }
        .nav-links a:hover::after { width: 100%; }

        .resource-card {
            background: white;
            color: var(--text-dark);
            border: 1px solid var(--border-color);
            padding: 20px;
            text-decoration: none;
            border-radius: var(--radius-lg);
            font-family: 'Outfit', sans-serif;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 16px;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: var(--shadow-sm);
        }

        .resource-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
            border-color: var(--brand-orange);
        }

        .resource-icon {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        /* Buttons Component */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 14px 32px;
            border-radius: 50px;
            text-decoration: none;
            font-family: 'Outfit', sans-serif;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: none;
            cursor: pointer;
            gap: 8px;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--brand-orange), #f59e0b);
            color: white;
            box-shadow: var(--shadow-orange);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 25px -5px rgba(249, 115, 22, 0.5);
            color: white;
        }

        .btn-outline {
            background: rgba(255, 255, 255, 0.9);
            color: var(--brand-orange);
            border: 2px solid transparent;
            box-shadow: var(--shadow-sm);
        }
        .btn-outline:hover {
            background: white;
            border-color: var(--brand-orange);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        /* Mobile Menu */
        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--text-dark);
            cursor: pointer;
            padding: 8px;
        }

        .mobile-menu {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(10px);
            z-index: 1000;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .mobile-menu.active {
            opacity: 1;
            visibility: visible;
        }

        .mobile-menu-close {
            position: absolute;
            top: 24px;
            right: 24px;
            background: none;
            border: none;
            font-size: 2rem;
            color: var(--text-dark);
            cursor: pointer;
        }

        .mobile-nav-links {
            display: flex;
            flex-direction: column;
            gap: 24px;
            text-align: center;
        }

        .mobile-nav-links a {
            text-decoration: none;
            color: var(--text-dark);
            font-family: 'Outfit', sans-serif;
            font-size: 1.5rem;
            font-weight: 600;
            transition: color 0.2s;
        }

        .mobile-nav-links a:hover {
            color: var(--brand-orange);
        }

        /* Premium Hero Slider */
        .hero-slider {
            position: relative;
            width: 100%;
            height: clamp(500px, 80vh, 700px);
            overflow: hidden;
            background: var(--bg-dark);
        }

        .slider-track {
            position: relative;
            width: 100%;
            height: 100%;
        }

        .slide {
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

        .slide.active {
            opacity: 1;
            visibility: visible;
        }

        .slide-overlay {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.15) 100%);
            z-index: 1;
        }

        .slide-content {
            position: relative;
            z-index: 2;
            max-width: 800px;
            color: white;
            padding: 0 24px;
            transform: translateY(20px);
            transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        .slide.active .slide-content {
            transform: translateY(0);
        }

        .slide h1 {
            font-size: clamp(2.5rem, 5vw, 4.5rem);
            font-weight: 800;
            margin-bottom: 24px;
            letter-spacing: -1px;
            color: white;
            text-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        .slide p {
            font-size: clamp(1.1rem, 2vw, 1.3rem);
            opacity: 0.9;
            margin-bottom: 40px;
            text-shadow: 0 2px 8px rgba(0,0,0,0.2);
            line-height: 1.6;
        }

        .slide-actions {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
        }

        /* Slider Controls */
        .slider-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px; height: 50px;
            border-radius: 50%;
            background: rgba(255,255,255,0.15);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border: 1px solid rgba(255,255,255,0.2);
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            z-index: 10;
            transition: all 0.3s;
            display: flex; align-items: center; justify-content: center;
        }

        .slider-arrow:hover {
            background: rgba(255,255,255,0.3);
            transform: translateY(-50%) scale(1.1);
        }

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

        .slider-prev { left: 24px; }
        .slider-next { right: 24px; }

        /* Slider Dots */
        .slider-dots {
            position: absolute;
            bottom: 32px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 12px;
            z-index: 10;
        }

        .dot {
            width: 10px; height: 10px;
            border-radius: 50%;
            background: rgba(255,255,255,0.3);
            border: none;
            cursor: pointer;
            transition: all 0.3s;
            padding: 0;
        }

        .dot.active {
            background: white;
            transform: scale(1.3);
            box-shadow: 0 0 10px rgba(255,255,255,0.5);
        }

        /* Progress Bar */
        .slider-progress {
            position: absolute;
            bottom: 0; left: 0;
            width: 100%; height: 4px;
            background: rgba(255,255,255,0.1);
            z-index: 10;
        }

        .slider-progress-bar {
            height: 100%;
            width: 0%;
            background: var(--brand-orange);
            transition: width 0.1s linear;
        }

        .pill-badge {
            display: inline-block;
            background: rgba(249, 115, 22, 0.1);
            color: var(--brand-orange-dark);
            padding: 8px 16px;
            border-radius: 30px;
            font-family: 'Outfit';
            font-weight: 600;
            font-size: 0.85rem;
            margin-bottom: 24px;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        @keyframes float {
            0% { transform: translateY(0px) rotateX(5deg) scale(0.98); }
            50% { transform: translateY(-15px) rotateX(2deg) scale(1); box-shadow: 0 30px 40px -10px rgba(0,0,0,0.15); }
            100% { transform: translateY(0px) rotateX(5deg) scale(0.98); }
        }

        /* Products Layout */
        .section-padding { padding: 120px 0; }
        
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            margin-bottom: 60px;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            position: relative;
            padding-bottom: 12px;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0; left: 0;
            width: 60px; height: 4px;
            background: var(--brand-orange);
            border-radius: 2px;
        }

        .product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 32px;
        }

        /* E-commerce Card UI */
        .card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            padding: 24px;
            position: relative;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: 1px solid rgba(0,0,0,0.03);
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
            display: flex;
            flex-direction: column;
            group: card;
        }

        .card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-md);
            border-color: rgba(0,0,0,0.08);
        }

        .card-img-wrapper {
            position: relative;
            width: 100%;
            padding-top: 120%; /* Ratio */
            background: #f8fafc;
            border-radius: 8px;
            margin-bottom: 24px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .card-img-wrapper img {
            position: absolute;
            top: 10%; bottom: 10%; left: 10%; right: 10%;
            width: 80%;
            height: 80%;
            object-fit: contain;
            transition: transform 0.6s ease;
        }

        .card:hover .card-img-wrapper img {
            transform: scale(1.08) rotate(-2deg);
        }

        .card-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            background: white;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 700;
            font-family: 'Outfit';
            box-shadow: var(--shadow-sm);
            z-index: 10;
        }

        .badge-preescolar { color: var(--brand-orange); }
        .badge-primaria { color: var(--brand-green); }
        .badge-secundaria { color: var(--brand-blue); }

        .card-title {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 8px;
            line-height: 1.4;
            flex-grow: 1;
            color: var(--text-dark);
            text-decoration: none;
            transition: color 0.2s;
        }

        .card-title:hover { color: var(--brand-orange); }

        .card-price {
            font-family: 'Outfit';
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--brand-blue-dark);
            margin: 16px 0;
        }

        .add-to-cart {
            width: 100%;
            text-align: center;
            padding: 12px;
            background: var(--bg-offset);
            color: var(--text-main);
            border-radius: 8px;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            border: none;
            transition: all 0.2s;
        }

        .card:hover .add-to-cart {
            background: var(--brand-blue);
            color: white;
            box-shadow: 0 4px 12px rgba(59,130,246,0.3);
        }

        /* Split Mission Vision Canvas */
        .story-section {
            display: grid;
            grid-template-columns: 1fr 1fr;
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-md);
            margin: 40px auto 120px;
        }

        .story-block {
            padding: 80px 60px;
            position: relative;
            overflow: hidden;
        }

        .story-mision {
            background: linear-gradient(135deg, #c026d3, #a21caf); /* Magenta / Purple gradient */
            color: white;
        }
        .story-mision h2 { color: white; }
        .story-mision p { color: rgba(255,255,255,0.9); }
        .story-mision .story-icon { color: white; }
        
        .story-vision {
            background: linear-gradient(135deg, #0ea5e9, #3b82f6);
            color: white;
        }

        .story-icon {
            font-size: 2.5rem;
            margin-bottom: 24px;
            opacity: 0.8;
        }

        .story-block h2 {
            font-size: 2.2rem;
            margin-bottom: 16px;
        }

        .story-vision h2 { color: white; }

        .story-block p {
            font-size: 1.1rem;
            line-height: 1.8;
        }

        .story-vision p { color: rgba(255,255,255,0.9); }

        /* Catalogs Cards */
        .big-banner-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            margin-top: 40px;
        }

        .banner-card {
            padding: 40px;
            border-radius: var(--radius-lg);
            color: white;
            text-decoration: none;
            position: relative;
            overflow: hidden;
            transition: transform 0.3s;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 320px;
        }

        .banner-card:hover { transform: translateY(-5px); }
        
        .banner-card::before {
            content: '';
            position: absolute;
            right: -20%; bottom: -20%;
            width: 200px; height: 200px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            transition: transform 0.5s;
        }

        .banner-card:hover::before { transform: scale(1.5); }

        .bg-orange { background: linear-gradient(135deg, #f97316, #ea580c); box-shadow: 0 10px 20px rgba(234, 88, 12, 0.2); }
        .bg-green { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2); }
        .bg-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);}

        .banner-card h3 { font-size: 2rem; color: white; margin-bottom: 12px; z-index: 1;}
        .banner-card p { opacity: 0.9; margin-bottom: 30px; font-size: 1.05rem; z-index: 1;}

        .banner-action {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255,255,255,0.2);
            padding: 12px 24px;
            border-radius: 50px;
            font-weight: 600;
            width: fit-content;
            backdrop-filter: blur(4px);
            transition: background 0.3s;
            z-index: 1;
        }

        .banner-card:hover .banner-action { background: white; color: var(--text-dark); }

        /* Testimonial/Directora */
        .testimonial-bar {
            background: var(--brand-orange);
            color: white;
            border-radius: var(--radius-lg);
            display: flex;
            flex-wrap: wrap;
            overflow: hidden;
            margin: 120px 0;
            box-shadow: var(--shadow-lg);
            text-align: center;
        }

        .testi-content {
            flex: 1;
            padding: 80px 40px;
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .testi-content::before {
            content: '\201C';
            font-family: serif;
            font-size: 15rem;
            position: absolute;
            top: -20px; left: 50%;
            transform: translateX(-50%);
            color: rgba(255,255,255,0.15);
            line-height: 1;
            z-index: 0;
        }

        .testi-content h2, .testi-content p {
            position: relative;
            z-index: 1;
        }

        .testi-content h2 { color: white; font-size: 2.2rem; margin-bottom: 24px; font-weight: 800; }
        .testi-content p { font-size: 1.35rem; font-style: italic; line-height: 1.7; opacity: 1; max-width: 700px;}

        /* Footer Banners */
        .rounded-banner {
            background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
            border: 1px solid rgba(14,165,233,0.1);
            padding: 40px;
            border-radius: var(--radius-lg);
            display: flex;
            gap: 24px;
            align-items: flex-start;
            flex: 1;
            transition: transform 0.3s;
        }
        
        .rounded-banner:nth-child(2) {
            background: linear-gradient(135deg, #fce7f3, #fdf2f8);
            border: 1px solid rgba(236,72,153,0.1);
        }

        .rounded-banner:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
        .rb-icon { font-size: 2.5rem; color: var(--brand-blue); }
        .rounded-banner:nth-child(2) .rb-icon { color: #ec4899; }
        .rb-text h3 { font-size: 1.4rem; margin-bottom: 12px; color: var(--text-dark); }
        .rb-text p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; }

        footer {
            border-top: 1px solid rgba(0,0,0,0.05);
            padding: 60px 0;
            margin-top: 80px;
            text-align: center;
        }

        /* Fade In Animation */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

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

        /* Page Hero (Inner Pages) */
        .page-hero {
            background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%); /* Cheerful bright blue */
            padding: 140px 0 100px;
            text-align: center;
            color: white;
            position: relative;
            overflow: hidden;
        }
        .page-hero::before {
            content: '';
            position: absolute;
            top: -50%; right: -20%;
            width: 600px; height: 600px;
            background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, transparent 70%);
            border-radius: 50%;
        }
        .page-hero::after {
            content: '';
            position: absolute;
            bottom: -30%; left: -10%;
            width: 500px; height: 500px;
            background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%);
            border-radius: 50%;
        }
        .page-hero h1 {
            font-size: clamp(2.5rem, 4vw, 3.5rem);
            font-weight: 800;
            margin-bottom: 16px;
            position: relative;
            z-index: 1;
            color: white;
        }
        .page-hero p {
            font-size: 1.2rem;
            opacity: 0.7;
            max-width: 600px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        /* Filter Tabs */
        .filter-bar {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 48px;
        }
        .filter-tabs {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }
        .filter-tab {
            padding: 10px 24px;
            border-radius: 50px;
            font-family: 'Outfit', sans-serif;
            font-weight: 600;
            font-size: 0.9rem;
            border: 2px solid var(--bg-offset);
            background: white;
            color: var(--text-main);
            cursor: pointer;
            transition: all 0.3s;
        }
        .filter-tab:hover {
            border-color: var(--brand-orange);
            color: var(--brand-orange);
        }
        .filter-tab.active {
            background: var(--brand-orange);
            border-color: var(--brand-orange);
            color: white;
            box-shadow: var(--shadow-orange);
        }

        /* Search Bar */
        .search-box {
            position: relative;
            min-width: 280px;
        }
        .search-box input {
            width: 100%;
            padding: 12px 20px 12px 44px;
            border-radius: 50px;
            border: 2px solid var(--bg-offset);
            font-family: 'Inter', sans-serif;
            font-size: 0.95rem;
            color: var(--text-main);
            background: white;
            transition: border-color 0.3s;
            outline: none;
        }
        .search-box input:focus {
            border-color: var(--brand-orange);
        }
        .search-box i {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
        }

        /* Skeleton Loader */
        .skeleton-card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            padding: 24px;
            border: 1px solid rgba(0,0,0,0.03);
        }
        .skeleton-img {
            width: 100%;
            padding-top: 120%;
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite;
            border-radius: 8px;
            margin-bottom: 24px;
        }
        .skeleton-text {
            height: 16px;
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite;
            border-radius: 4px;
            margin-bottom: 8px;
        }
        .skeleton-text.short { width: 60%; }
        .skeleton-text.price { width: 40%; height: 24px; margin-top: 12px; }
        @keyframes shimmer {
            0% { background-position: -200% 0; }
            100% { background-position: 200% 0; }
        }

        /* Login Card (Glassmorphism) */
        .login-card {
            background: linear-gradient(to right bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            border: 1px solid rgba(255, 255, 255, 0.5);
            border-radius: var(--radius-lg);
            padding: 60px 48px;
            max-width: 480px;
            margin: 0 auto;
            box-shadow: 0 25px 50px -12px rgba(249, 115, 22, 0.25);
            text-align: center;
        }
        .login-card h2 {
            font-size: 1.8rem;
            margin-bottom: 8px;
        }
        .login-card p {
            color: var(--text-muted);
            margin-bottom: 32px;
        }
        .login-card .form-group {
            margin-bottom: 20px;
            text-align: left;
        }
        .login-card label {
            display: block;
            font-family: 'Outfit', sans-serif;
            font-weight: 600;
            font-size: 0.9rem;
            margin-bottom: 8px;
            color: var(--text-main);
        }
        .login-card input[type="text"],
        .login-card input[type="password"] {
            width: 100%;
            padding: 14px 18px;
            border-radius: 12px;
            border: 2px solid var(--bg-offset);
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
            outline: none;
            transition: border-color 0.3s;
        }
        .login-card input:focus {
            border-color: var(--brand-orange);
        }
        .login-card .btn-primary {
            width: 100%;
            margin-top: 8px;
        }

        /* Resource Card (Profesores) */
        .resource-card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            padding: 40px 32px;
            border: 1px solid rgba(0,0,0,0.04);
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
            text-align: center;
        }
        .resource-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-md);
        }
        .resource-icon {
            width: 72px; height: 72px;
            background: rgba(249, 115, 22, 0.1);
            border-radius: 18px;
            display: flex; align-items: center; justify-content: center;
            font-size: 1.8rem;
            color: var(--brand-orange);
            margin: 0 auto 20px;
        }
        .resource-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
        .resource-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }
        .lock-overlay {
            position: absolute;
            top: 12px; right: 12px;
            background: rgba(0,0,0,0.06);
            width: 36px; height: 36px;
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        /* Subject Card (Alumnos) */
        .subject-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 24px;
        }
        .subject-card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            padding: 36px 28px;
            border: 1px solid rgba(0,0,0,0.04);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            overflow: hidden;
            cursor: pointer;
        }
        .subject-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-md);
        }
        .subject-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 4px;
            transition: transform 0.3s;
            transform: scaleX(0);
            transform-origin: left;
        }
        .subject-card:hover::before { transform: scaleX(1); }
        .subject-card:nth-child(1)::before { background: linear-gradient(90deg, #f97316, #f59e0b); }
        .subject-card:nth-child(2)::before { background: linear-gradient(90deg, #3b82f6, #6366f1); }
        .subject-card:nth-child(3)::before { background: linear-gradient(90deg, #10b981, #14b8a6); }
        .subject-card:nth-child(4)::before { background: linear-gradient(90deg, #ef4444, #f97316); }
        .subject-card:nth-child(5)::before { background: linear-gradient(90deg, #8b5cf6, #a855f7); }
        .subject-card:nth-child(6)::before { background: linear-gradient(90deg, #ec4899, #f43f5e); }
        .subject-icon {
            width: 56px; height: 56px;
            border-radius: 14px;
            display: flex; align-items: center; justify-content: center;
            font-size: 1.5rem;
            margin-bottom: 20px;
        }
        .subject-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
        .subject-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

        /* Benefit Row */
        .benefit-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 32px;
        }
        .benefit-item {
            text-align: center;
            padding: 32px 20px;
        }
        .benefit-item i {
            font-size: 2.5rem;
            color: var(--brand-orange);
            margin-bottom: 16px;
        }
        .benefit-item h3 {
            font-size: 1.15rem;
            margin-bottom: 8px;
        }
        .benefit-item p {
            font-size: 0.9rem;
            color: var(--text-muted);
            line-height: 1.6;
        }

        /* Contact Bar */
        .contact-bar {
            background: var(--brand-blue);
            color: white;
            border-radius: var(--radius-lg);
            padding: 60px;
            display: flex;
            flex-wrap: wrap;
            gap: 40px;
            align-items: center;
            margin: 80px 0;
        }
        .contact-bar h2 { color: white; font-size: 2rem; flex: 1; min-width: 250px; }
        .contact-info { display: flex; flex-direction: column; gap: 12px; font-size: 0.95rem; opacity: 0.8; }
        .contact-info i { color: var(--brand-orange); margin-right: 8px; width: 20px; }

        /* Stats Row */
        .stats-row {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
            margin: 80px 0;
        }
        .stat-box {
            text-align: center;
            padding: 40px 20px;
            background: var(--bg-card);
            border-radius: var(--radius-md);
            border: 1px solid rgba(0,0,0,0.04);
            transition: all 0.3s;
        }
        .stat-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
        .stat-number {
            font-family: 'Outfit', sans-serif;
            font-size: 3rem;
            font-weight: 800;
            color: var(--brand-orange);
            line-height: 1;
            margin-bottom: 8px;
        }
        .stat-label { font-size: 0.95rem; color: var(--text-muted); font-weight: 500; }

        /* Load More Button */
        .load-more-wrapper {
            text-align: center;
            margin-top: 48px;
        }

        /* Product count */
        .product-count {
            font-family: 'Outfit', sans-serif;
            font-size: 0.95rem;
            color: var(--text-muted);
            margin-bottom: 24px;
        }

        /* No results */
        .no-results {
            text-align: center;
            padding: 80px 20px;
            color: var(--text-muted);
        }
        .no-results i {
            font-size: 3rem;
            color: var(--bg-offset);
            margin-bottom: 16px;
        }
        .no-results h3 {
            color: var(--text-dark);
            margin-bottom: 8px;
        }

        /* Mobile Hamburger */
        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--text-dark);
            cursor: pointer;
            padding: 8px;
        }

        /* Blurbs Grid */
        .blurbs-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }

        .blurb-card {
            text-align: center;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            text-decoration: none;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .blurb-card:hover {
            transform: translateY(-8px);
        }

        .blurb-card img {
            width: 100%;
            height: auto;
            max-width: 320px; /* Increased from 280px to make images even larger */
            object-fit: contain;
            transition: transform 0.3s;
        }

        .blurb-card:hover img {
            transform: scale(1.05);
        }

        .blurb-card h3 {
            font-size: 1.2rem;
            color: var(--text-dark);
            margin: 0;
            transition: color 0.3s;
        }

        .blurb-card:hover h3 {
            color: var(--brand-orange);
        }

        /* Horizontal Banners */
        .horizontal-banners {
            display: flex;
            flex-direction: column;
            gap: 32px;
        }

        .horizontal-banner-link {
            display: block;
            border-radius: var(--radius-lg);
            overflow: hidden;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .horizontal-banner-link:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }

        @media (max-width: 900px) {
            .nav-links { display: none; }
            .mobile-toggle { display: block; }
            .story-section, .testimonial-bar { grid-template-columns: 1fr; flex-direction: column; }
            .big-banner-grid { grid-template-columns: 1fr; }
            .section-header { flex-direction: column; align-items: flex-start; gap: 20px; }
            .stats-row { grid-template-columns: repeat(2, 1fr); }
            .filter-bar { flex-direction: column; align-items: stretch; }
            .search-box { min-width: unset; }
            .login-card { padding: 40px 24px; margin: 0 16px; }
            .contact-bar { padding: 40px 24px; }
            .blurbs-grid { grid-template-columns: repeat(2, 1fr); }
            .alumnos-resources-grid { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 500px) {
            .blurbs-grid { grid-template-columns: 1fr; }
            .alumnos-resources-grid { grid-template-columns: 1fr; }
        }

        /* =====================================================
           Alumnos - Resource Cards with Images
           ===================================================== */
        .alumnos-resources-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 24px;
        }

        .alumnos-res-card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            overflow: hidden;
            text-decoration: none;
            color: var(--text-dark);
            border: 1px solid rgba(0,0,0,0.06);
            box-shadow: var(--shadow-sm);
            transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            display: flex;
            flex-direction: column;
        }

        .alumnos-res-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-lg);
            border-color: rgba(249, 115, 22, 0.3);
        }

        /* Image container — preserves natural aspect ratio */
        .alumnos-res-img {
            width: 100%;
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            position: relative;
            padding: 12px;
        }

        .alumnos-res-img img {
            width: 100%;
            height: auto;
            display: block;
            object-fit: contain;
            transition: transform 0.5s ease;
        }

        .alumnos-res-card:hover .alumnos-res-img img {
            transform: scale(1.04);
        }

        /* Icon fallback for cards without images */
        .alumnos-res-icon-fallback {
            width: 100%;
            min-height: 140px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .alumnos-res-icon-fallback::after {
            content: '';
            position: absolute;
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: rgba(255,255,255,0.5);
            filter: blur(20px);
        }

        /* Card body */
        .alumnos-res-body {
            padding: 16px 20px 20px;
            display: flex;
            flex-direction: column;
            gap: 6px;
            flex: 1;
        }

        .alumnos-res-tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-family: 'Outfit', sans-serif;
            font-size: 0.72rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            padding: 4px 10px;
            border-radius: 20px;
            width: fit-content;
        }

        .alumnos-res-body h4 {
            font-family: 'Outfit', sans-serif;
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text-dark);
            line-height: 1.3;
            margin: 0;
        }

        .alumnos-res-body p {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin: 0;
            line-height: 1.4;
        }

        /* Hover arrow indicator */
        .alumnos-res-card::after {
            content: '\f061';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            bottom: 16px;
            right: 16px;
            font-size: 0.8rem;
            color: var(--brand-orange);
            opacity: 0;
            transform: translateX(-8px);
            transition: all 0.3s ease;
        }

        .alumnos-res-card {
            position: relative;
        }

        .alumnos-res-card:hover::after {
            opacity: 1;
            transform: translateX(0);
        }

        @media (max-width: 768px) {
            .alumnos-resources-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 16px;
            }
            .alumnos-res-body {
                padding: 12px 14px 16px;
            }
            .alumnos-res-body h4 {
                font-size: 0.95rem;
            }
        }

        @media (max-width: 500px) {
            .alumnos-resources-grid {
                grid-template-columns: 1fr;
            }
        }

        /* =====================================================
           Catálogo - PDF Cards
           ===================================================== */
        .catalogo-pdf-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            gap: 24px;
        }

        .pdf-card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            overflow: hidden;
            text-decoration: none;
            color: var(--text-dark);
            border: 1px solid rgba(0,0,0,0.06);
            box-shadow: var(--shadow-sm);
            transition: all 0.35s ease;
            display: flex;
            flex-direction: column;
        }

        .pdf-card:hover:not(.pdf-card-pending) {
            transform: translateY(-6px);
            box-shadow: var(--shadow-lg);
            border-color: rgba(59, 130, 246, 0.3);
        }

        .pdf-img {
            width: 100%;
            aspect-ratio: 1 / 1.3;
            background: #f8fafc;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            position: relative;
            padding: 16px;
            border-bottom: 1px solid rgba(0,0,0,0.04);
        }

        .pdf-img img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            transition: transform 0.5s ease;
            filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
        }

        .pdf-card:hover:not(.pdf-card-pending) .pdf-img img {
            transform: scale(1.05);
        }

        .pdf-body {
            padding: 20px;
            text-align: center;
            display: flex;
            flex-direction: column;
            gap: 16px;
            flex: 1;
            justify-content: space-between;
        }

        .pdf-body h3 {
            font-family: 'Outfit', sans-serif;
            font-size: 1.2rem;
            margin: 0;
            color: var(--text-dark);
        }

        .btn-pdf {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: rgba(59, 130, 246, 0.1);
            color: var(--brand-blue);
            padding: 10px 16px;
            border-radius: 8px;
            font-size: 0.9rem;
            font-weight: 600;
            transition: all 0.3s;
        }

        .pdf-card:hover:not(.pdf-card-pending) .btn-pdf {
            background: var(--brand-blue);
            color: white;
        }

        .pdf-card-pending {
            opacity: 0.7;
            cursor: not-allowed;
        }
        
        .pdf-card-pending .pdf-img i {
            font-size: 4rem;
            color: #cbd5e1;
        }

        /* =====================================================
           Promo Banners Grid (2 columns)
           ===================================================== */
        .promo-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 32px;
            margin: 40px auto 60px auto;
            width: 100%;
        }

        .promo-banner {
            position: relative;
            border-radius: var(--radius-lg);
            overflow: hidden;
            display: flex;
            align-items: stretch;
            box-shadow: var(--shadow-md);
            background: #fff;
            min-height: 250px;
        }

        .promo-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0;
        }

        .promo-content {
            position: relative;
            z-index: 1;
            display: flex;
            width: 100%;
            flex-direction: row;
            align-items: center;
        }

        .promo-text {
            flex: 1;
            padding: 40px 30px;
            color: #1e293b;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
        }

        .promo-text h2 {
            font-size: 2.5rem;
            line-height: 1.1;
            margin-bottom: 16px;
            font-family: 'Outfit', sans-serif;
            font-weight: 800;
            text-transform: uppercase;
        }

        .promo-text p {
            font-size: 1rem;
            max-width: 100%;
            line-height: 1.5;
            margin-bottom: 20px;
            font-weight: 500;
        }

        .promo-img-container {
            flex: 1;
            display: flex;
            justify-content: flex-end;
            align-items: flex-end;
            height: 100%;
            min-height: 250px;
            padding-right: 20px;
        }

        .promo-fg {
            max-width: 100%;
            height: auto;
            max-height: 560px;
            object-fit: contain;
            filter: drop-shadow(-10px 10px 20px rgba(0,0,0,0.15));
            transform-origin: bottom right;
            transform: scale(1.3) translateY(4px);
            transition: transform 0.4s ease;
        }

        /* Hover Effects */
        .promo-banner {
            transition: transform 0.4s ease, box-shadow 0.4s ease;
        }

        .promo-banner:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.12);
        }

        .promo-banner:hover .promo-fg {
            transform: scale(1.35) translateY(0px);
        }

        /* Promo Banner Variations */
        .promo-banner.promo-left-img .promo-content {
            flex-direction: row-reverse;
        }

        .promo-banner.promo-left-img .promo-img-container {
            justify-content: flex-start;
            padding-right: 0;
            padding-left: 20px;
        }

        .promo-banner.promo-left-img .promo-fg {
            transform-origin: bottom left;
        }

        /* Center Variation (Contactanos) */
        .promo-banner.promo-center .promo-content {
            justify-content: center;
            height: 100%;
            min-height: 250px;
        }
        
        .promo-banner.promo-center .promo-img-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 0;
        }

        
        .promo-banner.promo-center .promo-text {
            position: relative;
            z-index: 1;
            align-items: center;
            text-align: center;
            padding: 40px 30px;
            margin: 24px;
            max-width: 600px;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-radius: var(--radius-lg);
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        }

        @media (max-width: 1024px) {
            .promo-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .promo-content {
                flex-direction: column;
                text-align: center;
            }
            .promo-text {
                padding: 40px 20px;
                align-items: center;
            }
            .promo-text h2 {
                font-size: 2rem;
            }
            .promo-text p {
                margin: 0 auto 24px;
            }
            .promo-img-container {
                justify-content: center;
                padding-right: 0;
                width: 100%;
                min-height: 250px;
            }
            .promo-fg {
                max-height: 300px;
                transform: scale(1) translateY(0);
                transform-origin: bottom center;
            }
        }