:root {
    --gold: #c5a059;
    --black: #050505;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Helvetica', sans-serif; }
body { background: var(--black); color: var(--white); overflow-x: hidden; }

/* Navbar */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 20px 0; backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-container {
    width: 90%; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
}

.nav-logo { letter-spacing: 6px; font-weight: bold; font-size: 1.2rem; }

.nav-links a {
    color: white; text-decoration: none; margin-left: 25px;
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px;
}

.nav-lang .lang-btn { cursor: pointer; font-size: 0.7rem; opacity: 0.5; margin-right: 10px; }
.nav-lang .active { opacity: 1; border-bottom: 1px solid var(--gold); }

/* Menú Móvil */
.menu-icon { display: none; cursor: pointer; }
.bar { width: 25px; height: 2px; background: white; margin: 5px 0; transition: 0.4s; }

/* Hero Section */
.hero { height: 100vh; width: 100vw; position: relative; }
.hero-container { display: flex; height: 100%; width: 100%; }

.stripe { 
    flex: 1; background-size: cover; background-position: center; 
    transition: flex 0.8s ease; position: relative;
}

.stripe:hover { flex: 2; }
.overlay-dark { position: absolute; inset: 0; background: rgba(0,0,0,0.4); }

/* Contenido Central */
.hero-content {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    text-align: center; pointer-events: none; width: 100%;
}

.main-title { font-size: 7vw; letter-spacing: 20px; font-weight: 100; }
.sub-title { font-size: 1rem; color: var(--gold); letter-spacing: 5px; margin-top: 10px; }

/* ...Pero obligamos a que el BOTÓN sí capture el clic */
.btn-prime {
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 100; /* El nivel más alto dentro del hero */
}

/* MEDIA QUERIES PARA MÓVIL */
@media (max-width: 768px) {
    .hero-container { flex-direction: column; }
    .stripe { flex: 1; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .stripe:hover { flex: 1; } /* Desactivar expansión en móvil */
    
    .nav-links {
        position: fixed; top: 70px; right: -100%; height: 100vh;
        background: rgba(5,5,5,0.95); width: 100%; 
        flex-direction: column; align-items: center; padding-top: 50px;
        transition: 0.5s;
    }
    
    .nav-links.active { right: 0; }
    .nav-links a { margin: 20px 0; font-size: 1.2rem; }
    .menu-icon { display: block; }
    .main-title { font-size: 12vw; letter-spacing: 10px; }
}


/* Estilo Editorial Estrada Lab */
.portfolio-editorial {
    background-color: #050505;
    padding: 100px 0;
    overflow: hidden;
}

.editorial-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 0 10%;
    margin-bottom: 150px;
    gap: 50px;
}

.editorial-item.reverse { flex-direction: row-reverse; }

.editorial-text { flex: 1; }

.tag {
    color: var(--gold);
    letter-spacing: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    display: block;
    margin-bottom: 20px;
}

.editorial-title {
    font-size: 4.5rem;
    line-height: 0.9;
    font-weight: 200;
    letter-spacing: -2px;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.editorial-title .indent { padding-left: 50px; }

.editorial-desc {
    color: #888;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.editorial-divider {
    width: 0;
    height: 1px;
    background: var(--gold);
    margin-bottom: 30px;
    transition: width 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.active .editorial-divider { width: 100%; }

.editorial-link {
    color: white;
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 3px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 5px;
    transition: 0.3s;
}

.editorial-link:hover { border-color: var(--gold); color: var(--gold); }

.editorial-image {
    flex: 1.2;
    overflow: hidden;
    height: 600px;
}

.editorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.3);
    transition: transform 2s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.active .editorial-image img { transform: scale(1); }

/* --- EFECTOS DE REVELADO (FADE IN UP) --- */
.reveal {
    opacity: 0;
    transform: translateY(100px);
    transition: all 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsivo */
@media (max-width: 768px) {
    .editorial-item { flex-direction: column !important; padding: 0 5%; }
    .editorial-title { font-size: 2.5rem; }
    .editorial-image { height: 350px; width: 100%; }
}
















.about-elite {
    position: relative;
    background-color: #000;
    padding: 150px 0;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Texto Gigante en el Fondo */
.about-bg-text {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 25vh;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03); /* Casi invisible */
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
    text-transform: uppercase;
}

.about-container {
    width: 85%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-content { flex: 1.2; }

.about-tag {
    color: var(--gold);
    letter-spacing: 6px;
    font-size: 0.8rem;
    font-weight: bold;
}

.about-title {
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1.1;
    color: #fff;
    margin: 30px 0;
    font-weight: 200;
}

.about-title .highlight {
    color: var(--gold);
    font-style: italic;
    font-family: 'Playfair Display', serif; /* Opcional: fuente elegante */
}

.about-grid {
    display: flex;
    gap: 50px;
    margin-top: 40px;
}

.about-text-block p {
    color: #aaa;
    line-height: 1.8;
    max-width: 400px;
    font-size: 1.1rem;
}

.stat-item {
    margin-bottom: 30px;
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    color: var(--gold);
    font-weight: 200;
}

.stat-desc {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
}

/* El Orbe: Visual fuera de este mundo */
.about-visual {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.digital-orb {
    position: relative;
    width: 300px;
    height: 300px;
}

.orb-core {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    animation: pulse 4s infinite alternate;
}

.orb-ring {
    position: absolute;
    inset: -20px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: rotateOrb 10s linear infinite;
}

.orb-ring:nth-child(3) {
    inset: -40px;
    animation-duration: 15s;
    animation-direction: reverse;
    border-color: rgba(255,255,255,0.1);
}

@keyframes pulse {
    from { transform: scale(0.8); opacity: 0.5; }
    to { transform: scale(1.1); opacity: 0.8; }
}

@keyframes rotateOrb {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsivo Móvil */
@media (max-width: 992px) {
    .about-container { flex-direction: column; text-align: center; }
    .about-grid { flex-direction: column; align-items: center; }
    .about-visual { margin-top: 100px; }
    .about-bg-text { font-size: 15vh; }
}



/* Valores con Efecto Glassmorphism */
.values-section {
    padding: 100px 5%;
    background: #000;
    display: flex;
    justify-content: center;
}

.values-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
}

.value-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 40px;
    border-radius: 20px;
    transition: all 0.5s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    background: rgba(197, 160, 89, 0.05);
    border-color: var(--gold);
    transform: translateY(-20px);
}

.value-number {
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 5px;
    display: block;
    margin-bottom: 20px;
}

.value-content h3 {
    font-size: 1.5rem;
    letter-spacing: 3px;
    margin-bottom: 15px;
    font-weight: 200;
}

.value-content p {
    color: #888;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Footer de Alto Nivel */
.footer-prime {
    background: #050505;
    padding: 100px 5% 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 100px;
    margin-bottom: 80px;
}

.footer-logo {
    font-size: 3rem;
    letter-spacing: 15px;
    margin-bottom: 20px;
    font-weight: 100;
}

.footer-email {
    font-size: 2.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: 200;
    transition: color 0.3s;
}

.footer-email:hover { color: var(--gold); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    text-align: center;
    font-size: 0.6rem;
    letter-spacing: 4px;
    color: #444;
}

/* Responsive */
@media (max-width: 768px) {
    .values-container { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 50px; }
    .footer-email { font-size: 1.5rem; }
}

/* --- Preloader Style --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #050505; /* Negro puro */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1);
}

.preloader-content {
    text-align: center;
    width: 300px;
}

.preloader-logo {
    font-size: 0.9rem;
    letter-spacing: 12px;
    font-weight: 200;
    color: #ffffff;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInLoader 1s forwards;
}

.preloader-bar-container {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.preloader-bar {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold); /* El dorado de Estrada Lab */
    transition: left 3s cubic-bezier(0.65, 0, 0.35, 1);
}

.preloader-percentage {
    font-size: 0.7rem;
    color: var(--gold);
    margin-top: 15px;
    letter-spacing: 3px;
    font-family: 'Courier New', monospace; /* Estilo laboratorio técnico */
}

/* Animación de salida */
.preloader-finish {
    transform: translateY(-100%);
}

@keyframes fadeInLoader {
    to { opacity: 1; letter-spacing: 15px; }
}






/* Estado inicial de la Bóveda */
#project-vault {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: all 1s cubic-bezier(0.85, 0, 0.15, 1);
    perspective: 1000px; /* Clave para el efecto 3D */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cuando se activa */
#project-vault.vault-active {
    opacity: 1;
    pointer-events: all;
}

.vault-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 90%;
    transform: translateZ(-500px) rotateX(20deg); /* Empieza lejos y rotado */
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.vault-active .vault-grid {
    transform: translateZ(0) rotateX(0); /* Se acerca al frente */
}

.vault-item {
    position: relative;
    height: 400px;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

.vault-item:hover {
    filter: grayscale(0%);
    border-color: var(--gold);
    transform: scale(1.05) translateZ(50px);
    z-index: 10;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}

.vault-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.vault-info {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 30px;
    background: linear-gradient(transparent, black);
    width: 100%;
    opacity: 0;
    transition: 0.5s;
}

.vault-item:hover .vault-info { opacity: 1; }

.vault-close {
    position: absolute;
    top: 40px;
    right: 40px;
    color: var(--gold);
    letter-spacing: 5px;
    cursor: pointer;
    font-size: 0.8rem;
}

/* Móvil */
@media (max-width: 768px) {
    .vault-grid { grid-template-columns: 1fr; transform: translateZ(-200px); }
    .vault-item { height: 250px; }
}


/* BOTÓN PRIME ESTRADA LAB */
.btn-prime {
    position: relative;
    padding: 18px 45px;
    background: transparent;
    color: #fff;
    border: 1px solid var(--gold);
    letter-spacing: 5px;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 5;
    backdrop-filter: blur(5px);
}

/* Efecto de Brillo/Destello que pasa solo */
.btn-prime::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(197, 160, 89, 0.4),
        transparent
    );
    transition: all 0.6s;
    animation: shine-button 4s infinite; /* Brilla automáticamente cada 4 segundos */
}

@keyframes shine-button {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

/* El Pulso Magnético (Aura dorada) */
.btn-prime::after {
    content: '';
    position: absolute;
    inset: -1px;
    border: 1px solid var(--gold);
    border-radius: inherit;
    animation: pulse-gold 2s infinite;
    z-index: -1;
    opacity: 0;
}

@keyframes pulse-gold {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.3); opacity: 0; }
}

