/* ═══ DESTINOS — Páginas SEO de destinos ═══
   Mobile-first, dark theme, reutiliza variables de styles.css
*/

/* ── Page layout ────────────────────────────────────────── */

.destino-page {
  background: var(--negro);
  color: var(--crema);
  min-height: 100vh;
  padding-bottom: 80px; /* espacio para app-bottom-bar + FAB, igual que .app-content */
}

.app-logo-link {
  text-decoration: none;
  color: inherit;
}

/* ── Reloj (hora del destino) — mismo look que el index de la app ── */
.destino-clock-wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 14px 20px 0 !important;
}
.destino-clock-wrap .ce-sky-date { cursor: default; }
.destino-clock-wrap .ce-brand { text-decoration: none; display: inline-block; }

/* ── Mapa centrado en el destino (Leaflet + OpenStreetMap, gratis) ──
   Fijo, sin interacción propia (ver scrollWheelZoom:false etc en el script) —
   solo para situarte de un vistazo; tocarlo abre Google Maps en una pestaña
   nueva en vez de intentar navegar dentro de un mapa que no responde. */
.destino-map-link {
  display: block;
  max-width: 700px;
  margin: 0 auto 24px;
}
.destino-map {
  height: 220px;
  border: 1px solid rgba(212, 160, 23, .25);
  cursor: pointer;
}

/* ── Hero ────────────────────────────────────────────────── */

.destino-hero {
  text-align: center;
  padding: 48px 20px 56px;
  max-width: 700px;
  margin: 0 auto;
}

.destino-badge {
  display: inline-block;
  padding: 4px 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--dorado);
  border: 1px solid rgba(212, 160, 23, .3);
  border-radius: var(--radius-pill, 100px);
  margin-bottom: 16px;
}

.destino-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 8vw, 56px);
  color: var(--blanco);
  letter-spacing: 2px;
  line-height: 1.1;
  margin: 0 0 8px;
}

.destino-subtitle {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--dorado);
  text-transform: uppercase;
  margin: 0 0 20px;
}

/* ── Buscador de destinos ──────────────────────────────── */
.destino-search-wrap {
  position: relative;
  max-width: 400px;
  margin: 0 auto 8px;
}
.destino-search-input {
  width: 100%;
  padding: 12px 44px 12px 18px;
  border-radius: 100px;
  border: 1px solid rgba(212,160,23,.3);
  background: rgba(244,239,230,.05);
  color: var(--crema, #f5f0e8);
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 15px;
  outline: none;
  transition: border-color .2s, background .2s;
  -webkit-appearance: none;
  appearance: none;
}
.destino-search-input::placeholder { color: rgba(244,239,230,.3); }
.destino-search-input:focus {
  border-color: rgba(212,160,23,.7);
  background: rgba(244,239,230,.07);
}
.destino-search-input::-webkit-search-cancel-button { display: none; }
.destino-search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(212,160,23,.6);
  pointer-events: none;
  display: flex;
  align-items: center;
}
.destino-search-count {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  color: rgba(244,239,230,.35);
  letter-spacing: .06em;
  text-align: center;
  margin-top: 6px;
}

/* ── Content ─────────────────────────────────────────────── */

.destino-content {
  max-width: 700px;
  margin: 0 auto;
  /* El espacio para el menú fijo de abajo ya lo pone .destino-page
     (padding-bottom, ver arriba) — aquí solo aire antes del footer. */
  padding: 0 20px 32px;
  padding-right: 70px; /* espacio para FAB flotante */
}

@media (min-width: 900px) {
  .destino-content { padding-right: 20px; } /* en pantallas anchas el FAB no tapa */
}

.destino-desc {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: rgba(244, 239, 230, .85);
  margin: 0 0 32px;
}

/* ── Quick Facts ─────────────────────────────────────────── */

.destino-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 36px;
}

