:root{

    --red:#E00000;
    --black:#161616;
    --gray:#F5F5F5;
    --white:#FFFFFF;

}

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Montserrat',sans-serif;
    color:var(--black);
    background:#fff;

}

section{

    scroll-margin-top:90px;

}

/* ========================= */
/* NAVBAR */
/* ========================= */

.navbar{

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:16px 8%;

    position:sticky;
    top:0;

    background:rgba(255,255,255,.95);

    backdrop-filter:blur(12px);

    box-shadow:0 2px 12px rgba(0,0,0,.06);

    z-index:999;

}

.logo{

    width:55px;
    height:auto;
    object-fit:contain;

}

.navbar ul{

    display:flex;
    gap:25px;
    list-style:none;

}

.navbar a{

    text-decoration:none;
    color:var(--black);
    font-weight:600;
    transition:.3s;

}

.navbar a:hover{

    color:var(--red);

}

/* ========================= */
/* HERO */
/* ========================= */

.hero{

    min-height:55vh;

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;

    padding:60px 20px;

    background:linear-gradient(
        180deg,
        #ffffff 0%,
        #f8f8f8 100%
    );

}

.hero-logo{

    width:200px;

    height:auto;

    display:block;

    margin:0 auto 20px auto;

    filter:drop-shadow(
        0 4px 10px rgba(0,0,0,.10)
    );

}

.badge{

    background:var(--red);

    color:white;

    padding:12px 24px;

    border-radius:50px;

    display:inline-block;

    margin-bottom:25px;

    font-weight:600;

}

.hero h1{

    font-size:4rem;

    font-weight:700;

    line-height:1.1;

    margin-bottom:15px;

}

.hero h1 span{

    color:var(--red);

}

.hero p{

    max-width:800px;

    margin:20px auto;

    font-size:1.15rem;

    color:#666;

}

.hero-buttons{

    margin-top:35px;

}

.pdf-btn{

    display:inline-block;

    padding:16px 32px;

    background:var(--red);

    color:white;

    text-decoration:none;

    font-weight:600;

    border-radius:50px;

    transition:.3s;

}

.pdf-btn:hover{

    transform:translateY(-2px);

    box-shadow:0 12px 25px rgba(
        224,
        0,
        0,
        .25
    );

}

/* ========================= */
/* SECCIONES */
/* ========================= */

.section{

    padding:90px 8%;

}

.gray{

    background:var(--gray);

}

.section h2{

    font-size:2.5rem;
    margin-bottom:20px;

}

.intro{

    max-width:1000px;
    color:#555;
    margin-bottom:30px;

}

/* ========================= */
/* CARDS */
/* ========================= */

.cards{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:25px;

}

.card{

    background:white;

    padding:30px;

    border-radius:20px;

    box-shadow:0 10px 30px rgba(
        0,
        0,
        0,
        .08
    );

}

.card h3{

    margin-bottom:10px;

}

/* ========================= */
/* KPIs */
/* ========================= */

.kpis{

    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:20px;

    margin-bottom:40px;

}

.kpi{

    background:white;

    border-radius:20px;

    text-align:center;

    padding:30px;

    box-shadow:0 5px 18px rgba(
        0,
        0,
        0,
        .08
    );

}

.kpi h3{

    color:var(--red);

    font-size:2.5rem;

    margin-bottom:5px;

}

/* ========================= */
/* TABLAS */
/* ========================= */

table{

    width:100%;

    border-collapse:collapse;

    background:white;

    border-radius:15px;

    overflow:hidden;

}

th{

    background:var(--red);

    color:white;

}

th,
td{

    padding:15px;

    border:1px solid #e5e5e5;

    text-align:center;

}

/* ========================= */
/* TIMELINE */
/* ========================= */

.timeline{

    display:flex;

    justify-content:space-between;

    gap:20px;

    flex-wrap:wrap;

}

.step{

    background:white;

    padding:25px;

    border-radius:15px;

    flex:1;

    min-width:150px;

    text-align:center;

    box-shadow:0 5px 18px rgba(
        0,
        0,
        0,
        .08
    );

}

/* ========================= */
/* STORYBOARDS */
/* ========================= */

.storyboards{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:30px;

}

.storyboard-item img{

    width:100%;

    border-radius:20px;

    cursor:pointer;

    transition:.3s;

    box-shadow:0 10px 25px rgba(
        0,
        0,
        0,
        .08
    );

}

.storyboard-item img:hover{

    transform:scale(1.02);

}

.storyboard-item h3{

    margin-top:15px;

}

/* ========================= */
/* MODAL */
/* ========================= */

.modal{

    display:none;

    position:fixed;

    z-index:9999;

    left:0;

    top:0;

    width:100%;

    height:100%;

    background:rgba(
        0,
        0,
        0,
        .92
    );

}

.modal-content{

    display:block;

    margin:auto;

    margin-top:40px;

    max-width:90%;

    max-height:85vh;

}

.close{

    position:absolute;

    top:20px;

    right:40px;

    color:white;

    font-size:50px;

    cursor:pointer;

}

/* ========================= */
/* FOOTER */
/* ========================= */

footer{

    background:#111;

    color:white;

    text-align:center;

    padding:70px 8%;

}

footer img{

    width:120px;

    margin-bottom:20px;

}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media(max-width:900px){

    .navbar ul{

        display:none;

    }

    .hero h1{

        font-size:2.5rem;

    }

    .hero-logo{

        width:70px;

    }

    .logo{

        width:45px;

    }

    .kpis{

        grid-template-columns:1fr 1fr;

    }

    .storyboards{

        grid-template-columns:1fr;

    }

    .finance-dashboard{

        flex-direction:column;

    }

    .finance-kpis{

        width:100%;

    }

    .finance-chart{

        width:100%;

    }

}

@media(max-width:600px){

    .kpis{

        grid-template-columns:1fr;

    }

    .section h2{

        font-size:2rem;

    }

    .hero h1{

        font-size:2rem;

    }

}
