/* ==========================================================================
   CSS PRINCIPAL: Togas Parral - Estilo Bento Box PREMIUM (Clean & Light Theme)
   ========================================================================== */

/* IMPORTACIÓN DE FUENTES */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* ── PANTONE PALETTE 2026 (Togas Parral) ── */
    --p-limo:      #2B2B2B;   /* Stretch Limo    19-4005 */
    --p-cloud:     #EEEDE5;   /* Cloud Dancer    11-4201 */
    --p-scarlet:   #9B1C2E;   /* Scarlet Smile   19-1558 */
    --p-bordeaux:  #7D3A52;   /* Bordeaux        17-1710 */
    --p-dragon:    #2A6B7C;   /* Dragonfly       19-4826 */
    --p-graphite:  #5A5B3A;   /* Graphite        20-0188 */
    --p-satin:     #9A8B78;   /* Satin Slipper   20-0020 */
    --p-micron:    #666461;   /* Micron          20-0007 */

    /* ── Superficie y bordes ── */
    --bg-main:          #EDECEA;   /* Cloud Dancer suavizado */
    --bg-card:          rgba(255, 255, 255, 0.92);
    --bg-card-hover:    #ffffff;
    --border-color:     rgba(43, 43, 43, 0.07);
    --border-color-hover: rgba(155, 28, 46, 0.3);

    /* ── Acentos dorados (mantenidos para el logo) ── */
    --gold:        #b58c23;
    --gold-bright: #d4af37;
    --gold-glow:   rgba(181, 140, 35, 0.12);
    --gold-dark:   #8c6d1d;

    /* ── Acentos de acción (basados en Scarlet/Bordeaux) ── */
    --accent:        var(--p-scarlet);
    --accent-soft:   rgba(155, 28, 46, 0.08);
    --accent-border: rgba(155, 28, 46, 0.22);
    --accent2:       var(--p-bordeaux);
    --accent3:       var(--p-dragon);

    /* ── Kids (Dragonfly teal) ── */
    --kids-blue:  var(--p-dragon);
    --kids-orange: #ea580c;
    --kids-glow:  rgba(42, 107, 124, 0.1);

    /* ── Texto (legible en Cloud Dancer bg) ── */
    --text-title:     #1a1a1a;
    --text-primary:   #2d2d2d;
    --text-secondary: #4a4a4a;
    --text-muted:     var(--p-micron);

    /* ── Tipografías ── */
    --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    --font-body:    'Outfit', sans-serif;
    --font-alt:     'Montserrat', sans-serif;

    /* ── Efectos ── */
    --glass-blur:        blur(14px);
    --transition-premium: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-premium:    24px;

    /* ── Emboss/Bevel base ── */
    --shadow-emboss:
        3px 3px 8px  rgba(43, 43, 43, 0.10),
       -2px -2px 6px rgba(255, 255, 255, 0.82);
    --shadow-emboss-hover:
        6px 6px 18px rgba(43, 43, 43, 0.16),
       -3px -3px 8px rgba(255, 255, 255, 0.95),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(43, 43, 43, 0.04);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    /* Textura muy sutil sobre el Cloud Dancer */
    background-image:
        radial-gradient(circle at 15% 10%, rgba(155, 28, 46, 0.03) 0%, transparent 45%),
        radial-gradient(circle at 85% 85%, rgba(42, 107, 124, 0.03) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(125, 58, 82, 0.02) 0%, transparent 60%);
}

/* ESTRUCTURA CONTENEDOR */
.site-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 24px 60px;
}

/* CABECERA PRINCIPAL (Clean navigation) */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    position: relative; /* Para posicionar el menú móvil */
}

.brand-identity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    height: 58px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.04));
    transition: var(--transition-premium);
}

.nav-logo:hover {
    transform: scale(1.03);
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-title);
    cursor: pointer;
    padding: 8px;
    transition: var(--transition-premium);
    z-index: 100;
}

.mobile-menu-toggle:hover {
    color: var(--gold);
    transform: scale(1.05);
}

.mobile-menu-toggle:focus {
    outline: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: var(--transition-premium);
    position: relative;
}

.nav-link:hover {
    color: var(--gold);
}

.nav-cta {
    background: #0f172a; /* Negro elegante para contrastar con el fondo claro */
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    transition: var(--transition-premium);
    border: 1px solid transparent;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(181, 140, 35, 0.25);
    background: var(--gold);
    color: #fff;
}

/* ==========================================================================
   DISEÑO BENTO BOX GRID
   ========================================================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 20px;
}

/* TARJETA BENTO COMÚN */
.bento-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-premium);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 30px;
    transition: var(--transition-premium);
    /* Efecto emboss base: sombra exterior + highlight superior */
    box-shadow: var(--shadow-emboss);
    z-index: 1;
}

/* Halo de luz fluida en hover */
.bento-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(700px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(155, 28, 46, 0.04), transparent 40%);
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.bento-card:hover {
    transform: translateY(-6px) scale(1.005);
    border-color: var(--border-color-hover);
    background-color: var(--bg-card-hover);
    /* Efecto emboss elevado en hover */
    box-shadow: var(--shadow-emboss-hover);
}

/* SPANS DEL GRID */
.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }
.col-span-4 { grid-column: span 4; }
.row-span-2 { grid-row: span 2; }

/* BLOQUES BENTO ESPECÍFICOS */

/* 1. HERO BLOCK (2x2) */
.block-hero {
    justify-content: flex-end;
    background-color: #0c0f13;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.block-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(12, 15, 19, 0.94) 20%, rgba(12, 15, 19, 0.35) 100%);
    z-index: 2;
    pointer-events: none;
}

.block-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    z-index: 1;
    opacity: 0.65;
    transition: var(--transition-premium);
}

.block-hero:hover .block-hero-bg {
    transform: scale(1.03);
    opacity: 0.75;
}

.block-hero .badge,
.block-hero h1,
.block-hero p,
.block-hero .cta-row {
    position: relative;
    z-index: 3;
}


