/* ===============================
   MOBILE PORTRAIT
================================ */

@media (max-width: 768px) {

  .desktop-only { display: none; }
  .mobile-only { display: block; }

  .container {
    flex-direction: column;
    gap: 10px;
    padding: 12px 16px;
  }

  .hero_section,
  .reservas-section,
  .platillos {
    height: calc(var(--vh-real) * 100);
  }

  .platillos {
    flex-direction: column;
  }

  .carrusel,
  .menu-panel {
    width: 100%;
    height: 50%;
  }

  .logo {
    width: 80vw;
  }

  .slide img {
    transform: scale(1.12);
    object-position: center 65%;
  }
}

/* ===============================
   MOBILE LANDSCAPE
================================ */

@media (max-width: 900px) and (orientation: landscape) {

  .hero_section,
  .reservas-section,
  .platillos {
    height: calc(var(--vh-real) * 100);
    min-height: calc(var(--vh-real) * 100);
  }

  .platillos {
    flex-direction: row;
  }

  .carrusel {
    width: 58%;
    height: 100%;
  }

  .menu-panel {
    width: 42%;
    height: 100%;
  }

  .reservas-section {
    flex-direction: row;
  }
}

/* ===============================
   MENÚS — BOTONES MOBILE
================================ */

@media (max-width: 768px) {
  .menu-buttons .btn {
    max-width: 240px;
    font-size: 17px;
    padding: 13px 24px;
  }
}

/* ===============================
   HEADER — MOBILE VERTICAL (FINAL)
================================ */

@media (max-width: 768px) and (orientation: portrait) {

  .container {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    padding: 14px 16px 16px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  /* -------- Marca -------- */
  .brand {
    order: 1;
  }

  .nombre {
    font-size: 30px;
    line-height: 1.1;
    margin: 0;
    text-align: center;
  }

  /* -------- Menú -------- */
  .navgroup {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .nav {
    display: flex;
    gap: 22px;
  }

  .menu,
  .reservas,
  .eventos {
    font-size: 16px;
    font-weight: 600;
  }

  /* -------- Teléfonos -------- */
  .num {
    order: 3;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
  }

  .num a {
    display: block;
  }

  /* -------- Redes -------- */
  .contact {
    order: 4;
  }

  .socials {
    display: flex;
    gap: 16px;
    margin-top: 4px;
  }

  .imgfb,
  .imgig,
  .imgtripadv {
    width: 24px;
    height: auto;
  }

  /* -------- Ocultarse al hacer scroll -------- */
  .container.header-hidden {
    transform: translateY(-120%);
  }
}

/* ===============================
   HEADER — MOBILE HORIZONTAL (FINAL)
================================ */

@media (max-width: 900px) and (orientation: landscape) {

  .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 6px 16px;
    gap: 16px;
  }

  /* Marca */
  .brand {
    flex: 0 0 auto;
  }

  .nombre {
    font-size: 26px;
    white-space: nowrap;
  }

  /* Menú */
  .navgroup {
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .nav {
    display: flex;
    gap: 16px;
  }

  .menu,
  .reservas,
  .eventos {
    font-size: 14px;
  }

  /* Bloque contacto */
  .contact {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
  }

  /* Redes arriba */
  .socials {
    display: flex;
    gap: 10px;
    margin-bottom: 2px;
  }

  .imgfb,
  .imgig,
  .imgtripadv {
    width: 20px;
    height: auto;
  }

  /* Teléfonos abajo - MUY JUNTOS */
  .num {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    line-height: 1.1;
    text-align: center;
    white-space: normal;
    gap: 0px;
    margin: 0;
    padding: 0;
  }

  .num a {
    display: block;
    white-space: normal;
    margin: 0;
    padding: 0;
  }
}

/* ===============================
   RESERVAS — MOBILE VERTICAL
================================ */

@media (max-width: 768px) and (orientation: portrait) {

  .reservas-section {
    display: flex;
    flex-direction: column;
    height: calc(var(--vh-real) * 100);
    min-height: calc(var(--vh-real) * 100);
  }

  .res-col {
    width: 100%;
    height: 50%;
    min-height: 50%;
    display: grid;
    place-items: center;
    padding: 0;
  }

  /* Ajuste fino de texto */
  .res-title {
    font-size: 42px;
    margin-bottom: 8px;
  }

  /* Botón */
  .reservar-btn {
    margin-top: 6px;
  }
}