@font-face {
  font-family: "MyNerdFont";
  src: url("fonts/SymbolsNerdFontMono-Regular.ttf") format("truetype");
}

.nf {
  font-family: "MyNerdFont";
  font-style: normal;
  display: flex;
  font-size: 22px;
}
/* OTHERS */


html {
    scroll-behavior: smooth;
    background-color: var(--bg3);
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}



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


:root {
            --bg:       #F2EAD6;
            --bg2:      #EDE3D0;
            --bg3:      #F8F2E6;
            --blue:     #1A3A4A;
            --gold:     #C8A020;
            --text:     #020101;
            --brown:    #5A4030;
            --toast:    #9A7858;
            --gold2:    #8B6914;
            --gold3:    #E8C84A;
            --gold4:   #C2A13E;
            --olive:    #D4C098;
            --green:    #3A5C2A;
            --border:   rgba(26,18,8,0.12);
            --border2:  rgba(26,18,8,0.06);
            --gold-hover: #E8C84A;
            --btn-text: #F8F2E6;
            --btn-outline: rgba(248,242,230,0.4);
        }







/* --- BUTTONS --- */

.buttons { display: flex; list-style: none; align-items: center; display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem;}

.buttons a {
    text-decoration: none; 
    display: flex;
    font-family: 'DM sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    padding: 14px 32px;
    border-radius: 2px;
    transition: all 0.4s ease;
    cursor: pointer;

}


.btn2 {
    background-color: var(--gold);
    color: var(--btn-text);
    box-shadow: 0 4px 15px rgba(200, 160, 32, 0.5);
}

.btn2:hover {
    background-color: var(--gold-hover);
    border-color: var(--gold-hover);
    transform: translateY(-2px);

}


.btn1, .btn3 {
    background-color: transparent;
    color: var(--btn-text);
    border: 1px solid var(--btn-outline);

}

.btn1:hover, .btn3:hover {
    color: var(--gold-hover);
    border: 1px solid var(--gold-hover);
}





/* --- HERO --- */

#inicio {

    position: relative;
    padding: 0;
    width: 100%;      /* 100% del Viewport Width (ancho total) */
    min-height: 100vh; /* 100% del Viewport Height (alto total) */
    border-bottom: none;

}

#inicio h1 {

    
    font-size: 200px;
    justify-content: center;
    display: flex;
    padding-top: 9rem;
    color: var(--gold3);
    text-shadow: 2px 2px 15px rgba(0,0,0,0.8);

}


#inicio h2 {

    font-size: 50px;
    display: flex;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    color: var(--gold3);
    text-shadow: 2px 2px 15px rgba(0,0,0,0.8);

}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}



.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 16, 8, 0.3) 0%,
    rgba(26, 16, 8, 0.65) 50%,
    rgba(26, 16, 8, 0.85) 100%
  );
  z-index: 1;
  border-bottom: none;
}

.hero-content{

    font-family: 'Cormorant Garamond', serif;
    font-weight: 700; /* Un grosor fuerte pero que mantiene las curvas elegantes */
    color: var(--bg3);
    z-index: 2;

}






/* QUIENES SOMOS */


#quienes-somos {
    z-index: 3;
}


#quienes-somos h1 {

    background-color: var(--blue); 

    font-size: 70px;
    text-align: center;
    justify-content: center;
    display: flex;
    padding: 3rem;
    color: var(--gold3);
    text-shadow: 2px 2px 15px rgba(0,0,0,0.8);

}





.qs-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 5%;
}

.qs-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: start;
}

.qs-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 0.75rem;
}

.qs-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.qs-rule {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.qs-line { flex: 1; height: 1px; background: var(--gold); opacity: 0.35; }
.qs-diamond { width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }

.qs-historia p {
  font-size: 1.5rem;
  color: var(--brown);
  line-height: 1.95;
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.qs-historia em { color: var(--gold2); font-style: italic; }
.qs-historia strong { color: var(--text); font-family: 'Cormorant Garamond', serif; font-style: italic; }

.qs-quote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.4rem;
  background: rgba(26,18,8,0.04);
  margin-top: 1rem;
}

.qs-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 0 !important;
}

