@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;1,300&family=Inter:wght@300;400;600&family=Lexend+Deca:wght@400;600;800&display=swap');
/* --- BLOQUEO TOTAL PARA PC --- */
:root {
    --fuente-titulo: 'Lexend Deca', sans-serif; 
    --fuente-lectura: 'Inter', sans-serif;
    --fuente-acento: 'Cormorant Garamond', serif;
    
    --granate: #8A333C;
    --ocre: #CB925D;
    --crema: #EFE5CF;
    --tierra: #A64C29;
}
* { margin: 0; padding: 0; 
    box-sizing: border-box;
}
body { 
    font-family: var(--fuente-titulo);
    background-color: var(--crema);
}
@media screen and (min-width: 769px) {
    body {
        display: none !important;
    }
    
    html {
        background-color: white; /* O el color que desees para el "blanco" */
    }
}
h1 {
    font-family: 'Panchang', sans-serif;;
    font-size: clamp(2.4rem, 7vw, 4.5rem); 
    line-height: 1.1;
    margin-bottom: 0.4em;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--crema);
}
.hero h1::after {
    content: ".";
    color: var(--granate);
}
h2 {
    font-size: 2.4em;
    font-weight: 600;
    color: var(--granate);
    font-family: var(--fuente-titulo);
}
h3 {
    font-family: var(--fuente-titulo);
    font-weight: 600;
    font-size: 2.4rem;
    text-transform: uppercase;
    color: var(--crema);
}
h4 {
    color: var(--crema);
    font-weight: 600;
}
em {
    font-weight: 400;
}
a {
    color: var(--granate);
    text-decoration: none;
}
img {
    width: 100%;
    height: 100%;
    border-radius: .4em;
    object-fit: cover;
}
/* Botón Estilo Cora */
.btn-more {
    display: inline-block;
    padding: .8em 1em;
    border-radius: .4em;
    color: var(--tierra);
    text-decoration: none;
    font-family: var(--fuente-titulo);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background: var(--crema);
}
.btn-more:hover {
    background: var(--tierra);
    color: var(--crema);
}





/* ----- HEADER ----- */
header {
    padding: 1em;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: all; 
}
/* Clase que aplicaremos con JS */
header.header-hidden {
    opacity: 0;
    transform: translateY(-100%); /* Lo saca hacia arriba */
    pointer-events: none; /* Evita que el usuario haga clic en algo invisible */
}
.logo {
    width: 20%;
    height: 8vh;
}
.navbar {
    width: 100%;
    height: 8vh;
    display: flex;
    gap: .4em;
}
.nav-actions {
    width: 100%;
    height: 8vh;
    padding: 0em 1em 0em 1em;
    border-radius: .4em; 
    background: var(--crema);
    
    display: flex; /* flex */
    align-items: center;
    justify-content: space-between;
}
.btn-reserva {
    border: none;
    font-size: 1rem;
    color: brown;
    background: none;
}
.menu-toggle {
    border: none;
    background: none;
    font-weight: 400;
    color: var(--granate); 
    cursor: pointer;
}
.menu-toggle {
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    position: relative;
    cursor: pointer;
    
    display: flex; /* flex */
    align-items: center;
    justify-content: center;
}
.hamburger {
    width: 16px;
    height: .2em;
    border-radius: 1em;
    background: var(--granate);
    position: relative;
    transition: all 0.3s ease;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 20px;
    height: .2em;
    border-radius: 1em;
    background: var(--granate);
    left: 0;
    transition: all 0.3s ease;
}
.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

