@font-face {
    font-family: futura;
    src: url(./Futura-Bold.ttf);
}

@font-face {
    font-family: Helvetica;
    src: url(./HelveticaNowText-Regular.ttf);
}

:root {
    --background: #FAFAFA;
    --foreground: #09090B;
    --surface: #FFFFFF;
    --primary-action: #16A34A; /* Reptile Green */
    --border-fine: #E4E4E7; /* Zinc 200 */
    --border-accent: #A1A1AA; /* Zinc 400 */
    --text-muted: #71717A; /* Zinc 600 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica', sans-serif;
}

*::selection {
    color: white;
    background-color: var(--primary-action);
}

html,
body {
    height: 100%;
    width: 100%;
    background-color: var(--background);
    color: var(--foreground);
    overflow-x: hidden;
}

/* Locomotive smooth scroll custom overlay */
#main {
    background-color: var(--background);
    width: 100%;
}

/* Custom Cursor Follower */
#cursor {
    height: 36px;
    width: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-accent);
    position: fixed;
    transform: translate(-50%, -50%) scale(1);
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    pointer-events: none;
    z-index: 99999;
}

body.cursor-glow #cursor {
    height: 120px;
    width: 120px;
    background-color: color-mix(in srgb, var(--cursor-color, var(--primary-action)) 8%, transparent);
    border-color: var(--cursor-color, var(--primary-action));
}

/* ==========================================================================
   LOADER INICIAL (ESTILO REJOICE)
   ========================================================================== */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    overflow: hidden;
}

.loader-text-wrapper {
    overflow: hidden;
    display: flex;
    align-items: center;
}

.loader-span {
    font-size: clamp(24px, 3.5vw, 48px);
    font-weight: bold;
    color: var(--background);
    margin-right: 12px;
    display: inline-block;
    transform: translateY(150px);
}

.loader-tm {
    font-size: 11px;
    color: var(--primary-action);
    margin-top: -15px;
    align-self: flex-start;
    transform: translateY(150px);
    display: inline-block;
}

/* ==========================================================================
   VIDEO REEL OVERLAY (ESTILO REJOICE)
   ========================================================================== */
#reel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 100vh;
    background-color: var(--foreground);
    z-index: 9999999;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#reel-overlay video {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.reel-close-btn {
    position: absolute;
    top: 40px;
    right: 40px;
    background: transparent;
    border: none;
    color: white;
    font-size: 38px;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s ease;
}

.reel-close-btn:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   MENU OVERLAY DESLIZABLE (ESTILO REJOICE)
   ========================================================================== */
#menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 0;
    background-color: var(--background);
    z-index: 99998;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 5vw;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid var(--border-fine);
    padding-bottom: 20px;
}

.menu-brand {
    font-family: 'futura', sans-serif;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: -0.5px;
}

.menu-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-cart-trigger {
    background: transparent;
    border: none;
    color: var(--foreground);
    font-size: 22px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.menu-cart-trigger:hover {
    transform: scale(1.1);
    color: var(--primary-action);
}

.menu-cart-trigger .cart-badge-val {
    display: none;
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--primary-action);
    color: white;
    font-size: 9px;
    font-weight: bold;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: monospace;
}

.menu-close-btn {
    background: transparent;
    border: none;
    color: var(--foreground);
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.menu-close-btn:hover {
    transform: scale(1.1);
    color: var(--primary-action);
}

.menu-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    padding: 40px 0;
    gap: 10vw;
}

.menu-left {
    width: 40%;
}

.menu-video-container {
    width: 100%;
    max-width: 320px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-fine);
    cursor: pointer;
}

.menu-video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.menu-video-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    font-size: 12px;
    font-weight: bold;
    color: var(--foreground);
    background-color: var(--surface);
    border-top: 1px solid var(--border-fine);
}

.menu-video-controls i {
    font-size: 16px;
    color: var(--primary-action);
}

.menu-right {
    width: 50%;
}

.menu-nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-link-item {
    font-size: clamp(28px, 4.2vw, 52px);
    font-weight: bold;
    color: var(--foreground);
    text-decoration: none;
    width: fit-content;
    position: relative;
    overflow: hidden;
    display: block;
    height: 1.2em;
}