.block-hero .badge {
    background: rgba(181, 140, 35, 0.15);
    color: var(--gold-bright);
    border: 1px solid rgba(181, 140, 35, 0.3);
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    align-self: flex-start;
    margin-bottom: 15px;
}

.block-hero h1 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 12px;
    color: #ffffff;
}

.block-hero p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    max-width: 480px;
    margin-bottom: 25px;
    font-weight: 300;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.block-hero .cta-row {
    display: flex;
    gap: 15px;
    align-items: center;
}

.block-hero .nav-cta {
    background: var(--gold);
    color: #fff;
    box-shadow: 0 4px 15px rgba(181, 140, 35, 0.3);
}

.block-hero .nav-cta:hover {
    background: var(--gold-bright);
    color: #000;
    box-shadow: 0 8px 22px rgba(181, 140, 35, 0.5);
}

.block-hero .nav-link {
    color: #ffffff;
}
.block-hero .nav-link:hover {
    color: var(--gold-bright);
}

/* 2. BLOCK KIDS (1x2) - Clean Light Mode */
.block-kids {
    background: #ffffff;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    border-color: var(--border-color);
    padding: 20px 16px;
    position: relative;
    overflow: hidden;
}

.kids-header,
.gradito-mascot,
.kids-footer {
    position: relative;
    z-index: 3;
}


.block-kids:hover {
    border-color: var(--kids-blue);
    box-shadow: 0 15px 35px var(--kids-glow), 0 10px 25px rgba(0, 0, 0, 0.02);
}

.kids-logo {
    max-width: 120px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(37, 99, 235, 0.12));
    margin: 4px 0 2px;
    transition: var(--transition-premium);
}

.block-kids:hover .kids-logo {
    transform: scale(1.06) rotate(2deg);
}

/* 🎓 MASCOTA GRADITO® */
.gradito-mascot {
    max-width: 68px;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
    transition: transform 0.4s ease;
    animation: floatGradito 4s ease-in-out infinite;
    margin: 4px auto;
}

.block-kids:hover .gradito-mascot {
    transform: scale(1.1) rotate(-4deg);
}

@keyframes floatGradito {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50%      { transform: translateY(-5px) rotate(2.5deg); }
}

.gradito-modal-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    background: rgba(42, 107, 124, 0.05);
    border: 1px solid rgba(42, 107, 124, 0.15);
    padding: 14px 20px;
    border-radius: 16px;
}

.gradito-modal-img {
    width: 65px;
    height: auto;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.12));
}


.kids-tag {
    font-size: 0.58rem;
    font-weight: 800;
    color: var(--kids-blue);
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.15);
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 2px;
}

.block-kids h3 {
    font-family: var(--font-alt);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 4px;
}

.block-kids p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.35;
    padding: 0 4px;
}

.kids-btn {
    border: 1px solid rgba(42, 107, 124, 0.35);
    background: var(--p-dragon);
    color: #ffffff;
    padding: 8px 18px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-premium);
    margin-top: 8px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(42, 107, 124, 0.25);
}

.block-kids:hover .kids-btn {
    background: #1e5260;
    color: #fff;
    border-color: #1e5260;
    box-shadow: 0 6px 16px rgba(42, 107, 124, 0.4);
}


/* 🔒 PROTECCIÓN DE PRIVACIDAD EN FOTO INFANTIL (KIDS BLUR) */
.kids-blur-photo {
    filter: blur(8px) saturate(1.1) brightness(0.96);
    transform: scale(1.08); /* Ligera escala para ocultar bordes difuminados */
    transition: filter 0.4s ease, transform 0.4s ease;
}

/* 🎥 BLOCK VIDEO BENTO BOX (1x2 Vertical Video Edge-to-Edge) */
.block-video {
    position: relative;
    padding: 0 !important;
    margin: 0;
    overflow: hidden;
    background: #000000;
    border-radius: var(--radius-premium) !important;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-emboss);
}

.bento-video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-premium);
    display: block;
}

.video-bento-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.15) 0%,
        transparent 40%,
        rgba(0, 0, 0, 0.75) 100%
    );
    z-index: 2;
    pointer-events: none;
    border-radius: var(--radius-premium);
}

.video-bento-info {
    z-index: 3;
    pointer-events: auto;
    margin-bottom: 24px; /* Espacio para barra de controles de video del navegador */
}

.video-title-light {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
    letter-spacing: 0.5px;
    margin: 0;
}
    gap: 8px;
}

.video-ctrl-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-premium);
}

.video-ctrl-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(181, 140, 35, 0.4);
}

/* 📦 PAQUETES KIDS (Grid de Precios y Beneficios) */
.kids-packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0 15px;
}

@media (max-width: 860px) {
    .kids-packages-grid {
        grid-template-columns: 1fr;
    }
}

.package-card {
    background: #ffffff;
    border: 1px solid rgba(43, 43, 43, 0.08);
    border-radius: 20px;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: visible;
    box-shadow: var(--shadow-emboss);
    transition: var(--transition-premium);
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-emboss-hover);
}

