/* ============================================
   INDEX.CSS - PÁGINA PRINCIPAL RESPONSIVE
   Paleta de colores: #203E79, #D4B896, grises
============================================ */

/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta Principal */
    --primary-blue: #203E79;
    --secondary-blue: #4A6FA5;
    --accent-gold: #D4B896;
    
    /* Grises */
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --medium-gray: #CCCCCC;
    --dark-gray: #666666;
    --darker-gray: #333333;
    
    /* Gradientes */
    --blue-gradient: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    --gray-gradient: linear-gradient(135deg, var(--light-gray), var(--medium-gray));
}

/* Tipografía Base */
body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: var(--darker-gray);
    background-color: var(--white);
    overflow-x: hidden; /* Prevenir scroll horizontal */
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem); /* Responsive */
    font-weight: bold;
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem); /* Responsive */
    font-weight: 600;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem); /* Responsive */
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--dark-gray);
    font-size: clamp(0.9rem, 2.5vw, 1rem); /* Responsive */
}

/* Botones - Responsive */
.btn-primary, .btn-secondary, .btn-cta, .product-btn {
    display: inline-block;
    padding: clamp(0.6rem, 2vw, 0.8rem) clamp(1.5rem, 4vw, 2rem);
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: clamp(0.85rem, 2.2vw, 1rem);
    text-align: center;
    min-width: 120px;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(32, 62, 121, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-cta {
    background: var(--accent-gold);
    color: var(--primary-blue);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    padding: clamp(0.8rem, 3vw, 1rem) clamp(2rem, 5vw, 2.5rem);
}

.btn-cta:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 184, 150, 0.4);
}

