/* Página de tour (resources/views/pages/tours-vista.blade.php).
   Antes iba en línea en cada página; como archivo el navegador lo guarda en caché entre tours. */

.article-body {
    color: #314034;
    line-height: 1.85;
    letter-spacing: 0.015em;
}

.article-body p {
    margin-bottom: 1rem;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    color: #080f0a;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-body blockquote {
    border-left: 0.35rem solid #aaaaaa;
    background: rgba(231, 231, 231, 0.562);
    padding: 1.1rem 1.25rem;
    margin: 1.75rem 0;
}

#wa-msg {
    position: fixed;
    left: 85px;
    bottom: 20px;
    max-width: 250px;
    padding: 8px 12px;
    border-radius: 14px;
    background: #fff;
    color: #333;
    font-size: 13px;
    line-height: 1.3;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.589);
    opacity: 0;
    transform: translateY(8px);
    transition: .25s;
    cursor: pointer;
    pointer-events: none;
}

#wa-msg.show {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

#wa-msg:after {
    content: "";
    position: absolute;
    left: -4px;
    bottom: 13px;
    width: 10px;
    height: 10px;
    background: #fff;
    transform: rotate(45deg);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(239, 248, 244, 0.4);
    background: rgba(239, 248, 244, 0.12);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.hero-badge a {
    width: 100px;
}

/* ============ Rediseño Fase 1: tokens + hero + barra de reserva ============ */
:root {
    --tour-surface: #fff;
    --tour-ink: #1b2d26;
    --tour-forest: #2d6a4f;
    --tour-forest-d: #1b4332;
    --tour-sun: #e07a3f;
    --tour-sun-d: #c7632c;
    --tour-line: #e6e1d6;
}

/* ---------- HERO ---------- */
.tour-hero {
    position: relative;
    min-height: clamp(260px, 10vh, 460px);
    display: flex;
    align-items: flex-end;
    padding-top: 72px;
    overflow: hidden;
    color: #fff;
}

.tour-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tour-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.744) 0%, rgba(0, 0, 0, 0.875) 100%);
}

.tour-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 1.75rem 0;
    text-align: center;
}

.tour-hero__title {
    font-size: clamp(1.6rem, 4.4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    margin: .5rem 0 .85rem;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}

.breadcrumb a {
    display: inline-block;
}

.tour-hero__subtitle {
    font-size: clamp(1rem, 2.4vw, 1.2rem);
    font-weight: 500;
    color: rgba(255, 255, 255, .93);
    margin: 0 0 .85rem;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}

.tour-hero__lang {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
}

/* ---------- Barra de datos rápidos (bajo el hero) ---------- */
.tour-quickbar {
    background: var(--tour-surface);
    padding-top: 1rem;
}

.tour-quickbar .tour-hero__title {
    color: var(--tour-ink);
    text-shadow: none;
    margin: .35rem 0 .5rem;
}

.tour-quickbar .breadcrumb {
    margin-bottom: .5rem;
}

.tour-quickbar__list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.6rem;
    margin: 0;
    padding: .85rem 0;
}

.tour-quickbar__list li {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .92rem;
    color: var(--tour-ink);
}

.tour-lead {
    max-width: 70ch;
    color: var(--tour-ink);
}

/* ---------- CTA ---------- */
.btn-tour {
    --bs-btn-bg: var(--tour-sun);
    --bs-btn-border-color: var(--tour-sun);
    --bs-btn-hover-bg: var(--tour-sun-d);
    --bs-btn-hover-border-color: var(--tour-sun-d);
    --bs-btn-active-bg: var(--tour-sun-d);
    --bs-btn-active-border-color: var(--tour-sun-d);
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-color: #fff;
    font-weight: 700;
}

.btn-tour-outline {
    --bs-btn-color: var(--tour-forest);
    --bs-btn-border-color: var(--tour-forest);
    --bs-btn-hover-bg: var(--tour-forest);
    --bs-btn-hover-border-color: var(--tour-forest);
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--tour-forest-d);
    --bs-btn-active-color: #fff;
    font-weight: 700;
}

.btn-tour:focus-visible,
.btn-tour-outline:focus-visible,
.tour-chip:focus-visible {
    outline: 3px solid var(--tour-forest);
    outline-offset: 2px;
}

/* estilos.css pone "a { display: block }"; los enlaces dentro del texto deben ir en línea.
   Se usa inline y no "contents" para que el lector de pantalla los siga anunciando como enlace */
.link-inline,
.cancelacion a,
.enlaces-legales a {
    display: inline !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.link-inline:focus-visible,
.cancelacion a:focus-visible,
.enlaces-legales a:focus-visible {
    outline: 3px solid var(--tour-forest);
    outline-offset: 2px;
}

/* ---------- Banda de llamada a la acción ---------- */
.tour-cta {
    background: var(--tour-forest-d);
    color: #fff;
    border-radius: 1rem;
    padding: 1.5rem 1.75rem;
}

.tour-cta .btn-light {
    font-weight: 700;
}

/* ---------- Tarjeta de reserva ---------- */
@media (min-width: 992px) {
    .booking-card {
        position: sticky;
        /* top: 96px; */
    }
}

/* ---------- Barra de reserva móvil ---------- */
.booking-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1035;
    background: var(--tour-surface);
    border-top: 1px solid var(--tour-line);
    box-shadow: 0 -4px 20px rgba(27, 45, 38, .14);
    padding: .6rem .9rem calc(.6rem + env(safe-area-inset-bottom));
}

.booking-bar strong {
    color: var(--tour-ink);
}

body.modal-open .booking-bar {
    display: none;
}

@media (min-width: 992px) {
    .booking-bar {
        display: none;
    }
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: 76px;
    }

    .whatsapp,
    #wa-msg {
        bottom: 75px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .animatearriba,
    .box-movimiento .img-fluid {
        animation: none !important;
        transition: none !important;
    }
}

.breadcrumb {
    --bs-breadcrumb-divider: '\203A';
}

/* ---------- Preguntas frecuentes ---------- */
.accordion-button {
    font-weight: 600;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: #000;
}

/* ---------- Más actividades ---------- */
.game-section {}

.game-section .item {
    height: 400px;
    display: flex;
    align-items: flex-end;
    -webkit-align-items: flex-end;
    background: #343434 no-repeat center center / cover;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    cursor: pointer;
}

.game-section .item:after {
    content: "";
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
}

.item:hover {
    transform: scale(1.02);
}

.game-section .item-desc {
    padding: 0 24px 12px;
    color: #fff;
    position: relative;
    z-index: 1;
}