.menu-toggle.active .hamburger {
    background: transparent;
}
.menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}
.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* ----- MENU DROPDOWN ----- */
.dropdown-menu {
    margin: .4em auto;
    border-radius: .4em;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.dropdown-menu.active {
    display: grid; 
    grid-template-rows: 1fr;
}
.dropdown-inner {
    min-height: 0;
}
.nav-links { 
    padding: 1em;
    border-radius: .4em;
    list-style: none;
    background: var(--crema);
    
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease;
}
.dropdown-menu.active .nav-links {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}
.nav-links li {
    padding-top: .4em;
    padding-bottom: .4em;
    color: var(--granate);
    font-weight: 400;
}
.contact-card {
    padding: 1em;
    margin-top: .4em;
    border-radius: .4em;
    background: var(--ocre);
    font-weight: 400;
    
/*  display: flex;
    align-items: center;
    justify-content: space-between; */
    
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
}
.dropdown-menu.active .contact-card {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}





/* ----- HERO ----- */
.hero {
    height: 80vh;
    padding-bottom: 4em;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                url(cora1.png) center/cover;
    display: flex; 
    align-items: end; 
    justify-content: center; 
    text-align: center; 
    color: var(--crema);
}
.tag-wrapper {
  height: 1.2em;
  overflow: hidden;
  display: inline-block;
    margin-bottom: 1em;
}
.tag-container {
  display: flex;
  flex-direction: column;
  animation: verticalLoop 9s infinite;
}
.hero-tag {
    font-family: var(--fuente-lectura);
    text-transform: uppercase; 
    letter-spacing: 0.3em;
    font-size: 0.85rem; 
    margin-bottom: 1.5em; 
    display: block; 
    font-weight: 400;
    color: var(--crema);
    opacity: 0.8;
  height: 1.2em;
  white-space: nowrap;
}
@keyframes verticalLoop {

  /* frase 1 */
  20%, 40% {
    transform: translateY(0);
  }
  /* frase 2 */
  50%, 60% {
    transform: translateY(-1.2em);
  }
  /* frase 3 */
  70%, 80% {
    transform: translateY(-2.4em);
  }
  /* mueve al clon para reinicio invisible */
  90, 100% {
    transform: translateY(-3.6em);
  }
}
.hero p {
    font-family: var(--fuente-acento);
    font-style: italic;
    font-size: 1.4rem;
    color: var(--crema);
    line-height: 1.2;
}
/* Definición de la animación */
@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}
/* Aplicación de la animación con "Stagger" (escalonado) */
.hero-tag, .hero h1, .hero p {
    opacity: 0; /* Estado inicial oculto */
    animation: revealUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
/* Retrasos específicos para cada línea */
.hero-tag {
    animation-delay: 0.2s;
}
.hero h1 {
    animation-delay: 0.4s;
}
.hero p {
    animation-delay: 0.7s;
}
/* Efecto sutil para la imagen de fondo (opcional) */
.hero {
    animation: fadeInBackground 2s ease-out;
}
@keyframes fadeInBackground {
    from { 
        filter: brightness(0.5) scale(1.1); 
    }
    to { 
        filter: brightness(1) scale(1); 
    }
}







/* --- MANIFIESTO ---*/
.manifesto-section {
    padding: 4em 1em 1em 4em;
    background-color: var(--crema);
    overflow: hidden; /* Evita scroll horizontal durante la animación */
}
/* --- LÓGICA DE ANIMACIÓN (ESTADO INICIAL) --- */
.manifesto-container {
    text-align: right;
    opacity: 0;
    /* Empieza 100px a la derecha y un poco más pequeño */
    transform: translate3d(100px, 0, 0) scale(0.95);
    transition: all 2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
    
    display: flex;
    align-items: end;
    flex-direction: column;
    gap: .4em;
}
/* Esta clase se añade vía JavaScript cuando el elemento entra en el viewport */
.manifesto-container.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}
/* --- ESTILOS DEL TEXTO --- */
.manifesto-text {
    font-family: var(--fuente-lectura);
    font-size: clamp(1.rem, 4vw, 2.2rem);
    color: var(--ocre);
}






/* --- GALERIA --- */
.galeria-section {
    width: 100%;
    height: auto;
    padding: 4em 1em;
    background: var(--granate);
    
    display: grid; /* flex */
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, minmax(120px, 1fr));
    gap: .4em;
}
.galeria-section div {
    border-radius: .4em;
}
.box1 { grid-area: 1 / 1 / 3 / 3; }
.box2 { grid-area: 3 / 2 / 5 / 4; }

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.galeria-section div {
    /* Vinculamos la animación al scroll del cuerpo */
    animation: reveal linear both;
    animation-timeline: view();
    
    /* Definimos en qué parte de la pantalla ocurre la animación */
    /* El primer valor es cuándo empieza (abajo) y el segundo cuándo termina */
    animation-range: entry 10% cover 40%;
}
/* Escalonamiento: Esto hace que una espere a la otra */
.galeria-section div:nth-child(1) { animation-range: entry 10% cover 25%; }
.galeria-section div:nth-child(2) { animation-range: entry 20% cover 35%; }
.galeria-section div:nth-child(3) { animation-range: entry 30% cover 45%; }
.galeria-section div:nth-child(4) { animation-range: entry 40% cover 55%; }
.galeria-section div:nth-child(5) { animation-range: entry 50% cover 65%; }
.galeria-section div:nth-child(6) { animation-range: entry 60% cover 75%; }




