.info-section.animate {
    animation: sectionFadeIn 0.6s cubic-bezier(.68, -0.55, .27, 1.55);
}

@keyframes sectionFadeIn {
    0% {
        opacity: 0;
        transform: translateY(32px);
    }

    60% {
        opacity: 1;
        transform: translateY(-8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESET Y ESTILOS GENERALES
============================================ */

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

/* Eliminar padding-top en la página de inicio (sin header) */
body.home-page {
    padding-top: 0 !important;
}

/* Logo en esquina superior derecha del hero */
.hero-logo {
    position: absolute;
    top: 10px;
    right: 100px;
    z-index: 10;
    animation: fadeIn 1s ease-out;
}

.hero-logo a {
    display: block;
}

.hero-logo img {
    width: 450px;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero-logo img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .hero {
        height: 95vh !important;
        min-height: 700px !important;
        max-height: 800px !important;
    }

    .hero-logo {
        top: 15px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .hero-logo img {
        width: 220px !important;
    }

    .hero-content {
        top: 15% !important;
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, 0) !important;
        width: 85% !important;
        max-width: 500px !important;
        padding: 1.3rem 1.5rem !important;
        text-align: center !important;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.7rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 0.7rem;
    }

    .hero-descripcion {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .mini-portadas {
        bottom: 30px;
        gap: 12px;
        padding: 0 8px;
        position: fixed;
    }

    .mini-portada {
        width: 120px;
        height: 160px;
    }

    .mini-portada span {
        font-size: 0.6rem;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f0f7ff;
    background-image:
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M0,50 Q250,0 500,50 T1000,50 L1000,100 L0,100 Z" fill="rgba(59, 130, 246, 0.03)"/></svg>'),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M0,70 Q250,20 500,70 T1000,70 L1000,100 L0,100 Z" fill="rgba(30, 64, 175, 0.02)"/></svg>');
    background-size: 100% auto, 100% auto;
    background-repeat: no-repeat;
    background-position: top center, top center;
    background-attachment: fixed;
    color: #333;
    line-height: 1.6;
    padding-top: 115px;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: transparent;
}

/* ============================================
   HEADER
============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #063e92, #185586, #5282af);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 8px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 0;
}

.logo-img {
    height: 140px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
}

.logo-placeholder {
    height: 100px;
    width: 100px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

.whatsapp-header {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1a9246;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.whatsapp-header:hover {
    background: #128c31;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(7, 214, 83, 0.3);
}

.language-selector {
    display: flex;
    gap: 5px;
    margin-left: 10px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: #f59e0b;
    color: #1e293b;
    border-color: white;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}


.header-logo-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-actions-right {
    display: flex;
    align-items: center;
    gap: 18px;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    padding-right: 0;
}


.nav-link {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background 0.3s ease; 
}

.nav-link[data-nav="home"] {
    display: none !important;
}

.nav-link:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    transform: translateY(-2px);
}

/* ============================================
   ENCABEZADO DE PÁGINA
============================================ */
.page-header {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 20px;
    animation: fadeIn 0.8s ease-out;
}

.page-header h2 {
    font-size: 2.2rem;
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.page-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    border-radius: 2px;
}

.page-header-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-top: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   FILTROS
============================================ */
.category-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    animation: fadeIn 0.8s ease-out 0.2s both;
}

/* ============================================
   CONTADOR DE RESULTADOS
============================================ */
.results-info {
    text-align: center;
    color: #64748b;
    margin-bottom: 30px;
    font-size: 0.95rem;
    animation: fadeIn 0.8s ease-out 0.3s both;
}

.pricing-regular-notice {
    margin: 0 auto 18px;
    max-width: 980px;
    padding: 15px 20px;
    border-radius: 16px;
    border: 1px solid rgba(251, 146, 60, 0.55);
    background: linear-gradient(140deg, #fffcf2 0%, #fff7e0 55%, #ffefc4 100%);
    color: #ea580c;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.55;
    text-align: center;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 24px rgba(251, 146, 60, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* ============================================
   GRID DE PRODUCTOS
============================================ */
.products-grid {
    display: grid;
    position: relative;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
    min-height: 600px;
}

.products-grid.loading {
    pointer-events: none;
}

.products-grid.loading::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(241, 245, 249, 0.95), rgba(219, 234, 254, 0.95));
    z-index: 2;
}

.products-grid.loading::after {
    content: '';
    position: absolute;
    top: 90px;
    left: 50%;
    width: 56px;
    height: 56px;
    margin-left: -28px;
    border-radius: 50%;
    border: 4px solid rgba(59, 130, 246, 0.25);
    border-top-color: #3b82f6;
    animation: spin 0.9s linear infinite;
    z-index: 3;
}

.products-grid.loading .product-card {
    visibility: hidden;
}

/* ============================================
   TARJETA DE PRODUCTO
============================================ */
.product-card {
    background: white;
    backdrop-filter: blur(10px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.45s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.6s ease-out;
    position: relative;
    --card-tilt-x: 0deg;
    --card-tilt-y: 0deg;
    --card-translate: 0px;
    --card-glow-x: 50%;
    --card-glow-y: 30%;
    transform: perspective(1100px) translateY(var(--card-translate)) rotateX(var(--card-tilt-y)) rotateY(var(--card-tilt-x));
    will-change: transform, box-shadow;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--card-glow-x) var(--card-glow-y), rgba(59, 130, 246, 0.28), transparent 55%);
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: screen;
}

.product-card>* {
    position: relative;
    z-index: 1;
}

.product-card:hover {
    --card-translate: -10px;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.22);
    border-color: rgba(59, 130, 246, 0.35);
}

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

@keyframes premiumGlow {
    0% {
        box-shadow: 0 5px 20px rgba(59, 130, 246, 0.25);
    }

    50% {
        box-shadow: 0 12px 30px rgba(249, 115, 22, 0.35);
    }

    100% {
        box-shadow: 0 5px 20px rgba(59, 130, 246, 0.25);
    }
}

.product-card .reservation-btn,
.product-card .more-info-btn,
.product-card .gallery-btn {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover .reservation-btn,
.product-card:hover .more-info-btn,
.product-card:hover .gallery-btn {
    transform: translateY(-2px);
}

.product-card:hover .reservation-btn,
.product-card:hover .gallery-btn {
    animation: premiumGlow 2.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {

    .product-card {
        transform: none !important;
        transition: none;
    }

    .product-card::before {
        display: none;
    }

    .product-card .reservation-btn,
    .product-card .more-info-btn,
    .product-card .gallery-btn {
        animation: none !important;
        transform: none !important;
    }
}

.product-image {
    height: 280px;
    min-height: 280px;
    aspect-ratio: 16 / 10;
    position: relative;
    overflow: hidden;
}

.image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.8s ease;
}

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

.image-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 5;
    pointer-events: none;
}

.category-badge {
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #3b82f6;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    display: inline-block;
    width: fit-content;
}

.spots-badge {
    color: #047857;
    border: 1px solid rgba(5, 150, 105, 0.35);
    background: rgba(236, 253, 245, 0.95);
}

.spots-badge i {
    color: #059669;
    margin-right: 4px;
}

.featured-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1e293b;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(245, 158, 11, 0.65);
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.35), 0 0 0 2px rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    z-index: 6;
    animation: pulse-featured 2s infinite ease-in-out;
    pointer-events: auto;
    text-decoration: none;
}

.featured-badge i {
    font-size: 0.9rem;
    color: #1e293b;
}

@keyframes pulse-featured {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 6px 15px rgba(245, 158, 11, 0.6);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
    }
}

