:root {
    --color-primary: #39ff14; 
    --color-secondary: #ff003c; 
    --color-bg-dark: #000000;   
    --color-bg-light: #0a0a0a;  
    --color-text: #e3eafc;
    --color-text-dark: #a0a8c2;
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Orbitron', sans-serif;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-dark);
    color: var(--color-text);
    margin: 0;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.font-orbitron {
    font-family: var(--font-secondary);
}

.hidden {
    display: none !important;
}

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

@keyframes neonPulse {
    0%, 100% { box-shadow: 0 0 5px var(--color-primary), 0 0 10px var(--color-primary); }
    50% { box-shadow: 0 0 15px var(--color-primary), 0 0 25px var(--color-primary); }
}

/* Mejoras de Sombras y Bordes */
.neon-glow-primary {
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
    border: 1px solid var(--color-primary);
    animation: neonPulse 3s infinite;
}
.neon-glow-secondary {
    box-shadow: 0 0 5px var(--color-secondary), 0 0 10px var(--color-secondary), 0 0 15px var(--color-secondary);
}

.text-glow-primary {
    text-shadow: 0 0 3px var(--color-primary), 0 0 5px var(--color-primary);
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 5px;
    border: 2px solid var(--color-bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: #32e012;
}

.header {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 2px solid var(--color-secondary);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

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

.logo-icon {
    height: 7rem;
    width: 14rem;
    color: var(--color-primary);
}

.logo-text {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
}

.cart-button {
    position: relative;
    padding: 0.5rem;
    border-radius: 9999px;
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cart-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cart-icon {
    height: 2rem;
    width: 2rem;
    color: white;
}

.cart-count {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    background-color: var(--color-secondary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    height: 1.25rem;
    width: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}


/*  NAVEGACIÓN  */
.nav-header {
    background: rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgba(57, 255, 20, 0.15);
    border-bottom: 1px solid rgba(57, 255, 20, 0.15);
    padding: 0.5rem 0;
    backdrop-filter: blur(4px);
}

.nav-header .nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nav-header .nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-header .nav ul a {
    display: block;
    padding: 0.6rem 1.5rem;
    color: var(--color-text-dark);
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 0.5rem;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-header .nav ul a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-header .nav ul a:hover {
    color: white;
    border-color: rgba(57, 255, 20, 0.3);
    background: rgba(57, 255, 20, 0.05);
}

.nav-header .nav ul a:hover::before {
    width: 70%;
}

.nav-header .nav ul a.active {
    color: var(--color-bg-dark);
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
    font-weight: 700;
}

.nav-header .nav ul a.active::before {
    width: 0;
}

/*  RESPONSIVE  */
@media (max-width: 768px) {
    .nav-header .nav {
        gap: 0.25rem;
        justify-content: center;
    }
    
    .nav-header .nav ul a {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
        letter-spacing: 0.05em;
    }
}

@media (max-width: 480px) {
    .nav-header .nav {
        gap: 0.15rem;
    }
    
    .nav-header .nav ul a {
        padding: 0.3rem 0.6rem;
        font-size: 0.6rem;
        letter-spacing: 0.03em;
    }
}

/*  EFECTO DE RESALTADO AL HACER SCROLL  */
.nav-header {
    position: sticky;
    top: 0;
    z-index: 49;
    animation: navSlideDown 0.5s ease;
}

@keyframes navSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/*  ESTILO PARA EL HEADER GENERAL  */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
}

/* Ajuste para que el nav-header esté pegado al header */
.nav-header {
    margin-top: 0;
}

/*  INDICADOR DE SECCIÓN ACTIVA  */
.nav-header .nav ul a.active {
    animation: activePulse 2s ease-in-out infinite;
}

@keyframes activePulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(57, 255, 20, 0.5), 0 0 60px rgba(57, 255, 20, 0.1);
    }
}
/*  MENÚ HAMBURGUESA  */
.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Botón hamburguesa */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
}

.menu-toggle .menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.menu-toggle .bar {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--color-primary);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
    transform-origin: center;
}

/* Animación del botón hamburguesa a X */
.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

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

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* Navegación */
.nav-header .nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    transition: all 0.3s ease;
}

.nav-header .nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-header .nav ul a {
    display: block;
    padding: 0.6rem 1.5rem;
    color: var(--color-text-dark);
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 0.5rem;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-header .nav ul a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-header .nav ul a:hover {
    color: white;
    border-color: rgba(57, 255, 20, 0.3);
    background: rgba(57, 255, 20, 0.05);
}

.nav-header .nav ul a:hover::before {
    width: 70%;
}

.nav-header .nav ul a.active {
    color: var(--color-bg-dark);
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
    font-weight: 700;
}

.nav-header .nav ul a.active::before {
    width: 0;
}

/*  RESPONSIVE - Menú Hamburguesa  */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-header .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        gap: 0.25rem;
        transform: scaleY(0);
        transform-origin: top center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 2px solid var(--color-primary);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
        z-index: 99;
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-header .nav.open {
        transform: scaleY(1);
        opacity: 1;
        visibility: visible;
    }

    .nav-header .nav ul {
        width: 100%;
        text-align: center;
    }

    .nav-header .nav ul a {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid rgba(57, 255, 20, 0.05);
        width: 100%;
    }

    .nav-header .nav ul a::before {
        display: none;
    }

    .nav-header .nav ul a:hover {
        background: rgba(57, 255, 20, 0.1);
        border-color: transparent;
    }

    .nav-header .nav ul a.active {
        background: var(--color-primary);
        color: var(--color-bg-dark);
        border-radius: 0;
    }

    /* Animación del header */
    .nav-header {
        position: sticky;
        top: 0;
        z-index: 49;
    }
}

