/* =========================================
   FONTS
========================================= */

@font-face {
  font-family: "Cabinet Grotesk";
  src: url("assets/fonts/CabinetGrotesk-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("assets/fonts/Satoshi-Variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Clash Display";
  src: url("assets/fonts/ClashDisplay-Variable.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}


/* =========================================
   AURA BISTRÓ — MENU
========================================= */


/* =========================================
   RESET
========================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  background: #CC6944;
  color: #E8E1C9;

  font-family: "Satoshi", sans-serif;
  font-weight: 400;
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}


/* =========================================
   VARIABLES
========================================= */

:root {
  --terracota: #CC6944;
  --nieve: #E8E1C9;
  --ceniza: #464646;
  --neblina: #E8F1F1;

  --page-x: 24px;
  --header-h: 76px;
}


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

#language-screen {
  min-height: 100svh;

  position: relative;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 48px 24px;

  background: var(--terracota);
  color: var(--nieve);

  text-align: center;
}

#language-screen::before {
  content: "";

  position: absolute;
  inset: 0;

  background-image: url("assets/patron-portada-desktop.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  opacity: 0.22;

  pointer-events: none;
  z-index: 0;
}

#language-screen > * {
  position: relative;
  z-index: 1;
}

.language-brand {
  display: flex;
  flex-direction: column;
  align-items: center;

  margin-bottom: 72px;
}

.logo-cover {
  display: block;

  width: 250px;
  max-width: 72vw;
  height: auto;
}

.language-options {
  width: min(100%, 520px);
  margin: 0;
}

.language-options button {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 22px 0;

  background: transparent;
  border: 0;

  color: var(--nieve);

  text-align: center;

  font-family: "Clash Display", sans-serif;
  font-size: 28px;
  line-height: 1;
  font-weight: 500;

  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.language-options button::after {
  content: none;
}

.language-options button:hover {
  color: var(--neblina);
}

.language-options button:focus-visible {
  color: var(--neblina);
  outline: none;
}

.language-options button + button {
  margin-top: 8px;
}


/* =========================================
   MENU SCREEN
========================================= */

#menu-screen {
  min-height: 100svh;

  background: var(--nieve);
}


/* =========================================
   NAVBAR ÚNICA
========================================= */

.menu-header {
  position: sticky;
  top: 0;
  z-index: 30;

  height: var(--header-h);

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  padding: 0 var(--page-x);

  background: var(--terracota);
  color: var(--nieve);

  border-bottom: none;
}


/* ---------- IZQUIERDA: ISOTIPO ---------- */

.brand-home {
  justify-self: start;

  display: flex;
  align-items: center;

  text-decoration: none;
}

.logo-header {
  display: block;

  width: 42px;
  height: 42px;

  object-fit: contain;
}


/* ---------- CENTRO: CARTA / POSTRES / BEBIDAS ---------- */

#menu-nav {
  justify-self: center;

  display: flex;
  align-items: center;
  gap: 32px;

  position: static;

  min-height: auto;
  padding: 0;

  background: transparent;
}

#menu-nav a {
  color: var(--nieve);
  text-decoration: none;

  font-family: "Satoshi", sans-serif;
  font-size: 14px;
  font-weight: 500;

  transition: color 180ms ease;
}

#menu-nav a:hover {
  color: var(--neblina);
}


/* ---------- DERECHA: IDIOMAS ---------- */

#language-nav {
  justify-self: end;

  display: flex;
  align-items: center;
  gap: 14px;
}

#language-nav button {
  padding: 4px 0;

  background: transparent;
  border: 0;

  color: var(--nieve);

  font-family: "Satoshi", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;

  transition: color 180ms ease;
}

#language-nav button:hover {
  color: var(--neblina);
}


/* ---------- OFFSET LINKS INTERNOS ---------- */

.menu-section {
  scroll-margin-top: var(--header-h);
}


/* =========================================
   CONTENIDO DEL MENU
========================================= */

#menu-content {
  width: 100%;

  margin: 0;
  padding: 0;

  background: var(--nieve);
  color: var(--ceniza);
}

.menu-section {
  width: 100%;

  margin: 0;
  padding: 52px var(--page-x) 56px;
}


/* ---------- TITULO DE SECCION ---------- */