.qs-stats {
  border-top: 1px solid var(--border);
  padding-top: 0.5rem;
}

.qs-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}

.qs-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
}

.qs-accent { color: var(--gold); }

.qs-lbl {
  font-family: 'DM Mono', monospace;
  font-size: 1rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--toast);
  text-align: right;
  max-width: 130px;
}

@media (max-width: 768px) {
  .qs-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}


/* AMBIENTE */
.qs-ambiente {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: stretch;
  background: var(--blue);
  border-top: 9px solid var(--gold);
  padding: 2.5rem 3rem;
}

.qs-amb-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold3);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.qs-amb-desc {
  font-size: 1.7rem;
  color: rgba(248,242,230,0.65);
  line-height: 1.9;
  font-weight: 300;
}

.qs-amb-desc em { color: var(--gold3); font-style: normal; }

.qs-music-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.qs-mtag {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold3);
  border: 1px solid rgba(232,200,74,0.3);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
}

.qs-amb-foto {
  height: 100%;
}

.qs-amb-foto img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  border-radius: 3px;
}


.rese{
  font-family: 'Cormorant Garamond', serif;
  margin-top: 40px;
  font-style: italic;
  font-size: 2rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold2);

}

/* SLIDER */

.carrusel-contenedor {
    overflow: hidden;
    width: 100%;
}

.carrusel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carrusel-slide {
    flex: 0 0 100%;
    min-width: 0;
}

.review-card {
  background: var(--olive);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
}

.name {

  color: var(--bg3);
  font-style: italic;
  font-size: 30px;

}

.pname {
  font-size: 20px;
  margin-top: 5px;
  margin-bottom: 5px;

}

.main-rev {
  max-width: 450px;
  color: var(--bg3);
  margin-top: 2rem;
  line-height: 1.50;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
}

.main-rev p {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stars {
  margin-top: 1.5rem;
  justify-content: center;
  display: flex;
  color: var(--btn-text);
  font-size: 30px;
}


.car-btn {



  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;

}

.car-btn button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--brown);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  
}

.car-btn button:hover {
  background: var(--gold);
  color: var(--btn-text);
  border-color: var(--gold);
}


.linkto a{
  text-decoration: none; 
  color: var(--bg3);
  display: flex;
  justify-content: end;
  align-items: end;
  
}


.dots {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.pdots {
  margin-top: 2rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--border);
  color: var(--brown);
  cursor: pointer;
  transition: all 0.5s;


}


.pdots.active {
    background: var(--gold);
    width: 24px;
    height: 24px;

}


.pdots:hover {
  background-color: var(--gold);
  transform: translateY(-4px);
}

.rev-line { flex: 1; height: 1px; background: var(--bg3); opacity: 1; }


/* --- NUESTRO MENU --- */

#nuestra-carta {
    z-index: 3;
    background-color: var(--bg3);
}

#nuestra-carta h1 {
    background-color: var(--blue); 
    font-size: 70px;
    justify-content: center;
    display: flex;
    padding: 3rem;
    color: var(--gold3);
    text-shadow: 2px 2px 15px rgba(0,0,0,0.8);
    text-align: center;
}

.main-nuestro {
    width: 100%;      
    min-height: 100vh; 
    padding-bottom: 4rem;
}

.menu-apartados {
    /* Cambiamos el height fijo por padding para que no se rompa en móviles */
    padding: 1.5rem 5%;
    background-color: var(--blue);
    height: auto; 
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    border-bottom: 3px solid var(--gold);
}

