       * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        } 
    /* ========================================
   TIPOGRAFÍA PERSONALIZADA
   ======================================== */

@font-face {    font-family: 'TuFuentePersonalizada';
    src: url('fonts/TuFuente-Regular.woff2') format('woff2'),
         url('fonts/TuFuente-Regular.woff') format('woff'),
         url('fonts/TuFuente-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AncizarSans-Italic-VariableFont_wght';
    src: url('fonts/TuFuente-Bold.woff2') format('woff2'),
         url('fonts/TuFuente-Bold.woff') format('woff'),
         url('fonts/AncizarSans-Italic-VariableFont_wght.ttf-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Aplicar la fuente globalmente */
body {
    font-family: 'TuFuentePersonalizada', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* ... resto de propiedades ... */
}

        :root {
            --tangram-red: #FF3333;
            --tangram-orange: #FF8C1A;
            --tangram-yellow: #FFE500;
            --tangram-lime: #7CB900;
            --tangram-green: #2D7A4A;
            --tangram-teal: #008577;
            --tangram-purple: #5B2D91;
            --tangram-pink: #E91E8C;
            --tangram-brown: #6B4423;
            --tangram-cyan: #00B8E6;
            --dark-gray: #2C2C2C;
            --medium-gray: #555;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: var(--dark-gray);
            background: #fff;
        }

        /* Header */
        header {
            background: #1a1a1a;
            padding: 1.2rem 0;
            position: relative;
        }

        .header-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo-section {
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }

        .logo-container {
            position: relative;
        }

        .logo-placeholder {
            /*width: 90px;
            height: 90px;
            background: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.65rem;
            color: var(--dark-gray);
            text-align: center;
            padding: 0.5rem;
            position: relative;*/
            
            width: auto;  /* Cambiado de 90px fijo */
            height: 90px;  /* Mantiene altura de referencia */
            max-width: 120px;  /* Límite máximo de ancho */
            background: transparent;  /* Eliminado el fondo blanco */
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;  /* Eliminado el padding */
            position: relative;
        }

        /* Tangram corner decoration */
        .logo-placeholder::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 0;
            height: 0;
            border-top: 20px solid var(--tangram-yellow);
            border-left: 20px solid transparent;
        }

        .logo-placeholder::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 0;
            border-bottom: 20px solid var(--tangram-red);
            border-right: 20px solid transparent;
        }

        /* Ajustar la imagen del escudo */
#escudo-unal {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
/* Responsive */
@media (max-width: 480px) {
    .logo-placeholder {
        height: 70px;
        max-width: 110px;
    }
}

        .university-name h1 {
            color: white;
            font-size: 1.6rem;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        .university-name p {
            color: rgba(255,255,255,0.9);
            font-size: 0.9rem;
            margin-top: 0.2rem;
        }

        .header-actions {
            display: flex;
            gap: 1rem;
            align-items: center;
        }

        .header-actions button {
            background: transparent;
            border: 1px solid rgba(255,255,255,0.3);
            color: white;
            padding: 0.6rem 1.2rem;
            border-radius: 3px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .header-actions button:hover {
            background: var(--tangram-yellow);
            color: var(--dark-gray);
            border-color: var(--tangram-yellow);
        }

        /* Top bar with community links */
        .top-bar {
            background: #f8f8f8;
            border-bottom: 1px solid #ddd;
        }

        .top-bar-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0.8rem 2rem;
            display: flex;
            justify-content: flex-end;
            gap: 2rem;
        }

        .top-bar a {
            color: var(--medium-gray);
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s;
        }

        .top-bar a:hover {
            color: var(--tangram-red);
        }

        /* Navigation */
        nav {
            background: white;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            justify-content: space-between;
        }

        .nav-menu li a {
            display: block;
            padding: 1.2rem 1rem;
            color: var(--dark-gray);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.3s;
            position: relative;
        }

        .nav-menu li:nth-child(1) a::after { background: var(--tangram-red); }
        .nav-menu li:nth-child(2) a::after { background: var(--tangram-orange); }
        .nav-menu li:nth-child(3) a::after { background: var(--tangram-lime); }
        .nav-menu li:nth-child(4) a::after { background: var(--tangram-teal); }
        .nav-menu li:nth-child(5) a::after { background: var(--tangram-purple); }
        .nav-menu li:nth-child(6) a::after { background: var(--tangram-pink); }
        .nav-menu li:nth-child(7) a::after { background: var(--tangram-cyan); }

        .nav-menu li a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 3px;
            transition: width 0.3s;
        }

        /* Dropdown Menu Styles */
        .nav-menu li {
            position: relative;
        }

        .dropdown-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: white;
            min-width: 220px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            border-radius: 0 0 4px 4px;
            z-index: 1000;
            list-style: none;
        }

        .nav-menu li:hover .dropdown-menu {
            display: block;
        }

        .dropdown-menu li {
            border-bottom: 1px solid #f0f0f0;
        }

        .dropdown-menu li:last-child {
            border-bottom: none;
        }

        .dropdown-menu li a {
            padding: 0.9rem 1.2rem;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--medium-gray);
        }

        .dropdown-menu li a::after {
            display: none;
        }

        .dropdown-menu li a:hover {
            background: #f8f8f8;
            color: var(--tangram-orange);
        }

        .has-dropdown > a::before {
            content: '▼';
            font-size: 0.7rem;
            margin-left: 0.4rem;
            opacity: 0.6;
        }
        /* Hero Section with Image */
        .hero {
            position: relative;
            height: 500px;
            overflow: hidden;
            background: #e9ecef;
        }

        .hero-image {
            width: 100%;
            height: 100%;
            background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1400 500"><rect fill="%23ddd" width="1400" height="500"/><text x="700" y="250" font-size="24" fill="%23666" text-anchor="middle">[ESPACIO PARA IMAGEN HERO - Salón Canon]</text></svg>');
            background-size: cover;
            background-position: center;
        }

        .hero-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0,0,0,0.7));
            padding: 3rem 0 2rem 0;
        }

        .hero-text {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            color: white;
        }

        .hero-text h2 {
            font-size: 2.2rem;
            margin-bottom: 0.5rem;
        }

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

        /* Tangram decoration bar */
        .tangram-bar {
            height: 8px;
            display: flex;
        }

        .tangram-bar div {
            flex: 1;
        }

        .tangram-bar .t1 { background: var(--tangram-red); }
        .tangram-bar .t2 { background: var(--tangram-orange); }
        .tangram-bar .t3 { background: var(--tangram-yellow); }
        .tangram-bar .t4 { background: var(--tangram-lime); }
        .tangram-bar .t5 { background: var(--tangram-teal); }
        .tangram-bar .t6 { background: var(--tangram-purple); }
        .tangram-bar .t7 { background: var(--tangram-pink); }

        /* Banners Section */
        .banners-section {
            padding: 2rem 0;
            background: white;
        }

        .banners-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .banners-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.5rem;
        }

        .banner-item {
            background: #f5f5f5;
            height: 120px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
            color: var(--medium-gray);
            font-size: 0.85rem;
            text-align: center;
            padding: 1rem;
        }

        .banner-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 4px;
            background: var(--tangram-red);
            transition: left 0.3s;
        }

        .banner-item:nth-child(2)::before { background: var(--tangram-purple); }
        .banner-item:nth-child(3)::before { background: var(--tangram-cyan); }
        .banner-item:nth-child(4)::before { background: var(--tangram-orange); }

        .banner-item:hover::before {
            left: 0;
        }

        .banner-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        /* News Grid */
        .news-section {
            padding: 3rem 0;
            background: #fafafa;
        }

        .news-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .news-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .news-card {
            background: white;
            border-radius: 4px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            transition: all 0.3s;
            cursor: pointer;
        }

        .news-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.15);
        }

        .news-image {
            height: 160px;
            background: #ddd;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            color: #888;
            text-align: center;
            padding: 1rem;
            position: relative;
        }

        .news-image::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--tangram-red);
        }

        .news-card:nth-child(2) .news-image::after { background: var(--tangram-orange); }
        .news-card:nth-child(3) .news-image::after { background: var(--tangram-lime); }
        .news-card:nth-child(4) .news-image::after { background: var(--tangram-teal); }
        .news-card:nth-child(5) .news-image::after { background: var(--tangram-purple); }

        .news-content {
            padding: 1.2rem;
        }

        .news-content h3 {
            font-size: 1rem;
            margin-bottom: 0.6rem;
            color: var(--dark-gray);
            line-height: 1.4;
        }

        .news-source {
            display: inline-block;
            padding: 0.3rem 0.6rem;
            background: #f0f0f0;
            border-radius: 3px;
            font-size: 0.75rem;
            color: var(--medium-gray);
            margin-top: 0.5rem;
        }

        /* Quick Links with Tangram Shapes */
        .quick-links-section {
            padding: 3rem 0;
            background: white;
            position: relative;
        }

        /* Tangram decorative elements */
        .tangram-shape {
            position: absolute;
            opacity: 0.08;
            pointer-events: none;
        }

        .shape-triangle-1 {
            width: 0;
            height: 0;
            border-left: 150px solid transparent;
            border-right: 150px solid transparent;
            border-bottom: 260px solid var(--tangram-yellow);
            top: 50px;
            right: 100px;
            transform: rotate(45deg);
        }

        .shape-square {
            width: 120px;
            height: 120px;
            background: var(--tangram-pink);
            bottom: 100px;
            left: 50px;
            transform: rotate(45deg);
        }

        .shape-parallelogram {
            width: 150px;
            height: 90px;
            background: var(--tangram-cyan);
            transform: skew(-20deg);
            bottom: 50px;
            right: 200px;
        }

        .quick-links-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            position: relative;
            z-index: 2;
        }

        .section-title {
            font-size: 2rem;
            color: var(--dark-gray);
            margin-bottom: 2rem;
            position: relative;
            padding-left: 1rem;
        }

        .section-title::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 5px;
            background: linear-gradient(to bottom, var(--tangram-red), var(--tangram-orange), var(--tangram-yellow));
        }

        .links-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
        }

        .link-card {
            background: white;
            padding: 2rem;
            border-radius: 4px;
            border-left: 4px solid var(--tangram-red);
            transition: all 0.3s;
            cursor: pointer;
        }

        .link-card:nth-child(2) { border-left-color: var(--tangram-purple); }
        .link-card:nth-child(3) { border-left-color: var(--tangram-teal); }
        .link-card:nth-child(4) { border-left-color: var(--tangram-cyan); }

        .link-card:hover {
            transform: translateX(5px);
            box-shadow: -4px 4px 12px rgba(0,0,0,0.1);
        }

        .link-card h3 {
            font-size: 1.3rem;
            color: var(--dark-gray);
            margin-bottom: 1rem;
        }

        .link-card ul {
            list-style: none;
        }

        .link-card li {
            padding: 0.5rem 0;
            color: var(--medium-gray);
            font-size: 0.9rem;
            transition: all 0.3s;
        }

        .link-card li:hover {
            color: var(--tangram-red);
            padding-left: 0.5rem;
        }

        /* Social Media Bar */
        .social-section {
            background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
            padding: 1.5rem 0;
        }

        .social-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: center;
            gap: 0;
        }

        .social-link {
            flex: 1;
            max-width: 200px;
            padding: 1.2rem;
            text-align: center;
            color: white;
            text-decoration: none;
            transition: all 0.3s;
            border-right: 1px solid rgba(255,255,255,0.1);
             position: relative;
            overflow: hidden;
        }

        .social-link:last-child {
            border-right: none;
        }

        .social-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 0;
            background: var(--tangram-yellow);
            transition: height 0.3s;
            z-index: 0;
        }

        .social-link:nth-child(2)::before { background: var(--tangram-lime); }
        .social-link:nth-child(3)::before { background: var(--tangram-purple); }
        .social-link:nth-child(4)::before { background: var(--tangram-red); }
        .social-link:nth-child(5)::before { background: var(--tangram-orange); }
        .social-link:nth-child(6)::before { background: var(--tangram-teal); }
        .social-link:nth-child(7)::before { background: var(--tangram-pink); }

        .social-link:hover::before {
            height: 100%;
        }

        .social-link span {
            position: relative;
            z-index: 1;
            font-size: 0.9rem;
            font-weight: 500;
        }

        .social-link:hover {
            color: var(--dark-gray);
        }

        /* Footer */
        footer {
            background: #2d2d2d;
            color: white;
            padding: 3rem 0 1rem 0;
        }

        .footer-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 3rem;
            margin-bottom: 2rem;
        }

        .footer-section h4 {
            font-size: 1.1rem;
            margin-bottom: 1rem;
            color: var(--tangram-yellow);
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 0.6rem;
        }

        .footer-section ul li a {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.3s;
        }

        .footer-section ul li a:hover {
            color: white;
            padding-left: 0.3rem;
        }

        .footer-bottom {
            text-align: center;
            padding: 1.5rem 0;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: rgba(255,255,255,0.6);
            font-size: 0.85rem;
        }

        /* Responsive */
        @media (max-width: 1200px) {
            .news-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .links-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        /* Botón Hamburguesa - Oculto por defecto */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--dark-gray);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Animación del botón hamburguesa cuando está activo */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Mostrar botón hamburguesa */
    .menu-toggle {
        display: flex;
    }

    /* Ocultar menú por defecto en móvil */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 5rem 0 2rem 0;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }

    /* Mostrar menú cuando está activo */
    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu li a {
        padding: 1.2rem 2rem;
        width: 100%;
        font-size: 0.95rem;
    }

    /* Overlay para cerrar el menú */
    .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 280px;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: -1;
    }

    /* Ajustar contenedor de navegación */
    .nav-container {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        position: relative;
    }

    /* Ajustes generales responsive */
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .header-actions {
        flex-direction: column;
        width: 100%;
    }

    .header-actions button {
        width: 100%;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .banners-grid,
    .news-grid,
    .links-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .social-container {
        flex-wrap: wrap;
    }

    .social-link {
        flex: 1 1 calc(50% - 1px);
        max-width: none;
    }
}