.menu-section h2 {
  margin: 0 0 42px;

  font-family: "Cabinet Grotesk", sans-serif;

  font-size: 32px;
  line-height: 1;
  font-weight: 700;

  letter-spacing: -0.02em;

  text-transform: lowercase;
}


/* ---------- PLATO ---------- */

.menu-item {
  margin: 0 0 34px;
}

.menu-item:last-child {
  margin-bottom: 0;
}

.menu-item h3 {
  margin: 0 0 8px;

  font-family: "Cabinet Grotesk", sans-serif;

  font-size: 20px;
  line-height: 1.15;
  font-weight: 700;

  letter-spacing: -0.01em;

  text-transform: lowercase;
}

.menu-item .description {
  max-width: 620px;

  margin: 0 0 10px;

  font-family: "Satoshi", sans-serif;

  font-size: 15px;
  line-height: 1.5;
  font-weight: 300;
}

.menu-item .option {
  margin: 12px 0 4px;

  font-family: "Satoshi", sans-serif;

  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
}

.menu-item .price {
  margin: 0 0 6px;

  font-family: "Satoshi", sans-serif;

  font-size: 17px;
  line-height: 1.2;
  font-weight: 600;
}


/* =========================================
   COLORES POR FAMILIA
========================================= */


/* ---------- CARTA: ENTRADAS + PRINCIPALES ---------- */

#entradas,
#principales {
  background: var(--nieve);
  color: var(--ceniza);
}

/* Nombres de platos en terracota dentro de Carta */

#entradas .menu-item h3,
#principales .menu-item h3 {
  color: var(--terracota);
}


/* ---------- POSTRES ---------- */

#postres {
  background: var(--neblina);
  color: var(--ceniza);
}

#postres .menu-item h3 {
  color: var(--terracota);
}

/* =========================================
   BEBIDAS
========================================= */

#bebidas {
  background: var(--ceniza);
  color: var(--nieve);
}


/* ---------- NIVEL 1: TÍTULO PRINCIPAL ---------- */
/* Misma jerarquía que Entradas / Principales / Postres */

#bebidas > h2 {
  color: var(--nieve);
}


/* ---------- NIVEL 2: CATEGORÍAS DE BEBIDAS ---------- */
/* Limonadas / Jugos / Gaseosas / Agua / Cerveza /
   Aperitivos y cocktails */

.beverage-category {
  margin: 0 0 48px;
}

.beverage-category:last-child {
  margin-bottom: 0;
}

.beverage-category-title {
  margin: 0 0 18px;

  font-family: "Cabinet Grotesk", sans-serif;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 700;

  letter-spacing: 0.02em;
  text-transform: lowercase;

  color: var(--nieve);
}


/* ---------- NIVEL 3: PRODUCTOS ---------- */
/* limonadas / manzana natural / moscow mule / etc. */

.beverage-category .menu-item {
  margin-bottom: 18px;
}

.beverage-category .menu-item:last-child {
  margin-bottom: 0;
}

.beverage-category .menu-item h3 {
  margin: 0 0 6px;

  font-family: "Cabinet Grotesk", sans-serif;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 600;

  letter-spacing: 0.01em;
  text-transform: lowercase;

  color: var(--neblina);
}


/* ---------- DESCRIPCIONES ---------- */

.beverage-category .description {
  margin: 0 0 8px;

  font-size: 15px;
  line-height: 1.45;
  font-weight: 300;

  color: var(--nieve);
}


/* ---------- OPCIONES ---------- */

.beverage-category .option {
  margin: 10px 0 4px;

  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;

  color: var(--nieve);
}


/* ---------- PRECIOS ---------- */

.beverage-category .price {
  margin: 0 0 6px;

  font-size: 17px;
  line-height: 1.2;
  font-weight: 600;

  color: var(--nieve);
}


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

.site-footer {
  padding: 56px var(--page-x) 28px;

  background: var(--terracota);
  color: var(--nieve);
}

.footer-brand {
  margin-bottom: 52px;
}

.logo-footer {
  display: block;

  width: 180px;
  max-width: 60vw;
  height: auto;
}

.footer-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 32px;

  margin-bottom: 56px;
}

.footer-label {
  display: block;

  margin-bottom: 10px;

  font-family: "Cabinet Grotesk", sans-serif;

  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
}

.footer-info p {
  margin: 0;

  font-family: "Satoshi", sans-serif;

  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
}

