
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    --fondo: #17221c;
    --panel: #090b0a;
    --panel2: #111512;
    --crema: #e9e1d0;
    --texto: #bcbab2;
    --dorado: #c6ac7b;
    --rojo: #a83d43;
    --azul: #466c8b;
    --borde: #30342f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px;
}

body {
    background: var(--fondo);
    color: var(--texto);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

button {
    font: inherit;
}

.bandera {
    height: 4px;
    background: linear-gradient(
        to right,
        var(--rojo) 0 33.33%,
        #f4eee4 33.33% 66.66%,
        var(--azul) 66.66% 100%
    );
}

/* ENCABEZADO */

.encabezado {
    max-width: 1440px;
    margin: auto;
    padding: 22px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    border-bottom: 1px solid #ffffff12;
}

.logo {
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--crema);
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: 3px;
}

.logo-icono {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: var(--dorado);
    border: 1px solid var(--dorado);
    font-size: 1.35rem;
    border-radius: 50%;
}

.navegacion {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navegacion a {
    color: #c5c4bc;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color .3s;
}

.navegacion a:hover {
    color: var(--dorado);
}

/* PORTADA */

.hero {
    max-width: 1440px;
    min-height: 650px;
    margin: 0 auto;
    padding: 65px 6% 85px;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: clamp(35px, 6vw, 85px);
}

.hero-texto {
    padding: 20px 0;
}

.etiqueta {
    color: var(--dorado);
    font-size: .65rem;
    letter-spacing: 3px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 22px;
}

.hero-texto .etiqueta {
    margin-bottom: 32px;
}

.hero-numero {
    color: #85877c;
    font-size: .68rem;
    letter-spacing: 2px;
    margin-bottom: 22px;
}

.hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(3.2rem, 5.3vw, 5.8rem);
    line-height: 1.06;
    font-weight: 400;
    letter-spacing: -2px;
    color: var(--crema);
    margin-bottom: 28px;
}

.hero h1 em {
    color: var(--dorado);
    font-weight: 400;
}

.hero-texto .hero-descripcion {
    max-width: 440px;
    color: #b0b0a5;
    font-size: .88rem;
    line-height: 2;
}

/* BOTONES */