.package-featured {
    border: 2px solid var(--p-scarlet);
    background: linear-gradient(180deg, #ffffff 0%, rgba(155, 28, 46, 0.02) 100%);
}

.package-tag-popular {
    position: absolute;
    top: -14px;
    right: 16px;
    background: var(--p-scarlet);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(155, 28, 46, 0.4);
    z-index: 10;
    white-space: nowrap;
    line-height: 1;
}

.package-badge {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    align-self: flex-start;
    margin-bottom: 12px;
}

.badge-p1 { background: rgba(42, 107, 124, 0.12); color: var(--p-dragon); }
.badge-p2 { background: rgba(155, 28, 46, 0.12); color: var(--p-scarlet); }
.badge-pesp { background: rgba(125, 58, 82, 0.12); color: var(--p-bordeaux); }

.package-price {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 14px;
}

.package-price span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.package-features li {
    font-size: 0.76rem;
    color: var(--text-primary);
    line-height: 1.45;
}

.package-btn {
    display: block;
    text-align: center;
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: var(--transition-premium);
}

.btn-p1 { background: var(--p-dragon); color: #ffffff; }
.btn-p1:hover { background: #1e5260; box-shadow: 0 4px 12px rgba(42, 107, 124, 0.3); }

.btn-p2 { background: var(--p-scarlet); color: #ffffff; }
.btn-p2:hover { background: #7e1625; box-shadow: 0 4px 12px rgba(155, 28, 46, 0.3); }

.btn-pesp { background: var(--p-bordeaux); color: #ffffff; }
.btn-pesp:hover { background: #612c3f; box-shadow: 0 4px 12px rgba(125, 58, 82, 0.3); }


.block-togas {
    justify-content: space-between;
    background-color: #ffffff;
}

.icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(181, 140, 35, 0.06);
    border: 1px solid rgba(181, 140, 35, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: var(--transition-premium);
}

.bento-card:hover .icon-wrapper {
    background: var(--gold);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(181, 140, 35, 0.25);
}

.block-text h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-title);
}

.block-text p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.5;
}

/* 4. ESTUDIO & FOTO (1x1) - Clean Light Mode */
.block-foto {
    justify-content: space-between;
    background-color: #ffffff;
}

/* 5. BUSCADOR DE GALERÍAS (2x1) - Clean Light Mode */
.block-search {
    justify-content: center;
    background: #ffffff;
    border-color: rgba(181, 140, 35, 0.08);
}

.search-inner {
    max-width: 480px;
    width: 100%;
}

.block-search h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-title);
    display: flex;
    align-items: center;
    gap: 8px;
}

.block-search h3 svg {
    color: var(--gold);
}

.block-search p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 18px;
    font-weight: 300;
}

.search-input-group {
    display: flex;
    gap: 10px;
    position: relative;
}

.search-input-group input {
    flex: 1;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 30px;
    padding: 12px 22px;
    color: var(--text-title);
    font-family: inherit;
    font-size: 0.85rem;
    transition: var(--transition-premium);
}

.search-input-group input:focus {
    outline: none;
    border-color: var(--gold);
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(181, 140, 35, 0.08);
}

.search-input-group button {
    background: #0f172a; /* Botón oscuro formal de contraste */
    color: #ffffff;
    border: none;
    padding: 0 24px;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-premium);
}

.search-input-group button:hover {
    background: var(--gold);
    box-shadow: 0 4px 12px rgba(181, 140, 35, 0.3);
}

/* 6. TRAYECTORIA & STATS (1x1) - Clean Light Mode */
.block-stats {
    justify-content: space-between;
    text-align: center;
    background-color: #ffffff;
    background-image: radial-gradient(rgba(181, 140, 35, 0.03) 1.5px, transparent 0);
    background-size: 16px 16px;
}

.stat-number {
    font-family: var(--font-alt);
    font-weight: 800;
    font-size: 3rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-title);
    margin-bottom: 6px;
}

.stat-desc {
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.4;
}

/* 7. CONTACTO & UBICACIÓN (1x1) - Clean Light Mode */
.block-contacto {
    justify-content: space-between;
    background-color: #ffffff;
}

.contacto-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.contacto-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-title);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.025);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition-premium);
}

.contacto-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--gold-dark);
}

.contacto-item:hover {
    background: var(--gold-glow);
    color: var(--gold-dark);
    border-color: rgba(181, 140, 35, 0.25);
    transform: translateX(3px);
}

/* ==========================================================================
   SISTEMA DE MODALES LIGHTBOX (TOGAS, FOTOS, KIDS, VIDEO Y PRODUCTOS)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 14, 22, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: #ffffff;
    border-radius: var(--radius-premium);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    max-width: 780px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 35px;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    border: none;
    color: var(--text-title);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-premium);
    z-index: 10;
}

.modal-close:hover {
    background: var(--p-scarlet);
    color: #ffffff;
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 20px;
}

.modal-badge {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 8px;
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-title);
}

.modal-intro {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* ==========================================================================
   ELEMENTOS DE INTERFAZ & RESPONSIVIDAD
   ========================================================================== */


/* ANIMACIÓN FLOATING */
.float-effect {
    animation: float 6s ease-in-out infinite;
}

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

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

/* ═══════════════════════════════════════════════════════════════
   📱 RESPONSIVIDAD — BENTO GRID & ELEMENTOS GENERALES
   ═══════════════════════════════════════════════════════════════ */

/* ── Tablet grande (≤1024px) ─────────────────────────────────── */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 230px;
    }

    .block-hero {
        grid-column: span 2;
    }

    .block-kids {
        grid-column: span 1;
        grid-row: span 2;
    }

    .block-video {
        grid-column: span 1;
        grid-row: span 2;
    }

    .block-search {
        grid-column: span 3 !important;
    }
}

/* ── Tablet (≤768px) ─────────────────────────────────────────── */
@media (max-width: 768px) {
    /* Navegación */
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(0, 0, 0, 0.05);
        border-radius: var(--radius-premium);
        padding: 24px 20px;
        gap: 16px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
        z-index: 99;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    /* Bento Grid */
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
        gap: 14px;
    }

    .bento-card {
        grid-column: span 2;
        grid-row: span 1 !important;
        padding: 22px 18px;
        min-height: 200px;
    }

    /* Tarjetas medianas: 1 columna c/u */
    .block-togas,
    .block-foto,
    .block-stats,
    .block-contacto {
        grid-column: span 1 !important;
        min-height: 200px;
    }

    .block-hero {
        min-height: 360px;
    }

    .block-kids {
        min-height: 300px;
    }

    .block-video {
        grid-column: span 2 !important;
        min-height: 400px !important;
    }

    .block-search {
        grid-column: span 2 !important;
    }

    /* Hero typography */
    .block-hero h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .block-hero p {
        font-size: 0.84rem;
        line-height: 1.5;
    }

    /* CTA row — dos botones apilados */
    .cta-row {
        flex-wrap: wrap;
        gap: 10px;
    }

    .stat-number {
        font-size: 2.4rem;
    }

    .main-nav {
        padding: 10px 0 14px;
    }
}

