/* Variables de colores */
:root {
    --color-crema: #F1E7D5;
    --color-verde-claro: #9EB488;
    --color-naranja: #E56B4B;
    --color-verde-oscuro: #314D44;
    --color-blanco: #FFFFFF;
    --color-texto: #333333;
    --color-gris-claro: #f8f8f8;
}

/* Reset y estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--color-texto);
    background-color: var(--color-blanco);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.italic {
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ========================================
   LOADING SCREEN
   ======================================== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-blanco);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Modern spinner with dual rings */
.loading-spinner {
    position: relative;
    width: 60px;
    height: 60px;
}

.loading-spinner::before,
.loading-spinner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}

/* Outer ring */
.loading-spinner::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--color-verde-oscuro);
    border-right-color: var(--color-verde-oscuro);
    animation: spinOuter 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

/* Inner ring */
.loading-spinner::after {
    top: 8px;
    left: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    border: 3px solid transparent;
    border-top-color: var(--color-naranja);
    border-left-color: var(--color-naranja);
    animation: spinInner 0.8s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

@keyframes spinOuter {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinInner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

/* Header con altura fija */
header {
    background-color: var(--color-blanco);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 0;
    height: 90px;
    transition: all 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Estilos mejorados para el logo */
.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    height: 100%;
}

.logo img {
    height: 110px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: pointer;
    margin-top: 10px;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.85rem;
    color: var(--color-naranja);
    margin: 0;
    padding-left: 5px;
    line-height: 1;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: var(--color-verde-oscuro);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem;
}

nav ul li a:hover {
    color: var(--color-naranja);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-naranja);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--color-verde-oscuro);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section - MEJORADO */
.hero {
    position: relative;
    overflow: hidden;
    background: #314d44;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-blanco);
    margin-top: 70px;
    padding: 0 20px;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-video-fade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 2.5;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    width: 100%;
    padding: 0 20px;
}

.hero.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 4;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    margin-left: auto;
    margin-right: auto;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    background-color: var(--color-naranja);
    color: var(--color-blanco);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--color-naranja);
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.btn:hover {
    background-color: transparent;
    color: var(--color-naranja);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ========================================
   SECCIÓN PRODUCTOS - ADAPTADA PARA IMÁGENES CON FONDO
   ======================================== */
.productos {
    padding: 5rem 0;
    background-color: var(--color-gris-claro);
}

.productos h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-verde-oscuro);
    font-size: 2.5rem;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.producto {
    background-color: var(--color-blanco);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.producto:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* NUEVO: Contenedor de imagen adaptado para fotos con fondo */
.producto-img {
    height: 350px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--color-crema) 0%, rgba(241, 231, 213, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.producto-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.5s;
}

.producto:hover .producto-img img {
    transform: scale(1.05);
}

.producto-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--color-naranja);
    color: var(--color-blanco);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.producto-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.producto-info h3 {
    color: var(--color-verde-oscuro);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.producto-desc {
    color: #666;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 1;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.producto-detalles {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 12px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.precio {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-naranja);
    position: relative;
}

.btn-producto {
    background-color: var(--color-verde-claro);
    color: var(--color-blanco);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin-top: auto;
}

.btn-producto:hover {
    background-color: var(--color-verde-oscuro);
    transform: translateY(-2px);
}

/* Sección Nosotros */
.nosotros {
    padding: 5rem 0;
}

.nosotros-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.nosotros-text {
    flex: 1;
}

.nosotros-text h2 {
    color: var(--color-verde-oscuro);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.nosotros-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.nosotros-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-naranja);
    font-family: 'Playfair Display', serif;
}

.stat-text {
    font-size: 0.9rem;
    color: #666;
}

.nosotros-img {
    flex: 1;
    width: 100%;
    max-width: 550px;
    height: 450px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
}

.nosotros-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    transition: opacity 0.5s ease-in-out;
}

.nosotros-img img.loaded {
    animation: fadeInImage 0.6s ease-out;
}

/* ========================================
   QUIZ CTA SECTION - ENGAGING y PROFESIONAL
   ======================================== */
.quiz-cta {
    padding: 4rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../blog/hero-belleza-desktop.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.quiz-cta .container {
    margin-top: -8rem;
}

.quiz-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.653);
    z-index: 1;
}

.quiz-cta::after {
    content: none;
}



.quiz-cta-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0;
    background: transparent;
}

.quiz-cta-content>* {
    position: relative;
    z-index: 1;
}

.quiz-cta-icon {
    font-size: 5rem;
    color: var(--color-blanco);
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }

    50% {
        transform: scale(1.1) rotate(5deg);
        opacity: 0.8;
    }
}

