/* WondarCore — código propio, no generado. Se puede modificar libremente. */
/* Página de detalle de atracción — migrado de Gonzalo/experiencia.css. Lo compartido con el resto
   del sitio (breadcrumb, dots/galería, tarjetas de opinión, carrusel "cercanos", .val-btn,
   .card-*, .exp-tag) ya está en destino-publico.css (se linkea junto con este archivo, ver
   Views/AtraccionPublico/Detalle.cshtml) — acá solo va lo específico de esta página. */

.experiencia-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  /* 1.5rem lateral, no 3.5rem — mismo criterio que .destino-wrapper (destino-publico.css): tiene
     que coincidir con el ancho real de .quick-menu en el header (layout.css). */
  padding: 1.5rem 1.5rem 3rem;
}

/* ── HERO CARD ── */
.exp-hero {
  position: relative;
  width: 100%;
  height: 340px;
  border-radius: 20px;
  overflow: hidden;
}

.exp-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.exp-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,20,0.88) 38%, rgba(10,10,20,0.2) 75%, transparent 100%);
}

.exp-actions {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.exp-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: none;
  border-radius: 50px;
  padding: 0 14px;
  height: 38px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  color: #333;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: box-shadow 0.15s, transform 0.1s;
}

.exp-action-btn:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  transform: translateY(-1px);
}

.exp-action-btn:not(.exp-action-btn--photos) {
  width: 38px;
  padding: 0;
  justify-content: center;
}

/* ── PANEL INFO (izquierda) ── */
.exp-panel {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 2.2rem;
  max-width: 600px;
}

.exp-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: white;
  line-height: 1.05;
  margin-bottom: 0.2rem;
  letter-spacing: -1px;
}

.exp-subtitle {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.75rem;
}

.exp-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.exp-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1rem;
}

.exp-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.82);
}

.exp-meta-item svg {
  flex-shrink: 0;
  opacity: 0.75;
}

/* ── RATING ── */
.exp-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.exp-score {
  font-size: 1.9rem;
  font-weight: 900;
  color: white;
  line-height: 1;
}

.exp-score-max {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-right: 4px;
}

.exp-rating-bar {
  flex: 1;
  max-width: 200px;
  height: 7px;
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
  overflow: hidden;
}

.exp-rating-bar span {
  display: block;
  height: 100%;
  background: #e53e3e;
  border-radius: 3px;
}

.exp-rating-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
}

/* ── MODO GALERÍA: ocultar panel/acciones del hero (dots/overlay de galería ya están en destino-publico.css) ── */
.exp-hero.gallery-mode .exp-panel,
.exp-hero.gallery-mode .exp-overlay,
.exp-hero.gallery-mode .destino-dots,
.exp-hero.gallery-mode .exp-actions {
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* ── CARD BASE (secciones blancas) ── */
.exp-card-section {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 1.25rem;
}

.exp-card-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a1a2e;
}

.exp-card-sub {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
  margin-top: -0.6rem;
}

/* ── QUÉ INCLUYE / NO INCLUYE ── */
.exp-include-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.exp-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.exp-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8f8fb;
  font-size: 0.82rem;
  color: #444;
  line-height: 1.4;
}

.exp-list-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-top: 1px;
  font-size: 0.68rem;
  font-weight: 900;
  background: rgba(22,163,74,0.12);
  color: #16a34a;
}

.exp-list--no .exp-list-dot {
  background: rgba(229,62,62,0.1);
  color: #e53e3e;
}

/* ── OPCIONES / TICKETS: elegís a la izquierda, reserva a la derecha ── */
.exp-picker-title { margin-top: 1.25rem; }
.exp-picker-subtitle { margin-top: 4px; }

.exp-shell {
  display: grid;
  grid-template-columns: minmax(0,1fr) 340px;
  gap: 20px;
  align-items: start;
  margin-top: 0.9rem;
}