.menu-link-item span {
    display: block;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-link-item:hover span {
    transform: translateY(-100%);
}

.menu-link-item::after {
    position: absolute;
    top: 100%;
    left: 0;
    font-weight: bold;
    color: var(--primary-action);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-link-item[href="#page1"]::after { content: 'Inicio'; }
.menu-link-item[href="#about-sec"]::after { content: 'Nosotros'; }
.menu-link-item[href="#page3"]::after { content: 'Catálogo'; }
.menu-link-item[href="#seats-sec"]::after { content: 'Disponibilidad'; }

.menu-link-item:hover::after {
    transform: translateY(-100%);
}

.menu-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1.5px solid var(--border-fine);
    padding-top: 20px;
    font-size: 14px;
    font-weight: 500;
}

.menu-tm {
    font-size: 9px;
    color: var(--primary-action);
    align-self: flex-start;
}

.menu-socials {
    display: flex;
    gap: 25px;
}

.menu-socials a {
    text-decoration: none;
    color: var(--foreground);
    transition: color 0.3s ease;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 4px;
}

.menu-socials a:hover {
    color: var(--primary-action);
}

/* ==========================================================================
   NAVBAR (ESTILO REJOICE)
   ========================================================================== */
#nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 960px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-fine);
    border-radius: 30px;
    z-index: 99999;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-brand-link {
    pointer-events: auto;
    text-decoration: none;
    color: var(--foreground);
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.5px;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-brand-text {
    display: block;
}

.nav-brand-logo-alt {
    position: absolute;
    left: 0;
    font-family: 'futura', sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    opacity: 0;
    transform: translateY(20px);
}

.nav-right-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    pointer-events: auto;
}

.nav-cart-btn {
    background: transparent;
    border: none;
    color: var(--foreground);
    font-size: 20px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-cart-btn:hover {
    transform: scale(1.1);
    color: var(--primary-action);
}

#cart-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--primary-action);
    color: white;
    font-size: 9px;
    font-weight: bold;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-menu-btn {
    background: transparent;
    border: none;
    color: var(--foreground);
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu-btn::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1.5px;
    background-color: var(--primary-action);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-menu-btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ==========================================================================
   PAGE 1: HERO (ESTILO REJOICE)
   ========================================================================== */
/* ==========================================================================
   PAGE 1: HERO (ESTILO REJOICE)
   ========================================================================== */
#page1 {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

#page1 video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 9, 11, 0.15);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 6vw;
    cursor: pointer;
}

.hero-title {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    pointer-events: none;
}

.hero-line {
    overflow: hidden;
    display: flex;
    justify-content: center;
    height: clamp(65px, 16vw, 225px);
}

.hero-span {
    display: inline-block;
    font-family: 'futura', sans-serif;
    font-size: clamp(60px, 16vw, 220px);
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -6px;
    transform: translateY(100%);
}

#hero-cursor-label {
    position: fixed;
    width: 110px;
    height: 110px;
    background-color: #FC5C36; /* Naranja Rejoice */
    border-radius: 50%;
    color: white;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 996;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(252, 92, 54, 0.3);
}

/* ==========================================================================
   PAGE 2: ABOUT & PAGE 5: PHILOSOPHY (ESTILO REJOICE)
   ========================================================================== */
.about, .philosophy {
    width: 100%;
    min-height: 65vh;
    background-color: var(--background);
    padding: 100px 8vw;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.section-divider {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-accent);
    padding-bottom: 16px;
}

.reveal-line {
    font-size: clamp(11px, 1.4vw, 15px);
    font-weight: bold;
    color: var(--foreground);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reveal-paragraph {
    font-size: clamp(20px, 3.2vw, 42px);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -1px;
    color: var(--foreground);
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.25em;
    row-gap: 0.1em;
    width: 100%;
}

.reveal-word {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
}

/* ==========================================================================
   PAGE 3: SERVICES & MODELS (ESTILO REJOICE)
   ========================================================================== */
.services {
    width: 100%;
    min-height: 100vh;
    background-color: var(--background);
    padding: 100px 8vw;
    display: flex;
    flex-direction: column;
}

.services-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(11px, 1.4vw, 15px);
    font-weight: 500;
    color: var(--foreground);
}

.services-badge {
    background-color: var(--foreground);
    color: var(--background);
    padding: 3px 12px;
    border-radius: 30px;
    font-size: clamp(9px, 1vw, 12px);
    font-weight: bold;
}

.services-heading {
    margin-top: 25px;
    overflow: hidden;
}

.reveal-line-services {
    font-size: clamp(26px, 4.5vw, 68px);
    font-weight: bold;
    color: var(--foreground);
    letter-spacing: -1px;
    line-height: 1.1;
    transform: translateY(100%);
    opacity: 0;
}

.services-divider-fine {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid var(--border-accent);
    padding-bottom: 20px;
    margin-top: 60px;
    font-size: clamp(12px, 1.5vw, 18px);
    color: var(--foreground);
}

.services-link-work {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-weight: bold;
}

.services-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    margin-top: 60px;
    gap: 20px;
}

.video-overlay-item {
    width: calc(33.33% - 14px);
    position: relative;
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 4/5;
    border-radius: 4px;
    border: 2px solid var(--border-fine);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 900px) {
    .video-overlay-item {
        width: calc(50% - 10px);
    }
}

@media (max-width: 600px) {
    .video-overlay-item {
        width: 100%;
    }
}

.video-overlay-item:hover {
    transform: scale(1.015);
}

.video-overlay-item.selected-category {
    border-color: var(--primary-action);
    box-shadow: 0 0 20px rgba(22, 163, 74, 0.25);
}

.video-overlay-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.video-overlay-item:hover video {
    opacity: 1;
}

.overlay-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.video-overlay-item:hover .overlay-img {
    opacity: 0;
}

.category-label {
    position: absolute;
    top: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 10;
    color: white;
    pointer-events: none;
}

.cat-title {
    font-size: clamp(14px, 1.8vw, 20px);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.cat-desc {
    font-size: clamp(9px, 1.1vw, 12px);
    opacity: 0.85;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.overlay-logo {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    max-height: 20%;
    object-fit: contain;
    z-index: 10;
    pointer-events: none;
}

/* ==========================================================================
   PAGE 4: CATALOG OVERLAY (ESTILO REJOICE - VISTA SUPERPUESTA INMERSIVA)
   ========================================================================== */
#page3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: none; /* Oculto por defecto, se maneja con JS */
    opacity: 0;
    overflow: hidden;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--surface);
    z-index: 850; /* Por encima del flujo principal, por debajo de product-detail-view */
    padding: 0;
}

#page3.active {
    display: flex;
}