@media (max-width: 480px) {
    .logo-placeholder {
        width: 70px;
        height: 70px;
    }

    .university-name h1 {
        font-size: 1.2rem;
    }

    .university-name p {
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}
      /* ========================================
   BOTÓN FLOTANTE TANGRAM
   ======================================== */

.tangram-float-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.tangram-button {
    width: 80px;
    height: 80px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: visible;
    position: relative;
}

.tangram-button:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.tangram-button.active {
    transform: scale(0.95) rotate(180deg);
}

.tangram-svg {
    width: 45px;
    height: 45px;
    transition: all 0.6s ease;
}

.tangram-button.active .tangram-svg {
    transform: scale(1.2);
}

.tangram-piece {
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.tangram-button.active .piece-1 {
    transform: translate(-30px, -30px) rotate(45deg);
}

.tangram-button.active .piece-2 {
    transform: translate(30px, -30px) rotate(-45deg);
}

.tangram-button.active .piece-3 {
    transform: translate(0, -40px) scale(1.3);
}

.tangram-button.active .piece-4 {
    transform: translate(40px, 0) rotate(90deg);
}

.tangram-button.active .piece-5 {
    transform: translate(-40px, 0) rotate(-90deg);
}

.tangram-button.active .piece-6 {
    transform: translate(0, 20px) scale(1.2) skew(10deg);
}

.tangram-button.active .piece-7 {
    transform: translate(0, 40px) rotate(180deg);
}

.tangram-button.active .piece-8 {
    transform: translate(35px, 35px) rotate(90deg);
}

.tangram-button.active .piece-9 {
    transform: translate(-20px, 20px) rotate(-135deg);
}

.tangram-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--dark-gray);
    text-align: center;
    line-height: 1.1;
    transition: all 0.3s;
}