/* Estilo para los botones del menú (ahora más elegantes) */
.bot-men {
    background: transparent;
    border: 1px solid var(--gold);
    padding: 10px 20px;
    cursor: pointer;
    font-family: 'Syne', sans-serif;
    color: var(--bg3);
    text-transform: uppercase;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.bot-men:hover, .bot-men:focus {
    background-color: var(--gold);
    color: var(--blue);
    transform: translateY(-2px);
}

/* Contenedor de la carta */
.menu-content {
    max-width: 1400px; /* Aumentamos el ancho máximo para que no quede tan apretado en el centro */
    margin: 0 auto;
    padding: 3rem 4%;
}

/* Magia de las 2 columnas */
.menu-content > div {
    display: none;
    animation: fadeIn 0.5s ease;
    column-count: 2;          
    column-gap: 8rem;         /* Damos mucho más espacio entre la columna izquierda y derecha */
}

/* Evitamos que el primer elemento empuje la columna hacia abajo */
.menu-plato:first-child {
    margin-top: 0;
}

/* Animación de entrada */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-plato {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Alinea texto y precio por abajo */
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
    border-bottom: 1px dashed var(--gold);
    padding-bottom: 0.5rem;
    gap: 1rem; /* Espacio de seguridad entre nombre y precio */
}

.plato-nombre {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text);
    text-transform: uppercase;
    flex: 1;
    min-width: 0; /* EL TRUCO: Permite que el texto se parta en varias líneas */
    line-height: 1.2;
}

.plato-precio {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.8rem;
    color: var(--gold2);
    flex-shrink: 0; /* Evita que el precio se deforme */
}

.menu-content p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--toast);
    margin-bottom: 1.5rem;
    margin-top: -0.2rem;
    break-inside: avoid; /* Evita que la descripción se vaya a otra columna lejos de su título */
}

/* Ajuste Responsive: Vuelve a 1 columna en móviles o tablets pequeñas */
@media (max-width: 900px) {
    .menu-content > div {
        column-count: 1;
    }
    .plato-nombre {
        font-size: 1.1rem;
    }
    .plato-precio {
        font-size: 1.5rem;
    }
    .menu-content p {
        font-size: 1rem;
    }
}




/* --- RESERVA MESA --- */

#reserva-ahora {
    z-index: 9;
    background-color: var(--bg3);
}

#reserva-ahora h1 {
    background-color: var(--blue); 
    font-size: 70px;
    justify-content: center;
    display: flex;
    padding: 3rem;
    color: var(--gold3);
    text-shadow: 2px 2px 15px rgba(0,0,0,0.8);
    text-align: center;
}

.main-reserva {
    width: 100%;      
    padding-bottom: 5rem;
}

.reserva-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 5%;
}

.reserva-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 2.2rem;
    color: var(--text);
    text-align: center;
    margin-bottom: 4rem;
}

/* Sistema de 2 columnas para Reservas */
.reserva-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.reserva-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-bloque h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--blue);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.info-bloque p {
    font-size: 1.1rem;
    color: var(--brown);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.6;
}

.info-bloque p a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.info-bloque p a:hover {
    color: var(--gold2);
}

/* Estilos de la lista de horarios */
.horario-lista {
    list-style: none;
    padding: 0;
}

.horario-lista li {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    color: var(--brown);
    padding: 0.7rem 0;
    border-bottom: 1px dashed rgba(90, 64, 48, 0.2);
}

.horario-lista li:last-child {
    border-bottom: none;
}

.horario-lista li span:first-child {
    font-weight: bold;
    color: var(--text);
}

.horario-lista li span.cerrado {
    color: #a83232; /* Un rojo oscuro para el día de descanso */
    font-weight: bold;
}

/* Contenedor del Google Maps */
.reserva-mapa {
    border: 3px solid var(--gold);
    border-radius: 4px;
    overflow: hidden;
    min-height: 400px;
}

/* Responsividad para móviles */
@media (max-width: 850px) {
    .reserva-grid {
        grid-template-columns: 1fr;
    }
    .reserva-mapa {
        height: 400px;
    }
    .reserva-subtitle {
        font-size: 1.8rem;
    }
}


/* --- BANNER --- */

.banner {
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background-color: var(--blue);
    width: 100%;
    border-bottom: 9px solid var(--gold);
    border-top: 9px solid var(--gold);


}

.banner-ornament {
    color: var(--gold);
    font-size: 3.5rem;
    opacity: 1;
}