/* ── Móvil (≤480px) ──────────────────────────────────────────── */
@media (max-width: 480px) {
    .site-wrapper {
        padding: 12px 14px 36px;
    }

    /* Hero */
    .block-hero {
        min-height: 320px;
        padding: 18px 16px;
    }

    .block-hero h1 {
        font-size: 1.4rem;
        line-height: 1.2;
    }

    .block-hero p {
        font-size: 0.8rem;
        display: none; /* Ocultamos párrafo largo en pantallas muy pequeñas */
    }

    /* CTA row — cada botón ocupa 100% */
    .cta-row {
        flex-direction: column;
        gap: 8px;
    }

    .cta-row .nav-cta,
    .cta-row .btn-video-hero,
    .cta-row .nav-link {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Tarjetas 1x1 a ancho completo en móvil pequeño */
    .block-togas,
    .block-foto,
    .block-stats,
    .block-contacto {
        grid-column: span 2 !important;
        min-height: 170px;
    }

    /* Búsqueda */
    .search-input-group {
        flex-direction: column;
        gap: 10px;
    }

    .search-input-group input {
        width: 100%;
        text-align: left;
        font-size: 0.9rem;
    }

    .search-input-group button {
        width: 100%;
        padding: 12px;
    }

    /* Kids block */
    .block-kids {
        min-height: 280px;
    }

    /* Stats */
    .stat-number {
        font-size: 2rem;
    }

    /* Nav logo más pequeño */
    .nav-logo {
        height: 44px;
    }
}

/* ── Móvil muy pequeño (≤360px) ──────────────────────────────── */
@media (max-width: 360px) {
    .block-hero h1 {
        font-size: 1.2rem;
    }

    .site-wrapper {
        padding: 10px 12px 30px;
    }

    .bento-grid {
        gap: 10px;
    }
}



/* ==========================================================================
   ESTILOS DE VENTANAS EMERGENTES (MODALES)
   ========================================================================== */

.ver-detalles {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-top: 10px;
    display: inline-block;
    transition: var(--transition-premium);
}

.bento-card:hover .ver-detalles {
    color: var(--gold-bright);
    transform: translateX(5px);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.modal-container {
    background: #ffffff;
    width: 90%;
    max-width: 620px;
    border-radius: 28px;
    padding: 35px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--text-primary);
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-premium);
}

.modal-close:hover {
    background: #e2e8f0;
    color: var(--text-title);
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 25px;
}

.modal-badge {
    background: var(--gold-glow);
    color: var(--gold-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 8px;
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-title);
    line-height: 1.3;
}

.modal-intro {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Info Grid (Alquiler) */
.info-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.info-card {
    background: #f8fafc;
    border: 1px solid rgba(0,0,0,0.03);
    padding: 20px;
    border-radius: 18px;
}

.info-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 10px;
}

.info-card ul {
    list-style: none;
    padding-left: 0;
}

.info-card ul li {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.info-card ul li::before {
    content: "•";
    color: var(--gold);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.info-card ul li strong {
    color: var(--text-title);
}

/* Listado de Paquetes (Fotografía) */
.packages-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.package-item {
    background: #f8fafc;
    border: 1px solid rgba(0,0,0,0.04);
    padding: 20px;
    border-radius: 18px;
    transition: var(--transition-premium);
}

.package-item.featured {
    border-color: rgba(181, 140, 35, 0.25);
    background: rgba(181, 140, 35, 0.02);
    box-shadow: 0 4px 20px rgba(181, 140, 35, 0.04);
}

.package-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.package-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-title);
}

.package-item.featured h3 {
    color: var(--gold-dark);
}

.package-price {
    font-family: var(--font-alt);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--gold-dark);
}

.package-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.package-item ul {
    list-style: none;
    padding-left: 0;
}

.package-item ul li {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    padding-left: 15px;
    position: relative;
}

.package-item ul li::before {
    content: "✓";
    color: var(--gold);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 0.75rem;
}

.package-item ul li strong {
    color: var(--text-title);
}

/* Botones del Modal */
.modal-action-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 25px;
}

.modal-cta {
    display: inline-block;
    padding: 12px 30px;
    font-size: 0.82rem;
}

/* ── Modales en Tablet (≤768px) ──────────────────────────────── */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        padding: 28px 22px;
        max-height: 92vh;
        border-radius: 20px;
    }

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

    /* Kids packages: de 3 columnas a 1 */
    .kids-packages-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* Info grid en modal togas: una columna */
    .info-grid {
        gap: 14px;
    }

    /* Catálogo en modal: una columna */
    .frames-catalog-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ── Modales en Móvil (≤480px) ───────────────────────────────── */
@media (max-width: 480px) {
    .modal-container {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .modal-header h2 {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    .modal-badge {
        font-size: 0.6rem;
    }

    .package-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .modal-action-row {
        justify-content: center;
    }

    .modal-cta {
        width: 100%;
        text-align: center;
    }

    /* Video modal: sin padding lateral excesivo */
    .video-modal-container {
        padding: 18px 14px !important;
    }

    /* Bento compact grid (modal catálogo resumen) */
    .bento-compact-grid {
        grid-template-columns: 1fr !important;
    }

    /* Product lightbox: visor arriba, detalle abajo */
    .product-modal-content {
        grid-template-columns: 1fr !important;
        min-height: auto !important;
    }

    .product-viewer {
        border-right: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .main-image-wrapper {
        min-height: 230px !important;
    }

    .product-details {
        padding: 22px 16px !important;
    }

    .product-details h2 {
        font-size: 1.35rem;
    }
}


/* ==========================================================================
   NUEVOS ESTILOS: FOOTER PREMIUM & ELEMENTOS DE CATÁLOGO / TABLAS DE TALLAS
   ========================================================================== */

/* FOOTER PREMIUM */
.site-footer {
    padding: 60px 0 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-title);
    border-bottom: 2px solid var(--gold-glow);
    padding-bottom: 8px;
    align-self: flex-start;
}

.footer-address {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-map-link {
    font-size: 0.8rem;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-premium);
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
}

.footer-map-link:hover {
    color: var(--gold-bright);
    transform: translateX(4px);
}

.footer-phone-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.footer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 5px;
}

.footer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-premium);
}

