/* ========================================
   RESET Y VARIABLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1C3A4E;        /* Azul oscuro */
    --secondary-color: #C1272D;      /* Rojo vibrante */
    --accent-color: #F7A600;         /* Amarillo cálido */
    --green-color: #009E5E;          /* Verde crecimiento */
    --orange-color: #F26522;         /* Naranja unión */
    --text-dark: #3E3E3E;            /* Gris oscuro */
    --text-light: #666;
    --bg-light: #F4F4F4;             /* Gris claro */
    --white: #FFFFFF;
    --border-color: #e0e0e0;
    --footer-bg: #1C3A4E;            /* Azul oscuro para footer */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    font-size: 15px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.intro-video-wrapper {
    position: relative;
    width: min(960px, 100%);
    aspect-ratio: 16/9; /* Mantiene proporción 16:9 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-video {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

/* Para que el iframe se vea bien */
iframe.intro-video {
    background: #000;
}
/* Intro Video Overlay */
.intro-video-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 20px;
}

.intro-video-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.intro-video-wrapper {
    position: relative;
    width: min(960px, 100%);
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-video {
    width: 100%;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    background: #000;
}

.intro-skip-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.intro-skip-btn:hover,
.intro-skip-btn:focus {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-1px);
    outline: none;
}

.intro-skip-btn:active {
    transform: translateY(1px);
}

body.intro-locked {
    overflow: hidden;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
    background-color: var(--white);
    border-bottom: 2px solid var(--primary-color);
    padding: 20px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.logo-text p {
    font-size: 12px;
    color: var(--text-light);
}

.header-info {
    display: flex;
    align-items: center;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-dark);
}

.info-item i {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* ========================================
   NAVIGATION
   ======================================== */
.main-nav {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-menu {
    display: flex;
    list-style: none;
    justify-content: space-around;
    align-items: center;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    flex: 1;
}

.nav-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 12px;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: var(--secondary-color);
    border-bottom-color: var(--accent-color);
}

.nav-menu a i {
    font-size: 15px;
}

.tienda-link a {
    background-color: var(--accent-color);
    font-weight: 600;
}

.tienda-link a:hover {
    background-color: #e67e22;
}

/* Botón hamburguesa (móvil) */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Animación hamburguesa → X */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========================================
   MAIN CONTENT
   ======================================== */
.main-content {
    min-height: 60vh;
    padding: 40px 0;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--white);
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col h3,
.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 18px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.footer-col p {
    color: #ccc;
    font-size: 14px;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-col ul.contact-info li {
    display: flex;
    gap: 10px;
    color: #ccc;
    font-size: 14px;
}

.footer-col ul.contact-info i {
    color: var(--accent-color);
    width: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.btn-reclamaciones {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-reclamaciones:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-reclamaciones i {
    margin-right: 8px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.footer-bottom a {
    color: var(--accent-color);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* ==========================================
   CARRITO FLOTANTE
   ========================================== */
.carrito-flotante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
    z-index: 999;
    transition: all 0.3s ease;
}

.carrito-flotante:hover {
    transform: scale(1.1);
    background: #e69500;
}

.carrito-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .nav-menu {
        flex-direction: column;
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        justify-content: flex-start;
        padding: 15px 20px;
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 15px;
    }
}

@media (max-width: 768px) {
    .header-info {
        flex-direction: column;
        gap: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .carrito-flotante {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .logo-text h1 {
        font-size: 22px;
    }

    .nav-menu a {
        font-size: 14px;
        padding: 12px 15px;
    }
}
