:root {
    --color-base: #6A0C0F;
    --color-dark: #54141c;
    --color-medium: #8E1D16;
    --color-light: #B23C22;
    --color-soft: #D87F5A;
    --color-text: #F3CDB1;

    --gris-aperlado: #E2E5DE;
    --gris-marfil: #f0f1f5;
    --gris-opalo: #F3DCD4;
    --gris-plata: #E0E0E0;
    --gris-dark: #100f0e;
    
    --white: #ffffff;
    --alpha25: rgba(0,0,0,.25);
}


/* =========================
    GENERAL
========================= */

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f5f5;
}

/* =========================
    NAVBAR
========================= */
.custom-navbar {
    
    backdrop-filter: blur(5px);
    background-color: var(--alpha25);
    /*
    background: linear-gradient(90deg,
    var(--color-dark),
    var(--color-base));
    */
    padding:15px 0;
    transition:1s ease;
}

.custom-navbar::before{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(90deg,
    var(--color-dark),
    var(--color-base));
    backdrop-filter:blur(10px);

    opacity:0;
    transition: 1s;
    z-index: -100;
}

.custom-navbar.scrolled{
    box-shadow:0 5px 20px var(--alpha25);
    padding:0px 0;
    transition:1s ease;
}

.custom-navbar.scrolled::before{
    backdrop-filter:blur(20px);
    opacity:1;
}

.company-logo{
    filter: grayscale(100%) brightness(100);
    max-width: 100px;
    object-fit: scale-down;
    height: 50px;
    transition: 1s ease;
}

.logo {
    color: var(--white) !important;
    font-size: 2rem;
    font-weight: 700;
    padding: 20px 0;
}

.company-name {
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    font-size: 20px;
}

.menu-container {
    align-items: end;
    margin: 0px 10px;
}

.nav-link {
    color: var(--white) !important;
    font-weight: 600;
    padding: 18px 30px !important;
    transition: .3s;
    border-radius: 3px;
}

.nav-link:hover {
    background: rgba(255, 255, 255, .08);
}

.active-link {
    border: 2px solid #4e5eff;
    background: rgba(255, 255, 255, .05);
}

.navbar-toggler {
    border: none !important;
    color: white !important;
    font-size: 1.5rem;
}

/* =========================
    DROPDOWN
========================= */

.custom-dropdown{
    backdrop-filter: blur(5px) !important;
    background-color: var(--color-base) !important;

    border:none;
    border-radius:15px;
    padding:10px;
    margin-top:15px;
}

/* ITEMS */
.dropdown-item{
    color:white !important;
    padding:12px 18px;
    border-radius:10px;
    transition:.3s ease;
    font-weight:500;
}

/* HOVER */
.custom-dropdown .dropdown-item:hover{
    background:var(--color-light);
    color:white;
}

/* FLECHA */
.dropdown-toggle::after{
    margin-left:10px;
    vertical-align:middle;
}

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

.custom-footer {
    background: var(--color-dark);
    color: white;
    padding: 70px 0;
    /*margin-top: 100px;*/
}

.footer-logo {
    height: 100px;
}

.phones-footer a {
    color: #fff;
    text-decoration: none;
}




.footer-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: white;
    font-weight: 600;
    transition: .3s;
}

.footer-links a:hover {
    color: var(--color-soft);
}

.footer-contact p {
    margin-bottom: 2px;
    font-size: 1.1rem;
}

.mail-contact {
    color: #0094ff;
    text-decoration: none;
}

.contact-text {
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons a {
    width: 50px;
    height: 50px;
    background: white;
    color: black;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    transition: .3s;
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--color-soft);
    transform: translateY(-5px);
}

/* =========================
    HERO
========================= */

.hero{
    overflow: hidden;
    height:100vh;
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
}
/*
.hero-video{
    position:absolute;
    top:50%;
    left:50%;
    width:100%;
    height:100%;
    object-fit:cover;
    transform:translate(-50%, -50%);

    filter:
    brightness(.75)
    saturate(.9);

    transform:
    translate(-50%, -50%)
    scale(1.05);
}
*/
.hero-video{
    position:absolute;
    top:50%;
    left:50%;
    width:110%;
    height:110%;
    object-fit:cover;
    transform:
    translate(-50%, -50%);
    transition:
    transform .15s linear;
    will-change:transform;
}

.overlay{
    position:absolute;
    inset:0;
    background: radial-gradient( var(--color-soft) 0%, var(--color-dark) 100% );
    z-index:1;
    opacity: .5;
}

.hero-content{
    margin-top: 100px;
    position:relative;
    z-index:2;
    color:white;
    text-align:center;
}

.hero-content h1{
    font-size:5rem;
    font-weight: 700;
    /*
    background: linear-gradient(90deg, var(--color-light) 0%, var(--color-text) 50% ,var(--color-light) 100%);
    
    -webkit-background-clip: text;
    background-clip: text;
    
    -webkit-text-fill-color: transparent;
    color: transparent; 
    
    text-shadow: 0 0 20px #ffffff22;
    */
}

.hero-content p{
    max-width:900px;
    margin:auto;
    margin-top:20px;
    font-size:1.3rem;
    line-height:1.7;
}

