/* ==========================================================================
   DESTINO + TOUR PREMIUM — estructura tipo Peru Beyond (Perú Ideal)
   ========================================================================== */

/* ---- DESTINO LISTING ---- */
body.destino-page { background: #0a0a0a; }
body.destino-page .lux-header--solid {
  background: rgba(10,10,10,0.97);
  border-bottom-color: rgba(201,162,39,0.15);
}
body.destino-page .lux-header--solid .lux-nav__link { color: rgba(255,255,255,0.85); }
body.destino-page .lux-header.lux-header--solid .mega-trigger,
body.destino-page .lux-header.lux-header--solid a.mega-trigger--direct,
body.destino-page .lux-header.lux-header--solid.scrolled .mega-trigger,
body.destino-page .lux-header.lux-header--solid.scrolled a.mega-trigger--direct,
body.tours-catalog-page .lux-header.lux-header--solid .mega-trigger,
body.tours-catalog-page .lux-header.lux-header--solid a.mega-trigger--direct,
body.tours-catalog-page .lux-header.lux-header--solid.scrolled .mega-trigger,
body.tours-catalog-page .lux-header.lux-header--solid.scrolled a.mega-trigger--direct {
  color: rgba(255, 255, 255, 0.94);
}
body.destino-page .lux-header.lux-header--solid .mega-trigger__caret,
body.tours-catalog-page .lux-header.lux-header--solid .mega-trigger__caret {
  opacity: 0.88;
}

.destino-page-header {
  padding: 110px 0 32px;
  background: #0a0a0a;
}
.destino-page-header__title {
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: #fff;
  margin-top: 12px;
}
.destino-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: rgba(255,255,255,0.45);
  margin-bottom: 0; flex-wrap: wrap;
}
.destino-breadcrumb a { color: var(--gold); text-decoration: none; }
.destino-breadcrumb a:hover { text-decoration: underline; }
.destino-breadcrumb span:last-child { color: rgba(255,255,255,0.7); }

.destino-tours {
  padding: 0 0 80px;
  background: #0a0a0a;
}
.destino-tours .tours-catalog__panel {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px;
}
.destino-tours .tours-toolbar__label { color: rgba(255,255,255,0.5); }
.destino-tours .tours-toolbar__control {
  background: #1c1c1c;
  border-color: rgba(255,255,255,0.1);
}
.destino-tours .tours-toolbar__control input,
.destino-tours .tours-toolbar__control select {
  color: #fff;
}
.destino-tours .tours-catalog__meta { color: rgba(255,255,255,0.5); }

/* ---- Tours catalog page (mismo diseño que destino) ---- */
body.tours-catalog-page { background: #0a0a0a; }
body.tours-catalog-page .tours-catalog { background: #0a0a0a; }
body.tours-catalog-page .tours-catalog__panel {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 32px);
}
body.tours-catalog-page .tours-toolbar__label { color: rgba(255,255,255,0.92); }
body.tours-catalog-page .tours-toolbar__control {
  background: #1c1c1c;
  border-color: rgba(255,255,255,0.1);
}
body.tours-catalog-page .tours-toolbar__control input,
body.tours-catalog-page .tours-toolbar__control select { color: #fff; }
body.tours-catalog-page .tours-toolbar__control > i,
body.tours-catalog-page .tours-toolbar__control > svg {
  color: rgba(255, 255, 255, 0.9);
}
body.tours-catalog-page .tours-toolbar__control--select::after {
  border-top-color: rgba(255, 255, 255, 0.78);
}
body.tours-catalog-page .tours-toolbar__control input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}
body.tours-catalog-page .tours-catalog__meta { color: rgba(255,255,255,0.72); }
body.tours-catalog-page .tours-catalog__empty { color: rgba(255,255,255,0.55); }
body.tours-catalog-page .tours-catalog__region-title {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.08);
}