.tangram-button.active .tangram-label {
    opacity: 0;
}

.tangram-button {
    width: 80px;
    height: 80px;
    background: white;
    border: 3px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px;
    position: relative;
    transition: all 0.4s ease;
    
    box-shadow: 
        0 0 10px var(--tangram-red),
        0 0 20px var(--tangram-orange),
        0 0 30px var(--tangram-yellow),
        0 4px 20px rgba(0, 0, 0, 0.3);
    
    animation: neon-glow 2s ease-in-out infinite alternate;
}

@keyframes neon-glow {
    0% {
        box-shadow: 
            0 0 10px var(--tangram-red),
            0 0 20px var(--tangram-orange),
            0 0 30px var(--tangram-yellow),
            0 4px 20px rgba(0, 0, 0, 0.3);
    }
    33% {
        box-shadow: 
            0 0 10px var(--tangram-lime),
            0 0 20px var(--tangram-green),
            0 0 30px var(--tangram-cyan),
            0 4px 20px rgba(0, 0, 0, 0.3);
    }
    66% {
        box-shadow: 
            0 0 10px var(--tangram-purple),
            0 0 20px var(--tangram-pink),
            0 0 30px var(--tangram-red),
            0 4px 20px rgba(0, 0, 0, 0.3);
    }
    100% {
        box-shadow: 
            0 0 15px var(--tangram-orange),
            0 0 25px var(--tangram-yellow),
            0 0 35px var(--tangram-lime),
            0 4px 20px rgba(0, 0, 0, 0.3);
    }
}

