/* ==================== FUENTES LOCALES ==================== */
/* Ideal: usar WOFF2. Mantén TTF como fallback si lo necesitas. */
@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Light.woff2') format('woff2'),
         url('/fonts/Montserrat-Light.woff') format('woff'),
         url('/fonts/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Regular.woff2') format('woff2'),
         url('/fonts/Montserrat-Regular.woff') format('woff'),
         url('/fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-SemiBold.woff2') format('woff2'),
         url('/fonts/Montserrat-SemiBold.woff') format('woff'),
         url('/fonts/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Bold.woff2') format('woff2'),
         url('/fonts/Montserrat-Bold.woff') format('woff'),
         url('/fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* ==================== 1. RESET Y BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
    /* Fondo elegante con nubes abstractas usando gradientes - respaldo del JavaScript */
    background:
        /* Nubes abstractas - capa superior */
        radial-gradient(ellipse 800px 400px at 20% 30%, rgba(184, 144, 104, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 600px 300px at 80% 20%, rgba(201, 162, 125, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 700px 350px at 60% 70%, rgba(232, 199, 155, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse 500px 250px at 30% 80%, rgba(184, 144, 104, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 400px 200px at 90% 60%, rgba(201, 162, 125, 0.06) 0%, transparent 70%),
        /* Gradiente base más sutil */
        linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(15, 15, 15, 0.98) 50%, rgba(10, 10, 10, 0.95) 100%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    padding-top: 80px; /* Espacio para la cabecera fija */
    margin: 0;
}


/* ==================== 2. LAYOUT / CONTENEDORES ==================== */

.container {
    position: relative;
    z-index: 1;
    padding: 90px 20px;
    max-width: 900px;
    margin: 0 auto;
}


/* ==================== 3. CABECERA (Fixed Header) ==================== */
.cabecera {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    
    /* Estado Inicial: Fondo opaco. Quitamos el backdrop-filter inicial. */
    background: rgba(35, 30, 25, 1.0); 
    
    /* El borde y la estructura básica */
    border-bottom: 1px solid rgba(42, 42, 42, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center; 
    justify-content: space-between;
    padding: 0 20px;
    height: 80px; 
    box-sizing: border-box;
    transition: background 0.3s ease, backdrop-filter 0.3s ease; /* Añadimos transición al filtro */
}

/* Estado Scrolled: Transparencia y Blur activos */
.cabecera.scrolled {
    background: rgba(10, 10, 10, 0.7); /* Transparencia para ver el fondo */
    backdrop-filter: blur(10px);       /* Aplicamos el efecto glassmorphism solo en scroll */
}

.cabecera .logo-container {
    flex: 1;
    display: flex;
    justify-content: center;
    /* Centrado interno del logo */
    align-items: center; 
    margin: 0;
    height: 100%; /* Asegura que el contenedor del logo ocupe la altura de la cabecera */
}

/* El logo dentro de la cabecera */
.cabecera .logo-container img.logo {
    max-width: 200px;
    width: 100%;
    height: auto; /* Permite que la altura se ajuste proporcionalmente */
    display: block;
    margin: 0; /* Eliminar margins redundantes para el centrado perfecto */
}

.cabecera .burger {
    position: static;
    margin-left: auto;
}

/* Contenedor del Logo de la sección principal (redundante en HTML, pero se mantiene la clase) */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    max-width: 400px; /* Estandarizado */
    margin: 0 auto;
}


/* ==================== 4. ENCABEZADO (Header Section) ==================== */

/* Logo de la sección principal (no el de la cabecera fija) */
.logo, .logo-container img.logo {
    max-width: 350px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.header {
    text-align: center;
    margin-bottom: 20px;
    padding: 30px 0 20px 0;  /* 30px arriba para separar del header fijo */
}

.header h1 {
    font-size: clamp(28px, 7vw, 48px);
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.header h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #C9A27D, transparent);
}

.header p {
    font-size: clamp(16px, 4vw, 22px);
    font-weight: 300;
    color: #F5F5F5;
    line-height: 1.5;
    margin-top: 25px;
    padding: 0 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* ==================== 5. GRID DE COMPARACIONES ==================== */
.comparison-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 10px;
}

.comparison-row {
    display: flex;
    gap: 15px;
    width: 100%;
}

.image-frame {
    flex: 1;
    position: relative;
    background: #FFFFFF;
    border: 2px solid #EAEAEA;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3 / 4;
    transition: all 0.3s ease;
}

.image-frame:active {
    transform: scale(0.98);
}

.label {
    position: absolute;
    top: 12px;
    left: 12px;
    color: #FFFFFF;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    border-radius: 6px;
    z-index: 10;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.label.before {
    background: linear-gradient(135deg, #C41E3A 0%, #A01829 100%);
}

.label.after {
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F8F8F8 0%, #ECECEC 100%);
    position: relative;
    z-index: 0;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px dashed #C9A27D;
    border-radius: 50%;
    opacity: 0.3;
}

.image-placeholder span {
    font-size: 14px;
    color: #9B9B9B;
    font-weight: 400;
    z-index: 1;
    text-align: center;
    padding: 0 10px;
}

.food-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 5;
}


/* ==================== 6. CALL TO ACTION (CTA) SECTION ==================== */
.cta-section {
    background: linear-gradient(135deg, #1A1A1A 0%, #0F0F0F 100%);
    text-align: center;
    padding: 100px 20px;
    margin-bottom: 60px;  /* Separación inferior de 60px */
}

.cta-title {
    font-size: clamp(28px, 5vw, 42px);
    color: #FFFFFF;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-text {
    font-size: 18px;
    color: #B0B0B0;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.contact-options {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #1A1A1A;
    padding: 30px 40px;
    border-radius: 12px;
    border: 1px solid #2A2A2A;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 300px;
}

.contact-card:hover {
    border-color: #C9A27D;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 162, 125, 0.2);
}

.contact-icon {
    font-size: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon img {
    width: 32px;
    height: 32px;
    display: block;
}

.contact-info h3 {
    font-size: 18px;
    color: #FFFFFF;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-info p {
    font-size: 14px;
    color: #C9A27D;
}


/* ==================== 7. MODAL SLIDER ==================== */
.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal, .modal.active { 
    z-index: 100000 !important; 
}

.modal-slider {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    user-select: none;
}

.close-modal {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 48px;
    color: #fff;
    cursor: pointer;
    z-index: 10100;
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.touch-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.8);
    padding: 8px 16px;
    border-radius: 20px;
    opacity: 1; /* Siempre visible por defecto */
    z-index: 100;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(201, 162, 125, 0.4);
    transition: all 0.3s ease;
}

/* ... (Todo el contenido original de styles.css) ... */

/* ==================== 10. ESTILOS DE TARIFAS AÑADIDOS ==================== */

/* Base de Contenedores para Tarjeta */
.packages-container { /* No usado directamente en calzado.html pero se incluye por contexto */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    align-items: start;
}

.package-card {
    background: #0F0F0F;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #2A2A2A;
    display: flex;
    flex-direction: column;
    margin: 40px auto; /* Centrado y espaciado para que se vea bien como elemento único */
    max-width: 500px;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(201, 162, 125, 0.2);
    border-color: #C9A27D;
}

.package-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 15px;
    text-align: center;
}

.package-description {
    margin-bottom: 20px;
    color: #B0B0B0;
}

.package-description p {
    color: #B0B0B0;
}

/* Features List */
.package-features {
    list-style: none;
    margin-bottom: 25px;
    padding: 0;
}

.package-features li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
    color: #B0B0B0;
}

.package-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #C9A27D;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Pricing */
.pricing {
    background: #1A1A1A;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #2A2A2A;
}

.pricing h4 {
    color: #C9A27D;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.price-item {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.price-item span:first-child {
    display: block;
    margin-bottom: 4px;
    color: #909090;
}

.price-total {
    color: #C9A27D;
    font-size: 1.1rem;
    display: block;
    font-weight: 700;
}

.ad-info {
    color: #B0B0B0;
    border: none;
    display: block;
    margin-top: 15px;
    font-size: 0.9rem;
}

.ideal-for {
    background: #1A1A1A;
    border-left: 4px solid #C9A27D;
    padding: 15px;
    margin-top: 15px;
    margin-bottom: 15px;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #B0B0B0;
}

/* Call to Action Button */
.cta-container {
    text-align: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #2A2A2A;
}

.package-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #C9A27D 0%, #B89068 100%);
    color: #FFFFFF;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(201, 162, 125, 0.3);
    letter-spacing: 0.5px;
}

.package-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 162, 125, 0.5);
}

/* Información Adicional (para la sección de Descuentos) */
.info-section {
    background: #0F0F0F;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border: 1px solid #2A2A2A;
    margin-top: 15px; /* Separación dentro de .pricing */
}

.info-section h3 {
    color: #C9A27D;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.info-section ul {
    list-style: none;
}

.info-section ul li {
    margin-bottom: 5px;
    padding-left: 20px;
    position: relative;
    color: #B0B0B0;
}

.info-section ul li:before {
    content: "▪";
    position: absolute;
    left: 0;
    color: #C9A27D;
    font-weight: bold;
}

.info-section ul li strong {
    color: #FFFFFF;
}

/* Media Query para móvil */
@media (max-width: 768px) {
    .package-card {
        margin-left: 10px;
        margin-right: 10px;
        max-width: 100%;
        transform: none;
    }
}

/* En desktop: más sutil con hover */
@media (min-width: 769px) {
    .touch-indicator {
        opacity: 0;
        animation: fadeInTouch 0.5s ease-out 1s forwards;
    }
    
    .modal:hover .touch-indicator {
        opacity: 1;
    }
}

.touch-icon {
    color: #FFFFFF; /* Blanco como solicitaste */
    flex-shrink: 0;
}

.touch-text {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

/* Animación solo para desktop */
@keyframes fadeInTouch {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Responsive para móvil - siempre visible y más prominente */
@media (max-width: 768px) {
    .touch-indicator {
        bottom: 15px;
        padding: 12px 20px;
        gap: 10px;
        background: rgba(0, 0, 0, 0.9); /* Más opaco en móvil */
        border: 2px solid rgba(201, 162, 125, 0.6); /* Borde más visible */
    }
    
    .touch-text {
        font-size: 14px; /* Texto más grande en móvil */
        font-weight: 600;
    }
    
    .touch-icon {
        width: 20px;
        height: 20px;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); /* Sombra para mejor visibilidad */
    }
}

@media (max-width: 480px) {
    .touch-indicator {
        padding: 10px 16px;
        bottom: 12px;
    }
    
    .touch-text {
        font-size: 13px;
    }
}

/* ==================== ICONO DE ZOOM EN IMÁGENES ==================== */
.zoom-icon {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    z-index: 10;
    transition: all 0.3s ease;
    border: 1px solid rgba(201, 162, 125, 0.4);
    backdrop-filter: blur(3px);
}

.zoom-icon:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
    opacity: 1;
}

.zoom-icon img {
    width: 16px;
    height: 16px;
    /* Sin filtro - el icono ya es blanco */
}

/* Responsive para móvil - icono más grande */
@media (max-width: 768px) {
    .zoom-icon {
        width: 40px;
        height: 40px;
        bottom: 10px;
        right: 10px;
    }
    
    .zoom-icon img {
        width: 20px;
        height: 20px;
    }
}


/* ==================== 8. DECORACIONES DE ESQUINA ==================== */
.corner-accent {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid #C9A27D;
    opacity: 0.3;
}

.corner-accent.top-left {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
}

.corner-accent.bottom-right {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
}


/* ==================== 9. RESPONSIVE / MEDIA QUERIES ==================== */

/* Logo en tablets (max 1024px) */
@media (max-width: 1024px) {
    .cabecera .logo-container img.logo {
        max-width: 320px;
    }
    
    /* Logo contenido principal responsive para tablet */
    .logo, .logo-container img.logo {
        max-width: 320px; /* Tablet */
    }
}

/* General responsive (max 768px) */
@media (max-width: 768px) {
    .cabecera .logo-container img.logo {
        max-width: 280px;
    }
    
    /* Logo contenido principal responsive */
    .logo, .logo-container img.logo {
        max-width: 280px; /* Móvil */
    }
    
    .nav-container { /* Estas reglas no se aplican en el HTML proporcionado (Offcanvas), pero se mantienen por coherencia */
        gap: 10px;
    }
    .nav-container a {
        font-size: 14px;
        padding: 8px 16px;
    }
    .contact-card {
        min-width: 100%;
    }
}

/* Mobile responsive (max 480px) */
@media (max-width: 480px) {
    .header h1 {
        font-size: 24px;
    }
    .header p {
        font-size: 15px;
    }
    .comparison-row {
        gap: 10px;
    }
    .label {
        font-size: 11px;
        padding: 5px 12px;
        top: 8px;
        left: 8px;
    }
    .container {
        padding: 80px 15px;  /* Mismo espaciado que el header (80px) */
    }
    .nav-container a {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    /* Logo para pantallas muy pequeñas */
    .cabecera .logo-container img.logo {
        max-width: 150px;
    }
    .logo, .logo-container img.logo {
        max-width: 200px; /* Pantallas muy pequeñas */
    }
}

/* ==================== BOTÓN FLOTANTE WHATSAPP ==================== */
.whatsapp-float {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 70px !important;
    height: 70px !important;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5) !important;
    transition: all 0.3s ease !important;
    z-index: 999999 !important; /* Z-index muy alto para asegurar visibilidad */
    text-decoration: none !important;
    animation: pulse 2s infinite !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.7);
}

.whatsapp-float img {
    width: 28px;
    height: 28px;
    filter: none;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive para móvil */
@media (max-width: 600px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float img {
        width: 20px;
        height: 20px;
    }
}

/* ==================== CONTROL DE OVERSCROLL EN MÓVIL ==================== */
/* Soluciona el problema de zona blanca al hacer scroll en móvil */
@media (max-width: 768px) {
    html, body {
        overscroll-behavior: none;         /* Elimina el bounce effect */
        -webkit-overflow-scrolling: touch; /* Scroll suave en iOS */
        height: 100%;                      /* Asegura altura completa */
        min-height: 100vh;                 /* Mínimo altura viewport */
        overflow-x: hidden;                /* Sin scroll horizontal */
        margin: 0;                         /* Reset margin */
        padding: 0;                        /* Reset padding */
    }
    
    /* Contenedor principal con altura mínima */
    .container {
        min-height: calc(100vh - 80px);    /* Altura viewport - header */
        padding-bottom: 20px;              /* Espacio inferior seguro */
    }
}

/* Para todos los dispositivos - control adicional */
html {
    overscroll-behavior: contain;          /* Contener overscroll en desktop */
}