@media (max-width: 480px) {
    .nav-header .nav ul a {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

/*  EFECTO DE RESALTADO AL HACER SCROLL  */
.nav-header {
    position: sticky;
    top: 0;
    z-index: 49;
    animation: navSlideDown 0.5s ease;
}

@keyframes navSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/*  INDICADOR DE SECCIÓN ACTIVA  */
.nav-header .nav ul a.active {
    animation: activePulse 2s ease-in-out infinite;
}

@keyframes activePulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(57, 255, 20, 0.5), 0 0 60px rgba(57, 255, 20, 0.1);
    }
}

.main-content {
    margin-top: 2rem;
}

.carousel-container {
    position: relative;
    max-width: 56rem;
    margin: 0 auto 3rem auto;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.2);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel .slide {
    width: 100%;
    flex-shrink: 0;
}

.carousel .slide img {
    width: 100%;
    height: 16rem; /* 256px */
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0.5rem;
    border-radius: 9999px;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-btn:hover {
    background-color: var(--color-primary);
}

.carousel-btn svg {
    height: 1.5rem;
    width: 1.5rem;
}

.carousel-btn.prev { left: 0.5rem; }
.carousel-btn.next { right: 0.5rem; }

.carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.carousel-dots button {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dots button.active {
    background-color: var(--color-primary);
}

.search-container {
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.search-bar {
    position: relative;
}

.search-bar input {
    width: 100%;
    background-color: var(--color-bg-light);
    border: 2px solid var(--color-primary);
    border-radius: 9999px;
    padding: 0.75rem 1.5rem;
    color: white;
    outline: none;
    transition: all 0.3s;
}

.search-bar input:focus {
    box-shadow: 0 0 0 2px var(--color-primary);
}
.search-icon {
    width: 20px; height: 20px;
}
.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    height: 1.5rem;
    width: 1.5rem;
    color: var(--color-text-dark);
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar {
    width: 100%;
}

.sidebar-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.categories-container {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.category-btn {
    width: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    padding: 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: transparent;
    border: none;
    color: var(--color-text);
    cursor: pointer;
}
.category-btn svg { width: 18px; height: 18px; }


.category-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.category-btn.active {
    background-color: var(--color-primary);
    color: var(--color-bg-dark);
}

.product-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); /* Grid fluido */
    gap: 1.5rem;
}

.product-card {
    background-color: var(--color-bg-light);
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s;
    cursor: pointer;
    animation: fadeIn 0.5s ease forwards;
}

.product-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-8px) scale(1.02); /* Transformación */
}

.product-card img {
    width: 100%;
    height: 10rem;
    object-fit: cover;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

.product-card-title {
    font-family: var(--font-secondary);
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    height: 3.5rem; 
}

.product-card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.product-card-btn {
    margin-top: auto;
    width: 100%;
    background-color: var(--color-primary);
    color: var(--color-bg-dark);
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.product-card-btn:hover {
    background-color: #32e012;
}

/*  FOOTER MEJORADO  */
.footer {
    margin-top: 4rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
    border-top: 2px solid var(--color-primary);
    padding: 3rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

/* Efecto de brillo superior */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.footer-logo-img {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    object-fit: cover;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.2);
}

.footer-logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.2);
}