.dc-card {
  background: #161616;
  border-color: rgba(255,255,255,0.08);
}
.dc-card__title { color: #fff; }
.dc-card__desc { color: rgba(255,255,255,0.6); }
.dc-card__foot { border-top-color: rgba(255,255,255,0.08); }
.dc-card__price .dc__from { color: rgba(255,255,255,0.4); }
.dc-card__price strong { color: #fff; font-size: 1.15rem; }
.dc-card__region {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--gold); margin-bottom: 4px;
}
.dc-card__region i, .dc-card__region svg { width: 14px; height: 14px; }
.dc-card__rating {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.78rem; color: rgba(255,255,255,0.55);
  margin-top: 4px;
}
.dc-card__rating-stars { color: #E8B923; letter-spacing: 1px; }
.dc-card__duration {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.75rem; color: rgba(255,255,255,0.45);
  margin-top: 6px;
}
.dc-card__duration i, .dc-card__duration svg { width: 13px; height: 13px; color: var(--gold); }

/* ---- TOUR DETAIL PREMIUM ---- */
.tour-page--premium .tour-hero {
  min-height: 55vh;
  align-items: center;
  padding: 120px 0 80px;
}
.tour-page--premium .tour-hero__overlay {
  background: linear-gradient(105deg, rgba(8,8,9,0.92) 0%, rgba(8,8,9,0.55) 45%, rgba(8,8,9,0.35) 100%);
}
.tour-page--premium .tour-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.tour-page--premium .tour-hero__lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.tour-page--premium .tour-hero__price-block {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.tour-page--premium .tour-hero__price-label {
  font-size: 0.95rem; color: rgba(255,255,255,0.7);
}
.tour-page--premium .tour-hero__price-value {
  font-size: 2rem;
}

/* Tabs con iconos */
.tour-tabs--premium .tour-tabs__inner { gap: 0; }
.tour-tabs--premium .tour-tabs__link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 22px;
  border-bottom: 3px solid transparent;
}
.tour-tabs--premium .tour-tabs__link ion-icon,
.tour-tabs--premium .tour-tabs__link i { font-size: 18px; }
.tour-tabs--premium .tour-tabs__link.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(201,162,39,0.06);
}

/* Highlights */
.tour-highlights {
  margin: 28px 0;
  padding: 24px;
  background: rgba(201,162,39,0.06);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
}
.tour-highlights h3 {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  margin-bottom: 16px;
  color: var(--gold);
}
.tour-highlights ul { display: grid; gap: 10px; }
.tour-highlights__intro {
  font-size: 14px; line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 14px;
}
body.dark-mode .tour-highlights__intro { color: rgba(255,255,255,0.72); }
.tour-ideal-for {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-gold);
}
.tour-ideal-for h4 {
  font-size: 0.95rem; font-weight: 700;
  color: var(--gold); margin-bottom: 12px;
}
.tour-ideal-for ul { display: grid; gap: 8px; }
.tour-ideal-for li {
  position: relative; padding-left: 22px;
  font-size: 14px; line-height: 1.6; color: var(--text-muted);
}
.tour-ideal-for li::before {
  content: "→"; position: absolute; left: 0;
  color: var(--gold); font-weight: 700;
}
body.dark-mode .tour-ideal-for li { color: rgba(255,255,255,0.72); }
.tour-highlights li {
  position: relative; padding-left: 28px;
  font-size: 14px; line-height: 1.6;
}
.tour-highlights li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--gold); font-weight: 700;
}

.tour-meta-chips {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--border-gold);
}
.tour-meta-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-muted);
}
.tour-meta-chip ion-icon { color: var(--gold); font-size: 18px; }