.btn-call {
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.btn-call:hover {
    background: var(--gold);
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(181, 140, 35, 0.2);
    transform: translateY(-1px);
}

.btn-whatsapp {
    background: rgba(37, 99, 235, 0.05);
    color: var(--kids-blue);
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.btn-whatsapp:hover {
    background: var(--kids-blue);
    color: #ffffff;
    border-color: var(--kids-blue);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.2);
    transform: translateY(-1px);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* TABLA DE TALLAS */
.size-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.size-table th {
    background: #0f172a;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 10px 14px;
    text-align: left;
}

.size-table td {
    background: #ffffff;
    color: var(--text-secondary);
    font-size: 0.78rem;
    padding: 8px 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.size-table tr:last-child td {
    border-bottom: none;
}

.size-table tr:hover td {
    background: #f8fafc;
}

/* CATÁLOGO DE CUADROS EN MODAL */
.frames-catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 15px;
}

.catalog-section {
    background: #ffffff;
    padding: 15px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.catalog-section h5 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.catalog-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-style: italic;
    line-height: 1.3;
}

.catalog-section ul {
    list-style: none;
    padding-left: 0;
}

.catalog-section ul li {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    padding-left: 12px;
    position: relative;
    line-height: 1.4;
}

.catalog-section ul li::before {
    content: "•";
    color: var(--gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.badge-new {
    background: var(--kids-orange);
    color: #ffffff;
    font-size: 0.58rem;
    padding: 1px 6px;
    border-radius: 8px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ── Footer y elementos adicionales (≤768px) ─────────────────── */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .footer-col h4 {
        align-self: center;
    }

    .footer-map-link {
        align-self: center;
    }

    .frames-catalog-grid {
        grid-template-columns: 1fr;
    }

    /* Footer padding reducido */
    .site-footer {
        padding: 40px 0 20px;
        margin-top: 40px;
    }

    /* Catalog page controls: búsqueda y tabs apilados */
    .catalog-page-controls {
        padding: 0 14px;
    }

    .catalog-tabs {
        gap: 8px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .catalog-tabs::-webkit-scrollbar {
        display: none;
    }

    .cat-tab {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    /* Catalog page header */
    .catalog-page-header h1 {
        font-size: 1.8rem !important;
    }

    /* Products grid: 2 columnas en tablet */
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
}

/* ── Footer y catálogo en Móvil (≤480px) ─────────────────────── */
@media (max-width: 480px) {
    .site-footer {
        padding: 30px 0 16px;
        margin-top: 30px;
    }

    .footer-btn {
        font-size: 0.75rem;
        padding: 10px 16px;
    }

    /* Catalog page: 1 columna en móvil */
    .products-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .catalog-page-header h1 {
        font-size: 1.4rem !important;
    }

    .catalog-page-header p {
        font-size: 0.85rem !important;
    }

    /* Tabla de tallas en móvil: texto más pequeño */
    .size-table th,
    .size-table td {
        padding: 10px 14px;
        font-size: 0.82rem;
    }

    /* Accordion */
    .accordion-header {
        padding: 16px 18px;
    }

    .acc-title {
        font-size: 0.95rem;
    }

    .acc-icon {
        width: 38px;
        height: 38px;
    }
}

/* ── Footer y catálogo en Móvil muy pequeño (≤360px) ─────────── */
@media (max-width: 360px) {
    .catalog-page-header h1 {
        font-size: 1.2rem !important;
    }

    .prod-img-wrapper {
        height: 180px !important;
    }
}


/* ==========================================================================
   SECCIÓN DE CATÁLOGO Y LIGHTBOX MODAL
   ========================================================================== */

.catalog-section {
    margin-top: 80px;
    padding: 60px 30px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-premium);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.catalog-header {
    text-align: center;
    margin-bottom: 50px;
}

.catalog-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--text-title);
    margin-top: 10px;
    margin-bottom: 12px;
}

.catalog-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Controles de Búsqueda */
.catalog-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 30px;
}

.catalog-search-wrapper {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.catalog-search-wrapper input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    color: var(--text-title);
    border-radius: 30px;
    outline: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    transition: var(--transition-premium);
}

.catalog-search-wrapper input:focus {
    border-color: var(--gold);
    box-shadow: 0 6px 15px rgba(181, 140, 35, 0.12);
}

.catalog-search-wrapper .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

/* ══════════════════════════════════════════════
   ACORDEÓN DE CATÁLOGO — BENTO BOX PREMIUM
   ══════════════════════════════════════════════ */

/* Contenedor de cada acordeón */
.catalog-accordion {
    border: 1px solid rgba(0, 0, 0, 0.055);
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.025);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    margin-bottom: 14px;
}

.catalog-accordion:last-child { margin-bottom: 0; }

.catalog-accordion:hover {
    box-shadow: 0 8px 32px rgba(181, 140, 35, 0.07);
    border-color: rgba(181, 140, 35, 0.18);
}

/* ── Encabezado (botón) ── */
.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 16px;
    transition: background 0.25s ease;
    position: relative;
}

.accordion-header::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--gold), var(--gold-dark));
    border-radius: 0 2px 2px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.accordion-header.acc-open::before,
.accordion-header:hover::before { opacity: 1; }

.accordion-header:hover { background: rgba(181, 140, 35, 0.025); }
.accordion-header.acc-open { background: rgba(181, 140, 35, 0.03); }

