/* ============================================================
   Travel Agency Tours v2.0 — CSS LIMPIO, SIN PARCHES
   Un solo bloque por componente. Sin conflictos.
   Mobile-First · Prefijado .tat- · Inmune a Astra
   ============================================================ */

/* ── Variables (scope local al plugin) ─────────────────────── */
.tat-single, .tat-section, .tat-card, .tat-lightbox, .tat-map-popup, .tat-calendar-popup, .tat-modal-overlay {
  --tat-primary:   #ff5c60;
  --tat-secondary: #1a3c5e;
  --tat-accent:    #ff8f45;
  --tat-success:   #16a34a;
  --tat-danger:    #dc2626;
  --tat-wa:        #25d366;
  --tat-wa-dk:     #1aaf55;
  --tat-text:      #1e293b;
  --tat-muted:     #64748b;
  --tat-border:    #e2e8f0;
  --tat-surface:   #ffffff;
  --tat-bg2:       #f8fafc;
  --tat-sh-sm:     0 1px 4px rgba(0,0,0,.08);
  --tat-sh:        0 4px 18px rgba(0,0,0,.12);
  --tat-sh-lg:     0 8px 32px rgba(0,0,0,.14);
  --tat-r:         12px;
  --tat-r-sm:      6px;
  --tat-r-lg:      16px;
  --tat-ease:      .22s cubic-bezier(.4,0,.2,1);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  box-sizing: border-box;
}

/* ── Reset sólo dentro del plugin ───────────────────────────── */
.tat-single *, .tat-section *, .tat-card *, .tat-lightbox *, .tat-map-popup *, .tat-calendar-popup *, .tat-modal-overlay * {
  box-sizing: border-box; margin: 0; padding: 0; line-height: normal;
}
.tat-single, .tat-section, .tat-card, .tat-calendar-popup, .tat-modal-overlay { color: var(--tat-text); font-size: 16px; line-height: 1.5; }

/* ── Aislamiento Astra ──────────────────────────────────────── */
.tat-single input, .tat-single select, .tat-single textarea,
.tat-single button, .tat-single a.tat-btn, .tat-single a.tat-hero-btn,
.tat-calendar-popup input, .tat-calendar-popup button,
.tat-modal-overlay input, .tat-modal-overlay select, .tat-modal-overlay textarea, .tat-modal-overlay button {
  -webkit-appearance: none; appearance: none;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif !important;
  box-shadow: none !important;
}
.tat-single input, .tat-single select, .tat-single textarea,
.tat-modal-overlay input, .tat-modal-overlay select, .tat-modal-overlay textarea { border-radius: var(--tat-r-sm) !important; }
.tat-single a.tat-btn, .tat-single a.tat-hero-btn { color: inherit !important; }
.tat-hero, .tat-single__layout { max-width: none !important; }
.tat-hero__title { margin-bottom: 14px !important; }

/* ================================================================
   SECTION
   ================================================================ */
.tat-section { width: 100%; padding: 40px 16px; }
.tat-section__header { text-align: center; margin-bottom: 32px; }
.tat-section__title { font-size: clamp(1.4rem,4vw,2.2rem); font-weight: 800; color: var(--tat-secondary); line-height: 1.2; margin: 0; }
.tat-section__line { width: 60px; height: 4px; background: var(--tat-primary); border-radius: 2px; margin: 10px auto 0; }
.tat-section__desc { font-size: 1rem; color: var(--tat-muted); line-height: 1.7; max-width: 720px; margin: 14px auto 0; text-align: center; }

/* ================================================================
   GRID
   ================================================================ */
.tat-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
.tat-grid--1 { grid-template-columns: 1fr; }
.tat-grid--2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .tat-grid--2 { grid-template-columns: repeat(2,1fr); } .tat-grid--3 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .tat-grid--3 { grid-template-columns: repeat(3,1fr); } }

/* ================================================================
   CARD
   ================================================================ */
