/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f5f5f2;
    color: #1a1a1a;
}

/* =========================
   BARRA DE NAVEGACION
========================= */

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.content {
    background-color: #e1ded6;
    min-height: 80px;
    position: relative;
}

.menu {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo {
    font-size: 20px;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: bold;
}

.menu .navbar ul li {
    float: left;
}

.menu .navbar ul li a {
    font-size: 18px;
    padding: 20px;
    color: #ffffff;
    display: block;
    font-weight: bold;
}

.menu .navbar ul li a:hover {
    color: #b1aaa4;
}

#menu {
    display: none;
}

.menu-icono {
    width: 25px;
}

.menu label {
    cursor: pointer;
    display: none;
}

/* =========================
   MENÚ MÓVIL
========================= */

@media (max-width: 991px) {

    .content {
        min-height: 70px;
    }

    .menu {
        position: relative;
        top: 0;
        padding: 20px;
    }

    .menu label {
        display: initial;
    }

    .menu .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #e1ded6;
        display: none;
        z-index: 1001;
    }

    .menu .navbar ul li {
        width: 100%;
    }

    #menu:checked ~ .navbar {
        display: block;
    }
}

/* =========================
   PORTADA
========================= */

#Portada {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.div-portada {
    display: grid;
    grid-template-columns: 1.3fr 1.7fr;
    gap: 3rem;
    align-items: center;
}

/* =========================
   IMAGEN
========================= */

.imagen {
    position: relative;
    display: flex;
    justify-content: center;
}

.imagen::before {
    content: "";
    position: absolute;
    top: -16px;
    left: -16px;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.imagen img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 14px;
    background: white;
}

/* =========================
   TEXTO
========================= */

.texto {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.texto h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.texto h3 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.texto p {
    max-width: 520px;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* =========================
   CTA (BOTONES)
========================= */

.cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-Contacto,
.cta-Videobook {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-Contacto {
    background-color: transparent;
    color: #000;
    border: 2px solid #000;
}

.cta-Videobook {
    background-color: transparent;
    color: #000;
    border: 2px solid #000;
}

.cta-Contacto:hover,
.cta-Videobook:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* =========================
   RESPONSIVE PORTADA
========================= */

@media (max-width: 768px) {

    .div-portada {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .imagen img {
        max-width: 80%;
        margin: 0 auto;
    }

    .texto {
        align-items: center;
    }

    .texto h1 {
        font-size: 2.2rem;
    }

    .texto h3 {
        font-size: 1.2rem;
    }

    .cta {
        align-items: center;
        width: 100%;
    }

    .cta-Contacto,
    .cta-Videobook {
        width: 100%;
        max-width: 260px;
    }
}

.cta :hover {
    background-color: #000;
    color: #fff;
}