/* Lado izquierdo: icono + títulos */
.acc-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.acc-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gold-glow) 0%, rgba(181,140,35,0.08) 100%);
    border: 1px solid rgba(181, 140, 35, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease;
}

.accordion-header.acc-open .acc-icon,
.accordion-header:hover .acc-icon {
    background: linear-gradient(135deg, rgba(181,140,35,0.15) 0%, rgba(181,140,35,0.05) 100%);
    transform: scale(1.05);
}

.acc-titles {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.acc-badge {
    font-size: 0.58rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--gold-dark);
    opacity: 0.8;
}

.acc-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-title);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Lado derecho: conteo + chevron */
.acc-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.acc-count {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.04);
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease;
}

.accordion-header.acc-open .acc-count {
    background: var(--gold-glow);
    color: var(--gold-dark);
}

.acc-chevron {
    color: var(--text-muted);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s ease;
    flex-shrink: 0;
}

.accordion-header.acc-open .acc-chevron {
    transform: rotate(180deg);
    color: var(--gold-dark);
}

/* ── Cuerpo colapsable (grid-template-rows = animación más suave) ── */
.accordion-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-body.acc-open {
    grid-template-rows: 1fr;
}

.accordion-inner {
    overflow: hidden;
    padding: 0 28px;
    transition: padding 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-body.acc-open .accordion-inner {
    padding: 4px 28px 32px;
}

/* Divisor entre header y body cuando está abierto */
.accordion-body.acc-open {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Animación de entrada de las tarjetas */
@keyframes cardFadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.accordion-body.acc-open .product-card {
    animation: cardFadeUp 0.35s ease forwards;
}

/* Escalonar la animación de cada tarjeta */
.accordion-body.acc-open .product-card:nth-child(1)  { animation-delay: 0.05s; }
.accordion-body.acc-open .product-card:nth-child(2)  { animation-delay: 0.10s; }
.accordion-body.acc-open .product-card:nth-child(3)  { animation-delay: 0.14s; }
.accordion-body.acc-open .product-card:nth-child(4)  { animation-delay: 0.18s; }
.accordion-body.acc-open .product-card:nth-child(5)  { animation-delay: 0.22s; }
.accordion-body.acc-open .product-card:nth-child(6)  { animation-delay: 0.26s; }
.accordion-body.acc-open .product-card:nth-child(7)  { animation-delay: 0.30s; }
.accordion-body.acc-open .product-card:nth-child(8)  { animation-delay: 0.34s; }
.accordion-body.acc-open .product-card:nth-child(9)  { animation-delay: 0.37s; }
.accordion-body.acc-open .product-card:nth-child(n+10) { animation-delay: 0.40s; }

/* ── Sin resultados ── */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}


/* Grid de Productos */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.product-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-premium);
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.015);
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-color-hover);
    box-shadow: 0 12px 30px rgba(181, 140, 35, 0.08);
}

.product-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Aspect ratio 1:1 */
    overflow: hidden;
    background: #f8fafc;
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

.product-img-wrapper img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* ── Lazy load: fade-in al cargar ── */
.catalog-img-lazy {
    opacity: 0;
    transition: opacity 0.35s ease;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
/* ── Etiqueta del nombre del modelo sobre la imagen ── */
.product-img-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 14px 12px;
    background: linear-gradient(to top, rgba(10,14,22,0.72) 0%, transparent 100%);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    line-height: 1.3;
    z-index: 2;
    transition: opacity 0.3s ease;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    pointer-events: none;
}


.catalog-img-lazy.img-loaded {
    opacity: 1;
}

/* ── Shimmer skeleton: animado en el wrapper mientras carga ── */
.product-img-wrapper.img-loading {
    background: linear-gradient(90deg, #efefef 25%, #e4e4e4 50%, #efefef 75%);
    background-size: 200% 100%;
    animation: shimmer 1.2s ease-in-out infinite;
}

/* Cuando la imagen terminó de cargar, eliminar el shimmer del wrapper */
.product-img-wrapper.img-done {
    animation: none;
    background: #f8fafc;
}

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

.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
    will-change: transform;
}


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

.product-badge-tag {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 8px;
    align-self: flex-start;
}

.product-info h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-title);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

.product-info .ver-detalles {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold);
    transition: var(--transition-premium);
    margin-top: auto;
}

.product-card:hover .product-info .ver-detalles {
    color: var(--gold-dark);
    transform: translateX(3px);
}

/* Estilos de Lightbox de Producto */
.product-modal-container {
    max-width: 960px;
    width: 90%;
    padding: 0;
    overflow: hidden;
}

.product-modal-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    height: 100%;
    min-height: 520px;
}

/* Viewer Izquierdo (Imágenes) */
.product-viewer {
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    position: relative;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.main-image-wrapper {
    position: relative;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    min-height: 380px;
    overflow: hidden;
}

.main-image-wrapper img {
    max-width: 90%;
    max-height: 350px;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

/* Flechas Carrusel */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-title);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-premium);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    z-index: 10;
}

.nav-arrow:hover {
    background: #ffffff;
    color: var(--gold);
    box-shadow: 0 6px 15px rgba(181, 140, 35, 0.15);
}

.prev-arrow { left: 15px; }
.next-arrow { right: 15px; }

/* Miniaturas */
.thumbnails-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: #ffffff;
    border-top: 1px solid rgba(0,0,0,0.03);
    overflow-x: auto;
}

.thumbnail-item {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-premium);
    background: #f8fafc;
    flex-shrink: 0;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-item.active {
    border-color: var(--gold);
    transform: scale(1.05);
}

/* Info Derecha (Detalles) */
.product-details {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

.product-details h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-title);
    margin-top: 10px;
    margin-bottom: 15px;
    line-height: 1.25;
}

.product-modal-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Características destacadas */
.product-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.highlight-item svg {
    color: var(--gold);
    flex-shrink: 0;
}

.product-actions {
    margin-top: 10px;
}

.whatsapp-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366; /* Verde WhatsApp oficial */
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
    transition: var(--transition-premium);
    text-align: center;
}