.banner h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 70px;
    text-align: center;
    color: var(--gold3);
    text-shadow: 2px 2px 15px rgba(0,0,0,0.8);
    padding: 3rem 1rem;
}



/* Estilo para los avisos centrales (Arroz y Hamburguesas) */
.menu-aviso {
    column-span: all; /* Esto hace que rompa las 2 columnas y se ponga en medio abarcando todo */
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 800;
    font-size: 2rem;
    color: var(--blue);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px dashed var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.menu-aviso span {
    display: block;
    font-size: 1.2rem;
    color: var(--gold2);
    font-style: italic;
    margin-top: 0.5rem;
    font-weight: 600;
}


/* ===================== NAVBAR ===================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 5%;
    height: 64px;
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}


.navbar.scrolled {
    background: rgba(26, 16, 8, 0.96);
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold3);
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-logo:hover { color: var(--gold); }

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(248,242,230,0.85);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--gold3); }

.nav-cta {
    background: var(--gold) !important;
    color: var(--blue) !important;
    padding: 8px 20px;
    border-radius: 2px;
    transition: background 0.3s !important;
}

.nav-cta:hover {
    background: var(--gold3) !important;
    color: var(--blue) !important;
}

.nav-hamburger {
    display: none;
    background: transparent;
    border: 1px solid rgba(248,242,230,0.4);
    color: var(--bg3);
    font-size: 1.2rem;
    width: 38px;
    height: 38px;
    border-radius: 2px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.nav-hamburger:hover { border-color: var(--gold); color: var(--gold); }

/* menú móvil desplegado */
.nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: rgba(26,16,8,0.97);
    padding: 1.5rem 5%;
    gap: 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; align-items: center; justify-content: center; }
}

/* Empuja el hero para que no quede detrás de la navbar */
#inicio { padding-top: 0; }


/* ===================== BOTÓN ACTIVO MENÚ ===================== */

.bot-men.activo {
    background-color: var(--gold3);
    color: var(--blue);
    border-color: var(--gold3);
    transform: translateY(-2px);
}


/* ===================== FORMULARIO DE RESERVA ===================== */

.reserva-form {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2.5rem;
    margin-bottom: 3rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 140px;
    gap: 0.4rem;
}

.form-group label {
    font-family: 'DM Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold2);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 0.65rem 0.9rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    outline: none;
    transition: border-color 0.3s;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}

.form-group textarea { resize: vertical; }

.form-group { margin-bottom: 1.25rem; }

.form-submit {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--gold);
    color: var(--blue);
    border: none;
    border-radius: 2px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-top: 0.5rem;
}

.form-submit:hover {
    background: var(--gold3);
    transform: translateY(-2px);
}

.form-aviso {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    color: var(--toast);
    text-align: center;
    margin-top: 0.75rem;
    font-style: italic;
}

@media (max-width: 600px) {
    .reserva-form { padding: 1.5rem; }
    .form-row { flex-direction: column; }
}


/* ===================== WHATSAPP FLOTANTE ===================== */

.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6);
}


/* ===================== ANIMACIONES SCROLL ===================== */

.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ===================== NUESTROS MENÚS ===================== */

.menus-section {
    background: var(--blue);
}

.menus-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 5%;
    text-align: center;
}

.menus-subtitulo {
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(248,242,230,0.45);
    margin-bottom: 3rem;
}

.menus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.menu-card {
    border: 1px solid rgba(200,160,32,0.3);
    border-top: 3px solid var(--gold);
    padding: 2.5rem 2rem;
    background: rgba(248,242,230,0.04);
    transition: background 0.3s, transform 0.3s;
}

.menu-card:hover {
    background: rgba(248,242,230,0.08);
    transform: translateY(-4px);
}

.menu-card-icon {
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.menu-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold3);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.menu-card-days {
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(248,242,230,0.55);
    margin-bottom: 1rem;
}

