/*
FUENTES:
Playfair Display - títulos importantes;
Montserrat - cuerpo de la página
*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    /* Colores Principales */
    --color-primario: #8B1D1D;    /* Granate Corporativo (el arco) */
    --color-primario-claro: #A32A2A; /* Para hover y acentos secundarios */
    --color-secundario: #B89D64;  /* Dorado Champán (otros acentos) */
    --color-secundario-claro: #E5D1A4; /* Para hover y acentos secundarios */
    
    /* Colores de Superficie y Fondos */
    --bg-principal: #FFFFFF;      /* Blanco Puro (limpieza visual) */
    --bg-secundario: #F8F9FA;        /* Gris Humo (para separar secciones) */
    --bg-footer: #1A1A1A;         /* Negro Carbón (cierre sólido) */

    /* Colores de Texto */
    --texto-oscuro: #1A1A1A;        /* Títulos y párrafos importantes */
    --texto-claro: #F5F5F5;       /* Texto sobre fondos oscuros (footer) */
    --texto-muted: #6C757D;       /* Gris para detalles menos importantes */

    --transicion-suave: all 0.3s ease;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
img {
    max-width: 100%;
}

/* Estilos generales */
body {
    font-family: 'Montserrat';
}


h1{
    font-family: 'Playfair Display', serif;
    font-weight: 800;
}

h2 {
    font-weight: 500;
}

/* ----------------------------------
   HEADER
---------------------------------- */
header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    width: 100%;
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-principal);
    height: 10vh;
    border-bottom: 1px solid #e0e0e0;
}
header nav {
    width: 70%;
}
header ul { 
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header li {
    list-style: none;
}
header a {
    text-decoration: none;
    color: black;
}
/*MENU HAMBURGUESA HEADER*/
/* Escondemos el checkbox siempre */
#btn-menu {
    display: none;
}

/* Estilo de la hamburguesa */
.hamburger {
    display: none; /* Se oculta en escritorio */
    width: 30px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1001; /* Por encima de todo */
}

/* Dibujamos las 3 lineas */
.hamburger .line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #000;
    border-radius: 3px;
    transition: all 0.3s;
}
/* ==================================
    SECCION DE BIENVENIDA - LANDING PAGE - index.html
================================= */
/* hero section */
#hero {
    background:
        /* linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0) 60%), */
        linear-gradient(to top, 
            rgba(0,0,0,0.9) 0%,    /* Fase 1: Casi negro */
            rgba(0,0,0,0.4) 60%,   /* Fase 2: Penumbra media a mitad de altura */
            rgba(0,0,0,0) 100%     /* Fase 3: Transparencia total */
        ),
        url(./img/ccneptuno.webp);
    background-size: cover;
    background-position: center;

    display: flex;
    justify-content: center;
    align-items: flex-end;
    text-align: center;
    height: 85vh;
    padding-bottom: 8vh;
}

#hero .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

#hero h1 {
    font-size: 6rem; 
    color: var(--texto-claro);
    margin: 2rem 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7); 
    letter-spacing: 2px;
    line-height: 1.2; /* Reduce el espacio por defecto por arriba para controlar mejor el margin */
}

#hero h2 {
    color: var(--color-secundario-claro);
    font-size: 1.1rem;
    margin: 0 auto;
    max-width: 60%;
    text-transform: uppercase;;
    letter-spacing: 2px; /* Espaciado entre caracteres*/
    line-height: 1.6; /* Interlineado */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7); 

}

/* ----------------------------------
   LANDING GRID — index.html
---------------------------------- */
.landing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #e0e0e0;
}

.landing-card {
    padding: 4rem 5%;
    background-color: var(--bg-secundario);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-right: 1px solid #e0e0e0;
    transition: var(--transicion-suave);
}

.landing-card:last-child {
    border-right: none;
}

.landing-card:hover {
    background-color: #f0f0f0;
}

.landing-card__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-secundario);
}

.landing-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--texto-oscuro);
    line-height: 1.2;
}

.landing-card p {
    font-size: 0.9rem;
    color: var(--texto-muted);
    line-height: 1.7;
    max-width: 380px;
}

.landing-card__cta {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-primario);
    letter-spacing: 1px;
    margin-top: 0.5rem;
    transition: var(--transicion-suave);
}

.landing-card:hover .landing-card__cta {
    letter-spacing: 2px;
}

/* CTA: call to action (botones) */
.cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 1rem;
}
/* Uso una clase general btn, y luego clases individuales para el principal y secundario */
.btn {
    padding: 16px 32px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transicion-suave);
    cursor: pointer;
    border-radius: 2px;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--color-primario);
    color: var(--texto-claro);
    border: 1px solid var(--color-primario); /* con este detalle mantiene el mismo tamaño*/
}