.catalog-view-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-view-close {
    position: relative;
    margin-top: 30px;
    margin-bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 124px;
    height: 56px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.catalog-view-close .close-text {
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
    color: var(--foreground);
    z-index: 2;
    transition: color 0.3s ease;
}

.catalog-view-close .close-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.catalog-view-close .close-svg-path {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    transition: stroke-dashoffset 0.6s ease;
}

.catalog-view-close:hover .close-svg-path {
    stroke-dashoffset: 0;
}

.catalog-view-close:hover .close-text {
    color: var(--primary-action);
}

.catalog-slider-wrapper {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    padding: 30px 12vw;
    gap: 35px;
    scroll-behavior: smooth;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

.catalog-slider-wrapper::-webkit-scrollbar {
    display: none;
}

.catalog-slider-wrapper.dragging {
    cursor: grabbing;
}

.catalog-slider-wrapper.dragging .child {
    pointer-events: none;
}

.child {
    height: 420px;
    width: 300px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--border-fine);
    background-color: var(--surface);
    padding: 20px;
    border-radius: 4px;
}

.child img {
    height: 170px;
    width: 170px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid var(--border-fine);
    transition: transform 0.4s ease;
}

.child:hover img {
    transform: scale(1.04);
}

.child .childInfo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-align: center;
}

.clinical-status-badge {
    font-size: 8px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 8px;
    border: 1px solid var(--primary-action);
    background-color: rgba(22, 163, 74, 0.05);
    color: var(--primary-action);
    border-radius: 2px;
}

.clinical-status-badge.critical {
    border-color: #D97706;
    color: #D97706;
    background-color: rgba(217, 119, 6, 0.05);
}

.clinical-status-badge.out {
    border-color: var(--border-accent);
    color: var(--text-muted);
    background-color: var(--background);
}

.child .childInfo a.cepa-title {
    text-decoration: none;
    color: var(--foreground);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.cepa-scientific {
    font-size: 11px;
    font-style: italic;
    color: var(--text-muted);
    margin-top: -4px;
}

.size-selector {
    display: flex;
    gap: 6px;
    margin: 8px 0;
}

.size-btn {
    height: 24px;
    width: 24px;
    border: 1px solid var(--border-fine);
    background-color: var(--surface);
    color: var(--text-muted);
    font-size: 9px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.2s ease;
}

.size-btn.active {
    background-color: var(--foreground);
    color: var(--surface);
    border-color: var(--foreground);
}

.price-buy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    margin-top: 10px;
    border-top: 1px solid var(--border-fine);
    padding-top: 12px;
}

.cepa-price {
    font-size: 14px;
    font-weight: bold;
    font-family: monospace;
}

.add-to-order-btn {
    height: 32px;
    width: 32px;
    background-color: var(--surface);
    border: 1px solid var(--border-fine);
    color: var(--primary-action);
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.add-to-order-btn:hover {
    background-color: var(--primary-action);
    color: white;
    border-color: var(--primary-action);
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--border-fine);
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.slider-nav-btn i {
    font-size: 20px;
}

.slider-nav-btn:hover {
    background-color: var(--primary-action);
    color: white;
    border-color: var(--primary-action);
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.25);
    transform: translateY(-50%) scale(1.05);
}

.prev-btn {
    left: 4vw;
}

.next-btn {
    right: 4vw;
}

/* ==========================================================================
   PAGE 5: SEATS/LOTES DISPONIBLES (ESTILO REJOICE)
   ========================================================================== */
.seats {
    width: 100%;
    height: 95vh;
    background-color: var(--foreground);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seats video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
    z-index: 1;
}

.seats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seats-progress {
    width: 30vw;
    max-width: 380px;
    position: relative;
    z-index: 3;
}

.seats-progress svg {
    display: block;
    width: 100%;
    height: auto;
}

.dot-cir {
    position: absolute;
    width: 30vw;
    max-width: 380px;
    z-index: 4;
    pointer-events: none;
    transform-origin: center;
}

.dot-cir svg {
    display: block;
    width: 100%;
    height: auto;
}

.seats-text {
    position: absolute;
    text-align: center;
    z-index: 5;
}

.seats-h1 {
    font-size: clamp(50px, 7vw, 100px);
    font-weight: bold;
    color: white;
    font-family: 'futura', sans-serif;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 0.95;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.seats-label {
    font-size: clamp(10px, 1.3vw, 14px);
    font-weight: 600;
    color: #16A34A;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 2px;
    margin-bottom: 12px;
}

.seats-h4 {
    font-size: clamp(11px, 1.4vw, 16px);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 6px;
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
}

/* ==========================================================================
   PAGE 7: STRATEGY (ESTILO REJOICE)
   ========================================================================== */
.strategy {
    width: 100%;
    min-height: 80vh;
    background-color: var(--background);
    padding: 100px 8vw;
    display: flex;
    flex-direction: column;
    gap: 40px;
    overflow: hidden;
}

.marquee-slider {
    width: 100%;
    overflow: hidden;
    margin-top: 40px;
}

.marquee-container {
    display: flex;
    width: max-content;
}

.marquee-slide {
    display: flex;
    animation: marquee-anim 28s linear infinite;
    gap: 20px;
    padding-right: 20px;
}

.marquee-slide img {
    height: 35vh;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-fine);
    pointer-events: none;
}

