/* ==========================================================================
   Restaurante Las Güeras — estilos globales (mobile-first)
   ========================================================================== */

:root {
  /* Paleta cálida inspirada en el logo: rojo-naranja, dorado y negro cálido */
  --color-deep: #2b0f0a;
  --color-ember: #d5401f;
  --color-gold: #f5a623;
  --color-gold-dark: #c97f0a;
  --color-sand: #ffe3b3;
  --color-sand-light: #fff6ea;
  --color-white: #ffffff;
  --color-coral: #ff5a36;
  --color-coral-dark: #d43d1f;
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #1ebe5b;
  --color-text: #3a1c0f;
  --color-text-muted: #8a5c46;

  --font-heading: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --container-width: 1180px;
  --radius: 14px;
  --shadow-soft: 0 8px 24px rgba(43, 15, 10, 0.16);
  --header-height: 68px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 56px); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-heading); margin: 0; line-height: 1.2; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-coral) 100%);
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(255, 90, 54, 0.45);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--color-coral) 0%, var(--color-coral-dark) 100%); }

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-white);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover { background: var(--color-whatsapp-dark); }
.btn .icon { width: 18px; height: 18px; fill: currentColor; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(43, 15, 10, 0.96);
  backdrop-filter: blur(6px);
  height: var(--header-height);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(245, 166, 35, 0.5));
}
.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-white);
  font-size: 1.15rem;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.68rem;
  color: var(--color-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 28px;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--color-deep);
  flex-direction: column;
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.main-nav.is-open { max-height: 320px; padding: 8px 20px 20px; }
.nav-link {
  color: var(--color-white);
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.15s ease;
}
.nav-link:hover { color: var(--color-gold); }
.nav-link.is-current { color: var(--color-gold); position: relative; }
.nav-link.is-current::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-coral));
}

.header-whatsapp { display: none; padding: 9px 18px; font-size: 0.85rem; }

.nav-toggle {
  background: none;
  border: none;
  width: 34px;
  height: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--color-white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* ==========================================================================
   Secciones de la página
   El sitio se desliza normalmente (todas las secciones son visibles al
   hacer scroll). Al elegir una sección desde el menú (☰) además se ve el
   pez cruzando la pantalla, ver #fishTransition más abajo.
   ========================================================================== */
.pages-viewport { position: relative; }
.page { position: relative; }

/* Dentro de "Menú" las pestañas de categorías quedan fijas (sticky) bajo el
   header mientras se hace scroll por la lista de platillos. */
.menu-header {
  position: sticky;
  top: var(--header-height);
  z-index: 40;
  background: var(--color-sand-light);
  padding-top: 14px;
  box-shadow: 0 4px 10px rgba(43, 15, 10, 0.06);
}

/* ==========================================================================
   Pez de transición (voltea la página al cambiar de sección)
   ========================================================================== */
.fish-transition {
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
  opacity: 0;
}
.fish-transition-svg {
  position: absolute;
  left: 50%;
  bottom: 46px;
  width: 90px;
  margin-left: -45px;
  filter: drop-shadow(0 10px 24px rgba(43, 15, 10, 0.5));
}
.fish-transition.is-swimming {
  animation: fish-fade 1.5s ease-in-out;
}
.fish-transition.is-swimming .fish-transition-svg {
  animation: fish-swim 1.5s ease-in-out;
}
@keyframes fish-fade {
  0%, 100% { opacity: 0; }
  12%, 88% { opacity: 1; }
}
/* El pez cruza de izquierda a derecha a la altura del botón de WhatsApp,
   con un balanceo suave en vez de un salto brusco */
@keyframes fish-swim {
  0%   { transform: translateX(-65vw) translateY(0) rotate(-3deg); }
  20%  { transform: translateX(-35vw) translateY(-8px) rotate(3deg); }
  40%  { transform: translateX(-10vw) translateY(5px) rotate(-3deg); }
  60%  { transform: translateX(15vw) translateY(-8px) rotate(3deg); }
  80%  { transform: translateX(40vw) translateY(5px) rotate(-2deg); }
  100% { transform: translateX(65vw) translateY(0) rotate(2deg); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background: linear-gradient(160deg, var(--color-deep) 0%, var(--color-ember) 55%, var(--color-gold) 100%);
  padding: 56px 0 130px;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(245, 166, 35, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(255, 90, 54, 0.3) 0%, transparent 40%);
  pointer-events: none;
}
.hero-waves {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  line-height: 0;
}
.hero-waves svg { width: 100%; height: 90px; }
.hero-waves path { fill: var(--color-sand-light); }

.hero-inner { position: relative; z-index: 1; }

.hero-logo-wrap {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-glow {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.55) 0%, rgba(255, 90, 54, 0.25) 45%, transparent 72%);
  filter: blur(4px);
  animation: glow-pulse 3.2s ease-in-out infinite;
}
.hero-logo {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(43, 15, 10, 0.45));
}
@keyframes glow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 1; }
}

