@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;1,400&display=swap');

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

/* --- SEGURIDAD MOBILE --- */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #111111;
    -webkit-font-smoothing: antialiased;
}

/* --- HEADER Y NAVEGACIÓN FLEXIBLE --- */
header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 15px 40px;
    width: 100%;
}

header .logo img {
    height: 45px;
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 16px;
}

nav ul li a, 
nav ul li button {
    color: #111111;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 4px;
    transition: color 0.3s ease;
}

nav ul li a:hover, 
nav ul li button:hover {
    color: #777777;
    background-color: transparent;
}

/* --- HERO BANNER PREMIUM --- */
.hero {
    position: relative;
    width: 100%;
    height: 75vh;
    overflow: hidden;
    background-color: #000000; 
    background-image: url('images/hero-fallback.jpg');
    background-size: cover;
    background-position: center;
    margin-bottom: 20px; 
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    letter-spacing: 6px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 400;
}

.hero-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 35px;
    font-weight: 300;
}

.btn {
    background-color: #ffffff;
    color: #111111;
    padding: 14px 45px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0px;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.btn:hover {
    background-color: #111111;
    color: #ffffff;
}

/* --- SECCIÓN PRODUCTOS DESTACADOS --- */
.features {
    padding: 80px 40px;
    text-align: center;
    max-width: 1300px;
    margin: 0 auto;
}

.features h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 50px;
    color: #111111;
    text-transform: uppercase;
}

/* --- NUEVA LÓGICA PRODUCTOS DESTACADOS --- */
#lista-productos-destacados {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    list-style: none;
    padding: 20px;
}

#lista-productos-destacados li {
    width: 300px;
    text-align: center;
    list-style: none;
    margin-bottom: 20px;
}

#lista-productos-destacados img, 
#lista-productos-destacados video {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: block;
}

.features ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 0;
}

.features ul li {
    background: #ffffff;
    padding: 15px;
    margin: 0;
    border-radius: 0px;
    box-shadow: none;
    border: 1px solid transparent;
    text-align: center;
    cursor: pointer;
    transition: box-shadow 0.4s ease;
    min-width: 0; 
    width: 100%;
}

.features ul li:hover {
    transform: none;
    box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}

/* --- CONFIGURACIÓN CARRUSEL SWIPER --- */
.swiper {
    width: 100%;
    background-color: #fcfcfc;
    border: 1px solid #f0f0f0;
}

.mySwiper img {
    width: 100%;
    height: 320px;
    object-fit: contain;
    padding: 30px;
    margin: 0 auto;
    display: block;
}

.features ul li h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin: 25px 0 6px 0;
    color: #111111;
}

.product-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    color: #777777;
    text-transform: uppercase;
}

.swiper-button-next,
.swiper-button-prev {
    color: #111111 !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    width: 35px !important;
    height: 35px !important;
    border-radius: 0% !important;
    padding: 0px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 14px !important;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: #111111 !important;
    color: #ffffff !important;
}

.swiper-pagination-bullet-active {
    background: #111111 !important;
}

/* --- FOOTER LUXURY --- */
footer {
    background-color: #f9f9f9;
    color: #111111;
    padding: 60px 40px 20px 40px;
    border-top: 1px solid #e5e5e5;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    flex-wrap: wrap;
    gap: 30px;
}

footer h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.social-icons {
    list-style: none;
    padding: 0;
}

.social-icons li {
    margin-bottom: 12px;
}

.social-icons li a {
    text-decoration: none;
    color: #555555;
    font-size: 13px;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.social-icons li a:hover {
    color: #111111;
}

.social-icons li img {
    width: 18px;
    margin-right: 12px;
    filter: grayscale(100%);
}

.contact-info a {
    color: #555555;
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #111111;
}

.contact-info img {
    width: 18px;
    margin-right: 12px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
    font-size: 11px;
    color: #888888;
    letter-spacing: 0.5px;
}

.footer-bottom a {
    color: #666666;
    text-decoration: none;
}

/* --- BANNER DE COOKIES --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #111111;
    color: #ffffff;
    padding: 15px 30px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.cookie-banner a {
    color: #ffffff;
    text-decoration: underline;
}

.cookie-banner button {
    background-color: #ffffff;
    color: #111111;
    border: none;
    padding: 8px 20px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    transition: background-color 0.3s;
}

.cookie-banner button:hover {
    background-color: #cccccc;
}

/* --- RESPONSIVE / MOBILE --- */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 15px 10px;
        gap: 15px;
        width: 100%;
    }

    nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    nav ul li {
        margin: 4px 8px;
    }

    nav ul li a, 
    nav ul li button {
        font-size: 11px;
        letter-spacing: 1px;
        padding: 6px 4px;
    }

    .hero {
        height: 60vh;
        margin-bottom: 10px; 
    }

    .hero-content h1 {
        font-size: 32px;
        letter-spacing: 3px;
    }

    .features {
        padding: 50px 20px;
    }

    .features h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }

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

    .features ul li {
        width: 100%;
        min-width: 0;
    }

    .mySwiper img {
        width: 100%;
        height: 280px;
        padding: 20px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .social-icons li a, 
    .contact-info a {
        justify-content: center;
    }

    .cookie-banner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}