.btn-primary:hover {
    background-color: var(--color-primario-claro);
    border-color: var(--color-primario-claro);
    transform: translateY(-3px);
}

.btn-secondary {
    color: var(--texto-claro);
    border: 1px solid var(--texto-claro);
}

.btn-secondary:hover {
    border-color: var(--color-secundario);
    background-color: var(--color-secundario);
    transform: translateY(-3px);
}

/* ----------------------------------
   PAGE HERO (cabecera interior)
---------------------------------- */
.page-hero {
    background-color: var(--bg-secundario);
    border-left: 4px solid var(--color-primario);
    padding: 5rem 5% 4rem;
    min-height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.page-hero__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-secundario);
    margin-bottom: 1rem;
}

.page-hero h1 {
    font-size: 4.5rem;
    color: var(--texto-oscuro);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.page-hero p {
    color: var(--texto-muted);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 520px;
}

/* ============================================================
   OCIO.HTML — Pegar al final de style.css
   ============================================================ */

/* ----------------------------------
   BLOQUES DE OCIO
---------------------------------- */
.ocio-bloque {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 70vh;
    background-color: var(--bg-principal);
}

/* ----------------------------------
   COLUMNA IMAGEN
---------------------------------- */
.ocio-bloque__imagen {
    position: relative;
    overflow: hidden;
}

.ocio-bloque__imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ocio-bloque__imagen:hover img {
    transform: scale(1.03);
}

/* Imagen de detalle superpuesta (sala interior) */
.ocio-bloque__imagen-detalle {
    position: absolute; /* Para superponerla sobre la imagen principal */
    bottom: 2rem;
    right: 2rem;
    width: 45%;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    overflow: hidden; /* Para que el zoom no se salga del contenedor */
    border: 3px solid var(--bg-principal);
}

.ocio-bloque__imagen-detalle img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Placeholder cuando no hay imagen */
.ocio-bloque__imagen--placeholder {
    background-color: var(--texto-muted);
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.placeholder-img span {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--texto-oscuro);
}

/* ----------------------------------
   COLUMNA TEXTO
---------------------------------- */
.ocio-bloque__texto {
    padding: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.ocio-bloque__texto h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--texto-oscuro);
    line-height: 1.1;
}

.ocio-bloque__texto p {
    color: var(--texto-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 480px;
}

/* ----------------------------------
   LISTA DE CARACTERÍSTICAS
---------------------------------- */
.ocio-lista {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.ocio-lista li {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--texto-oscuro);
    padding-left: 1.2rem;
    position: relative;
}

/* Guión granate como bullet */
.ocio-lista li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--color-primario);
    font-weight: 700;
}

/* ----------------------------------
   TEXTO PRÓXIMAMENTE
---------------------------------- */
.ocio-proximamente {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-secundario);
    margin-top: 0.5rem;
}


/* ============================================================
   PROYECTO.HTML
   ============================================================ */

/* ----------------------------------
   SECCIONES DE PROYECTO
---------------------------------- */
/* Padding y fondo blanco de base */
.proyecto-seccion {
    padding: 5rem 5%;
    background-color: var(--bg-principal);
}
/* Para alternar con un fondo un poco mas oscuro (el blanco humo) */
.proyecto-seccion--dark {
    background-color: var(--bg-secundario);
}

.proyecto-intro {
    max-width: 680px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.seccion-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-secundario);
    margin-bottom: 1rem;
}

.proyecto-intro h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--texto-oscuro);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.proyecto-intro p {
    color: var(--texto-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* ----------------------------------
   GRIDS DE RENDERS
---------------------------------- */
.render-grid--two {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dos columnas de igual tamaño */
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 1.5rem;
}

.render-grid--one {
    max-width: 800px;
    margin: 0 auto;
}

/* ----------------------------------
   ITEMS DE RENDER
---------------------------------- */
.render-item {
    margin: 0;
    overflow: hidden; /* Para que el zoom no se salga del contenedor */
}

.render-item--full {
    max-width: 1200px;
    margin: 0 auto 1.5rem;
    display: block;
}

.render-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.render-item:hover img {
    transform: scale(1.02);
}

.render-item figcaption {
    padding: 0.75rem 0 0;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--texto-muted);
}

/* ============================================================
   GASTRO.HTML — Pegar al final de style.css
   ============================================================ */

/* ----------------------------------
   INTRODUCCIÓN
---------------------------------- */
.gastro-intro {
    padding: 4rem 5%;
    border-bottom: 1px solid #e0e0e0;
}

.gastro-intro__inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.gastro-intro p {
    font-size: 1.05rem;
    color: var(--texto-muted);
    line-height: 1.8;
}

/* ----------------------------------
   GRID DE TARJETAS
---------------------------------- */
.gastro-categorias {
    padding: 5rem 5%;
    background-color: var(--bg-principal);
}

.gastro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* ----------------------------------
   TARJETA
---------------------------------- */
.gastro-card {
    background-color: var(--bg-secundario);
    padding: 2.5rem;
    border-top: 3px solid var(--color-primario);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: var(--transicion-suave);
}

.gastro-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* Número decorativo */
.gastro-card__numero {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: #e0e0e0;
    line-height: 1;
}

/* Contenido */
.gastro-card__contenido {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gastro-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--texto-oscuro);
    line-height: 1.2;
}