.footer-description {
    color: var(--color-text-dark);
    line-height: 1.6;
    font-size: 0.9rem;
    margin: 0;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.2);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(57, 255, 20, 0.05);
    border: 1px solid rgba(57, 255, 20, 0.2);
    border-radius: 50%;
    color: var(--color-text-dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.social-link:hover {
    background: var(--color-primary);
    color: var(--color-bg-dark);
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(57, 255, 20, 0.3);
}

.social-link i {
    width: 1.2rem;
    height: 1.2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links li a {
    color: var(--color-text-dark);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
    display: inline-block;
    position: relative;
}

.footer-links li a::before {
    content: '▸';
    margin-right: 0.5rem;
    color: var(--color-primary);
    transition: transform 0.3s;
}

.footer-links li a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

.footer-links li a:hover::before {
    transform: translateX(3px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--color-text-dark);
    font-size: 0.9rem;
}

.footer-contact li i {
    color: var(--color-primary);
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.footer-contact li span {
    line-height: 1.4;
}

.footer-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(57, 255, 20, 0.3), transparent);
    margin: 2rem 0 1.5rem;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-copyright {
    color: var(--color-text-dark);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-legal a {
    color: var(--color-text-dark);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--color-primary);
}

.footer-separator {
    color: rgba(255, 255, 255, 0.2);
}

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

@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-grid {
        gap: 1.5rem;
    }
    
    .footer-logo-text {
        font-size: 1rem;
    }
    
    .footer-logo-img {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .footer-social {
        gap: 0.5rem;
    }
    
    .social-link {
        width: 2.2rem;
        height: 2.2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-separator {
        display: none;
    }
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--color-bg-light);
    width: 91.666667%;
    max-width: 32rem;
    border-radius: 0.5rem;
    border: 2px solid var(--color-secondary);
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s;
}

.modal-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal-body {
    max-height: 24rem;
    overflow-y: auto;
    margin-bottom: 1rem;
    padding-right: 0.5rem;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cart-item img {
    width: 4rem;
    height: 4rem;
    object-fit: cover;
    border-radius: 0.375rem;
}

.cart-item-info { flex: 1; }
.cart-item-info h4 { font-weight: 700; color: white; }
.cart-item-info p { color: var(--color-text-dark); }
.cart-item-price { font-size: 1.125rem; font-weight: 700; color: white; }
.cart-item-remove-btn {
    color: var(--color-text-dark);
    transition: color 0.3s;
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
}
.cart-item-remove-btn:hover { color: var(--color-secondary); }
.cart-item-remove-btn svg { width: 1.25rem; height: 1.25rem; }


.modal-total {
    text-align: right;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}
.total-amount { color: var(--color-primary); }

.modal-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.btn {
    width: 100%;
    font-weight: 700;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.btn-secondary { background-color: #4a5568; color: white; }
.btn-secondary:hover { background-color: #2d3748; }
.btn-primary { background-color: var(--color-secondary); color: white; }
.btn-primary:hover { background-color: #d60032; }
.btn:disabled { background-color: #4a5568; cursor: not-allowed; box-shadow: none; }

.modal-close-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--color-text-dark);
    transition: color 0.3s;
    background: none;
    border: none;
    cursor: pointer;
}
.modal-close-icon:hover { color: white; }
.modal-close-icon svg { width: 1.5rem; height: 1.5rem; }

.notification-container {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.notification {
    background-color: var(--color-secondary);
    color: white;
    font-weight: 700;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    animation: slide-in-out 4s ease-in-out forwards;
}

@keyframes slide-in-out {
    0% { transform: translateX(100%); opacity: 0; }
    20% { transform: translateX(0); opacity: 1; }
    80% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

.cart-bounce {
    animation: bounce 0.6s ease-in-out;
}
@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.4); }
}

@media (min-width: 768px) {
    .logo-text { font-size: 2.25rem; }
    .carousel .slide img { height: 16rem; } /* 256px -> 384px */
    .content-wrapper { flex-direction: row; }
    .sidebar { width: 25%; }
    .categories-container { flex-direction: column; flex-wrap: nowrap; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .sidebar { width: 20%; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1280px) {
    .product-grid { grid-template-columns: repeat(4, 1fr); }
}
/*  PAYMENT MODAL  */
@keyframes modalSlideIn {
    from { opacity: 0; transform: scale(0.92) translateY(20px); }
    to   { opacity: 1; transform: scale(1)    translateY(0); }
}

@keyframes cardFlip {
    0%   { transform: rotateY(0deg); }
    50%  { transform: rotateY(90deg); }
    100% { transform: rotateY(0deg); }
}

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

.payment-modal-content {
    background: linear-gradient(135deg, #0a0a0a 0%, #0d1117 100%);
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 40px rgba(57,255,20,0.15), 0 0 80px rgba(57,255,20,0.05);
    border-radius: 1rem;
    width: 95%;
    max-width: 780px;
    position: relative;
    animation: modalSlideIn 0.35s cubic-bezier(0.34,1.56,0.64,1) forwards;
    overflow: hidden;
}

/* línea decorativa top */
.payment-modal-content::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

/*  Header  */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(57,255,20,0.2);
}

.secure-payment-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    color: var(--color-primary);
    letter-spacing: 0.05em;
}

.secure-payment-header i { width: 16px; height: 16px; }

.close-btn {
    background: none;
    border: none;
    color: var(--color-text-dark);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.close-btn:hover { color: white; }

/*  Layout dos columnas  */
.payment-main-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

@media (min-width: 600px) {
    .payment-main-content { flex-direction: row; }
}

/*  Columna izquierda: Resumen  */
.payment-details-column {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(57,255,20,0.15);
    background: rgba(57,255,20,0.03);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 600px) {
    .payment-details-column {
        width: 38%;
        border-bottom: none;
        border-right: 1px solid rgba(57,255,20,0.15);
    }
}

.payment-summary-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
    letter-spacing: 0.05em;
}

.payment-summary-shop {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.payment-shop-logo {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    object-fit: cover;
}

.payment-shop-name {
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    color: white;
}

.payment-summary-total {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.payment-summary-total span:first-child {
    font-size: 0.75rem;
    color: var(--color-text-dark);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.payment-total-amount {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-primary);
    text-shadow: 0 0 12px rgba(57,255,20,0.4);
}

/*  Columna derecha: Métodos  */
.payment-methods-column {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/*  Tabs  */
.payment-tabs {
    display: flex;
    background: rgba(255,255,255,0.05);
    border-radius: 0.5rem;
    padding: 4px;
    gap: 4px;
}

.payment-tab-btn {
    flex: 1;
    padding: 0.5rem;
    background: transparent;
    border: none;
    border-radius: 0.35rem;
    color: var(--color-text-dark);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
}

.payment-tab-btn.active {
    background: var(--color-primary);
    color: var(--color-bg-dark);
    box-shadow: 0 0 10px rgba(57,255,20,0.3);
}

/*  Panels  */
.payment-panel-container { flex: 1; }

.payment-panel { display: none; }
.payment-panel.active { display: block; }

/* QR */
.qr-container {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

.qr-container img {
    border-radius: 0.5rem;
    border: 3px solid var(--color-primary);
    padding: 8px;
    background: white;
    box-shadow: 0 0 20px rgba(57,255,20,0.25);
}

/* Card form */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.75rem;
}

.form-group label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-dark);
}

.form-group input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(57,255,20,0.3);
    border-radius: 0.4rem;
    padding: 0.6rem 0.85rem;
    color: white;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: 'Courier New', monospace;
}

.form-group input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(57,255,20,0.1);
}

/* estado de error en inputs */
.form-group input.input-error {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(255,0,60,0.15);
    animation: shake 0.35s ease;
}

@keyframes shake {
    0%,100% { transform: translateX(0); }
    25%      { transform: translateX(-5px); }
    75%      { transform: translateX(5px); }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

/*  Botones de acción  */
.checkout-btn {
    width: 100%;
    padding: 0.85rem;
    background: var(--color-primary);
    color: var(--color-bg-dark);
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 0 15px rgba(57,255,20,0.2);
}

.checkout-btn:hover {
    background: #4fff2a;
    box-shadow: 0 0 25px rgba(57,255,20,0.4);
    transform: translateY(-1px);
}

.checkout-btn:active { transform: translateY(0); }

.payment-methods-column .btn-secondary {
    width: 100%;
    padding: 0.6rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 0.5rem;
    color: var(--color-text-dark);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-methods-column .btn-secondary:hover {
    border-color: rgba(255,255,255,0.35);
    color: white;
}

/*  Indicador de procesando  */
.checkout-btn.processing {
    pointer-events: none;
    background: linear-gradient(90deg, var(--color-primary), #4fff2a, var(--color-primary));
    background-size: 200% auto;
    animation: shimmer 1.2s linear infinite;
}

/*  Error message bajo el input  */
.field-error {
    font-size: 0.68rem;
    color: var(--color-secondary);
    margin-top: -0.4rem;
    margin-bottom: 0.3rem;
}

.product-card-stock {
    font-size: 0.78rem;
    color: var(--color-text-dark);
    margin-bottom: 0.25rem;
}


/*  SECCIONES ADICIONALES  */
.section-block {
    margin: 60px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(57,255,20,0.15);
    animation: fadeIn 0.5s ease forwards;
}

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

.section-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--color-primary);
    text-shadow: 0 0 20px rgba(57,255,20,0.3);
}

.section-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding: 0.5rem;
    background: rgba(255,255,255,0.03);
    border-radius: 0.5rem;
    border: 1px solid rgba(57,255,20,0.1);
}

.nav-btn {
    padding: 0.5rem 1.5rem;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 0.5rem;
    color: var(--color-text-dark);
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-btn:hover {
    color: white;
    border-color: rgba(57,255,20,0.3);
}

.nav-btn.active {
    color: var(--color-bg-dark);
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(57,255,20,0.3);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-text p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.about-features {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-dark);
}

.about-features li i {
    color: var(--color-primary);
    width: 20px;
    height: 20px;
}

.about-image img {
    width: 50%;
    height: auto;
    border-radius: 0.5rem;
    margin-left: 30%;
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 30px rgba(57,255,20,0.15);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 0.5rem;
    border: 2px solid rgba(57,255,20,0.2);
    transition: all 0.3s;
}

.gallery-item:hover {
    border-color: var(--color-primary);
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(57,255,20,0.15);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.video-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.video-item {
    border-radius: 0.5rem;
    overflow: hidden;
    border: 2px solid rgba(57,255,20,0.2);
}

.video-item video {
    width: 100%;
    height: auto;
    display: block;
}

.video-caption {
    padding: 0.75rem;
    text-align: center;
    color: var(--color-text-dark);
    font-size: 0.9rem;
    background: rgba(255,255,255,0.03);
}

.table-responsive {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-bg-light);
    border-radius: 0.5rem;
    overflow: hidden;
}

.product-table thead {
    background: rgba(57,255,20,0.1);
}

.product-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--color-primary);
}

.product-table td {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--color-text);
}

.product-table tbody tr:hover {
    background: rgba(57,255,20,0.03);
}

.product-table tbody tr:last-child td {
    border-bottom: none;
}

.feature-table td:first-child {
    font-weight: 700;
    color: var(--color-primary);
}

.table-subtitle {
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
    color: var(--color-text);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr 2fr;
    }
}

.contact-info {
    background: rgba(255,255,255,0.03);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(57,255,20,0.1);
}

.contact-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.contact-details {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-dark);
}

.contact-details li i {
    color: var(--color-primary);
    width: 20px;
    height: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form .form-group textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(57,255,20,0.2);
    border-radius: 0.4rem;
    padding: 0.75rem;
    color: white;
    font-family: var(--font-primary);
    resize: vertical;
    outline: none;
    transition: border-color 0.2s;
}

.contact-form .form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(57,255,20,0.1);

}
/*  MODAL DE AUTENTICACIÓN (Login/Registro)  */
.auth-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auth-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.auth-modal-overlay.active .auth-modal-content {
    transform: scale(1);
    opacity: 1;
}