.exp-stack {
  display: grid;
  gap: 1.25rem;
  min-width: 0;
}

.exp-stack > * { margin-top: 0; }

.exp-picker-section {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.exp-picker-cards {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}

.exp-pick-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  background: white;
  border-radius: 16px;
  padding: 12px;
  border: 2px solid transparent;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s, background 0.15s;
}

.exp-pick-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.exp-pick-card.is-active {
  background: #f4fbf6;
  border-color: #16a34a;
  box-shadow: 0 8px 22px rgba(22,163,74,0.14);
}

.exp-pick-media {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 128px;
  background-size: cover;
  background-position: center;
  background-color: #eee;
}

.exp-pick-media-tag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: rgba(255,255,255,0.95);
  color: #1a1a2e;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 50px;
}

.exp-pick-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.exp-pick-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.exp-pick-title-wrap { min-width: 0; }

.exp-pick-badges {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.exp-pick-badge {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 50px;
  background: white;
  color: #555;
  border: 1px solid #e5e5e5;
  white-space: nowrap;
}

.exp-pick-badge.is-accent { color: #16a34a; border-color: rgba(22,163,74,0.3); }
.exp-pick-badge.is-blue { color: #2563eb; border-color: rgba(37,99,235,0.28); }

.exp-pick-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.25;
  margin-bottom: 3px;
}

.exp-pick-card p {
  font-size: 0.78rem;
  color: #666;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.exp-pick-price { text-align: right; flex-shrink: 0; }

.exp-pick-price .from {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #999;
}

.exp-pick-price .amount {
  font-size: 1.35rem;
  font-weight: 900;
  color: #1a1a2e;
  line-height: 1.1;
}

.exp-pick-price .per { font-size: 0.68rem; color: #999; }

.exp-pick-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: #777;
  font-weight: 600;
}

.exp-pick-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 2px;
}

.exp-pick-select-btn {
  background: white;
  color: #16a34a;
  border: 1.5px solid #16a34a;
  border-radius: 50px;
  padding: 8px 18px;
  min-height: 38px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.exp-pick-card.is-active .exp-pick-select-btn { background: #16a34a; color: white; }

/* ── PANEL DE RESERVA (derecha, sticky) ── */
.exp-booking {
  position: sticky;
  top: 96px;
  background: white;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.exp-booking-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 14px;
}

.exp-booking-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #999;
  margin-bottom: 2px;
}

.exp-booking-price {
  font-size: 1.9rem;
  font-weight: 900;
  color: #1a1a2e;
  line-height: 1;
}

.exp-booking-partner-note {
  font-size: 0.7rem;
  color: #999;
  margin-top: 4px;
  max-width: 190px;
  line-height: 1.4;
}

.exp-booking-rating-pill {
  flex-shrink: 0;
  background: rgba(22,163,74,0.1);
  color: #16a34a;
  border-radius: 12px;
  padding: 7px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: right;
  line-height: 1.35;
}

.exp-booking-product { margin-bottom: 14px; }

.exp-booking-product-kicker {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #999;
  margin-bottom: 4px;
}

.exp-booking-product-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.25;
  margin-bottom: 5px;
}

.exp-booking-product-text {
  font-size: 0.76rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 8px;
}

.exp-btn-reservar {
  display: block;
  background: #16a34a;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 9px 20px;
  min-height: 44px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s, transform 0.1s;
}
.exp-btn-reservar:hover { opacity: 0.88; transform: translateY(-1px); }
.exp-btn-reservar.is-disabled { opacity: 0.5; cursor: default; pointer-events: none; }

/* "Más entradas" — mismo molde que "Reservar" pero verde más oscuro y con margen arriba, para que
   se lea como acción secundaria (Gonzalo/experiencia.css). */
.exp-btn-mas-entradas {
  display: block;
  background: #166534;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 9px 20px;
  min-height: 44px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  margin-top: 8px;
  transition: opacity 0.15s, transform 0.1s;
}
.exp-btn-mas-entradas:hover { opacity: 0.88; transform: translateY(-1px); }
.exp-btn-mas-entradas.is-disabled { opacity: 0.5; cursor: default; pointer-events: none; }

.exp-booking-cta { width: 100%; }

/* Aviso al salir de Wondar hacia el sistema externo de venta de entradas — migrado tal cual de
   Gonzalo/experiencia.css (mismo patrón de overlay que el resto del sitio). */
.exp-leave-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(10,10,20,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.exp-leave-modal.is-open {
  opacity: 1;
  pointer-events: all;
}

.exp-leave-modal-card {
  background: white;
  border-radius: 16px;
  padding: 1.75rem;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.exp-leave-modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 0.75rem;
}

.exp-leave-modal-text {
  font-size: 0.85rem;
  line-height: 1.55;
  color: #444;
  margin-bottom: 1.5rem;
}

.exp-leave-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.exp-leave-modal-btn {
  border: none;
  border-radius: 50px;
  padding: 10px 18px;
  min-height: 44px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
}
.exp-leave-modal-btn:hover { opacity: 0.85; }

.exp-leave-modal-btn--cancel {
  background: #f0f0f2;
  color: #333;
}

.exp-leave-modal-btn--continue {
  background: #16a34a;
  color: white;
}

@media (max-width: 480px) {
  .exp-leave-modal-actions { flex-direction: column-reverse; }
  .exp-leave-modal-btn { width: 100%; }
}

.exp-booking-secure {
  margin-top: 12px;
  padding: 11px 13px;
  border-radius: 12px;
  background: #f8f8fb;
  font-size: 0.72rem;
  line-height: 1.5;
  color: #555;
  font-weight: 600;
}

.exp-booking-divider { height: 1px; background: #f0f0f0; margin: 14px 0; }

.exp-booking-trust { display: grid; gap: 8px; }

.exp-booking-trust-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.74rem;
  line-height: 1.45;
  color: #555;
}

.exp-booking-trust-item .dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(22,163,74,0.12);
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.exp-booking-trust-item b { display: block; color: #1a1a2e; }

/* ── FAQ ── */
.exp-faq { padding-top: 0.25rem; }

.exp-faq details { border-bottom: 1px solid #f0f0f0; }
.exp-faq details:last-child { border-bottom: none; }

.exp-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a1a2e;
}
.exp-faq summary::-webkit-details-marker { display: none; }

.exp-faq-chevron {
  flex-shrink: 0;
  color: #16a34a;
  transition: transform 0.2s ease;
}
.exp-faq details[open] .exp-faq-chevron { transform: rotate(180deg); }

.exp-faq-body {
  padding: 0 4px 16px;
  font-size: 0.82rem;
  color: #666;
  line-height: 1.6;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .exp-shell { grid-template-columns: 1fr; }
  .exp-booking { position: static; }
}

@media (max-width: 768px) {
  .experiencia-wrapper { padding: 1rem 0.75rem 3rem; }

  .exp-hero { height: auto; min-height: 480px; border-radius: 14px; }

  .exp-overlay {
    background: linear-gradient(to top, rgba(10,10,20,0.92) 60%, rgba(10,10,20,0.3) 100%);
  }

  .exp-panel { max-width: 100%; justify-content: flex-end; padding: 1.5rem; }

  .exp-title { font-size: 2rem; }
  .exp-desc { display: none; }

  .exp-include-grid { grid-template-columns: 1fr; }

  .exp-pick-card { grid-template-columns: 1fr; }
  .exp-pick-media { min-height: 160px; }
  .exp-pick-price { text-align: left; }
  .exp-pick-head { flex-direction: column; }
  .exp-pick-footer { justify-content: flex-start; }

  .exp-booking-top { flex-direction: column; }
  .exp-booking-rating-pill { align-self: flex-start; text-align: left; }

  .exp-card-title { font-size: 1.3rem; }
}
