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

/* ======================= */
/* BASE */
/* ======================= */
body {
  font-family: Arial, sans-serif;
  color: #f5f5f5;
  min-height: 100vh;
  padding: 20px 18px;
  position: relative;
  z-index: 1;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url('img/fondo.webp') center/cover no-repeat;
  filter: grayscale(100%);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.firma {
  position: fixed;
  bottom: 10px;
  left: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #ffffff;
  opacity: 0.6;
  text-transform: uppercase;
}

/* ======================= */
/* LAYOUT GENERAL */
/* ======================= */
.page {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.layout-3 {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr) 290px;
  gap: 16px;
  align-items: start;
}

.main-column {
  min-width: 0;
}

.left-panel,
.right-panel {
  position: sticky;
  top: 20px;
}

/* ======================= */
/* BLOQUES GENERALES */
/* ======================= */
.side-box {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(17, 18, 20, 0.6);
  padding: 16px;
  min-height: 220px;
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.08),
    0 0 40px rgba(255, 255, 255, 0.04),
    0 10px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}

.side-box.updated {
  transform: scale(1.01);
}

.side-kicker {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a8a8f;
  margin-bottom: 9px;
}

.side-title {
  font-size: 21px;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.1;
}

.side-text {
  font-size: 13px;
  line-height: 1.55;
  color: #d4d4d8;
}

/* ======================= */
/* HERO */
/* ======================= */
.hero {
  margin-bottom: 14px;
}

.title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 0.9;
  letter-spacing: 0.07em;
  color: #ffffff;
}

.subtitle {
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a8a8f;
}

/* ======================= */
/* CHAT */
/* ======================= */
.chat-frame {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(17, 18, 20, 0.6);
  padding: 14px;
  position: relative;
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.08),
    0 0 40px rgba(255, 255, 255, 0.04),
    0 10px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.chatbot .conversation {
  border: 1px solid #202124;
  border-radius: 18px;
  background: #0d0e10;
  height: clamp(320px, 48vh, 390px);
  min-height: 320px;
  max-height: 390px;
  padding: 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
}