.gallery-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 20px;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #3b82f6;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    z-index: 3;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.gallery-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.25);
    color: #2563eb;
}

.image-fallback {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
}

.product-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
}

.product-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.product-category {
    background: rgba(241, 245, 249, 0.8);
    color: #475569;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
}

.product-title {
    font-size: 1.4rem;
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
    min-height: 60px;
    display: flex;
    align-items: center;
}

.departure-dates-preview {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: -2px 0 12px;
    color: #2563eb;
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 10px;
    padding: 8px 10px;
}

.departure-dates-preview i {
    color: #2563eb;
}

.expanded-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card.expanded .expanded-content {
    max-height: 1200px;
    margin-top: 20px;
    overflow-y: auto;
}

.product-details {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    padding-top: 20px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    max-height: 800px;
    overflow-y: auto;
}

.basic-info-expanded {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.basic-info-expanded p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
    font-size: 0.9rem;
    margin: 0;
}

.basic-info-expanded i {
    color: #3b82f6;
    min-width: 20px;
    font-size: 1rem;
}

.product-highlights {
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(5px);
    padding: 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 5px solid #3b82f6;
}

.product-highlights p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-highlights i {
    color: #3b82f6;
    min-width: 20px;
}

.more-info-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: none;
    color: white;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 12px 0 12px 0;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.more-info-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.more-info-btn:hover::before {
    left: 100%;
}

.more-info-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.product-card.expanded .more-info-btn {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
}

.more-info-icon {
    transition: transform 0.4s ease;
}

.product-card.expanded .more-info-icon {
    transform: rotate(180deg);
}

/* Ajustes móviles para cartas y botón de galería */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 18px;
        margin-bottom: 50px;
    }

    .product-card {
        border-radius: 20px;
    }

    .product-image {
        height: 230px;
        min-height: 230px;
    }

    .gallery-btn {
        bottom: 12px;
        right: 12px;
        padding: 9px 14px;
        font-size: 0.88rem;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(59, 130, 246, 0.18);
        box-shadow: 0 6px 14px rgba(15, 23, 42, 0.16);
    }

    .product-content {
        padding: 16px;
    }

    .product-actions {
        gap: 10px;
    }

    .more-info-btn {
        margin: 10px 0 10px 0;
    }
}

.product-price {
    margin-bottom: 12px;
    padding: 12px;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    border: 2px solid rgba(226, 232, 240, 0.8);
    min-height: 108px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.price-label {
    display: block;
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-right: 34px;
}

.price-amount {
    font-size: 1.8rem;
    color: #059669;
    font-weight: 800;
    display: flex;
    align-items: baseline;
}

.price-currency {
    font-size: 1.2rem;
    margin-right: 4px;
    font-weight: 600;
}

.price-offer-wrapper {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: nowrap;
}

.price-amount-original {
    font-size: 1.1rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin: 0;
}

.price-offer-current {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}

.price-offer-tag {
    background: #f97316;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
}

.price-amount-offer {
    color: #dc2626;
}

@media (max-width: 640px) {
    .product-price {
        min-height: auto;
        padding: 12px 10px;
    }
    .price-offer-wrapper {
        flex-wrap: wrap;
        gap: 6px;
    }
    .price-offer-current {
        flex-wrap: wrap;
        gap: 6px;
    }
    .price-amount {
        font-size: 1.6rem;
    }
    .price-currency {
        font-size: 1rem;
    }
}

.price-note-tooltip {
    position: absolute;
    top: 10px;
    right: 10px;
    margin: 0;
    z-index: 4;
}

.price-note-trigger {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid rgba(59, 130, 246, 0.4);
    background: rgba(239, 246, 255, 0.95);
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.price-note-trigger:hover,
.price-note-trigger:focus-visible {
    background: #dbeafe;
    border-color: rgba(37, 99, 235, 0.6);
    outline: none;
}

.price-note-bubble {
    position: absolute;
    right: 0;
    bottom: calc(100% + 10px);
    width: min(280px, 75vw);
    background: #1e293b;
    color: #f8fafc;
    font-size: 0.78rem;
    line-height: 1.35;
    padding: 10px 12px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 30;
}

.price-note-bubble::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 100%;
    border-width: 6px;
    border-style: solid;
    border-color: #1e293b transparent transparent transparent;
}

.price-note-tooltip:hover .price-note-bubble,
.price-note-tooltip:focus-within .price-note-bubble,
.price-note-tooltip.is-open .price-note-bubble {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ============================================
   FORMULARIO DE RESERVA
============================================ */
.reservation-form {
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 12px;
    margin-top: 15px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: none;
    animation: slideIn 0.4s ease-out;
}

.reservation-form.active {
    display: block;
}

.form-autofill-hint {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.95), rgba(255, 255, 255, 0.95));
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #7c2d12;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.18);
    margin-bottom: 12px;
}

.form-autofill-hint.visible {
    display: flex;
    animation: fadeInHint 0.35s ease;
}

.form-autofill-hint i {
    color: #f97316;
    font-size: 1.1rem;
}

@keyframes fadeInHint {
    0% {
        opacity: 0;
        transform: translateY(6px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.form-title {
    font-size: 1.2rem;
    color: #1e293b;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(226, 232, 240, 0.8);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #475569;
    font-size: 0.95rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(226, 232, 240, 0.8);
    border-radius: 14px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #1e293b;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 42px;
    cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
    line-height: 1.5;
}

.reservation-pricing-summary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    display: none;
    margin-top: 10px;
}

.reservation-pricing-summary .pricing-label {
    color: #334155;
    font-weight: 700;
    font-size: 0.95rem;
}

.reservation-pricing-summary .pricing-value {
    color: #0f172a;
    font-weight: 800;
    font-size: 1.05rem;
}

.reservation-pricing-summary .pricing-note {
    color: #0f172a;
    font-size: 0.9rem;
    margin-top: 6px;
}

.time-hint {
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.time-hint i {
    color: #3b82f6;
}

.payment-notice {
    background: #f0f9ff;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #0ea5e9;
    font-size: 0.9em;
    color: #0369a1;
}

.payment-notice i {
    margin-right: 10px;
    color: #0ea5e9;
}

/* ============================================
   BOTONES GENERALES
============================================ */
.reservation-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.reservation-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.4);
}

.reservation-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.reservation-btn:hover::after {
    left: 100%;
}

.reservation-form .submit-btn {
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
    min-height: 52px;
    border-radius: 14px;
}

.reservation-form .submit-btn:hover {
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
}

.reservation-btn.close-btn,
.reservation-btn.cancel-btn {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.25);
    min-height: 52px;
    border-radius: 14px;
    border: none;
}

.reservation-btn.close-btn:hover,
.reservation-btn.cancel-btn:hover {
    box-shadow: 0 10px 24px rgba(239, 68, 68, 0.35);
}

.reservation-btn.map-picker-btn {
    width: auto !important;
    padding: 0 20px !important;
    min-height: 48px;
    border-radius: 14px;
    background: #3b82f6 !important;
    box-shadow: none !important;
    gap: 8px;
}