/* Hover: El botón se llena de dorado */
.btn-prime:hover {
    color: #000;
    background: var(--gold);
    box-shadow: 0 0 40px rgba(197, 160, 89, 0.6);
    transform: translateY(-5px);
}

.btn-prime:active {
    transform: scale(0.95);
}






/* --- Services Section --- */
.services-elite {
    background: #000;
    padding: 150px 5%;
    position: relative;
}

.services-header {
    text-align: center;
    margin-bottom: 80px;
}

.services-main-title {
    font-size: clamp(2rem, 5vw, 4rem);
    letter-spacing: 10px;
    font-weight: 200;
    color: #fff;
    line-height: 1.2;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.service-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px;
    position: relative;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
}

/* El efecto de resplandor dorado al pasar el mouse */
.service-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.service-box:hover::before {
    opacity: 1;
}

.service-box:hover {
    border-color: var(--gold);
    transform: translateY(-15px);
    background: rgba(197, 160, 89, 0.03);
}

.service-number {
    font-family: 'Courier New', monospace;
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 30px;
    opacity: 0.5;
}

.service-icon {
    width: 50px;
    height: 50px;
    color: var(--gold);
    margin-bottom: 30px;
}

.service-box h3 {
    font-size: 1.5rem;
    letter-spacing: 3px;
    font-weight: 300;
    color: #fff;
    margin-bottom: 20px;
}