@keyframes marquee-anim {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* ==========================================================================
   PAGE 8: FOOTER (ESTILO REJOICE)
   ========================================================================== */
.footer {
    width: 100%;
    min-height: 100vh;
    background-color: var(--foreground);
    padding: 80px 8vw 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.footer-first {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 5vw;
}

.footer-cta {
    width: 55%;
}

.footer-cta-title {
    font-size: clamp(24px, 3.8vw, 52px);
    font-weight: bold;
    color: white;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 30px;
}

.footer-cta-btn {
    padding: 14px 32px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 30px;
    border: 1.5px solid white;
    background: transparent;
    color: white;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.footer-cta-btn:hover {
    background-color: white;
    color: var(--foreground);
}

.footer-links {
    display: flex;
    gap: 8vw;
}

.footer-links-list,
.footer-links-socials {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links-list a,
.footer-links-socials a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.65);
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.footer-links-list a:hover,
.footer-links-socials a:hover {
    color: var(--primary-action);
}

.footer-second {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 30px;
    color: white;
    margin-top: 40px;
}

.footer-locs h5,
.footer-copyright-info h5 {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-copyright-info {
    text-align: right;
}

.footer-giant-title-container {
    width: 100%;
    overflow: hidden;
    margin-top: 40px;
}

.footer-giant-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    pointer-events: none;
}

.footer-giant-line {
    overflow: hidden;
    display: flex;
    justify-content: center;
    height: clamp(55px, 14vw, 205px);
}

.footer-giant-span {
    font-family: 'futura', sans-serif;
    font-size: clamp(50px, 14vw, 200px);
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -5px;
    display: inline-block;
    transform: translateY(100%);
}

/* ==========================================================================
   VISTA DE DETALLE INMERSIVA (MANTENIDA INTACTA)
   ========================================================================== */
#product-detail-view {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

#product-detail-view.active {
    opacity: 1;
    pointer-events: auto;
}

.detail-view-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: background-color 0.5s ease;
    z-index: 1;
}

.detail-view-wrapper {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 80vh;
    max-height: 700px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
    gap: 5vw;
}

.detail-view-media {
    width: 44%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid var(--border-fine);
    background-color: var(--surface);
}

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

.detail-view-info {
    width: 52%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 20px;
}

.detail-view-collection {
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.detail-view-title {
    font-family: 'futura', sans-serif;
    font-size: clamp(32px, 3.8vw, 56px);
    font-weight: bold;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--foreground);
    text-transform: uppercase;
    margin-bottom: 25px;
}

.detail-view-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-view-highlights {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.detail-view-highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.detail-view-highlight-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--primary-action);
    background-color: rgba(22, 163, 74, 0.05);
    color: var(--primary-action);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.detail-view-highlight-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--foreground);
}

.detail-view-specs {
    border-top: 1px solid var(--border-fine);
    border-bottom: 1px solid var(--border-fine);
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-view-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.detail-view-spec-label {
    font-size: 9px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.detail-view-spec-value {
    color: var(--foreground);
    font-weight: 600;
}

.detail-view-price-buy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
}

.detail-view-price {
    font-size: 20px;
    font-weight: bold;
    font-family: monospace;
    color: var(--foreground);
}

.detail-view-size-selector {
    display: flex;
    gap: 6px;
}

.detail-view-size-btn {
    height: 28px;
    width: 28px;
    border: 1px solid var(--border-fine);
    background-color: var(--surface);
    color: var(--text-muted);
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.2s ease;
}

.detail-view-size-btn.active {
    background-color: var(--foreground);
    color: var(--surface);
    border-color: var(--foreground);
}

.detail-view-add-btn {
    height: 40px;
    padding: 0 20px;
    background-color: var(--surface);
    border: 1px solid var(--border-fine);
    color: var(--primary-action);
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.detail-view-add-btn:hover {
    background-color: var(--primary-action);
    color: white;
    border-color: var(--primary-action);
}

.detail-view-close {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 124px;
    height: 56px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.detail-view-close .close-text {
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
    color: var(--foreground);
    z-index: 2;
    transition: color 0.3s ease;
}

.detail-view-close .close-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.detail-view-close .close-svg-path {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    transition: stroke-dashoffset 0.6s ease;
}

.detail-view-close:hover .close-svg-path {
    stroke-dashoffset: 0;
}

.detail-view-close:hover .close-text {
    color: var(--primary-action);
}

/* Efecto hover interactivo sobre las tarjetas del catálogo actual */
#page3.hovering-catalog .child:not(.active-hover) {
    opacity: 0.45;
    filter: grayscale(20%);
}

.child {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, filter 0.4s ease, border-color 0.3s ease;
    cursor: pointer;
}

.child:hover {
    transform: scale(1.02);
}

/* ==========================================================================
   CART DRAWER PANEL STYLING (MANTENIDO INTACTO)
   ========================================================================== */
#cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100%;
    max-width: 440px;
    background-color: var(--surface);
    border-left: 1px solid var(--border-fine);
    z-index: 100000;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
}

#cart-drawer.active {
    transform: translateX(0);
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-fine);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#cart-close {
    font-size: 18px;
    cursor: pointer;
    color: var(--text-muted);
}

#cart-close:hover {
    color: var(--foreground);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item-card {
    border: 1px solid var(--border-fine);
    padding: 16px;
    background-color: var(--background);
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cart-item-name {
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-item-scientific {
    font-size: 9px;
    font-style: italic;
    color: var(--text-muted);
}

.cart-item-size-badge {
    display: inline-block;
    margin-top: 6px;
    font-size: 8px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 2px 6px;
    border: 1px solid var(--border-fine);
    background-color: var(--surface);
    color: var(--text-muted);
}

.cart-item-price {
    font-size: 11px;
    font-family: monospace;
    font-weight: bold;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-fine);
    padding-top: 10px;
}

.cart-qty-buttons {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-fine);
    background-color: var(--surface);
}