@media (max-width: 768px) {
    .reservation-btn.map-picker-btn {
        padding: 0 14px !important;
    }
}

.btn-whatsapp-submit {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

.premium-cta {
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.premium-cta::before {
    content: "";
    position: absolute;
    top: -140%;
    left: -45%;
    width: 42%;
    height: 320%;
    pointer-events: none;
    background: linear-gradient(120deg,
            transparent 0%,
            rgba(255, 255, 255, 0.12) 35%,
            rgba(255, 255, 255, 0.42) 50%,
            rgba(255, 255, 255, 0.12) 65%,
            transparent 100%);
    transform: translateX(-240%) rotate(18deg);
    animation: premiumCtaShine 5.2s ease-in-out infinite;
}

.premium-cta>* {
    position: relative;
    z-index: 1;
}

.premium-cta.no-shine::before {
    display: none;
}

@keyframes premiumCtaShine {

    0%,
    70%,
    100% {
        transform: translateX(-240%) rotate(18deg);
    }

    85% {
        transform: translateX(340%) rotate(18deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .premium-cta::before {
        animation: none;
    }
}

.premium-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(245, 158, 11, 0.35);
    filter: saturate(1.08);
}

.submit-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.submit-btn:hover {
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.close-btn {
    background: white;
    color: #dc2626;
    border: 2px solid #dc2626;
}

.close-btn:hover {
    background: #dc2626;
    color: #ffffff !important;
    border-color: #dc2626;
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
}

.close-btn:focus-visible {
    background: #dc2626;
    color: #ffffff !important;
    border-color: #dc2626;
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
    outline: none;
}

/* ============================================
   GALERÍA MODAL
============================================ */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    will-change: opacity;
}

.gallery-modal.active {
    display: flex;
    opacity: 1;
}

.gallery-modal-content {
    background: #0f172a;
    border-radius: 16px;
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.gallery-header h3 {
    font-size: 1.5rem;
    color: white;
    margin: 0;
    font-weight: 600;
}

.close-gallery-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.close-gallery-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    transform: rotate(90deg);
}

.gallery-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 40px;
    position: relative;
    min-height: 400px;
    max-height: 500px;
}

.gallery-main-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main-image img {
    max-width: 100%;
    max-height: 450px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: zoomIn 0.5s ease-out;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.image-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-prev,
.gallery-next {
    background: rgba(59, 130, 246, 0.2);
    color: white;
    border: 2px solid rgba(59, 130, 246, 0.3);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.gallery-prev:hover,
.gallery-next:hover {
    background: rgba(59, 130, 246, 0.4);
    border-color: rgba(59, 130, 246, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    padding: 24px;
    max-height: 200px;
    overflow-y: auto;
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    scrollbar-width: thin;
    scrollbar-color: #3b82f6 #1e293b;
}

.gallery-thumbnails::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: #1e293b;
    border-radius: 4px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 4px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

.gallery-thumbnail {
    min-width: auto;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    position: relative;
    flex-shrink: 0;
}

.gallery-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.gallery-thumbnail:hover {
    opacity: 0.8;
    transform: translateY(-3px);
}

.gallery-thumbnail:hover::after {
    background: rgba(0, 0, 0, 0.1);
}

.gallery-thumbnail.active {
    opacity: 1;
    border-color: #3b82f6;
    border-width: 4px;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.gallery-thumbnail.active::after {
    background: transparent;
}

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

.gallery-thumbnail:hover img {
    transform: scale(1.1);
}

.no-images-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #94a3b8;
    font-size: 1.1rem;
}

.no-images-message i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.3;
}

/* ============================================
   SECCIÓN DE CONTACTO
============================================ */
.contact-info {
    text-align: center;
    padding: 50px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-radius: 20px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100"><path fill="rgba(255,255,255,0.05)" d="M0,50 Q250,0 500,50 T1000,50 V100 H0 Z"/></svg>') no-repeat bottom;
    background-size: 100% auto;
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.contact-info p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.contact-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: white;
    color: #25D366;
    padding: 18px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-whatsapp:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    color: #128C7E;
}

/* ============================================
   Formularios destacados (más vendidos)
============================================ */
.reservation-form.featured-form {
    border: 2px solid #fbbf24;
    background: linear-gradient(180deg, #fff9e6 0%, #fffef9 100%);
    box-shadow: 0 12px 30px rgba(251, 191, 36, 0.25);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(6px);
}

.reservation-form.featured-form label {
    color: #b45309;
}

.reservation-form.featured-form .submit-btn {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    color: #1f2937;
    border: 1px solid #d97706;
}

.reservation-form.featured-form .close-btn {
    border-color: #fbbf24;
    color: #b45309;
}

.reservation-form.featured-form .reservation-btn {
    box-shadow: 0 10px 26px rgba(245, 158, 11, 0.35);
}

.reservation-form.featured-form .form-group input,
.reservation-form.featured-form .form-group textarea,
.reservation-form.featured-form .form-group select {
    border: 2px solid #fbbf24;
    background: #fffbea;
    border-radius: 14px;
}

.reservation-form.featured-form .form-group input:focus,
.reservation-form.featured-form .form-group textarea:focus,
.reservation-form.featured-form .form-group select:focus {
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.35);
}

.reservation-form.featured-form .reservation-pricing-summary,
.featured-reserva-body .reservation-pricing-summary {
    border: 2px solid #fbbf24;
    background: #fffbea;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.contact-details p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-details strong {
    color: white;
}

/* ============================================
   FOOTER (VERSIÓN CORREGIDA)
============================================ */
.footer {
    text-align: center;
    padding: 60px 0;
    color: #64748b;
    font-size: 0.95rem;
    margin-top: 80px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    line-height: 2;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(99, 102, 241, 0.02) 100%);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer p {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer p:last-child {
    margin-bottom: 0;
    color: #3b82f6;
    font-weight: 600;
}

/* Contenedor de enlaces legales: por defecto en fila (escritorio) */
.legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    font-size: 0.85em;
}

.legal-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 5px 0;
    margin: 0 !important;
}

.legal-links a:hover {
    color: #3b82f6 !important;
    text-decoration: underline;
}

/* ============================================
   BREADCRUMB NAVIGATION
============================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    margin: 20px 0;
    font-size: 0.95rem;
    color: #64748b;
}

.breadcrumb a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.breadcrumb i {
    margin: 0 4px;
    color: #cbd5e1;
}

/* ============================================
   FLOATING WHATSAPP BUTTON (MÓVIL)   pc
============================================ */
.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #067906;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 800;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(18, 140, 126, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

.whatsapp-floating:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(18, 140, 126, 0.6);
    animation: none;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@media (min-width: 992px) {
    .whatsapp-floating {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        bottom: 40px;
        right: 30px;
    }
}

/* Redes sociales */
.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 20px;
    margin-bottom: 28px;
}

.social-links a {
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 3.5rem !important;
    color: #3b82f6;
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
    opacity: 0.9;
}

/* Botón secundario (ejemplo para "Ver más") */
.btn-secondary {
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    padding: 12px 30px;
    border-radius: 40px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
}

/* ============================================
   ANIMACIONES
============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translate(-50%, 20px);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* ============================================
   SLIDER DE PORTADA
============================================ */
.portada {
    position: relative;
    top: 35px;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 0 0 12px 12px;
}

.portada-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.portada-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.portada-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.portada-slide.active {
    opacity: 1;
    z-index: 2;
}

.portada-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portada-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
    z-index: 3;
    pointer-events: none;
}

.portada-text {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 4;
    width: 90%;
    max-width: 800px;
    animation: fadeInUp 5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
    pointer-events: none;
}

.portada-text h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.portada-text p {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 300;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 5;
    backdrop-filter: blur(1px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev {
    left: 5px;
}

.slider-next {
    right: 5px;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 255, 255, 0);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: white;
    transform: scale(1.2);
    border-color: #3b82f6;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* ============================================
   MODAL DE RESERVA
============================================ */
.reserva-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reserva-modal.desktop-top-align {
    align-items: flex-start;
    padding-top: 40px;
}

.reserva-modal.active {
    display: flex;
    opacity: 1;
}

.reserva-modal-content {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 550px;
    min-height: 520px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease-out;
}

.reserva-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    border-bottom: 1px solid rgba(37, 99, 235, 0.45);
    color: #e0e7ff;
}

.reserva-modal-header h3 {
    font-size: 1.4rem;
    color: inherit;
    margin: 0;
    font-weight: 700;
}

.close-reserva-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    min-width: 40px;
    min-height: 40px;
    flex: 0 0 40px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
}

.reserva-modal-header:not(.featured-reserva-header) .close-reserva-btn {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.reserva-modal-header:not(.featured-reserva-header) .close-reserva-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #0f172a;
    transform: rotate(90deg);
}

.close-reserva-btn:hover {
    background: #ef4444;
    color: white;
    transform: rotate(90deg);
}

.reserva-modal-body {
    padding: 24px;
    overflow-y: auto;
    background: white;
}

.reserva-modal-content.featured-reserva {
    border: 1px solid #f59e0b;
    background: linear-gradient(180deg, #fffdf7 0%, #fff7e6 100%);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.25), 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.reserva-modal-header.featured-reserva-header {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
}

.reserva-modal-header.featured-reserva-header h3 {
    color: #ffffff;
}

.close-reserva-btn.featured-reserva-close {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.close-reserva-btn.featured-reserva-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.reserva-modal-body.featured-reserva-body {
    background: transparent;
}

.reserva-modal-body .reservation-form {
    display: block !important;
    background: transparent;
    padding: 0;
    margin: 0;
    border: none;
    animation: none;
}

.reserva-modal-body .reservation-form .form-group {
    margin-bottom: 18px;
}

.reserva-modal-body .reservation-form .form-group input,
.reserva-modal-body .reservation-form .form-group textarea {
    border: 2px solid #e2e8f0;
}

.reserva-modal-body .reservation-form.featured-form .form-group input,
.reserva-modal-body .reservation-form.featured-form .form-group textarea {
    border: 2px solid #fbbf24;
    background: #fffbea;
}

.reserva-modal-body .reservation-form.featured-form .form-group input:focus,
.reserva-modal-body .reservation-form.featured-form .form-group textarea:focus {
    border-color: #fbbf24;
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.35);
}

.reserva-modal-body .reservation-form.featured-form {
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.reserva-modal-body .form-title {
    display: none;
}

.reserva-modal-body .reservation-btn+.reservation-btn {
    margin-top: 15px;
}

/* ============================================
   MODAL DE INFORMACIÓN DETALLADA
============================================ */
.info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10001;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-modal.active {
    display: flex;
    opacity: 1;
}

.info-modal-content {
    background: linear-gradient(135deg, #f8fafc 70%, #e0e7ef 100%);
    border-radius: 32px;
    width: 100%;
    max-width: 720px;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(30, 64, 175, 0.18), 0 2px 8px rgba(0, 0, 0, 0.07);
    animation: modalPop 0.35s cubic-bezier(.68, -0.55, .27, 1.55);
}

@keyframes modalPop {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }

    60% {
        transform: scale(1.03);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.info-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    border-bottom: 1px solid rgba(59, 130, 246, 0.4);
    color: #f8fafc;
}

.info-modal-header h3 {
    font-size: 1.5rem;
    color: #f8fafc;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.close-info-btn {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 1.4rem;
    color: #f8fafc;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    min-width: 44px;
    min-height: 44px;
    flex: 0 0 44px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    backdrop-filter: blur(4px);
}

.close-info-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #0f172a;
    transform: rotate(90deg);
}

.info-modal-body {
    padding: 36px 32px 32px 32px;
    overflow-y: auto;
    background: transparent;
}

.info-modal-content.featured-info {
    border: 3px solid #f59e0b;
    background: linear-gradient(135deg, #fff9f0 70%, #fff);
    box-shadow: 0 30px 60px -15px rgba(245, 158, 11, 0.3), 0 2px 8px rgba(0, 0, 0, 0.08);
}

.info-modal-header.featured-info-header {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-bottom-color: rgba(245, 158, 11, 0.4);
    color: #fffaf3;
}

.info-modal-header.featured-info-header h3 {
    color: #fffaf3;
}

.close-info-btn.featured-info-close {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: #7c2d12;
}

.close-info-btn.featured-info-close:hover {
    background: rgba(255, 255, 255, 0.4);
    color: #7c2d12;
}

.info-modal-body.featured-info-body {
    background: transparent;
}

.info-section {
    margin-bottom: 36px;
    background: #fff;
    border-radius: 22px;
    padding: 28px 24px;
    box-shadow: 0 4px 16px rgba(30, 64, 175, 0.04);
    border: 1px solid #e9eef3;
    transition: box-shadow 0.2s;
}

.info-section:hover {
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.09);
}

.info-section h4 {
    font-size: 1.32rem;
    color: #1e293b;
    margin-bottom: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 14px;
    letter-spacing: 0.2px;
}

.info-section h4 i {
    color: #3b82f6;
    font-size: 1.4rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f1f5f9;
    border-radius: 14px;
    border-left: 5px solid #3b82f6;
}

.info-item i {
    color: #3b82f6;
    font-size: 1.3rem;
    min-width: 24px;
    text-align: center;
}

.info-item .info-text {
    font-size: 0.95rem;
    color: #1e293b;
}

.info-item .info-text strong {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.highlights-list {
    list-style: none;
    padding: 0;
}

.highlights-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.98rem;
    color: #334155;
    line-height: 1.5;
}

.highlights-list li i {
    color: #10b981;
    font-size: 1.1rem;
    margin-top: 3px;
    min-width: 20px;
}

.description-block {
    background: #f1f5f9;
    padding: 18px;
    border-radius: 16px;
    margin-bottom: 16px;
}

.description-block p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.description-block i {
    color: #3b82f6;
    min-width: 22px;
    font-size: 1.1rem;
    margin-top: 2px;
}

.description-block strong {
    color: #0f172a;
    font-weight: 700;
}

.recommendations {
    background: #f0f9ff;
    border-left: 5px solid #0ea5e9;
    padding: 18px;
    border-radius: 16px;
}

.recommendations i {
    color: #0ea5e9;
    margin-right: 10px;
}

.info-modal-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px dashed #e2e8f0;
}

.info-modal-footer .reservation-btn {
    max-width: 300px;
    margin: 0 auto;
    font-size: 1.1rem;
    padding: 16px 24px;
    border-radius: 40px;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.info-modal-footer .reservation-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.4);
}

.info-floating-cta {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translate(-50%, 0);
    width: 100%;
    max-width: 300px;
    min-width: 0;
    z-index: 5;
    border-radius: 40px;
    padding: 16px 24px;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
    transition: none !important;
}

.info-floating-cta:hover {
    transform: translate(-50%, 0) !important;
}

.info-floating-cta.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 12px);
    box-shadow: none;
}