.auth-modal-content {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    border: 2px solid var(--color-primary);
    border-radius: 1rem;
    padding: 2rem;
    width: 95%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 40px rgba(57, 255, 20, 0.15);
}

/*  MODAL DEL CARRITO  */
.cart-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 9997;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-modal-overlay:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.cart-modal-overlay:not(.hidden) .cart-modal-content {
    transform: scale(1);
}

.cart-modal-content {
    background-color: var(--color-bg-light);
    width: 91.666667%;
    max-width: 32rem;
    border-radius: 0.5rem;
    border: 2px solid var(--color-secondary);
    padding: 1.5rem;
    position: relative;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.payment-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.payment-modal-overlay:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.payment-modal-overlay:not(.hidden) .payment-modal-content {
    transform: scale(1);
}

.payment-modal-content {
    background: linear-gradient(135deg, #0a0a0a 0%, #0d1117 100%);
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 40px rgba(57, 255, 20, 0.15), 0 0 80px rgba(57, 255, 20, 0.05);
    border-radius: 1rem;
    width: 95%;
    max-width: 780px;
    position: relative;
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--color-text-dark);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

.modal-close-btn:hover {
    color: white;
}

body.modal-open {
    overflow: hidden !important;
}
/* ============================================================
   SOBRE NOSOTROS - ESTILOS MEJORADOS
   ============================================================ */

/* Header de sección */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: rgba(57, 255, 20, 0.08);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(57, 255, 20, 0.15);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary), #4fff2a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    color: var(--color-text-dark);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Grid de Misión, Visión, Propósito */
.about-grid-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.about-card {
    background: var(--color-bg-light);
    border: 1px solid var(--admin-border);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.05);
}

.about-card.highlight {
    border-color: var(--color-primary);
    background: rgba(57, 255, 20, 0.03);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.05);
}