.destino-fact {
  background: var(--gris, #111);
  border: 1px solid var(--linea);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.destino-fact-icon {
  font-size: 20px;
  margin-bottom: 4px;
}

.destino-fact-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .12em;
  color: rgba(244, 239, 230, .4);
  text-transform: uppercase;
}

.destino-fact-value {
  font-family: var(--font-tight);
  font-size: 15px;
  font-weight: 700;
  color: var(--blanco);
}

.destino-security-ok { color: #4ade80; }
.destino-security-warn { color: #f59e0b; }

/* ── Accordion Sections ──────────────────────────────────── */

.destino-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.destino-acc-item {
  border-bottom: 1px solid var(--linea);
}

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

.destino-acc-header {
  display: flex;
  align-items: center;
  padding: 16px 0;
  font-family: var(--font-tight);
  font-size: 16px;
  font-weight: 700;
  color: var(--blanco);
  cursor: pointer;
  list-style: none;
  transition: color .2s;
}

.destino-acc-header::-webkit-details-marker { display: none; }

.destino-acc-header::after {
  content: '▸';
  margin-left: auto;
  font-size: 14px;
  color: var(--dorado);
  transition: transform .2s;
}

details[open] > .destino-acc-header::after {
  transform: rotate(90deg);
}

.destino-acc-header:hover {
  color: var(--dorado);
}

.destino-acc-body {
  padding: 0 0 20px;
}

.destino-acc-body p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(244, 239, 230, .8);
  margin: 0;
}

/* ── Highlight (consejo local) ───────────────────────────── */

.destino-highlight {
  border-left: 3px solid var(--dorado);
  padding-left: 16px;
  background: rgba(212, 160, 23, .04);
  border-radius: 0 12px 12px 0;
}

.destino-highlight .destino-acc-header {
  padding-left: 4px;
}

.destino-highlight .destino-acc-body {
  padding-left: 4px;
}

/* ── FAQ section (keep non-accordion) ────────────────────── */

.destino-section {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--linea);
}

.destino-section:last-of-type {
  border-bottom: none;
}

.destino-h2 {
  font-family: var(--font-tight);
  font-size: 18px;
  font-weight: 700;
  color: var(--blanco);
  margin: 0 0 12px;
}

/* ── Dormir grid ─────────────────────────────────────────── */

.destino-dormir-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 540px) {
  .destino-dormir-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.destino-dormir-card {
  background: var(--gris, #111);
  border: 1px solid var(--linea);
  border-radius: 12px;
  padding: 16px;
}

.destino-dormir-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--dorado);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.destino-dormir-card p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* ── Activity list ───────────────────────────────────────── */

.destino-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.destino-list li {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(244, 239, 230, .8);
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  border-bottom: 1px solid rgba(244, 239, 230, .05);
}

.destino-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--dorado);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
}

/* ── FAQ ─────────────────────────────────────────────────── */

.destino-faq-item {
  margin-bottom: 20px;
}

.destino-faq-item h3 {
  font-family: var(--font-tight);
  font-size: 15px;
  font-weight: 700;
  color: var(--blanco);
  margin: 0 0 6px;
}

.destino-faq-item p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(244, 239, 230, .7);
  margin: 0;
}

/* ── CTA ─────────────────────────────────────────────────── */

.destino-cta {
  text-align: center;
  padding: 40px 20px;
  margin-top: 20px;
}

.destino-cta h2 {
  font-family: var(--font-tight);
  font-size: 20px;
  color: var(--blanco);
  margin: 0 0 8px;
}

.destino-cta p {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(244, 239, 230, .5);
  margin: 0 0 20px;
}

.destino-cta-btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--dorado);
  color: var(--negro);
  font-family: var(--font-tight);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
  border-radius: 12px;
  text-decoration: none;
  transition: all .2s;
}

.destino-cta-btn:hover {
  background: #e5b82a;
  transform: translateY(-1px);
}

/* ── Share button ─────────────────────────────────────────── */

.destino-share-wrap {
  text-align: center;
  margin: 28px 0 0;
}

.destino-share-btn {
  display: inline-block;
  margin: 0;
  background: none;
  border: none;
  color: rgba(244, 239, 230, .4);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  cursor: pointer;
  padding: 6px 12px;
  transition: color .2s;
}

.destino-share-btn:hover {
  color: var(--dorado);
}