@media (max-width: 768px) {
    .info-floating-cta {
        bottom: 14px;
        width: 100%;
        max-width: 300px;
        min-width: 0;
        left: 50%;
        transform: translate(-50%, 0);
        transition: none !important;
    }
}

.info-footer-note {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 12px;
}

.info-footer-note i {
    font-size: 0.7rem;
    margin-right: 4px;
}

/* ============================================
   MODAL DE INFORMACIÓN - VERSIÓN DESTACADA
============================================ */
.info-modal-inner.featured-modal-inner {
    position: relative;
    background: transparent;
    border-radius: 0;
    padding: 0;
    border: none;
    box-shadow: none;
}

.featured-header-badge {
    text-align: center;
    margin-bottom: 20px;
    margin-top: -10px;
}

.featured-header-badge .featured-badge-modal {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1e293b;
    padding: 8px 24px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 15px rgba(245, 158, 11, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: pulse-featured 2s infinite ease-in-out;
}

.featured-header-badge .featured-badge-modal i {
    font-size: 1.1rem;
    color: #1e293b;
}

.reservation-btn.featured-btn {
    background: linear-gradient(135deg, #f97316, #ea580c);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
}

.reservation-btn.featured-btn:hover {
    background: linear-gradient(135deg, #fb923c, #f97316);
    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.5);
    transform: translateY(-3px);
}

.info-modal-inner.featured-modal-inner .info-section {
    background: #fff;
    border-radius: 20px;
    margin: 20px 0;
}

/* ============================================
   CATEGORÍAS NAV (barra sticky)
============================================ */
.categorias-nav {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.96));
    border-bottom: 1px solid rgba(248, 250, 252, 0.9);
    box-shadow: 0 25px 45px rgba(15, 23, 42, 0.08);
    position: sticky;
    top: 150px;
    z-index: 900;
    padding: 18px 0;
    backdrop-filter: blur(12px);
}