.hero-eyebrow {
  color: var(--color-sand);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.hero-title {
  font-size: clamp(2.1rem, 8vw, 3.6rem);
  color: var(--color-white);
  font-weight: 800;
  margin-bottom: 18px;
}
.hero-title span { color: var(--color-gold); }
.hero-tagline {
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 32px;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.hero-actions .btn { width: 100%; max-width: 300px; justify-content: center; }

/* ==========================================================================
   Menú
   ========================================================================== */
.menu-section { background: var(--color-sand-light); }
.menu-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 8%, rgba(245, 166, 35, 0.14) 0%, transparent 35%),
    radial-gradient(circle at 95% 30%, rgba(255, 90, 54, 0.1) 0%, transparent 40%);
  pointer-events: none;
}
.menu-section .container { position: relative; }
.menu-scroll .container { padding-top: 28px; padding-bottom: 40px; }

.section-title {
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  color: var(--color-deep);
  font-weight: 800;
  text-align: center;
  position: relative;
  padding-bottom: 14px;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-coral));
}
.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin-top: 8px;
  margin-bottom: 32px;
  font-size: 0.9rem;
}

.menu-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 4px 18px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.menu-tabs::-webkit-scrollbar { height: 4px; }
.menu-tabs::-webkit-scrollbar-thumb { background: var(--color-ember); border-radius: 4px; }

.menu-tab {
  flex-shrink: 0;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-deep);
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid rgba(43,15,10,0.14);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.menu-tab:hover { background: var(--color-gold); color: var(--color-white); }
.menu-tab.is-active {
  background: linear-gradient(135deg, var(--color-gold), var(--color-coral));
  color: var(--color-white);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(255, 90, 54, 0.4);
}

/* Solo se muestra la categoría seleccionada; el resto permanece oculta */
.menu-category {
  display: none;
  padding: 24px 0 8px;
  scroll-margin-top: calc(var(--header-height) + 64px);
}
.menu-category.is-active { display: block; }

.category-title {
  font-size: 1.4rem;
  color: var(--color-deep);
  font-weight: 700;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.category-title span {
  filter: drop-shadow(0 0 10px rgba(245, 166, 35, 0.55));
}
.category-note {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  background: var(--color-white);
  padding: 14px 18px;
  border-radius: 10px;
  border-left: 3px solid transparent;
  box-shadow: 0 2px 8px rgba(43,15,10,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.menu-item:hover {
  transform: translateY(-2px);
  border-left-color: var(--color-gold);
  box-shadow: 0 8px 18px rgba(43,15,10,0.14);
}
.item-name { font-weight: 500; color: var(--color-text); }
.item-price {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-coral-dark);
  flex-shrink: 0;
}

.menu-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.menu-tags li {
  background: var(--color-white);
  color: var(--color-deep);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 2px 8px rgba(43,15,10,0.08);
}

/* ==========================================================================
   Galería
   ========================================================================== */
.gallery-section { padding: 56px 0 64px; background: var(--color-white); }
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

/* ==========================================================================
   Opiniones
   ========================================================================== */
.reviews-section { padding: 56px 0 64px; background: var(--color-sand-light); }
.reviews-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(245, 166, 35, 0.14) 0%, transparent 40%),
    radial-gradient(circle at 95% 90%, rgba(255, 90, 54, 0.1) 0%, transparent 40%);
  pointer-events: none;
}
.reviews-section .container { position: relative; }
.reviews-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.reviews-score { font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem; color: var(--color-deep); }
.reviews-stars { color: var(--color-gold); letter-spacing: 2px; }
.reviews-source { color: var(--color-text-muted); font-size: 0.88rem; }

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.review-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 2px 8px rgba(43,15,10,0.08);
}
.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-coral) 100%);
}
.review-name { display: block; color: var(--color-deep); font-size: 0.95rem; }
.review-head .review-stars { color: var(--color-gold); font-size: 0.85rem; letter-spacing: 1px; }
.review-text { margin: 0; color: var(--color-text-muted); font-size: 0.92rem; }