.menu-card-nota {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

.menus-aviso {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.3rem;
    color: rgba(248,242,230,0.5);
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .menus-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .menu-card { padding: 1.5rem 1.2rem; }
    .menu-card-title { font-size: 1.5rem; }
}


/* ===================== GALERÍA ===================== */

.galeria-section {
    background: var(--bg2);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 6px;
    padding: 6px;
}

.galeria-item {
    position: relative;
    overflow: hidden;
    background: var(--blue);
    cursor: pointer;
}

.galeria-grande {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

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

.galeria-item:hover img {
    transform: scale(1.06);
}

.galeria-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 16, 8, 0);
    display: flex;
    align-items: flex-end;
    padding: 1.2rem;
    transition: background 0.4s ease;
}

.galeria-item:hover .galeria-overlay {
    background: rgba(26, 16, 8, 0.55);
}

.galeria-overlay span {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.3rem;
    color: var(--gold3);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.galeria-item:hover .galeria-overlay span {
    opacity: 1;
    transform: translateY(0);
}

.galeria-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue);
    border: 1px dashed rgba(200, 160, 32, 0.3);
}

.galeria-placeholder span {
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(200, 160, 32, 0.4);
}

@media (max-width: 768px) {
    .galeria-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 150px 150px;
    }
    .galeria-grande {
        grid-column: 1 / 3;
        grid-row: 1;
    }
}


/* ===================== FOOTER ===================== */

.footer {
    background: var(--blue);
    border-top: 9px solid var(--gold);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 5%;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold3);
    margin-bottom: 0.3rem;
}

.footer-tagline {
    font-family: 'DM Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(248,242,230,0.45);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(200,160,32,0.3);
    border-radius: 2px;
    color: rgba(248,242,230,0.6);
    text-decoration: none;
    transition: border-color 0.3s, color 0.3s;
}

.footer-social a:hover {
    border-color: var(--gold);
    color: var(--gold3);
}

.footer-heading {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gold3);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(200,160,32,0.25);
}

.footer-horario {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-horario li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    color: rgba(248,242,230,0.6);
}

.footer-horario li span:first-child {
    color: rgba(248,242,230,0.85);
    font-weight: 600;
    white-space: nowrap;
}

.footer-info {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: rgba(248,242,230,0.6);
    margin-bottom: 0.6rem;
    line-height: 1.6;
}

.footer-info a {
    color: rgba(248,242,230,0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-info a:hover { color: var(--gold3); }

.footer-bottom {
    border-top: 1px solid rgba(200,160,32,0.15);
    padding: 1.2rem 5%;
    text-align: center;
}

.footer-bottom p {
    font-family: 'DM Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(248,242,230,0.25);
}

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}


/* ===================== BADGES MENÚ ===================== */

.menu-badge {
    display: inline-block;
    font-family: 'DM Mono', monospace;
    font-size: 0.5rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 2px;
    vertical-align: middle;
    margin-left: 6px;
    line-height: 1.6;
}

.badge-mediodia {
    background: rgba(200, 160, 32, 0.2);
    color: var(--gold3);
    border: 1px solid rgba(200, 160, 32, 0.4);
}

.badge-noche {
    background: rgba(26, 58, 74, 0.5);
    color: #a8d4e8;
    border: 1px solid rgba(100, 160, 200, 0.35);
}


/* ===================== ALÉRGENOS ===================== */

.alergenos-aviso {
    max-width: 1400px;
    margin: 2rem auto 0;
    padding: 1.5rem 4% 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    border-top: 1px dashed var(--gold);
}

.alergenos-aviso span {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--brown);
}

.alergenos-btn {
    font-family: 'DM Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue);
    background: transparent;
    border: 1px solid var(--blue);
    padding: 8px 18px;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.3s;
}

.alergenos-btn:hover {
    background: var(--blue);
    color: var(--gold3);
}


/* ===================== MAPA PLACEHOLDER ===================== */

.mapa-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 400px;
    gap: 1rem;
    background: var(--bg2);
    border: 1px dashed rgba(200,160,32,0.3);
    text-align: center;
    padding: 2rem;
    border-radius: 4px;
}

.mapa-placeholder p {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: var(--toast);
    margin: 0;
}