/* Includes premium */
.includes-grid--premium { gap: 20px; }
.includes-box--premium {
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  border: none;
}
.includes-box--premium .includes-box__head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  font-weight: 700; font-size: 0.95rem;
}
.includes-box--yes.includes-box--premium .includes-box__head {
  background: rgba(34, 139, 87, 0.12);
  color: #1a7a4a;
}
.includes-box--no.includes-box--premium .includes-box__head {
  background: rgba(220, 53, 69, 0.1);
  color: #c0392b;
}
.includes-box--premium .includes-box__head-icon {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 14px; color: #fff;
}
.includes-box--yes .includes-box__head-icon { background: #228B57; }
.includes-box--no .includes-box__head-icon { background: #dc3545; }
.includes-box--premium ul {
  padding: 16px 20px 20px;
  background: var(--white);
}
body.dark-mode .includes-box--premium ul { background: var(--dark-surface-2); }
.includes-box--premium li::before { content: none; }
.includes-box--yes.includes-box--premium li::before {
  content: "✓"; color: #228B57;
}
.includes-box--no.includes-box--premium li::before {
  content: "✕"; color: #dc3545;
}

/* Pricing section */
.tour-pricing-card {
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  background: var(--champagne);
  margin-bottom: 28px;
}
body.dark-mode .tour-pricing-card { background: var(--dark-surface-2); }
.tour-pricing-card__stars { color: #E8B923; letter-spacing: 2px; font-size: 14px; }
.tour-pricing-card__name { font-weight: 700; font-size: 1rem; }
.tour-pricing-card__sub { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }
.tour-pricing-card__price {
  font-family: var(--ff-display);
  font-size: 1.75rem; font-weight: 700;
  color: var(--gold);
}
.tour-why-choose h3 {
  font-size: 1rem; font-weight: 700;
  margin-bottom: 12px;
}
.tour-why-choose ul { display: grid; gap: 8px; }
.tour-why-choose li {
  position: relative; padding-left: 18px;
  font-size: 14px; color: var(--text-muted);
}
.tour-why-choose li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
}

/* Itinerary paragraphs */
.itinerary-step__paragraphs {
  display: grid; gap: 14px;
  margin-bottom: 20px;
}
.itinerary-step__paragraphs p {
  font-size: 14px; line-height: 1.75;
  color: var(--text-muted);
}
.itinerary-step__paragraphs strong {
  color: var(--on-surface);
  font-weight: 700;
}
.itinerary-step__includes-label {
  font-weight: 700; color: #1a7a4a;
  margin: 20px 0 12px; font-size: 0.95rem;
}
.itinerary-step__includes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin-bottom: 24px;
  list-style: none;
  padding: 0;
}
.itinerary-step__includes-grid li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}
.itinerary-step__includes-grid li::before {
  content: "";
  position: absolute; left: 0; top: 0.55em;
  width: 7px; height: 7px; border-radius: 50%;
  background: #1a7a4a;
}

/* Rich itinerary layout (referencia Peru Beyond) */
body.tour-page--premium.dark-mode .itinerary-step--rich .itinerary-step__panel,
.itinerary-step--rich .itinerary-step__panel--flat {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}
body.tour-page--premium.dark-mode .itinerary-step--rich:hover .itinerary-step__panel {
  background: transparent;
  border: none;
  box-shadow: none;
}
.itinerary-step.itinerary-step--rich.is-open .itinerary-step__body {
  padding: 0 0 0 4px;
  max-height: none;
  opacity: 1;
  overflow: visible;
}
@media (min-width: 769px) {
  body.tour-page--premium .itinerary-step--rich .itinerary-step__body {
    padding: 0 0 0 4px;
  }
}
body.dark-mode .itinerary-step__day-title,
body.dark-mode .itinerary-step__paragraphs p,
body.dark-mode .itinerary-step__includes-grid li {
  color: rgba(255, 255, 255, 0.78);
}
body.dark-mode .itinerary-step__paragraphs strong {
  color: #fff;
}
body.dark-mode .itinerary-step__includes-label {
  color: #4ade80;
}
.itinerary-step--rich .itinerary-step__day-title {
  font-family: var(--ff-display);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 16px;
}
body.dark-mode .itinerary-step--rich .itinerary-step__day-title {
  color: var(--dark-text);
}
.itinerary-step--rich:not(:last-child)::before {
  border-left-color: #E8B923;
  border-left-style: dashed;
}