/* ==========================================================================
   Indicador de abierto / cerrado
   ========================================================================== */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding: 3px 10px 3px 8px;
  border-radius: 999px;
  background: rgba(43, 15, 10, 0.06);
  font-size: 0.78rem;
  font-weight: 600;
  vertical-align: middle;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9a9a9a;
  flex-shrink: 0;
}
.status-badge.is-open { color: #1e8e3e; background: rgba(30, 142, 62, 0.12); }
.status-badge.is-open .status-dot { background: #2ecc71; box-shadow: 0 0 6px rgba(46, 204, 113, 0.7); }
.status-badge.is-closed { color: #c0392b; background: rgba(192, 57, 41, 0.1); }
.status-badge.is-closed .status-dot { background: #e74c3c; box-shadow: 0 0 6px rgba(231, 76, 60, 0.6); }
.site-footer .status-badge.is-open { color: #6fe39a; background: rgba(46, 204, 113, 0.15); }
.site-footer .status-badge.is-closed { color: #ff9a8b; background: rgba(231, 76, 60, 0.18); }

/* ==========================================================================
   Nosotros / Info
   ========================================================================== */
.info-section { padding: 64px 0; background: var(--color-white); }
.info-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 0%, rgba(245, 166, 35, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(255, 90, 54, 0.08) 0%, transparent 35%);
  pointer-events: none;
}
.info-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.info-lead { color: var(--color-text-muted); margin-top: 16px; margin-bottom: 28px; }

.info-list { display: flex; flex-direction: column; gap: 20px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-coral) 100%);
  box-shadow: 0 0 16px rgba(245, 166, 35, 0.5);
}
.info-list strong { color: var(--color-deep); display: block; margin-bottom: 2px; }
.info-list p { margin: 0; color: var(--color-text-muted); }
.info-list a { color: var(--color-ember); font-weight: 600; text-decoration: underline; }
.info-list a:hover { color: var(--color-coral-dark); }

.info-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 280px;
}
.info-map iframe { width: 100%; height: 100%; min-height: 280px; border: 0; }

.map-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  min-height: 280px;
  padding: 32px 24px;
  background: linear-gradient(160deg, var(--color-deep) 0%, var(--color-ember) 100%);
  text-align: center;
  overflow: hidden;
  transition: transform 0.15s ease;
}
.map-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(245, 166, 35, 0.35) 0%, transparent 60%);
  pointer-events: none;
}
.map-card:hover { transform: scale(1.01); }
.map-card-icon { font-size: 2.6rem; }
.map-card-text { display: flex; flex-direction: column; gap: 6px; }
.map-card-text strong { color: var(--color-white); font-size: 1.05rem; }
.map-card-text span { color: rgba(255,255,255,0.8); font-size: 0.88rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--color-deep); color: rgba(255,255,255,0.85); padding: 56px 0 0; }
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(245, 166, 35, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 90% 60%, rgba(255, 90, 54, 0.18) 0%, transparent 45%);
  pointer-events: none;
}
.site-footer .container, .site-footer .footer-bottom { position: relative; }
.site-footer .section-title { color: var(--color-white); margin-bottom: 40px; }
.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 36px;
}
.footer-brand .logo-img { width: 56px; height: 56px; }
.footer-brand .logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-white);
  font-size: 1.2rem;
  display: block;
  margin: 8px 0 6px;
}
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.88rem; }