.service-box p {
    color: #888;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    color: #555;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
    transition: 0.3s;
}

.service-box:hover .service-list li {
    color: #aaa;
}

/* Móvil */
@media (max-width: 768px) {
    .service-box { padding: 30px; }
    .services-main-title { letter-spacing: 5px; }
}



/* --- FOOTER PRIME --- */
.footer-prime {
    background-color: #050505;
    color: #ffffff;
    padding: 120px 5% 40px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Título Gigante */
.footer-cta {
    margin-bottom: 100px;
}

.footer-tag {
    color: var(--gold);
    letter-spacing: 5px;
    font-size: 0.8rem;
    font-weight: bold;
}

.footer-big-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.1;
    font-weight: 200;
    margin-top: 20px;
    text-transform: uppercase;
}

.gold-text {
    color: var(--gold);
    font-style: italic;
}

/* Grid de Contacto */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.col-title {
    display: block;
    color: var(--gold);
    font-size: 0.7rem;
    letter-spacing: 3px;
    margin-bottom: 30px;
    font-weight: bold;
}

.footer-col p {
    color: #888;
    line-height: 1.8;
    font-size: 1rem;
    max-width: 300px;
}

.footer-col a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin-bottom: 15px;
    font-size: 0.9rem;
    transition: 0.3s;
    letter-spacing: 1px;
}