.whatsapp-cta:hover {
    background: #20ba5a;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
}

/* Badges específicos para cada línea de producto (Pantone Palette 2026) */
.badge-cuadros-mdf { background: rgba(154, 139, 120, 0.14); color: var(--p-satin); border: 1px solid rgba(154, 139, 120, 0.3); font-weight: 700; }
.badge-cuadros-acrylic { background: rgba(42, 107, 124, 0.12); color: var(--p-dragon); border: 1px solid rgba(42, 107, 124, 0.3); font-weight: 700; }
.badge-togas { background: rgba(43, 43, 43, 0.1); color: var(--p-limo); border: 1px solid rgba(43, 43, 43, 0.25); font-weight: 700; }
.badge-estolas { background: rgba(125, 58, 82, 0.12); color: var(--p-bordeaux); border: 1px solid rgba(125, 58, 82, 0.3); font-weight: 700; }
.badge-conmemorativos { background: rgba(155, 28, 46, 0.12); color: var(--p-scarlet); border: 1px solid rgba(155, 28, 46, 0.3); font-weight: 700; }
.badge-kids { background: rgba(90, 91, 58, 0.12); color: var(--p-graphite); border: 1px solid rgba(90, 91, 58, 0.3); font-weight: 700; }



/* Responsive del Catalog */
@media (max-width: 900px) {
    .product-modal-content {
        grid-template-columns: 1fr;
    }
    
    .product-viewer {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .main-image-wrapper {
        min-height: 300px;
    }
    
    .product-details {
        padding: 30px 24px;
    }
}

@media (max-width: 768px) {
    .catalog-section {
        padding: 40px 20px;
        margin-top: 50px;
    }
    
    .catalog-header h2 {
        font-size: 1.8rem;
    }
    
    .catalog-controls {
        gap: 15px;
        padding-bottom: 20px;
    }
}

/* 🎬 MODAL Y REPRODUCTOR DE VIDEO DE PRESENTACIÓN */
.video-modal-container {
    max-width: 860px;
    width: 92%;
    padding: 30px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #000000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-top: 15px;
    aspect-ratio: 16 / 9;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Botón de reproducción de video en el Hero */
.btn-video-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 9px 18px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition-premium);
    text-transform: uppercase;
}

.btn-video-hero:hover {
    background: var(--p-scarlet);
    border-color: var(--p-scarlet);
    box-shadow: 0 6px 18px rgba(155, 28, 46, 0.4);
    transform: translateY(-2px);
}

/* ==========================================================================
   ESTILOS HÍBRIDOS: MODAL BENTO PREVIEW Y PÁGINA CATÁLOGO (catalogo.html)
   ========================================================================== */

/* 🌟 MODAL BENTO RESUMEN COMPACTO */
.modal-bento-preview {
    max-width: 820px;
    width: 92%;
    background: #090c12;
    border: 1px solid rgba(198, 163, 97, 0.35);
    border-radius: 24px;
    padding: 28px 32px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(198, 163, 97, 0.15);
    max-height: 90vh;
    overflow-y: auto;
}

.bento-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.compact-preview-card {
    background: rgba(16, 40, 48, 0.45);
    border: 1px solid rgba(198, 163, 97, 0.2);
    border-radius: 16px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
}

.compact-preview-card:hover {
    border-color: rgba(198, 163, 97, 0.6);
    background: rgba(16, 40, 48, 0.75);
    transform: translateY(-2px);
}