.mapa-placeholder a {
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue);
    text-decoration: none;
    border: 1px solid var(--blue);
    padding: 8px 16px;
    border-radius: 2px;
    transition: all 0.3s;
}

.mapa-placeholder a:hover {
    background: var(--blue);
    color: var(--gold3);
}


/* ===================== COOKIE BANNER ===================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(26, 16, 8, 0.97);
    border-top: 3px solid var(--gold);
    padding: 1.25rem 5%;
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

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

.cookie-text strong {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold3);
    display: block;
    margin-bottom: 0.3rem;
}

.cookie-text p {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    color: rgba(248,242,230,0.65);
    margin: 0;
}

.cookie-btns {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn-outline {
    background: transparent;
    border: 1px solid rgba(248,242,230,0.3);
    color: rgba(248,242,230,0.7);
    padding: 8px 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.3s;
}

.cookie-btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.cookie-btn-fill {
    background: var(--gold);
    border: 1px solid var(--gold);
    color: var(--blue);
    padding: 8px 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.3s;
}

.cookie-btn-fill:hover {
    background: var(--gold3);
    border-color: var(--gold3);
}

@media (max-width: 600px) {
    .cookie-inner { flex-direction: column; align-items: flex-start; }
    .cookie-btns { width: 100%; }
    .cookie-btn-outline, .cookie-btn-fill { flex: 1; text-align: center; }
}


/* ===================== SELECTOR DE IDIOMA ===================== */

.lang-picker {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-left: 1rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(248,242,230,0.25);
    color: rgba(248,242,230,0.55);
    font-family: 'DM Mono', monospace;
    font-size: 0.58rem;
    letter-spacing: 1px;
    padding: 4px 7px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
}

.lang-btn:hover {
    border-color: var(--gold);
    color: var(--gold3);
}

.lang-btn.active {
    background: var(--gold);
    color: var(--blue);
    border-color: var(--gold);
    font-weight: 700;
}

@media (max-width: 768px) {
    .lang-picker { margin-left: 0.5rem; gap: 3px; }
    .lang-btn { font-size: 0.52rem; padding: 3px 5px; }
}


/* =====================================================================
   RESPONSIVE — TABLET (max 1024px)
   ===================================================================== */

@media (max-width: 1024px) {

    /* Hero */
    #inicio h1 { font-size: 130px; }
    #inicio h2 { font-size: 36px; }

    /* Quiénes somos */
    .qs-amb-desc  { font-size: 1.4rem; }
    .qs-amb-title { font-size: 1.5rem; }
    .qs-inner     { padding: 3rem 5%; }
}

/* =====================================================================
   RESPONSIVE MÓVIL (hasta 900px) - VERSIÓN LIMPIA Y SEGURA
   ===================================================================== */