.tangram-button:hover {
    transform: scale(1.15) rotate(5deg);
    animation: neon-glow 1s ease-in-out infinite alternate;
}

/* Menú desplegable */
.tangram-menu {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: white;
    border-radius: 16px;
    padding: 1.5rem;  /* Reducido de 2rem */
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    min-width: 320px;  /* Reducido de 400px */
    max-width: 90vw;
    max-height: 85vh;  /* Añadido para limitar altura */
    overflow-y: auto;  /* Añadido por si el contenido es muy largo */
}

.tangram-menu.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.tangram-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;  /* Reducido de 1.5rem */
    padding-bottom: 0.75rem;  /* Reducido de 1rem */
    border-bottom: 3px solid var(--tangram-yellow);
}

.tangram-menu-header h3 {
    font-size: 1.2rem;  /* Reducido de 1.5rem */
    color: var(--dark-gray);
    margin: 0;
}

.close-tangram {
    background: none;
    border: none;
    font-size: 1.5rem;  /* Reducido de 2rem */
    color: var(--medium-gray);
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s;
    width: 32px;  /* Reducido de 40px */
    height: 32px;  /* Reducido de 40px */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-tangram:hover {
    background: #f0f0f0;
    color: var(--tangram-red);
    transform: rotate(90deg);
}

.tangram-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;  /* Reducido de 1rem */
}

.tangram-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;  /* Reducido de 0.8rem */
    padding: 1rem;  /* Reducido de 1.5rem 1rem */
    background: #f8f8f8;
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark-gray);
    transition: all 0.3s;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.tangram-menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.tangram-menu-item:hover::before {
    transform: scaleX(1);
}

.tangram-menu-item:hover {
    background: white;
    border-color: var(--color);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.item-image-container {
    position: relative;
    width: 60px;  /* Reducido de 80px */
    height: 60px;  /* Reducido de 80px */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    transition: all 0.3s;
}

.icon-fallback {
    display: none;
    font-size: 2rem;  /* Reducido de 2.5rem */
    transition: all 0.3s;
}

.tangram-menu-item:hover .item-image-container {
    transform: scale(1.15);
}

.tangram-menu-item:hover .icon-fallback {
    transform: scale(1.2);
}

.tangram-menu-item .text {
    font-weight: 600;
    font-size: 0.9rem;  /* Reducido de 1rem */
}

/* Responsive */
@media (max-width: 768px) {
    .tangram-float-container {
        bottom: 20px;
        right: 20px;
    }

    .tangram-button {
        width: 70px;
        height: 70px;
    }

    .tangram-svg {
        width: 40px;
        height: 40px;
    }

    .tangram-menu {
        min-width: 90vw;
        padding: 1.25rem;  /* Reducido de 1.5rem */
        max-height: 80vh;  /* Añadido */
    }

    .tangram-menu-grid {
        grid-template-columns: 1fr;
    }

    .item-image-container {
        width: 55px;  /* Reducido de 70px */
        height: 55px;  /* Reducido de 70px */
    }

    .icon-fallback {
        font-size: 1.75rem;  /* Reducido de 2rem */
    }
    
    .tangram-menu-header h3 {
        font-size: 1.1rem;  /* Más pequeño en móvil */
    }
}
/* ========================================
   ESTILOS ESPECÍFICOS TIENDA UN
   ======================================== */

/* Hero Tienda */
.tienda-hero {
    background: linear-gradient(135deg, var(--tangram-purple) 0%, var(--tangram-pink) 50%, var(--tangram-orange) 100%);
    padding: 4rem 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.tienda-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.tienda-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

.tienda-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.tienda-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.tienda-hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-badges .badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.hero-badges .badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Filtros y Búsqueda */
.tienda-filters {
    background: white;
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    
    z-index: 100;
}

.filters-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.search-box input {
    width: 100%;
    padding: 0.9rem 3rem 0.9rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--tangram-cyan);
    box-shadow: 0 0 0 3px rgba(0, 184, 230, 0.1);
}

.search-icon {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0.5;
}

.filter-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--medium-gray);
}

.filter-btn:hover {
    border-color: var(--tangram-purple);
    color: var(--tangram-purple);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--tangram-purple);
    border-color: var(--tangram-purple);
    color: white;
}

.cart-btn {
    padding: 0.9rem 2rem;
    background: var(--tangram-red);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 51, 51, 0.3);
}

.cart-btn:hover {
    background: var(--dark-gray);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 51, 51, 0.4);
}

/* Grid de Productos */
.tienda-productos {
    padding: 3rem 0;
    background: #fafafa;
}

.productos-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.producto-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: relative;
    opacity: 1;
}

.producto-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.producto-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.producto-badge.nuevo {
    background: var(--tangram-lime);
    color: white;
}

.producto-badge.destacado {
    background: var(--tangram-orange);
    color: white;
}

