/* --- VARIABLES CSS (Tu Paleta) --- */
        :root {
            --primary: rgb(23, 15, 61);
            --secondary: rgba(23, 15, 61, 0.8);
            --accent: rgb(255, 38, 0); /* Rojo */
            --accent-secondary: rgb(255, 193, 7); /* Dorado */
             --eval-gradient: linear-gradient(135deg, rgb(23, 15, 61) 0%, #0d47a1 100%);
            --purple-gradient: linear-gradient(135deg, rgb(23, 15, 61) 0%, rgba(23, 15, 61, 0.9) 100%);
            --blue-gradient: linear-gradient(135deg, rgb(0, 123, 255) 0%, rgba(0, 123, 255, 0.8) 100%);
              --editorial-gradient: linear-gradient(135deg, rgb(23, 15, 61) 0%, #0056b3 100%);
            
            --light-accent: rgba(0, 123, 255, 0.05);
            --text: #333333;
            --light-text: #555555;
            --background: #f8f9fa;
            --card-bg: #ffffff;
            --border: #e0e0e0;
            --white: #ffffff;
            
            --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
            --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
            --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.15);
            
            --radius: 8px;
            --container-width: 1200px;
            --header-height: 80px;
             --purple-gradient: linear-gradient(135deg, rgb(23, 15, 61) 0%, #311b92 100%);
            --neon-gradient: linear-gradient(45deg, #ff0055, #ffcc00);
        }

        /* --- RESET & BASE --- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: "Roboto", sans-serif;
            font-optical-sizing: auto;
            background-color: var(--background);
            color: var(--text);
            line-height: 1.6;
            font-size: 18px;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: color 0.3s ease;
        }

        ul {
            list-style: none;
        }

        img {
            max-width: 100%;
            display: block;
        }

        /* --- UTILITIES --- */
        .container {
            max-width: var(--container-width);
            margin: 0 auto;
            padding: 0 20px;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 1% 2%;
            border-radius: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            gap: 8px;
            border: none;
            font-size: 18px;
        }

        .btn-primary {
            background-color: var(--accent);
            color: #FFF !important;
        }

        .btn-primary:hover {
            background-color: #d62200;
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        .btn-outline { background-color: transparent; border: 2px solid #d62200; color: #d62200; }
        .btn-outline:hover { background-color: var(--primary); color: var(--white) !important ; }
        .btn-incubator { background-color: var(--accent-secondary); color: var(--primary); }
        .btn-incubator:hover { background-color: #ffca28; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.15); }

        .btn-link {
            color: var(--accent);
            padding: 0;
            background: none;
        }
        
        .btn-link:hover {
            text-decoration: underline;
        }

        .section-title {
            text-align: center;
            margin-bottom: 40px;
        }

        .section-title.left-align {
            text-align: left;
        }

        .section-title span {
            color: var(--accent);
            font-weight: 700;
            text-transform: uppercase;
            font-size: 0.9rem;
            letter-spacing: 1px;
            display: block;
            margin-bottom: 10px;
        }

        .section-title h2 {
            font-size: 2rem;
            color: var(--primary);
            font-weight: 700;
        }

        /* --- NAVIGATION --- */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: var(--header-height);
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--border);
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 100%;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            cursor: pointer;
        }

        .logo-icon {
            width: 40px;
            height: 40px;
            background-color: var(--primary);
            color: var(--white);
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            font-size: 1.2rem;
        }

        .logo-text h1 {
            font-size: 1.2rem;
            color: var(--primary);
            line-height: 1;
        }

        .logo-text span {
            font-size: 0.8rem;
            color: var(--accent);
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        .nav-links {
            display: flex;
            gap: 15px;
            align-items: center;
        }

        .nav-links a {
            font-weight: 500;
            color: var(--light-text);
            font-size: 0.9rem;
        }

        .nav-links a:hover, .nav-links a.active {
            color: var(--accent);
        }

        .mobile-menu-btn {
            display: none;
            font-size: 1.5rem;
            color: var(--primary);
            background: none;
            border: none;
            cursor: pointer;
        }

        /* --- HERO SECTION --- */
        .hero {
            position: relative;
            padding: 160px 0 100px;
            background-color: var(--primary);
            background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
            color: var(--white);
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(23, 15, 61, 0.95) 0%, rgba(23, 15, 61, 0.8) 100%);
            z-index: 1;
        }

        .hero-content1 {
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 40px;
        }

        .hero-text {
            flex: 1;
        }

        .badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255,255,255,0.1);
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            margin-bottom: 24px;
            border: 1px solid rgba(255,255,255,0.2);
        }

        .dot {
            width: 8px;
            height: 8px;
            background-color: var(--accent-secondary);
            border-radius: 50%;
        }

        .hero h1 {
            font-size: 3.5rem;
            line-height: 1.1;
            margin-bottom: 24px;
        }

        .hero h1 span {
            color: var(--accent-secondary);
        }

        .hero p {
            font-size: 1.1rem;
            color: #e0e0e0;
            margin-bottom: 40px;
            max-width: 600px;
        }

        .hero-buttons {
            display: flex;
            gap: 16px;
        }

        .hero-card {
            flex: 0 0 400px;
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(10px);
            padding: 30px;
            border-radius: 16px;
            border: 1px solid rgba(255,255,255,0.2);
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        }

        /* --- STATS SECTION --- */
        .stats-section {
            background: var(--white);
            margin-top: -50px;
            position: relative;
            z-index: 10;
            border-radius: 16px;
            box-shadow: var(--shadow-lg);
            padding: 40px;
            margin-bottom: 80px;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            text-align: center;
        }

        .stat-item h3 {
            font-size: 2.5rem;
            color: var(--primary);
            font-weight: 700;
            margin-bottom: 5px;
        }

        .stat-item p {
            font-size: 0.85rem;
            color: var(--light-text);
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 600;
        }

        /* --- SECTIONS GENERAL --- */
        section {
            padding: 4% 0;
        }

        .bg-light {
            background-color: var(--background);
        }

        .bg-white {
            background-color: var(--white);
        }

        /* --- GRID CARDS (Research & Services) --- */
        .grid-4 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }

        .card {
            background: var(--card-bg);
            border-radius: 16px;
            padding: 32px;
            box-shadow: var(--shadow-sm);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid var(--border);
            height: 100%;
            display: flex;
            flex-direction: column;
        }

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

        .card-icon {
            width: 60px;
            height: 60px;
            background: var(--light-accent);
            color: var(--primary);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin-bottom: 24px;
            transition: background 0.3s ease, color 0.3s ease;
        }

        .card:hover .card-icon {
            background: var(--primary);
            color: var(--white);
        }

        .card h3 {
            font-size: 1.25rem;
            margin-bottom: 12px;
            color: var(--primary);
        }

        .card p {
            font-size: 0.95rem;
            color: var(--light-text);
            margin-bottom: 20px;
            flex-grow: 1;
        }

        /* --- SPLIT LAYOUT (Eventos y Publicaciones) --- */
        .split-layout {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
        }

        .one-col-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 30px;
        }

        /* --- TRANSMEDIA (CSS REINTEGRADO) --- */
        .transmedia-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .transmedia-card {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            height: 280px;
            box-shadow: var(--shadow-md);
            cursor: pointer;
            transition: all 0.3s ease;
            border: 1px solid rgba(255,255,255,0.1);
        }

        .transmedia-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.3);
        }

        .transmedia-bg {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .transmedia-card:hover .transmedia-bg {
            transform: scale(1.05);
        }

        .transmedia-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.1) 100%);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 25px;
            color: white;
        }

        .play-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60px;
            height: 60px;
            background: rgba(255,255,255,0.15);
            backdrop-filter: blur(8px);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: white;
            border: 2px solid rgba(255,255,255,0.8);
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }

        .transmedia-card:hover .play-btn {
            background: var(--accent);
            border-color: var(--accent);
            transform: translate(-50%, -50%) scale(1.15);
            box-shadow: 0 8px 25px rgba(255, 38, 0, 0.4);
        }

        .tm-tag {
            background: var(--accent-secondary);
            color: var(--primary);
            padding: 4px 12px;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            align-self: flex-start;
            margin-bottom: 12px;
            letter-spacing: 0.5px;
        }

        .tm-title {
            font-size: 1.2rem;
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 8px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
        }

        .tm-desc {
            font-size: 0.9rem;
            color: #ddd;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* --- CURSOS CSS --- */
        .course-card {
            background: var(--white);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: var(--shadow-md);
            border: 1px solid var(--border);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
        }
        
        .course-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .course-header {
            height: 160px;
            background: var(--purple-gradient);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }
        
        .course-icon-large {
            font-size: 4rem;
            color: rgba(255,255,255,0.2);
        }
        
        .course-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: var(--accent-secondary);
            color: var(--primary);
            font-size: 0.75rem;
            font-weight: 700;
            padding: 4px 10px;
            border-radius: 4px;
            text-transform: uppercase;
        }

        .course-body {
            padding: 25px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .course-title {
            color: var(--primary);
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 10px;
            line-height: 1.3;
        }
        
        .course-meta {
            display: flex;
            gap: 15px;
            font-size: 0.85rem;
            color: var(--light-text);
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }
        
        .course-meta span {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        /* --- CONVENIOS --- */
        .partners-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }

        .partner-card {
            background: var(--white);
            padding: 40px 30px;
            border-radius: 12px;
            border: 1px solid var(--border);
            text-align: center;
            transition: all 0.3s ease;
        }

        .partner-card:hover {
            box-shadow: var(--shadow-md);
            border-color: var(--accent);
            transform: translateY(-5px);
        }

        .partner-icon {
            font-size: 3rem;
            color: var(--primary);
            margin-bottom: 20px;
            opacity: 0.8;
        }

        .partner-card h4 {
            color: var(--primary);
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .partner-card p {
            font-size: 0.85rem;
            color: var(--light-text);
            line-height: 1.5;
        }

        /* --- PUBLICACIONES --- */
        .pub-card {
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 12px;
            overflow: hidden;
            display: flex;
            flex-direction: row; 
            transition: all 0.3s ease;
            height: 198px;
        }

        .pub-card:hover {
            box-shadow: var(--shadow-lg);
            transform: translateY(-3px);
        }

        .pub-cover {
            width: 140px;
            position: relative;
            background-color: var(--light-accent);
            overflow: hidden;
            flex-shrink: 0;
        }

        .pub-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

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

        .pub-body {
            padding: 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .pub-meta {
            font-size: 0.75rem;
            color: var(--accent);
            font-weight: 600;
            margin-bottom: 5px;
            text-transform: uppercase;
        }

        .pub-title {
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 5px;
            line-height: 1.3;
        }

        .pub-author {
            font-size: 0.8rem;
            color: var(--light-text);
            margin-bottom: 10px;
            font-style: italic;
        }

        .pub-desc {
            font-size: 0.85rem;
            color: var(--light-text);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* --- SEMILLERO --- */
        .semillero-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 30px;
        }
        
        .semillero-card {
            background: var(--white);
            border-radius: 12px;
            padding: 30px 20px;
            text-align: center;
            border: 1px solid var(--border);
            border-top: 4px solid var(--accent-secondary); 
            transition: all 0.3s ease;
        }
        
        .semillero-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
        }

        .semillero-img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: #eee;
            margin: 0 auto 15px;
            object-fit: cover;
            border: 3px solid var(--white);
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }

        .semillero-name {
            font-weight: 700;
            color: var(--primary);
            font-size: 1.05rem;
            margin-bottom: 5px;
        }
        
        .semillero-role {
            font-size: 0.8rem;
            color: var(--accent);
            font-weight: 600;
            margin-bottom: 5px;
            text-transform: uppercase;
        }
        
        .semillero-info {
            font-size: 0.85rem;
            color: var(--light-text);
        }

        /* --- EVENTOS --- */
        .event-card1 {
            background: var(--white);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow-md);
            border: 1px solid var(--border);
            display: flex;
            flex-direction: row; 
            
            transition: transform 0.3s ease;
        }

        .event-card1:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
        }

        .event-date {
            background: var(--purple-gradient);
            color: var(--white);
            padding: 0 20px;
            text-align: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
            min-width: 100px;
        }

        .event-date .day {
            display: block;
            font-size: 1rem;
            font-weight: 700;
            line-height: 1.2;
        }

        .event-date .month {
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .event-details {
            padding: 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .event-details h3 {
            color: var(--primary);
            font-size: 1.1rem;
            margin-bottom: 5px;
            line-height: 1.3;
        }

        .event-meta {
            display: flex;
            align-items: center;
            gap: 15px;
            font-size: 0.8rem;
            color: var(--light-text);
            margin-bottom: 5px;
        }

        .event-meta i {
            color: var(--accent);
        }

        .event-type {
            display: inline-block;
            background: var(--light-accent);
            color: var(--primary);
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.7rem;
            font-weight: 600;
            margin-bottom: 5px;
            width: fit-content;
        }

        /* --- PROJECTS --- */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 40px;
        }

        .project-card {
            position: relative;
            border-radius: 16px;
            overflow: hidden;
            height: 350px;
            box-shadow: var(--shadow-md);
        }

        .project-bg {
            height: 100%;
            width: 100%;
            background-color: #eee;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            color: rgba(0,0,0,0.1);
        }

        .project-bg.p1 { background: linear-gradient(to right, #2c3e50, #4ca1af); }
        .project-bg.p2 { background: linear-gradient(to right, #134e5e, #71b280); }

        .project-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            top: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
            padding: 30px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            color: var(--white);
            transition: all 0.3s ease;
        }
        
        .project-card:hover .project-overlay {
            background: linear-gradient(to top, rgba(255, 38, 0, 0.9) 0%, rgba(23, 15, 61, 0.8) 100%);
        }

        .project-cat {
            color: var(--accent-secondary);
            font-size: 0.8rem;
            font-weight: 700;
            margin-bottom: 8px;
            text-transform: uppercase;
        }

        .project-title {
            font-size: 1.5rem;
            margin-bottom: 10px;
            font-weight: 700;
        }

        /* --- TEAM --- */
        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
        }

        .team-member {
            text-align: center;
        }

        .member-img {
            width: 140px;
            height: 140px;
            border-radius: 50%;
            background: #ddd;
            margin: 0 auto 20px;
            border: 4px solid var(--white);
            box-shadow: var(--shadow-md);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            color: #999;
        }
        .member-img img{
            border-radius: 50%;
        }


        .member-name {
            color: var(--primary);
            font-weight: 700;
            font-size: 1.1rem;
            margin-bottom: 5px;
        }

        .member-role {
            color: var(--accent);
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 8px;
        }

        .member-desc {
            font-size: 0.8rem;
            color: var(--light-text);
        }

        /* --- CTA --- */
        .cta-section {
            background: var(--primary);
            color: var(--white);
            padding: 80px 0;
            position: relative;
        }

        .cta-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 40px;
        }

        /* --- CONTACT & FAQ --- */
        .contact-layout {
            /* Cambio a diseño de columna única centrada para los acordeones principales */
            display: block;
            max-width: 800px;
            margin: 0 auto;
        }

        .accordion-item {
            background: var(--white);
            border-radius: 8px;
            margin-bottom: 15px;
            border: 1px solid var(--border);
            overflow: hidden;
        }

        /* Estilo para los encabezados principales de sección */
        .main-accordion-header {
            width: 100%;
            text-align: left;
            padding: 25px;
            background: var(--light-accent);
            border: none;
            font-weight: 700;
            color: var(--primary);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-family: inherit;
            font-size: 1.2rem;
            transition: background 0.3s;
        }

        .main-accordion-header:hover {
            background: #e0f2fe; /* Un tono más azulado */
        }

        /* Sub-acordeones (las preguntas individuales) */
        .sub-accordion-header {
            width: 100%;
            text-align: left;
            padding: 15px 20px;
            background: white;
            border: none;
            border-top: 1px solid #eee;
            font-weight: 600;
            color: var(--text);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-family: inherit;
            font-size: 1rem;
        }
        
        .sub-accordion-header:hover {
            color: var(--accent);
        }

        .accordion-content {
            padding: 0; /* Padding manejado internamente o por hijos */
            display: none; /* Oculto por defecto */
            border-top: 1px solid var(--border);
        }

        .inner-padding {
            padding: 25px;
        }

        .contact-form-card {
            background: var(--white);
            /* padding removido aquí, se maneja en inner-padding */
            border-radius: 0; 
            box-shadow: none;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text);
        }

        .form-control {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid var(--border);
            border-radius: 8px;
            font-family: inherit;
            font-size: 1rem;
            transition: border-color 0.3s;
        }

        .form-control:focus {
            outline: none;
            border-color: var(--accent);
        }

        .btn-block {
            width: 100%;
        }

        /* --- FOOTER --- */
        footer {
            background: #111;
            color: #ccc;
            padding: 80px 0 30px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 60px;
        }

        .footer-title {
            color: var(--white);
            font-weight: 700;
            margin-bottom: 20px;
            font-size: 1.1rem;
        }

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

        .footer-links a:hover {
            color: var(--accent);
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-icon {
            width: 36px;
            height: 36px;
            background: #333;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: 0.3s;
        }

        .social-icon:hover {
            background: var(--accent);
            color: var(--white);
        }

        .footer-bottom {
            border-top: 1px solid #333;
            padding-top: 30px;
            display: flex;
            justify-content: space-between;
            font-size: 0.9rem;
        }

        /* --- Cookie Banner --- */
        #cookie-banner {
            position: fixed;
            bottom: 20px;
            left: 20px;
            right: 20px;
            background: var(--primary);
            color: var(--white);
            padding: 20px;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.3);
            display: none; /* Initially hidden, shown by JS */
            z-index: 10000;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        #cookie-banner p {
            font-size: 0.9rem;
            margin: 0;
        }

        #back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: var(--accent);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(0,0,0,0.3);
            opacity: 0;
            transition: opacity 0.3s, transform 0.3s;
            z-index: 9999;
            pointer-events: none;
        }

        #back-to-top.visible {
            opacity: 1;
            pointer-events: auto;
        }

        #back-to-top:hover {
            transform: translateY(-5px);
        }

        /* --- ASISTENTE IA ALETHEIA --- */
        #ai-fab {
            position: fixed;
            bottom: 30px;
            right: 90px; /* Offset to left of back-to-top */
            width: 60px;
            height: 60px;
            background: var(--purple-gradient);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(23, 15, 61, 0.4);
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            z-index: 10001;
            border: 2px solid rgba(255,255,255,0.2);
        }

        #ai-fab:hover {
            transform: scale(1.1) rotate(5deg);
            box-shadow: 0 8px 25px rgba(23, 15, 61, 0.6);
        }

        /* --- WHATSAPP FAB --- */
        #whatsapp-fab {
            position: fixed;
            bottom: 30px;
            left: 30px; /* Movido a la izquierda */
            width: 60px;
            height: 60px;
            background-color: #25D366;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            z-index: 10001;
            border: 2px solid rgba(255,255,255,0.2);
            text-decoration: none;
        }

        #whatsapp-fab:hover {
            transform: scale(1.1) rotate(-10deg);
            box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
        }

        #ai-fab::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            border: 2px solid var(--accent-secondary);
            opacity: 0;
            animation: pulse-ring 2s infinite;
        }

        @keyframes pulse-ring {
            0% { transform: scale(1); opacity: 0.7; }
            100% { transform: scale(1.5); opacity: 0; }
        }

        /* Ventana del Chat */
        #ai-chat-window {
            position: fixed;
            bottom: 100px;
            right: 30px;
            width: 350px;
            height: 500px;
            background: var(--white);
            border-radius: 16px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.2);
            display: none;
            flex-direction: column;
            overflow: hidden;
            z-index: 10002;
            border: 1px solid var(--border);
            animation: slideInUp 0.3s ease-out;
        }

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

        .chat-header {
            background: var(--primary);
            color: white;
            padding: 15px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 2px solid var(--accent-secondary);
        }

        .chat-header h3 {
            margin: 0;
            font-size: 1rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .chat-close {
            background: none;
            border: none;
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            opacity: 0.7;
            transition: 0.3s;
        }

        .chat-close:hover { opacity: 1; }

        .chat-messages {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
            background-color: #f8f9fa;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .message {
            max-width: 80%;
            padding: 10px 15px;
            border-radius: 12px;
            font-size: 0.9rem;
            line-height: 1.4;
            position: relative;
        }

        .message.bot {
            align-self: flex-start;
            background: white;
            color: var(--text);
            border-bottom-left-radius: 2px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            border: 1px solid #eee;
        }

        .message.user {
            align-self: flex-end;
            background: var(--primary);
            color: white;
            border-bottom-right-radius: 2px;
        }

        .chat-input-area {
            padding: 15px;
            background: white;
            border-top: 1px solid var(--border);
            display: flex;
            gap: 10px;
        }

        #chat-input {
            flex: 1;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 20px;
            outline: none;
            font-family: inherit;
            font-size: 0.9rem;
        }

        #chat-input:focus {
            border-color: var(--primary);
        }

        #chat-send {
            background: var(--accent);
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: 0.3s;
        }

        #chat-send:hover {
            background: var(--primary);
        }

        .typing-indicator {
            display: none;
            font-size: 0.8rem;
            color: #888;
            margin-left: 10px;
            margin-bottom: 5px;
        }

        /* --- RESPONSIVE --- */
        @media (max-width: 992px) {
            .hero h1 { font-size: 2.5rem; }
            .stats-grid { grid-template-columns: repeat(2, 1fr); }
            .hero-content1 { flex-direction: column; text-align: center; }
            .hero-card { width: 100%; }
            .hero-buttons { justify-content: center; }
            .cta-content { flex-direction: column; text-align: center; }
            .contact-layout { grid-template-columns: 1fr; }
            .split-layout { grid-template-columns: 1fr; gap: 40px; }
            .footer-grid { grid-template-columns: repeat(2, 1fr); }
            .nav-links { gap: 10px; }
            .nav-links a { font-size: 0.85rem; }
            #cookie-banner { flex-direction: column; text-align: center; }
        }

        @media (max-width: 768px) {
            .nav-links { display: none; }
            .mobile-menu-btn { display: block; }
            .stats-section { margin: 20px; padding: 20px; }
            .projects-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; }
            .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
            .pub-card, .event-card { flex-direction: column; height: auto; }
            .pub-cover { width: 100%; height: 200px; }
            .event-date { padding: 15px; }
            
            /* Ajuste móvil para botones flotantes */
            #back-to-top { bottom: 20px; right: 20px; }
            #ai-fab { right: 20px; bottom: 90px; }
            /* WhatsApp a la izquierda en móvil también */
            #whatsapp-fab { left: 20px; bottom: 20px; right: auto; }
            
            #ai-chat-window { right: 0; left: 0; bottom: 0; width: 100%; height: 80vh; border-radius: 20px 20px 0 0; }
        }

        /* --- Mobile Menu Styles (JS Toggle) --- */
        .mobile-menu {
            display: none;
            background: var(--white);
            padding: 20px;
            position: fixed;
            top: var(--header-height);
            left: 0;
            width: 100%;
            box-shadow: var(--shadow-md);
            border-top: 1px solid var(--border);
            z-index: 999;
        }

        .mobile-menu a {
            display: block;
            padding: 15px;
            border-bottom: 1px solid #eee;
            color: var(--primary);
            font-weight: 500;
        }

        /* --- HERO BACKGROUND IMAGE --- */
        .hero-bg-image {
            /* Imagen de red digital/conocimiento global */
            background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            position: relative;
        }

        /* Overlay para asegurar legibilidad del texto */
        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(23, 15, 61, 0.92) 0%, rgba(23, 15, 61, 0.75) 100%);
            z-index: 1;
        }
        /* --- HERO INVESTIGACIÓN --- */
        .page-hero {
            padding: 180px 0 100px;
            background: var(--primary);
            background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
            color: white;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .page-hero::before {
            content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background: radial-gradient(circle at center, transparent 0%, var(--primary) 90%);
        }

        .page-hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
        .page-hero h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.2; }
        .page-hero p { font-size: 1.2rem; color: #ccc; margin-bottom: 30px; }

        /* --- LÍNEAS DE INVESTIGACIÓN (4 por línea) --- */
        .research-lines-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr); /* 4 columnas fijas en desktop */
            gap: 30px;
        }
        
        .line-card {
            background: var(--white);
            border-radius: 12px;
            border: 1px solid var(--border);
            overflow: hidden;
            display: flex;
            flex-direction: column; /* Cambiado a vertical para caber en 4 columnas */
            text-align: center; /* Centrar contenido */
            transition: all 0.3s ease;
            height: 100%;
        }
        
        .line-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--accent-secondary); }
        
        .line-icon-box {
            width: 100%; /* Ancho completo */
            height: 120px;
            background: var(--light-accent);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            color: var(--primary);
            flex-shrink: 0;
        }
        
        .line-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
        .line-content h3 { color: var(--primary); font-size: 1.2rem; margin-bottom: 10px; font-weight: 700; }
        .line-content p { color: var(--light-text); font-size: 0.9rem; margin-bottom: 15px; flex-grow: 1; }
        .line-tags { margin-top: auto; }
        .line-tags span {
            display: inline-block; background: #f0f0f0; padding: 4px 8px; border-radius: 4px; 
            font-size: 0.7rem; margin: 2px; color: #666;
        }

        /* --- PROYECTOS ACTIVOS (3 por línea) --- */
        .projects-list {
            display: grid;
            grid-template-columns: repeat(3, 1fr); /* 3 columnas */
            gap: 30px;
        }
        
        .project-item {
            background: var(--white);
            border-radius: 16px;
            border: 1px solid var(--border);
            display: flex;
            flex-direction: column; /* Tarjeta vertical */
            overflow: hidden;
            transition: transform 0.3s ease;
        }

        .project-item:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
        }
        
        .project-visual {
            height: 200px;
            background: #eee;
            order: -1; /* Imagen arriba */
            position: relative;
        }
        .project-visual img { width: 100%; height: 100%; object-fit: cover; }

        .project-info {
            padding: 30px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .project-info h3 { font-size: 1.4rem; color: var(--primary); margin-bottom: 10px; line-height: 1.3; }
        .project-status {
            display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 700;
            background: #e6fcf5; color: #0ca678; margin-bottom: 15px; align-self: flex-start;
        }
        .project-status.ongoing { background: #fff9db; color: #f59f00; }
        
        .project-meta {
            display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: auto; padding-top: 20px; border-top: 1px solid #eee;
        }
        .meta-group h4 { font-size: 0.75rem; color: var(--text); font-weight: 700; margin-bottom: 3px; text-transform: uppercase; }
        .meta-group p { font-size: 0.85rem; color: var(--light-text); }


        /* --- FAB & CHAT (Copiados del index) --- */
        #ai-fab {
            position: fixed; bottom: 30px; right: 90px; width: 60px; height: 60px;
            background: var(--purple-gradient); color: white; border-radius: 50%;
            display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
            cursor: pointer; box-shadow: 0 4px 15px rgba(23, 15, 61, 0.4); z-index: 10001;
            transition: transform 0.3s;
        }
        #ai-fab:hover { transform: scale(1.1); }
        
        #whatsapp-fab {
            position: fixed; bottom: 30px; left: 30px; width: 60px; height: 60px;
            background-color: #25D366; color: white; border-radius: 50%;
            display: flex; align-items: center; justify-content: center; font-size: 2rem;
            cursor: pointer; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); z-index: 10001;
            transition: transform 0.3s;
        }
        #whatsapp-fab:hover { transform: scale(1.1); }

        #back-to-top {
            position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px;
            background: var(--accent); color: white; border-radius: 50%;
            display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
            cursor: pointer; opacity: 0; pointer-events: none; transition: 0.3s; z-index: 9999;
        }
        #back-to-top.visible { opacity: 1; pointer-events: auto; }

        /* Chat Window Minimal Styles */
        #ai-chat-window {
            position: fixed; bottom: 100px; right: 30px; width: 350px; height: 500px;
            background: white; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.2);
            display: none; flex-direction: column; z-index: 10002; border: 1px solid var(--border);
        }
        .chat-header { background: var(--primary); color: white; padding: 15px; display: flex; justify-content: space-between; }
        .chat-messages { flex: 1; padding: 15px; overflow-y: auto; background: #f8f9fa; }
        .chat-input-area { padding: 15px; border-top: 1px solid #eee; display: flex; gap: 10px; }
        .message { padding: 8px 12px; border-radius: 10px; margin-bottom: 10px; max-width: 80%; font-size: 0.9rem; }
        .message.bot { background: white; border: 1px solid #eee; align-self: flex-start; }
        .message.user { background: var(--primary); color: white; align-self: flex-end; margin-left: auto; }

        /* Footer */
        footer { background: #111; color: #ccc; padding: 60px 0 20px; }
        .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; border-bottom: 1px solid #333; padding-bottom: 40px; margin-bottom: 20px; }

        /* Responsive adjustments */
        @media (max-width: 1024px) {
            .research-lines-grid { grid-template-columns: repeat(2, 1fr); }
            .projects-list { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 768px) {
            .nav-links { display: none; }
            .mobile-menu-btn { display: block; }
            .research-lines-grid { grid-template-columns: 1fr; }
            .projects-list { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; }
            #ai-fab { right: 20px; bottom: 90px; }
            #whatsapp-fab { left: 20px; bottom: 20px; }
            #back-to-top { right: 20px; bottom: 20px; }
        }
        .cta-box {
            background: linear-gradient(135deg, var(--primary) 0%, #2a2a50 100%);
            color: white; padding: 60px; border-radius: 20px; text-align: center; margin-top: 80px;
            position: relative; overflow: hidden;
        }
        .cta-box h2 { font-size: 2.2rem; margin-bottom: 15px; position: relative; z-index: 2; }
        .cta-box p { font-size: 1.1rem; color: #ddd; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; position: relative; z-index: 2; }
        .cta-bg-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 15rem; color: rgba(255,255,255,0.03); z-index: 1; }

        /* --- PROGRAMA DESTACADO --- */
        .featured-program {
            background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg);
            display: grid; grid-template-columns: 1.2fr 0.8fr; margin-bottom: 80px; border: 1px solid var(--border);
        }

        .program-content { padding: 50px; display: flex; flex-direction: column; justify-content: center; }
        .program-tag { 
            display: inline-block; background: var(--accent); color: white; padding: 5px 15px; 
            border-radius: 20px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; 
            margin-bottom: 20px; align-self: flex-start;
        }
        .program-content h3 { font-size: 2.2rem; color: var(--primary); margin-bottom: 15px; line-height: 1.2; }
        .program-content p { font-size: 1.05rem; color: var(--light-text); margin-bottom: 30px; }
        
        .program-details { display: flex; gap: 30px; margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid #eee; }
        .detail-item { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text); }
        .detail-item i { color: var(--accent-secondary); font-size: 1.2rem; }

        .program-image { background: #eee; position: relative; min-height: 300px; }
        .program-image img { width: 100%; height: 100%; object-fit: cover; }

        /* --- CATÁLOGO CURSOS --- */
        .courses-grid {
            display: grid; 
            grid-template-columns: repeat(3, 1fr); /* 3 columnas fijas por línea */
            gap: 30px;
        }

        .course-card {
            background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm);
            border: 1px solid var(--border); transition: all 0.3s ease; display: flex; flex-direction: column;
        }
        .course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

        .course-header { height: 140px; position: relative; display: flex; align-items: center; justify-content: center; color: white; }
        .course-header.blue { background: var(--blue-gradient); }
        .course-header.purple { background: var(--purple-gradient); }
        .course-header.dark { background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); }
        
        .course-icon { font-size: 3.5rem; opacity: 0.3; }
        .course-type { position: absolute; top: 15px; right: 15px; background: rgba(255,255,255,0.2); backdrop-filter: blur(5px); padding: 4px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; }

        .course-body { padding: 25px; flex: 1; display: flex; flex-direction: column; }
        .course-title { font-size: 1.25rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; line-height: 1.3; }
        .course-info { display: flex; gap: 15px; font-size: 0.85rem; color: var(--light-text); margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
        .course-desc { font-size: 0.9rem; color: var(--light-text); margin-bottom: 20px; flex-grow: 1; }

        /* --- METODOLOGÍA --- */
        .methodology-section { margin-top: 80px; text-align: center; }
        .methodology-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
        .method-item { padding: 20px; }
        .method-icon { 
            width: 70px; height: 70px; background: var(--white); border-radius: 50%; 
            display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
            font-size: 1.8rem; color: var(--accent); box-shadow: var(--shadow-md);
        }
        .method-item h4 { color: var(--primary); margin-bottom: 10px; font-size: 1.1rem; }
        .method-item p { font-size: 0.9rem; color: var(--light-text); }

         /* Price Styling */
        .price-tag {
            font-size: 1.5rem; font-weight: 800; color: var(--primary); display: block; margin-top: 10px;
        }
        .price-tag small {
            font-size: 0.9rem; color: #999; text-decoration: line-through; font-weight: 400; margin-left: 8px;
        }
        .price-tag.highlight { color: var(--accent); font-size: 1.8rem; margin-bottom: 25px; }

         /* --- HERO DIPLOMADO --- */
        .diploma-hero {
            padding: 160px 0 100px;
            background: linear-gradient(135deg, var(--primary) 0%, #1a1a2e 100%);
            color: white;
            position: relative;
            overflow: hidden;
        }
        
        /* Patrón de fondo tecnológico */
        .diploma-hero::after {
            content: ''; position: absolute; inset: 0;
            background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.03) 0%, transparent 50%),
                              radial-gradient(circle at 80% 20%, rgba(255, 193, 7, 0.05) 0%, transparent 40%);
            pointer-events: none;
        }

        .diploma-header-content {
            display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2;
        }

        .badge-new {
            background: var(--accent-secondary); color: var(--primary); padding: 5px 12px; border-radius: 4px;
            font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-bottom: 20px; display: inline-block;
        }

        .diploma-hero h1 { font-size: 3rem; line-height: 1.1; margin-bottom: 20px; font-weight: 800; }
        .diploma-hero .subtitle { font-size: 1.2rem; color: #ccc; margin-bottom: 30px; font-weight: 300; }

        .key-features { display: flex; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
        .feature { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 500; }
        .feature i { color: var(--accent); font-size: 1.1rem; }

        .hero-card-price {
            background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2);
            border-radius: 16px; padding: 30px; text-align: center;
        }
        .price-display { font-size: 2.5rem; font-weight: 800; color: white; margin-bottom: 5px; }
        .price-old { text-decoration: line-through; color: #999; font-size: 1.1rem; margin-left: 10px; }
        .price-label { display: block; font-size: 0.9rem; color: #ccc; margin-bottom: 20px; }

        /* --- INFO BAR --- */
        .info-bar { background: var(--white); padding: 30px 0; border-bottom: 1px solid var(--border); }
        .info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
        .info-item { display: flex; align-items: center; gap: 15px; }
        .info-icon { 
            width: 50px; height: 50px; background: var(--light-accent); color: var(--primary); border-radius: 50%;
            display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
        }
        .info-text h4 { font-size: 0.85rem; color: var(--light-text); text-transform: uppercase; margin-bottom: 2px; }
        .info-text p { font-weight: 700; color: var(--primary); font-size: 1rem; margin: 0; }

        /* --- CONTENT GRID --- */
        .content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; margin-top: 60px; }
        
        /* Módulos (Acordeón) */
        .module-item { 
            background: var(--white); border: 1px solid var(--border); border-radius: 8px; margin-bottom: 15px; overflow: hidden;
        }
        .module-header {
            padding: 20px; background: #fff; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
            font-weight: 600; color: var(--primary); transition: background 0.3s;
        }
        .module-header:hover { background: #f8f9fa; }
        .module-body { 
            padding: 20px; display: none; border-top: 1px solid #eee; font-size: 0.95rem; color: var(--light-text);
        }
        .module-number { color: var(--accent); font-weight: 800; margin-right: 15px; }

        /* Sidebar */
        .sidebar-box { background: var(--white); padding: 30px; border-radius: 12px; border: 1px solid var(--border); margin-bottom: 30px; }
        .sidebar-box h3 { font-size: 1.2rem; color: var(--primary); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--accent-secondary); }
        
        .instructor-profile { display: flex; gap: 15px; align-items: center; margin-bottom: 15px; }
        .instructor-img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
        .instructor-info h4 { font-size: 1rem; margin-bottom: 2px; }
        .instructor-info span { font-size: 0.8rem; color: var(--light-text); }

         /* Módulos (Acordeón) */
        .module-item { 
            background: var(--white); border: 1px solid var(--border); border-radius: 8px; margin-bottom: 15px; overflow: hidden;
        }
        .module-header {
            padding: 20px; background: #fff; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
            font-weight: 600; color: var(--primary); transition: background 0.3s;
        }
        .module-header:hover { background: #f8f9fa; }
        .module-body { 
            padding: 20px; display: none; border-top: 1px solid #eee; font-size: 0.95rem; color: var(--light-text);
        }
        .module-number { color: var(--accent); font-weight: 800; margin-right: 15px; }
/* --- HERO TALLER --- */
        .taller-hero {
            padding: 160px 0 100px;
            /* Gradiente azulado para diferenciar del diplomado */
            background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
            color: white;
            position: relative;
            overflow: hidden;
        }
        
        .taller-hero::after {
            content: ''; position: absolute; inset: 0;
            background-image: radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.1) 0%, transparent 40%);
            pointer-events: none;
        }
        .taller-hero h1 { font-size: 3rem; line-height: 1.1; margin-bottom: 20px; font-weight: 800; }
        .taller-hero .subtitle { font-size: 1.2rem; color: #cbd5e1; margin-bottom: 30px; font-weight: 300; }
        .hero-card-price {
            background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2);
            border-radius: 16px; padding: 30px; text-align: center;
        }
        .price-display { font-size: 2.5rem; font-weight: 800; color: white; margin-bottom: 5px; }
        .price-old { text-decoration: line-through; color: #94a3b8; font-size: 1.1rem; margin-left: 10px; }
        .price-label { display: block; font-size: 0.9rem; color: #cbd5e1; margin-bottom: 20px; }

        .header-content {
            display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2;
        }

        /* --- HERO CURSO --- */
        .course-hero {
            padding: 160px 0 100px;
            background: var(--primary);
            color: white;
            position: relative;
            overflow: hidden;
        }
        
        .course-hero::after {
            content: ''; position: absolute; inset: 0;
            background-image: radial-gradient(circle at 20% 80%, rgba(255, 193, 7, 0.1) 0%, transparent 40%);
            pointer-events: none;
        }

        .header-content {
            display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2;
        }
        
        .course-hero h1 { font-size: 3rem; line-height: 1.1; margin-bottom: 20px; font-weight: 800; }
        .course-hero .subtitle { font-size: 1.2rem; color: #e0e0e0; margin-bottom: 30px; font-weight: 300; }
         .badge-type {
            background: var(--accent-secondary); color: var(--primary); padding: 5px 12px; border-radius: 4px;
            font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-bottom: 20px; display: inline-block;
        }

        @media (max-width: 992px) {
            .featured-program { grid-template-columns: 1fr; }
            .program-image { height: 250px; order: -1; }
            .methodology-grid { grid-template-columns: 1fr; }
            /* Ajuste para tablets: 2 por línea */
            .courses-grid { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 768px) {
            .nav-links { display: none; }
            .mobile-menu-btn { display: block; }
            .footer-grid { grid-template-columns: 1fr; }
            /* Ajuste para móvil: 1 por línea */
            .courses-grid { grid-template-columns: 1fr; }
            #ai-fab { right: 20px; bottom: 90px; }
            #whatsapp-fab { left: 20px; bottom: 20px; }
            #back-to-top { right: 20px; bottom: 20px; }
        }

        /* --- HERO SEMINARIO --- */
        .seminar-hero {
            padding: 160px 0 100px;
            background: var(--primary);
            color: white;
            position: relative;
            overflow: hidden;
        }
        
        .seminar-hero::after {
            content: ''; position: absolute; inset: 0;
            background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
            pointer-events: none;
        }

        .header-content {
            display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2;
        }

        .badge-type {
            background: #9c27b0; color: white; padding: 5px 12px; border-radius: 4px;
            font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-bottom: 20px; display: inline-block;
        }

        .seminar-hero h1 { font-size: 3rem; line-height: 1.1; margin-bottom: 20px; font-weight: 800; }
        .seminar-hero .subtitle { font-size: 1.2rem; color: #e1bee7; margin-bottom: 30px; font-weight: 300; }

         /* --- HERO EVENTOS --- */
        .events-hero {
            padding: 160px 0 100px;
            background: var(--purple-gradient);
            color: white;
            position: relative;
            overflow: hidden;
            text-align: center;
        }
        
        .events-hero::after {
            content: ''; position: absolute; inset: 0;
            background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
            pointer-events: none;
        }

        .hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
        .hero-content h1 { font-size: 3rem; margin-bottom: 20px; font-weight: 800; }
        .hero-content p { font-size: 1.2rem; color: #e1bee7; margin-bottom: 30px; }

        /* --- EVENTO DESTACADO (MAIN CARD) --- */
        .featured-event {
            background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            display: grid; grid-template-columns: 1.5fr 1fr; margin-bottom: 80px; border: 1px solid var(--border);
            position: relative; margin-top: -60px; z-index: 10;
        }

        .featured-content { padding: 50px; display: flex; flex-direction: column; justify-content: center; }
        .featured-tag { 
            display: inline-block; background: var(--accent); color: white; padding: 5px 15px; 
            border-radius: 20px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; 
            margin-bottom: 20px; align-self: flex-start;
        }
        .featured-title { font-size: 2.2rem; color: var(--primary); margin-bottom: 15px; line-height: 1.2; font-weight: 800; }
        .featured-desc { font-size: 1.05rem; color: var(--light-text); margin-bottom: 30px; }
        
        .event-meta-big { display: flex; gap: 30px; margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid #eee; }
        .meta-item { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text); }
        .meta-item i { color: var(--accent-secondary); font-size: 1.4rem; }
        .meta-text span { display: block; font-size: 0.75rem; color: var(--light-text); text-transform: uppercase; font-weight: 700; }
        
        .featured-image { 
            background-color: #231f20; 
            background-image: url('https://placehold.co/800x800/170f3d/ffffff?text=Congreso+2026'); 
            background-size: cover; background-position: center; 
            position: relative; min-height: 400px; 
        }
        .date-overlay {
            position: absolute; top: 30px; right: 30px; background: rgba(255,255,255,0.95);
            padding: 15px 20px; border-radius: 12px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }
        .date-overlay .day { display: block; font-size: 2.5rem; font-weight: 800; color: var(--primary); line-height: 1; }
        .date-overlay .month { display: block; font-size: 1rem; font-weight: 700; color: var(--accent); text-transform: uppercase; }
        .date-overlay .year { font-size: 0.8rem; color: var(--light-text); }

        /* --- GRID EVENTOS PRÓXIMOS --- */
        .events-grid { 
            display: grid; 
            grid-template-columns: repeat(3, 1fr); /* Forzar 3 columnas */
            gap: 30px; 
        }

        .event-card {
            background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            border: 1px solid var(--border); transition: all 0.3s ease; display: flex; flex-direction: column;
        }
        .event-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: var(--accent-secondary); }

        .card-header {height: 55px;  padding: 1%; position: relative; background-color: var(--primary); }
        .card-header img { width: 100%; height: 100%; object-fit: cover; }
        .card-badge { 
            position: absolute; top: 15px; left: 15px; background: var(--accent); color: white; 
            padding: 4px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; 
        }

        .card-body { padding: 25px; flex: 1; display: flex; flex-direction: column; }
        .card-date { color: var(--accent); font-weight: 700; font-size: 0.9rem; margin-bottom: 5px; text-transform: uppercase; }
        .card-title { font-size: 1.3rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; line-height: 1.3; }
        .card-location { font-size: 0.9rem; color: var(--light-text); margin-bottom: 15px; display: flex; align-items: center; gap: 5px; }
        .card-desc { font-size: 0.9rem; color: var(--light-text); margin-bottom: 20px; flex-grow: 1; line-height: 1.5; }

        /* --- CTA PONENTE --- */
        .speaker-cta {
            background: linear-gradient(to right, var(--primary), #1a237e); color: white; padding: 80px 0; margin-top: 80px;
            text-align: center; position: relative; overflow: hidden;
        }
        .speaker-cta::before {
            content: "\f130"; font-family: "Font Awesome 6 Free"; font-weight: 900;
            position: absolute; top: 50%; left: 10%; transform: translateY(-50%);
            font-size: 15rem; color: rgba(255,255,255,0.03);
        }
        .speaker-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }

        /* --- EVENTOS ANTERIORES --- */
        .past-events-list {
            display: flex; flex-direction: column; gap: 20px;
        }
        .past-event-item {
            display: flex; align-items: center; background: white; border: 1px solid var(--border);
            border-radius: 12px; padding: 25px; transition: all 0.3s ease;
        }
        .past-event-item:hover {
            box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-color: var(--primary); transform: translateX(5px);
        }
        .past-date {
            text-align: center; padding-right: 30px; border-right: 1px solid #eee; margin-right: 30px; min-width: 100px;
        }
        .past-date .day { font-size: 1.8rem; font-weight: 700; color: #999; line-height: 1; }
        .past-date .month { font-size: 0.85rem; text-transform: uppercase; color: var(--primary); font-weight: 700; display: block; margin-top: 2px; }
        .past-date .year { font-size: 0.8rem; color: #ccc; }
        
        .past-info { flex-grow: 1; }
        .past-info h3 { font-size: 1.2rem; color: var(--primary); margin-bottom: 5px; font-weight: 700; }
        .past-info p { font-size: 0.95rem; color: var(--light-text); margin: 0; }
        .past-tag { font-size: 0.75rem; background: #f0f0f0; padding: 2px 8px; border-radius: 4px; color: #666; margin-left: 10px; font-weight: normal; vertical-align: middle; }
        
        .past-action { min-width: 150px; text-align: right; }
        @media (max-width: 992px) {
            .featured-event { grid-template-columns: 1fr; margin-top: 0; }
            .featured-image { height: 250px; order: -1; }
            .event-meta-big { flex-direction: column; gap: 15px; }
            /* Ajuste para tablets: 2 por línea */
            .events-grid { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 768px) {
            .nav-links { display: none; }
            .mobile-menu-btn { display: block; }
            .footer-grid { grid-template-columns: 1fr; }
            /* Ajuste para móvil: 1 por línea */
            .events-grid { grid-template-columns: 1fr; }
            #ai-fab { right: 20px; bottom: 90px; }
            #whatsapp-fab { left: 20px; bottom: 20px; }
            #back-to-top { right: 20px; bottom: 20px; }
        }

        @media (max-width: 768px) {
            .past-event-item { flex-direction: column; text-align: center; gap: 15px; }
            .past-date { border-right: none; border-bottom: 1px solid #eee; padding-right: 0; padding-bottom: 15px; margin-right: 0; margin-bottom: 10px; width: 100%; }
            .past-action { width: 100%; text-align: center; }
            .past-action .btn { width: 100%; }
            .past-info h3 { display: flex; flex-direction: column; align-items: center; gap: 5px; }
            .past-tag { margin-left: 0; }
        }

         @media (max-width: 992px) {
            .magazine-spotlight { grid-template-columns: 1fr; margin-top: 0; }
            .mag-cover-wrapper { display: none; }
        }

        @media (max-width: 768px) {
            .nav-links { display: none; }
            .mobile-menu-btn { display: block; }
            .footer-grid { grid-template-columns: 1fr; }
            .mag-cover { width: 200px; height: 280px; }
            #ai-fab { right: 20px; bottom: 90px; }
            #whatsapp-fab { left: 20px; bottom: 20px; }
            #back-to-top { right: 20px; bottom: 20px; }
            .mag-cover-wrapper { display: none; }
        }

        .featured-img{
            width: 100%; height: 100%; object-fit: cover;
        }

        /* --- HERO PUBLICACIONES --- */
        .pubs-hero {
            padding: 160px 0 100px;
            background: var(--primary);
            color: white;
            position: relative;
            overflow: hidden;
            text-align: center;
        }
        
        .pubs-hero::after {
            content: ''; position: absolute; inset: 0;
            background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
            pointer-events: none;
        }

        .hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
        .hero-content h1 { font-size: 3rem; margin-bottom: 20px; font-weight: 800; }
        .hero-content p { font-size: 1.2rem; color: #e0e0e0; margin-bottom: 30px; }

        /* --- REVISTA DESTACADA --- */
        .magazine-spotlight {
            background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: 0 15px 30px rgba(0,0,0,0.1);
            display: grid; grid-template-columns: 1fr 1.5fr; margin-bottom: 80px; border: 1px solid var(--border);
            position: relative; margin-top: -60px; z-index: 10;
        }

        .mag-cover-wrapper {
            background: #eee;  align-items: center; justify-content: center; padding: 40px;
            background: radial-gradient(circle at center, #f5f5f5, #e0e0e0);
        }
        
        .mag-cover {
            width: 260px; height: 360px; background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
            box-shadow: -10px 10px 20px rgba(0,0,0,0.2); position: relative;
            display: flex; flex-direction: column; overflow: hidden; border-radius: 4px;
            transition: transform 0.3s ease;
        }
        .mag-cover:hover { transform: scale(1.02) rotate(-2deg); }

        .mag-info { padding: 50px; display: flex; flex-direction: column; justify-content: center; }
        .mag-badge { 
            background: var(--accent-secondary); color: var(--primary); padding: 5px 12px; border-radius: 4px;
            font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-bottom: 15px; align-self: flex-start;
        }
        .mag-title { font-size: 2rem; color: var(--primary); margin-bottom: 10px; font-weight: 800; line-height: 1.2; }
        .mag-meta { font-size: 0.9rem; color: var(--light-text); margin-bottom: 20px; font-weight: 500; }
        .mag-desc { font-size: 1rem; color: var(--light-text); margin-bottom: 30px; line-height: 1.6; }

        .index-badges { display: flex; gap: 15px; margin-bottom: 30px; }
        .index-badge { 
            background: #f0f0f0; padding: 5px 10px; border-radius: 4px; font-size: 0.75rem; color: #666; font-weight: 600;
            display: flex; align-items: center; gap: 5px;
        }

        /* --- LIBROS GRID --- */
        .books-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }

        .book-card {
            background: var(--white); border-radius: 12px; border: 1px solid var(--border); overflow: hidden;
            transition: all 0.3s ease; display: flex; flex-direction: column;
        }
        .book-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

        .book-cover-area {
             background: var(--light-accent); display: flex; align-items: center; justify-content: center;
            position: relative; overflow: hidden;
        }
        .book-cover-img { 
            width: 140px;  background: white; box-shadow: 0 5px 15px rgba(0,0,0,0.2); 
            display: flex; flex-direction: column; text-align: center; justify-content: center; 
            font-size: 0.8rem; color: var(--text); margin: 10px auto;
        }

        .book-content { padding: 25px; flex: 1; display: flex; flex-direction: column; }
        .book-type { font-size: 0.75rem; color: var(--accent); font-weight: 700; text-transform: uppercase; margin-bottom: 5px; }
        .book-title { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; line-height: 1.3; }
        .book-author { font-size: 0.85rem; color: var(--light-text); font-style: italic; margin-bottom: 15px; }
        .book-desc { font-size: 0.9rem; color: var(--light-text); margin-bottom: 20px; flex-grow: 1; }

        /* --- CALL FOR PAPERS --- */
        .cfp-section {
            background: var(--white); padding: 80px 0; border-top: 1px solid var(--border); margin-top: 80px;
        }
        .cfp-box {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); border-radius: 16px; padding: 50px;
            text-align: center; border: 1px dashed var(--primary);
        }
        .cfp-icon { font-size: 3rem; color: var(--primary); margin-bottom: 20px; }

        /* --- BOOK HERO --- */
        .book-hero {
            padding: 140px 0 80px;
            background: var(--white);
            border-bottom: 1px solid var(--border);
        }

        .book-hero-grid {
            display: grid; grid-template-columns: 350px 1fr; gap: 60px; align-items: start;
        }

        /* Portada 3D */
        .book-cover-3d {
            
            
            padding: 5%;
            position: relative;
            
            perspective: 1000px;
           
            border-radius: 4px 8px 8px 4px;
            display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;  color: white;
        }
        
        .book-cover-3d::before {
            content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 15px;
            
            border-radius: 4px 0 0 4px; z-index: 2;
        }

        .cover-art-icon { font-size: 5rem; opacity: 0.2; margin-bottom: 20px; }
        .cover-title { font-family: 'Merriweather', serif; font-weight: 700; font-size: 1.5rem; line-height: 1.2; text-shadow: 0 2px 4px rgba(0,0,0,0.2); }

        /* Info Hero */
        .book-meta-top { margin-bottom: 20px; }
        .book-type-badge { background: var(--light-accent); color: var(--primary); padding: 4px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-right: 10px; }
        .book-date { font-size: 0.9rem; color: var(--light-text); }

        .book-main-title { font-size: 2.5rem; color: var(--primary); font-weight: 800; line-height: 1.1; margin-bottom: 10px; }
        .book-subtitle { font-size: 1.2rem; color: var(--light-text); font-weight: 300; margin-bottom: 25px; font-family: 'Merriweather', serif; font-style: italic; }

        .author-list { display: flex; align-items: center; gap: 15px; margin-bottom: 30px; border-top: 1px solid #eee; border-bottom: 1px solid #eee; padding: 15px 0; }
        .author-avatar { width: 40px; height: 40px; background: #eee; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; color: #666; }
        .author-names { font-size: 0.95rem; font-weight: 600; color: var(--primary); }

        .action-buttons { display: flex; gap: 15px; margin-bottom: 30px; }

        /* --- BOOK DETAILS SECTION --- */
        .book-details-section { padding: 60px 0; }
        .details-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; }

        /* Sidebar Info */
        .info-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 25px; margin-bottom: 30px; }
        .info-card h4 { font-size: 1rem; color: var(--primary); margin-bottom: 15px; border-bottom: 2px solid var(--accent-secondary); padding-bottom: 8px; display: inline-block; }
        .meta-list li { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.9rem; color: var(--light-text); }
        .meta-list li strong { color: var(--text); }

        /* --- RELATED BOOKS --- */
        .related-books { background: var(--light-accent); padding: 80px 0; }
        .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
        .mini-book-card { background: white; padding: 20px; border-radius: 8px; text-align: center; transition: 0.3s; border: 1px solid var(--border); }
        .mini-book-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
        .mini-cover { height: 150px; width: 100px; background: #ddd; margin: 0 auto 15px; }

        /* --- FAB & CHAT (Copiados) --- */
        #ai-fab { position: fixed; bottom: 30px; right: 90px; width: 60px; height: 60px; background: var(--purple-gradient); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; cursor: pointer; box-shadow: 0 4px 15px rgba(23, 15, 61, 0.4); z-index: 10001; transition: transform 0.3s; }
        #ai-fab:hover { transform: scale(1.1); }
        #whatsapp-fab { position: fixed; bottom: 30px; left: 30px; width: 60px; height: 60px; background-color: #25D366; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; cursor: pointer; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); z-index: 10001; transition: transform 0.3s; }
        #whatsapp-fab:hover { transform: scale(1.1); }
        #back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--accent); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; opacity: 0; pointer-events: none; transition: 0.3s; z-index: 9999; }
        #back-to-top.visible { opacity: 1; pointer-events: auto; }
        #ai-chat-window { position: fixed; bottom: 100px; right: 30px; width: 350px; height: 500px; background: white; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); display: none; flex-direction: column; z-index: 10002; border: 1px solid var(--border); }
        .chat-header { background: var(--primary); color: white; padding: 15px; display: flex; justify-content: space-between; }
        .chat-messages { flex: 1; padding: 15px; overflow-y: auto; background: #f8f9fa; }
        .chat-input-area { padding: 15px; border-top: 1px solid #eee; display: flex; gap: 10px; }
        .message { padding: 8px 12px; border-radius: 10px; margin-bottom: 10px; max-width: 80%; font-size: 0.9rem; }
        .message.bot { background: white; border: 1px solid #eee; align-self: flex-start; }
        .message.user { background: var(--primary); color: white; align-self: flex-end; margin-left: auto; }

        footer { background: #111; color: #ccc; padding: 60px 0 20px; }
        .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; border-bottom: 1px solid #333; padding-bottom: 40px; margin-bottom: 20px; }

        @media (max-width: 992px) {
            .book-hero-grid { grid-template-columns: 1fr; text-align: center; }
            .book-cover-3d { width: 200px; margin: 0 auto; }
            .details-grid { grid-template-columns: 1fr; }
            .author-list { justify-content: center; }
            .action-buttons { justify-content: center; }
            .related-grid { grid-template-columns: 1fr; }
        }

        /* --- HERO --- */
        .guidelines-hero {
            padding: 160px 0 100px;
            background: var(--primary);
            color: white;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .guidelines-hero::after {
            content: "\f02d"; font-family: "Font Awesome 6 Free"; font-weight: 900;
            position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
            font-size: 20rem; color: rgba(255,255,255,0.05); pointer-events: none;
        }
        .hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
        .hero-content h1 { font-size: 3rem; margin-bottom: 20px; font-weight: 800; }
        .hero-content p { font-size: 1.2rem; color: #ffcdd2; margin-bottom: 30px; font-weight: 300; }

        /* --- CONTENT LAYOUT --- 
        .content-grid {
            display: grid; grid-template-columns: 250px 1fr; gap: 50px; padding: 80px 0;
        }*/

        /* Sidebar Navigation */
        .guidelines-nav { position: sticky; top: 100px; }
        .nav-list { list-style: none; border-left: 2px solid #eee; }
        .nav-list li a { 
            display: block; padding: 10px 20px; color: var(--light-text); font-size: 0.95rem; font-weight: 500; border-left: 2px solid transparent; margin-left: -2px;
        }
        .nav-list li a:hover, .nav-list li a.active { color: var(--accent); border-left-color: var(--accent); background: linear-gradient(to right, #fff5f5, transparent); }

        /* Main Content 
        .guideline-section {  scroll-margin-top: 100px; }*/
        .guideline-section h2 { font-size: 1.8rem; color: var(--primary); margin-bottom: 20px; border-bottom: 2px solid #eee; padding-bottom: 10px; }
        .guideline-section p { margin-bottom: 15px; color: var(--light-text); }
        
        .alert-box {
            background: #e3f2fd; border-left: 4px solid #2196f3; padding: 20px; border-radius: 4px; margin: 20px 0;
        }
        .alert-box h4 { color: #0d47a1; margin-bottom: 5px; font-size: 1rem; }
        .alert-box p { color: #1565c0; font-size: 0.9rem; margin: 0; }

        /* Accordions for specific details */
        .detail-item { border: 1px solid var(--border); border-radius: 8px; margin-bottom: 15px; overflow: hidden; background: white; }
        .detail-header {
            padding: 15px 20px; background: #fafafa; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--text);
        }
        .detail-header:hover { background: #f0f0f0; }
        .detail-body { padding: 20px; display: none; border-top: 1px solid #eee; font-size: 0.95rem; }
        .detail-body ul { list-style: disc; padding-left: 20px; margin-bottom: 10px; }
        .detail-body li { margin-bottom: 8px; color: var(--light-text); }

        /* --- FAB & CHAT --- */
        #ai-fab { position: fixed; bottom: 30px; right: 90px; width: 60px; height: 60px; background: var(--purple-gradient); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; cursor: pointer; box-shadow: 0 4px 15px rgba(23, 15, 61, 0.4); z-index: 10001; transition: transform 0.3s; }
        #ai-fab:hover { transform: scale(1.1); }
        #whatsapp-fab { position: fixed; bottom: 30px; left: 30px; width: 60px; height: 60px; background-color: #25D366; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; cursor: pointer; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); z-index: 10001; transition: transform 0.3s; }
        #whatsapp-fab:hover { transform: scale(1.1); }
        #back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--accent); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; opacity: 0; pointer-events: none; transition: 0.3s; z-index: 9999; }
        #back-to-top.visible { opacity: 1; pointer-events: auto; }
        #ai-chat-window { position: fixed; bottom: 100px; right: 30px; width: 350px; height: 500px; background: white; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); display: none; flex-direction: column; z-index: 10002; border: 1px solid var(--border); }
        .chat-header { background: var(--primary); color: white; padding: 15px; display: flex; justify-content: space-between; }
        .chat-messages { flex: 1; padding: 15px; overflow-y: auto; background: #f8f9fa; }
        .chat-input-area { padding: 15px; border-top: 1px solid #eee; display: flex; gap: 10px; }
        .message { padding: 8px 12px; border-radius: 10px; margin-bottom: 10px; max-width: 80%; font-size: 0.9rem; }
        .message.bot { background: white; border: 1px solid #eee; align-self: flex-start; }
        .message.user { background: var(--primary); color: white; align-self: flex-end; margin-left: auto; }

        footer { background: #111; color: #ccc; padding: 60px 0 20px; }
        .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; border-bottom: 1px solid #333; padding-bottom: 40px; margin-bottom: 20px; }

        @media (max-width: 992px) {
            .content-grid { grid-template-columns: 1fr; }
            .guidelines-nav { display: none; } /* Ocultar sidebar en móvil */
        }
        @media (max-width: 768px) {
            .nav-links { display: none; }
            .mobile-menu-btn { display: block; }
            .footer-grid { grid-template-columns: 1fr; }
            #ai-fab { right: 20px; bottom: 90px; }
            #whatsapp-fab { left: 20px; bottom: 20px; }
            #back-to-top { right: 20px; bottom: 20px; }
        }

        /* --- HERO TRANSMEDIA --- */
        .tm-hero {
            height: 80vh; min-height: 600px;
            background: radial-gradient(circle at 50% 50%, #1a1a2e 0%, #0a0a12 100%);
            position: relative; display: flex; align-items: center; justify-content: center; text-align: center;
            overflow: hidden;
        }
        
        .tm-hero-bg {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.4;
            background-image: url('https://images.unsplash.com/photo-1614726365723-49cfae92782f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
            background-size: cover; background-position: center; mix-blend-mode: overlay;
        }

        .tm-hero-content { position: relative; z-index: 2; max-width: 900px; padding: 0 20px; }
        
        .tm-hero h1 { 
            font-size: 4rem; line-height: 1; margin-bottom: 20px; font-weight: 800;
            background: linear-gradient(to right, #fff, #a0a0a0); 
            background-clip: text; 
            -webkit-background-clip: text; 
            -webkit-text-fill-color: transparent;
            text-shadow: 0 10px 30px rgba(0,0,0,0.5);
        }
        
        .tm-hero p { font-size: 1.3rem; color: #ccc; margin-bottom: 40px; font-weight: 300; max-width: 700px; margin-left: auto; margin-right: auto; }
        
        /* Efecto Glitch decorativo */
        .glitch-wrapper { position: absolute; width: 100%; height: 100%; top: 0; left: 0; pointer-events: none; }

        /* --- CATEGORÍAS TABS --- */
        .tm-tabs { display: flex; justify-content: center; gap: 15px; margin-bottom: 50px; flex-wrap: wrap; }
        .tm-tab-btn {
            background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
            color: var(--light-text); padding: 10px 25px; border-radius: 30px; cursor: pointer;
            transition: 0.3s; font-family: 'Space Grotesk', sans-serif; font-weight: 600;
        }
        .tm-tab-btn:hover, .tm-tab-btn.active {
            background: var(--white); color: var(--primary); border-color: var(--white);
            box-shadow: 0 0 15px rgba(255,255,255,0.2);
        }

        /* --- GRID MULTIMEDIA --- */
        .media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; margin-bottom: 80px; }
        
        /* Tarjeta Multimedia */
        .media-card {
            background: var(--card-dark); border-radius: 16px; overflow: hidden; position: relative;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: 1px solid rgba(255,255,255,0.05);
        }
        
        .media-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); border-color: rgba(255,255,255,0.2); }

        .media-thumb { 
            height: 220px; position: relative; overflow: hidden; 
        }
        .media-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
        .media-card:hover .media-thumb img { transform: scale(1.1); }
        
        /* Botón Play */
        .media-play {
            position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.9);
            width: 60px; height: 60px; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px);
            border-radius: 50%; display: flex; align-items: center; justify-content: center;
            border: 1px solid rgba(255,255,255,0.5); color: white; font-size: 1.5rem;
            transition: 0.3s; opacity: 0.8;
        }
        .media-card:hover .media-play { transform: translate(-50%, -50%) scale(1.1); background: var(--accent); border-color: var(--accent); opacity: 1; }

        .media-content { padding: 25px; }
        .media-tag { 
            font-size: 0.7rem; color: var(--primary); background: var(--accent-secondary); 
            padding: 3px 8px; border-radius: 4px; font-weight: 700; text-transform: uppercase; 
            margin-bottom: 10px; display: inline-block;
        }
        .media-tag.podcast { background: #b388ff; color: #311b92; }
        .media-tag.docu { background: #ff8a80; color: #b71c1c; }
        
        .media-title { font-size: 1.4rem; color: var(--white); margin-bottom: 10px; line-height: 1.2; }
        .media-desc { font-size: 0.9rem; color: var(--light-text); margin-bottom: 20px; }
        .media-meta { display: flex; justify-content: space-between; font-size: 0.8rem; color: #666; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 15px; }

        /* --- WEB DOC DESTACADO --- */
        .webdoc-section {
            background: linear-gradient(to right, #121212, #1e1e2f); border-radius: 20px; overflow: hidden;
            display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 80px; border: 1px solid rgba(255,255,255,0.1);
        }
        .webdoc-content { padding: 60px; display: flex; flex-direction: column; justify-content: center; }
        .webdoc-visual { 
            background-image: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
            background-size: cover; background-position: center; min-height: 400px; position: relative;
        }
        .webdoc-visual::before {
            content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(18,18,18,1) 0%, transparent 100%);
        }

        /* --- PODCAST PLAYER (Estilizado) --- */
        .podcast-row {
            display: flex; align-items: center; gap: 20px; background: var(--card-dark);
            padding: 20px; border-radius: 12px; margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.05);
            transition: 0.3s;
        }
        .podcast-row:hover { background: #1f1f33; border-color: rgba(255,255,255,0.1); }
        .pod-art { width: 80px; height: 80px; border-radius: 8px; object-fit: cover; }
        .pod-info { flex-grow: 1; }
        .pod-title { color: var(--white); font-size: 1.1rem; margin-bottom: 5px; font-weight: 600; }
        .pod-details { color: var(--light-text); font-size: 0.85rem; }
        .pod-play-btn { 
            width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--primary);
            display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s;
        }
        .pod-play-btn:hover { transform: scale(1.1); background: var(--accent-secondary); }

        /* --- FAB & CHAT (Copiados) --- */
        #ai-fab { position: fixed; bottom: 30px; right: 90px; width: 60px; height: 60px; background: var(--purple-gradient); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; cursor: pointer; box-shadow: 0 4px 15px rgba(23, 15, 61, 0.4); z-index: 10001; transition: transform 0.3s; border: 1px solid rgba(255,255,255,0.2); }
        #ai-fab:hover { transform: scale(1.1); }
        #whatsapp-fab { position: fixed; bottom: 30px; left: 30px; width: 60px; height: 60px; background-color: #25D366; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; cursor: pointer; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); z-index: 10001; transition: transform 0.3s; }
        #whatsapp-fab:hover { transform: scale(1.1); }
        #back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--accent); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; opacity: 0; pointer-events: none; transition: 0.3s; z-index: 9999; }
        #back-to-top.visible { opacity: 1; pointer-events: auto; }
        #ai-chat-window { position: fixed; bottom: 100px; right: 30px; width: 350px; height: 500px; background: var(--white); color: var(--text); border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); display: none; flex-direction: column; z-index: 10002; border: 1px solid var(--border); }
        
        .chat-header { background: var(--primary); color: white; padding: 15px; display: flex; justify-content: space-between; }
        .chat-messages { flex: 1; padding: 15px; overflow-y: auto; background: #f8f9fa; display: flex; flex-direction: column; gap: 10px; }
        .chat-input-area { padding: 15px; border-top: 1px solid #eee; display: flex; gap: 10px; background: white; }
        .message { padding: 8px 12px; border-radius: 10px; margin-bottom: 10px; max-width: 80%; font-size: 0.9rem; }
        .message.bot { background: white; border: 1px solid #eee; align-self: flex-start; }
        .message.user { background: var(--primary); color: white; align-self: flex-end; margin-left: auto; }

        footer { background: #050508; color: #888; padding: 60px 0 20px; border-top: 1px solid rgba(255,255,255,0.05); }
        .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 40px; margin-bottom: 20px; }
        .footer h3, .footer h4 { color: white; margin-bottom: 15px; }

        @media (max-width: 992px) {
            .webdoc-section { grid-template-columns: 1fr; }
            .webdoc-visual { min-height: 250px; order: -1; }
            .tm-hero h1 { font-size: 2.5rem; }
        }

        @media (max-width: 768px) {
            .nav-links { display: none; }
            .mobile-menu-btn { display: block; }
            .footer-grid { grid-template-columns: 1fr; }
            .media-grid { grid-template-columns: 1fr; }
            #ai-fab { right: 20px; bottom: 90px; }
            #whatsapp-fab { left: 20px; bottom: 20px; }
            #back-to-top { right: 20px; bottom: 20px; }
        }

        /* --- HERO INCUBADORA --- */
        .incubator-hero {
            padding: 100px 0; /* Ajustado al no tener navbar fija */
            background: radial-gradient(circle at 10% 20%, #263238 0%, #000000 100%);
            color: white;
            position: relative;
            overflow: hidden;
        }
        
        .incubator-hero::after {
            content: ''; position: absolute; top: -50%; left: -20%; width: 80%; height: 200%;
            background: radial-gradient(circle, rgba(255, 193, 7, 0.15) 0%, transparent 60%);
            pointer-events: none; transform: rotate(-30deg);
        }

        .header-content {
            display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2;
        }

        .badge-type {
            background: var(--accent-secondary); color: var(--primary); padding: 5px 12px; border-radius: 4px;
            font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-bottom: 20px; display: inline-block;
        }

        .incubator-hero h1 { font-size: 3rem; line-height: 1.1; margin-bottom: 20px; font-weight: 800; }
        .incubator-hero .subtitle { font-size: 1.2rem; color: #eceff1; margin-bottom: 30px; font-weight: 300; }

        .key-features { display: flex; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
        .feature { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 500; }
        .feature i { color: var(--accent-secondary); font-size: 1.1rem; }

        /* Tarjeta CTA Derecha */
        .hero-card-cta {
            background: rgba(255,255,255,0.05); backdrop-filter: blur(10px); border: 1px solid rgba(255,193,7,0.3);
            border-radius: 16px; padding: 40px 30px; text-align: center;
        }
        .cta-title { font-size: 1.5rem; font-weight: 700; color: var(--accent-secondary); margin-bottom: 10px; }
        .cta-desc { font-size: 0.9rem; color: #ccc; margin-bottom: 25px; line-height: 1.5; }

        /* --- FASES (TIMELINE) --- */
        .timeline-section { padding: 80px 0; background: var(--white); }
        .timeline { position: relative; max-width: 900px; margin: 0 auto; }
        .timeline::before {
            content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: #eee; transform: translateX(-50%);
        }
        
        .timeline-item {
            display: flex; justify-content: space-between; align-items: center; margin-bottom: 50px; position: relative;
        }
        .timeline-item:nth-child(even) { flex-direction: row-reverse; }
        
        .timeline-content { width: 45%; padding: 25px; background: #f9f9f9; border-radius: 12px; border: 1px solid var(--border); transition: 0.3s; }
        .timeline-content:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.1); border-color: var(--accent-secondary); }
        
        .timeline-number {
            width: 50px; height: 50px; background: var(--accent-secondary); border-radius: 50%;
            display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700; color: var(--primary);
            position: absolute; left: 50%; transform: translateX(-50%); z-index: 2; border: 4px solid var(--white);
        }
        
        .timeline-content h3 { color: var(--primary); margin-bottom: 10px; font-size: 1.2rem; margin-top: 0; }
        .timeline-content p { color: var(--light-text); font-size: 0.9rem; margin: 0; }

        /* --- BENEFICIOS --- */
        .benefits-section { padding: 80px 0; background: #f8f9fa; }
        .benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
        
        .benefit-card {
            background: var(--white); padding: 30px; border-radius: 12px; text-align: center; border: 1px solid var(--border); transition: 0.3s;
        }
        .benefit-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
        .benefit-icon { 
            font-size: 2.5rem; color: var(--accent-secondary); margin-bottom: 20px; 
            background: rgba(255, 193, 7, 0.1); width: 80px; height: 80px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center; margin-left: auto; margin-right: auto;
        }
        .benefit-card h4 { color: var(--primary); margin-bottom: 10px; }
        .benefit-card p { font-size: 0.9rem; color: var(--light-text); }

        /* --- REQUISITOS --- */
        .requirements-box {
            background: linear-gradient(135deg, #fff8e1 0%, #ffffff 100%); border: 1px solid #ffe082;
            border-radius: 16px; padding: 40px; margin-top: 60px;
        }
        .req-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
        .req-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--text); }
        .req-list li i { color: #ff8f00; margin-top: 5px; }

        /* Responsive */
        @media (max-width: 992px) {
            .header-content { grid-template-columns: 1fr; text-align: center; }
            .timeline::before { left: 20px; }
            .timeline-item { flex-direction: column !important; align-items: flex-start; margin-left: 20px; padding-left: 30px; border-left: 2px solid #eee; margin-bottom: 30px; }
            .timeline-number { left: 0; transform: translateX(-50%); }
            .timeline-content { width: 100%; }
            .req-list { grid-template-columns: 1fr; }
        }
        /* --- HERO EVALUACIÓN --- */
        .eval-hero {
            padding: 120px 0 100px;
            background: var(--eval-gradient);
            color: white;
            position: relative;
            overflow: hidden;
            text-align: center;
        }
        
        .eval-hero::before {
            content: ''; position: absolute; inset: 0;
            background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
            pointer-events: none;
        }

        .hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
        
        .hero-badge {
            background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(5px); padding: 5px 15px; border-radius: 20px;
            font-size: 0.8rem; font-weight: 600; margin-bottom: 20px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,0.2);
        }

        .eval-hero h1 { font-size: 3rem; line-height: 1.1; margin-bottom: 20px; font-weight: 800; }
        .eval-hero p { font-size: 1.2rem; color: #bbdefb; margin-bottom: 30px; font-weight: 300; }

        /* --- SERVICIOS GRID --- */
        .services-section { padding: 80px 0; background: var(--white); }
        .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

        .service-card {
            background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 40px 30px;
            transition: all 0.3s ease; position: relative; overflow: hidden;
        }
        .service-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); border-color: var(--primary); }
        
        .service-icon {
            width: 60px; height: 60px; background: #e3f2fd; color: var(--primary); border-radius: 12px;
            display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 25px;
        }
        
        .service-card h3 { color: var(--primary); margin-bottom: 15px; font-size: 1.3rem; }
        .service-card p { font-size: 0.95rem; color: var(--light-text); margin-bottom: 20px; }
        
        .check-list li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text); margin-bottom: 8px; }
        .check-list li i { color: #0ca678; }

        /* --- PROCESO --- */
        .process-section { padding: 80px 0; background: #f1f5f9; }
        .process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; margin-top: 40px; }
        
        .step { position: relative; }
        .step-num { 
            width: 50px; height: 50px; background: var(--primary); color: white; border-radius: 50%; 
            display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem;
            margin: 0 auto 20px; position: relative; z-index: 2;
        }
        
        /* Linea conectora */
        .process-steps .step:not(:last-child)::after {
            content: ''; position: absolute; top: 25px; left: 50%; width: 100%; height: 2px; background: #ccc; z-index: 1;
        }
        
        .step h4 { color: var(--primary); margin-bottom: 10px; font-size: 1.1rem; }
        .step p { font-size: 0.9rem; color: var(--light-text); padding: 0 10px; }

        /* --- CTA --- */
        .cta-box {
            background: linear-gradient(135deg, var(--primary) 0%, #1a237e 100%);
            color: white; padding: 60px; border-radius: 16px; text-align: center; margin-top: 80px;
        }
        .cta-box h2 { margin-bottom: 15px; }
        .cta-box p { color: #c5cae9; margin-bottom: 30px; }

        /* Responsive */
        @media (max-width: 992px) {
            .process-steps { grid-template-columns: 1fr; gap: 40px; }
            .process-steps .step:not(:last-child)::after { display: none; } /* Quitar linea en móvil */
        }

        /* --- HERO EDITORIAL --- */
        .editorial-hero {
            padding: 140px 0 100px;
            background: var(--editorial-gradient);
            color: white;
            position: relative;
            overflow: hidden;
            text-align: center;
        }
        
        .editorial-hero::before {
            content: "\f02d"; font-family: "Font Awesome 6 Free"; font-weight: 900;
            position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
            font-size: 25rem; color: rgba(255,255,255,0.03); pointer-events: none;
        }

        .hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
        
        .hero-badge {
            background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(5px); padding: 5px 15px; border-radius: 4px;
            font-size: 0.8rem; font-weight: 600; margin-bottom: 25px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,0.2); text-transform: uppercase; letter-spacing: 1px;
        }

        .editorial-hero h1 { 
            font-size: 3.5rem; 
            line-height: 1.1; 
            margin-bottom: 20px; 
            font-weight: 800; 
            font-family: 'Inter', sans-serif; 
            color: var(--white); /* Color blanco explícito para contraste */
        }
        .editorial-hero p { font-size: 1.2rem; color: #e0f2fe; margin-bottom: 30px; font-weight: 300; max-width: 600px; margin-left: auto; margin-right: auto; }

        /* --- SERVICIOS GRID --- */
        .services-section { padding: 80px 0; background: var(--white); }
        .services-grid { 
            display: grid; 
            grid-template-columns: repeat(4, 1fr); /* 4 columnas en una sola línea */
            gap: 30px; 
        }

        .service-item {
            display: flex; 
            flex-direction: column; /* Diseño vertical para que quepan 4 */
            gap: 20px; 
            align-items: flex-start;
            background: var(--background); /* Fondo sutil para delimitar la tarjeta */
            padding: 30px;
            border-radius: 12px;
            border: 1px solid var(--border);
            transition: all 0.3s ease;
            height: 100%;
        }
        
        .service-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.05);
            border-color: var(--primary);
        }
        
        .service-icon {
            width: 60px; height: 60px; background: #e3f2fd; color: var(--primary); border-radius: 12px;
            display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0;
        }
        
        .service-text h3 { font-size: 1.2rem; margin-bottom: 10px; font-weight: 700; line-height: 1.3; }
        .service-text p { font-size: 0.9rem; color: var(--light-text); line-height: 1.5; margin: 0; }

        /* --- PROCESO EDITORIAL (Horizontal) --- */
        .process-section { padding: 80px 0; background: #f8f9fa; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
        
        .process-steps { 
            display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; position: relative; 
        }
        
        /* Linea conectora */
        .process-steps::before {
            content: ''; position: absolute; top: 25px; left: 10%; right: 10%; height: 2px; background: #e0e0e0; z-index: 1;
        }

        .step-card { text-align: center; position: relative; z-index: 2; background: #f8f9fa; padding: 0 10px; }
        
        .step-icon {
            width: 50px; height: 50px; background: var(--white); border: 2px solid var(--primary); color: var(--primary);
            border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; margin: 0 auto 20px;
            font-size: 1.2rem; transition: 0.3s;
        }
        
        .step-card:hover .step-icon { background: var(--primary); color: white; transform: scale(1.1); }
        
        .step-card h4 { font-size: 1.1rem; margin-bottom: 10px; }
        .step-card p { font-size: 0.85rem; color: var(--light-text); }

        /* --- PORTFOLIO (Libros 3D) --- */
        .portfolio-section { padding: 80px 0; background: var(--white); }
        .books-showcase {
            display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 40px;
        }
        
        .book-3d {
            width: 200px; height: 300px; position: relative; perspective: 1000px; cursor: pointer;
        }
        .book-cover {
            width: 100%; height: 100%; background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
            border-radius: 2px 5px 5px 2px; box-shadow: 10px 10px 20px rgba(0,0,0,0.3);
            display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: white; padding: 15px;
            transform: rotateY(-20deg); transition: transform 0.4s ease;
        }
        .book-3d:hover .book-cover { transform: rotateY(0deg) scale(1.05); z-index: 10; }
        
        .book-spine {
            position: absolute; left: 0; top: 0; bottom: 0; width: 15px; background: #000;
            transform: rotateY(-90deg) translateX(-7px); transform-origin: left; opacity: 0.6;
        }

        /* --- CTA --- */
        .cta-box {
            background: url('https://images.unsplash.com/photo-1457369804613-52c61a468e7d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center/cover;
            position: relative; padding: 80px 20px; border-radius: 16px; text-align: center; color: white; overflow: hidden; margin-top: 80px;
        }
        .cta-box::before {
            content: ''; position: absolute; inset: 0; background: rgba(23, 15, 61, 0.9); /* Azul Primario con transparencia */
        }
        .cta-content { position: relative; z-index: 2; }

        /* Responsive */
        @media (max-width: 992px) {
            .process-steps { grid-template-columns: 1fr; gap: 40px; }
            .process-steps::before { display: none; }
            /* Ajuste para tablets: 2 columnas */
            .services-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 768px) {
            .nav-links { display: none; }
            .mobile-menu-btn { display: block; }
            .footer-grid { grid-template-columns: 1fr; }
            /* Ajuste para móvil: 1 columna */
            .services-grid { grid-template-columns: 1fr; }
            #ai-fab { right: 20px; bottom: 90px; }
            #whatsapp-fab { left: 20px; bottom: 20px; }
            #back-to-top { right: 20px; bottom: 20px; }
        }
        /* --- HERO PRIVACIDAD --- */
        .privacy-hero {
            padding: 140px 0 80px;
            background: var(--primary);
            color: white;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .privacy-hero::after {
            content: "\f3ed"; font-family: "Font Awesome 6 Free"; font-weight: 900;
            position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
            font-size: 20rem; color: rgba(255,255,255,0.03); pointer-events: none;
        }
        .hero-content { position: relative; z-index: 2; }
        .hero-content h1 { font-size: 2.5rem; margin-bottom: 10px; color: white; }
        .hero-content p { font-size: 1.1rem; color: #ccc; }
        .last-updated { font-size: 0.9rem; color: var(--accent-secondary); margin-top: 10px; display: block; font-weight: 600; }

        /* --- CONTENIDO LEGAL --- */
        .legal-content {
            background: var(--white); padding: 80px 0; min-height: 600px;
        }

        .policy-section { margin-bottom: 40px; }
        .policy-section h2 { 
            font-size: 1.5rem; border-bottom: 2px solid #eee; padding-bottom: 10px; margin-bottom: 20px; 
            color: var(--primary);
        }
        .policy-section h3 { font-size: 1.2rem; margin-top: 25px; margin-bottom: 15px; color: var(--text); }
        
        .policy-text { color: var(--light-text); font-size: 1rem; text-align: justify; }
        .policy-list { list-style: disc; padding-left: 20px; margin-bottom: 20px; color: var(--light-text); }
        .policy-list li { margin-bottom: 10px; }

        .contact-box {
            background: #f0f4f8; padding: 30px; border-radius: 8px; border-left: 4px solid var(--accent); margin-top: 40px;
        }
        .contact-box h3 { margin-top: 0; }
        .contact-box p { margin-bottom: 10px; font-size: 0.95rem; }
        .contact-box a { color: var(--accent); font-weight: 600; }

        /* --- FAB & CHAT (Copiados) --- */
        #ai-fab { position: fixed; bottom: 30px; right: 90px; width: 60px; height: 60px; background: var(--purple-gradient); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; cursor: pointer; box-shadow: 0 4px 15px rgba(23, 15, 61, 0.4); z-index: 10001; transition: transform 0.3s; }
        #ai-fab:hover { transform: scale(1.1); }
        #whatsapp-fab { position: fixed; bottom: 30px; left: 30px; width: 60px; height: 60px; background-color: #25D366; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; cursor: pointer; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); z-index: 10001; transition: transform 0.3s; }
        #whatsapp-fab:hover { transform: scale(1.1); }
        #back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--accent); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; opacity: 0; pointer-events: none; transition: 0.3s; z-index: 9999; }
        #back-to-top.visible { opacity: 1; pointer-events: auto; }
        
        #ai-chat-window { position: fixed; bottom: 100px; right: 30px; width: 350px; height: 500px; background: white; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); display: none; flex-direction: column; z-index: 10002; border: 1px solid var(--border); }
        .chat-header { background: var(--primary); color: white; padding: 15px; display: flex; justify-content: space-between; }
        .chat-messages { flex: 1; padding: 15px; overflow-y: auto; background: #f8f9fa; }
        .chat-input-area { padding: 15px; border-top: 1px solid #eee; display: flex; gap: 10px; }
        .message { padding: 8px 12px; border-radius: 10px; margin-bottom: 10px; max-width: 80%; font-size: 0.9rem; }
        .message.bot { background: white; border: 1px solid #eee; align-self: flex-start; }
        .message.user { background: var(--primary); color: white; align-self: flex-end; margin-left: auto; }

        /* Footer */
        footer { background: #111; color: #ccc; padding: 60px 0 20px; }
        .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; border-bottom: 1px solid #333; padding-bottom: 40px; margin-bottom: 20px; }
        
        @media (max-width: 768px) {
            .nav-links { display: none; }
            .mobile-menu-btn { display: block; }
            .footer-grid { grid-template-columns: 1fr; }
            #ai-fab { right: 20px; bottom: 90px; }
            #whatsapp-fab { left: 20px; bottom: 20px; }
            #back-to-top { right: 20px; bottom: 20px; }
        }
        /* --- UTILITIES --- */
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        .text-container { max-width: 800px; margin: 0 auto; padding: 0 20px; } 

        /* --- HERO TÉRMINOS --- */
        .terms-hero {
            padding: 140px 0 80px;
            background: var(--primary);
            color: white;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .terms-hero::after {
            content: "\f05a"; /* Icono de Info/Rules */
            font-family: "Font Awesome 6 Free"; font-weight: 900;
            position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
            font-size: 20rem; color: rgba(255,255,255,0.03); pointer-events: none;
        }
        .hero-content { position: relative; z-index: 2; }
        .hero-content h1 { font-size: 2.5rem; margin-bottom: 10px; color: white; }
        .hero-content p { font-size: 1.1rem; color: #ccc; }
        .last-updated { font-size: 0.9rem; color: var(--accent-secondary); margin-top: 10px; display: block; font-weight: 600; }

        /* --- CONTENIDO LEGAL --- */
        .legal-content {
            background: var(--white); padding: 80px 0; min-height: 600px;
        }

        .policy-section { margin-bottom: 40px; }
        .policy-section h2 { 
            font-size: 1.5rem; border-bottom: 2px solid #eee; padding-bottom: 10px; margin-bottom: 20px; 
            color: var(--primary);
        }
        .policy-section h3 { font-size: 1.15rem; margin-top: 25px; margin-bottom: 15px; color: var(--text); }
        
        .policy-text { color: var(--light-text); font-size: 1rem; text-align: justify; }
        .policy-list { list-style: disc; padding-left: 20px; margin-bottom: 20px; color: var(--light-text); }
        .policy-list li { margin-bottom: 10px; }

        .highlight-box {
            background: #fff8e1; border-left: 4px solid var(--accent-secondary); padding: 20px; border-radius: 4px; margin: 20px 0;
        }
        .highlight-box p { color: #5d4037; font-size: 0.95rem; margin: 0; }

        /* --- FAB & CHAT --- */
        #ai-fab { position: fixed; bottom: 30px; right: 90px; width: 60px; height: 60px; background: var(--purple-gradient); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; cursor: pointer; box-shadow: 0 4px 15px rgba(23, 15, 61, 0.4); z-index: 10001; transition: transform 0.3s; }
        #ai-fab:hover { transform: scale(1.1); }
        #whatsapp-fab { position: fixed; bottom: 30px; left: 30px; width: 60px; height: 60px; background-color: #25D366; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; cursor: pointer; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); z-index: 10001; transition: transform 0.3s; }
        #whatsapp-fab:hover { transform: scale(1.1); }
        #back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--accent); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; opacity: 0; pointer-events: none; transition: 0.3s; z-index: 9999; }
        #back-to-top.visible { opacity: 1; pointer-events: auto; }
        
        #ai-chat-window { position: fixed; bottom: 100px; right: 30px; width: 350px; height: 500px; background: white; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); display: none; flex-direction: column; z-index: 10002; border: 1px solid var(--border); }
        .chat-header { background: var(--primary); color: white; padding: 15px; display: flex; justify-content: space-between; }
        .chat-messages { flex: 1; padding: 15px; overflow-y: auto; background: #f8f9fa; }
        .chat-input-area { padding: 15px; border-top: 1px solid #eee; display: flex; gap: 10px; }
        .message { padding: 8px 12px; border-radius: 10px; margin-bottom: 10px; max-width: 80%; font-size: 0.9rem; }
        .message.bot { background: white; border: 1px solid #eee; align-self: flex-start; }
        .message.user { background: var(--primary); color: white; align-self: flex-end; margin-left: auto; }

        /* Footer */
        footer { background: #111; color: #ccc; padding: 60px 0 20px; }
        .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; border-bottom: 1px solid #333; padding-bottom: 40px; margin-bottom: 20px; }
        
        @media (max-width: 768px) {
            .nav-links { display: none; }
            .mobile-menu-btn { display: block; }
            .footer-grid { grid-template-columns: 1fr; }
            #ai-fab { right: 20px; bottom: 90px; }
            #whatsapp-fab { left: 20px; bottom: 20px; }
            #back-to-top { right: 20px; bottom: 20px; }
        }
        /* --- HERO COOKIES --- */
        .cookies-hero {
            padding: 140px 0 80px;
            background: var(--primary);
            color: white;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .cookies-hero::after {
            content: "\f7e4"; /* Icono de Cookie (galleta mordida) */
            font-family: "Font Awesome 6 Free"; font-weight: 900;
            position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
            font-size: 20rem; color: rgba(255,255,255,0.03); pointer-events: none;
        }
        .hero-content { position: relative; z-index: 2; }
        .hero-content h1 { font-size: 2.5rem; margin-bottom: 10px; color: white; }
        .hero-content p { font-size: 1.1rem; color: #ccc; }
        .last-updated { font-size: 0.9rem; color: var(--accent-secondary); margin-top: 10px; display: block; font-weight: 600; }

        /* --- CONTENIDO LEGAL --- */
        .legal-content {
            background: var(--white); padding: 80px 0; min-height: 600px;
        }

        .policy-section { margin-bottom: 40px; }
        .policy-section h2 { 
            font-size: 1.5rem; border-bottom: 2px solid #eee; padding-bottom: 10px; margin-bottom: 20px; 
            color: var(--primary);
        }
        .policy-section h3 { font-size: 1.15rem; margin-top: 25px; margin-bottom: 15px; color: var(--text); }
        
        .policy-text { color: var(--light-text); font-size: 1rem; text-align: justify; }
        .policy-list { list-style: disc; padding-left: 20px; margin-bottom: 20px; color: var(--light-text); }
        .policy-list li { margin-bottom: 10px; }

        /* Tabla de Cookies */
        .cookies-table {
            width: 100%; border-collapse: collapse; margin: 30px 0; font-size: 0.95rem;
        }
        .cookies-table th, .cookies-table td {
            border: 1px solid #e0e0e0; padding: 15px; text-align: left;
        }
        .cookies-table th {
            background-color: #f8f9fa; color: var(--primary); font-weight: 700;
        }
        .cookies-table td { color: var(--light-text); }

        /* --- FAB & CHAT --- */
        #ai-fab { position: fixed; bottom: 30px; right: 90px; width: 60px; height: 60px; background: var(--purple-gradient); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; cursor: pointer; box-shadow: 0 4px 15px rgba(23, 15, 61, 0.4); z-index: 10001; transition: transform 0.3s; }
        #ai-fab:hover { transform: scale(1.1); }
        #whatsapp-fab { position: fixed; bottom: 30px; left: 30px; width: 60px; height: 60px; background-color: #25D366; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; cursor: pointer; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); z-index: 10001; transition: transform 0.3s; }
        #whatsapp-fab:hover { transform: scale(1.1); }
        #back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--accent); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; opacity: 0; pointer-events: none; transition: 0.3s; z-index: 9999; }
        #back-to-top.visible { opacity: 1; pointer-events: auto; }
        
        #ai-chat-window { position: fixed; bottom: 100px; right: 30px; width: 350px; height: 500px; background: white; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); display: none; flex-direction: column; z-index: 10002; border: 1px solid var(--border); }
        .chat-header { background: var(--primary); color: white; padding: 15px; display: flex; justify-content: space-between; }
        .chat-messages { flex: 1; padding: 15px; overflow-y: auto; background: #f8f9fa; }
        .chat-input-area { padding: 15px; border-top: 1px solid #eee; display: flex; gap: 10px; }
        .message { padding: 8px 12px; border-radius: 10px; margin-bottom: 10px; max-width: 80%; font-size: 0.9rem; }
        .message.bot { background: white; border: 1px solid #eee; align-self: flex-start; }
        .message.user { background: var(--primary); color: white; align-self: flex-end; margin-left: auto; }

        /* Footer */
        footer { background: #111; color: #ccc; padding: 60px 0 20px; }
        .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; border-bottom: 1px solid #333; padding-bottom: 40px; margin-bottom: 20px; }
        
        @media (max-width: 768px) {
            .nav-links { display: none; }
            .mobile-menu-btn { display: block; }
            .footer-grid { grid-template-columns: 1fr; }
            .cookies-table { display: block; overflow-x: auto; } /* Tabla responsiva */
            #ai-fab { right: 20px; bottom: 90px; }
            #whatsapp-fab { left: 20px; bottom: 20px; }
            #back-to-top { right: 20px; bottom: 20px; }
        }