.categorias-nav-container {
    justify-content: flex-start;
    max-width: min(1320px, 100%);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 18px;
    scroll-padding-right: 36px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.categorias-nav-container::after {
    content: '';
    flex: 0 0 20px;
}

.categorias-nav-container::-webkit-scrollbar {
    height: 4px;
}

.categorias-nav-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

@media (min-width: 769px) {
    .categorias-nav-container::-webkit-scrollbar {
        display: none;
    }

    .categorias-nav-container {
        scrollbar-width: none;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 10px;
        scroll-padding-right: 24px;
    }

    .categorias-nav-container::after {
        display: block;
        flex: 0 0 16px;
    }

    .categoria-nav-item {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
}

.categoria-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    padding: 12px 26px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.4s ease, filter 0.3s ease;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.18);
    position: relative;
    overflow: hidden;
}

.categoria-nav-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.5);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.categoria-nav-item:hover,
.categoria-nav-item:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2);
}

.categoria-nav-item:hover::after,
.categoria-nav-item:focus-visible::after {
    opacity: 1;
}

.categoria-nav-item:focus-visible {
    outline: 2px solid rgba(59, 130, 246, 0.5);
    outline-offset: 3px;
}

.categoria-nav-item.active {
    filter: saturate(1.15);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.25), 0 0 12px rgba(255, 255, 255, 0.35);
}