.producto-imagen {
    width: 100%;
    height: 320px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

.producto-card:hover .producto-imagen img {
    transform: scale(1.1);
}

.producto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.producto-card:hover .producto-overlay {
    opacity: 1;
}

.btn-quick-view {
    padding: 0.8rem 1.8rem;
    background: white;
    color: var(--dark-gray);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transform: translateY(20px);
    transition: all 0.3s;
}

.producto-card:hover .btn-quick-view {
    transform: translateY(0);
}

.btn-quick-view:hover {
    background: var(--tangram-yellow);
}

.producto-color-bar {
    height: 5px;
    width: 100%;
}

.producto-info {
    padding: 1.5rem;
}

.producto-info h3 {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.producto-descripcion {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.producto-precio {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.producto-precio .precio {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--tangram-red);
}

.producto-precio .precio-antes {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.producto-tallas {
    font-size: 0.85rem;
    color: var(--medium-gray);
    margin-bottom: 1rem;
}

.btn-agregar {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, var(--tangram-purple), var(--tangram-pink));
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-agregar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(91, 45, 145, 0.3);
}

/* Carrito Lateral */
.carrito-lateral {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 20px rgba(0,0,0,0.2);
    z-index: 10002;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    flex-direction: column;
}

.carrito-lateral.active {
    right: 0;
}

.carrito-header {
    padding: 1.5rem;
    background: var(--tangram-purple);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.carrito-header h3 {
    font-size: 1.3rem;
    margin: 0;
}

.btn-cerrar-carrito {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.btn-cerrar-carrito:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

.carrito-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.carrito-vacio {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--medium-gray);
}

.carrito-vacio p:first-child {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.carrito-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f8f8;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.carrito-item:hover {
    background: #f0f0f0;
}

.item-info h4 {
    font-size: 0.95rem;
    color: var(--dark-gray);
    margin-bottom: 0.3rem;
}

.item-info p {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--tangram-red);
}

.btn-eliminar {
    background: var(--tangram-red);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-eliminar:hover {
    background: var(--dark-gray);
    transform: scale(1.1);
}

.carrito-footer {
    padding: 1.5rem;
    border-top: 2px solid #e0e0e0;
}

.carrito-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.btn-finalizar {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--tangram-lime), var(--tangram-green));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-finalizar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 122, 74, 0.3);
}

.carrito-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.carrito-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Sección de Información */
.tienda-info-section {
    padding: 3rem 0;
    background: white;
}

.info-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.info-card {
    text-align: center;
    padding: 2rem 1rem;
    background: #f8f8f8;
    border-radius: 12px;
    transition: all 0.3s;
}

.info-card:hover {
    background: white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h4 {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* Responsive Tienda */
@media (max-width: 1200px) {
    .productos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .info-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tienda-hero h1 {
        font-size: 2rem;
    }
    
    .tienda-hero p {
        font-size: 1rem;
    }
    
    .hero-badges {
        gap: 1rem;
    }
    
    .filters-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        min-width: 100%;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .productos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .carrito-lateral {
        width: 100%;
        right: -100%;
    }
    
    .info-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .productos-grid {
        grid-template-columns: 1fr;
    }
    
    .producto-imagen {
        height: 250px;
    }
}

/*css para iconos pagina------*/
/* ========================================
   ICONOS UNAL - CSS ESPECÍFICO
   ======================================== */

/* Hero Section */
.iconos-hero {
    background: linear-gradient(135deg, #2D7A4A 0%, #00B8E6 100%);
    padding: 40px 20px;
    text-align: center;
    color: white;
}

.iconos-hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.iconos-hero-content p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Navegación por Pestañas */
.tabs-section {
    background: white;
    border-bottom: 2px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tabs-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 0;
}

.tab-btn {
    flex: 1;
    max-width: 300px;
    padding: 12px 20px;
    background: white;
    border: none;
    border-bottom: 4px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #555;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: #f5f5f5;
    color: #2D7A4A;
}

.tab-btn.active {
    color: #2D7A4A;
    border-bottom-color: #2D7A4A;
    background: #f0f8f5;
}

.tab-icon {
    font-size: 1.3rem;
}

/* Contenido de Secciones */
.content-section {
    padding: 30px 20px;
    max-width: 1400px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease;
}

.content-section.hidden {
    display: none;
}

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

/* ========================================
   SECCIÓN DE SEDES - MAPA INTERACTIVO
   ======================================== */

.sedes-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: start;
}

/* Mapa de Colombia */
.mapa-container h2 {
    font-size: 1.6rem;
    color: #2D7A4A;
    margin-bottom: 20px;
    text-align: center;
}

.mapa-wrapper {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 100px;
}

.mapa-colombia {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.1));
}

.colombia-outline {
    transition: all 0.3s ease;
}

/* Marcadores de Sedes */
.sede-marker {
    cursor: pointer;
    transition: all 0.3s ease;
}

.sede-marker:hover .marker-circle {
    r: 18;
    fill: #FF3333;
    stroke-width: 3;
}

.sede-marker:hover .marker-text {
    font-weight: bold;
    fill: white;
}

.marker-circle {
    fill: #2D7A4A;
    stroke: white;
    stroke-width: 2;
    transition: all 0.3s ease;
}

.sede-marker.active .marker-circle {
    fill: #FF3333;
    r: 18;
    stroke-width: 3;
    animation: pulse 1.5s infinite;
}

.sede-marker.active .marker-text {
    fill: white;
    font-weight: bold;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.marker-text {
    fill: white;
    font-size: 10px;
    font-weight: 600;
    text-anchor: middle;
    dominant-baseline: middle;
    pointer-events: none;
    transition: all 0.3s ease;
}

.mapa-instruccion {
    text-align: center;
    margin-top: 15px;
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

/* Panel de Información de Sede */
.sede-info-panel {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: slideIn 0.5s ease;
}

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

.info-placeholder {
    text-align: center;
    color: #999;
}

.placeholder-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    opacity: 0.3;
}

.placeholder-subtitle {
    font-size: 0.85rem;
    margin-top: 8px;
}

/* Contenido de Información de Sede */
.sede-detail-content {
    animation: fadeIn 0.5s ease;
}

.sede-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 3px solid #e0e0e0;
}

.sede-icon-large {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f8f5, #e8f4f8);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.sede-icon-large img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.sede-icon-large .icon-fallback {
    font-size: 3rem;
}

.sede-title h2 {
    font-size: 1.8rem;
    color: #2D7A4A;
    margin-bottom: 8px;
}

.sede-subtitle {
    font-size: 1rem;
    color: #666;
}

.sede-foto {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

/* Galería de Imágenes para Sedes */
.sede-imagenes-galeria {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.imagen-principal h4,
.imagen-diseno h4 {
    color: #2D7A4A;
    font-size: 1rem;
    margin-bottom: 8px;
    text-align: center;
}

.sede-diseno {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f0f8f5, #e8f4f8);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 15px;
}

.sede-diseno img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1));
}

.icono-fallback {
    font-size: 3rem;
    opacity: 0.3;
    display: none;
}

.sede-info-text h3 {
    color: #2D7A4A;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.sede-info-text p {
    line-height: 1.6;
    color: #555;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.sede-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.stat-item {
    background: #f0f8f5;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: bold;
    color: #2D7A4A;
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
    margin-top: 4px;
}

/* ========================================
   SECCIÓN DE FACULTADES
   ======================================== */

.facultades-container h2 {
    font-size: 2.5rem;
    color: #2D7A4A;
    margin-bottom: 40px;
    text-align: center;
}

.facultades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.facultad-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.facultad-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--tangram-red), var(--tangram-orange));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.facultad-card:hover::before {
    transform: scaleX(1);
}

