﻿/* ==============================
   VARIABLES CORPORATIVAS SIGEL
================================= */
:root {
    --sigel-primary: #0A5C63;
    --sigel-dark: #083E44;
    --sigel-light: #0F6F77;
    --sigel-bg: #f4f6fa;
}

body {
    font-family: 'Montserrat',sans-serif;
    background: var(--sigel-bg);
    color: #1f2937;
}

/* ==============================
   NAVBAR
================================= */
.navbar {
    background: rgba(10,92,99,0.95);
    backdrop-filter: blur(8px);
    transition: all .3s ease;
}

    .navbar.scrolled {
        background: rgba(8,62,68,0.98);
    }

.logo-sigel {
    height: 40px;
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    margin-left: 20px;
}

    .nav-link:hover {
        opacity: .8;
    }

    .nav-link.active {
        font-weight: 700;
        border-bottom: 2px solid #fff;
    }

.btn-login {
    background: #fff;
    color: var(--sigel-primary) !important;
    border-radius: 40px;
    padding: 8px 22px;
    font-weight: 600;
    transition: .25s;
}

    .btn-login:hover {
        transform: translateY(-2px);
        background: #f1f1f1;
    }

/* ==============================
   HERO VIDEO
================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .hero video {
        position: absolute;
        top: 50%;
        left: 50%;
        width: auto;
        height: 100%;
        min-width: 100%;
        min-height: 100%;
        transform: translate(-50%,-50%);
        object-fit: cover;
        z-index: 1;
        filter: brightness(.85) contrast(1.1);
    }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 180deg, rgba(0,0,0,.35), rgba(0,0,0,.65) );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    max-width: 900px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.3rem;
    opacity: .95;
}

.btn-sigel {
    background: var(--sigel-primary);
    border: none;
    border-radius: 40px;
    padding: 14px 32px;
    font-weight: 600;
    color: #fff;
}

    .btn-sigel:hover {
        background: var(--sigel-dark);
        color: #fff;
    }

/* ==============================
   SECCIONES
================================= */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--sigel-primary);
    margin-bottom: 50px;
    text-align: center;
}

/* ==============================
   FEATURE BOX
================================= */
.feature-box {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid #e6e9ef;
    transition: .3s ease;
    height: 100%;
}

    .feature-box:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 50px rgba(0,0,0,.08);
        border-color: var(--sigel-primary);
    }

.feature-icon {
    width: 65px;
    height: 65px;
    background: rgba(10,92,99,.1);
    color: var(--sigel-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

/* ==============================
   MÉTRICAS
================================= */
.metrics {
    background: var(--sigel-primary);
    color: #fff;
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 700;
}

.metric-text {
    opacity: .85;
}

/* ==============================
   CTA FINAL
================================= */
.cta {
    background: linear-gradient( 135deg, var(--sigel-primary), var(--sigel-dark) );
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    border-radius: 20px;
}

/* ==============================
   FOOTER
================================= */
.footer {
    background: var(--sigel-dark);
    color: #fff;
    padding: 40px 0;
}

    .footer a {
        color: #fff;
        text-decoration: none;
        opacity: .8;
    }

        .footer a:hover {
            opacity: 1;
            text-decoration: underline;
        }

/* ==============================
   RESPONSIVE
================================= */
@media(max-width:768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero {
        height: 85vh;
    }

    .section {
        padding: 60px 0;
    }
}
/* ==============================
   HERO LOGO
================================= */
.hero-logo-img {
    max-width: 220px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 25px rgba(0,0,0,.35));
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media(max-width:768px) {
    .hero-logo-img {
        max-width: 150px;
    }
}