.categoria-nav-item.exclusivas {
    background: linear-gradient(135deg, #a855f7, #ec4899);
}

.categoria-nav-item.montaña {
    background: linear-gradient(135deg, #0ea5e9, #22c55e);
}

.categoria-nav-item.trekking {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.categoria-nav-item.movilidad {
    background: linear-gradient(135deg, #f97316, #facc15);
}

.categoria-nav-item.hoteles {
    background: linear-gradient(135deg, #ec4899, #f472b6);
}

.categoria-nav-item.escolares {
    background: linear-gradient(135deg, #84cc16, #65a30d);
}

.categoria-nav-item.tours {
    background: linear-gradient(135deg, #64748b, #0f172a);
}

@media (min-width: 1024px) {
    .categorias-nav-container {
        gap: 12px;
        padding: 0 20px;
        justify-content: center;
    }

    .categorias-nav-container::after {
        flex: 0 0 12px;
    }

    .categoria-nav-item {
        padding: 10px 18px;
        font-size: 0.9rem;
        gap: 8px;
    }

    .categoria-nav-item i {
        font-size: 0.95rem;
    }
}


/* ============================================
   MEDIA QUERIES (TODAS JUNTAS)
============================================ */
@media (max-width: 1200px) {
    .container {
        padding: 20px;
    }

    .header-content {
        padding: 0 20px;
    }
}

@media (max-width: 992px) {
    .portada {
        height: 600px;

    }

    .portada-text h1 {
        font-size: 2.2rem;
    }

    .portada-text p {
        font-size: 1.1rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
        min-height: 500px;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 10px;
        padding: 20px;
    }

    .gallery-thumbnail {
        height: 85px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
        /*60px*/
    }

    .header {
        padding: 8px 0;
        /*10px*/
    }

    .header-content {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 0;
        padding: 0 15px;
        max-width: 100%;
        margin: 0;
        position: relative;
    }

    .header-logo-center {
        flex: 0 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .header-actions-right {
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        display: flex;
        align-items: center;
        gap: 10px;
        padding-right: 16px;
    }

    .logo-img {
        height: 70px;
        width: auto;
        border-radius: 0 !important;
    }

    .logo-text {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
    }

    .logo-text h1 {
        font-size: 0.8rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100px;
        margin: 0;
    }

    .logo-text .brand-name {
        font-size: 0.8rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100px;
        margin: 0;
    }

    .logo-text p:not(.brand-name) {
        display: none;
    }

    .header-actions {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 3px;
        flex-shrink: 0;
    }

    .language-selector {
        display: flex;
        gap: 3px;
    }

    .lang-btn {
        padding: 4px 8px;
        font-size: 0.8rem;
        border-width: 1px;
    }

    .whatsapp-header {
        padding: 5px 8px;
        font-size: 0.8rem;
        white-space: nowrap;
        display: flex;
        align-items: center;
        gap: 0;
    }

    .whatsapp-header span {
        display: none;
    }

    .whatsapp-header i {
        margin: 0;
        font-size: 1.1rem;
    }

    .nav-link {
        padding: 4px 6px;
        font-size: 0.8rem;
    }

    .nav-link[data-nav="home"] {
        display: none;
    }

    .portada {
        height: 500px;
    }

    .portada-text {
        bottom: 80px;
        width: 80%;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        z-index: 10;
    }

    .portada-text h1 {
        font-size: 1.8rem;
    }

    .portada-text p {
        font-size: 1rem;
    }

    .page-header {
        margin-bottom: 10px;
    }

    .page-header h2 {
        font-size: 1.5rem;
    }

    .page-header-subtitle {
        display: block;
        font-size: 0.9rem;
        margin-top: 10px;
    }

    .category-filters {
        gap: 8px;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 5px 5px 15px 5px;
        -webkit-overflow-scrolling: touch;
    }

    .product-image {
        height: 250px;
    }

    .product-image img {
        height: 250px;
    }

    .image-fallback {
        height: 250px;
        font-size: 1.2rem;
    }

    .product-title {
        font-size: 1.2rem;
        min-height: 50px;
    }

    .basic-info-expanded {
        grid-template-columns: 1fr;
    }

    .gallery-main {
        padding: 20px;
        min-height: 350px;
        max-height: 400px;
    }

    .gallery-main-image img {
        max-height: 350px;
    }

    .gallery-header {
        padding: 20px;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 8px;
        padding: 15px;
        max-height: 150px;
    }

    .gallery-thumbnail {
        height: 75px;
    }

    .gallery-controls {
        padding: 15px;
    }

    .gallery-prev,
    .gallery-next {
        width: 50px;
        height: 50px;
    }

    .contact-info {
        padding: 30px 15px;
        margin-top: 40px;
    }

    .contact-info h2 {
        font-size: 1.6rem;
    }

    .contact-whatsapp {
        padding: 15px 25px;
        font-size: 1.1rem;
    }

    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    /* Ajustes para páginas de tour (churup, etc.) */
    .tour-info-content>div:first-child {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }

    .tour-info-content>div:first-child>div {
        padding: 20px !important;
    }

    .info-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .info-card h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .info-card>div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    .info-card>div[style*="display: flex"] {
        flex-direction: column;
        gap: 12px;
    }

    .info-card>div[style*="display: flex"]>div {
        padding: 15px !important;
    }

    .info-card ol {
        margin-left: 0;
        padding-left: 20px;
    }

    .info-card ol li {
        margin-bottom: 18px;
        font-size: 0.95rem;
    }

    .info-card>div[style*="grid-template-columns: repeat(auto-fit"] {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    .info-card>div[style*="grid-template-columns: repeat(auto-fit"]>div {
        padding: 12px !important;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .gallery-grid-item {
        height: 140px;
        border-radius: 8px;
    }

    .reservation-btn#reservarChurupBtn {
        width: 100%;
        padding: 16px 20px;
        font-size: 1.2rem;
        justify-content: center;
        border-radius: 50px;
    }

    /* Modales en móvil */
    .reserva-modal-content {
        width: 100%;
        max-width: 100%;
        min-height: unset;
        border-radius: 20px;
        margin: 0;
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        max-height: 90vh;
    }

    .reserva-modal {
        align-items: center;
        padding: 12px;
    }

    .reserva-modal-header {
        padding: 16px 20px;
    }

    .reserva-modal-header h3 {
        font-size: 1.15rem;
    }

    .reserva-modal-body {
        padding: 16px 18px 24px;
    }

    .form-group {
        margin-bottom: 14px;
    }

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 5px;
        font-weight: 600;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px;
        padding: 13px 14px;
        border-radius: 12px;
    }

    .btn-whatsapp-submit {
        padding: 16px;
        font-size: 1.1rem;
        border-radius: 50px;
        width: 100%;
    }

    .reservation-btn {
        font-size: 0.9rem;
        padding: 12px 16px;
    }

    .reservation-pricing-summary {
        padding: 12px 14px;
        font-size: 0.9rem;
        margin: 10px 0;
        border-radius: 12px;
    }

    .form-autofill-hint {
        font-size: 0.82rem;
        padding: 8px 12px;
    }

    .btn-map-text {
        display: none;
    }

    .close-btn {
        padding: 14px;
        border-radius: 50px;
    }

    .gallery-modal-content {
        width: 100%;
        height: 100%;
        max-width: none;
        border-radius: 0;
        margin: 0;
    }

    .gallery-header {
        padding: 15px 20px;
    }

    .gallery-header h3 {
        font-size: 1.2rem;
    }

    .gallery-main {
        padding: 10px;
        min-height: 300px;
        max-height: 350px;
    }

    .gallery-main-image img {
        max-height: 300px;
    }

    .image-counter {
        bottom: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
        padding: 10px;
        max-height: 120px;
    }

    .gallery-thumbnail {
        height: 70px;
    }

    .gallery-controls {
        padding: 10px;
        gap: 15px;
    }

    .gallery-prev,
    .gallery-next {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .legal-links {
        flex-direction: column;
        gap: 12px;
    }

    .legal-links a {
        padding: 5px 0;
        font-size: 0.95rem;
    }

    .social-links a {
        font-size: 2.4rem !important;
    }

    /* Modal de información en móvil */
    .info-modal-content {
        width: 95%;
        max-width: 95%;
        height: 90vh;
        margin: 0 auto;
        border-radius: 24px 24px 0 0;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        animation: slideUp 0.3s ease-out;
    }

    .info-modal {
        align-items: flex-end;
        padding: 0;
    }

    .info-modal-header {
        padding: 18px 20px;
    }

    .info-modal-header h3 {
        font-size: 1.3rem;
        line-height: 1.3;
    }

    .close-info-btn {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }

    .info-modal-body {
        padding: 20px;
        max-height: calc(90vh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .info-section {
        padding: 18px;
        margin-bottom: 20px;
    }

    .info-section h4 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .info-item {
        padding: 14px 16px;
    }

    .info-item i {
        font-size: 1.4rem;
    }

    .highlights-list li {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }

    .description-block {
        padding: 16px;
        font-size: 0.95rem;
    }

    .recommendations {
        padding: 16px;
        font-size: 0.95rem;
    }

    .info-modal-footer {
        margin-top: 20px;
        padding-top: 15px;
    }

    .info-modal-footer .reservation-btn {
        width: 100%;
        padding: 16px;
        font-size: 1.1rem;
    }

    .categorias-nav {
        padding: 10px 0;
        /* Elimina padding horizontal */
        width: 100%;
        left: 0;
        right: 0;
        box-sizing: border-box;
    }

    .categorias-nav {
        position: fixed;
        top: 85px;
        /* Altura del header en móvil */
        left: 0;
        right: 0;
        z-index: 899;
        padding: 10px 0;
        /* Padding solo vertical */
        background: #fff;
        /* Asegurar fondo */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        /* Sombra sutil */
    }

    .categorias-nav-container {
        max-width: 100%;
        padding: 0 10px;
        /* Padding horizontal */
        margin: 0;
        /* Eliminar margin-top */
        gap: 10px;
        justify-content: flex-start;
        box-sizing: border-box;
    }

    main.container {
        padding-top: 60px;
        /* Ajusta este valor */
    }

    .categoria-nav-item {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .categorias-nav-container::-webkit-scrollbar {
        display: none;
    }

    /* Ocultar scrollbar en Firefox */
    .categorias-nav-container {
        scrollbar-width: none;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 70px;
    }

    .portada {
        height: 300px;
    }

    .portada-text {
        bottom: 30px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: 400px;
    }

    .product-image {
        height: 220px;
    }

    .product-image img {
        height: 220px;
    }

    .image-fallback {
        height: 220px;
        font-size: 1.1rem;
    }

    .product-title {
        font-size: 1.1rem;
        min-height: 45px;
    }

    .price-amount {
        font-size: 1.6rem;
    }

    .basic-info-expanded {
        grid-template-columns: 1fr;
    }

    .gallery-modal-content {
        max-height: 85vh;
    }

    .gallery-main {
        min-height: 300px;
        max-height: 350px;
        padding: 15px;
    }

    .gallery-main-image img {
        max-height: 300px;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 6px;
        padding: 12px;
        max-height: 120px;
    }

    .gallery-thumbnail {
        height: 60px;
    }

    .contact-info {
        padding: 30px 15px;
        margin-top: 40px;
    }

    .contact-info h2 {
        font-size: 1.6rem;
    }

    .contact-whatsapp {
        padding: 15px 25px;
        font-size: 1.1rem;
    }

    .slider-dots {
        bottom: 15px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .header-content {
        justify-content: space-between;
    }

    .logo {
        width: auto;
        justify-content: center;
    }

    .whatsapp-header {
        max-width: 180px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid-item {
        height: 200px;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-thumbnail {
        height: 60px;
    }

    .reserva-modal-content {
        width: 100%;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        margin: 0;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        max-height: 90vh;
    }

    .reserva-modal {
        align-items: flex-end;
        padding: 0;
    }
}

@media (min-width: 769px) {
    .reserva-modal {
        align-items: flex-start;
        padding-top: 40px;
    }
}

@media (max-width: 400px) {
    .product-image {
        height: 200px;
    }

    .product-image img {
        height: 200px;
    }

    .gallery-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .featured-badge:active {
        opacity: 0.8;
        transform: scale(0.98);
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    }

    .gallery-thumbnail {
        height: 55px;
    }
}

/* ============================================
   ESTILOS ADICIONALES
============================================ */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #3b82f6;
    animation: spin 1s ease-in-out infinite;
    margin: 20px auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

img {
    transition: opacity 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

@media print {

    .header,
    .gallery-btn,
    .reservation-btn,
    .contact-info,
    .gallery-modal,
    .categorias-nav {
        display: none !important;
    }

    body {
        padding-top: 0;
        background: white;
    }

    .product-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

.featured-card {
    border: 3px solid #f59e0b;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.3), 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
    position: relative;
    z-index: 10;
    transition: all 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.5), 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: #fbbf24;
}

.featured-card .product-content {
    background: linear-gradient(to bottom, rgba(255, 247, 237, 0.5), rgba(255, 237, 213, 0.3));
    border-radius: 0 0 16px 16px;
}

a.logo {
    text-decoration: none;
    color: inherit;
    display: flex;
    /* para mantener la misma disposición que antes */
    align-items: center;
    gap: 15px;
}

.coming-soon-badge {
    background: #f59e0b;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-right: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.availability-notice-badge {
    background: #1d4ed8;
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 10px rgba(29, 78, 216, 0.35);
}

.developer-credit {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.developer-credit-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 4px;
}

.developer-credit a {
    color: inherit;
    text-decoration: none;
}

.developer-credit a:hover {
    color: #64748b;
    text-decoration: underline;
}

.reservation-btn:disabled,
.more-info-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(0.3);
}

.departure-dates-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.departure-pairs-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.departure-pair-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.92rem;
    font-weight: 600;
}

.departure-pair-line i {
    color: #3b82f6;
    font-size: 0.9rem;
}

.departure-pair-cupos {
    margin-left: 6px;
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.departure-date-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Listas de incluye y no incluye */
/* Premium style for includes/excludes */
.includes-list,
.excludes-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.includes-list li,
.excludes-list li {
    font-size: 1.08em;
    font-weight: 500;
    border-radius: 8px;
    margin-bottom: 8px;
    padding: 12px 18px;
    display: grid;
    grid-template-columns: 32px 1fr;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    transition: box-shadow 0.2s, background 0.2s;
    animation: itemFadeIn 0.5s cubic-bezier(.68, -0.55, .27, 1.55);
}

@keyframes itemFadeIn {
    0% {
        opacity: 0;
        transform: translateY(16px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.includes-list li {
    color: #198754;
    background: linear-gradient(90deg, #eafaf1 80%, #c8f7e5 100%);
    border-left: 4px solid #198754;
}

.includes-list li i {
    color: #198754;
    font-size: 1.5em;
    justify-self: center;
    margin-right: 0;
}

.excludes-list li {
    color: #dc3545;
    background: linear-gradient(90deg, #faeaea 80%, #f7c8c8 100%);
    border-left: 4px solid #dc3545;
}

.excludes-list li i {
    color: #dc3545;
    font-size: 1.5em;
    justify-self: center;
    margin-right: 0;
}

@media (max-width: 768px) {
    .info-modal-content {
        max-width: 98vw;
        border-radius: 18px;
        padding: 0;
    }

    .info-modal-header {
        padding: 14px 10px;
    }

    .info-modal-body {
        padding: 16px 6px 12px 6px;
    }

    .info-section,
    .info-section-premium {
        padding: 14px 8px;
        border-radius: 12px;
        margin-bottom: 18px;
    }

    .info-section h4,
    .info-section-premium h4 {
        font-size: 1.05rem;
        padding-bottom: 8px;
        margin-bottom: 10px;
    }

    .includes-list li,
    .excludes-list li {
        font-size: 0.98em;
        padding: 8px 8px;
        border-radius: 6px;
        grid-template-columns: 24px 1fr;
    }

    .includes-list li i,
    .excludes-list li i {
        font-size: 1.15em;
    }
}

.info-section-premium {
    margin-bottom: 32px;
    padding: 18px 0 0 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.info-section-premium h4 {
    font-size: 1.18em;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.info-section-premium .badge-premium {
    background: #198754;
    color: #fff;
    border-radius: 6px;
    padding: 4px 10px;
    margin-left: 10px;
    font-size: 0.95em;
    font-weight: 600;
}

.info-section-premium .badge-premium.badge-red {
    background: #dc3545;
}

/* Transición para el header */
.header {
    transition: transform 0.3s ease;
}

.header.hidden {
    transform: translateY(-100%);
}

/* Ajuste de la barra de categorías cuando el header está oculto */
body.header-hidden .categorias-nav {
    top: 0 !important;
}


/* nuevo */

/* ============================================
   HERO CON PARTÍCULAS Y MINIATURAS
============================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #111;
    margin-top: 0;
    /* Ajusta según el header */
    z-index: 1;
}

#canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    will-change: transform;
    transition: opacity 1s;
    z-index: 2;
    opacity: 0;
    transform: scale(1.1);
    pointer-events: none;
}

.parallax-layer.active {
    opacity: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    text-align: left;
    z-index: 10;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.55) 0%, rgba(20, 12, 0, 0.6) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem 2.5rem;
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 175, 55, 0.1) inset;
    max-width: 600px;
    width: auto;
    animation: float 6s ease-in-out infinite;
    transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2.5rem;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #f5e07a, #d4af37);
    border-radius: 0 0 4px 4px;
}

.hero-content:hover {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(30, 18, 0, 0.7) 100%);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 175, 55, 0.15);
}

@keyframes float {
    0% {
        transform: translateY(-50%) translateY(0px);
    }

    50% {
        transform: translateY(-50%) translateY(-10px);
    }

    100% {
        transform: translateY(-50%) translateY(0px);
    }
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 6vw, 3rem);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #f5e07a 0%, #d4af37 50%, #c9972a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 6px rgba(212, 175, 55, 0.4));
    line-height: 1.2;
    transition: opacity 0.5s ease-in-out;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    margin-bottom: 1rem;
    color: #f0d080;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    transition: opacity 0.5s ease-in-out;
}

.hero-descripcion {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 300;
    color: rgba(255, 245, 210, 0.95);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    transition: opacity 0.5s ease-in-out;
}

.mini-portadas {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    gap: 20px;
    z-index: 20;
    perspective: 1000px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 0 10px;
    align-items: center;
    overflow: visible;
    width: 100%;
    max-width: 1400px;
}

.mini-portadas-track {
    display: flex;
    flex-direction: row;
    gap: 20px;
    will-change: transform;
    /* El transform se maneja via JS para el loop infinito */
}

.mini-portadas-clip {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.mini-portadas.is-mobile-carousel {
    overflow: hidden;
}

.mini-portada {
    width: 180px;
    height: 240px;
    flex-shrink: 0;
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(20, 12, 0, 0.55) 0%, rgba(0, 0, 0, 0.45) 100%);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    aspect-ratio: 3 / 4;
}

/* Tablets en orientación vertical y horizontal (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .mini-portada {
        width: 140px;
        height: 186px; /* mantiene la misma relación 3:4 */
    }
    .mini-portada img {
        height: 70%; /* se ajusta automáticamente al nuevo alto */
    }
    .mini-portada span {
        font-size: 0.65rem; /* opcional, reduce el texto */
    }
}

/* Tablets grandes en orientación vertical (p. ej. Redmi Pad 2, 1600px de ancho) */
@media (orientation: portrait) and (min-width: 1025px) and (max-width: 1800px) {
    .mini-portada {
        width: 150px;
        height: 200px;
    }
    .mini-portada img {
        height: 70%;
    }
    .mini-portada span {
        font-size: 0.7rem;
    }
}

/* Tablets grandes en orientación horizontal */
@media (orientation: landscape) and (min-width: 1025px) {
    .mini-portada {
        width: 180px;
        height: 240px;
    }
}

/* Tablets y pantallas medianas (alternativa sin depender de orientación) */
@media (min-width: 1025px) and (max-width: 1600px) {
    .mini-portada {
        width: 150px;
        height: 200px;
    }
}

.mini-portada:hover {
    transform: scale(1.02);
    border-color: rgba(212, 175, 55, 0.7);
    box-shadow: 0 25px 35px rgba(0, 0, 0, 0.6), 0 0 15px rgba(212, 175, 55, 0.25);
}

.mini-portada.selected {
    border: 2px solid #d4af37;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.5), 0 0 8px rgba(212, 175, 55, 0.3);
    transform: scale(1.05);
}

.mini-portada img {
    width: 100%;
    height: 70%;
    object-fit: cover;
    aspect-ratio: 3 / 4;
    transition: transform 0.3s;
}

.mini-portada:hover img {
    transform: scale(1.1);
}

.mini-portada span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30%;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #f5e07a;
    background: linear-gradient(0deg, rgba(20, 12, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 100%);
    font-size: 0.7rem;
    padding: 0 3px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.02" d="M0,192L48,197.3C96,203,192,213,288,208C384,203,480,181,576,186.7C672,192,768,224,864,234.7C960,245,1056,235,1152,208C1248,181,1344,139,1392,117.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"/></svg>') repeat-x bottom;
    background-size: cover;
    z-index: 15;
    animation: wave 8s linear infinite;
    pointer-events: none;
}

@keyframes wave {
    0% {
        background-position-x: 0;
    }

    100% {
        background-position-x: 1440px;
    }
}

/* Orientación vertical (retrato) para tablets */
@media screen and (orientation: portrait) and (min-width: 768px) and (max-width: 1200px) {
    .mini-portadas {
        gap: 14px;
        bottom: 24px;
        padding: 0 16px;
    }

    .mini-portada {
        width: 168px;
        height: 224px;
        aspect-ratio: 3 / 4;
    }

    .mini-portada img {
        width: 100%;
        height: 70%;
        object-fit: cover;
    }

    .mini-portada span {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        line-height: 1.15;
        font-size: 0.68rem;
        padding: 4px 4px;
    }
}

/* Orientación horizontal (paisaje) para tablets */
@media screen and (orientation: landscape) and (min-width: 768px) and (max-width: 1200px) {
    .mini-portadas {
        gap: 16px;
        bottom: 22px;
        padding: 0 20px;
    }

    .mini-portada {
        width: 192px;
        height: 256px;
        aspect-ratio: 3 / 4;
    }

    .mini-portada img {
        width: 100%;
        height: 70%;
        object-fit: cover;
    }

    .mini-portada span {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        line-height: 1.15;
        font-size: 0.72rem;
        padding: 4px 4px;
    }
}

/* Ajustes responsive */
@media (max-width: 768px) {
    .mini-portada {
        width: 130px;
        height: 170px;
        aspect-ratio: 3 / 4;
    }

    .mini-portada img {
        width: 100%;
        height: 70%;
        object-fit: cover;
    }

    .mini-portada span {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        line-height: 1.1;
        padding: 3px 2px;
    }

    .hero-content {
        top: 15% !important;
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, 0) !important;
        padding: 1.5rem !important;
        max-width: 90% !important;
        width: 90% !important;
        text-align: center !important;
    }
}

@media (max-width: 600px) {
    .hero {
        height: 100vh;
        min-height: 600px;
    }

    .mini-portadas {
        gap: 8px;
        bottom: 20px;
        padding: 0 5px;
        flex-wrap: nowrap;
        overflow-x: visible;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .mini-portadas-track {
        gap: 8px;
    }

    .mini-portadas::-webkit-scrollbar {
        display: none;
    }

    .mini-portada {
        width: 110px;
        height: 150px;
        flex-shrink: 0;
        aspect-ratio: 3 / 4;
    }

    .mini-portada img {
        width: 100%;
        height: 70%;
        object-fit: cover;
    }

    .mini-portada span {
        font-size: 0.55rem;
        padding: 5px 2px;
        line-height: 1.2;
    }

    .hero-content {
        left: 50% !important;
        right: auto !important;
        top: 18% !important;
        transform: translate(-50%, 0) !important;
        padding: 1rem 1.2rem !important;
        max-width: 92% !important;
        width: 92% !important;
        text-align: center !important;
        border-radius: 15px !important;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }

    .hero-descripcion {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .hero-logo img {
        width: 60px;
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
        transition: transform 0.3s ease, filter 0.4s ease;
    }

    .whatsapp-floating {
        width: 55px;
        height: 55px;
        bottom: 25px;
        right: 15px;
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .whatsapp-floating {
        left: 80%;
        right: auto;
        transform: translateX(-50%);
        bottom: 180px;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 400px) {
    .mini-portada {
        width: 100px;
        height: 140px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .hero-descripcion {
        font-size: 0.8rem;
    }
}

/* Ajuste para que el hero no quede tapado por el header */
.header.hidden+.hero {
    margin-top: -115px;
    /* Compensa cuando el header se oculta */
}

@media (max-width: 768px) {
    /* ... otras reglas para móvil ... */

    .mini-portadas {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }
    .mini-portadas::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
}