.botones {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.boton {
    padding: 12px 19px;
    font-size: .68rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid #5c5e53;
    transition: all .3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.boton-principal {
    background: var(--crema);
    color: var(--panel);
    border-color: var(--crema);
}

.boton-secundario {
    color: var(--crema);
    background: transparent;
}

.boton:hover {
    background: var(--dorado);
    border-color: var(--dorado);
    color: #10130f;
    transform: translateY(-3px);
}

/* DETALLE DE LA BANDERA */

.hero-pie {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 48px;
}

.hero-pie > span {
    color: #888b80;
    font-size: .58rem;
    letter-spacing: 1.5px;
}

.linea-bandera {
    display: flex;
    height: 3px;
    width: 48px;
}

.linea-bandera span {
    flex: 1;
}

.linea-bandera span:nth-child(1) {
    background: var(--rojo);
}

.linea-bandera span:nth-child(2) {
    background: white;
}

.linea-bandera span:nth-child(3) {
    background: var(--azul);
}

/* FOTOGRAFÍA PRINCIPAL */

.hero-imagen {
    height: clamp(440px, 43vw, 590px);
    min-width: 0;
    position: relative;
    overflow: hidden;
    background: var(--panel);
    border-radius: 2px;
}

.hero-imagen > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.hero-imagen:hover > img {
    transform: scale(1.04);
}

.hero-superposicion {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    background: linear-gradient(
        180deg,
        #080a0925 0%,
        transparent 38%,
        #080a09ed 100%
    );
    pointer-events: none;
}

.hero-foto-etiqueta {
    align-self: flex-start;
    padding: 9px 12px;
    border: 1px solid #ffffff70;
    color: #fff;
    font-size: .58rem;
    letter-spacing: 2px;
}

.hero-foto-titulo > span {
    color: #d9c9a8;
    font-size: .63rem;
    letter-spacing: 2px;
}

.hero-foto-titulo h2 {
    color: #f4eee4;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.6rem, 4vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    margin: 8px 0;
}

.hero-foto-titulo p {
    color: #dedbd2;
    font-size: .82rem;
}

.sello {
    position: absolute;
    z-index: 2;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 94px;
    height: 94px;
    border-radius: 50%;
    background: #111512e8;
    border: 1px solid var(--dorado);
    color: var(--dorado);
    font-family: 'Playfair Display', serif;
    font-size: .75rem;
    line-height: 1.5;
    text-align: center;
    display: grid;
    place-items: center;
    padding: 10px;
}

/* SECCIONES GENERALES */

.seccion {
    padding: 90px 6%;
}

.menu-seccion {
    background: var(--panel);
}

.titulo-seccion {
    max-width: 1300px;
    margin: 0 auto 38px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 35px;
}

.titulo-seccion .etiqueta {
    margin-bottom: 10px;
}

.titulo-seccion h2,
.cultura h2,
.qr-texto h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    font-size: clamp(2.5rem, 5vw, 4.3rem);
    line-height: 1.1;
    color: var(--crema);
}

.titulo-seccion h2::after {
    content: "";
    display: block;
    width: 55px;
    height: 1px;
    background: var(--dorado);
    margin-top: 20px;
}

.titulo-seccion > p {
    max-width: 430px;
    color: #999b91;
    font-size: .86rem;
    line-height: 1.9;
}

/* FILTROS DEL MENÚ */

.filtros {
    max-width: 1300px;
    margin: 0 auto 35px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filtro {
    padding: 9px 17px;
    color: #aaa99f;
    background: transparent;
    border: 1px solid #363a34;
    cursor: pointer;
    font-size: .72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: .3s;
}

.filtro:hover,
.filtro.activo {
    color: #111512;
    background: var(--crema);
    border-color: var(--crema);
}

.filtro:focus-visible,
a:focus-visible {
    outline: 2px solid var(--dorado);
    outline-offset: 4px;
}

/* TARJETAS DE LOS PLATOS */

.productos {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    align-items: stretch;
}

.producto {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: var(--panel2);
    border: 1px solid #292d28;
    border-radius: 3px;
    overflow: hidden;
    transition: border-color .35s, transform .35s;
    animation: entrada .55s both;
}

.producto:hover {
    border-color: #8f7950;
    transform: translateY(-5px);
}

.producto.oculto {
    display: none;
}

.producto-imagen {
    height: 260px;
    overflow: hidden;
    position: relative;
    background: #242720;
}

.producto-imagen::after {
    content: "";
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, #090b0ab0);
    pointer-events: none;
}

.producto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s;
}

.producto:hover .producto-imagen img {
    transform: scale(1.06);
}

.numero {
    position: absolute;
    z-index: 2;
    left: 15px;
    top: 15px;
    color: var(--crema);
    background: #090b0ad9;
    border: 1px solid #c6ac7b70;
    padding: 5px 10px;
    font-size: .68rem;
    letter-spacing: 2px;
}

.producto-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 23px;
}

.tipo {
    font-size: .65rem;
    color: var(--dorado);
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 12px;
}

.producto h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.65rem;
    line-height: 1.25;
    font-weight: 400;
    color: var(--crema);
    margin-bottom: 14px;
    transition: color .3s;
}

.producto:hover h3 {
    color: var(--dorado);
}

.producto-info > p {
    color: #a5a69e;
    font-size: .84rem;
    line-height: 1.9;
    margin-bottom: 20px;
}

.ingredientes {
    width: 100%;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #30342e;
    color: #b6b5ab;
    font-size: .78rem;
    line-height: 1.8;
}

