* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f5f5f5;
    color: #333;
}

/* HERO */

.hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
}

/* MENU SOBRE LA IMAGEN (CENTRADO) */

.nav-wrapper {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 100;
}

.nav {
    width: 90%;
    max-width: 900px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    padding: 10px 30px;
    border-radius: 24px;
    position: relative;
}

.logo img {
    height: 50px;
    width: auto;
}

.menu {
    display: flex;
    gap: 28px;
    align-items: center;
}

.menu a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 400;
}

.btn {
    background: #4f5f57;
    color: white !important;
    padding: 10px 18px;
    border-radius: 20px;
}

/* ESTILOS HAMBURGUESA (Ocultos por defecto) */

#check {
    display: none;
}

.checkIt{
    display: none !important;
}

.checkbtn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.checkbtn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
}

/* HERO TEXT */

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.tag {
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 14px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    line-height: 1.2;
}

/* GRID */

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
    padding: 70px 6%;
}

.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card.text {
    padding: 40px;
}

.beige {
    background: #d7c8bb;
}

.green {
    background: #aab8b0;
}

.card h2 {
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.card a {
    display: inline-block;
    margin-top: 18px;
    text-decoration: none;
    font-size: 14px;
    color: #333;
}

/* BANNER */

.banner {
    background: #4f5f57;
    color: white;
    text-align: center;
    padding: 90px 20px;
}

.banner h2 {
    font-size: 38px;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

/* FOOTER */

.footer {
    background: #4f5f57;
    color: white;
    margin-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 60px 6%;
}

.footer-col h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
}

.footer-col h4 {
    margin-bottom: 15px;
    font-weight: 500;
}

.footer-col a {
    display: block;
    text-decoration: none;
    color: white;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    padding: 20px;
    font-size: 13px;
}

/* RESPONSIVE */

@media(max-width: 900px) {

    .nav {
        flex-wrap: wrap;
        /* Permite que el menú baje a la siguiente línea */
        padding: 15px 30px;
        transition: all 0.3s ease;
    }

    .checkbtn {
        display: flex;
        /* Mostramos la hamburguesa */
        order: 2;
    }

    .logo {
        order: 1;
    }

    .menu {
        order: 3;
        width: 100%;
        /* Ocupa todo el ancho para bajar */
        display: none;
        /* Lo ocultamos por defecto */
        flex-direction: column;
        gap: 15px;
        padding-top: 20px;
        text-align: center;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        /* Una línea sutil divisoria */
        margin-top: 10px;
    }

    /* Cuando el checkbox está marcado, mostramos el menú */
    #check:checked~.menu {
        display: flex;
    }

    /* Opcional: un poco de estilo a los enlaces en móvil */
    .menu a {
        font-size: 16px;
        padding: 5px 20px;
    }

    .btn {
        display: inline-block;
        width: fit-content;
        align-self: center;
    }

    /* Ajustes extras para el Hero en móvil */
    .hero h1 {
        font-size: 34px;
    }

    .grid {
        grid-template-columns: 1fr;

    }

    .footer-container {
    grid-template-columns: 1fr;

}
}