/* Photo carousel */
.itinerary-carousel {
  position: relative;
  margin-top: 8px;
}
.itinerary-carousel__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0;
}
.itinerary-carousel__track::-webkit-scrollbar { display: none; }
.itinerary-carousel__slide {
  flex: 0 0 calc(33.333% - 8px);
  min-width: 220px;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  scroll-snap-align: start;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(0, 0, 0, 0.06);
}
.itinerary-carousel__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 280ms ease;
}
.itinerary-carousel__slide.is-loaded img {
  opacity: 1;
}
.itinerary-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.92);
  color: #333;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  display: grid; place-items: center;
  transition: background 0.2s, transform 0.2s;
}
.itinerary-carousel__btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.06);
}
.itinerary-carousel__btn--prev { left: 8px; }
.itinerary-carousel__btn--next { right: 8px; }

@media (max-width: 768px) {
  .itinerary-step__includes-grid { grid-template-columns: 1fr; }
  .itinerary-carousel__slide {
    flex: 0 0 85%;
    min-width: 0;
  }
}

/* Sidebar contact form */
.tour-booking-card--contact {
  padding: 0; overflow: hidden;
  border: 1px solid var(--border-gold);
  border-radius: 12px;
}
.tour-booking-card__header {
  background: linear-gradient(135deg, #E8B923, #C9A227);
  color: #000;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 14px 16px;
}
.tour-booking-card__body { padding: 20px; }
.tour-booking-card__price-label {
  font-size: 0.75rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.tour-booking-card__price {
  font-family: var(--ff-display);
  font-size: 1.5rem; font-weight: 700;
  color: var(--gold); margin-bottom: 4px;
}
.tour-booking-card__intro {
  font-size: 0.88rem; color: var(--gold);
  font-weight: 600; margin-bottom: 16px; line-height: 1.4;
}
.tour-contact-form { display: grid; gap: 12px; }
.tour-contact-form__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.tour-contact-form label {
  display: grid; gap: 4px;
  font-size: 0.75rem; font-weight: 600;
  color: var(--text-muted);
}
.tour-contact-form input,
.tour-contact-form textarea {
  width: 100%; padding: 10px 12px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 8px;
  font-size: 0.88rem;
  font-family: inherit;
  background: var(--white);
}
body.dark-mode .tour-contact-form input,
body.dark-mode .tour-contact-form textarea {
  background: var(--dark-surface);
  border-color: rgba(255,255,255,0.12);
  color: var(--dark-text);
}
.tour-contact-form textarea { min-height: 80px; resize: vertical; }
.tour-contact-form .btn-block { margin-top: 4px; }

/* Testimonials */
.tour-testimonials {
  background: #f5f5f5;
  padding: 64px 0;
  margin-top: 48px;
}
body.dark-mode .tour-testimonials { background: var(--dark-surface); }
.tour-testimonials__header { text-align: center; margin-bottom: 36px; }
.tour-testimonials__header h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #1a5e4a;
  margin-bottom: 8px;
}
body.dark-mode .tour-testimonials__header h2 { color: var(--gold-pale); }
.tour-testimonials__header p { font-size: 0.9rem; color: var(--text-muted); }
.tour-testimonials__track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
@media (max-width: 900px) { .tour-testimonials__track { grid-template-columns: 1fr; } }
.tour-review-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 20px;
}
body.dark-mode .tour-review-card {
  background: var(--dark-surface-2);
  border-color: rgba(255,255,255,0.08);
}
.tour-review-card__head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
}
.tour-review-card__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold-metallic);
  display: grid; place-items: center;
  font-weight: 700; font-size: 14px; color: #000;
}
.tour-review-card__name { font-weight: 700; font-size: 0.88rem; }
.tour-review-card__date { font-size: 0.75rem; color: var(--text-muted); }
.tour-review-card__source {
  margin-left: auto;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase;
  color: #00aa6c;
}
.tour-review-card__source--google { color: #4285F4; }
.tour-review-card__stars { color: #E8B923; font-size: 12px; margin-bottom: 10px; }
.tour-review-card__text {
  font-size: 0.85rem; line-height: 1.65;
  color: var(--text-muted);
  display: -webkit-box; -webkit-line-clamp: 4;
  -webkit-box-orient: vertical; overflow: hidden;
}

@media (min-width: 992px) {
  .tour-layout { grid-template-columns: 1fr 340px; }
  .includes-grid--premium { grid-template-columns: 1fr 1fr; }
}
