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

/* Variables CSS */
:root {
    --primary-blue: #203E79;
    --secondary-blue: #4A6FA5;
    --accent-gold: #D4B896;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --medium-gray: #CCCCCC;
    --dark-gray: #666666;
    --darker-gray: #333333;
}

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

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: var(--darker-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

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

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

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

/* ============================================
   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);
}

.nav-links a.active {
    color: var(--accent-gold);
    font-weight: bold;
}

/* Menu móvil */
.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.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 RESPONSIVE
============================================ */
main {
    margin-top: 0;
}

/* Page Headers Responsive */
.page-header {
    background: var(--primary-blue);
    color: #BCD0F7;
    padding: clamp(4rem, 10vw, 6rem) clamp(1rem, 4vw, 2rem) clamp(3rem, 8vw, 4rem);
    padding-top: calc(clamp(4rem, 10vw, 6rem) + clamp(60px, 15vw, 80px));
    text-align: center;
    margin-top: 0;
}

.page-header-content h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-header-content p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 2rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--accent-gold);
    text-decoration: none;
}

.breadcrumb span {
    color: var(--white);
}

/* ============================================
   FILTROS RESPONSIVE
============================================ */
.productos-filters {
    padding: clamp(1.5rem, 4vw, 2rem);
    background: var(--white);
    text-align: center;
}

.filters-container {
    max-width: 1200px;
    margin: 0 auto;
}

.filters-container h2 {
    color: var(--primary-blue);
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

.filter-buttons {
    display: flex;
    gap: clamp(0.5rem, 2vw, 1rem);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: clamp(1rem, 3vw, 2rem);
}

.filter-btn {
    background: var(--light-gray);
    border: 2px solid transparent;
    padding: clamp(0.6rem, 2vw, 0.8rem) clamp(1rem, 3vw, 1.5rem);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--darker-gray);
    font-family: inherit;
    font-size: clamp(0.8rem, 2.2vw, 1rem);
    white-space: nowrap;
    min-height: 44px; /* Touch target mínimo */
}

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

.filter-btn.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--accent-gold);
}

/* ============================================
   GRID DE PRODUCTOS RESPONSIVE
============================================ */
.productos-grid {
    padding: clamp(3rem, 8vw, 4rem) clamp(1rem, 4vw, 2rem);
    background: var(--light-gray);
}

.productos-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: clamp(1.5rem, 4vw, 2rem);
}

.producto-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: block;
}

.producto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.producto-image {
    position: relative;
    height: clamp(200px, 25vw, 250px);
    overflow: hidden;
}

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

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

.producto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(32, 62, 121, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.producto-card:hover .producto-overlay {
    opacity: 1;
}

.btn-ver-detalle {
    background: var(--accent-gold);
    color: var(--primary-blue);
    border: none;
    padding: clamp(0.6rem, 2vw, 0.8rem) clamp(1rem, 3vw, 1.5rem);
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: clamp(0.8rem, 2.2vw, 1rem);
    min-height: 44px;
}

.btn-ver-detalle:hover {
    background: var(--white);
    transform: scale(1.05);
}

.producto-info {
    padding: clamp(1.5rem, 4vw, 2rem);
}

.producto-info h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.producto-subtitle {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    margin-bottom: 0.5rem;
}

.producto-descripcion {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-size: clamp(0.85rem, 2.2vw, 0.95rem);
    line-height: 1.5;
}

.producto-specs {
    display: flex;
    gap: clamp(0.5rem, 2vw, 1rem);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.spec {
    background: var(--light-gray);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: clamp(0.7rem, 1.8vw, 0.8rem);
    color: var(--dark-gray);
}

.producto-buttons {
    display: flex;
    gap: clamp(0.5rem, 2vw, 1rem);
    flex-wrap: wrap;
}

.producto-buttons .btn-primary,
.producto-buttons .btn-secondary {
    flex: 1;
    text-align: center;
    min-width: 120px;
    padding: clamp(0.6rem, 2vw, 0.8rem) clamp(0.8rem, 2.5vw, 1rem);
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    border: none;
    text-decoration: none;
    display: inline-block;
    font-size: clamp(0.8rem, 2.2vw, 1rem);
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.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);
}

/* ============================================
   SERVICIOS ADICIONALES RESPONSIVE
============================================ */
.servicios-adicionales {
    padding: clamp(3rem, 8vw, 4rem) clamp(1rem, 4vw, 2rem);
    background: var(--white);
}

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

.servicios-container h2 {
    color: var(--primary-blue);
    margin-bottom: clamp(2rem, 6vw, 3rem);
}

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

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

.servicio-item:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(32, 62, 121, 0.2);
}

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

.servicio-icon {
    font-size: clamp(2.5rem, 6vw, 3rem);
    margin-bottom: 1rem;
}

.servicio-item h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.servicio-item p {
    color: var(--dark-gray);
    font-size: clamp(0.85rem, 2.2vw, 0.95rem);
}