.facultad-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.facultad-icono {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.facultad-icono img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    z-index: 1;
}

.facultad-icono .icon-fallback {
    font-size: 3rem;
    display: none;
}

.facultad-card h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.facultad-color-bar {
    height: 4px;
    border-radius: 2px;
    margin-top: 15px;
}

/* Modal para Detalles de Facultad */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s ease;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f0f0f0;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #FF3333;
    color: white;
    transform: rotate(90deg);
}

.modal-facultad-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.modal-facultad-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 15px;
}

.modal-facultad-icon img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.modal-facultad-icon .icon-fallback {
    font-size: 3rem;
}

.modal-facultad-title h2 {
    font-size: 2rem;
    color: #2D7A4A;
    margin-bottom: 10px;
}

.modal-facultad-description {
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.modal-facultad-foto {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    margin: 20px 0;
}

.modal-facultad-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Galería de Imágenes para Modal Facultades */
.modal-imagenes-galeria {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.modal-imagen-item h4 {
    color: #2D7A4A;
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-align: center;
}

.modal-facultad-diseno {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    background: linear-gradient(135deg, #f0f8f5, #e8f4f8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.modal-facultad-diseno img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.1));
}

.modal-facultad-diseno .icono-fallback {
    font-size: 5rem;
    opacity: 0.3;
    display: none;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .sedes-layout {
        grid-template-columns: 1fr;
    }
    
    .mapa-wrapper {
        position: static;
    }
}

@media (max-width: 768px) {
    .iconos-hero {
        padding: 30px 15px;
    }
    
    .iconos-hero-content h1 {
        font-size: 1.6rem;
    }
    
    .iconos-hero-content p {
        font-size: 0.9rem;
    }
    
    .tabs-container {
        flex-direction: column;
    }
    
    .tab-btn {
        max-width: 100%;
        padding: 12px 15px;
    }
    
    .content-section {
        padding: 20px 15px;
    }
    
    .facultades-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .sede-header {
        flex-direction: column;
        text-align: center;
    }
    
    .sede-stats {
        grid-template-columns: 1fr;
    }
    
    /* Galerías a una columna en móvil */
    .sede-imagenes-galeria,
    .modal-imagenes-galeria {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .modal-content {
        width: 95%;
        padding: 30px 20px;
    }
    
    .modal-facultad-header {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .iconos-hero {
        padding: 25px 15px;
    }
    
    .content-section {
        padding: 20px 10px;
    }
    
    .facultades-grid {
        grid-template-columns: 1fr;
    }
    
    .mapa-wrapper {
        padding: 15px;
    }
    
    .sede-info-panel {
        padding: 20px;
        min-height: 350px;
    }
    
    .sede-foto,
    .sede-diseno {
        height: 150px;
    }
}

/* Mapa con imagen */
.mapa-imagen-container {
    position: relative;
    width: 100%;
    padding-top: 125%; /* Ratio 4:5 aproximado para Colombia */
    background: #E8F4F8;
    border-radius: 10px;
    overflow: hidden;
}

.mapa-base {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.sede-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.marker-point {
    background: #2D7A4A;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.sede-marker:hover .marker-point {
    background: #FF3333;
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(255,51,51,0.5);
}

.sede-marker.active .marker-point {
    background: #FF3333;
    transform: scale(1.15);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(255,51,51,0.5); }
    50% { box-shadow: 0 4px 25px rgba(255,51,51,0.8); }
}
/* Ajustes para hacer todo más compacto */
.iconos-hero {
    padding: 30px 20px;
}

.iconos-hero-content h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.iconos-hero-content p {
    font-size: 1rem;
}

.content-section {
    padding: 25px 20px;
}

/* Hacer el layout de sedes más compacto */
.sedes-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Reducir tamaño del mapa */
.mapa-wrapper {
    padding: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.mapa-colombia {
    max-height: 600px;
    width: auto;
}

.mapa-container h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* Hacer el panel de información más compacto */
.sede-info-panel {
    padding: 20px;
    min-height: 500px;
}

.sede-header {
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.sede-icon-large {
    width: 70px;
    height: 70px;
}

.sede-icon-large img {
    max-width: 85%;
    max-height: 85%;
}

.sede-title h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.sede-subtitle {
    font-size: 0.9rem;
}

.sede-foto {
    height: 160px;
    margin-bottom: 15px;
}

.sede-info-text {
    margin-bottom: 15px;
}

.sede-info-text h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.sede-info-text p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.sede-stats {
    gap: 10px;
    margin-top: 15px;
}

.stat-item {
    padding: 10px;
}

.stat-number {
    font-size: 1.4rem;
}

.stat-label {
    font-size: 0.8rem;
}

/* Facultades más compactas */
.facultades-container h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.facultades-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.facultad-card {
    padding: 20px;
}

.facultad-icono {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}

.facultad-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    min-height: 45px;
}

/* Responsive mejorado */
@media (max-width: 1024px) {
    .sedes-layout {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .mapa-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .sedes-layout {
        gap: 15px;
    }
    
    .sede-info-panel {
        min-height: 400px;
    }
    
    .mapa-colombia {
        max-height: 450px;
    }
}
/* Estilos para secciones de programas en el modal */
.programas-container {
    margin-top: 20px;
}

.programa-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #2D7A4A;
}

.programa-section h3 {
    margin-top: 0 !important;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.programa-section ul {
    margin: 10px 0;
    padding-left: 25px;
}

.programa-section ul li {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.programa-section ul li:last-child {
    border-bottom: none;
}

/* ========================================
   MODAL DE VISTA RÁPIDA - VERSIÓN MEJORADA
   Diseño horizontal en desktop, vertical en móvil
   ======================================== */

.producto-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10003;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(8px);
}

.producto-modal-overlay.active {
    display: flex;
}

.producto-modal {
    background: white;
    border-radius: 24px;
    max-width: 1100px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
}

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

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(40px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Botón de Cerrar */
.producto-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    color: var(--dark-gray);
    line-height: 1;
}

.producto-modal-close:hover {
    background: var(--tangram-red);
    color: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 51, 51, 0.4);
}

/* Contenedor Principal - HORIZONTAL EN DESKTOP */
.producto-modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    overflow: hidden;
}

/* ==========================================
   LADO IZQUIERDO - IMAGEN (50%)
   ========================================== */
.modal-imagen-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Decoración de fondo con Tangram */
.modal-imagen-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--tangram-yellow);
    opacity: 0.08;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: float 8s ease-in-out infinite;
}

.modal-imagen-section::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: var(--tangram-cyan);
    opacity: 0.08;
    border-radius: 70% 30% 30% 70% / 60% 40% 60% 40%;
    animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(10px, -10px) rotate(5deg); }
    66% { transform: translate(-10px, 10px) rotate(-5deg); }
}

.modal-imagen-wrapper {
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 2;
}

.modal-producto-imagen {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: contain;
    border-radius: 16px;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.2));
}