.about-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(57, 255, 20, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--color-primary);
}

.about-card-icon i {
    width: 28px;
    height: 28px;
}

.about-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.about-card p {
    color: var(--color-text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Valores */
.about-values {
    margin-bottom: 4rem;
}

.values-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--color-bg-light);
    border-radius: 0.75rem;
    border: 1px solid var(--admin-border);
    transition: all 0.3s;
}

.value-item:hover {
    border-color: var(--color-primary);
    background: rgba(57, 255, 20, 0.02);
}

.value-item i {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.value-item h4 {
    color: var(--color-text);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.value-item p {
    color: var(--color-text-dark);
    font-size: 0.85rem;
    margin: 0;
}

/* Estadísticas */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
    padding: 2rem;
    background: var(--color-bg-light);
    border-radius: 1rem;
    border: 1px solid var(--admin-border);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.15);
}

.stat-label {
    color: var(--color-text-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Historia */
.about-history {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.history-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.history-content p {
    color: var(--color-text-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.history-content p strong {
    color: var(--color-primary);
}

.about-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--color-primary);
    color: var(--color-bg-dark);
    font-weight: 700;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: 0.5rem;
}

.about-cta-btn:hover {
    background: #4fff2a;
    transform: translateX(5px);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.3);
}

.about-cta-btn i {
    width: 18px;
    height: 18px;
}

.history-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    border: 2px solid var(--admin-border);
}

.history-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 300px;
}

.history-image-badge {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--color-primary);
    border-radius: 0.75rem;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-family: var(--font-secondary);
    font-size: 0.85rem;
}

.history-image-badge i {
    width: 20px;
    height: 20px;
}

/* Sello de Confianza */
.about-trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 2rem;
    border-top: 1px solid var(--admin-border);
    padding-top: 2rem;
}

.trust-item {
    text-align: center;
}

.trust-item i {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.trust-item h4 {
    color: var(--color-text);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.trust-item p {
    color: var(--color-text-dark);
    font-size: 0.8rem;
    margin: 0;
}

/* ============================================================
   RESPONSIVE - SOBRE NOSOTROS
   ============================================================ */

@media (max-width: 1024px) {
    .about-grid-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid-cards .about-card:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .about-grid-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .about-grid-cards .about-card:last-child {
        grid-column: span 1;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .about-history {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-trust {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.5rem 0;
    }
    
    .history-image {
        order: -1;
    }
    
    .history-image img {
        min-height: 200px;
    }
    
    .history-image-badge {
        bottom: 1rem;
        right: 1rem;
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.7rem;
        padding: 0.2rem 0.75rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .about-trust {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        padding: 1rem 0;
    }
    
    .about-card {
        padding: 1.5rem 1rem;
    }
    
    .about-card-icon {
        width: 50px;
        height: 50px;
    }
    
    .about-card-icon i {
        width: 24px;
        height: 24px;
    }
    
    .value-item {
        padding: 1rem;
    }
    
    .history-content h3 {
        font-size: 1.5rem;
    }
    
    .about-cta-btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }
}
/* ============================================================
   SABER MÁS - COMPARATIVA DE PRODUCTOS
   ============================================================ */

/* Filtros */
.compare-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    background: transparent;
    border: 2px solid var(--admin-border);
    border-radius: 50px;
    color: var(--color-text-dark);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-text);
}

.filter-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-bg-dark);
}

/* Tabla de comparativa */
.compare-table-wrapper {
    background: var(--color-bg-light);
    border: 1px solid var(--admin-border);
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 2rem;
}

.compare-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) var(--color-bg-dark);
}

.compare-table-scroll::-webkit-scrollbar {
    height: 8px;
}

.compare-table-scroll::-webkit-scrollbar-track {
    background: var(--color-bg-dark);
}

.compare-table-scroll::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 4px;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    min-width: 900px;
}

.compare-table thead {
    background: rgba(57, 255, 20, 0.05);
}

.compare-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-family: var(--font-secondary);
    font-size: 0.75rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--color-primary);
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--color-bg-light);
}

.compare-table th.sticky-col {
    left: 0;
    z-index: 12;
    background: var(--color-bg-light);
    border-right: 1px solid var(--admin-border);
}

.compare-table td {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--admin-border);
    color: var(--color-text);
    vertical-align: middle;
}

.compare-table tbody tr {
    transition: background 0.3s;
}

.compare-table tbody tr:hover {
    background: rgba(57, 255, 20, 0.03);
}

.compare-table tbody tr:last-child td {
    border-bottom: none;
}

/* Columna fija del producto */
.compare-table td.sticky-col {
    left: 0;
    z-index: 11;
    background: var(--color-bg-light);
    border-right: 1px solid var(--admin-border);
    min-width: 180px;
}

.compare-table tbody tr:hover td.sticky-col {
    background: rgba(57, 255, 20, 0.03);
}

.product-name {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-name img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--admin-border);
    object-fit: cover;
    flex-shrink: 0;
}

.product-name strong {
    color: var(--color-text);
    font-size: 0.9rem;
}

.product-name div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

/* Badges de producto */
.product-badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.1rem 0.5rem;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
}