/* ============================================
   MODAL CATÁLOGO RESPONSIVE
============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    overflow-y: auto;
}

.modal-content {
    background-color: var(--white);
    margin: clamp(2%, 5vw, 2%) auto;
    padding: 0;
    border-radius: 15px;
    width: clamp(90%, 95vw, 90%);
    max-width: 1200px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    background: var(--primary-blue);
    color: var(--white);
    padding: clamp(1rem, 3vw, 1.5rem) clamp(1.5rem, 4vw, 2rem);
    border-radius: 15px 15px 0 0;
    position: relative;
}

.modal-header h2 {
    color: var(--white);
    margin: 0;
    font-size: clamp(1.4rem, 3.5vw, 1.8rem);
}

.modal-header p {
    color: var(--white);
    opacity: 0.9;
    margin: 0.5rem 0 0 0;
    font-size: clamp(0.9rem, 2.2vw, 1rem);
}

.modal-close {
    position: absolute;
    top: clamp(0.8rem, 2vw, 1rem);
    right: clamp(1rem, 3vw, 1.5rem);
    font-size: clamp(1.5rem, 4vw, 2rem);
    cursor: pointer;
    color: var(--white);
    background: none;
    border: none;
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--accent-gold);
}

.modal-body {
    padding: clamp(1.5rem, 4vw, 2rem);
}

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

.variant-card {
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--white);
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 350px;
}

.variant-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 25px rgba(32, 62, 121, 0.15);
    transform: translateY(-3px);
}

.variant-image {
    height: clamp(150px, 20vw, 200px);
    background: var(--light-gray);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.variant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.variant-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-gold);
    color: var(--primary-blue);
    padding: clamp(0.3rem, 1vw, 0.5rem) clamp(0.6rem, 2vw, 1rem);
    border-radius: 20px;
    font-size: clamp(0.7rem, 1.8vw, 0.8rem);
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.variant-info {
    padding: clamp(1rem, 3vw, 1.5rem);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.variant-info h4 {
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: bold;
    flex-shrink: 0;
}

.variant-description {
    color: var(--dark-gray);
    font-size: clamp(0.85rem, 2.2vw, 0.95rem);
    margin-bottom: 1.2rem;
    line-height: 1.5;
    padding: clamp(0.6rem, 2vw, 0.8rem);
    background: #F8F9FA;
    border-radius: 6px;
    border-left: 3px solid var(--accent-gold);
    flex-grow: 1;
}

.variant-buttons {
    display: flex;
    gap: clamp(0.6rem, 2vw, 0.8rem);
    margin-top: auto;
    flex-shrink: 0;
}

.btn-small {
    flex: 1;
    padding: clamp(0.6rem, 2vw, 0.8rem) clamp(0.8rem, 2.5vw, 1.2rem);
    border-radius: 8px;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    text-align: center;
    font-family: inherit;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-small.primary {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(32, 62, 121, 0.3);
}

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

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

.btn-small.secondary:hover {
    background: var(--accent-gold);
    color: var(--primary-blue);
    border-color: var(--accent-gold);
}

.modal-footer {
    background: var(--light-gray);
    padding: clamp(1rem, 3vw, 1.5rem) clamp(1.5rem, 4vw, 2rem);
    border-radius: 0 0 15px 15px;
    text-align: center;
}

.modal-cta {
    background: var(--accent-gold);
    color: var(--primary-blue);
    padding: clamp(0.8rem, 2.5vw, 1rem) clamp(1.5rem, 4vw, 2rem);
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    display: inline-block;
    transition: all 0.3s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 300px;
    margin: 0 auto;
}

.modal-cta:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* ============================================
   FOOTER RESPONSIVE
============================================ */
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 RESPONSIVE
============================================ */
.whatsapp-float {
    position: fixed;
    bottom: clamp(15px, 4vw, 20px);
    right: clamp(15px, 4vw, 20px);
    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);
    }
}