.chatbot .conversation > ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chatbot .conversation > ul > li {
  display: flex;
  flex-direction: column;
  max-width: 76%;
  animation: aparecer 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.chatbot .conversation > ul > li:nth-child(even) {
  margin-left: auto;
  align-items: flex-end;
}

.chatbot .conversation > ul > li > .name {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7b7b81;
  margin-bottom: 4px;
}

.chatbot .conversation .message {
  border-radius: 16px;
  padding: 11px 14px;
  position: relative;
  transition: all 0.35s ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.chatbot .conversation > ul > li > .message {
  padding: 11px 13px;
  border-radius: 15px;
  font-size: 13px;
  line-height: 1.45;
  background: linear-gradient(135deg, rgba(36, 39, 45, 0.96), rgba(27, 30, 35, 0.96));
  color: #f8f8f8;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(255, 255, 255, 0.04);
  animation: botMessageFade 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.chatbot .conversation > ul > li:not(:nth-child(even)) .message {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.10),
    rgba(255, 255, 255, 0.04)
  );
  color: #f5f5f5;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 15px rgba(255, 255, 255, 0.06),
    0 0 30px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.chatbot .conversation > ul > li:nth-child(even) .message,
.chatbot .conversation > ul > li:nth-child(even) > .message {
  background: linear-gradient(135deg, #f5f5f5, #dddddd);
  color: #111214;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.chatbot .conversation .message:hover {
  transform: translateY(-2px);
}

.chatbot .conversation > ul > li:not(:nth-child(even)) .message:hover {
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.10),
    0 0 40px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.chatbot .conversation > ul > li:nth-child(even) .message:hover {
  box-shadow:
    0 0 22px rgba(255, 255, 255, 0.14),
    0 0 45px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.chatbot .conversation > ul > li.removing {
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.chatbot .conversation a {
  color: #b8d8ff;
  text-decoration: none;
}

.chatbot .conversation > ul > li:nth-child(even) a {
  color: #1a4d8f;
}

.chatbot .conversation a:hover {
  text-decoration: underline;
}

/* ======================= */
/* FORMULARIO CHAT */
/* ======================= */
.chatbot form.query {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chatbot form.query input {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid #4b4b52;
  background: transparent;
  color: #ffffff;
  font-size: 13px;
  outline: none;
}

.chatbot form.query input::placeholder {
  color: #6f6f75;
}

.chatbot form.query input:focus {
  border-bottom-color: #ffffff;
}

.chatbot form.query button {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  color: #f5f5f5;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  box-shadow:
    0 0 0 rgba(255, 255, 255, 0),
    0 0 18px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.chatbot form.query button:hover {
  transform: translateY(-2px) scale(1.03);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.18),
    0 0 28px rgba(255, 255, 255, 0.12),
    0 0 42px rgba(255, 255, 255, 0.08);
}

.chatbot form.query button:active {
  transform: scale(0.97);
}

.chatbot form.query button::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.02));
  z-index: -1;
  filter: blur(8px);
  opacity: 0.65;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.chatbot form.query button:hover::before {
  opacity: 1;
  filter: blur(12px);
}

/* ======================= */
/* BOTONES RÁPIDOS */
/* ======================= */
.quick-buttons button {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03));
  color: #f5f5f5;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  box-shadow:
    0 0 0 rgba(255, 255, 255, 0),
    0 0 18px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.quick-buttons button:hover {
  transform: translateY(-2px) scale(1.03);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.18),
    0 0 28px rgba(255, 255, 255, 0.12),
    0 0 42px rgba(255, 255, 255, 0.08);
}

.quick-buttons button:active {
  transform: scale(0.97);
}

.quick-buttons button::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.02));
  z-index: -1;
  filter: blur(8px);
  opacity: 0.65;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.quick-buttons button:hover::before {
  opacity: 1;
  filter: blur(12px);
}

