/* ============================================================
   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-primary:   #ff5c60;
  --tat-secondary: #1a3c5e;
  --tat-accent:    #ff8f45;
  --tat-success:   #16a34a;
  --tat-danger:    #dc2626;
  --tat-wa:        #F54927;
  --tat-wa-dk:     #F2295B;
  --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 * {
  box-sizing: border-box; margin: 0; padding: 0; line-height: normal;
}
.tat-single, .tat-section, .tat-card { 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 {
  -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 { 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;
    justify-content:center;
    gap:6px;

    padding:8px 18px;

    border-radius:50px;

    font-size:.72rem;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
    line-height:1;
    white-space:nowrap;

    position:relative;
    overflow:hidden;

    transition:.35s ease;
}
.tat-badge--top{

    background:linear-gradient(
        135deg,
        #F54927 0%,
        #F2295B 100%
    );

    color:#fff;

    position:absolute;
    top:18px;
    left:18px;

    border:1px solid rgba(255,255,255,.25);

    box-shadow:
        0 12px 30px rgba(242,41,91,.35),
        0 4px 12px rgba(0,0,0,.18);

    
}
.tat-badge::before{

    content:"";

    position:absolute;

    top:0;
    left:-120%;

    width:70%;
    height:100%;

    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.55),
        transparent
    );

    transform:skewX(-25deg);

    transition:.7s;
}
.tat-badge:hover::before{

    left:180%;

}
.tat-badge:hover{

    transform:translateY(-3px);

    box-shadow:
        0 18px 40px rgba(242,41,91,.45),
        0 6px 16px rgba(0,0,0,.2);

}
.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: #25d366; border-color: #25d366; color: #fff; box-shadow: 0 4px 14px rgba(37,211,102,.32); transition: all .2s ease; display: flex; align-items: center; justify-content: center; gap: 8px; }
.tat-btn--book:hover { background: #1aaf55; border-color: #1aaf55; box-shadow: 0 6px 20px rgba(37,211,102,.42); transform: translateY(-1px); }
.tat-btn--book svg { width: 18px; height: 18px; fill: #fff; }

/* ================================================================
   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:linear-gradient(89deg,#F54927 16%,#F2295B 82%); }
.tat-hero-btn--gallery:hover { transform:translateY(-3px);
box-shadow:0 10px 25px rgba(242,41,91,.35); }
.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); }
/* Desktop */
.tat-hero__content{
    position: relative;
    z-index: 10;
}

/* Tablet */
@media (max-width:1024px){

    .tat-hero__content{
        transform: translateY(-150px);
    }

}

/* Móvil */
@media (max-width:767px){

    .tat-hero__content{
        transform: translateY(-120px);
    }

}
/* Mobile hero */
@media (max-width: 639px) {
  
  .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;
    align-items:center;

    overflow-x:auto;
    overflow-y:hidden;

    flex-wrap:nowrap;
    flex-shrink:0;

    gap:10px;

    padding:12px;

    background:#fff;

    border:1px solid #ECEEF2;

    border-radius:18px;

    box-shadow:
        0 8px 25px rgba(15,23,42,.05),
        0 2px 6px rgba(15,23,42,.03);

    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;

    position:relative;
    z-index:5;
}

.tat-tabs-nav::-webkit-scrollbar{
    display:none;
}

.tat-tabs-nav::-webkit-scrollbar { display: none; }

.tat-tab-btn { flex: 0 0 auto; min-width: max-content; padding: 8px 18px; border: 0; background: #ff5c60; color: #ffffff; 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(238, 237, 237, 0.12), 0 1px 2px rgba(0,0,0,.08); font-weight: 700; }
.tat-tab-btn--active{
    background:linear-gradient(135deg,#ff5c60,#ff7b54);
    color:#fff;
}

.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{

    display:flex;
    flex-direction:column;

    gap:24px;

    background:transparent;

    box-shadow:none;

    border-radius:0;

    overflow:visible;

    height:fit-content;

}
/* Cada bloque independiente */

.tat-booking-card,
.tat-sidebar-widget{

    background:#fff;

    border-radius:18px;

    box-shadow:
        0 10px 35px rgba(15,23,42,.08);

    overflow:hidden;

}

.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; }

.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; }
/* Contenido del tour */
.tat-sw-list{
    margin: 0;
    padding: 18px 24px;
    list-style: none;
}

/* Si hay listas */
.tat-sw-list ul,
.tat-sw-list ol{
    margin: 12px 0;
    padding-left: 22px;
}

.tat-sw-list li{
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Títulos */
.tat-sw-list h2,
.tat-sw-list h3,
.tat-sw-list h4{
    margin: 0 0 16px;
    line-height: 1.3;
}
@media (max-width:1024px){

.tat-sw-list{
    padding: 24px;
    gap: 28px;
}

}
@media (max-width:767px){

.tat-sw-list{
    padding: 18px;
    gap: 22px;
    border-radius: 14px;
}

}
.tat-sidebar-widget{
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    overflow: hidden;
    transition: all .35s ease;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.tat-sidebar-widget:hover{
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
    border-color: #d7e3ef;
}

.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;
    justify-content: center !important;
    gap: 8px !important;
    background: #F2295B !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    font-weight: 600 !important;
    width: 70% !important;
    margin: 12px auto 0 !important;
    transition: all .25s ease !important;
}

.tat-sw-wa:hover{
    background: #d81b50 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(242, 41, 91, .25);
}
.tat-sw-wa:hover { background: #8d1356 !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 {  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; }