.product-badge.top {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.product-badge.new {
    background: rgba(57, 255, 20, 0.12);
    color: var(--color-primary);
    border: 1px solid rgba(57, 255, 20, 0.3);
}

.product-badge.offer {
    background: rgba(255, 0, 60, 0.12);
    color: var(--color-danger);
    border: 1px solid rgba(255, 0, 60, 0.3);
}

.product-badge.soon {
    background: rgba(93, 138, 255, 0.12);
    color: #5d8aff;
    border: 1px solid rgba(93, 138, 255, 0.3);
}

/* Etiquetas de categoría */
.category-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.6rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.category-tag.laptop {
    background: rgba(57, 255, 20, 0.08);
    color: var(--color-primary);
}

.category-tag.tablet {
    background: rgba(93, 138, 255, 0.08);
    color: #5d8aff;
}

.category-tag.smartphone {
    background: rgba(255, 152, 0, 0.08);
    color: #ff9800;
}

.category-tag.monitor {
    background: rgba(156, 39, 176, 0.08);
    color: #ce93d8;
}

.category-tag.audio {
    background: rgba(255, 0, 60, 0.08);
    color: var(--color-danger);
}

/* Precios */
.product-price {
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
}

.old-price {
    color: var(--color-text-dark);
    text-decoration: line-through;
    font-weight: 400;
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

/* Botón de agregar */
.compare-add-btn {
    background: var(--color-primary);
    border: none;
    border-radius: 8px;
    padding: 0.4rem 0.6rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compare-add-btn i {
    width: 18px;
    height: 18px;
    color: var(--color-bg-dark);
}

.compare-add-btn:hover {
    background: #4fff2a;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
}

/* Leyenda */
.compare-legend {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem;
    background: var(--color-bg-light);
    border-radius: 0.75rem;
    border: 1px solid var(--admin-border);
    margin-bottom: 2rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-dark);
    font-size: 0.8rem;
}

.legend-badge {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    flex-shrink: 0;
}

.legend-badge.top {
    background: #ffc107;
}
.legend-badge.new {
    background: var(--color-primary);
}
.legend-badge.offer {
    background: var(--color-danger);
}
.legend-badge.soon {
    background: #5d8aff;
}

/* Call to Action */
.compare-cta {
    text-align: center;
    padding: 2rem;
    background: var(--color-bg-light);
    border-radius: 1rem;
    border: 1px solid var(--admin-border);
}

.compare-cta p {
    color: var(--color-text-dark);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.compare-cta p strong {
    color: var(--color-text);
}

.compare-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--color-primary);
    color: var(--color-bg-dark);
    font-weight: 700;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s;
}

.compare-cta-btn:hover {
    background: #4fff2a;
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.3);
}

.compare-cta-btn i {
    width: 20px;
    height: 20px;
}

/* ============================================================
   RESPONSIVE - SABER MÁS
   ============================================================ */

@media (max-width: 1024px) {
    .compare-table {
        font-size: 0.8rem;
        min-width: 800px;
    }
    
    .compare-table th,
    .compare-table td {
        padding: 0.7rem 0.9rem;
    }
}

@media (max-width: 768px) {
    .compare-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.35rem 0.9rem;
        font-size: 0.75rem;
    }
    
    .compare-table {
        font-size: 0.75rem;
        min-width: 700px;
    }
    
    .compare-table th,
    .compare-table td {
        padding: 0.6rem 0.7rem;
    }
    
    .product-name img {
        width: 32px;
        height: 32px;
    }
    
    .product-badge {
        font-size: 0.5rem;
        padding: 0.05rem 0.4rem;
    }
    
    .compare-legend {
        gap: 0.75rem;
        padding: 0.75rem;
    }
    
    .compare-cta {
        padding: 1.5rem;
    }
    
    .compare-cta p {
        font-size: 0.9rem;
    }
    
    .compare-cta-btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .compare-filters {
        gap: 0.35rem;
    }
    
    .filter-btn {
        padding: 0.25rem 0.65rem;
        font-size: 0.65rem;
        border-width: 1.5px;
    }
    
    .compare-table {
        font-size: 0.65rem;
        min-width: 600px;
    }
    
    .compare-table th,
    .compare-table td {
        padding: 0.4rem 0.5rem;
    }
    
    .product-name img {
        width: 28px;
        height: 28px;
    }
    
    .product-name strong {
        font-size: 0.75rem;
    }
    
    .product-badge {
        font-size: 0.45rem;
        padding: 0.05rem 0.3rem;
    }
    
    .compare-legend {
        gap: 0.5rem;
        padding: 0.5rem;
        font-size: 0.7rem;
    }
    
    .legend-badge {
        width: 10px;
        height: 10px;
    }
    
    .compare-cta {
        padding: 1rem;
    }
    
    .compare-cta p {
        font-size: 0.8rem;
    }
    
    .compare-cta-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .compare-cta-btn i {
        width: 16px;
        height: 16px;
    }
    
    .category-tag {
        font-size: 0.55rem;
        padding: 0.1rem 0.4rem;
    }
}
/* ============================================================
   CONTÁCTANOS - ESTILOS MEJORADOS
   ============================================================ */

/* Grid de Contacto */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Tarjeta de información de contacto */
.contact-info-card {
    background: var(--color-bg-light);
    border: 1px solid var(--admin-border);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-title {
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: rgba(57, 255, 20, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: all 0.3s;
}

.contact-info-item:hover .contact-info-icon {
    background: var(--color-primary);
    color: var(--color-bg-dark);
    transform: scale(1.05);
}

.contact-info-icon i {
    width: 20px;
    height: 20px;
}

.contact-info-item h4 {
    color: var(--color-text);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.contact-info-item p {
    color: var(--color-text-dark);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.contact-small {
    font-size: 0.75rem !important;
    color: var(--admin-text-muted) !important;
}

/* Redes Sociales en contacto */
.contact-social h4 {
    color: var(--color-text);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.contact-social .social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.contact-social .social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--admin-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-dark);
    transition: all 0.3s;
    text-decoration: none;
}

.contact-social .social-link:hover {
    background: var(--color-primary);
    color: var(--color-bg-dark);
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.2);
}

.contact-social .social-link i {
    width: 18px;
    height: 18px;
}

/* Formulario de contacto */
.contact-form-card {
    background: var(--color-bg-light);
    border: 1px solid var(--admin-border);
    border-radius: 1rem;
    padding: 2rem;
}

.contact-form-title {
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.contact-form-modern {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group-modern {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group-modern label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--color-text);
    font-weight: 600;
}

.form-group-modern label i {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
}

.form-group-modern input,
.form-group-modern select,
.form-group-modern textarea {
    background: var(--color-bg-dark);
    border: 2px solid var(--admin-border);
    border-radius: 8px;
    padding: 0.7rem 1rem;
    color: var(--color-text);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s;
    font-family: var(--font-primary);
}

.form-group-modern input:focus,
.form-group-modern select:focus,
.form-group-modern textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.08);
}

.form-group-modern select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0a8c2' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
}