.footer-col a:hover {
    color: var(--gold);
    transform: translateX(10px);
}

/* Logo Footer */
.footer-logo {
    font-size: 2rem;
    letter-spacing: 10px;
    font-weight: 100;
    margin-bottom: 25px;
}

/* Estilo para los links de contacto */
.contact-item {
    font-size: 1.4rem !important;
    font-weight: 200;
    margin-bottom: 10px;
}

.footer-socials {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.social-link {
    font-size: 0.7rem !important;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 5px;
}

/* Bottom Bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    color: #444;
    font-size: 0.65rem;
    letter-spacing: 2px;
}

/* Adaptación para móviles */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .footer-big-title {
        font-size: 2.5rem;
    }
    .contact-item {
        font-size: 1.1rem !important;
    }
}

/* BOTÓN WHATSAPP PREMIUM */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #000; /* Fondo Negro */
    color: var(--gold); /* Icono Dorado */
    border: 2px solid var(--gold); /* Borde Dorado */
    border-radius: 50px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000; /* Por encima de la bóveda y todo */
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    text-decoration: none;
}

.ws-icon {
    width: 30px;
    height: 30px;
    z-index: 2;
}

/* Efecto de Pulso Dorado */
.ws-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--gold);
    border-radius: 50%;
    z-index: 1;
    opacity: 0;
    animation: ws-pulse-animation 2s infinite;
}

@keyframes ws-pulse-animation {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: var(--gold);
    color: #000; /* Invierte colores al hover */
    box-shadow: 0 15px 30px rgba(197, 160, 89, 0.4);
}

/* Adaptación para móviles para que no estorbe */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .ws-icon {
        width: 25px;
        height: 25px;
    }
}

/* --- CUSTOM CURSOR --- */
* {
    cursor: none; /* Ocultamos el mouse estándar en toda la web */
}

.cursor-dot,
.cursor-outline {
    pointer-events: none; /* Para que no interfiera con los clics */
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 99999; /* Por encima de TODO */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--gold);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gold);
    /* Este es el secreto: el outline se mueve más lento que el punto */
    transition: all 0.15s ease-out; 
}

/* Efecto cuando pasas sobre algo que se puede clickear */
.cursor-hover {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: rgba(197, 160, 89, 0.2);
    border: none;
}






body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* Generador de ruido sutil */
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.04; /* Muy sutil, casi imperceptible */
    pointer-events: none;
    z-index: 99999;
    animation: noise 0.2s infinite;
}

@keyframes noise {
    0% { transform: translate(0,0) }
    10% { transform: translate(-1%,-1%) }
    20% { transform: translate(-2%,1%) }
    30% { transform: translate(1%,-2%) }
    40% { transform: translate(-1%,2%) }
    50% { transform: translate(-2%,-2%) }
    60% { transform: translate(-1%,1%) }
    70% { transform: translate(1%,-2%) }
    80% { transform: translate(-1%,-1%) }
    90% { transform: translate(1%,1%) }
    100% { transform: translate(2%,2%) }
}


/* Envuelve tus títulos en un div con overflow: hidden en el HTML */
.title-wrapper {
    overflow: hidden;
}

.reveal-text {
    transform: translateY(100%);
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.active .reveal-text {
    transform: translateY(0);
}


/* Nuevo estado inicial de los elementos que van a aparecer */
.reveal {
    opacity: 0;
    filter: blur(20px);
    transform: translateY(80px) scale(0.9); /* Viene de abajo y pequeño */
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1); /* Curva de velocidad Premium */
    will-change: transform, opacity;
}