.modal-imagen-wrapper:hover .modal-producto-imagen {
    transform: scale(1.05) rotate(-2deg);
}

/* Badge de producto */
.modal-producto-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    padding: 0.6rem 1.3rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.modal-producto-badge.nuevo {
    background: linear-gradient(135deg, var(--tangram-lime) 0%, var(--tangram-green) 100%);
    color: white;
}

.modal-producto-badge.destacado {
    background: linear-gradient(135deg, var(--tangram-orange) 0%, var(--tangram-red) 100%);
    color: white;
}

/* ==========================================
   LADO DERECHO - INFORMACIÓN (50%)
   ========================================== */
.modal-info-section {
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
    background: white;
    overflow-y: auto;
    max-height: 90vh;
}

/* Scrollbar personalizado */
.modal-info-section::-webkit-scrollbar {
    width: 8px;
}

.modal-info-section::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-info-section::-webkit-scrollbar-thumb {
    background: var(--tangram-purple);
    border-radius: 10px;
}

.modal-info-section::-webkit-scrollbar-thumb:hover {
    background: var(--tangram-pink);
}

/* Header del producto */
.modal-producto-header {
    margin-bottom: 30px;
}

.modal-color-bar {
    height: 6px;
    border-radius: 3px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modal-producto-titulo {
    font-size: 2.2rem;
    color: var(--dark-gray);
    margin-bottom: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.modal-producto-descripcion {
    color: var(--medium-gray);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Sección de Precio */
.modal-producto-precio {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    padding: 25px 0;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
}

.modal-precio-actual {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--tangram-red);
    line-height: 1;
}

.modal-precio-antes {
    font-size: 1.4rem;
    color: #999;
    text-decoration: line-through;
}

.modal-descuento-badge {
    background: var(--tangram-red);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
}

/* Características del Producto */
.modal-caracteristicas {
    margin-bottom: 30px;
}

.modal-caracteristicas h4 {
    font-size: 1.15rem;
    color: var(--dark-gray);
    margin-bottom: 18px;
    font-weight: 700;
}

.caracteristicas-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.caracteristica-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--medium-gray);
    transition: all 0.3s ease;
}

.caracteristica-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.caracteristica-icon {
    color: var(--tangram-green);
    font-size: 1.3rem;
    font-weight: bold;
    flex-shrink: 0;
}

/* Selector de Tallas */
.modal-tallas {
    margin-bottom: 30px;
}

.modal-tallas h4 {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 15px;
    font-weight: 700;
}

.tallas-opciones {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.talla-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--medium-gray);
    min-width: 60px;
    text-align: center;
}

.talla-btn:hover {
    border-color: var(--tangram-purple);
    color: var(--tangram-purple);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(91, 45, 145, 0.2);
}