.quiz-cta-content h2 {
    font-size: 3.5rem;
    color: var(--color-blanco);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.quiz-cta-subtitle {
    font-size: 1.8rem;
    color: var(--color-crema);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.quiz-cta-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.btn-quiz-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: var(--color-blanco);
    color: var(--color-verde-oscuro);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-quiz-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    background: var(--color-crema);
}

.btn-quiz-cta i {
    transition: transform 0.3s ease;
}

.btn-quiz-cta:hover i {
    transform: translateX(5px);
}

/* Responsive Quiz CTA */
@media (max-width: 768px) {
    .quiz-cta {
        background-attachment: scroll;
        background-position: center;
        background-size: cover;
        padding: 4rem 1rem;
        min-height: 60vh;
    }

    .quiz-cta::before {
        background: rgba(0, 0, 0, 0.393);
        will-change: opacity;
    }

    .quiz-cta .container {
        margin-top: -5rem;
    }

    .quiz-cta-content {
        padding: 0;
        max-width: 100%;
    }

    .quiz-cta-icon {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }

    .quiz-cta-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .quiz-cta-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .quiz-cta-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        max-width: 90%;
    }

    .btn-quiz-cta {
        padding: 1rem 1.3rem;
        font-size: 0.9rem;
        width: auto;
    }
}

/* Footer */
footer {
    background-color: var(--color-verde-oscuro);
    color: var(--color-blanco);
    padding: 4rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--color-crema);
}

.footer-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--color-blanco);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--color-naranja);
}

.social-links {
    display: flex;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--color-blanco);
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background-color: var(--color-naranja);
    transform: translateY(-3px);
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-info i {
    margin-right: 10px;
    color: var(--color-naranja);
    width: 20px;
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: 'Montserrat', sans-serif;
}

.newsletter-form button {
    background-color: var(--color-naranja);
    color: var(--color-blanco);
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: #d45a3a;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.852);
    text-decoration: none;
}

/* ========================================
   MODAL - ADAPTADO PARA IMÁGENES CON FONDO
   ======================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.modal-content {
    background-color: var(--color-blanco);
    margin: 3% auto;
    border-radius: 15px;
    width: 100%;
    max-width: 900px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.4s;
    overflow: hidden;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-verde-oscuro);
    transition: all 0.3s;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.close-modal:hover {
    color: var(--color-naranja);
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 1);
}

.modal-body {
    padding: 0;
}

.modal-producto {
    display: flex;
    flex-direction: column;
}

.modal-producto-header {
    background: linear-gradient(135deg, var(--color-verde-oscuro), var(--color-verde-claro));
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.modal-producto-header h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: white;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.precio-modal {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-crema);
}

.modal-producto-content {
    display: flex;
    flex-wrap: wrap;
}

.modal-producto-img {
    flex: 1;
    min-width: 300px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.modal-producto-img img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.modal-producto-info {
    flex: 2;
    min-width: 0;
    padding: 2rem;
    max-height: 450px;
    overflow-y: auto;
}

.modal-producto-info::-webkit-scrollbar {
    width: 6px;
}
.modal-producto-info::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 10px;
}
.modal-producto-info::-webkit-scrollbar-thumb {
    background: var(--color-verde-claro); 
    border-radius: 10px;
}

.modal-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #555;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.modal-section p {
    word-break: break-word;
    overflow-wrap: anywhere;
}

.modal-details {
    margin-bottom: 2rem;
}

.modal-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

.modal-section:last-child {
    border-bottom: none;
}

.modal-section h3 {
    color: var(--color-verde-oscuro);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

.modal-section h3 i {
    margin-right: 10px;
    color: var(--color-naranja);
}

.modal-section ul {
    list-style: none;
    padding-left: 0;
}

.modal-section ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.modal-section ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-verde-claro);
    font-weight: bold;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-comprar,
.btn-whatsapp {
    flex: 1;
    min-width: 200px;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-comprar {
    background-color: var(--color-naranja);
    color: white;
}

.btn-comprar:hover {
    background-color: #d45a3a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(229, 107, 75, 0.3);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Estilos adicionales para el modal */
.producto-tipo-badge {
    display: inline-block;
    background: var(--color-verde-claro, #9EB488);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: capitalize;
}

.precio-section {
    border-top: 2px solid #eee;
    padding-top: 1rem;
}

.precio-grande {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-naranja);
}