/* ======================= */
/* ACCIONES DEL CHAT */
/* ======================= */
.chat-actions {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.chat-actions button {
  border: none;
  background: transparent;
  color: #8a8a8f;
  font-size: 10px;
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.chat-actions button:hover,
.chat-actions button:focus-visible {
  color: #ffffff;
}

.speak-chat-btn[aria-pressed="true"] {
  color: #ffffff;
}

.chat-actions button:focus-visible,
.quick-buttons button:focus-visible,
.chatbot form.query button:focus-visible,
.chatbot form.query input:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

/* ======================= */
/* TARJETAS DE RESTAURANTES */
/* ======================= */
.places-grid {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.place-card.compact-card {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 12px;
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.22),
    0 0 18px rgba(255, 255, 255, 0.05);
  padding: 12px;
}

.place-left {
  display: flex;
  flex-direction: column;
}

.place-right {
  display: flex;
  align-items: center;
}

.place-title {
  font-size: 17px;
  margin-bottom: 6px;
  color: #ffffff;
}

.place-meta {
  font-size: 11px;
  color: #bdbdc2;
  margin-bottom: 10px;
}

.place-description {
  font-size: 13px;
  color: #f1f1f2;
  margin-bottom: 12px;
}

.place-map iframe {
  width: 100%;
  height: 110px;
  border: none;
  border-radius: 14px;
  margin-bottom: 10px;
}

.place-actions a {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: white;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.place-actions a:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.15);
}

.place-image {
  width: 100%;
  height: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 16px;
}

/* ======================= */
/* PANEL DERECHO */
/* ======================= */
.right-panel .side-box {
  height: 475px;
  transition: opacity 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.right-panel .side-box.panel-changing {
  opacity: 0;
  transform: translateY(10px);
}

.right-panel .side-box.panel-enter {
  opacity: 0;
  transform: translateY(12px);
  animation: panelFadeIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reviews-box {
  margin-top: 14px;
  max-height: 170px;
  overflow-y: auto;
  padding-right: 6px;
}

.review {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.review:last-child {
  border-bottom: none;
}

.review-author {
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.review-text {
  font-size: 12px;
  line-height: 1.5;
  color: #d4d4d8;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.gallery img {
  width: 100%;
  height: 74px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.panel-placeholder-img {
  width: 100%;
  border-radius: 16px;
  margin-top: 12px;
  opacity: 0.85;
  object-fit: cover;
  max-height: 170px;
}

.panel-tips {
  margin-top: 12px;
  padding-left: 0;
  list-style: none;
  font-size: 12px;
  color: #bdbdc2;
}

.panel-tips li {
  margin-bottom: 6px;
}

/* ======================= */
/* RATING / ESTRELLAS */
/* ======================= */
.panel-rating {
  margin: 12px 0 14px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.panel-rating-stars {
  margin-bottom: 6px;
}

.panel-rating-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.panel-rating-number {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
}

.panel-rating-count {
  font-size: 12px;
  color: #bdbdc2;
}

.recomendado-rating {
  margin: 8px 0 10px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.recomendado-rating-stars {
  margin-bottom: 5px;
}

.recomendado-rating-meta {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.recomendado-rating-number {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.recomendado-rating-count {
  font-size: 10px;
  color: #bdbdc2;
}

.stars-outer {
  position: relative;
  display: inline-block;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 2px;
}

.recomendado-rating .stars-outer {
  font-size: 16px;
  letter-spacing: 1px;
}

.stars-base {
  color: rgba(255, 255, 255, 0.16);
}

.stars-inner {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  overflow: hidden;
  color: #ffe082;
  text-shadow: 0 0 10px rgba(255, 215, 106, 0.22);
}

.rating-empty {
  font-size: 12px;
  color: #bdbdc2;
}

/* ======================= */
/* PANEL IZQUIERDO */
/* ======================= */
.left-column-box {
  height: clamp(475px, 66vh, 560px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.left-widget {
  padding-bottom: 4px;
}

.left-widget + .left-widget {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

.recomendado-widget {
  flex: 0 0 auto;
  overflow: visible;
}

.favoritos-widget {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ======================= */
/* RECOMENDADO */
/* ======================= */
#recomendado {
  cursor: pointer;
}

#recomendado h3 {
  font-size: 17px;
  margin-bottom: 6px;
  color: #ffffff;
}

#recomendado p {
  font-size: 12px;
  line-height: 1.45;
  color: #d4d4d8;
}

#recomendado a {
  display: inline-block;
  margin-top: 8px;
  color: #b8d8ff;
  text-decoration: none;
}

#recomendado a:hover {
  text-decoration: underline;
}

.recomendado-card {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.recomendado-thumb {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.recomendado-info h3 {
  font-size: 14px;
  margin: 0 0 4px 0;
  color: #ffffff;
}

.recomendado-info p {
  font-size: 11px;
  color: #bdbdc2;
  margin: 0;
}

.recomendado-desc {
  font-size: 12px;
  line-height: 1.45;
  color: #d4d4d8;
  margin: 8px 0;
}

/* ======================= */
/* FAVORITOS */
/* ======================= */
#favoritos-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  margin-top: 8px;
}

#favoritos-list p {
  font-size: 12px;
  line-height: 1.45;
  color: #d4d4d8;
}

.fav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  font-size: 12px;
  color: #f5f5f5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.fav-item:hover {
  opacity: 0.95;
  transform: translateX(2px);
}

.fav-item:last-child {
  border-bottom: none;
}

.fav-heart {
  flex-shrink: 0;
}

.fav-name {
  flex: 1;
  min-width: 0;
}

.fav-empty {
  font-size: 12px;
  color: #d4d4d8;
}

.fav-remove-btn {
  border: none;
  background: transparent;
  color: #9ea0a6;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.fav-remove-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.08);
}

.favorite-btn {
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-radius: 999px;
  padding: 6px 9px;
  cursor: pointer;
  font-size: 11px;
  line-height: 1;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.favorite-btn.is-active {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.12);
}

.favorite-btn.pop {
  animation: favoritePop 0.28s ease;
}

.left-column-box.favorites-highlight {
  animation: favoritesGlow 0.5s ease;
}

/* ======================= */
/* BLOQUES ANTIGUOS / AUX */
/* ======================= */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}

.restaurant-panel {
  position: sticky;
  top: 22px;
}

.restaurant-panel-inner {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(17, 18, 20, 0.6);
  padding: 18px;
  min-height: 220px;
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.08),
    0 0 40px rgba(255, 255, 255, 0.04),
    0 10px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.panel-kicker {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a8a8f;
  margin-bottom: 10px;
}

.panel-title {
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 10px;
}

.panel-text {
  font-size: 14px;
  line-height: 1.6;
  color: #d4d4d8;
}

.left-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ======================= */
/* ANIMACIONES */
/* ======================= */
@keyframes aparecer {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes botMessageFade {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes panelFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes favoritePop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.22);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes favoritesGlow {
  0% {
    box-shadow:
      0 0 20px rgba(255, 255, 255, 0.08),
      0 0 40px rgba(255, 255, 255, 0.04),
      0 10px 40px rgba(0, 0, 0, 0.4);
  }
  50% {
    box-shadow:
      0 0 24px rgba(255, 255, 255, 0.18),
      0 0 48px rgba(255, 255, 255, 0.10),
      0 10px 40px rgba(0, 0, 0, 0.42);
  }
  100% {
    box-shadow:
      0 0 20px rgba(255, 255, 255, 0.08),
      0 0 40px rgba(255, 255, 255, 0.04),
      0 10px 40px rgba(0, 0, 0, 0.4);
  }
}

/* ======================= */
/* RESPONSIVE */
/* ======================= */
@media (max-width: 1200px) {
  .layout-3 {
    grid-template-columns: 1fr;
  }

  .left-panel,
  .right-panel {
    position: static;
  }

  .left-column-box {
    height: auto;
  }

  .recomendado-widget,
  .favoritos-widget {
    overflow: visible;
  }

  #favoritos-list {
    max-height: 220px;
  }
}

@media (max-width: 768px) {
  .place-card.compact-card {
    grid-template-columns: 1fr;
  }

  .place-image {
    height: 180px;
  }
}

@media (max-width: 640px) {
  body {
    padding: 16px 12px;
  }

  .page {
    max-width: 100%;
  }

  .title {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 10px;
  }

  .chat-frame {
    padding: 12px;
  }

  .chatbot .conversation {
    height: 300px;
    min-height: 300px;
    max-height: 300px;
  }

  .chatbot .conversation > ul > li {
    max-width: 88%;
  }

  .chat-actions {
    justify-content: flex-start;
  }
}



@media (max-width: 768px) {
  body {
    padding: 14px 12px;
  }

  .layout-3 {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .left-panel {
    order: 2;
  }

  .main-column {
    order: 1;
  }

  .right-panel {
    order: 3;
  }

  .left-panel,
  .right-panel {
    position: static;
  }

  .left-column-box,
  .right-panel .side-box {
    height: auto;
  }

  .side-box,
  .chat-frame {
    padding: 14px;
    border-radius: 18px;
  }

  .title {
    font-size: 2rem;
  }

  .side-title {
    font-size: 20px;
  }

  .chatbot .conversation {
    height: 320px;
    min-height: 320px;
    max-height: 320px;
    padding: 10px;
    border-radius: 16px;
  }

  .chatbot .conversation > ul > li {
    max-width: 92%;
  }

  .chat-actions {
    justify-content: flex-start;
  }

  .place-card.compact-card {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .place-image {
    height: 180px;
    max-height: none;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .chatbot form.query {
    flex-direction: column;
    align-items: stretch;
  }

  .chatbot form.query button {
    width: 100%;
  }

  .chatbot .conversation {
    height: 280px;
    min-height: 280px;
    max-height: 280px;
  }

  .firma {
    position: static;
    margin-top: 12px;
    font-size: 10px;
  }
}