/* ── Footer ──────────────────────────────────────────────── */

.destino-footer {
  text-align: center;
  padding: 32px 20px 24px;
  border-top: 1px solid var(--linea);
}

.destino-footer-logo {
  font-family: var(--font-display);
  font-size: 16px;
  color: rgba(244, 239, 230, .3);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.destino-footer-logo a {
  color: rgba(244, 239, 230, .3);
  text-decoration: none;
}

.destino-footer-logo span {
  color: var(--dorado);
}

.destino-footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
}

.destino-footer-links a {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: rgba(244, 239, 230, .3);
  text-decoration: none;
  transition: color .2s;
}

.destino-footer-links a:hover {
  color: var(--dorado);
}

.destino-footer-copy {
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(244, 239, 230, .2);
  letter-spacing: .1em;
  margin: 0;
}

/* ── Salma input wrap (index hero) ────────────────────────── */

.destino-salma-input-wrap {
  margin-bottom: 32px;
}

/* ── Buscador de países (index destinos) ── */
.destino-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--dorado);
  border-radius: 14px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, .03);
  transition: all .2s;
}
.destino-search-bar:focus-within {
  box-shadow: 0 0 20px rgba(212, 160, 23, .15);
  background: rgba(255, 255, 255, .06);
}
.destino-search-icon {
  color: var(--dorado);
  opacity: .5;
  flex-shrink: 0;
}
.destino-search-input {
  flex: 1;
  background: none;
  border: none;
  color: var(--crema);
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
}
.destino-search-input::placeholder {
  color: rgba(244, 239, 230, .3);
}

.salma-input-hero {
  border: 1px solid var(--dorado);
  border-radius: 14px;
  padding: 6px 6px 6px 18px;
}

.salma-input-hero:focus-within {
  box-shadow: 0 0 20px rgba(212, 160, 23, .15);
}

/* ── Mic button (unified — mismo estilo que index.html) ── */

.salma-mic {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--linea);
  color: var(--crema);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  flex-shrink: 0;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

.salma-mic:hover {
  border-color: var(--linea-fuerte);
}

.salma-mic.listening {
  background: #e53e3e;
  color: #fff;
  border-color: #e53e3e;
  animation: mic-pulse .8s ease-in-out infinite;
  transform: scale(1.15);
}

/* Borde rojo pulsante en el input cuando graba */
.mic-active {
  border-color: #e53e3e !important;
  animation: input-rec-pulse 1.2s ease-in-out infinite;
}

@keyframes mic-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229, 62, 62, .5); }
  50% { box-shadow: 0 0 0 14px rgba(229, 62, 62, 0); }
}
@keyframes input-rec-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229, 62, 62, .3); }
  50% { box-shadow: 0 0 4px 4px rgba(229, 62, 62, .15); }
}

/* Hero input — mic más grande */
.salma-input-hero .salma-mic {
  width: 48px;
  height: 48px;
  border-color: rgba(212, 160, 23, .4);
}

/* ── Recent guides ───────────────────────────────────────── */

.destino-recent {
  margin-bottom: 32px;
}

/* ── Nav bar (breadcrumb) ─────────────────────────────────── */

.destino-nav-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: rgba(244, 239, 230, .4);
  max-width: 700px;
  margin: 0 auto;
}

.destino-nav-link {
  color: rgba(244, 239, 230, .5);
  text-decoration: none;
  transition: color .2s;
}

.destino-nav-link:hover {
  color: var(--dorado);
}

.destino-nav-sep {
  color: rgba(244, 239, 230, .25);
}

/* ── Hero nav (prev/next arrows) ─────────────────────────── */

.destino-hero-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.destino-hero-center {
  flex: 1;
  text-align: center;
}

.destino-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(244, 239, 230, .06);
  border: 1px solid var(--linea);
  color: var(--dorado);
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s;
  flex-shrink: 0;
}

.destino-arrow:hover {
  background: rgba(212, 160, 23, .12);
  border-color: var(--dorado);
}

.destino-arrow-disabled {
  opacity: .2;
  pointer-events: none;
}

/* ── Breadcrumb (country pages) ──────────────────────────── */

