/* =========================================================================
   Levante Street Food — Modal · Full Menu · Lang Switcher
   ========================================================================= */

/* ==================== LANGUAGE SWITCHER ==================== */
.nav__lang {
  display: flex;
  gap: 6px;
  pointer-events: auto;
}
.lang-btn {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
  border-radius: var(--radius-pill);
  padding: 5px 10px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 220ms var(--ease-out);
}
.lang-btn:hover { opacity: 0.85; }
.lang-btn.is-active { opacity: 1; }

/* ==================== FULL MENU SECTION ==================== */
.fullmenu {
  background: var(--crema-brisa);
  padding: 100px 60px 120px;
  position: relative;
}
.fullmenu::before {
  content: '';
  display: block;
  width: 1px;
  height: 80px;
  background: var(--negro-canos);
  opacity: 0.2;
  margin: 0 auto 60px;
}
.fullmenu__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.fullmenu__header {
  text-align: center;
  margin-bottom: 64px;
}
.fullmenu__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: var(--track-tight);
  margin: 0;
  color: var(--negro-canos);
}
.fullmenu__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 80px;
}
.menu-cat {
  margin-bottom: 52px;
}
.menu-cat__label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: var(--track-widest);
  text-transform: uppercase;
  color: var(--terracota-atardecer);
  padding-bottom: 16px;
  border-bottom: 2px solid var(--verde-levante);
  margin-bottom: 24px;
}
.menu-cat__items {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.menu-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.menu-item__body {
  flex: 1;
}
.menu-item__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg-1);
  display: block;
  margin-bottom: 4px;
}
.menu-item__star {
  color: var(--terracota-atardecer);
  font-size: 12px;
  margin-left: 6px;
  vertical-align: middle;
}
.menu-item__desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-3);
}
.menu-item__price {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 18px;
  color: var(--verde-levante);
  white-space: nowrap;
  flex-shrink: 0;
}
.fullmenu__note {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--fg-3);
  text-align: center;
  margin-top: 56px;
  opacity: 0.75;
}

/* ==================== RESERVATION MODAL ==================== */
.modal {
  border: none;
  border-radius: var(--radius-lg);
  background: var(--bg-canvas);
  padding: 0;
  max-width: 580px;
  width: calc(100vw - 48px);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  overscroll-behavior: contain;
}
.modal::backdrop {
  background: rgba(26, 26, 26, 0.65);
  backdrop-filter: blur(4px);
}
.modal[open] {
  animation: modalIn 0.28s var(--ease-out) both;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}
.modal__inner {
  padding: 48px 44px 44px;
  position: relative;
}
.modal__close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  background: var(--bg-subtle);
  border: none;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-2);
  transition: background 180ms, color 180ms;
}
.modal__close:hover { background: var(--negro-canos); color: var(--crema-brisa); }

.modal__logo {
  text-align: center;
  margin-bottom: 32px;
}
.modal__logo img {
  height: 64px;
  width: auto;
}

.modal__phone-block {
  background: var(--verde-levante);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
}
.modal__call-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: var(--track-wider);
  text-transform: uppercase;
  color: rgba(245, 237, 216, 0.75);
  margin: 0 0 8px;
}
.modal__phone-link {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 700;
  color: var(--crema-brisa);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: block;
  transition: color 180ms;
}
.modal__phone-link:hover { color: var(--arena-soft); }

.modal__divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  color: var(--fg-3);
}
.modal__divider::before,
.modal__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}
.modal__or {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--track-wider);
  text-transform: uppercase;
  white-space: nowrap;
}

/* Form */
.modal__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal__row {
  display: flex;
  gap: 16px;
}
.modal__row--2 > * { flex: 1 1 0; min-width: 0; }
.modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.modal__field label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--fg-2);
}
.modal__field input,
.modal__field select,
.modal__field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--fg-1);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  outline: none;
  transition: border-color 180ms;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.modal__field input:focus,
.modal__field select:focus,
.modal__field textarea:focus {
  border-color: var(--verde-levante);
  box-shadow: 0 0 0 3px rgba(0, 144, 112, 0.12);
}
.modal__field textarea { resize: vertical; min-height: 80px; }
.modal__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A4A4A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.modal__submit {
  margin-top: 8px;
  width: 100%;
  padding: 16px;
  font-size: 13px;
}
.modal__success {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 17px;
  color: var(--verde-levante);
  text-align: center;
  padding: 16px 0 0;
}

/* ==================== MOBILE ==================== */
@media (max-width: 880px) {
  .nav__lang { gap: 4px; }
  .lang-btn { padding: 4px 8px; font-size: 9px; }

  .fullmenu { padding: 72px 24px 80px; }
  .fullmenu__grid { grid-template-columns: 1fr; gap: 0; }
  .menu-cat { margin-bottom: 40px; }

  .modal__inner { padding: 36px 24px 32px; }
  .modal__row--2 { flex-direction: column; }
}

@media (max-width: 480px) {
  .fullmenu::before { height: 48px; margin-bottom: 40px; }
}