.btn{
    background: 
        linear-gradient( 90deg, var(--color-base) 0%, var(--color-medium) 100%) !important;
    display:inline-block;
    margin-top:40px;
    padding:18px 45px;
    border-radius:5px;
    color:white !important;
    text-decoration:none;
    font-weight:700;
    transition:.4s ease;
    animation:heroButtonPulse 2.5s infinite;

}

.btn:hover{
    color: var(--color-dark) !important;
    background: white !important;
}

/* =========================
    BUTTON PULSE
========================= */
@keyframes heroButtonPulse{
    0%{
        box-shadow:
        0 0 0 0 rgba(255,0,0,.35);
    }
    70%{
        box-shadow:
        0 0 0 40px rgba(255,0,0,0);
    }
    100%{
        box-shadow:
        0 0 0 0 rgba(255,0,0,0);
    }
}

.estadisticas{
    display:flex;
    justify-content:center;
    gap:30px;
    padding:100px 10%;
    flex-wrap:wrap;
}

.stat-card{
    width:320px;
    padding:50px;
    border-radius:25px;
    text-align:center;
    box-shadow:0 15px 30px rgba(0,0,0,.1);
}

.green{
    background:#b8f0b8;
}

.red{
    background:#f1a3a3;
}

.blue{
    background:#9ca6ff;
}

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

@media(max-width:991px) {
    .company-name {
        display: none;
    }
    .menu-container {
        padding: 20px 0;
    }
    .nav-link {
        padding: 15px !important;
    }

    .footer-logo {
        margin-bottom: 30px;
    }
}

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

/* TABLETS */
@media(max-width:991px){

    .custom-navbar{
        padding: 10px 0;
        background: rgba(20,20,20,.55);
        backdrop-filter: blur(12px);
    }

    .custom-navbar.scrolled{
        padding: 5px 0;
    }

    .custom-navbar .container-fluid{
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin: 0 !important;
    }

    /* LOGO */
    .company-logo{
        max-width: 80px;
        height: 45px;
    }

    .logo{
        padding: 5px 0;
    }

    /* BOTON */
    .navbar-toggler{
        padding: 8px 12px;
        border-radius: 10px;
        background: rgba(255,255,255,.08);
        transition: .3s ease;
    }

    .navbar-toggler:hover{
        background: rgba(255,255,255,.15);
    }

    .navbar-toggler:focus{
        box-shadow: none;
    }

    /* MENU MOBILE CON SCROLL */
    .navbar-collapse{
        margin-top: 20px;
        padding: 20px;
        border-radius: 20px;

        background:
        linear-gradient(
            180deg,
            var(--color-base),
            var(--color-medium)
        );

        backdrop-filter: blur(20px);

        /* NUEVO */
        max-height: calc(100vh - 100px);
        overflow-y: auto;

        /* scroll suave iPhone */
        -webkit-overflow-scrolling: touch;
    }
    /* SCROLL DEL MENU */
    .navbar-collapse::-webkit-scrollbar{
        width: 6px;
    }

    .navbar-collapse::-webkit-scrollbar-thumb{
        background: rgba(255,255,255,.25);
        border-radius: 20px;
    }

    .navbar-collapse::-webkit-scrollbar-track{
        background: transparent;
    }

    .dropdown-menu{
        position: static !important;
        width: 100%;
    }

    .menu-container{
        align-items: stretch;
        gap: 8px;
        margin: 0;
        padding: 0;
    }

    .nav-item{
        width: 100%;
    }

    .nav-link{
        padding: 14px 18px !important;
        border-radius: 12px;
        font-size: 1rem;
    }

    .nav-link:hover{
        background: rgba(255,255,255,.08);
    }

    /* DROPDOWN */
    .custom-dropdown{
        margin-top: 10px;
        border-radius: 15px;
        padding: 8px;
        background: rgba(255,255,255,.05) !important;
    }

    .dropdown-item{
        padding: 12px 15px;
        font-size: .95rem;
    }

    /* TITULO */
    .company-name{
        display: none;
    }

    /* HERO */
    .hero-content{
        padding: 0 25px;
        margin-top: 80px;
    }

    .hero-content h1{
        font-size: 3.5rem;
    }

    .hero-content p{
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .btn{
        padding: 15px 35px;
    }
}

/* CELULARES */
@media(max-width:576px){

    .custom-navbar .container-fluid{
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .company-logo{
        max-width: 70px;
        height: 40px;
    }

    .navbar-collapse{
        padding: 15px;
        border-radius: 18px;
    }

    .nav-link{
        font-size: .95rem;
        padding: 12px 15px !important;
    }

    .hero{
        height: 100svh;
    }

    .hero-content{
        padding: 0 20px;
    }

    .hero-content h1{
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .hero-content p{
        margin-top: 15px;
        font-size: 1rem;
        line-height: 1.7;
    }

    .btn{
        width: 100%;
        max-width: 320px;
        padding: 15px 20px;
        font-size: .95rem;
    }
}

/* CELULARES MUY PEQUEÑOS */
@media(max-width:360px){

    .hero-content h1{
        font-size: 2rem;
    }

    .hero-content p{
        font-size: .95rem;
    }

    .nav-link{
        font-size: .9rem;
    }
}