.ingredientes strong {
    display: block;
    color: var(--crema);
    font-size: .7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.origen {
    display: inline-block;
    margin-top: 15px;
    padding: 5px 9px;
    border: 1px solid #c6ac7b55;
    color: var(--dorado);
    font-size: .65rem;
    letter-spacing: .5px;
    background: #c6ac7b0a;
}

.nota {
    max-width: 1300px;
    margin: 30px auto 0;
    border-left: 2px solid var(--dorado);
    padding: 15px 20px;
    background: #111512;
    color: #a8a89f;
    font-size: .8rem;
}

/* SECCIÓN CULTURAL */

.cultura {
    background: #1b2920;
    display: grid;
    grid-template-columns: 1fr .9fr;
    align-items: center;
    gap: 65px;
}

.cultura .etiqueta {
    color: var(--dorado);
}

.cultura h2 {
    margin-bottom: 25px;
}

.cultura-texto p {
    color: #b0b4a9;
    font-size: .9rem;
    line-height: 2;
    margin-bottom: 17px;
}

.enlace-cultura {
    display: inline-flex;
    gap: 18px;
    align-items: center;
    color: var(--dorado);
    border-bottom: 1px solid #c6ac7b70;
    padding: 8px 0;
    margin-top: 8px;
    font-size: .78rem;
}

.cultura-imagen {
    height: 430px;
    border: 1px solid #c6ac7b70;
    padding: 7px;
    background: #111512;
    position: relative;
}

.cultura-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cultura-pie-foto {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 8px 11px;
    background: #090b0add;
    color: var(--crema);
    font-size: .58rem;
    letter-spacing: 1.5px;
}

/* SECCIÓN DEL QR */

.qr-seccion {
    padding: 55px 6%;
    background: var(--fondo);
}

.qr-elegante {
    max-width: 1100px;
    margin: auto;
    padding: 30px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    background: #101512;
    border: 1px solid #34392f;
    border-left: 3px solid var(--dorado);
}

.qr-texto {
    flex: 1;
}

.qr-texto h2 {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    margin-bottom: 14px;
}

.qr-texto p {
    max-width: 570px;
    color: #a5a69e;
    font-size: .86rem;
}

.qr-imagen {
    width: 145px;
    flex-shrink: 0;
    text-align: center;
}

.qr-imagen img {
    width: 125px;
    height: 125px;
    object-fit: contain;
    background: white;
    padding: 5px;
    margin: 0 auto 10px;
}

.qr-imagen span {
    display: block;
    color: var(--dorado);
    font-size: .56rem;
    letter-spacing: 1px;
}

/* PIE DE PÁGINA */

.pie {
    background: #090b0a;
    padding: 35px 6%;
    text-align: center;
    border-top: 1px solid #35382f;
    color: #a5a69e;
}

.pie a {
    color: var(--crema);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    letter-spacing: 3px;
}

.pie p {
    font-size: .78rem;
    margin: 8px 0;
}

.pie small {
    color: var(--dorado);
    font-size: .7rem;
}

/* ANIMACIONES */

@keyframes entrada {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TABLETAS */

@media (max-width: 950px) {
    .hero {
        min-height: auto;
        gap: 30px;
        padding: 55px 5% 70px;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 5vw, 4.2rem);
    }

    .hero-imagen {
        height: 450px;
    }

    .productos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cultura {
        gap: 30px;
    }
}

/* CELULARES */

@media (max-width: 620px) {
    .encabezado {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 5%;
    }

    .logo {
        font-size: .78rem;
        letter-spacing: 2px;
    }

    .navegacion {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 20px;
        padding: 5px 0;
    }

    .navegacion a {
        white-space: nowrap;
        font-size: .67rem;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 6% 55px;
    }

    .hero-texto {
        padding: 0;
    }

    .hero-texto .etiqueta {
        font-size: .59rem;
        letter-spacing: 2px;
        margin-bottom: 24px;
    }

    .hero h1 {
        font-size: clamp(3rem, 12vw, 4.2rem);
        letter-spacing: -1.5px;
    }

    .hero-texto .hero-descripcion {
        font-size: .85rem;
    }

    .hero .botones {
        flex-direction: column;
        align-items: stretch;
    }

    .hero .boton {
        width: 100%;
    }

    .hero-pie {
        margin-top: 32px;
    }

    .hero-imagen {
        height: 430px;
    }

    .hero-superposicion {
        padding: 20px;
    }

    .hero-foto-titulo h2 {
        font-size: 3rem;
    }

    .sello {
        width: 74px;
        height: 74px;
        top: 20px;
        right: 20px;
        transform: none;
        font-size: .61rem;
    }

    .seccion {
        padding: 60px 5%;
    }

    .titulo-seccion {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .productos {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .producto-imagen {
        height: 270px;
    }

    .producto-info {
        padding: 22px;
    }

    .cultura {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cultura-imagen {
        height: 300px;
    }

    .qr-seccion {
        padding: 40px 5%;
    }

    .qr-elegante {
        padding: 24px;
        flex-direction: column;
        align-items: flex-start;
    }

    .qr-imagen {
        width: 100%;
        text-align: left;
    }

    .qr-imagen img {
        margin-left: 0;
    }
}

/* ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