.cart-qty-btn {
    border: none;
    background: transparent;
    padding: 2px 8px;
    font-size: 11px;
    cursor: pointer;
}

.cart-qty-value {
    font-size: 10px;
    font-family: monospace;
    font-weight: bold;
    padding: 2px 10px;
    border-left: 1px solid var(--border-fine);
    border-right: 1px solid var(--border-fine);
}

.cart-item-remove {
    font-size: 9px;
    font-weight: bold;
    text-transform: uppercase;
    color: #EF4444;
    cursor: pointer;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--border-fine);
    background-color: var(--background);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.5px;
}

#cart-total-price {
    font-size: 16px;
    font-family: monospace;
}

.cart-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cart-form-group label {
    font-size: 9px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.cart-form-group input {
    height: 36px;
    padding: 0 12px;
    font-size: 11px;
    border: 1px solid var(--border-fine);
    background-color: var(--surface);
    border-radius: 2px;
}

.cart-form-group input:focus {
    outline: none;
    border-color: var(--primary-action);
}

#cart-form-error {
    color: #EF4444;
    font-size: 9px;
    font-weight: bold;
    display: none;
    margin-top: 2px;
}

#cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(9, 9, 11, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
#cart-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   MEGA MENU DESKTOP (ESTILO RADIX / SHADCN)
   ========================================================================== */
.desktop-nav-menu {
    display: block;
    pointer-events: auto;
}

.desktop-menu-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.desktop-menu-list > li {
    position: relative;
    padding: 20px 0;
}

.menu-trigger-btn {
    background: transparent;
    border: none;
    color: var(--foreground);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.menu-trigger-btn:hover {
    background-color: rgba(9, 9, 11, 0.05);
}

.menu-trigger-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.menu-item-has-submenu:hover .menu-trigger-btn i {
    transform: rotate(180deg);
}

.menu-link-simple {
    color: var(--foreground);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.menu-link-simple:hover {
    background-color: rgba(9, 9, 11, 0.05);
}

/* Contenedor del Dropdown Mega Menu */
.mega-menu-content-wrapper {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: max-content;
    background-color: rgba(250, 250, 250, 0.95);
    border: 1px solid var(--border-fine);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
    z-index: 1000;
}

.menu-item-has-submenu:hover .mega-menu-content-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Grillas Internas */
.mega-menu-content {
    display: grid;
    gap: 16px;
}

.grid-catalog {
    grid-template-cols: 520px 220px;
}

.grid-crm {
    grid-template-cols: 360px 200px;
}

.mega-menu-grid-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.mega-menu-grid-cards.cols-2 {
    grid-template-columns: 1fr;
    gap: 12px;
}

.grid-catalog .mega-menu-grid-cards {
    grid-template-columns: repeat(3, 1fr);
}

/* Grid Card Items */
.grid-card-item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
    border: 1px solid var(--border-fine);
    border-radius: 6px;
    background-color: var(--surface);
    padding: 16px;
    text-decoration: none;
    color: var(--foreground);
    overflow: hidden;
    transition: border-color 0.2s ease;
    z-index: 1;
}

.grid-card-item:hover {
    border-color: var(--border-accent);
}

.grid-card-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    background-size: 15px 15px;
    z-index: -1;
    opacity: 0.6;
}

.conic-glow {
    position: absolute;
    inset: -10%;
    opacity: 0;
    filter: blur(30px);
    transition: opacity 0.3s ease;
    background: conic-gradient(#F35066 0deg, #F35066 117deg, #9071F9 180deg, #5182FC 240deg, #F35066 360deg);
    z-index: -2;
}

.grid-card-item:hover .conic-glow {
    opacity: 0.08;
}

.card-icon {
    font-size: 20px;
    color: var(--primary-action);
}

.card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--foreground);
}

.card-desc {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Enlaces de Texto a la Derecha */
.mega-menu-sublinks {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 8px;
    border-left: 1px solid var(--border-fine);
    justify-content: center;
}

.sublink-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--foreground);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sublink-item:hover {
    background-color: rgba(9, 9, 11, 0.04);
    color: var(--primary-action);
}

.sublink-icon {
    font-size: 14px;
    color: var(--text-muted);
    transition: transform 0.2s ease, color 0.2s ease;
}

.sublink-item:hover .sublink-icon {
    transform: translateX(3px);
    color: var(--primary-action);
}

/* ==========================================================================
   RESPONSIVIDAD CELULARES (DISEÑO REJOICE)
   ========================================================================== */