/* Estado cuando el elemento entra en pantalla */
.reveal.active {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0) scale(1);
}

/* Retraso escalonado para las tarjetas de servicios o valores */
.value-card:nth-child(2) { transition-delay: 0.2s; }
.value-card:nth-child(3) { transition-delay: 0.4s; }

.service-box:nth-child(2) { transition-delay: 0.2s; }
.service-box:nth-child(3) { transition-delay: 0.4s; }



html {
    scroll-behavior: smooth;
    /* Esto suaviza el desplazamiento en navegadores modernos */
}

body {
    background-color: #000;
    /* Eliminamos el parpadeo blanco entre secciones */
    overscroll-behavior: none; 
}










/* Estilo base del cuerpo */
body {
    background-color: #050505; /* Negro inicial */
    transition: background-color 1.5s cubic-bezier(0.22, 1, 0.36, 1);
    margin: 0;
    color: white;
}

/* Tonos de ambiente para diferentes secciones */
body.bg-dark { background-color: #050505; } /* Negro puro */
body.bg-soft { background-color: #0f0f0f; } /* Gris grafito muy profundo */
body.bg-luxury { background-color: #0a0907; } /* Tono chocolate/dorado oscuro */

/* Ajuste para que las partículas se mezclen */
#canvas-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.3;
}






.manifesto-prime {
    position: relative;
    padding: 180px 10%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

/* Video de fondo muy oscuro */
.manifesto-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-subtle {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15; /* Casi invisible para mantener la elegancia */
    filter: grayscale(100%); /* Lo hacemos monocromático para que no distraiga */
}

.video-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, #000 90%);
}

.manifesto-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
}

.manifesto-tag-gold {
    color: var(--gold);
    letter-spacing: 10px;
    font-size: 0.7rem;
    font-weight: 300;
    display: block;
    margin-bottom: 50px;
    opacity: 0.8;
}

.manifesto-text-elegant p {
    font-size: clamp(1.5rem, 3vw, 2.8rem);
    line-height: 1.5;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.2); /* Color apagado inicial */
    letter-spacing: 1px;
    transition: all 1s ease;
}

/* El efecto de iluminación dorada al hacer scroll */
.manifesto-text-elegant p.active {
    color: #fff;
    text-shadow: 0 0 15px rgba(197, 160, 89, 0.5);
}

.manifesto-closing {
    margin-top: 100px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.5s ease;
}

.manifesto-closing.active {
    opacity: 1;
    transform: translateY(0);
}

.manifesto-closing p {
    color: #888;
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 40px;
}


/* --- METRICS BAR CON ICONOS --- */
.metrics-bar {
    background-color: #000;
    padding: 80px 5%; /* Un poco más de padding vertical */
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.metrics-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px; /* Más espacio entre los elementos */
}

.metric-item {
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    cursor: default; /* Cursor normal para que no dé la sensación de click */
}

.metric-item:hover {
    transform: translateY(-8px); /* Más movimiento al pasar el mouse */
}

.metric-icon-wrapper {
    position: relative;
    width: 60px; /* Tamaño del círculo contenedor del icono */
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /* Borde inicial muy sutil */
    border: 1px solid rgba(197, 160, 89, 0.1); 
    transition: all 0.5s ease;
    box-shadow: 0 0 0 rgba(197, 160, 89, 0); /* Sombra inicial */
}

.metric-item:hover .metric-icon-wrapper {
    border-color: var(--gold); /* Borde dorado al hover */
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.4); /* Resplandor dorado */
    background-color: rgba(197, 160, 89, 0.05); /* Fondo muy sutil */
}

.metric-icon {
    width: 35px;
    height: 35px;
    color: var(--gold); /* Color del icono */
    opacity: 0.7; /* Opacidad inicial */
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.metric-item:hover .metric-icon {
    opacity: 1; /* Icono completamente visible al hover */
    transform: scale(1.1); /* Ligeramente más grande */
}

/* Animación de "respiración" para el icono por defecto (sin hover) */
.metric-icon {
    animation: icon-breathe 3s ease-in-out infinite alternate;
}

@keyframes icon-breathe {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.02); opacity: 0.9; }
}