/* ============================================
   NAVEGACIÓN MÓVIL MEJORADA
============================================ */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background: var(--primary-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;
    }
    
    .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: 80%;
        text-align: center;
    }
    
    .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);
        font-weight: bold;
        border: none;
        width: auto;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    /* Productos móvil */
    .productos-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        gap: 0.8rem;
        /* Scroll horizontal en móviles */
        scrollbar-width: thin;
    }
    
    .filter-buttons::-webkit-scrollbar {
        height: 4px;
    }
    
    .filter-buttons::-webkit-scrollbar-track {
        background: var(--light-gray);
    }
    
    .filter-buttons::-webkit-scrollbar-thumb {
        background: var(--primary-blue);
        border-radius: 2px;
    }
    
    .filter-btn {
        flex-shrink: 0;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    /* Producto cards móvil */
    .producto-card {
        max-width: none;
    }
    
    .producto-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .producto-buttons .btn-primary,
    .producto-buttons .btn-secondary {
        width: 100%;
        min-width: auto;
    }
    
    /* Modal móvil */
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 85vh;
    }
    
    .product-variants {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .variant-card {
        min-height: 300px;
    }
    
    .variant-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .variant-buttons .btn-small {
        width: 100%;
    }
    
    /* Servicios móvil */
    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* WhatsApp móvil */
    .whatsapp-float a span {
        display: none;
    }
    
    .whatsapp-float a {
        border-radius: 50%;
        padding: 1rem;
    }
    
    /* Footer móvil */
    .footer-content {
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    /* Header extra pequeño */
    .logo {
        font-size: 1.1rem;
    }
    
    .logo img {
        height: 28px;
    }
    
    /* Page header extra pequeño */
    .page-header {
        padding: 3rem 0.8rem 2.5rem;
        padding-top: calc(3rem + 65px);
    }
    
    /* Filtros extra pequeños */
    .productos-filters {
        padding: 1rem 0.8rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        min-height: 40px;
    }
    
    /* Grid extra pequeño */
    .productos-grid {
        padding: 2.5rem 0.8rem;
    }
    
    .producto-info {
        padding: 1.2rem;
    }
    
    .producto-specs {
        gap: 0.5rem;
    }
    
    .spec {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    /* Modal extra pequeño */
    .modal-content {
        width: 98%;
        margin: 2% auto;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }
    
    .variant-card {
        min-height: 280px;
    }
    
    .variant-image {
        height: 120px;
    }
    
    .variant-info {
        padding: 1rem;
    }
    
    .btn-small {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
        min-height: 40px;
    }
    
    /* Servicios extra pequeño */
    .servicios-adicionales {
        padding: 2.5rem 0.8rem;
    }
    
    .servicio-item {
        padding: 1.2rem 0.8rem;
    }
    
    .servicio-icon {
        font-size: 2.2rem;
    }
}

/* ============================================
   MEJORAS PARA TABLET
============================================ */
@media (min-width: 769px) and (max-width: 1024px) {
    .productos-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-variants {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 2fr;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ============================================
   MEJORAS DE ACCESIBILIDAD
============================================ */
/* Focus visible para navegación por teclado */
.filter-btn:focus,
.btn-primary:focus,
.btn-secondary:focus,
.btn-small:focus,
.btn-ver-detalle:focus,
.modal-close:focus {
    outline: 3px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Reducir animaciones para usuarios que prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .producto-card:hover {
        transform: none;
    }
    
    .servicio-item:hover {
        transform: none;
    }
    
    .variant-card:hover {
        transform: none;
    }
}

/* ============================================
   UTILIDADES RESPONSIVE
============================================ */
/* Ocultar elementos en móviles */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
}

/* Ocultar elementos en desktop */
@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
}

/* Espaciado responsive */
.spacing-sm { margin: clamp(0.5rem, 2vw, 1rem); }
.spacing-md { margin: clamp(1rem, 3vw, 2rem); }
.spacing-lg { margin: clamp(2rem, 5vw, 4rem); }

.padding-sm { padding: clamp(0.5rem, 2vw, 1rem); }
.padding-md { padding: clamp(1rem, 3vw, 2rem); }
.padding-lg { padding: clamp(2rem, 5vw, 4rem); }

/* ============================================
   SCROLL SUAVE 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);
}

/* ============================================
   ANIMACIONES DE ENTRADA
============================================ */
.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

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

/* ============================================
   ESTADOS DE CARGA
============================================ */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid var(--light-gray);
    border-top: 3px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ============================================
   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;
    transition: opacity 0.3s ease;
}

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

/* ============================================
   MENSAJES DE ESTADO
============================================ */
.message {
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-weight: 500;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ============================================
   MEJORAS DE PERFORMANCE
============================================ */
/* Optimización de imágenes */
img {
    max-width: 100%;
    height: auto;
}

/* Contenido crítico above the fold */
.above-fold {
    contain: layout style paint;
}

/* Optimización de GPU para animaciones */
.gpu-optimized {
    transform: translateZ(0);
    will-change: transform, opacity;
}

.producto-card,
.variant-card,
.servicio-item {
    will-change: transform;
}

/* Limitar repaints */
.modal {
    contain: layout style paint;
}

.carousel-slides {
    contain: layout style;
}

/* Footer desktop: 4 columnas (empresa + 3 columnas) */
@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-links {
        grid-column: 2 / -1;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: clamp(1rem, 4vw, 2rem);
        align-items: start;
        text-align: left;
    }

    .footer-info {
        padding-right: 2rem;
        grid-column: 1 / 2;
        align-self: start;
    }

    .social-links {
        justify-content: flex-start;
        margin-top: 1rem;
    }
    /* Footer-bottom en una fila en pantallas grandes */
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .footer-bottom p {
        margin: 0;
    }

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