/* --- QUIENES SOMOS SPECTACULAR: THE GOLDEN LEGACY --- */
:root {
    --legacy-bg: #0b0c10;
    --legacy-gold: #c5a059;
    --legacy-gold-light: #e5c585;
    --legacy-silver: #c4c6c9;
    --legacy-dark: #1f2833;
    --glass-panel: rgba(255, 255, 255, 0.03);
}

body.qs-page {
    background-color: var(--legacy-bg);
    color: #e0e0e0;
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}

/* --- HERO: THE MONUMENT --- */
.qs-hero-spec {
    position: relative;
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #000;
}

.qs-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #000 0%, #1a1a2e 100%);
    z-index: 1;
}

/* Particles/Dust Effect */
.gold-dust {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(var(--legacy-gold) 1px, transparent 1px),
        radial-gradient(var(--legacy-silver) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    opacity: 0.1;
    animation: floatingDust 60s linear infinite;
    z-index: 2;
}

@keyframes floatingDust {
    from {
        background-position: 0 0, 25px 25px;
    }

    to {
        background-position: 1000px 500px, 1025px 525px;
    }
}

.qs-hero-content-spec {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
}

.qs-eyebrow {
    font-size: 1.2rem;
    color: var(--legacy-gold);
    text-transform: uppercase;
    letter-spacing: 6px;
    display: block;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 1s ease-out forwards 0.5s;
}

.qs-title-spec {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.1;
    background: linear-gradient(to bottom, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    animation: fadeUp 1s ease-out forwards 0.8s;
}

.qs-desc-spec {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    opacity: 0;
    animation: fadeUp 1s ease-out forwards 1.1s;
}

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

/* --- LEGACY METRICS --- */
.legacy-metrics {
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    position: relative;
    z-index: 5;
}

.metric-box {
    text-align: center;
    position: relative;
}

.metric-number {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    color: var(--legacy-gold);
    line-height: 1;
}

.metric-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    margin-top: 10px;
    display: block;
}

/* --- STORYTELLING SECTION --- */
.story-section {
    padding: 120px 20px;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 30px;
}

.story-text h2 span {
    color: var(--legacy-gold);
}

.story-text p {
    font-size: 1.1rem;
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 25px;
}

.story-visual {
    position: relative;
    height: 500px;
}

.visual-card {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.v-card-1 {
    width: 80%;
    height: 80%;
    top: 0;
    left: 0;
    z-index: 2;
}

.v-card-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v-card-2 {
    width: 60%;
    height: 60%;
    bottom: 0;
    right: 0;
    z-index: 1;
    background: var(--legacy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--legacy-gold);
}

.v-card-2 i {
    font-size: 5rem;
    color: var(--legacy-gold);
    opacity: 0.5;
}

/* --- VALUES HOLOGRAPHIC GRID --- */
.values-section {
    padding: 100px 20px;
    text-align: center;
}

.values-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.value-card {
    background: var(--glass-panel);
    padding: 50px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--legacy-gold);
    transform: scaleX(0);
    transition: transform 0.4s;
    transform-origin: left;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-10px);
}

.value-icon {
    font-size: 3rem;
    color: var(--legacy-gold-light);
    margin-bottom: 25px;
}

.value-card h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 15px;
}

.value-card p {
    color: #a0a0a0;
    line-height: 1.6;
}

/* --- INFRASTRUCTURE CINEMATIC --- */
.infra-section {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-attachment: fixed;
    background-size: cover;
    background-image: url('assets/images/almacen_slider.png');
    /* Fallback */
    overflow: hidden;
}

.infra-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.infra-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.infra-content h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 20px;
}

.infra-content p {
    font-size: 1.2rem;
    color: #d0d0d0;
    margin-bottom: 30px;
}

.gold-btn {
    padding: 15px 40px;
    background: var(--legacy-gold);
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    display: inline-block;
    transition: all 0.3s;
}

.gold-btn:hover {
    background: white;
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.5);
}

@media (max-width: 768px) {
    .story-section {
        grid-template-columns: 1fr;
    }

    .story-visual {
        height: 300px;
    }

    .qs-title-spec {
        font-size: 3rem;
    }
}