.form-group-modern select option {
    background: var(--color-bg-dark);
    color: var(--color-text);
}

.form-group-modern textarea {
    resize: vertical;
    min-height: 100px;
}

.char-counter {
    text-align: right;
    font-size: 0.7rem;
    color: var(--color-text-dark);
}

/* Checkbox personalizado */
.form-group-modern.checkbox {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-dark);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid var(--admin-border);
    border-radius: 4px;
    background: var(--color-bg-dark);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-label input:checked + .checkmark {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.checkbox-label input:checked + .checkmark::after {
    content: '✓';
    color: var(--color-bg-dark);
    font-weight: 700;
    font-size: 14px;
}

.text-link {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.text-link:hover {
    color: #4fff2a;
    text-decoration: underline;
}

/* Botón de envío */
.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem 2rem;
    background: var(--color-primary);
    color: var(--color-bg-dark);
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0.5rem;
}

.contact-submit-btn:hover {
    background: #4fff2a;
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.3);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

.contact-submit-btn i {
    width: 18px;
    height: 18px;
}

/* Mapa */
.contact-map {
    margin-bottom: 3rem;
}

.map-title {
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    text-align: center;
}

.map-container {
    border-radius: 1rem;
    overflow: hidden;
    border: 2px solid var(--admin-border);
    height: 300px;
    transition: border-color 0.3s;
}

.map-container:hover {
    border-color: var(--color-primary);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* FAQ */
.contact-faq {
    margin-top: 1rem;
}

.faq-title {
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    text-align: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.faq-item {
    background: var(--color-bg-light);
    border: 1px solid var(--admin-border);
    border-radius: 0.75rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--color-primary);
}

.faq-item details {
    cursor: pointer;
}

.faq-item details summary {
    color: var(--color-text);
    font-weight: 600;
    padding: 0.75rem 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-item details summary::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--color-primary);
    transition: transform 0.3s;
}

.faq-item details[open] summary::after {
    transform: rotate(45deg);
}

.faq-item details p {
    color: var(--color-text-dark);
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0 0 0.75rem 0;
    margin: 0;
}

/* ============================================================
   RESPONSIVE - CONTÁCTANOS
   ============================================================ */

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-info-card {
        padding: 1.5rem;
    }
    
    .contact-form-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .form-row-modern {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .map-container {
        height: 200px;
    }
    
    .contact-info-items {
        gap: 1rem;
    }
    
    .contact-info-item {
        gap: 0.75rem;
    }
    
    .contact-info-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }
    
    .contact-info-icon i {
        width: 16px;
        height: 16px;
    }
    
    .contact-social .social-links {
        gap: 0.5rem;
    }
    
    .contact-social .social-link {
        width: 36px;
        height: 36px;
    }
    
    .contact-social .social-link i {
        width: 16px;
        height: 16px;
    }
    
    .contact-submit-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .contact-info-card,
    .contact-form-card {
        padding: 1rem;
    }
    
    .contact-info-title,
    .contact-form-title,
    .map-title,
    .faq-title {
        font-size: 1.1rem;
    }
    
    .contact-info-item h4 {
        font-size: 0.85rem;
    }
    
    .contact-info-item p {
        font-size: 0.8rem;
    }
    
    .form-group-modern input,
    .form-group-modern select,
    .form-group-modern textarea {
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
    }
    
    .form-group-modern label {
        font-size: 0.75rem;
    }
    
    .map-container {
        height: 150px;
    }
    
    .faq-item {
        padding: 0.25rem 0.75rem;
    }
    
    .faq-item details summary {
        font-size: 0.85rem;
        padding: 0.5rem 0;
    }
    
    .faq-item details p {
        font-size: 0.8rem;
    }
    
    .contact-submit-btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.8rem;
        width: 100%;
    }
    
    .contact-submit-btn i {
        width: 16px;
        height: 16px;
    }
    
    .checkbox-label {
        font-size: 0.75rem;
    }
    
    .checkmark {
        width: 16px;
        height: 16px;
        min-width: 16px;
    }
    
    .char-counter {
        font-size: 0.6rem;
    }
}
/* ============================================================
   GALERÍA - ESTILOS MEJORADOS
   ============================================================ */

/* Navegación de la galería */
.gallery-nav {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.gallery-nav-btn {
    padding: 0.5rem 1.5rem;
    background: transparent;
    border: 2px solid var(--admin-border);
    border-radius: 50px;
    color: var(--color-text-dark);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-nav-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-text);
}

.gallery-nav-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-bg-dark);
}

/* ============================================================
   MASONRY GRID - GALERÍA DE FOTOS
   ============================================================ */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 2px solid var(--admin-border);
    transition: all 0.3s;
    cursor: pointer;
}