@media (max-width: 768px) {
    .desktop-nav-menu {
        display: none !important;
    }

    #nav {
        top: 15px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 92% !important;
        height: 54px !important;
        border-radius: 27px !important;
        padding: 0 16px !important;
    }
    
    .nav-brand-text {
        font-size: 13px;
    }
    
    .nav-brand-logo-alt {
        font-size: 14px;
    }

    .menu-content {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 30px;
        padding: 20px 0;
    }

    .menu-left {
        width: 100%;
        order: 2;
    }

    .menu-right {
        width: 100%;
        order: 1;
    }

    .menu-video-container {
        max-width: 100%;
    }

    .menu-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .menu-socials {
        width: 100%;
        justify-content: space-between;
    }

    .about, .philosophy {
        padding: 60px 6vw;
        gap: 25px;
    }

    .reveal-paragraph {
        font-size: 24px;
    }

    .seats {
        height: 70vh;
    }

    .seats video {
        object-fit: cover;
    }

    .seats-progress {
        width: 55vw;
    }

    .dot-cir {
        width: 55vw;
    }

    .seats-h1 {
        font-size: 32px;
    }

    .seats-h4 {
        font-size: 12px;
    }

    .footer {
        height: auto;
        padding: 60px 6vw 30px;
        gap: 50px;
    }

    .footer-first {
        flex-direction: column;
        gap: 40px;
    }

    .footer-cta {
        width: 100%;
    }

    .footer-cta-title {
        font-size: 32px;
    }

    .footer-links {
        width: 100%;
        justify-content: space-between;
        gap: 20px;
    }

    .footer-second {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-copyright-info {
        text-align: left;
    }

    /* Catálogo e inmersión responsive (mantenidos de la versión anterior) */
    .detail-view-wrapper {
        flex-direction: column;
        height: 85vh;
        max-height: none;
        overflow-y: auto;
        padding: 40px 10px 100px;
        gap: 30px;
        width: 95%;
    }
    
    .detail-view-media {
        width: 100%;
        height: 250px;
        flex-shrink: 0;
    }
    
    .detail-view-info {
        width: 100%;
        padding-right: 0;
    }
    
    .detail-view-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .detail-view-price-buy {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .detail-view-price {
        text-align: center;
    }
    
    .detail-view-size-selector {
        justify-content: center;
    }
    
    .detail-view-add-btn {
        width: 100%;
        justify-content: center;
    }
    
    .detail-view-close {
        bottom: 10px;
        position: fixed;
        background-color: rgba(250, 250, 250, 0.9);
        border-radius: 30px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    /* Ajustes específicos de Mobile Design para Header e interactividad táctil */
    
    /* Desactivar cursor follower en pantallas táctiles */
    #cursor, #hero-cursor-label {
        display: none !important;
    }
    
    * {
        cursor: auto !important;
    }

    /* Ocultar el texto "Menu" para dejar sólo la hamburguesa */
    .menu-btn-text {
        display: none !important;
    }

    .nav-right-actions {
        gap: 12px !important;
    }

    /* Estilo premium consistente para los botones táctiles del header (44x44px target) */
    .nav-cart-btn, 
    .nav-menu-btn,
    .menu-cart-trigger,
    .menu-close-btn {
        width: 44px !important;
        height: 44px !important;
        border-radius: 50% !important;
        border: 1px solid rgba(9, 9, 11, 0.12) !important;
        background-color: rgba(9, 9, 11, 0.04) !important;
        color: var(--foreground) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 20px !important;
        padding: 0 !important;
        transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease !important;
    }

    /* Quitar subrayados en hover de los botones en móvil */
    .nav-menu-btn::after,
    .menu-close-btn::after {
        display: none !important;
    }

    /* Efecto activo táctil */
    .nav-cart-btn:active,
    .nav-menu-btn:active,
    .menu-cart-trigger:active,
    .menu-close-btn:active {
        transform: scale(0.92) !important;
        background-color: rgba(9, 9, 11, 0.15) !important;
    }

    /* Ajustes del catálogo inmersivo en móviles */
    .slider-nav-btn {
        display: none !important; /* Ocultamos las flechas en móviles/tablets */
    }

    .catalog-slider-wrapper {
        padding: 30px 6vw !important;
        gap: 20px !important;
    }

    .child {
        width: 80vw !important;
        max-width: 280px !important;
        height: 380px !important;
        padding: 16px !important;
    }

    .child img {
        height: 130px !important;
        width: 130px !important;
    }

    .child .childInfo h3 {
        font-size: 16px !important;
    }

    /* Transformación de los botones de cierre del catálogo y detalle en círculos flotantes premium */
    .catalog-view-close,
    .detail-view-close {
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin: 0 !important;
        width: 44px !important;
        height: 44px !important;
        border-radius: 50% !important;
        background-color: rgba(250, 250, 250, 0.9) !important;
        border: 1px solid var(--border-fine) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 1000 !important;
    }

    .catalog-view-close .close-text,
    .catalog-view-close .close-svg,
    .detail-view-close .close-text,
    .detail-view-close .close-svg {
        display: none !important;
    }

    .catalog-view-close .close-icon,
    .detail-view-close .close-icon {
        display: block !important;
    }

    /* Ajustes del círculo de progreso de la sección seats */
    .seats-progress, .dot-cir {
        width: 60vw !important;
        max-width: 260px !important;
    }

    .seats-h1 {
        font-size: 42px !important;
        line-height: 0.9 !important;
    }

    .seats-label {
        font-size: 11px !important;
        margin-bottom: 4px !important;
    }

    /* Ajustes del Drawer del Carrito en Móvil */
    #cart-drawer {
        width: 100% !important;
        max-width: 100% !important;
    }

    .cart-items {
        padding: 16px !important;
        gap: 12px !important;
    }

    .cart-footer {
        padding: 20px 16px !important;
        gap: 12px !important;
    }

    .cart-item-card {
        padding: 12px !important;
        gap: 8px !important;
    }
}

/* ==========================================================================
   AMARU SYSTEM — BioCommerce OS + Vendedor Virtual
   ========================================================================== */
:root {
    --amaru-bg: #070807;
    --amaru-card: #10110f;
    --amaru-lime: #ffffff;
    --amaru-cyan: #64d2ff;
    --amaru-cream: #f5f1e8;
    --amaru-muted: #a2a392;
}

