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

:root {
    --primary:      #2563eb;
    --secondary:    #7c3aed;
    --accent:       #1e293b;
    --dark:         #1e293b;
    --darker:       #f8fafc;
    --light:        #ffffff;
    --text:         #475569;
    --text-light:   #94a3b8;
    --glow:         rgba(37, 99, 235, 0.30);
    --glow-strong:  rgba(37, 99, 235, 0.50);
    --gap-sm:       12px;
    --gap-md:       24px;
    --gap-lg:       48px;
    --radius-sm:    6px;
    --radius-md:    14px;
    --radius-lg:    30px;
    --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
    --shadow-md:    0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg:    0 8px 40px rgba(0,0,0,0.18);
    --fs-xs:        clamp(0.70rem, 1.5vw, 0.80rem);
    --fs-sm:        clamp(0.85rem, 2vw,   0.95rem);
    --fs-base:      clamp(0.95rem, 2.2vw, 1.05rem);
    --fs-md:        clamp(1.05rem, 2.5vw, 1.20rem);
    --fs-lg:        clamp(1.30rem, 3vw,   1.70rem);
    --fs-xl:        clamp(1.70rem, 4vw,   2.50rem);
    --fs-2xl:       clamp(2.40rem, 7vw,   4.00rem);
    --fs-3xl:       clamp(3.00rem, 9vw,   5.20rem);
    --transition-fast: 150ms ease;
    --transition-base: 280ms ease;
    --transition-slow: 500ms ease;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Lato', sans-serif;
    background: var(--darker);
    color: var(--dark);
    overflow-x: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.background-pattern {
    position: fixed;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1565060169194-19fabf63012c?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    pointer-events: none;
    z-index: 0;
    filter: sepia(30%) brightness(0.85) saturate(80%);
}

.background-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgb(166, 156, 172) 0%, #fff 50%, #fff 100%);
    pointer-events: none;
    z-index: 1;
}

.spotlight {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 30%, rgba(37,99,235,0.06) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 50% 80%, rgba(124,58,237,0.05) 0%, transparent 55%);
    pointer-events: none;
    z-index: 1;
}

.scroll-progress {
    position: fixed;
    right: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: rgba(0,0,0,0.08);
    z-index: 200;
}

.progress-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--primary), var(--secondary), var(--accent));
    transition: height 0.25s ease;
    border-radius: 4px 4px 0 0;
}

.nav-buttons {
    position: relative;
    top: 0;
    left: 5px;
    right: 40px;
    display: flex;
    gap: 15px;
    z-index: 20;
}

.nav-btn {
    padding: 12px 25px;
    background: #fff;
    border: 2px solid var(--primary);
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgb(13, 12, 29);
}

.nav-btn:active {
    transform: translateY(-1px);
}


.museum-container {
    display: flex;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    position: relative;
    z-index: 10;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.museum-container::-webkit-scrollbar { display: none; }

.hero {
    position: relative;
    flex-shrink: 0;
    min-width: 100vw;
    height: 100vh;
    height: 100dvh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, 5vw, 60px);
    background: linear-gradient(135deg, rgba(37,99,235,0.04) 0%, transparent 50%, rgba(124,58,237,0.04) 100%);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: min(680px, 92vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-sm);
}

.hero-badge {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    padding: 7px 18px;
    border: 1.5px solid var(--accent);
    border-radius: var(--radius-lg);
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--fs-3xl);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    margin-top: 4px;
}

.hero-title .highlight {
    background: rgb(166, 156, 172);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-text {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 5px;
    text-transform: uppercase;
}

.hero-text {
    font-size: var(--fs-base);
    color: var(--text);
    line-height: 1.75;
    max-width: 560px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    font-family: 'Montserrat', sans-serif;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(37,99,235,0.35);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.hero-cta:hover,
.hero-cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37,99,235,0.50);
    outline: none;
}
.hero-cta:active { transform: translateY(0); }

.hero-decoration { display: none; }

.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: bounce-right 1.8s ease-in-out infinite;
}

.scroll-hint__label {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
}

.scroll-hint__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--text-light);
    border-radius: 50%;
    color: var(--text-light);
}

@keyframes bounce-right {
    0%, 100% { transform: translateX(-50%) translateX(0);   opacity: 0.7; }
    50%       { transform: translateX(-50%) translateX(6px); opacity: 1;   }
}

.slide {
    position: relative;
    flex-shrink: 0;
    min-width: 100vw;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    scroll-snap-align: start;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0 clamp(24px, 5vw, 72px);
    gap: clamp(24px, 4vw, 64px);
    overflow: hidden;
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139,92,246,0.03) 0%, transparent 40%, transparent 60%, rgba(59,130,246,0.03) 100%);
    pointer-events: none;
    z-index: 0;
}

.slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color, var(--primary)), transparent);
    opacity: 0.25;
    z-index: 0;
}