.destino-breadcrumb {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: rgba(244, 239, 230, .4);
  margin-bottom: 12px;
}

.destino-breadcrumb a {
  color: var(--dorado);
  text-decoration: none;
}

.destino-breadcrumb a:hover {
  text-decoration: underline;
}

/* ── Wide content (country + index) ──────────────────────── */

.destino-content-wide {
  max-width: 960px;
  padding-right: 20px;
}

/* ── Country page — destination cards grid ───────────────── */

.destino-country-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 40px;
}

@media (min-width: 540px) {
  .destino-country-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 800px) {
  .destino-country-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.destino-country-card {
  display: block;
  background: var(--gris, #111);
  border: 1px solid var(--linea);
  border-radius: 14px;
  padding: 20px;
  text-decoration: none;
  color: var(--crema);
  transition: all .2s;
}

.destino-country-card:hover {
  border-color: var(--dorado);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(212, 160, 23, .1);
}

.destino-country-card-badge {
  font-size: 12px;
  margin-bottom: 8px;
}

.destino-country-card-title {
  font-family: var(--font-tight);
  font-size: 18px;
  font-weight: 700;
  color: var(--blanco);
  margin: 0 0 6px;
}

.destino-country-card-desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(244, 239, 230, .6);
  margin: 0 0 12px;
}

.destino-country-card-meta {
  display: flex;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--dorado);
}

/* ── Index page — countries grid ─────────────────────────── */

.destino-index-continent {
  margin-bottom: 36px;
}

.destino-index-continent-title {
  font-family: var(--font-tight);
  font-size: 20px;
  font-weight: 700;
  color: var(--dorado);
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--linea);
}

.destino-index-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (min-width: 540px) {
  .destino-index-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (min-width: 800px) {
  .destino-index-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

.destino-index-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  background: var(--gris, #111);
  border: 1px solid var(--linea);
  border-radius: 10px;
  text-decoration: none;
  transition: all .2s;
}

.destino-index-card:hover {
  border-color: var(--dorado);
  background: rgba(212, 160, 23, .05);
}

.destino-index-card-name {
  font-family: var(--font-tight);
  font-size: 14px;
  font-weight: 700;
  color: var(--blanco);
}

.destino-index-card-count {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: rgba(244, 239, 230, .4);
}

/* ── Community routes ─────────────────────────────────────── */

.destino-community {
  margin: 32px 0;
}

.destino-community-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 540px) {
  .destino-community-grid { grid-template-columns: 1fr 1fr; }
}

.destino-community-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--gris, #111);
  border: 1px solid var(--linea);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--crema);
  transition: all .2s;
}

.destino-community-card:hover {
  border-color: var(--dorado);
}

.destino-community-img {
  width: 80px;
  height: 60px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.destino-community-body {
  padding: 10px 12px 10px 0;
}

.destino-community-title {
  font-family: var(--font-tight);
  font-size: 14px;
  font-weight: 700;
  color: var(--blanco);
  line-height: 1.2;
}

.destino-community-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--dorado);
  margin-top: 2px;
}

/* ── Subtle CTAs ─────────────────────────────────────────── */

.destino-cta-subtle {
  display: block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .05em;
  color: rgba(212, 160, 23, .5);
  text-decoration: none;
  transition: color .2s;
}

.destino-cta-subtle:hover {
  color: var(--dorado);
}

.destino-cta-note {
  color: rgba(244, 239, 230, .3);
  font-weight: 400;
}

/* ── Static Itinerary (SEO) ───────────────────────────────── */

.destino-itinerary-static {
  margin: 32px 0;
  padding-top: 28px;
  border-top: 1px solid var(--linea);
}

.destino-itinerary-static .destino-h2 {
  margin-bottom: 16px;
}

.destino-day-stops {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: rgba(244, 239, 230, .4);
  margin-left: 8px;
}

.destino-stop {
  padding: 10px 0;
  border-bottom: 1px solid rgba(244, 239, 230, .05);
}

.destino-stop:last-child { border-bottom: none; }