/* Animaciones */
@keyframes fadeInImage {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Preload de imágenes */
body::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    z-index: -1;
    background-image:
        url('../img/inicio/nosotros.jpeg'),
        url('../img/inicio/nosotros2.png'),
        url('../img/inicio/nosotros3.jpeg'),
        url('../img/inicio/nosotros4.png'),
        url('../img/inicio/nosotros5.png'),
        url('../img/inicio/nosotros6.png'),
        url('../img/inicio/nosotros7.png'),
        url('../img/inicio/nosotros8.png'),
        url('../img/inicio/nosotros9.png'),
        url('../img/inicio/nosotros10.png'),
        url('../img/inicio/nosotros11.png'),
        url('../img/inicio/fondo.mp4'),
        url('../img/inicio/fondo1.mp4');
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    header {
        height: 85px;
    }

    .logo img {
        height: 105px;
        max-width: 220px;
    }

    .logo p {
        font-size: 0.8rem;
    }

    .hero-content h2 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.2rem;
        max-width: 550px;
    }
}

@media (max-width: 768px) {
    header {
        height: 105px;
    }

    .nosotros-img {
        max-width: 100%;
        height: 350px;
    }

    .hero {
        height: 85vh;
        padding: 0 15px;
    }

    .hero-video {
        object-position: center;
    }

    header .container {
        padding: 0 1rem;
    }

    .logo {
        align-items: center;
    }

    .logo img {
        height: 95px;
        max-width: 180px;
    }

    .logo p {
        font-size: 0.75rem;
        text-align: center;
        padding-left: 0;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-blanco);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 1rem 0 0 0;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 0;
        text-align: center;
        padding: 1rem 1rem 1rem 1rem;
        border-bottom: 1px solid #eee;
    }

    nav ul li:last-child {
        padding-bottom: 1rem;
        border-bottom: none;
    }

    nav ul li a {
        display: block;
        position: relative;
    }

    nav ul li a::after {
        margin-left: -5lvh;
        bottom: -1rem;
        left: 0;
        height: 1px;
    }

    nav ul li a:hover::after,
    nav ul li a.active::after {
        margin-left: -5lvh;
        width: 150%;
    }

    .mobile-menu {
        display: flex;
    }

    .hero-content {
        padding: 0 15px;
    }

    .hero-content h2 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 1.2rem;
    }

    .hero-content p {
        font-size: 1.05rem;
        max-width: 500px;
        margin-bottom: 2rem;
        line-height: 1.5;
    }

    .nosotros-content {
        flex-direction: column;
    }

    .nosotros-text h2 {
        text-align: center;
    }

    .nosotros-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .productos-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .producto-img {
        height: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-section {
        background: rgba(255, 255, 255, 0.05);
        padding: 1.5rem;
        border-radius: 15px;
        border-left: 3px solid var(--color-naranja);
    }

    .footer-section h3,
    .footer-section h4 {
        margin-bottom: 1.2rem;
        font-size: 1.4rem;
        color: white;
    }

    .footer-section p {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .footer-section ul {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }

    .footer-section ul li a {
        display: block;
        padding: 0.5rem;
        border-radius: 8px;
        transition: all 0.3s;
    }

    .footer-section ul li a:hover {
        background: rgba(255, 255, 255, 0.1);
        padding-left: 1rem;
    }

    .social-links {
        justify-content: flex-start;
        gap: 10px;
        margin-top: 1.2rem;
        flex-wrap: wrap;
    }

    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .contact-info p {
        background: rgba(255, 255, 255, 0.05);
        padding: 0.8rem;
        border-radius: 8px;
        margin-bottom: 0.8rem;
        font-size: 0.95rem;
    }

    .contact-info i {
        width: 25px;
        font-size: 1.1rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 1.2rem;
    }

    .newsletter-form input {
        border-radius: 8px;
        padding: 1rem;
        font-size: 0.95rem;
    }

    .newsletter-form button {
        border-radius: 8px;
        padding: 1rem;
        font-size: 1rem;
        font-weight: 600;
    }

    .footer-bottom {
        padding: 2rem 1rem 1rem;
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .modal-producto-content {
        flex-direction: column;
    }

    .modal-producto-img,
    .modal-producto-info {
        min-width: 100%;
    }

    .modal-producto-img {
        padding: 2rem;
    }

    .modal-producto-img img {
        max-height: 350px;
    }

    .modal-actions {
        flex-direction: column;
    }

    .btn-comprar,
    .btn-whatsapp {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    header {
        height: 90px;
    }

    .nosotros-img {
        height: 280px;
    }

    .logo img {
        height: 95px;
        max-width: 150px;
        margin-right: 5lvh;
    }

    .logo p {
        font-size: 0.7rem;
    }

    .hero {
        height: 80vh;
        padding: 0 10px;
    }

    .hero-content {
        padding: 0 10px;
    }

    .hero-content h2 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 0.95rem;
        max-width: 100%;
        margin-bottom: 1.8rem;
        line-height: 1.5;
    }

    .btn {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }

    .producto-img {
        height: 280px;
    }
}