.slide:nth-child(1)  { --accent-color: #3b82f6; }
.slide:nth-child(2)  { --accent-color: #8b5cf6; }
.slide:nth-child(3)  { --accent-color: #06b6d4; }
.slide:nth-child(4)  { --accent-color: #f59e0b; }
.slide:nth-child(5)  { --accent-color: #ef4444; }
.slide:nth-child(6)  { --accent-color: #10b981; }
.slide:nth-child(7)  { --accent-color: #22c55e; }

.model-container {
    position: relative;
    z-index: 1;
    flex: 0 0 45%;
    width: 45%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

model-viewer {
    width: 100%;
    height: 85%;
    --poster-color: transparent;
    border-radius: var(--radius-md);
}

.content {
    position: relative;
    z-index: 2;
    flex: 0 0 48%;
    width: 48%;
    min-width: 0;
}

.exhibit-number {
    display: block;
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.15;
    line-height: 1;
    z-index: -1;
    user-select: none;
    pointer-events: none;
}

.exhibit-tag {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
    padding: 4px 12px;
    border: 1px solid rgb(13, 12, 29);
    border-radius: var(--radius-lg);
    background: rgb(241, 218, 196);
}

.content h2 {
    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
    line-height: 1.15;
}

.content h2::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 0;
    width: 46px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.content .description {
    font-size: clamp(0.82rem, 1.4vw, 1rem);
    color: var(--text);
    line-height: 1.78;
    font-weight: 400;
}

.exhibit-meta {
    display: flex;
    gap: var(--gap-md);
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(71,85,105,0.12);
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.meta-label {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
}

.meta-value {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
    font-weight: 700;
    color: var(--dark);
}

.navigation {
    position: fixed;
    bottom: clamp(12px, 3vh, 24px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    padding: 10px 16px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255,255,255,0.60);
}

.nav-dots {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.nav-dot {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    background: transparent;
    cursor: pointer;
    transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
    -webkit-tap-highlight-color: transparent;
}

.nav-dot:hover {
    background: var(--secondary);
    box-shadow: 0 0 10px var(--glow);
}

.nav-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 16px var(--glow-strong);
    transform: scale(1.25);
}

.dot-label {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Lato', sans-serif;
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--dark);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
    background: white;
    padding: 4px 9px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.nav-dot:hover .dot-label,
.nav-dot.active .dot-label {
    opacity: 1;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .slide {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 56px 28px 72px;
        gap: 16px;
    }

    .model-container {
        flex: 0 0 auto;
        width: 100%;
        max-width: 520px;
        height: 48vh;
        max-height: 420px;
    }

    model-viewer {
        width: 100%;
        height: 100%;
    }

    .content {
        flex: 0 0 auto;
        width: 100%;
        max-width: 560px;
        text-align: center;
    }

    .exhibit-number {
        left: 50%;
        transform: translateX(-50%);
        font-size: 3.5rem;
        top: -22px;
    }

    .content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .content .description {
        margin: 0 auto;
    }

    .exhibit-meta {
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--gap-sm);
    }

    .hero-subtitle-text {
        letter-spacing: 4px;
    }
}

@media (max-width: 600px) {
    .slide {
        padding: 52px 18px 68px;
        gap: 12px;
    }

    .model-container {
        height: 42vh;
        max-height: 320px;
        max-width: 100%;
    }

    .content {
        max-width: 100%;
    }

    .content h2 {
        letter-spacing: 2px;
    }

    .exhibit-meta {
        display: none;
    }

    .navigation {
        padding: 8px 12px;
    }

    .nav-dots { gap: 8px; }

    .nav-dot {
        width: 8px;
        height: 8px;
    }

    .hero-badge {
        font-size: 0.62rem;
        letter-spacing: 2px;
        padding: 6px 13px;
    }

    .hero-subtitle-text { letter-spacing: 3px; }

    .hero-cta {
        padding: 10px 20px;
        font-size: 0.68rem;
    }

    .scroll-progress { width: 3px; }
}

@media (max-width: 400px) {
    .slide {
        padding: 48px 14px 64px;
        gap: 10px;
    }

    .model-container {
        height: 36vh;
        max-height: 270px;
    }

    .content h2 {
        letter-spacing: 1.5px;
    }

    .nav-dots { gap: 6px; }

    .nav-dot {
        width: 7px;
        height: 7px;
    }
}

@media (min-width: 1200px) {
    model-viewer {
        height: 88%;
    }

    .hero-decoration {
        display: block;
        position: absolute;
        inset: 0;
        pointer-events: none;
    }

    .gear {
        position: absolute;
        border-radius: 50%;
        border: 3px solid rgba(37,99,235,0.10);
        animation: spin linear infinite;
    }

    .gear::before {
        content: '';
        position: absolute;
        inset: 10px;
        border-radius: 50%;
        border: 2px dashed rgba(37,99,235,0.08);
    }

    .gear--large  { width: 300px; height: 300px; bottom: -60px; right: -60px; animation-duration: 30s; }
    .gear--medium { width: 180px; height: 180px; top: 40px; right: 200px; animation-duration: 20s; animation-direction: reverse; }
    .gear--small  { width: 100px; height: 100px; bottom: 80px; right: 220px; animation-duration: 15s; }

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

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .museum-container {
        scroll-behavior: auto;
    }
}

.pie_pagina {
    background-color: rgb(166, 156, 172);
    padding: 60px 20px;
    margin-top: 0;
    padding: auto;

}

.especial {
    width: 100% ;
    font-size: 10px;
}

.logos {
    display: flex;
    justify-content: center;
    background-color: transparent;
    padding-top: 20px;
}

.logo_usco {
    width: 200px;
    height: 40px;
    margin-right: 1rem;
    background-color: transparent;
    padding: auto;
}

.logo_instagram {
    width: 40px;
    height: 40px;
    background-color: transparent;
    margin-right: 1rem;
}

.logo_facebook {
    width: 40px;
    height: 40px;
    background-color: transparent;
}