.compact-thumb-box {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 12px;
    overflow: hidden;
    background: #050d10;
    border: 1px solid rgba(198, 163, 97, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.compact-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
    transition: transform 0.3s ease;
}

.compact-preview-card:hover .compact-thumb-img {
    transform: scale(1.1);
}

.compact-info-box {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.compact-badge {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gold-light, #c6a361);
    background: rgba(198, 163, 97, 0.12);
    padding: 2px 8px;
    border-radius: 10px;
    align-self: flex-start;
}

.compact-info-box h4 {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 600;
    margin: 2px 0 1px;
}

.compact-info-box p {
    font-size: 0.78rem;
    color: #8ca3a8;
    line-height: 1.35;
    margin: 0;
}

.preview-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-light, #c6a361);
    background: rgba(198, 163, 97, 0.1);
    padding: 3px 10px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 8px;
}

.preview-card h3 {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 6px;
}

.preview-card p {
    font-size: 0.85rem;
    color: #8ca3a8;
    line-height: 1.5;
}

.modal-bento-cta-container {
    text-align: center;
    padding-top: 10px;
}

.btn-full-catalog-cta {
    display: inline-block;
    background: linear-gradient(135deg, #c6a361, #99783c);
    color: #071317;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 36px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(198, 163, 97, 0.35);
    transition: all 0.3s ease;
}

.btn-full-catalog-cta:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 35px rgba(198, 163, 97, 0.5);
    color: #000000;
}

/* 📄 PÁGINA DEDICADA DE CATÁLOGO (catalogo.html) */
.catalog-page-body {
    background-color: #071317;
    color: #eef5f7;
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
}

.catalog-page-header {
    text-align: center;
    max-width: 800px;
    margin: 40px auto 30px;
    padding: 0 20px;
}

.catalog-page-header h1 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    margin: 10px 0;
    background: linear-gradient(to right, #ffffff, #dfc18c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.catalog-page-header p {
    color: #8ca3a8;
    font-size: 1rem;
    line-height: 1.6;
}

.catalog-page-controls {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.catalog-search-box {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.catalog-search-box svg {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #c6a361;
}

.catalog-search-box input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    background: rgba(16, 40, 48, 0.6);
    border: 1px solid rgba(198, 163, 97, 0.3);
    border-radius: 30px;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.catalog-search-box input:focus {
    border-color: #c6a361;
    box-shadow: 0 0 20px rgba(198, 163, 97, 0.2);
}

.catalog-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.cat-tab {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #8ca3a8;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cat-tab:hover, .cat-tab.active {
    background: #c6a361;
    color: #071317;
    border-color: #c6a361;
    box-shadow: 0 4px 15px rgba(198, 163, 97, 0.3);
}

.catalog-page-content {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.cat-section-block {
    margin-bottom: 60px;
}

.cat-section-title {
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(198, 163, 97, 0.2);
    padding-bottom: 12px;
}

.cat-section-title h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: #ffffff;
}

.cat-section-title p {
    color: #8ca3a8;
    font-size: 0.9rem;
    margin-top: 4px;
}

/* PAQUETES GRID */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.package-card {
    background: rgba(16, 40, 48, 0.45);
    border: 1px solid rgba(198, 163, 97, 0.25);
    border-radius: 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.pkg-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #000000;
    position: relative;
}

.pkg-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.package-card:hover .pkg-card-img {
    transform: scale(1.05);
}

.pkg-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.package-card.popular {
    border-color: #c6a361;
    background: rgba(20, 50, 60, 0.65);
    box-shadow: 0 10px 30px rgba(198, 163, 97, 0.15);
}

.package-card:hover {
    transform: translateY(-6px);
    border-color: #dfc18c;
    box-shadow: 0 15px 35px rgba(198, 163, 97, 0.2);
}

.pkg-badge, .popular-badge {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 15px;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 12px;
}

.pkg-badge {
    background: rgba(198, 163, 97, 0.15);
    color: #c6a361;
}

.popular-badge {
    background: #c6a361;
    color: #071317;
}

.pkg-title {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.pkg-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #dfc18c;
    margin-bottom: 10px;
}

.pkg-upgrade {
    font-size: 0.8rem;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.pkg-desc {
    font-size: 0.88rem;
    color: #8ca3a8;
    line-height: 1.5;
    margin-bottom: 18px;
}

.pkg-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.pkg-features li {
    font-size: 0.85rem;
    color: #eef5f7;
    line-height: 1.4;
}

.pkg-cta-btn {
    display: block;
    text-align: center;
    background: rgba(198, 163, 97, 0.15);
    border: 1px solid #c6a361;
    color: #dfc18c;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pkg-cta-btn:hover {
    background: #c6a361;
    color: #071317;
    box-shadow: 0 4px 15px rgba(198, 163, 97, 0.3);
}

/* PRODUCTOS GRID */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.product-item-card {
    background: rgba(16, 40, 48, 0.35);
    border: 1px solid rgba(198, 163, 97, 0.15);
    border-radius: 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    overflow: hidden;
}

.prod-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #050d10;
    position: relative;
    border-bottom: 1px solid rgba(198, 163, 97, 0.15);
}

.prod-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform 0.4s ease;
}

.product-item-card:hover .prod-card-img {
    transform: scale(1.08);
}

.prod-card-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-item-card:hover {
    border-color: rgba(198, 163, 97, 0.5);
    background: rgba(16, 40, 48, 0.6);
    transform: translateY(-4px);
}

.prod-code-badge {
    font-size: 0.75rem;
    font-weight: 800;
    color: #c6a361;
    background: rgba(198, 163, 97, 0.12);
    padding: 2px 10px;
    border-radius: 10px;
    align-self: flex-start;
    margin-bottom: 10px;
}

.prod-name {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 600;
}

.prod-spec {
    font-size: 0.8rem;
    color: #8ca3a8;
    margin-bottom: 4px;
}

.prod-spec strong {
    color: #dfc18c;
}

.prod-desc {
    font-size: 0.85rem;
    color: #c0d1d5;
    line-height: 1.4;
    margin: 10px 0 16px;
    flex-grow: 1;
}

.prod-inquire-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: #c6a361;
    text-decoration: none;
    transition: color 0.2s ease;
}

.prod-inquire-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* TABLA DE TALLAS - ESTILO BENTO ELEGANTE DE ALTO CONTRASTE */
.size-table-wrapper {
    overflow-x: auto;
    background: #ffffff;
    border: 1px solid rgba(43, 43, 43, 0.12);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-top: 15px;
}

.size-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
    font-size: 0.92rem;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    color: #2B2B2B;
}

.size-table th {
    background: #9B1C2E;
    color: #ffffff;
    padding: 14px 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    border: none;
}

.size-table th:first-child {
    border-top-left-radius: 19px;
}

.size-table th:last-child {
    border-top-right-radius: 19px;
}

.size-table td {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(43, 43, 43, 0.07);
    color: #2B2B2B;
    background: #ffffff;
    font-weight: 500;
}

.size-table td strong {
    color: #9B1C2E;
    font-weight: 700;
    font-size: 0.95rem;
}

.size-table tbody tr:nth-child(even) td {
    background: #F8F7F4;
}

.size-table tbody tr:hover td {
    background: rgba(155, 28, 46, 0.05);
}

.size-table tr:last-child td {
    border-bottom: none;
}

.size-table tr:last-child td:first-child {
    border-bottom-left-radius: 19px;
}

.size-table tr:last-child td:last-child {
    border-bottom-right-radius: 19px;
}

/* 🛡️ TOGAS PARRAL - PROTECCIÓN ANTI-ARRASTRE Y COPIA DE IMÁGENES */
img, picture, svg {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* ⚡ TURBO ENGINE & CLS PREVENTION (ZERO LAYOUT SHIFTS) */
.bento-card {
    contain: layout paint;
    content-visibility: auto;
    contain-intrinsic-size: 240px;
    transform: translateZ(0);
}

.bento-card img {
    content-visibility: auto;
}

/* 🚀 OPTIMIZACIÓN ULTRA-FLUIDA PARA TABLETS & MÓVILES (60/120 FPS) */
@media (max-width: 1024px) {
    .bento-card {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background-color: #ffffff !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
        transition: transform 0.15s ease !important;
    }

    .bento-card::before {
        display: none !important; /* Desactivar gradientes dinámicos pesados en GPU móvil */
    }

    .bento-card:hover {
        transform: none !important; /* Evitar jank en táctil */
    }
}