.amaru-system {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 6vw;
    align-items: center;
    padding: 14vh 6vw;
    background:
        radial-gradient(circle at 18% 18%, rgba(205, 234, 104, 0.20), transparent 28%),
        radial-gradient(circle at 78% 12%, rgba(100, 210, 255, 0.13), transparent 24%),
        linear-gradient(135deg, var(--amaru-bg), #10110f 46%, var(--amaru-bg));
    color: var(--amaru-cream);
}

.amaru-system-grid {
    position: absolute;
    inset: 0;
    opacity: 0.34;
    background-image:
        linear-gradient(rgba(205, 234, 104, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(205, 234, 104, 0.09) 1px, transparent 1px);
    background-size: 52px 52px;
    animation: amaruGridPulse 9s ease-in-out infinite;
}

.amaru-system::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,.08) 0.7px, transparent 0.7px);
    background-size: 3px 3px;
    opacity: .14;
    mix-blend-mode: screen;
}

.amaru-system-copy, .amaru-system-panel {
    position: relative;
    z-index: 1;
}

.amaru-eyebrow, .amaru-system-status {
    font-family: monospace;
    text-transform: uppercase;
    letter-spacing: .24em;
    color: var(--amaru-lime);
    font-size: 11px;
}

.amaru-system-copy h2 {
    margin-top: 24px;
    max-width: 920px;
    font-family: futura, Helvetica, sans-serif;
    font-size: clamp(44px, 7vw, 116px);
    line-height: .86;
    letter-spacing: -.07em;
}

.amaru-system-copy p:not(.amaru-eyebrow) {
    margin-top: 28px;
    max-width: 680px;
    color: rgba(245, 241, 232, .68);
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.75;
}

.amaru-system-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.amaru-pill-link {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(245, 241, 232, .18);
    border-radius: 999px;
    padding: 0 22px;
    background: rgba(255,255,255,.055);
    color: var(--amaru-cream);
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    transition: transform .25s ease, background-color .25s ease, border-color .25s ease;
}

.amaru-pill-link:hover {
    transform: translateY(-2px);
    border-color: rgba(205, 234, 104, .55);
}

.amaru-pill-link.is-accent {
    border-color: transparent;
    background: var(--amaru-lime);
    color: #212121;
}

.amaru-system-panel {
    min-height: 540px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 34px;
    padding: 22px;
    background: rgba(255,255,255,.045);
    box-shadow: 0 30px 120px rgba(0,0,0,.34);
    backdrop-filter: blur(22px);
}

.amaru-system-panel::before {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,.10);
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,.18), transparent 30%), linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
    pointer-events: none;
}

.amaru-system-status {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 18px 22px;
    border-bottom: 1px solid rgba(255,255,255,.11);
}

.amaru-system-status span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--amaru-lime);
    box-shadow: 0 0 24px var(--amaru-lime);
}

.amaru-flow-step {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 14px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 24px;
    background: rgba(255,255,255,.045);
    transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}

.amaru-flow-step:nth-child(odd) { transform: translateX(24px); }
.amaru-flow-step:hover { transform: translateX(8px) translateY(-2px); border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.10); }
.amaru-flow-step i {
    width: 48px; height: 48px; flex: 0 0 48px;
    display: grid; place-items: center;
    border-radius: 16px;
    background: rgba(255,255,255,.13);
    color: var(--amaru-lime);
    font-size: 23px;
}
.amaru-flow-step strong { display: block; color: white; font-size: 18px; }
.amaru-flow-step small { display: block; margin-top: 5px; color: rgba(245,241,232,.55); line-height: 1.45; }

.av-chatbot {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 99997;
    font-family: Helvetica, sans-serif;
}

.av-chat-toggle {
    position: relative;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--primary-action);
    border-radius: 999px;
    padding: 0 18px;
    background: var(--surface);
    color: var(--foreground);
    box-shadow: 0 18px 60px rgba(0,0,0,.15);
    cursor: pointer;
}

.av-chat-toggle i { color: var(--primary-action); font-size: 22px; }
.av-chat-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--primary-action); box-shadow: 0 0 0 0 rgba(22,163,74,.7); animation: avPulse 1.8s infinite; }

.av-chat-panel {
    position: absolute;
    right: 0;
    bottom: 68px;
    width: min(420px, calc(100vw - 28px));
    overflow: hidden;
    border: 1px solid var(--primary-action);
    border-radius: 28px;
    background: rgba(255,255,255,.96);
    color: var(--foreground);
    box-shadow: 0 28px 100px rgba(0,0,0,.15);
    backdrop-filter: blur(20px);
}

.av-chat-panel:not([hidden]) {
    display: grid;
    grid-template-rows: auto minmax(270px, 46vh) auto auto;
}

.av-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    border-bottom: 1px solid var(--primary-action);
    background: radial-gradient(circle at 20% 0%, rgba(22,163,74,.10), transparent 38%);
}
.av-chat-header p { margin: 0 0 4px; font-family: monospace; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--primary-action); }
.av-chat-header h2 { margin: 0; font-family: futura, Helvetica, sans-serif; font-size: 28px; letter-spacing: -.04em; }
.av-chat-close { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border-fine); background: var(--background); color: var(--foreground); cursor: pointer; transition: 0.3s; }
.av-chat-close:hover { border-color: var(--primary-action); color: var(--primary-action); }

