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

:root {
    --cosmic-blue: #1e3a8a;
    --stellar-purple: #7c3aed;
    --nebula-pink: #ec4899;
    --solar-gold: #f59e0b;
    --cosmic-white: #f8fafc;
    --space-black: #0f0f23;
    --star-silver: #e2e8f0;
    --galaxy-violet: #8b5cf6;
    --deep-space: #1a1a2e;
    --primary-color: #595959;
    --text-color: #333;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--cosmic-white);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

.catalogo-content {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Starfield Background */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/*---------------- Barra de redes sociales sticky---------------------- */
.redes-sociales-sticky {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    padding: 0 10px;
}

.redes-sociales-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    backdrop-filter: blur(10px);
    border-radius: 0 25px 25px 0;
    padding: 20px 8px;
}

.red-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--brand-secondary);
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.red-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

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

.red-social-link:hover {
    transform: translateX(5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(234, 102, 102, 0.4);
}

.red-social-icon {
    width: 40px;
    height: 40px;

}

.red-social-text {
    font-size: 12px;
    font-weight: 600;
    color: white;
}

/* Tooltip para redes sociales */
.red-social-link::after {
    content: attr(title);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: #333;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1001;
}

.red-social-link:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(15px);
}

/*----------------------- Navigation Menu------------------- */
.nav-menu ul {
    list-style: none;
    display: flex;
    gap: clamp(20px, 3vw, 35px);
    margin: 0;
    padding: 0;
}

.nav-menu a {
    font-family: 'Rajdhani', sans-serif;
    color: var(--star-silver);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 8px 0;
    font-size: clamp(0.9rem, 2vw, 1rem);
    text-transform: uppercase;
    white-space: nowrap;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    background: var(--brand-background);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
}

nav.scrolled {
    padding: 15px 50px;
    background: var(--brand-secondary);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15);
}

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

nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
}

nav a {
    font-family: 'Rajdhani', sans-serif;
    color: var(--star-silver);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 8px 0;
    font-size: 1rem;
    text-transform: uppercase;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--solar-gold), var(--galaxy-violet));
    transition: width 0.3s ease;
    border-radius: 2px;
}

nav ul a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--solar-gold), var(--galaxy-violet));
    transition: width 0.3s ease;
    border-radius: 2px;
}

nav ul a:hover {
    color: var(--cosmic-white);
    text-shadow: 0 0 10px var(--galaxy-violet);
}

nav ul a:hover::after {
    width: 100%;
}

nav ul a.active {
    color: var(--cosmic-white);
    text-shadow: 0 0 10px var(--galaxy-violet);
}

nav ul a.active::after {
    width: 100%;
    background: linear-gradient(90deg, var(--solar-gold), var(--nebula-pink));
    box-shadow: 0 0 8px var(--galaxy-violet);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--solar-gold);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

/* Hero Section */
/* Enhanced Hero Section with Beautiful Space Background */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 80px;
    background-repeat: no-repeat;
    background-size: cover;
}

section#home {
    display: flex;
    flex-direction: column;
    padding: 0;
    max-width: 100%;
    width: 100%;
    margin: 0;
}

section#home.hero {
    margin-top: 80px;
    /* Keep this for navbar spacing */
}

.logo-perfil {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid white;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.logo-perfil img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Animated nebula clouds */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    filter: blur(40px);
    z-index: 1;
}

/* Cosmic dust overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.hero-content {
    text-align: center;
    z-index: 10;
    animation: fadeInUp 1.5s ease;
    position: relative;
}

.cosmic-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    color: var(--cosmic-white);
    letter-spacing: 6px;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
    animation: cosmicGlow 3s ease-in-out infinite alternate;
}

@keyframes cosmicGlow {
    0% {
        text-shadow: 0 0 20px rgba(139, 92, 246, 0.6),
            0 0 40px rgba(245, 158, 11, 0.4);
    }

    100% {
        text-shadow: 0 0 30px rgba(139, 92, 246, 0.8),
            0 0 60px rgba(245, 158, 11, 0.6),
            0 0 80px rgba(236, 72, 153, 0.4);
    }
}

.subtitle {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    opacity: 0.9;
    background: linear-gradient(135deg, var(--solar-gold), var(--galaxy-violet), var(--nebula-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

/* Sections */
section {
    padding: 120px 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--cosmic-white), var(--galaxy-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--solar-gold), var(--galaxy-violet), var(--nebula-pink));
    border-radius: 2px;
    animation: titleUnderline 3s ease-in-out infinite;
}

@keyframes titleUnderline {

    0%,
    100% {
        width: 120px;
    }

    50% {
        width: 180px;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s;
    backdrop-filter: blur(10px);
}

.modal-contenido {
    display: block;
    margin: 5% auto;
    max-width: 90%;
    max-height: 80%;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s;
}

.modal-titulo {
    color: rgb(252, 249, 249);
    text-align: center;
    font-size: 1.5rem;
    margin-top: 20px;
    font-family: 'Orbitron', sans-serif;
}

.cerrar-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10001;
}