.destino-stop-name {
  font-family: var(--font-tight);
  font-size: 14px;
  font-weight: 700;
  color: var(--blanco);
  margin: 0 0 4px;
}

.destino-stop-desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(244, 239, 230, .65);
  margin: 0 0 4px;
}

.destino-stop-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--dorado);
  margin-right: 12px;
}

/* ── Help modal ───────────────────────────────────────────── */

.salma-help-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.salma-help-modal {
  background: var(--gris, #111);
  border: 1px solid rgba(212, 160, 23, .15);
  border-radius: 16px;
  padding: 28px 24px;
  max-width: 340px;
  width: 100%;
  position: relative;
}

.salma-help-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(244, 239, 230, .4);
  font-size: 22px;
  cursor: pointer;
}

.salma-help-modal h3 {
  font-family: var(--font-tight);
  font-size: 16px;
  color: var(--dorado);
  margin: 0 0 14px;
}

.salma-help-modal ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.salma-help-modal li {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--crema);
  padding: 6px 0;
}

.salma-help-btn {
  display: block;
  text-align: center;
  padding: 10px;
  background: var(--dorado);
  color: var(--negro);
  font-family: var(--font-tight);
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
}

/* ── Salma Inline Section ─────────────────────────────────── */

.destino-salma-section {
  display: block;
  background: var(--gris, #111);
  border: 1px solid rgba(212, 160, 23, .15);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 40px;
  margin-bottom: 60px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s;
}
.destino-salma-section:hover { border-color: rgba(212, 160, 23, .4); }

/* Solo saludo — para seguir hablando hay que entrar (ver build-destinos.js) */
.destino-salma-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 16px;
  border-top: 1px solid var(--linea);
  font-family: var(--font-tight);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--dorado);
}
.destino-salma-cta span { transition: transform .2s; }
.destino-salma-section:hover .destino-salma-cta span { transform: translateX(3px); }

.destino-salma-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border-bottom: 1px solid var(--linea);
}

.destino-salma-title {
  font-family: var(--font-tight);
  font-size: 14px;
  font-weight: 700;
  color: var(--dorado);
}

.salma-chat-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.salma-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0; /* important for flex shrink */
  scrollbar-width: thin;
  scrollbar-color: rgba(244, 239, 230, .1) transparent;
}

.salma-chat-bubble {
  background: rgba(212, 160, 23, .08);
  border: 1px solid rgba(212, 160, 23, .15);
  border-radius: 14px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--crema);
  max-width: 90%;
  align-self: flex-start;
}

.salma-chat-bubble.user {
  background: rgba(244, 239, 230, .08);
  border-color: rgba(244, 239, 230, .15);
  align-self: flex-end;
}

.salma-chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.salma-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dorado);
  background: rgba(212, 160, 23, .08);
  border: 1px solid rgba(212, 160, 23, .25);
  border-radius: 100px;
  padding: 8px 14px;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}

.salma-chip:hover {
  background: rgba(212, 160, 23, .2);
  border-color: var(--dorado);
}

.salma-chat-input-bar {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-top: 1px solid var(--linea);
  gap: 10px;
}
.salma-chat-input-bar .salma-chat-input { order: 1; }
.salma-chat-input-bar .salma-chat-send { order: 2; }
.salma-chat-input-bar .salma-mic { order: 3; }

.salma-chat-input {
  flex: 1;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--linea);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--crema);
  outline: none;
  transition: border-color .2s;
}

.salma-chat-input::placeholder {
  color: rgba(244, 239, 230, .25);
}

.salma-chat-input:focus {
  border-color: var(--dorado);
}

.salma-chat-send {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dorado);
  color: var(--negro);
  border: none;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
  flex-shrink: 0;
}

.salma-chat-send:hover {
  background: #e5b82a;
}

/* ── Mobile responsive ───────────────────────────────────── */

@media (max-width: 480px) {
  .destino-hero { padding: 32px 16px 24px; }
  .destino-content { padding: 0 16px 32px; }
  .destino-facts { gap: 8px; }
  .destino-fact { padding: 12px; }

  .salma-fab {
    right: 12px;
    padding: 10px 14px;
  }

}