.gastro-card p {
    font-size: 0.9rem;
    color: var(--texto-muted);
    line-height: 1.7;
}

/* ----------------------------------
   LISTA DENTRO DE TARJETA
---------------------------------- */
.gastro-lista {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.gastro-lista li {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--texto-oscuro);
    padding-left: 1.2rem;
    position: relative;
    letter-spacing: 0.3px;
}

.gastro-lista li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--color-primario);
    font-weight: 700;
}

/* ----------------------------------
   SECCIÓN DE CIERRE
---------------------------------- */
.gastro-cierre {
    padding: 4rem 5%;
    background-color: var(--bg-secundario);
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.gastro-cierre__texto {
    font-size: 0.95rem;
    color: var(--texto-muted);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

.gastro-cierre__texto a {
    color: var(--color-primario);
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transicion-suave);
}

.gastro-cierre__texto a:hover {
    color: var(--color-primario-claro);
}

/* ================================
   SECCION DE CONTACTO contact.html
================================ */

/* FORMULARIO BASE */
.form-row {
    margin-bottom: 1.5rem;
}

.form-row--two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--texto-oscuro);
}

.contact-section {
    padding: 5rem 5%;
}

.contact-wrapper {
    max-width: 820px;
    margin: 0 auto;
}

/* El "*" del form */
.required {
    color: var(--color-primario);
}

/* Estilos para inputs, textarea y select. Uso el mismo estilo para los tres para mantener la coherencia visual */
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #d0d0d0;
    background-color: var(--bg-principal);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--texto-oscuro);
    border-radius: 2px;
    transition: var(--transicion-suave);
    outline: none; /* Elimino el contorno por defecto */
    appearance: none; /* Reseteo estilos de navegador */
    -webkit-appearance: none; /* Lo mismo, pero navegadores antiguos */
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #bbb;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--color-primario);
    box-shadow: 0 0 0 3px rgba(139, 29, 29, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    cursor: pointer;
    padding-right: 2.5rem;
}

.select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--color-primario);
    font-size: 0.8rem;
}

/* ----------------------------------
   RADIO INPUTS: siempre ocultos
---------------------------------- */
.radio-perfil {
    display: none;
}

/* ----------------------------------
   SEPARADOR DE TABS
---------------------------------- */
.tabs-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2.5rem 0 0;
}

.tabs-heading span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--texto-oscuro);
}

/* ----------------------------------
   Pestañas de perfil
---------------------------------- */
.profile-tabs {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 2.5rem;
    margin-top: 0.75rem;
}

.tab {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--texto-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px; /* superpone el borde del contenedor */
    transition: var(--transicion-suave);
    letter-spacing: 0.5px;
}

.tab:hover {
    color: var(--texto-oscuro);
}

/* ----------------------------------
   BLOQUES DE CAMPOS POR PERFIL
   Por defecto todos ocultos
---------------------------------- */
.profile-fields {
    display: none;
}

/*
   Cuando un radio está :checked,
   usando ~ seleccionamos su bloque correspondiente
   que es hermano posterior en el DOM (el arbol de jerarquía por decirlo así).
   También activamos el estilo de la pestaña correcta
   a través del label cuyo atributo for coincide.
*/

#p-inversor:checked  ~ .profile-tabs label[for="p-inversor"],
#p-marca:checked     ~ .profile-tabs label[for="p-marca"],
#p-prensa:checked    ~ .profile-tabs label[for="p-prensa"],
#p-ciudadano:checked ~ .profile-tabs label[for="p-ciudadano"] {
    color: var(--color-primario);
    border-bottom-color: var(--color-primario);
}