.cerrar-modal:hover {
    color: var(--solar-gold);
}

/* ---------modal overlay------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-content {
    background: #272626;
    padding: 25px;
    border-radius: 10px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #df0c0c;
}

.modal-imagen {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

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

.form-control {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.btn-enviar {
    width: 100%;
    background: #25D366;
    border: none;
    color: #fff;
    padding: 10px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-enviar:hover {
    background: #1ebc59;
}

/* ---------modal overlay------------- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* -----------------boton contacto---------------- */
.producto-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #25D366;
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 0.75rem;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.producto-whatsapp:hover {
    background-color: #1DA851;
}

.producto-whatsapp svg {
    flex-shrink: 0;
    width: 1.2em;
    height: 1.2em;
}

/* ------------boton contacto------------------- */

/* Estados vacíos */
.sin-productos,
.sin-categorias {
    text-align: center;
    color: var(--brand-text);
    font-style: italic;
    padding: 40px 20px;
}

/* ---------MAPA---------- */
.mapa {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* ---------MAPA---------- */
.producto-imagen {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8f9fa;
    position: relative;
    border-radius: 8px;
    cursor: pointer;
}

.img-producto {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

/* Estados de carga y error */
.img-producto[data-state="loading"] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.producto-imagen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.producto-card:hover .producto-imagen::after {
    opacity: 1;
}

/* Texto "Ver imagen completa" que aparece al hover */
.producto-imagen::before {
    content: 'Ver imagen completa';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
    text-align: center;
    padding: 8px 16px;
    border: 1px solid white;
    border-radius: 20px;
}

.producto-card:hover .producto-imagen::before {
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Mission Tabs Section */
.sticky-tabs-container {
    position: sticky;
    top: 80px;
    z-index: 999;
    padding: 20px 0;
    margin-bottom: 30px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

/* Efecto cuando hace scroll */
.sticky-tabs-container.scrolled {
    padding: 15px 0;
}

/* Mission Tabs Scroll Container */
.mission-tabs-scroll-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.mission-tabs-scroll {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 10px;
    padding: 10px 0;
    scroll-behavior: smooth;
    scroll-padding: 0 20px;
}

.mission-tabs-scroll::-webkit-scrollbar {
    display: none;
}

/* Scroll Indicators */
.scroll-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--brand-secondary);
    color:var(--brand-text);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    font-weight: bold;

}

.scroll-indicator:hover {
    background: rgba(139, 92, 246, 1);
    transform: translateY(-50%) scale(1.1);
}

.scroll-indicator.left {
    left: 0;
}

.scroll-indicator.right {
    right: 0;
}

.mission-tabs-scroll-container:hover .scroll-indicator {
    opacity: 1;
}

/* Mission Tabs */
.mission-tab {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--star-silver);
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.mission-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.1), transparent);
    transition: left 0.5s ease;
}

.mission-tab:hover::before {
    left: 100%;
}

.mission-tab:hover,
.mission-tab.active {
    background: var(--brand-secondary);
    color: var(--brand-text);
    border-color: transparent;
    transform: translateY(-2px);
}


/* Mission Content */
.mission-content {
    display: none;
    animation: fadeInUp 0.5s ease;
    padding-top: 20px;
}

.mission-content.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Mission Grid */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* ---------------------Product Card------------------- */
.mission-card.product-card {
    background: var(--brand-secondary);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

/* Contenedor de la imagen con overlay */
.producto-imagen {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 20px;
    cursor: pointer;
    position: relative;
}

.img-producto {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    filter: brightness(0.9); /* Imagen un poco oscura por defecto */
}

/* Overlay que se muestra al hacer hover */
.producto-imagen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 15px;
    pointer-events: none;
}

/* Texto "Ver imagen completa" */
.producto-imagen::before {
    content: '🔍 Ver imagen completa';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
    pointer-events: none;
    background: rgba(139, 92, 246, 0.8);
    padding: 12px 20px;
    border-radius: 25px;
    border: 2px solid rgba(245, 158, 11, 0.5);
    backdrop-filter: blur(10px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

/* Efectos al hacer hover en la imagen */
.producto-imagen:hover::after {
    opacity: 1;
}

.producto-imagen:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
}

.producto-imagen:hover .img-producto {
    transform: scale(1.05);
    filter: brightness(0.7); /* Imagen más oscura al hacer hover */
}

/* Efecto de brillo interior en la tarjeta */
.mission-card.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.1) 0%,
        rgba(245, 158, 11, 0.05) 50%,
        rgba(236, 72, 153, 0.05) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.mission-card.product-card:hover::before {
    opacity: 1;
}