.av-chat-body {
    padding: 18px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.av-msg { max-width: 88%; border-radius: 18px; padding: 12px 14px; font-size: 14px; line-height: 1.55; white-space: pre-line; }
.av-msg.bot { align-self: flex-start; border: 1px solid var(--border-fine); background: var(--background); color: var(--foreground); }
.av-msg.user { align-self: flex-end; background: var(--foreground); color: var(--surface); }
.av-msg-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.av-msg-actions button { border: 1px solid var(--primary-action); border-radius: 999px; padding: 7px 10px; background: transparent; color: var(--foreground); cursor: pointer; font-size: 12px; transition: 0.2s; }
.av-msg-actions button:hover { background: var(--primary-action); color: white; }

.av-chat-suggestions {
    display: flex; gap: 8px; padding: 0 18px 14px; overflow-x: auto;
}
.av-chat-suggestions button { flex: 0 0 auto; border: 1px solid var(--border-accent); border-radius: 999px; padding: 8px 10px; background: var(--background); color: var(--text-muted); font-size: 12px; cursor: pointer; transition: 0.2s; }
.av-chat-suggestions button:hover { border-color: var(--foreground); color: var(--foreground); }

/* Custom layout (Avatars, Message Rows, Metas) */
.av-header-left { display: flex; align-items: center; gap: 12px; }
.av-avatar-wrap { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--border-fine); overflow: hidden; }
.av-avatar-wrap img { width: 100%; height: 100%; object-fit: cover; }
.av-status-dot { position: absolute; bottom: 0; right: 0; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; border: 2px solid var(--surface); }
.av-header-titles h2 { margin: 0; font-family: futura, sans-serif; font-size: 16px; font-weight: 600; color: var(--foreground); }
.av-header-titles p { margin: 0; font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; text-transform: none; letter-spacing: normal; }
.av-header-actions { display: flex; align-items: center; gap: 8px; }
.av-action-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid transparent; background: transparent; color: var(--text-muted); cursor: pointer; transition: 0.3s; }
.av-action-btn:hover { background: var(--background); color: var(--foreground); border-color: var(--border-fine); }

.av-msg-row { display: flex; gap: 10px; align-items: flex-start; max-width: 95%; margin-bottom: 8px; }
.av-msg-row.is-me { align-self: flex-end; flex-direction: row-reverse; }
.av-msg-row.is-bot { align-self: flex-start; }

.av-msg-avatar { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; background: var(--border-fine); border: 1px solid var(--border-fine); }
.av-msg-avatar img { width: 100%; height: 100%; object-fit: cover; }

.av-msg-content { display: flex; flex-direction: column; gap: 4px; }
.av-msg-row.is-me .av-msg-content { align-items: flex-end; }
.av-msg-row.is-bot .av-msg-content { align-items: flex-start; }

.av-msg-bubble { border-radius: 12px; padding: 10px 14px; font-size: 14px; line-height: 1.5; white-space: pre-wrap; }
.av-msg-row.is-bot .av-msg-bubble { background: var(--background); border: 1px solid var(--border-fine); color: var(--foreground); border-top-left-radius: 2px; }
.av-msg-row.is-me .av-msg-bubble { background: var(--primary-action); color: white; border-top-right-radius: 2px; }

.av-msg-meta { display: flex; align-items: center; gap: 8px; opacity: 0.7; transition: 0.2s; margin-top: 2px; }
.av-msg-row:hover .av-msg-meta { opacity: 1; }
.av-msg-time { font-size: 11px; color: var(--text-muted); }

.av-msg-hover-actions { display: flex; gap: 4px; opacity: 0; pointer-events: none; transition: 0.2s; }
.av-msg-row:hover .av-msg-hover-actions { opacity: 1; pointer-events: auto; }
.av-msg-hover-actions button { width: 22px; height: 22px; border: none; background: transparent; color: var(--text-muted); cursor: pointer; border-radius: 4px; display: grid; place-items: center; }
.av-msg-hover-actions button:hover { background: var(--border-fine); color: var(--foreground); }

.av-chat-form { display: grid; grid-template-columns: 1fr 46px; gap: 10px; padding: 14px; border-top: 1px solid var(--border-fine); }
.av-chat-form input { min-width: 0; border: 1px solid var(--border-fine); border-radius: 999px; padding: 0 15px; background: var(--background); color: var(--foreground); outline: none; font-size: 16px; transition: 0.2s; }
.av-chat-form input:focus { border-color: var(--primary-action); }
.av-chat-form input::placeholder { color: var(--border-accent); }
.av-chat-form button { width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--primary-action); color: white; cursor: pointer; font-size: 20px; transition: 0.2s; }
.av-chat-form button:hover { transform: scale(1.05); }

@keyframes amaruGridPulse { 0%,100% { opacity: .24; transform: scale(1); } 50% { opacity: .42; transform: scale(1.02); } }
@keyframes avPulse { 70% { box-shadow: 0 0 0 13px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }

@media (max-width: 900px) {
    .amaru-system { grid-template-columns: 1fr; min-height: auto; padding: 96px 6vw; }
    .amaru-flow-step:nth-child(odd) { transform: none; }
    .amaru-flow-step:hover { transform: translateY(-2px); }
}

@media (max-width: 768px) {
    .av-chatbot { right: 14px; bottom: 14px; }
    .av-chat-toggle strong { display: none; }
    .av-chat-toggle { width: 56px; height: 56px; min-height: 56px; justify-content: center; padding: 0; }
    .av-chat-pulse { position: absolute; top: 7px; right: 8px; }
    .av-chat-panel { right: -7px; bottom: 68px; width: calc(100vw - 28px); border-radius: 22px; }
    .av-chat-panel:not([hidden]) { grid-template-rows: auto minmax(260px, 48vh) auto auto; }
}

@media (prefers-reduced-motion: reduce) {
    .amaru-system-grid, .av-chat-pulse { animation: none !important; }
}