#p-inversor:checked  ~ #fields-inversor  { display: block; }
#p-marca:checked     ~ #fields-marca     { display: block; }
#p-prensa:checked    ~ #fields-prensa    { display: block; }
#p-ciudadano:checked ~ #fields-ciudadano { display: block; }

/* ----------------------------------
   Pie de formulario
---------------------------------- */
.form-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.form-row--checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.form-row--checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--color-primario);
    cursor: pointer;
}

.form-row--checkbox label {
    font-size: 0.82rem;
    color: var(--texto-muted);
    line-height: 1.5;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.form-row--checkbox a {
    color: var(--color-primario);
    text-decoration: underline;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
}

/* ----------------------------------
   FOOTER
---------------------------------- */
footer {
    background-color: var(--bg-footer);
    padding: 2.5rem 5%;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--texto-muted);
}

.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-nav a {
    font-size: 0.8rem;
    color: var(--texto-muted);
    text-decoration: none;
    transition: var(--transicion-suave);
}

.footer-nav a:hover {
    color: var(--color-secundario);
}
    

/* ----------------------------------
   Responsive
---------------------------------- */
@media (max-width: 576px) {
    #hero h1 {
        font-size: 2.5rem;
    }
    #hero h2 {
        max-width: 90%;
        font-size: 0.9rem;
    }
    .cta {
        flex-direction: column;
        gap: 10px;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    /* Ocio */
    .ocio-bloque__imagen {
        min-height: 220px;
    }

    .ocio-bloque__texto h2 {
        font-size: 1.7rem;
    }

    /* Gastro */
    .gastro-grid {
        grid-template-columns: 1fr;
    }

    .gastro-card:last-child {
        grid-column: auto;
        max-width: 100%;
    }

    .gastro-card {
        padding: 2rem;
    }

    /* Formulario */
    .form-row--two {
        grid-template-columns: 1fr;
    }

    .profile-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .tab {
        text-align: center;
        border-bottom: none;
        border: 1px solid #e0e0e0;
        padding: 0.75rem;
    }

    #p-inversor:checked  ~ .profile-tabs label[for="p-inversor"],
    #p-marca:checked     ~ .profile-tabs label[for="p-marca"],
    #p-prensa:checked    ~ .profile-tabs label[for="p-prensa"],
    #p-ciudadano:checked ~ .profile-tabs label[for="p-ciudadano"] {
        background-color: var(--color-primario);
        color: var(--texto-claro);
        border-color: var(--color-primario);
        margin-bottom: 0px; 
    }

    /*proyecto.html*/
    .proyecto-seccion {
        padding: 3rem 5%;
    }

    .footer-nav {
        flex-direction: column;
        align-items: center;
        margin: 1rem auto;
    }
}

@media (max-width: 768px) {
    /* Mostramos la hamburguesa */
    .hamburger {
        display: flex;
    }
    /* Escondemos el menú original y lo preparamos como panel */
    header nav {
        position: fixed;
        top: 10vh; /* Altura del header */
        left: -100%; /* Lo mandamos a la izquierda fuera de la vista */
        width: 100%;
        height: 45vh; /* Altura perfecta para mostrar los list item */
        background-color: var(--bg-secundario); /* O tu color de fondo */
        transition: all 0.4s ease;
        display: block; /* Aseguramos que no herede el display:none si lo tuviera */
        border-bottom: 1px solid #e0e0e0;
    }
    /* Lista de enlaces vertical */
    header ul {
        flex-direction: column;
        justify-content: space-evenly;
        height: 100%; /* ul ocupa el 100% del nav */
    }
    /* CUANDO HACES CLICK: El menú entra */
    #btn-menu:checked ~ nav {
        left: 0;
    }

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

    .landing-card {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }

    .landing-card:last-child {
        border-bottom: none;
    }

    /*proyecto.html*/
    .render-grid--two {
        grid-template-columns: 1fr;
    }

    .proyecto-intro h2 {
        font-size: 1.7rem;
    }
}

@media (max-width: 992px) {

    /* Ocio */
    .ocio-bloque {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    /* Y para que la imagen vaya antes que el texto, le damos un order negativo */
    .ocio-bloque--reverse .ocio-bloque__imagen {
        order: -1;
    }

    .ocio-bloque__imagen {
        min-height: 300px;
    }

    .ocio-bloque__texto {
        padding: 3rem 5%;
    }

    .ocio-bloque__texto h2 {
        font-size: 2rem;
    }

    .ocio-bloque__imagen-detalle {
        width: 40%;
        bottom: 1rem;
        right: 1rem;
    }

    /* Gastro */
    .gastro-grid {
        grid-template-columns: 1fr ;
    }
}