@media (max-width: 900px) {
    /* 1. SEGURO GENERAL */
    html, body {
        overflow-x: hidden;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    /* ---------------------------------------------------
       2. HERO (Portada): Arregla los botones aplastados
       --------------------------------------------------- */
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        padding: 0 1rem;
    }
    #inicio h1 {
        font-size: 4rem; /* Tamaño grande pero seguro */
        padding-top: 0;
        margin-bottom: 2rem;
        line-height: 1;
        text-align: center;
    }
    .buttons {
        display: flex;
        flex-direction: column; /* Apila los botones */
        width: 100%;
        max-width: 300px; /* Evita que sean gigantes */
        margin: 0 0 2rem 0;
        gap: 1rem;
    }
    .buttons a {
        width: 100%;
        text-align: center;
        justify-content: center;
        align-items: center;
        margin: 0;
    }
    #inicio h2 {
        font-size: 1.5rem;
        text-align: center;
        margin: 0;
    }

    /* ---------------------------------------------------
       3. BANNERS Y TÍTULOS GRANDES
       --------------------------------------------------- */
    .banner h1, #quienes-somos h1, #nuestra-carta h1, #reserva-ahora h1 {
        font-size: 2rem;
        padding: 2rem 1rem;
        line-height: 1.2;
        text-align: center;
    }
    .banner-ornament { display: none; } /* Ocultamos los adornos en móvil */

    /* ---------------------------------------------------
       4. QUIÉNES SOMOS: Arregla los textos superpuestos
       --------------------------------------------------- */
    .qs-grid, .qs-ambiente, .reserva-grid {
        display: flex; /* Cambiamos grid por flex para evitar colapsos */
        flex-direction: column;
        gap: 3rem;
    }
    .qs-inner, .qs-ambiente, .reserva-inner, .main-nuestro {
        padding: 2rem 1.5rem;
    }
    .qs-title {
        font-size: 2.2rem;
        text-align: center;
    }
    .qs-historia p {
        font-size: 1.2rem;
        line-height: 1.6;
    }
    .qs-amb-foto {
        height: 250px;
        width: 100%;
    }

    /* ---------------------------------------------------
       5. LA CARTA Y RESEÑAS
       --------------------------------------------------- */
    .main-rev { max-width: 100%; font-size: 1rem; } /* Evita que la tarjeta verde se corte */
    .name { font-size: 1.2rem; word-break: break-word; }
    .pname { font-size: 0.85rem; }
    .stars { font-size: 1.3rem; }

    .menu-apartados {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        padding: 1rem;
    }
    .boton-menu { display: contents; }
    .bot-men { width: 100%; text-align: center; font-size: 0.68rem; padding: 9px 4px; letter-spacing: 0.5px; }
    
    .menu-content > div {
        column-count: 1; /* Pasa la carta a 1 sola columna */
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    .menu-plato {
        display: flex;
        flex-direction: column; /* Plato arriba, precio abajo */
        align-items: flex-start;
        border-bottom: 1px dashed var(--gold);
        padding-bottom: 1rem;
        margin: 0;
    }
    .plato-nombre { width: 100%; font-size: 1.2rem; line-height: 1.3; }
    .plato-precio { align-self: flex-end; font-size: 1.5rem; margin-top: 0.5rem; }
    .menu-content p { font-size: 1rem; margin-top: 0.2rem; margin-bottom: 0; }

    /* ---------------------------------------------------
       6. AMBIENTE
       --------------------------------------------------- */
    .qs-amb-desc  { font-size: 1.1rem; line-height: 1.7; }
    .qs-amb-title { font-size: 1.4rem; }
    .qs-ambiente  { padding: 2rem 1.5rem; }

    /* ---------------------------------------------------
       7. GALERÍA, FORMULARIO Y FOOTER
       --------------------------------------------------- */
    .form-row { display: flex; flex-direction: column; gap: 1rem; }

    .galeria-grid { display: flex; flex-direction: column; }
    .galeria-item img { height: 220px; }

    .footer-inner {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }
    .footer-social { justify-content: center; }
    .footer-horario li { font-size: 0.8rem; }
}

/* =====================================================================
   RESPONSIVE — MUY PEQUEÑO (hasta 480px)
   ===================================================================== */
@media (max-width: 480px) {
    #inicio h1 { font-size: 3rem; }
    #inicio h2 { font-size: 1.1rem; letter-spacing: 0; }

    .buttons a { padding: 12px 24px; font-size: 0.72rem; }

    .banner h1 { font-size: 1.6rem; padding: 1.5rem 1rem; }

    .qs-title { font-size: 1.8rem; }
    .qs-historia p { font-size: 1rem; }
    .qs-quote p { font-size: 1rem; }
    .qs-num { font-size: 1.6rem; }
    .qs-lbl { font-size: 0.8rem; }

    .reserva-subtitle { font-size: 1.4rem; }

    .review-card { padding: 1rem; }
    .name { font-size: 1rem; }

    .plato-nombre { font-size: 1rem; }
    .plato-precio { font-size: 1.3rem; }

    .menu-aviso { font-size: 1.4rem; }
    .menu-aviso span { font-size: 0.9rem; }
}

/* ===================== POWERED BY ===================== */
#powered {
    display: block;
    margin-top: 1rem;
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

#powered:hover {
    color: var(--gold3);
    transform: translateY(-2px);
}