.product-btn {
    background: var(--dark-gray);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.product-btn:hover {
    background: var(--primary-blue);
}

/* ============================================
   HEADER - RESPONSIVE
============================================ */
header {
    background: var(--primary-blue);
    color: var(--white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(1.2rem, 3.5vw, 1.8rem);
    font-weight: bold;
    color: var(--accent-gold);
}

.logo img {
    height: clamp(30px, 8vw, 40px);
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: clamp(1rem, 3vw, 2rem);
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: clamp(0.85rem, 2.2vw, 1rem);
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.nav-links a.contact-btn {
    background: var(--accent-gold);
    color: var(--primary-blue);
    padding: clamp(0.4rem, 1.5vw, 0.6rem) clamp(0.8rem, 2.5vw, 1.2rem);
    border-radius: 5px;
    font-weight: bold;
    border: 2px solid var(--accent-gold);
}

.nav-links a.contact-btn:hover {
    background: transparent;
    color: var(--accent-gold);
}

/* Menu móvil mejorado */
.mobile-menu {
    display: none; /* Oculto por defecto en desktop */
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

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

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

/* ============================================
   MAIN CONTENT
============================================ */
main {
    margin-top: 0;
}

/* Hero Section - Totalmente Responsive */
.hero {
    background: linear-gradient(rgba(32,62,121,0.7), rgba(32,62,121,0.7)), url('../images/hero/soluciones-almacenaje-muebles-mycs-polonia.1.0.avif') center center/cover no-repeat;
    padding: clamp(4rem, 10vw, 6rem) clamp(1rem, 4vw, 2rem) clamp(3rem, 8vw, 5rem);
    padding-top: calc(clamp(4rem, 10vw, 6rem) + clamp(60px, 15vw, 80px));
    min-height: clamp(70vh, 80vh, 80vh);
    display: flex;
    align-items: center;
    position: relative;
    margin-top: -1px;
}

.hero-content {
    max-width: min(90vw, 700px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    z-index: 2;
    width: 100%;
}

.hero-text {
    background: rgba(255,255,255,0.95);
    padding: clamp(1.5rem, 5vw, 3rem);
    border-radius: clamp(10px, 3vw, 20px);
    box-shadow: 0 8px 32px rgba(32,62,121,0.15);
    width: 100%;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-text h1 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: clamp(1rem, 3vw, 1.3rem);
    margin-bottom: 2.5rem;
    color: var(--dark-gray);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: clamp(0.5rem, 2vw, 1rem);
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

/* Services Section - Responsive */
.services {
    padding: clamp(3rem, 8vw, 4rem) clamp(1rem, 4vw, 2rem);
    background: var(--white);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.services-container h2 {
    margin-bottom: 0.5rem;
}

.services-container > p {
    color: var(--dark-gray);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: clamp(1rem, 4vw, 2rem);
}

.service-item {
    background: var(--light-gray);
    padding: clamp(1.5rem, 4vw, 2rem);
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.service-item:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(32, 62, 121, 0.2);
    border-color: var(--accent-gold);
}

.service-item:hover h3,
.service-item:hover p {
    color: var(--white);
}

.service-icon {
    width: clamp(60px, 15vw, 80px);
    height: clamp(60px, 15vw, 80px);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.service-icon img {
    width: clamp(40px, 10vw, 50px);
    height: clamp(40px, 10vw, 50px);
}

/* ============================================
   PRODUCTS CAROUSEL - RESPONSIVE MEJORADO
   2 imágenes en móvil, 4 en desktop
============================================ */
.products-carousel {
    padding: clamp(2rem, 5vw, 3rem) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.products-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-gold), var(--primary-blue));
}

.carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    position: relative;
}

.carousel-container h2 {
    text-align: center;
    margin-bottom: clamp(2rem, 6vw, 3rem);
    color: var(--primary-blue);
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    position: relative;
}

.carousel-container h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-gold));
    border-radius: 2px;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: var(--white);
    margin: 0 auto;
    max-width: 1200px;
    padding: 0;
}

.carousel-slides {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* GRID RESPONSIVE MEJORADO */
.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    display: grid;
    gap: clamp(0.8rem, 3vw, 1.5rem);
    padding: clamp(0.5rem, 2vw, 1rem);
    align-items: stretch;
}

/* MÓVIL: 2 productos por fila */
@media (max-width: 768px) {
    .carousel-slide {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* MÓVIL PEQUEÑO: 1 producto por fila */
@media (max-width: 480px) {
    .carousel-slide {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

/* TABLET: 3 productos por fila */
@media (min-width: 769px) and (max-width: 1024px) {
    .carousel-slide {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
}

/* DESKTOP: 4 productos por fila */
@media (min-width: 1025px) {
    .carousel-slide {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

/* Product Cards mejoradas */
.product-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(32, 62, 121, 0.05), rgba(212, 184, 150, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

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

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(32, 62, 121, 0.15);
    border-color: var(--accent-gold);
}

.product-image {
    width: 100%;
    height: 140px;
    margin-bottom: 0.8rem;
    border-radius: 8px;
    overflow: hidden;
    background: var(--light-gray);
    position: relative;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Contenido de las tarjetas bien distribuido */
.product-card h3 {
    font-size: 1rem;
    margin-bottom: 0.6rem;
    color: var(--primary-blue);
    font-weight: 600;
    line-height: 1.3;
    flex-shrink: 0;
}

.product-card p {
    font-size: 0.85rem;
    color: var(--dark-gray);
    line-height: 1.4;
    margin-bottom: 1rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-btn {
    margin-top: auto;
    flex-shrink: 0;
    width: 100%;
    justify-self: flex-end;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
}

/* Loading state para imágenes */
.product-image img.loading {
    opacity: 0.6;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

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

.product-image img.loaded {
    opacity: 1;
}

/* Botones del carousel eliminados - Solo swipe ahora */

/* CTA Section - Responsive */
.cta-section {
    padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem);
    background: var(--blue-gradient);
    color: var(--white);
    text-align: center;
}

.cta-container h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-container p {
    color: var(--white);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ============================================
   FAQ SECTION - ARREGLADO Y RESPONSIVE
============================================ */
.faq {
    padding: clamp(3rem, 8vw, 4rem) clamp(1rem, 4vw, 2rem);
    background: var(--white);
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 6vw, 3rem);
    align-items: start;
}

@media (min-width: 1025px) {
    .faq-container {
        grid-template-columns: 2fr 1fr;
        gap: 4rem;
    }
}

.faq-content h2 {
    margin-bottom: 2rem;
    color: var(--primary-blue);
}

/* FAQ Items ARREGLADOS */
.faq-item {
    border-bottom: 2px solid var(--light-gray);
    padding: clamp(1rem, 3vw, 1.5rem) 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

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

.faq-item:hover {
    border-color: var(--accent-gold);
    background: rgba(212, 184, 150, 0.05);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-radius: 8px;
}

.faq-item.active {
    border-color: var(--primary-blue);
    background: rgba(32, 62, 121, 0.05);
    border-radius: 8px;
    padding-left: 1rem;
    padding-right: 1rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-weight: bold;
    color: var(--primary-blue);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    margin-bottom: 0;
    gap: 1rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.faq-item:hover .faq-question {
    color: var(--secondary-blue);
}

.faq-toggle {
    font-size: clamp(1.8rem, 4vw, 2rem);
    font-weight: bold;
    color: var(--accent-gold);
    transition: all 0.3s ease;
    background: var(--light-gray);
    width: clamp(35px, 8vw, 40px);
    height: clamp(35px, 8vw, 40px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
    cursor: pointer;
    border: 2px solid transparent;
}

.faq-item:hover .faq-toggle {
    background: var(--accent-gold);
    color: var(--white);
    transform: scale(1.1);
    border-color: var(--primary-blue);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--accent-gold);
}

/* FAQ Answer ARREGLADO COMPLETAMENTE */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: var(--dark-gray);
    padding: 0;
    opacity: 0;
    font-size: clamp(0.9rem, 2.2vw, 1rem);
    line-height: 1.6;
    margin-top: 0;
    transform: translateY(-10px);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1rem 0 0.5rem 0;
    opacity: 1;
    border-left: 3px solid var(--accent-gold);
    padding-left: 1rem;
    margin-left: 0.5rem;
    transform: translateY(0);
}

/* FAQ Image responsive */
.faq-image {
    height: clamp(300px, 50vw, 450px);
    width: clamp(300px, 50vw, 450px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(32, 62, 121, 0.15);
    order: -1;
    position: relative;
    aspect-ratio: 1/1;
    margin: 0 auto;
}

.faq-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(32, 62, 121, 0.1), rgba(212, 184, 150, 0.1));
    z-index: 1;
    pointer-events: none;
}

.faq-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.faq-image:hover img {
    transform: scale(1.05);
}

@media (min-width: 1025px) {
    .faq-image {
        order: 0;
        height: 500px;
        width: 500px;
        aspect-ratio: 1/1;
    }
}

/* ============================================
   FOOTER
============================================ */
footer {
    background: #1D2638;
    color: var(--white);
    padding: clamp(2rem, 6vw, 3rem) 0 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 6vw, 3rem);
}

.footer-info h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.footer-info p {
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 1.5rem;
    font-size: clamp(0.9rem, 2.2vw, 1rem);
}

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

.social-links a {
    width: clamp(35px, 10vw, 40px);
    height: clamp(35px, 10vw, 40px);
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--white);
    transform: translateY(-3px);
}

.social-links img {
    width: clamp(18px, 5vw, 20px);
    height: clamp(18px, 5vw, 20px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: clamp(1rem, 4vw, 2rem);
    text-align: center;
}

.footer-column h4 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
    font-size: clamp(0.85rem, 2vw, 1rem);
}

.footer-column a:hover {
    color: var(--accent-gold);
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 2rem;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 4vw, 2rem);
    padding-right: clamp(1rem, 4vw, 2rem);
}

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

.footer-legal a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
}

/* ============================================
   WHATSAPP FLOAT
============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1000;
    animation: bounce 2s infinite;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    padding: clamp(0.8rem, 3vw, 1rem) clamp(1rem, 4vw, 1.5rem);
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    font-size: clamp(0.8rem, 2.2vw, 1rem);
}

.whatsapp-float a:hover {
    background: #1DAA50;
    transform: scale(1.05);
}

.whatsapp-float img {
    width: clamp(20px, 6vw, 24px);
    height: clamp(20px, 6vw, 24px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ============================================
   MÓVILES MEDIANOS (481px - 768px): 2 imágenes
============================================ */
@media (min-width: 481px) and (max-width: 768px) {
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    /* BOTÓN DE CONTACTO EN MÓVIL */
    .nav-links a.contact-btn {
        margin-top: 1rem;
        padding: 1rem 2rem;
        border-radius: 25px;
        background: var(--accent-gold);
        color: var(--primary-blue) !important;
        font-weight: bold;
        width: auto;
        border: 2px solid var(--accent-gold);
    }
    
    .nav-links a.contact-btn:hover {
        background: var(--white);
        color: var(--primary-blue) !important;
        border-color: var(--white);
    }
    
    /* MOSTRAR EL BOTÓN HAMBURGUESA EN MÓVIL */
    .mobile-menu {
        display: flex;
    }
    
    /* WhatsApp móvil */
    .whatsapp-float a span {
        display: none;
    }
    
    .whatsapp-float a {
        border-radius: 50%;
        padding: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 1.5rem 2rem;
        text-align: center;
    }
    
    /* Hero móvil */
    .hero {
        padding: 5rem 1rem 3rem;
        padding-top: calc(5rem + 70px);
        min-height: 70vh;
        text-align: center;
    }
    
    .hero-text {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-text h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Services móvil */
    .services {
        padding: 3rem 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-item {
        padding: 2rem 1.5rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon img {
        width: 45px;
        height: 45px;
    }
    
    /* FAQ móvil mejorado */
    .faq {
        padding: 3rem 1rem;
    }
    
    .faq-container {
        gap: 2rem;
    }
    
    .faq-content h2 {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .faq-item {
        padding: 1.2rem 0;
    }
    
    .faq-question {
        font-size: 1rem;
        line-height: 1.4;
        align-items: center;
    }
    
    .faq-toggle {
        width: 32px;
        height: 32px;
        font-size: 1.5rem;
    }
    
    .faq-answer {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .faq-item.active .faq-answer {
        max-height: 150px;
        padding-top: 1rem;
    }
    
    .faq-image {
        height: 200px;
        margin-bottom: 1rem;
        border-radius: 8px;
    }
}

/* ============================================
   MÓVILES EXTRA PEQUEÑOS
============================================ */
@media (max-width: 375px) {
    .logo {
        font-size: 1.1rem;
    }
    
    .logo img {
        height: 30px;
    }
    
    .hero {
        padding: 4rem 0.8rem 2.5rem;
        padding-top: calc(4rem + 65px);
    }
    
    .hero-text {
        padding: 1.5rem 1rem;
    }
    
    .hero-text h1 {
        font-size: 1.6rem;
    }
    
    .hero-text h2 {
        font-size: 1.2rem;
    }
    
    .hero-text p {
        font-size: 0.9rem;
    }
    
    .services,
    .products-carousel,
    .cta-section,
    .faq {
        padding: 2.5rem 0.8rem;
    }
    
    .carousel-container {
        padding: 0 2rem;
    }
    
    .carousel-slide {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .product-image {
        height: 160px;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .faq-question {
        font-size: 0.95rem;
    }
    
    .faq-toggle {
        width: 30px;
        height: 30px;
        font-size: 1.3rem;
    }
    
    .footer-content {
        padding: 0 0.8rem;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   DESKTOP GRANDE
============================================ */
@media (min-width: 1025px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        text-align: left;
        align-items: start;
        gap: clamp(2rem, 6vw, 4rem);
    }

    .footer-info {
        padding-right: 2rem;
    }

    .footer-links {
        text-align: left;
    }

    .social-links {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        padding-top: 1.5rem;
    }

    .footer-bottom p {
        margin: 0;
    }

    .footer-legal {
        justify-content: flex-end;
    }
}

/* ============================================
   ANIMACIONES Y EFECTOS
============================================ */
.carousel-slide.active .product-card {
    animation: slideInUp 0.6s ease forwards;
}

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

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

/* ============================================
   SMOOTH SCROLLING Y SCROLLBAR
============================================ */
html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-blue);
}

/* ============================================
   REDUCCIÓN DE MOVIMIENTO
============================================ */
@media (prefers-reduced-motion: reduce) {
    .carousel-slides {
        transition: none;
    }
    
    .product-card {
        transition: none;
    }
    
    .product-image img {
        transition: none;
    }
    
    .carousel-nav {
        transition: none;
    }
    
    .faq-answer {
        transition: none;
    }
    
    .faq-toggle {
        transition: none;
    }
    
    .product-card:hover {
        transform: none;
    }
    
    .carousel-nav:hover {
        transform: translateY(-50%);
    }
    
    .carousel-slide.active .product-card {
        animation: none;
    }
    
    .faq-item {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .whatsapp-float {
        animation: none;
    }
}

/* ============================================
   OVERLAY PARA MENÚ MÓVIL
============================================ */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* MENÚ MÓVIL - IMPLEMENTACIÓN ÚNICA Y CORRECTA */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        z-index: 999;
        padding: 2rem;
    }
    
    .nav-links.mobile-active {
        right: 0;
    }
    
    .nav-links a {
        padding: 1rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        width: 100%;
        text-align: center;
        color: var(--white);
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    .nav-links a.contact-btn {
        margin-top: 1rem;
        padding: 1rem 2rem;
        border-radius: 25px;
        background: var(--accent-gold);
        color: var(--primary-blue) !important;
        font-weight: bold;
        width: auto;
        border: 2px solid var(--accent-gold);
    }
    
    .nav-links a.contact-btn:hover {
        background: var(--white);
        color: var(--primary-blue) !important;
        border-color: var(--white);
    }
    
    .mobile-menu {
        display: flex;
        z-index: 1000;
    }
}   