.talla-btn.selected {
    background: var(--tangram-purple);
    border-color: var(--tangram-purple);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(91, 45, 145, 0.3);
}

/* Botones de Acción */
.modal-acciones {
    display: flex;
    gap: 15px;
    margin-top: auto;
    padding-top: 20px;
}

.modal-btn-agregar {
    flex: 2;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, var(--tangram-purple) 0%, var(--tangram-pink) 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(91, 45, 145, 0.35);
}

.modal-btn-agregar:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(91, 45, 145, 0.45);
}

.modal-btn-agregar:active {
    transform: translateY(-1px);
}

.modal-btn-secundario {
    flex: 1;
    padding: 1.2rem 1.5rem;
    background: white;
    color: var(--dark-gray);
    border: 2px solid #e0e0e0;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn-secundario:hover {
    border-color: var(--tangram-cyan);
    color: var(--tangram-cyan);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 184, 230, 0.2);
}

/* Información Adicional */
.modal-info-adicional {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--medium-gray);
}

.info-icon {
    font-size: 1.5rem;
    color: var(--tangram-green);
    flex-shrink: 0;
}

/* ==========================================
   RESPONSIVE - TABLET (768px - 1024px)
   ========================================== */
@media (max-width: 1024px) and (min-width: 769px) {
    .producto-modal {
        max-width: 90%;
    }

    .producto-modal-content {
        grid-template-columns: 45% 55%;
    }

    .modal-imagen-section {
        padding: 40px 30px;
    }

    .modal-info-section {
        padding: 40px 35px;
    }

    .modal-producto-titulo {
        font-size: 1.9rem;
    }

    .modal-precio-actual {
        font-size: 2.4rem;
    }
}

/* ==========================================
   RESPONSIVE - MÓVIL (< 768px)
   Layout VERTICAL en móvil
   ========================================== */
@media (max-width: 768px) {
    .producto-modal-overlay {
        padding: 10px;
    }

    .producto-modal {
        max-width: 100%;
        max-height: 95vh;
        border-radius: 20px;
    }

    /* CAMBIAR A LAYOUT VERTICAL */
    .producto-modal-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }

    .modal-imagen-section {
        padding: 35px 25px;
        min-height: 300px;
        border-radius: 20px 20px 0 0;
    }

    .modal-producto-imagen {
        max-height: 280px;
    }

    .modal-producto-badge {
        top: 20px;
        left: 20px;
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .modal-info-section {
        padding: 35px 25px;
        max-height: calc(95vh - 300px);
    }

    .modal-producto-titulo {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .modal-producto-descripcion {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .modal-producto-precio {
        margin: 25px 0;
        padding: 20px 0;
    }

    .modal-precio-actual {
        font-size: 2.2rem;
    }

    .modal-precio-antes {
        font-size: 1.2rem;
    }

    .modal-descuento-badge {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .modal-caracteristicas {
        margin-bottom: 25px;
    }

    .modal-caracteristicas h4,
    .modal-tallas h4 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .caracteristica-item {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .tallas-opciones {
        gap: 10px;
    }

    .talla-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        min-width: 55px;
    }

    .modal-acciones {
        flex-direction: column;
        gap: 12px;
        padding-top: 15px;
    }

    .modal-btn-agregar,
    .modal-btn-secundario {
        flex: 1;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .modal-info-adicional {
        margin-top: 25px;
        padding-top: 25px;
    }

    .info-item {
        font-size: 0.85rem;
        gap: 12px;
        margin-bottom: 12px;
    }

    .info-icon {
        font-size: 1.3rem;
    }

    .producto-modal-close {
        top: 15px;
        right: 15px;
        width: 42px;
        height: 42px;
        font-size: 1.7rem;
    }
}

/* ==========================================
   RESPONSIVE - MÓVIL PEQUEÑO (< 480px)
   ========================================== */
@media (max-width: 480px) {
    .producto-modal {
        border-radius: 16px;
    }

    .modal-imagen-section {
        padding: 25px 20px;
        min-height: 250px;
    }

    .modal-producto-imagen {
        max-height: 220px;
    }

    .modal-info-section {
        padding: 25px 20px;
    }

    .modal-producto-titulo {
        font-size: 1.4rem;
    }

    .modal-producto-descripcion {
        font-size: 0.9rem;
    }

    .modal-precio-actual {
        font-size: 2rem;
    }

    .modal-precio-antes {
        font-size: 1.1rem;
    }

    .caracteristica-item {
        font-size: 0.85rem;
        padding: 8px 10px;
    }

    .talla-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        min-width: 50px;
    }

    .modal-btn-agregar,
    .modal-btn-secundario {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }

    .producto-modal-close {
        width: 38px;
        height: 38px;
        font-size: 1.5rem;
    }
}

/* ==========================================
   ANIMACIONES Y ESTADOS
   ========================================== */

/* Animación de scroll suave */
.modal-info-section {
    scroll-behavior: smooth;
}

/* Estado de carga para imágenes */
.modal-producto-imagen[src=""] {
    background: linear-gradient(135deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loadingShimmer 1.5s infinite;
}

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

/* Efecto al agregar al carrito */
.modal-btn-agregar.agregado {
    background: linear-gradient(135deg, var(--tangram-lime) 0%, var(--tangram-green) 100%) !important;
    animation: successPulse 0.6s ease;
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Prevenir selección de texto en botones */
.talla-btn,
.modal-btn-agregar,
.modal-btn-secundario,
.producto-modal-close {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Focus visible para accesibilidad */
.talla-btn:focus,
.modal-btn-agregar:focus,
.modal-btn-secundario:focus {
    outline: 3px solid var(--tangram-cyan);
    outline-offset: 2px;
}