/* =====================================================
   UNIQUE ÉLAN — Estética premium negra + azul corporativo
   ===================================================== */

:root {
    --azul: #0A4C8A;
    --negro: #0D0D0D;
    --carbon: #111111;
    --gris-texto: #e6e6e6;
    --gris-medio: #9a9a9a;
    --blanco: #ffffff;
}

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

html, body {
    height: 100%;
}

body {
    font-family: "Montserrat", sans-serif;
    background: var(--negro);
    color: var(--blanco);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* =====================================================
   HEADER
   ===================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 40px;
    background: rgba(13,13,13,0.75);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 9999;
}

.logo-header {
    height: 42px;
    width: auto;
}

.nav {
    display: flex;
    gap: 28px;
}

.nav a {
    color: var(--blanco);
    font-size: 14px;
    opacity: 0.9;
}

.nav a:hover {
    opacity: 0.6;
}

.menu-btn {
    display: none;
    font-size: 26px;
    color: var(--blanco);
}

/* =====================================================
   HERO — VIDEO FULL WIDTH
   ===================================================== */

.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.85)
    );
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    margin-top: 40px;
}

.hero h1 {
    font-size: 58px;
    font-weight: 300;
    line-height: 1.1;
}

.hero-sub {
    font-size: 20px;
    margin-top: 24px;
    color: var(--gris-texto);
}

.hero-small {
    font-size: 15px;
    margin-top: 30px;
    opacity: 0.85;
}

/* =====================================================
   SECCIONES GENERALES
   ===================================================== */

.section {
    padding: 120px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

/* =====================================================
   MANIFESTO
   ===================================================== */

.manifesto p {
    font-size: 26px;
    line-height: 1.5;
    margin-bottom: 40px;
}

.manifesto-main {
    margin-bottom: 20px;
}

/* =====================================================
   IMAGEN FULL-WIDTH ENTRE BLOQUES
   ===================================================== */

.fullwidth-image {
    width: 100%;
    margin: 0;
    padding: 0;
}

.fullwidth-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* =====================================================
   CAJAS 1 / 2 / 3
   ===================================================== */

.valor-percibido {
    padding-top: 60px;
}

.section-title {
    color: var(--blanco);
    font-size: 36px;
    text-align: center;
    margin-bottom: 80px;
}

.valor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    justify-items: center;
}

.valor-card {
    background: #101010;
    padding: 45px 30px;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 6px;
    transition: 0.35s ease;
    max-width: 320px;
    text-align: center;
}

.valor-card:hover {
    transform: translateY(-6px);
    border-color: var(--azul);
}

.valor-num {
    font-size: 42px;
    font-weight: 300;
    color: var(--azul);
    margin-bottom: 20px;
}

.valor-card p {
    font-size: 18px;
    color: var(--gris-texto);
    line-height: 1.6;
}

.valor-closing {
    margin-top: 60px;
    text-align: center;
    font-size: 20px;
    color: var(--gris-texto);
}

/* =====================================================
   VIDEO NUBES FULL-WIDTH + TEXTO + LOGO
   ===================================================== */

.fullwidth-video-overlay {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
}

.video-nubes {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.80)
    );
    z-index: 1;
}

.video-nubes-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-nubes {
    width: 210px;
    height: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 8px rgba(0,0,0,0.6));
}

.video-nubes-content h2 {
    font-size: 38px;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--blanco);
}

/* =====================================================
   SERVICIOS
   ===================================================== */

.section-title-block h2 {
    text-align: center;
    margin-bottom: 70px;
    font-size: 36px;
    font-weight: 300;
}

.columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    justify-items: center;
}

.column {
    max-width: 400px;
}

.column h3 {
    font-size: 24px;
    font-weight: 300;
    color: var(--blanco);
    margin-bottom: 14px;
}

.column p {
    color: var(--gris-texto);
    line-height: 1.7;
}

.icon {
    stroke: var(--azul);
    margin-bottom: 15px;
}

/* =====================================================
   NUESTROS TRES TRABAJOS
   ===================================================== */

.proyectos {
    margin-top: 120px;
}

.proyecto-card {
    background: #111;
    border: 1px solid rgba(255,255,255,0.07);
    padding: 40px;
    margin: 60px auto;
    border-radius: 8px;
    max-width: 780px;
    transition: 0.3s ease;
}

.proyecto-card:hover {
    border-color: var(--azul);
    transform: translateY(-4px);
}

.proyecto-card h3 {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 18px;
}

.proyecto-card p {
    font-size: 17px;
    color: var(--gris-texto);
    text-align: justify;
    line-height: 1.7;
}

/* =====================================================
   CONTACTO (FARO)
   ===================================================== */

.parallax-contact {
    position: relative;
    padding: 140px 20px;
    background: url('faro-elan.jpg') center/cover no-repeat;
    color: var(--blanco);
    text-align: center;
}

.contacto-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.contacto-content {
    position: relative;
    z-index: 2;
}

.contacto-content h2 {
    font-size: 30px;
    font-weight: 300;
    margin-bottom: 40px;
}

.contacto-content p {
    font-size: 18px;
    opacity: 0.9;
}

/* =====================================================
   FOOTER
   ===================================================== */

footer {
    text-align: center;
    padding: 40px 20px;
    background: var(--carbon);
    color: var(--gris-medio);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 900px) {

    .valor-grid,
    .columns {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 42px;
    }

    .section {
        padding: 80px 20px;
    }

    .video-nubes-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {

    .nav {
        display: none;
        flex-direction: column;
        gap: 14px;
        background: var(--carbon);
        padding: 20px;
        position: absolute;
        right: 20px;
        top: 70px;
        border: 1px solid rgba(255,255,255,0.1);
    }

    .nav.nav-open {
        display: flex;
    }

    .menu-btn {
        display: block;
    }

    .logo-header {
        height: 32px;
    }
}