.footer-contact strong {
  display: block;
  color: var(--color-white);
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.footer-contact p { margin: 0 0 6px; color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.footer-contact a:hover { color: var(--color-gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 20px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}

/* ==========================================================================
   Botón flotante de WhatsApp
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
  z-index: 200;
  transition: transform 0.2s ease;
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-whatsapp);
  animation: whatsapp-ping 2.4s ease-out infinite;
  z-index: -1;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: var(--color-white); }
@keyframes whatsapp-ping {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ==========================================================================
   Asistente virtual (chat)
   ========================================================================== */
.chat-toggle {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-coral) 100%);
  box-shadow: 0 8px 20px rgba(255, 90, 54, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 200;
  transition: transform 0.2s ease;
}
.chat-toggle:hover { transform: scale(1.08); }
.chat-toggle svg { width: 26px; height: 26px; fill: var(--color-white); }

.chat-window {
  position: fixed;
  right: 20px;
  bottom: 90px;
  width: min(340px, calc(100vw - 40px));
  height: min(480px, calc(100vh - 140px));
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(43, 15, 10, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 210;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.chat-window.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chat-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  background: var(--color-deep);
  color: var(--color-white);
}
.chat-header-info { display: flex; align-items: center; gap: 10px; }
.chat-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: contain; }
.chat-header-info strong { display: block; font-family: var(--font-heading); font-size: 0.95rem; }
.chat-header-info span { display: block; font-size: 0.72rem; color: var(--color-gold); }
.chat-close {
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}

.chat-messages {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--color-sand-light);
}
.chat-msg {
  max-width: 85%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
  white-space: pre-wrap;
}
.chat-msg-bot {
  align-self: flex-start;
  background: var(--color-white);
  color: var(--color-text);
  box-shadow: 0 2px 6px rgba(43,15,10,0.08);
  border-bottom-left-radius: 4px;
}
.chat-msg-bot a {
  color: var(--color-coral-dark);
  text-decoration: underline;
  font-weight: 600;
}
.chat-msg-user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-coral) 100%);
  color: var(--color-white);
  border-bottom-right-radius: 4px;
}
.chat-msg-typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; }
.chat-msg-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-text-muted);
  animation: chat-typing 1.2s infinite ease-in-out;
}
.chat-msg-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-msg-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.chat-input-row {
  flex-shrink: 0;
  display: flex;
  gap: 8px;
  padding: 10px;
  background: var(--color-white);
  border-top: 1px solid rgba(43,15,10,0.08);
}
.chat-input-row input {
  flex: 1 1 auto;
  min-width: 0;
  border: 1px solid rgba(43,15,10,0.15);
  border-radius: 999px;
  padding: 9px 14px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--color-text);
}
.chat-input-row input:focus { outline: 2px solid var(--color-gold); outline-offset: 1px; }
.chat-input-row button {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: var(--color-coral);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.chat-input-row button:disabled { opacity: 0.6; cursor: default; }
.chat-input-row svg { width: 17px; height: 17px; fill: currentColor; }

/* ==========================================================================
   Media queries — tablet & desktop
   ========================================================================== */
@media (min-width: 720px) {
  .hero-actions { flex-direction: row; justify-content: center; }
  .hero-actions .btn { width: auto; }

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

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

  .info-grid { grid-template-columns: 1fr 1fr; align-items: start; }

  .footer-inner { grid-template-columns: 1.1fr 1fr; }

  .hero-logo-wrap, .hero-logo { width: 190px; height: 190px; }
}

@media (min-width: 960px) {
  .header-whatsapp { display: inline-flex; }

  .menu-grid { grid-template-columns: repeat(3, 1fr); }

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

  .hero { padding: 110px 0 160px; }

  .main-nav.is-open { width: 320px; left: auto; }
}

@media (min-width: 1180px) {
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