.footer-link {
  width: fit-content;
  min-height: 44px;

  display: flex;
  align-items: center;
  gap: 10px;

  color: var(--nieve);
  text-decoration: underline;
  text-decoration-color: rgba(232, 225, 201, 0.5);
  text-underline-offset: 4px;

  font-size: 14px;
  line-height: 1.55;

  transition: color 180ms ease, opacity 180ms ease;
}

.footer-link:hover {
  color: var(--neblina);
  opacity: 0.82;
  text-decoration-color: currentColor;
}

.footer-link:focus-visible {
  outline: 2px solid var(--ceniza);
  outline-offset: 4px;
  border-radius: 2px;
}

.footer-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

.footer-contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;

  padding-top: 18px;

  border-top: 1px solid rgba(232, 225, 201, 0.35);

  font-family: "Satoshi", sans-serif;

  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;

  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-bottom > :first-child {
  justify-self: start;
}

.footer-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.footer-location-name {
  justify-self: end;
}

.logo-hi {
  display: block;
  width: 115px;
  height: auto;
}


/* =========================================
   DESKTOP
========================================= */

@media (min-width: 900px) {

  :root {
    --page-x: 48px;
  }

  .menu-section {
    padding-top: 72px;
    padding-bottom: 80px;
  }

  .menu-section h2 {
    font-size: 42px;
  }

  .menu-item h3 {
    font-size: 23px;
  }

  .menu-item .description {
    font-size: 16px;
  }

  .menu-item .price {
    font-size: 18px;
  }

  .beverage-category-title {
    font-size: 24px;
  }

  .beverage-category .menu-item h3 {
    font-size: 18px;
  }

  .beverage-category .description {
    font-size: 15px;
  }

  .beverage-category .price {
    font-size: 17px;
  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

  :root {
    --page-x: 20px;
    --header-h: 64px;
  }


  /* ---------- PORTADA ---------- */

  #language-screen {
    padding: 36px 24px;
  }

  #language-screen::before {
    background-image: url("assets/patron-portada-mobile.svg");
    background-size: 100% 100%;
    background-position: center;
  }

  .language-brand {
    margin-bottom: 56px;
  }

  .logo-cover {
    width: 215px;
  }

  .language-options {
    margin: 0;
  }

  .language-options button {
    padding: 18px 0;

    font-size: 25px;
  }


  /* ---------- NAVBAR ---------- */

  .menu-header {
    grid-template-columns: auto 1fr auto;

    padding: 0 18px;
  }

  .logo-header {
    width: 36px;
    height: 36px;
  }

  #menu-nav {
    justify-self: center;

    gap: 14px;
  }

  #menu-nav a {
    font-size: 12px;
  }

  #language-nav {
    gap: 8px;
  }

  #language-nav button {
    font-size: 11px;
    letter-spacing: 0.04em;
  }


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

  .menu-section {
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .menu-section h2 {
    margin-bottom: 32px;

    font-size: 28px;
  }

  .menu-item {
    margin-bottom: 28px;
  }

  .menu-item h3 {
    font-size: 19px;
  }

  .menu-item .description {
    font-size: 15px;
  }

  .menu-item .option {
    font-size: 14px;
  }

  .menu-item .price {
    font-size: 17px;
  }

  /* ---------- BEBIDAS ---------- */

  .beverage-category {
    margin-bottom: 40px;
  }

  .beverage-category-title {
    margin-bottom: 16px;
    font-size: 21px;
  }

  .beverage-category .menu-item {
    margin-bottom: 16px;
  }

  .beverage-category .menu-item h3 {
    font-size: 17px;
  }

  .beverage-category .description {
    font-size: 14px;
  }

  .beverage-category .option {
    font-size: 13px;
  }

  .beverage-category .price {
    font-size: 16px;
  }


  /* ---------- FOOTER ---------- */

  .logo-footer {
    width: 165px;
  }

  .footer-info {
    grid-template-columns: 1fr;

    gap: 28px;
  }

  .footer-bottom {
    font-size: 11px;
  }

  .logo-hi {
    width: 110px;
  }

}

@media (max-width: 720px) {

  .footer-bottom {
    grid-template-columns: minmax(0, 1fr);
    align-items: flex-start;
    gap: 18px;
  }

  .footer-credit {
    justify-content: flex-start;
    max-width: 100%;
    flex-wrap: wrap;
  }

  .footer-location-name {
    justify-self: start;
  }

}