.gallery-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.08);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.medium {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item.small {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

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

.gallery-item:hover .gallery-image-wrapper img {
    transform: scale(1.05);
}

/* Overlay de la galería */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text);
    transform: scale(0.9);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay-content {
    transform: scale(1);
}

.gallery-overlay-content i {
    width: 36px;
    height: 36px;
    color: var(--color-primary);
}

.gallery-overlay-content span {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Caption de la galería */
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h4 {
    color: var(--color-text);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.gallery-caption p {
    color: var(--color-text-dark);
    font-size: 0.8rem;
    margin: 0;
}

/* ============================================================
   VIDEOS
   ============================================================ */
.video-section {
    margin-bottom: 3rem;
}

.video-title {
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.video-item {
    border-radius: 0.75rem;
    overflow: hidden;
    border: 2px solid var(--admin-border);
    transition: all 0.3s;
    background: var(--color-bg-light);
}

.video-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.08);
}

.video-item.featured {
    grid-column: span 2;
    grid-row: span 1;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background: var(--color-bg-dark);
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.3);
}

.video-overlay i {
    width: 48px;
    height: 48px;
    color: var(--color-primary);
    transition: transform 0.3s;
}

.video-overlay:hover i {
    transform: scale(1.1);
}

.video-overlay span {
    font-size: 0.85rem;
    font-weight: 600;
}

.video-caption {
    padding: 0.75rem 1rem;
}

.video-caption h4 {
    color: var(--color-text);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.video-caption p {
    color: var(--color-text-dark);
    font-size: 0.8rem;
    margin: 0;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.gallery-lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 800px;
    width: 100%;
}

.lightbox-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: var(--color-primary);
}

.lightbox-image-container {
    border-radius: 0.75rem;
    overflow: hidden;
    border: 2px solid var(--admin-border);
}

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

.lightbox-caption {
    color: var(--color-text);
    text-align: center;
    padding: 1rem 0;
}

.lightbox-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--admin-border);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-bg-dark);
}

.lightbox-prev i,
.lightbox-next i {
    width: 24px;
    height: 24px;
}

/* ============================================================
   GALERÍA CTA
   ============================================================ */
.gallery-cta {
    text-align: center;
    padding: 2rem;
    background: var(--color-bg-light);
    border-radius: 1rem;
    border: 1px solid var(--admin-border);
    margin-top: 1rem;
}

.gallery-cta p {
    color: var(--color-text-dark);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.gallery-social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: transparent;
    border: 2px solid var(--admin-border);
    border-radius: 50px;
    color: var(--color-text);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 600;
}

.gallery-social-link i {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
}

.gallery-social-link:hover {
    border-color: var(--color-primary);
    background: rgba(57, 255, 20, 0.05);
    transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE - GALERÍA
   ============================================================ */

@media (max-width: 1024px) {
    .gallery-masonry {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 200px;
        gap: 1rem;
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .video-item.featured {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
        gap: 0.75rem;
    }
    
    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .gallery-item.medium {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .gallery-item.small {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .video-item.featured {
        grid-column: span 1;
    }
    
    .gallery-nav {
        gap: 0.5rem;
    }
    
    .gallery-nav-btn {
        padding: 0.35rem 1rem;
        font-size: 0.75rem;
    }
    
    .gallery-overlay-content i {
        width: 28px;
        height: 28px;
    }
    
    .video-overlay i {
        width: 36px;
        height: 36px;
    }
    
    .lightbox-content {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-masonry {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 150px;
        gap: 0.5rem;
    }
    
    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .gallery-item.medium {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .gallery-item.small {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .gallery-caption {
        padding: 0.5rem;
    }
    
    .gallery-caption h4 {
        font-size: 0.75rem;
    }
    
    .gallery-caption p {
        font-size: 0.65rem;
    }
    
    .video-caption {
        padding: 0.5rem;
    }
    
    .video-caption h4 {
        font-size: 0.8rem;
    }
    
    .video-caption p {
        font-size: 0.7rem;
    }
    
    .gallery-nav-btn {
        padding: 0.25rem 0.75rem;
        font-size: 0.65rem;
        border-width: 1.5px;
    }
    
    .gallery-cta {
        padding: 1rem;
    }
    
    .gallery-cta p {
        font-size: 0.9rem;
    }
    
    .gallery-social-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .gallery-social-link i {
        width: 16px;
        height: 16px;
    }
    
    .lightbox-close {
        top: -2rem;
        font-size: 1.5rem;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 36px;
        height: 36px;
    }
    
    .lightbox-prev i,
    .lightbox-next i {
        width: 18px;
        height: 18px;
    }
}

/* ============================================================
   ANIMACIONES DE LA GALERÍA
   ============================================================ */
.gallery-item {
    animation: galleryFadeIn 0.6s ease forwards;
    opacity: 0;
}

.gallery-item:nth-child(1) { animation-delay: 0.05s; }
.gallery-item:nth-child(2) { animation-delay: 0.1s; }
.gallery-item:nth-child(3) { animation-delay: 0.15s; }
.gallery-item:nth-child(4) { animation-delay: 0.2s; }
.gallery-item:nth-child(5) { animation-delay: 0.25s; }
.gallery-item:nth-child(6) { animation-delay: 0.3s; }
.gallery-item:nth-child(7) { animation-delay: 0.35s; }
.gallery-item:nth-child(8) { animation-delay: 0.4s; }

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

.video-item {
    animation: galleryFadeIn 0.6s ease forwards;
    opacity: 0;
}

.video-item:nth-child(1) { animation-delay: 0.1s; }
.video-item:nth-child(2) { animation-delay: 0.2s; }
.video-item:nth-child(3) { animation-delay: 0.3s; }
.video-item:nth-child(4) { animation-delay: 0.4s; }

/* Estilos para las imágenes de placeholder */
.gallery-image-wrapper img[src*="placeholder"] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-light);
    color: var(--color-text-dark);
    font-size: 1.2rem;
    font-weight: 700;
}