/* ------ MENU ----- */
.menu-section {
    width: 100%;
    height: auto;
    padding: 4em 1em;
    background-color: var(--crema);
    
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
    gap: .4em;
}
.menu-card {
    position: relative;
    overflow: hidden;
}

.menu-card img {
    width: 100%;
    display: block;
}
.menu-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.05)
    );
}
.menu-card,
.menu-small-card {
    transition: transform .4s ease, box-shadow .4s ease;
    cursor: pointer;
}

.menu-card:hover,
.menu-small-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
.bento-item {
    background: var(--blanco);
    border-radius: .4em;
    padding: 1em;
    display: flex; /* flex */
    flex-direction: column;
    justify-content: end;
    overflow: hidden;
    transition: transform 0.4s ease;
}
/* --- VARIACIÓN DE TAMAÑOS --- */
.main-dish {
    grid-column: span 2; 
    grid-row: span 2;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                url(restaurante1.png) bottom/cover;
    color: var(--crema);
}
.wine-card {
    background-color: var(--ocre);
    color: white;
}
.award-card {
    background-color: var(--granate);
  }
/* --- TIPOGRAFÍA DENTRO DEL BENTO --- */

.bento-title.small { 
    font-size: 1.1rem; 
}
.bento-desc {
    font-family: var(--fuente-lectura); /* Inter */
    font-size: 0.9rem;
    opacity: 0.9;
}
.award-year {
    font-family: var(--fuente-titulo);
    font-size: 3rem;
    font-weight: 900;
    color: var(--granate);
    display: block;
}
.award-line {
    width: 40px;
    height: 3px;
    background: var(--ocre);
    margin: 10px auto;
}

/* Definimos la animación de "emergencia" */
@keyframes bentoReveal {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(80px); /* Empieza pequeño y abajo */
        filter: blur(8px); /* Efecto de profundidad */
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

.bento-item {
    /* Mantenemos tus estilos y agregamos la animación */
    animation: bentoReveal linear both;
    animation-timeline: view();
    
    /* Ajustamos el rango: queremos que aparezcan 
       cuando estén un poco por debajo de la mitad del celular */
    animation-range: entry 5% cover 35%;
}

/* --- ESCALONAMIENTO (Stagger) --- */
/* Esto hace que los elementos no suban todos pegados, sino en cascada */
.bento-item:nth-child(even) {
    animation-range: entry 15% cover 40%;
}

.bento-item:nth-child(odd) {
    animation-range: entry 5% cover 35%;
}









.premios-section {
    background-color: var(--ocre); /* El rojo de la imagen de premios */
    padding: 120px 20px;
    color: var(--granate);
    overflow: hidden;
    position: relative;
}

.premios-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

/* Estilo del "2025" gigante */
.premios-year-display {
    flex: 1;
    position: relative;
}

.big-number {
    font-family: 'Anton', sans-serif;
    font-size: clamp(8rem, 20vw, 15rem);
    line-height: 0.8;
    color: var(--granate);
    opacity: 0.9;
    display: block;
}

.accent-line {
    width: 120px;
    height: 6px;
    background-color: var(--granate);
    margin-top: 10px;
}

/* Contenido de texto */
.premios-content {
    flex: 1;
    max-width: 500px;
}

.premios-title {
    font-family: 'Lexend Deca', sans-serif;
    font-weight: 900;
    font-size: 3rem;
    text-transform: uppercase;
    line-height: 1;
    margin: 20px 0;
    letter-spacing: -0.02em;
}

.premios-info {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.premios-info strong {
    font-weight: 700;
}

/* Badge de Michelin */
.michelin-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    backdrop-filter: blur(10px);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid rgba(255, 255, 255, 0.2);
}



/* --- CHEF --- */
.chef-section {
    padding: 4em 1em;
    /* Creamos una transición sólida: 50% ocre, 50% granate */
    background: linear-gradient(
    180deg, 
        var(--granate) 50%, 
        var(--ocre) 50%);
    
    /* Hacemos que el fondo sea mucho más alto para poder "deslizar" los colores */
    background-size: 100% 200%; 
    background-attachment: fixed;
    
    /* Suaviza el movimiento del cambio de color */
    transition: background-position 0.2s cubic-bezier(0.33, 1, 0.68, 1);
}
.chef-container {
    display: flex;
    flex-direction: column; /* Mobile First */
    align-items: center;
    gap: 1em;
}
.chef-image {
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    border-radius: 0.4em; /* Siguiendo el estilo de los bento items */
}
.chef-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(20%); /* Un toque más artístico */
}
.chef-content {
    text-align: center;
}
.chef-subtitle {
    font-family: var(--fuente-lectura);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--crema);
}
.chef-name {
    font-family: var(--fuente-titulo);
    font-size: 2.5rem;
    color: var(--tierra);
    margin: 0.5rem 0;
}
.chef-divider {
    width: 20%;
    height: .2em;
    background: var(--crema);
    margin: 1.5em auto;
}
.chef-text {
    padding-bottom: 1em;
    font-family: var(--fuente-lectura);
    line-height: 1.4;
    font-size: 1.1rem;
    color: var(--crema);
}