.tat-card { background: var(--tat-surface); border-radius: var(--tat-r); box-shadow: var(--tat-sh-sm); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--tat-border); transition: transform var(--tat-ease), box-shadow var(--tat-ease); }
.tat-card:hover { transform: translateY(-4px); box-shadow: var(--tat-sh-lg); }
.tat-card__thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; flex-shrink: 0; }
.tat-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.tat-card:hover .tat-card__thumb img { transform: scale(1.05); }
.tat-card__body { padding: 16px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.tat-card__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.tat-card__title { font-size: 1rem; font-weight: 700; color: var(--tat-secondary); line-height: 1.3; flex: 1; margin: 0; }
.tat-card__title a { text-decoration: none; color: inherit; }
.tat-card__title a:hover { color: var(--tat-primary); }
.tat-card__excerpt { font-size: .84rem; color: var(--tat-muted); line-height: 1.5; }
.tat-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; }
.tat-meta-item { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; color: var(--tat-muted); }
.tat-meta-item svg { width: 14px; height: 14px; fill: var(--tat-primary); flex-shrink: 0; display: inline-block; }
.tat-meta-item--group { background: var(--tat-bg2); padding: 3px 8px; border-radius: 20px; }
.tat-meta-item--right { margin-left: auto; }
.tat-card__footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.tat-card__group-badge { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tat-card__price { display: flex; flex-direction: column; align-items: flex-end; }
.tat-card__actions { display: flex; gap: 8px; }
.tat-card__actions .tat-btn { flex: 1; justify-content: center; font-size: .82rem; padding: 9px 10px; }

/* ================================================================
   BADGES
   ================================================================ */
.tat-badge { display: inline-flex; align-items: center; padding: 5px 13px; border-radius: 20px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.tat-badge--top { background: var(--tat-primary); color: #fff; position: absolute; top: 10px; left: 10px; box-shadow: 0 2px 8px rgba(255,92,96,.4); }
.tat-badge--group { background: var(--tat-secondary); color: #fff; }

/* ================================================================
   STARS
   ================================================================ */
.tat-stars { display: inline-flex; align-items: center; gap: 2px; flex-shrink: 0; }
.tat-star { width: 14px; height: 14px; display: inline-block; }
.tat-star--full { fill: #ff8f45; } .tat-star--half { color: #ff8f45; } .tat-star--empty { fill: #d1d5db; }
.tat-rating-num { font-size: .76rem; font-weight: 600; color: var(--tat-muted); margin-left: 4px; }

/* ================================================================
   PRICES
   ================================================================ */
.tat-price--before { font-size: .8rem; color: var(--tat-muted); text-decoration: line-through; }
.tat-price--actual { font-size: 1.25rem; font-weight: 800; color: var(--tat-primary); }
.tat-price-label   { font-size: .72rem; color: var(--tat-muted); }

/* ================================================================
   BUTTONS
   ================================================================ */
.tat-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; border-radius: var(--tat-r-sm); font-size: .875rem; font-weight: 600; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: all var(--tat-ease); line-height: 1; white-space: nowrap; font-family: inherit; }
.tat-btn svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; display: inline-block; }
.tat-btn--outline { border-color: var(--tat-secondary); color: var(--tat-secondary); background: transparent; }
.tat-btn--outline:hover { background: var(--tat-secondary); color: #fff; }
.tat-btn--wa { background: var(--tat-wa); color: #fff; border-color: var(--tat-wa); }
.tat-btn--wa:hover { background: var(--tat-wa-dk); border-color: var(--tat-wa-dk); }
.tat-btn--book { width: 100%; padding: 14px 20px; font-size: .95rem; font-weight: 700; border-radius: var(--tat-r); background: #0070ba; border-color: #0070ba; color: #fff; box-shadow: 0 4px 14px rgba(0,112,186,.32); transition: all .2s ease; display: flex; align-items: center; justify-content: center; gap: 8px; }
.tat-btn--book:hover { background: #005c99; border-color: #005c99; box-shadow: 0 6px 20px rgba(0,112,186,.42); transform: translateY(-1px); }
.tat-btn--book:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.tat-btn--book svg { width: 18px; height: 18px; fill: #fff; }

.tat-btn--continue { width: 100%; padding: 14px 20px; font-size: .95rem; font-weight: 700; border-radius: var(--tat-r); background: var(--tat-success); border-color: var(--tat-success); color: #fff; box-shadow: 0 4px 14px rgba(22,163,74,.32); transition: all .2s ease; display: flex; align-items: center; justify-content: center; gap: 8px; }
.tat-btn--continue:hover { background: #128a3e; border-color: #128a3e; box-shadow: 0 6px 20px rgba(22,163,74,.42); transform: translateY(-1px); }
.tat-btn--continue svg { width: 18px; height: 18px; fill: #fff; }
.tat-single__sidebar .tat-btn--wa { width: 100%; padding: 12px 20px; font-size: .875rem; }

.tat-booking-divider { display: flex; align-items: center; gap: 10px; margin: 2px 0; font-size: .72rem; color: #94a3b8; text-transform: uppercase; letter-spacing: .03em; }
.tat-booking-divider::before, .tat-booking-divider::after { content: ''; flex: 1; height: 1px; background: var(--tat-border); }

.tat-book-msg { font-size: .8rem; padding: 10px 12px; border-radius: 8px; line-height: 1.4; }
.tat-book-msg--info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.tat-book-msg--success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.tat-book-msg--error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* ================================================================
   SLIDER FLASH DEALS
   ================================================================ */
.tat-slider-wrap { position: relative; }
.tat-flash-deals .tat-slider-wrap { overflow: hidden; padding: 0; margin: 0; }
.tat-slider { overflow: hidden; width: 100%; }
.tat-slider__track { display: flex; transition: transform .4s cubic-bezier(.4,0,.2,1); --tat-per-view: 1; }
.tat-slider__slide { flex: 0 0 calc(100% / var(--tat-per-view)); padding: 0 8px; min-width: 0; }
@media (max-width: 639px) { .tat-slider__slide { padding: 0 4px; } }
.tat-slider-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: #fff; border: 1px solid var(--tat-border); border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--tat-sh-sm); transition: all var(--tat-ease); }
.tat-slider-nav:hover { background: var(--tat-primary); border-color: var(--tat-primary); }
.tat-slider-nav:hover svg { fill: #fff; }
.tat-slider-nav svg { width: 20px; height: 20px; fill: var(--tat-secondary); display: block; }
.tat-slider-nav--prev { left: 0; } .tat-slider-nav--next { right: 0; }
.tat-slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.tat-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tat-border); border: 0; cursor: pointer; transition: all var(--tat-ease); padding: 0; }
.tat-dot--active { background: var(--tat-primary); width: 24px; border-radius: 4px; }

/* ================================================================
   HERO
   ================================================================ */
.tat-single { width: 100%; overflow-x: hidden; }
.tat-hero { position: relative; width: 100%; min-height: 75vh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
/* Mobile + Tablet (< 1024px): 100vh completo — video ocupa toda la pantalla */
@media (max-width: 1023px) { .tat-hero { min-height: 100vh; min-height: 100dvh; } }

/* Imagen parallax */
.tat-hero__bg { position: absolute; inset: -10% 0; background-size: cover; background-position: center top; background-repeat: no-repeat; will-change: transform; transform: scale(1.1) translateY(0); z-index: 0; }
@media (max-width: 767px) { .tat-hero__bg { inset: 0; transform: none !important; } }

/* Video — cuando el hero tiene video, resetear el inset del bg imagen */
.tat-hero__bg--video { position: absolute; inset: 0 !important; background: none !important; transform: none !important; overflow: hidden; z-index: 0; pointer-events: none; }
.tat-hero__bg-video-iframe { position: absolute; top: 50%; left: 50%; width: calc(max(100%, 177.78vh)); height: calc(max(100%, 56.25vw)); min-width: 100%; min-height: 100%; transform: translate(-50%,-50%); pointer-events: none; border: 0; }
.tat-hero__video { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); min-width: 100%; min-height: 100%; width: auto; height: auto; object-fit: cover; pointer-events: none; }

.tat-hero__overlay { position: absolute; inset: 0; z-index: 1; }
.tat-hero__badges { position: absolute; top: 24px; left: 24px; display: flex; gap: 8px; flex-wrap: wrap; z-index: 3; }

/* Content alignment */
.tat-hero__content { position: relative; z-index: 3; padding: 28px 24px 32px; color: #fff; display: flex; flex-direction: column; align-items: flex-start; }
.tat-hero--align-center .tat-hero__content { align-items: center; text-align: center; }
.tat-hero--align-right  .tat-hero__content { align-items: flex-end; text-align: right; }

.tat-hero__title { font-size: clamp(1.8rem,5vw,3.2rem); font-weight: 900; line-height: 1.1; text-shadow: 0 2px 16px rgba(0,0,0,.6); margin: 0 0 16px; color: #fff; }
.tat-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: .88rem; color: rgba(255,255,255,.92); margin-bottom: 20px; }
.tat-hero--align-center .tat-hero__meta { justify-content: center; }
.tat-hero--align-right  .tat-hero__meta { justify-content: flex-end; }
.tat-hero__meta-item { display: inline-flex; align-items: center; gap: 5px; }
.tat-hero__meta-item svg { width: 16px; height: 16px; fill: #ff8f45; display: inline-block; }
.tat-hero__meta-item--tipo { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); border-radius: 20px; padding: 3px 10px; backdrop-filter: blur(4px); font-weight: 600; }

/* Stars in hero */
.tat-hero .tat-star--full { fill: #ff8f45; } .tat-hero .tat-star--half { color: #ff8f45; } .tat-hero .tat-star--empty { fill: rgba(255,255,255,.3); } .tat-hero .tat-rating-num { color: rgba(255,255,255,.75); }

/* Hero actions */
.tat-hero__actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; width: 100%; }
.tat-hero__actions-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tat-hero--align-center .tat-hero__actions,
.tat-hero--align-right  .tat-hero__actions { justify-content: center; }

.tat-hero-btn { display: inline-flex; align-items: center; gap: 7px; padding: 10px 18px; border-radius: var(--tat-r-sm); font-size: .84rem; font-weight: 600; cursor: pointer; border: 1.5px solid transparent; text-decoration: none; transition: all var(--tat-ease); font-family: inherit; line-height: 1; color: #fff; }
.tat-hero-btn svg { width: 16px; height: 16px; fill: currentColor; display: inline-block; flex-shrink: 0; }
.tat-hero-btn--pdf    { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.tat-hero-btn--pdf:hover { background: rgba(255,255,255,.28); }
.tat-hero-btn--gallery { background: #ff8f45; border-color: #ff8f45; color: #1a3c5e; }
.tat-hero-btn--gallery:hover { background: #e07a35; border-color: #e07a35; }
.tat-gallery-count { background: #1a3c5e; color: #fff; border-radius: 20px; padding: 2px 8px; font-size: .7rem; font-weight: 700; }
.tat-hero-btn--map { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.tat-hero-btn--map:hover { background: var(--tat-primary); border-color: var(--tat-primary); }

/* Mobile hero */
@media (max-width: 639px) {
  .tat-hero__content { padding: 20px 20px 28px; }
  .tat-hero__badges { top: 16px; left: 16px; }
  .tat-hero__actions { flex-direction: column; align-items: center; }
  .tat-hero__actions-left { justify-content: center; }
  .tat-hero__title { text-align: center; }
  .tat-hero__meta { justify-content: center; }
}

/* ================================================================
   LAYOUT BELOW HERO
   ================================================================ */
.tat-single__below-hero { background: #f1f5f9; width: 100%; }
.tat-single__layout { display: grid; grid-template-columns: 1fr; gap: 20px; width: 100%; max-width: 1400px; margin: 0 auto; padding: 24px 16px 48px; }

/* ================================================================
   TABS — Pill style 2026
   ================================================================ */
.tat-single__main { background: #fff; border-radius: var(--tat-r-lg); box-shadow: 0 2px 20px rgba(0,0,0,.10); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }

.tat-tabs-nav { display: flex; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; background: #f0f2f5; border-bottom: 1px solid #e4e7ec; padding: 6px 12px; gap: 4px; flex-shrink: 0; }
.tat-tabs-nav::-webkit-scrollbar { display: none; }

.tat-tab-btn { flex: 0 0 auto; min-width: max-content; padding: 8px 18px; border: 0; background: transparent; color: #64748b; font-size: .8rem; font-weight: 600; cursor: pointer; white-space: nowrap; border-radius: 20px; transition: all .2s ease; font-family: inherit; line-height: 1.4; }
.tat-tab-btn:hover { background: #e2e6eb; color: #1e293b; }
.tat-tab-btn--active { background: #fff; color: #ff5c60; box-shadow: 0 2px 8px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.08); font-weight: 700; }

.tat-tab-panel { display: none; }
.tat-tab-panel--active { display: block; }
.tat-tab-content { padding: 28px 24px; background: #fff; flex: 1; }
.tat-tab-content--edge { padding-left: 0; padding-right: 0; }
.tat-tab-panel--active .tat-tab-content { animation: tat-fade .22s ease; }
@keyframes tat-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* ================================================================
   FORMULARIO SIDEBAR
   ================================================================ */
.tat-single__sidebar { background: #fff; border-radius: var(--tat-r-lg); box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 4px 24px rgba(0,0,0,.08); overflow: visible; height: fit-content; }
.tat-booking-card { display: flex; flex-direction: column; border-radius: var(--tat-r-lg); overflow: hidden; }

.tat-booking-card__price { padding: 24px 24px 20px; background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); display: flex; flex-direction: column; gap: 4px; position: relative; overflow: hidden; }
.tat-booking-card__price::before { content: ''; position: absolute; width: 180px; height: 180px; background: radial-gradient(circle, rgba(255,92,96,.25) 0%, transparent 70%); top: -40px; right: -40px; border-radius: 50%; pointer-events: none; }
.tat-booking-card__title { font-size: .78rem; font-weight: 700; color: rgba(255,255,255,.6); margin: 0 0 6px; text-transform: uppercase; letter-spacing: .06em; position: relative; z-index: 1; }
.tat-booking-card__price .tat-price--before { color: rgba(255,255,255,.4); position: relative; z-index: 1; }
.tat-booking-card__price .tat-price--actual { font-size: 2.2rem; font-weight: 900; color: #ff8f45; line-height: 1; letter-spacing: -.02em; position: relative; z-index: 1; }
.tat-booking-card__price .tat-price-label { font-size: .74rem; color: rgba(255,255,255,.45); position: relative; z-index: 1; }

.tat-booking-form { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 14px; background: #fff; }
.tat-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 380px) { .tat-form-row { grid-template-columns: 1fr; } }
.tat-form-group { display: flex; flex-direction: column; gap: 5px; }
.tat-form-group--full { grid-column: 1/-1; }
.tat-form-group label { display: flex; align-items: center; gap: 5px; font-size: .68rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .07em; }
.tat-form-group label svg { width: 12px; height: 12px; fill: var(--tat-primary); display: inline-block; flex-shrink: 0; }
.tat-form-group input, .tat-form-group select { width: 100%; padding: 10px 13px; border: 1.5px solid #e2e8f0; border-radius: 8px; font-size: .875rem; color: #0f172a; background: #f8fafc; font-family: inherit; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; display: block; }
.tat-form-group input:focus, .tat-form-group select:focus { outline: none; border-color: var(--tat-primary); background: #fff; box-shadow: 0 0 0 3px rgba(255,92,96,.12); }
.tat-form-group input::placeholder { color: #94a3b8; font-size: .84rem; }
.tat-form-group select { cursor: pointer; }

.tat-pax-counter { display: flex; align-items: center; border: 1.5px solid #e2e8f0; border-radius: 8px; overflow: hidden; height: 42px; background: #f8fafc; }
.tat-pax-btn { width: 38px; height: 40px; display: flex; align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer; transition: background .15s ease; flex-shrink: 0; }
.tat-pax-btn:hover { background: #fee2d5; }
.tat-pax-btn:hover svg { fill: #ff5c60; }
.tat-pax-btn svg { width: 16px; height: 16px; fill: #64748b; display: block; }
.tat-pax-count { flex: 1; text-align: center; font-size: .95rem; font-weight: 700; color: #0f172a; border-left: 1px solid #e2e8f0; border-right: 1px solid #e2e8f0; }

/* ── Datepicker personalizado ─────────────────────────────── */
.tat-datepicker { position: relative; }
.tat-date-input { width: 100%; display: flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1.5px solid #e2e8f0; border-radius: 8px; font-size: .875rem; color: #0f172a; background: #f8fafc; font-family: inherit; cursor: pointer; text-align: left; }
.tat-date-input:hover { border-color: var(--tat-primary); }
.tat-date-input:disabled { cursor: not-allowed; opacity: .6; }
.tat-date-input svg { width: 16px; height: 16px; fill: var(--tat-primary); flex-shrink: 0; }
.tat-date-input span { flex: 1; }
.tat-calendar-popup { position: fixed; z-index: 99997; background: #fff; border: 1px solid var(--tat-border); border-radius: var(--tat-r); box-shadow: var(--tat-sh-lg); padding: 12px; width: 300px; }
.tat-cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-weight: 700; font-size: .82rem; color: var(--tat-secondary); }
.tat-cal-header button { width: 28px; height: 28px; border: 0; background: #f1f5f9; border-radius: 6px; font-size: 1rem; cursor: pointer; color: var(--tat-secondary); }
.tat-cal-header button:hover { background: #fee2d5; color: var(--tat-primary); }
.tat-cal-weekdays { display: grid; grid-template-columns: repeat(7,1fr); text-align: center; font-size: .68rem; font-weight: 700; color: #94a3b8; margin-bottom: 4px; }
.tat-cal-days { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; }
.tat-cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: .78rem; border: 0; border-radius: 6px; background: transparent; cursor: default; color: #cbd5e1; }
.tat-cal-day--empty { visibility: hidden; }
.tat-cal-day--disabled { color: #e2e8f0; }
.tat-cal-day--available { color: var(--tat-secondary); font-weight: 700; background: #f0fdf4; cursor: pointer; border: 1px solid #bbf7d0; }
.tat-cal-day--available:hover { background: var(--tat-success); color: #fff; border-color: var(--tat-success); }
.tat-cal-day--selected { background: var(--tat-primary) !important; color: #fff !important; border-color: var(--tat-primary) !important; }

/* ── Cupos ────────────────────────────────────────────────── */
.tat-cupos-box { align-items: center; }
.tat-cupos-num { display: flex; align-items: center; justify-content: center; height: 42px; border: 1.5px solid #bbf7d0; border-radius: 8px; background: #f0fdf4; color: var(--tat-success); font-weight: 800; font-size: 1.05rem; }

/* ── Volver ───────────────────────────────────────────────── */
.tat-back-link { display: inline-flex; align-items: center; gap: 4px; border: 0; background: transparent; color: var(--tat-muted); font-size: .8rem; font-weight: 600; padding: 0 0 4px; cursor: pointer; }
.tat-back-link:hover { color: var(--tat-primary); }
.tat-back-link svg { width: 14px; height: 14px; fill: currentColor; }

/* ── Iconos de métodos de pago ───────────────────────────── */
.tat-payment-icons { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding-top: 4px; }
.tat-pay-badge { font-size: .68rem; font-weight: 700; color: #475569; background: #f1f5f9; border: 1px solid var(--tat-border); border-radius: 5px; padding: 5px 9px; letter-spacing: .01em; }
.tat-pay-badge--paypal { color: #003087; background: #eff6ff; border-color: #bfdbfe; font-weight: 600; }
.tat-pay-badge--paypal b { color: #009cde; }
.tat-pay-badge--muted { color: #94a3b8; }

/* ================================================================
   MODAL: Formulario de Reserva (Paso 1 resumen + Paso 2 datos/pago)
   ================================================================ */
.tat-modal-overlay { position: fixed; inset: 0; z-index: 99996; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .22s ease; padding: 16px; }
.tat-modal-overlay--open { opacity: 1; pointer-events: all; }
.tat-modal-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.6); backdrop-filter: blur(2px); }
.tat-modal { position: relative; z-index: 1; width: 100%; max-width: 620px; max-height: 92vh; overflow-y: auto; background: #fff; border-radius: var(--tat-r-lg); box-shadow: 0 24px 70px rgba(0,0,0,.35); padding: 30px 34px; transform: scale(.96) translateY(8px); transition: transform .22s ease; }
.tat-modal-overlay--open .tat-modal { transform: scale(1) translateY(0); }
.tat-modal-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: #f1f5f9; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.tat-modal-close:hover { background: #fee2d5; }
.tat-modal-close svg { width: 16px; height: 16px; fill: #64748b; }
.tat-modal-title { margin: 0 26px 16px 0; font-size: 1.05rem; font-weight: 800; color: var(--tat-secondary); }

.tat-modal-stepper { display: flex; align-items: center; gap: 6px; margin-bottom: 18px; }
.tat-step-tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; border: 1.5px solid var(--tat-border); background: #f8fafc; color: #94a3b8; font-size: .72rem; font-weight: 700; padding: 9px 6px; border-radius: 8px; cursor: pointer; transition: all .18s ease; text-align: center; }
.tat-step-num { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; border-radius: 50%; background: #e2e8f0; color: #64748b; font-size: .65rem; font-weight: 800; flex-shrink: 0; }
.tat-step-tab--active { border-color: var(--tat-primary); background: #fff5f4; color: var(--tat-primary); }
.tat-step-tab--active .tat-step-num { background: var(--tat-primary); color: #fff; }
.tat-step-tab--done { border-color: #bbf7d0; background: #f0fdf4; color: var(--tat-success); }
.tat-step-tab--done .tat-step-num { background: var(--tat-success); color: #fff; }
.tat-step-line { width: 18px; height: 2px; background: var(--tat-border); flex-shrink: 0; }

.tat-modal-body { display: flex; flex-direction: column; }
.tat-modal-panel { display: flex; flex-direction: column; gap: 14px; }

.tat-resumen { border: 1.5px solid var(--tat-border); border-radius: var(--tat-r); overflow: hidden; }
.tat-resumen__row { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; font-size: .82rem; }
.tat-resumen__row:not(:last-child) { border-bottom: 1px solid #f1f5f9; }
.tat-resumen__row span { color: var(--tat-muted); }
.tat-resumen__row strong { color: #0f172a; text-align: right; }

.tat-modal-footer { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.tat-modal-footer__price { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; color: var(--tat-muted); }
.tat-modal-footer__price strong { color: #0f172a; font-size: .9rem; }

.tat-pax-hint { font-size: .78rem; color: var(--tat-muted); margin-top: -2px; }

.tat-pax-pager { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--tat-border); border-radius: var(--tat-r); padding: 10px 12px; background: #f8fafc; }
.tat-pax-pager__nav { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--tat-border); background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .15s ease; }
.tat-pax-pager__nav svg { width: 14px; height: 14px; fill: var(--tat-secondary); }
.tat-pax-pager__nav:hover:not(:disabled) { background: var(--tat-primary); border-color: var(--tat-primary); }
.tat-pax-pager__nav:hover:not(:disabled) svg { fill: #fff; }
.tat-pax-pager__nav:disabled { opacity: .35; cursor: not-allowed; }
.tat-pax-pager__info { flex: 1; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.tat-pax-pager__info strong { font-size: .88rem; color: #0f172a; }
.tat-pax-pager__info small { font-size: .68rem; color: var(--tat-primary); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; min-height: 12px; }
.tat-pax-dots { display: flex; gap: 4px; margin-top: 2px; flex-wrap: wrap; justify-content: center; max-width: 220px; }
.tat-pax-dot { width: 6px; height: 6px; border-radius: 50%; background: #e2e8f0; }
.tat-pax-dot--listo { background: var(--tat-success); }
.tat-pax-dot--activo { background: var(--tat-primary); transform: scale(1.4); }

.tat-acc-section__title { display: flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--tat-primary); margin: 6px 0 -2px; }
.tat-acc-doc-tipo { display: flex; gap: 14px; }
.tat-acc-doc-tipo label { display: flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 600; color: #334155; text-transform: none; letter-spacing: 0; }
.tat-acc-doc-tipo input[type="radio"] { accent-color: var(--tat-primary); width: 15px; height: 15px; }
#tat-pax-form { display: flex; flex-direction: column; gap: 12px; }

@media (max-width: 480px) {
  .tat-modal { padding: 20px 18px; max-height: 94vh; }
  .tat-step-tab { font-size: .65rem; padding: 8px 4px; }
}

.tat-booking-total { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #fafbff; border: 1.5px solid #e8edf5; border-radius: 10px; font-size: .8rem; color: #64748b; }
.tat-booking-total strong { font-size: 1.35rem; font-weight: 900; color: var(--tat-primary); letter-spacing: -.02em; }

.tat-booking-secure { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: .7rem; color: #94a3b8; margin-top: -4px; }
.tat-booking-secure svg { width: 11px; height: 11px; fill: #94a3b8; }

/* ================================================================
   DESCRIPCIÓN
   ================================================================ */
.tat-description { text-align: justify; }
.tat-description p { margin: 0 0 1em; line-height: 1.8; color: var(--tat-text); font-size: .94rem; }
.tat-description h2, .tat-description h3 { color: var(--tat-secondary); margin: 1.4em 0 .5em; font-weight: 700; }
.tat-description img { max-width: 100%; border-radius: var(--tat-r); margin: 1em 0; display: block; }
.tat-description a { color: var(--tat-primary); }

/* ================================================================
   TIMELINE / ITINERARIO
   ================================================================ */
.tat-timeline { position: relative; padding-left: 44px; padding-right: 16px; }
.tat-timeline::before { content: ''; position: absolute; left: 16px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--tat-primary), #ff8f45); }
.tat-timeline__item { position: relative; margin-bottom: 32px; }

/* NÚMERO — siempre visible, nunca cortado */
.tat-timeline__marker {
  position: absolute;
  left: -44px;      /* = padding-left del .tat-timeline */
  top: 2px;
  width: 28px;
  height: 28px;
  background: var(--tat-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--tat-primary);
  flex-shrink: 0;
  z-index: 1;
}
.tat-timeline__num { font-size: .7rem; font-weight: 800; color: #fff; line-height: 1; }

.tat-timeline__body { background: #fff; border: 1px solid var(--tat-border); border-radius: var(--tat-r); padding: 18px; box-shadow: var(--tat-sh-sm); }
.tat-timeline__day-title { font-size: 1rem; font-weight: 800; color: var(--tat-secondary); margin: 0 0 10px; }
.tat-timeline__divider { height: 2px; background: var(--tat-border); border-radius: 1px; margin-bottom: 12px; }
.tat-timeline__activities { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.tat-timeline__activities li { font-size: .85rem; color: var(--tat-text); padding: 5px 10px; background: #f8fafc; border-radius: var(--tat-r-sm); border-left: 3px solid var(--tat-primary); line-height: 1.4; }
.tat-timeline__img-wrap { margin: 12px 0; }
.tat-timeline__img-wrap img { width: 100%; border-radius: var(--tat-r-sm); max-height: 260px; object-fit: cover; display: block; }
.tat-timeline__desc { font-size: .85rem; color: var(--tat-muted); line-height: 1.7; text-align: justify; margin-top: 10px; }

/* Mobile: full edge para itinerario */
@media (max-width: 639px) {
  .tat-tab-content--edge { padding-left: 0; padding-right: 0; }
  .tat-tab-content--edge .tat-timeline { padding-left: 40px; padding-right: 12px; }
  .tat-tab-content--edge .tat-timeline__marker { left: -40px; width: 26px; height: 26px; }
  .tat-tab-content--edge .tat-timeline__body { border-radius: 0; border-left: 0; border-right: 0; }
}

/* ================================================================
   INCLUYE / NO INCLUYE
   ================================================================ */
.tat-includes-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 600px) { .tat-includes-grid { grid-template-columns: 1fr 1fr; } }
.tat-includes__title { font-size: .95rem; font-weight: 800; color: var(--tat-secondary); margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--tat-border); }
.tat-includes__title--yes { border-color: var(--tat-success); color: var(--tat-success); }
.tat-includes__title--no  { border-color: var(--tat-danger);  color: var(--tat-danger);  }
.tat-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tat-list li { display: flex; align-items: flex-start; gap: 8px; font-size: .87rem; line-height: 1.5; color: var(--tat-text); }
.tat-list li svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; display: inline-block; }
.tat-list--yes li svg { fill: var(--tat-success); } .tat-list--no li svg { fill: var(--tat-danger); } .tat-list--bag li svg { fill: #ff8f45; }

/* ================================================================
   ACORDEÓN FAQ — VERSIÓN DEFINITIVA
   UN SOLO BLOQUE. SIN CONFLICTOS. SIN PARCHES.
   ================================================================ */
.tat-accordion { display: flex; flex-direction: column; gap: 8px; }

.tat-accordion__item {
  border: 1px solid #eaecf0;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  transition: box-shadow .2s ease;
}
.tat-accordion__item:hover {
  border-color: #d1d5db;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.tat-accordion__item--open {
  border-color: #e2e8f0;
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
}

/* Trigger */
.tat-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 18px;
  /* FONDO SIEMPRE BLANCO */
  background: #ffffff !important;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background .15s ease;
}
.tat-accordion__trigger:hover {
  background: #f9fafb !important;
}
.tat-accordion__item--open .tat-accordion__trigger {
  background: #f9fafb !important;
  border-bottom: 1px solid #f3f4f6;
}

/* Icono Q en círculo pequeño */
.tat-acc-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: #fff4ee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.tat-acc-icon svg {
  width: 12px;
  height: 12px;
  fill: #ff5c60;
  display: block;
}

/* TEXTO PREGUNTA — siempre oscuro */
.tat-acc-q {
  flex: 1;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.4;
  color: #111827;    /* negro siempre */
  text-align: left;
}

/* Flecha */
.tat-accordion__arrow {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  fill: #9ca3af;
  display: block;
  margin-top: 3px;
  transition: transform .25s ease;
}
.tat-accordion__item--open .tat-accordion__arrow {
  transform: rotate(180deg);
  fill: #6b7280;
}

/* Cuerpo */
.tat-accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.4,0,.2,1);
  background: #ffffff;
}
.tat-accordion__item--open .tat-accordion__body {
  max-height: 1200px;
}
.tat-acc-body-inner {
  padding: 14px 18px 18px 50px;
  border-top: 1px solid #f3f4f6;
}
.tat-acc-body-inner p {
  font-size: .87rem;
  line-height: 1.75;
  color: #4b5563;
  margin: 0;
  text-align: justify;
}

/* Mobile: full edge */
@media (max-width: 639px) {
  .tat-tab-content--edge .tat-accordion { gap: 0; }
  .tat-tab-content--edge .tat-accordion__item { border-radius: 0; border-left: 0; border-right: 0; border-top: 0; }
  .tat-tab-content--edge .tat-accordion__item:first-child { border-top: 1px solid #eaecf0; }
}

/* ================================================================
   POPUP MAPA — sin header, imagen limpia
   ================================================================ */
.tat-map-popup { position: fixed; inset: 0; z-index: 99998; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.tat-map-popup--open { opacity: 1; pointer-events: all; }
.tat-map-popup__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.82); backdrop-filter: blur(4px); }
.tat-map-popup__box { position: relative; z-index: 1; width: 94vw; max-width: 900px; max-height: 90vh; background: #000; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,.6); display: flex; flex-direction: column; transform: scale(.95) translateY(10px); transition: transform .26s ease; }
.tat-map-popup--open .tat-map-popup__box { transform: scale(1) translateY(0); }
.tat-map-popup__header { display: none; }  /* oculto: sin título ni fondo azul */
.tat-map-popup__close { position: absolute; top: 12px; right: 12px; z-index: 10; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; backdrop-filter: blur(4px); }
.tat-map-popup__close:hover { background: rgba(0,0,0,.8); }
.tat-map-popup__close svg { width: 18px; height: 18px; fill: #fff; display: block; }
.tat-map-popup__body { flex: 1; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #000; padding: 0; }
.tat-map-popup__body img { width: 100%; height: 100%; object-fit: contain; display: block; max-height: 90vh; }

/* ================================================================
   LIGHTBOX
   ================================================================ */
.tat-lightbox { position: fixed; inset: 0; z-index: 99999; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .25s; }
.tat-lightbox--open { opacity: 1; pointer-events: all; }
.tat-lightbox__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.92); }
.tat-lightbox__close, .tat-lightbox__prev, .tat-lightbox__next { position: absolute; z-index: 2; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background var(--tat-ease); backdrop-filter: blur(4px); }
.tat-lightbox__close:hover, .tat-lightbox__prev:hover, .tat-lightbox__next:hover { background: rgba(255,255,255,.25); }
.tat-lightbox__close svg, .tat-lightbox__prev svg, .tat-lightbox__next svg { width: 22px; height: 22px; fill: #fff; display: block; }
.tat-lightbox__close { top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; }
.tat-lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; }
.tat-lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; }
.tat-lightbox__img-wrap { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; max-width: 90vw; max-height: 70vh; }
.tat-lightbox__img-wrap img { max-width: 90vw; max-height: 65vh; object-fit: contain; border-radius: var(--tat-r-sm); box-shadow: 0 20px 60px rgba(0,0,0,.5); display: block; }
.tat-lightbox__counter { color: rgba(255,255,255,.65); font-size: .8rem; margin-top: 10px; text-align: center; }
.tat-lightbox__thumbs { position: relative; z-index: 2; display: flex; gap: 8px; padding: 14px 20px; overflow-x: auto; scrollbar-width: none; max-width: 90vw; }
.tat-lightbox__thumbs::-webkit-scrollbar { display: none; }
.tat-lb-thumb { flex-shrink: 0; width: 56px; height: 56px; border-radius: var(--tat-r-sm); overflow: hidden; border: 2px solid transparent; cursor: pointer; transition: border-color var(--tat-ease), transform var(--tat-ease); padding: 0; background: transparent; }
.tat-lb-thumb:hover { transform: scale(1.06); }
.tat-lb-thumb--active { border-color: #ff8f45; }
.tat-lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ================================================================
   SIDEBAR WIDGETS
   ================================================================ */
.tat-sidebar-widget { margin-top: 16px; border-radius: 12px; overflow: hidden; border: 1px solid #e8edf5; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.tat-sw-header { display: flex; align-items: center; gap: 8px; padding: 13px 16px; font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #1e293b; background: #f8fafc; border-bottom: 1px solid #e8edf5; }
.tat-sw-header svg { width: 16px; height: 16px; flex-shrink: 0; display: inline-block; }
.tat-sidebar-widget--benefits .tat-sw-header { color: #16a34a; } .tat-sidebar-widget--benefits .tat-sw-header svg { fill: #16a34a; }
.tat-sidebar-widget--contact  .tat-sw-header { color: #0073aa; } .tat-sidebar-widget--contact  .tat-sw-header svg { fill: #0073aa; }
.tat-sw-list { list-style: none; margin: 0; padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; }
.tat-sw-list li { font-size: .84rem; color: #374151; line-height: 1.4; display: flex; align-items: center; gap: 8px; }
.tat-sidebar-widget--benefits .tat-sw-list li::before { content: ''; display: inline-block; width: 18px; height: 18px; background: #dcfce7; border-radius: 50%; flex-shrink: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%2316a34a' d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E"); background-size: 12px; background-repeat: no-repeat; background-position: center; }
.tat-sw-list--contact li a { display: flex; align-items: center; gap: 8px; color: #374151; text-decoration: none; font-size: .84rem; transition: color .18s; }
.tat-sw-list--contact li a:hover { color: #ff5c60; }
.tat-sw-list--contact li a svg { width: 15px; height: 15px; fill: #94a3b8; flex-shrink: 0; display: inline-block; transition: fill .18s; }
.tat-sw-list--contact li a:hover svg { fill: #ff5c60; }
.tat-sw-wa { display: inline-flex !important; align-items: center !important; gap: 8px !important; background: #25d366 !important; color: #fff !important; border-radius: 8px !important; padding: 8px 14px !important; font-weight: 600 !important; width: 100%; justify-content: center; margin-top: 4px; transition: background .18s !important; }
.tat-sw-wa:hover { background: #1aaf55 !important; color: #fff !important; }
.tat-sw-wa svg { fill: #fff !important; }

/* ================================================================
   TOURS RELACIONADOS
   ================================================================ */
.tat-related { padding: 48px 16px 56px; background: #f8fafc; border-top: 1px solid #e8edf5; }
.tat-related__header { text-align: center; margin-bottom: 28px; }
.tat-related__title { font-size: clamp(1.3rem,3vw,1.8rem); font-weight: 800; color: #1a3c5e; margin: 0 0 10px; }
.tat-related__slider-wrap { position: relative; overflow: hidden; }
.tat-related__viewport { overflow: hidden; width: 100%; }
.tat-related__track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); --tat-per-view: 3; }
.tat-related__slide { flex: 0 0 calc(100% / var(--tat-per-view)); padding: 0 8px; min-width: 0; }
.tat-related__card { display: block; text-decoration: none; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #e8edf5; box-shadow: 0 1px 4px rgba(0,0,0,.06); transition: transform .22s ease, box-shadow .22s ease; }
.tat-related__card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.tat-related__thumb { aspect-ratio: 16/10; overflow: hidden; }
.tat-related__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.tat-related__card:hover .tat-related__thumb img { transform: scale(1.05); }
.tat-related__info { padding: 12px 14px; }
.tat-related__name { font-size: .88rem; font-weight: 700; color: #1e293b; margin: 0 0 4px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tat-related__price { font-size: .82rem; font-weight: 800; color: #ff5c60; }
.tat-related__slider-wrap .tat-slider-nav { top: 35%; }
@media (max-width: 639px)  { .tat-related__track { --tat-per-view: 1; } .tat-related { padding: 36px 12px 44px; } }
@media (min-width: 640px) and (max-width: 1023px) { .tat-related__track { --tat-per-view: 2; } }
@media (min-width: 1024px) { .tat-related { padding: 56px 40px 64px; } .tat-related__track { --tat-per-view: 3; } }
@media (min-width: 1280px) { .tat-related { padding: 56px 80px 64px; } .tat-related__track { --tat-per-view: 4; } }

/* ================================================================
   MISC
   ================================================================ */
.tat-no-tours, .tat-empty { text-align: center; color: var(--tat-muted); padding: 40px 20px; font-size: .9rem; }
.tat-icon { width: 18px; height: 18px; fill: currentColor; display: inline-block; }
.tat-icon--check { fill: var(--tat-success); } .tat-icon--x { fill: var(--tat-danger); } .tat-icon--bag { fill: #ff8f45; } .tat-icon--q { fill: var(--tat-primary); }

/* ================================================================
   RESPONSIVE LAYOUT
   ================================================================ */
@media (min-width: 768px) {
  .tat-section { padding: 60px 32px; }
  .tat-single__layout { grid-template-columns: 1fr 360px; gap: 24px; padding: 28px 24px 48px; }
  .tat-single__sidebar { position: sticky; top: 20px; align-self: start; }
  .tat-tab-btn { padding: 8px 16px; font-size: .78rem; }
  .tat-tab-content { padding: 32px 28px; }
}
@media (min-width: 1024px) {
  .tat-section { padding: 72px 48px; }
  .tat-single__layout { grid-template-columns: 1fr 400px; gap: 28px; padding: 32px 40px 72px; }
  .tat-single__sidebar { top: 24px; }
  .tat-tab-btn { padding: 9px 20px; font-size: .82rem; }
}
@media (min-width: 1280px) {
  .tat-section { padding: 80px 80px; }
  .tat-single__layout { max-width: 1340px; gap: 32px; padding: 36px 60px 80px; }
}
@media (min-width: 1440px) { .tat-section { padding: 80px 120px; } .tat-single__layout { max-width: 1400px; } }
@media (min-width: 1920px) { .tat-section { padding: 100px 200px; } .tat-single__layout { max-width: 1600px; } }

/* Asegurar z-index correctos sobre el video */
.tat-hero__overlay { z-index: 2 !important; }
.tat-hero__badges  { z-index: 4 !important; }
.tat-hero__content { z-index: 4 !important; }
