*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
:root{
    --colormain:#eab342;
    --colorsecun:#c8baaa;
}
body{
    font-family:Arial;
    background:#fdfdfd;
    color:#222;
    font-family:'Poppins',sans-serif;
}

a{
    text-decoration:none;
}

img{
    max-width:100%;
    display:block;
}

.logotipoTop{
    width: 200px;
}
.logofooter{
    width: 200px;
}

.borde{
    border: 1px #dfee00 solid;
}



/* =========================
   HEADER
========================= */

.header{
    position:fixed;
    top:0;
    left:0;

    width:100%;

    z-index:999;

    background:#fff;

    box-shadow:0 2px 20px rgba(0,0,0,.06);
}

/* =========================
   TOPBAR
========================= */

.topbar{
    background:var(--colormain);

    color:#222;

    text-align:center;

    padding:10px;

    font-size:14px;
    font-weight:600;
}

/* =========================
   NAVBAR
========================= */

.navbar{
    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:18px 7%;
}

/* =========================
   LOGO
========================= */


/* =========================
   MENU
========================= */

.menu{
    display:flex;
    align-items:center;
    gap:30px;
}

.menu a{
    position:relative;

    color:#333;

    font-size:16px;
    font-weight:500;

    transition:.3s ease;
}

.menu a:hover{
    color:var(--colormain);
}

/* Línea animada */

.menu a::after{
    content:"";

    position:absolute;

    left:0;
    bottom:-6px;

    width:0%;
    height:2px;

    background:var(--colormain);

    transition:.3s ease;
}

.menu a:hover::after{
    width:100%;
}

/* =========================
   ACCIONES
========================= */

.acciones{
    display:flex;
    align-items:center;
    gap:18px;
}

.acciones a{
    width:42px;
    height:42px;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#f5f5f5;

    color:#222;

    font-size:16px;

    transition:.3s ease;
}

.acciones a:hover{
    background:var(--colormain);

    transform:translateY(-2px);
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:900px){

    .navbar{
        padding:18px 5%;
    }

    .menu{
        gap:18px;
    }

}

@media(max-width:768px){

    .navbar{
        flex-wrap:wrap;
        gap:15px;
    }

    .menu{
        width:100%;

        justify-content:center;

        order:3;

        flex-wrap:wrap;

        padding-top:10px;
    }

}

@media(max-width:480px){

    .menu a{
        font-size:14px;
    }

    .acciones{
        gap:10px;
    }

    .acciones a{
        width:38px;
        height:38px;
    }

}






/* =========================================== 
    HERO
=========================================== */
.hero{
    position:relative;
    width:100%;
    min-height:90vh;

    display:flex;
    align-items:center;

    padding:120px 8%;

    background-image:url('../img/fondoportada.png');
    background-size:cover;
    background-position:center;

    overflow:hidden;
}

.hero-overlay{
    position:absolute;
    inset:0;

    background:linear-gradient(
        90deg,
        rgba(0,0,0,.65) 0%,
        rgba(0,0,0,.25) 100%
    );
}

.hero-content{
    position:relative;
    z-index:2;

    max-width:650px;

    color:#fff;
}

.hero-tag{
    display:inline-block;

    padding:10px 18px;

    border-radius:50px;

    background:rgba(255,255,255,.15);

    backdrop-filter:blur(10px);

    font-size:14px;
    font-weight:600;
    letter-spacing:.5px;

    margin-bottom:20px;
}

.hero h1{
    font-size:68px;
    line-height:1.05;

    margin-bottom:25px;

    font-weight:800;
}

.hero p{
    font-size:20px;
    line-height:1.7;

    color:rgba(255,255,255,.9);

    margin-bottom:35px;
}

.hero-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.btn-principal,
.btn-secundario{
    padding:16px 28px;

    border-radius:60px;

    font-weight:700;

    transition:.3s ease;
}

.btn-principal{
    background:var(--colormain);
    color:#222;
}

.btn-principal:hover{
    transform:translateY(-3px);
}

.btn-secundario{
    border:2px solid rgba(255,255,255,.5);
    color:#fff;
}

.btn-secundario:hover{
    background:#fff;
    color:#222;
}

@media(max-width:768px){

    .hero{
        min-height:75vh;

        padding:100px 7%;
    }

    .hero h1{
        font-size:42px;
    }

    .hero p{
        font-size:16px;
    }

}















/* =========================
   FOOTER
========================= */

.footer{
    background:#222;

    color:#fff;

    padding:20px 7% 40px;

    margin-top:80px;
}

/* =========================
   GRID
========================= */

.footer-grid{
    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:50px;
}

.footer-cel{
    margin-top:40px;
}
/* =========================
   TITULOS
========================= */

.footer h3{
    font-size:32px;

    margin-bottom:20px;

    font-weight:800;
}

.footer h4{
    font-size:20px;

    margin-bottom:20px;

    color:var(--colormain);
}

/* =========================
   TEXTOS
========================= */

.footer p{
    color:rgba(255,255,255,.75);

    line-height:1.8;

    max-width:400px;
}

/* =========================
   LINKS
========================= */

.footer a{
    display:block;

    color:rgba(255,255,255,.75);

    margin-bottom:14px;

    transition:.3s ease;
}

.footer a:hover{
    color:var(--colormain);

    transform:translateX(5px);
}

/* =========================
   BOTTOM
========================= */

.footer-bottom{
    margin-top:60px;

    padding-top:25px;

    border-top:1px solid rgba(255,255,255,.1);

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;

    flex-wrap:wrap;
}

.footer-copy{
    color:rgba(255,255,255,.6);

    font-size:14px;
}

.footer-social{
    display:flex;
    align-items:center;
    gap:15px;
}

.footer-social a{
    width:42px;
    height:42px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    display:flex;
    align-items:center;
    justify-content:center;

    color:#fff;

    transition:.3s ease;
}

.footer-social a:hover{
    background:var(--colormain);

    color:#222;

    transform:translateY(-3px);
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:900px){

    .footer-grid{
        grid-template-columns:1fr 1fr;
    }

}

@media(max-width:650px){

    .footer{
        padding:70px 5% 30px;
    }

    .footer-grid{
        grid-template-columns:1fr;
    }

    .footer h3{
        font-size:28px;
    }

    .footer-bottom{
        flex-direction:column;
        align-items:flex-start;
    }

}