.metric-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 4px; /* Más espaciado para lujo */
    color: #888;
    line-height: 1.6;
    text-transform: uppercase;
    font-weight: 300; /* Más fino */
    margin-top: 15px; /* Espacio entre icono y texto */
    transition: color 0.5s ease;
}

.metric-item:hover .metric-label {
    color: #fff; /* Texto blanco al hover */
}

.metric-divider {
    width: 1px;
    height: 70px; /* Más alto para elegancia */
    background: linear-gradient(to bottom, transparent 0%, var(--gold) 50%, transparent 100%);
    opacity: 0.2; /* Más sutil */
}

@media (max-width: 992px) {
    .metrics-container { gap: 40px; }
    .metric-item { flex-basis: 45%; } /* Dos columnas en tablets */
    .metric-divider { display: none; }
}

@media (max-width: 576px) {
    .metrics-container { flex-direction: column; gap: 30px; }
    .metric-item { flex-basis: 100%; }
}


.ceo-quote {
    padding: 150px 10%;
    background-color: #050505;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(197, 160, 89, 0.1);
}

.quote-container {
    max-width: 800px;
    text-align: center;
}

.quote-icon {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: var(--gold);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: -20px;
}

.quote-text {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    line-height: 1.8;
    color: #eee;
    font-weight: 200;
    font-style: italic;
    margin-bottom: 40px;
}

.ceo-signature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.ceo-name {
    font-family: 'Montserrat', sans-serif; /* O tu fuente principal */
    font-size: 1.2rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 400;
}

.ceo-name::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin: 10px auto;
}

.ceo-title {
    font-size: 0.6rem;
    letter-spacing: 4px;
    color: var(--gold);
    font-weight: 300;
}








/* Ocultar el puntero en tablets y celulares */
@media (max-width: 1024px) {
    .cursor-dot, 
    .cursor-outline {
        display: none !important;
    }
}





/* --- DISEÑO MENÚ MÓVIL STRADA LAB --- */

@media (max-width: 768px) {
    /* Escondemos los links normales y los preparamos para el overlay */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98); /* Negro profundo Strada */
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        z-index: 998;
        
        /* Estado inicial: invisible y movido */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.5s cubic-bezier(0.6, 0.05, 0.01, 0.9);
    }

    /* Clase que activa el menú */
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 1.8rem !important;
        margin: 0 !important;
        letter-spacing: 4px;
        transition: color 0.3s;
    }

    .nav-links a:hover {
        color: var(--gold);
    }

    /* Animación del icono Hamburguesa a X */
    .menu-icon.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background: var(--gold);
    }
    .menu-icon.active .bar:nth-child(2) {
        transform: translateY(-2px) rotate(-45deg);
        background: var(--gold);
    }
}











/* --- IMPACTO HERO STRADA LAB (CORREGIDO) --- */

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%; /* Esto evita que el texto toque los bordes laterales */
    max-width: 1200px;
    pointer-events: none;
}

.main-title {
    /* El tamaño se ajusta solo: mínimo 2.5rem, ideal 6vw, máximo 5rem */
    font-size: clamp(2.5rem, 6vw, 5rem); 
    letter-spacing: clamp(5px, 1.5vw, 15px); /* El espacio entre letras también es dinámico */
    font-weight: 200;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 10px;
    white-space: normal; /* Permite que la frase baje de línea si es muy larga */
}

.sub-title {
    font-size: clamp(0.6rem, 1vw, 0.9rem);
    color: var(--gold);
    letter-spacing: clamp(3px, 0.8vw, 8px);
    font-weight: 400;
    margin-top: 5px;
    opacity: 0.8;
}

/* Ajuste específico para celulares (Boom en móvil) */
@media (max-width: 768px) {
    .main-title {
        font-size: 10vw; 
        letter-spacing: 4px; /* Bajamos el espaciado en móvil para que no se corte */
        line-height: 1.3;
    }
    
    .sub-title {
        font-size: 0.65rem;
        letter-spacing: 3px;
    }
}