.awards-carousel-section {
    background-color: var(--crema);
    padding: 60px 0;
    overflow: hidden; /* Oculta lo que sale de la pantalla */
    white-space: nowrap;
    position: relative;
}
/* El contenedor que se mueve */
.carousel-track {
    display: inline-flex;
    animation: scrollInfinite 40s linear infinite; /* Movimiento muy lento */
}

.award-slide {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 60px;
    color: var(--crema);
}

.award-year {
    font-family: 'Anton', sans-serif;
    font-size: 6rem;
    line-height: 1;
    color: var(--ocre);
    opacity: 0.8;
}

.award-info h3 {
    font-family: var(--fuente-titulo); /* Lexend Deca */
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.4rem;
    margin: 0;
}
.award-info p {
    font-family: var(--fuente-lectura); /* Inter */
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.7;
}
/* Animación de desplazamiento */
@keyframes scrollInfinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Se mueve la mitad del track duplicado */
}

/* Gradientes laterales para suavizar la entrada y salida */
.awards-carousel-section::before,
.awards-carousel-section::after {
    content: "";
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
}
.awards-carousel-section::before {
    left: 0;
    background: linear-gradient(to right, var(--crema), transparent);
}
.awards-carousel-section::after {
    right: 0;
    background: linear-gradient(to left, var(--crema), transparent);
}






/* --- FOOTER --- */
footer {
    width: 100%;
    height: auto;
    padding: 1em;
    background: var(--crema);
    font-family: var(--fuente-lectura);
}
.footer-contenerdor {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: .2em;
}
.box {
    padding: 1em;
    border-radius: .4em;
    background: var(--ocre);
    overflow: hidden;
}
.ubicação {
    grid-column: 1 / span 5;
    grid-row: 1 / spsn 1;
    background: var(--ocre);
    padding: 1em;
    
    display: flex;
    flex-direction: column;
    gap: 1em;
}
address {
    color: var(--crema);
}
.contato {
    height: 8vh;
    grid-column: 1 / span 3;
    grid-row: 2 / spsn 1;
    background: var(--granate);
    text-align: center; 
    
    display: flex;
    align-items: center;
    justify-content: center;
}
.contato p {
    font-size: .8em;
    color: var(--crema);
}
.whatsapp, .instagram {
    padding: 0;
    background: var(--granate);
    display: flex;
    align-items: center;
    justify-content: center;
}
i {
    color: var(--crema);
    font-size: 2.4rem;
}
.footer-bottom {
    margin-top: 1em;
    padding-top: 1em;
    border-top: 1px solid rgba(99, 42, 38, 0.1); /* Línea divisoria muy sutil */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
}
.footer-legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
    font-size: 0.75rem;
    color: var(--granate);
    opacity: 0.7;
}
.legal-links {
    display: flex;
    gap: 1.5em;
}
.legal-links a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}
.legal-links a:hover {
    opacity: 1;
    text-decoration: underline;
}







.modal {
    color: var(--crema);
    font-family: var(--fuente-lectura);
    padding: 2em;
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    justify-content: center; /* Centrado horizontal */
    align-items: center;     /* Centrado vertical */
}
.modal-content {
    background: var(--granate);
    padding: 1em;
    width: 100%;
    border-radius: .4em;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    
    display: flex; 
    flex-direction: column;
    gap: 1em;
}
.contact-form {
    display: flex; 
    flex-direction: column;
    gap: 1em;

}
.form-row {
    display: flex;
    gap: .4em;
}
.input-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: .4em;
}
.input-group input, .input-group select, .input-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: .4em;
    border: 1px solid rgba(99, 42, 38, 0.2);
    font-size: 1rem;
    background: var(--crema);
}
.btn-send {
    width: 100%;
    padding: 1em;
    background: var(--ocre);
    color: var(--crema);
    border: none;
    border-radius: .4em;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.btn-send:hover { 
    transform: scale(1.02); 
    background: var(--crema);
    color: var(--granate)
}