/* Efecto de borde neon en toda la tarjeta */
.mission-card.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 10px 30px rgba(139, 92, 246, 0.3),
        0 0 0 1px rgba(245, 158, 11, 0.2),
        inset 0 0 20px rgba(139, 92, 246, 0.1);
}

/* Mejor contraste para el texto */
.mission-card.product-card h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--brand-background);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.mission-card.product-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.product-price {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--brand-background);
    margin: 10px 0;
    font-family: 'Orbitron', sans-serif;
}

/* Status Badges */
.mission-status {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

/* Disponible */
.estado-disponible {
    background: var(--brand-background);
    color: var(--brand-text);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Agotado */
.estado-agotado {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* No disponible */
.estado-no-disponible {
    background: rgba(156, 163, 175, 0.2);
    color: #9ca3af;
    border: 1px solid rgba(156, 163, 175, 0.3);
}

/* Próximamente */
.estado-proximamente {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Botón de WhatsApp */
.producto-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 15px 0;
    width: 50%;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Rajdhani', sans-serif;
}

.producto-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* Mission Content */
.mission-content {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.mission-content.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ---------------------Product Card----------------------------------- */

/* Footer */

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 15, 35, 0.95);
    border-top: 1px solid rgba(247, 245, 252, 0.3);
    padding: 60px 50px 40px;
    position: relative;
    z-index: 2;
    color: white;
}

.piefooter a {
    text-decoration: none;
    color: white;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}



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

@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .logo-svg {
        width: 35px;
        height: 35px;
    }

    .nav-container {
        position: relative;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 15, 35, 0.98);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin-top: 15px;
    }

    .nav-menu.active {
        max-height: 400px;
        border-top: 1px solid rgba(139, 92, 246, 0.3);
        box-shadow: 0 15px 40px rgba(15, 15, 35, 0.9);
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 25px;
    }

    nav ul li {
        padding: 15px 0;
        border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    .cosmic-title {
        font-size: 2.0rem;
        letter-spacing: 3px;
    }

    .logo-perfil {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        border: 4px solid white;
        background-color: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        overflow: hidden;
    }

    .hero {
        margin-top: 70px;
    }

    .subtitle {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    section {
        padding: 90px 20px;
    }

    .about-section {
        padding: 40px 30px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .sticky-tabs-container {
        top: 70px;
        padding: 15px 0;
    }

    .mission-tabs-scroll-container {
        padding: 0 15px;
    }

    .scroll-indicator {
        display: none;
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .mission-tab {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    .sticky-tabs-container.scrolled {
        padding: 10px 0;
    }

    .mission-tabs {
        flex-direction: column;
        align-items: center;
    }

    .mission-tab {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .mission-grid {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 20px;
        width: 100%;
    }

    .missions-container {
        width: 95%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 10px;
    }

    .product-image {
        width: 100%;
        margin: 0;
    }

    .mission-content {
        width: 100%;
    }

    .product-image img {
        width: 100%;
        height: auto;
    }

    .mission-card.product-card {
        width: 100%;
        margin: 0;
        padding: 20px 15px;
    }

    .section-title {
        font-size: 2.0rem;
        letter-spacing: 2px;
    }

    .contact-form {
        padding: 30px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 14px;
        padding: 15px;
    }

    .launch-btn {
        font-size: 14px;
        padding: 15px 35px;
    }

    .social-links a {
        width: 40px;
        height: 40px;
    }

    .footer-bottom {
        font-size: 0.85rem;
    }

    .catalogo-titulo {
        font-size: 2rem;
    }

    .categoria-titulo {
        font-size: 1.5rem;
    }

    .productos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .categorias-navegacion {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .categorias-navegacion::-webkit-scrollbar {
        display: none;
    }

    .categoria-link {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 0.5rem 1rem;
    }

    .categoria-link {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .catalogo-section {
        padding: 40px 20px;
    }

    .catalogo-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .catalogo-hero h3 {
        font-size: 2rem;
    }

    .catalogo-description {
        font-size: 1.1rem;
    }

    .producto-info {
        padding: 20px;
    }

    .modal-contenido {
        max-width: 95%;
        max-height: 70%;
    }

    .cerrar-modal {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }

    .mapframe iframe {
        height: 450px;
        width: auto;
    }
      .redes-sociales-sticky {
         position: fixed;
         bottom: 0;
         top: auto;
         left: 0;
         right: 0;
         transform: none;
         padding: 10px;

     }

     .redes-sociales-container {
         flex-direction: row;
         justify-content: center;
         border-radius: 25px;
         padding: 12px 20px;
         margin: 0 auto;
         max-width: 400px;
     }

     .red-social-link {
         width: 40px;
         height: 40px;
     }

     .red-social-link:hover {
         transform: translateY(-5px) scale(1.1);
     }

     /* Ocultar tooltip en móvil */
     .red-social-link::after {
         display: none;
     }

}