/* Tour Detail - Hero compacto OTA */

:root {
    --tour-detail-navy: #0b2038;
    --tour-detail-orange: #f97316;
    --tour-detail-white: #ffffff;
}

.tour-detail-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 330px;
    overflow: hidden;
    background: var(--tour-detail-navy);
}

.tour-detail-hero__background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tour-detail-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(4, 20, 38, 0.95) 0%,
        rgba(4, 20, 38, 0.84) 38%,
        rgba(4, 20, 38, 0.58) 62%,
        rgba(4, 20, 38, 0.20) 100%
    );
}

.tour-detail-hero .container {
    position: relative;
    z-index: 2;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.tour-detail-hero__info {
    max-width: 650px;
    color: var(--tour-detail-white);
}

.tour-detail-hero__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.75rem;
    border-radius: 999px;
    background: var(--tour-detail-orange);
    color: #fff;
    font-size: 0.70rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tour-detail-hero h1 {
    margin: 0.75rem 0 0.25rem;
    max-width: 620px;
    color: #fff;
    font-size: clamp(2.25rem, 4vw, 3.55rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.tour-detail-hero__subtitle {
    margin: 0;
    color: rgba(255,255,255,.96);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
}

.tour-detail-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0;
    margin-top: 0.7rem;
    color: rgba(255,255,255,.9);
    font-size: 0.84rem;
    font-weight: 600;
}

.tour-detail-hero__meta span {
    display: inline-flex;
    align-items: center;
}

.tour-detail-hero__meta span + span {
    margin-left: 0.8rem;
    padding-left: 0.8rem;
    border-left: 1px solid rgba(255,255,255,.3);
}

.tour-detail-hero__description {
    max-width: 600px;
    margin: 0.85rem 0 0;
    color: rgba(255,255,255,.82);
    font-size: 0.90rem;
    line-height: 1.5;
}

.tour-detail-hero__price {
    display: flex;
    flex-direction: column;
    margin-top: 0.9rem;
}

.tour-detail-hero__price small {
    color: rgba(255,255,255,.72);
    font-size: 0.70rem;
    line-height: 1.2;
}

.tour-detail-hero__price strong {
    margin: 0.1rem 0;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.tour-detail-hero__price strong span {
    font-size: 0.75rem;
    font-weight: 800;
}

/* Mini galeria */

.tour-detail-hero__gallery {
    position: relative;
    width: 100%;
    max-width: 390px;
    margin-left: auto;
}

.tour-detail-hero__gallery-main,
.tour-detail-hero__gallery-thumb {
    overflow: hidden;
    border: 2px solid rgba(255,255,255,.92);
    border-radius: 0.7rem;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0,0,0,.2);
}

.tour-detail-hero__gallery-main {
    width: 58%;
    aspect-ratio: 1.35 / 1;
    margin-left: 7%;
}

.tour-detail-hero__gallery-main img,
.tour-detail-hero__gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-detail-hero__gallery-bottom {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 0.55rem;
}

.tour-detail-hero__gallery-bottom:empty {
    display: none;
}

.tour-detail-hero__gallery-thumb {
    aspect-ratio: 1.45 / 1;
}

.tour-detail-hero__gallery-button {
    display: table;
    margin: 0.65rem auto 0;
    padding: 0.52rem 1rem;
    border: 1px solid rgba(255,255,255,.88);
    border-radius: 0.55rem;
    background: rgba(4,20,38,.58);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    backdrop-filter: blur(7px);
}

.tour-detail-hero__gallery-button:hover,
.tour-detail-hero__gallery-button:focus {
    background: #fff;
    color: var(--tour-detail-navy);
}

/* Tablet */

@media (max-width: 991.98px) {
    .tour-detail-hero {
        min-height: auto;
    }

    .tour-detail-hero__overlay {
        background: linear-gradient(
            180deg,
            rgba(4,20,38,.62) 0%,
            rgba(4,20,38,.88) 100%
        );
    }

    .tour-detail-hero .container {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .tour-detail-hero__gallery {
        max-width: 500px;
        margin: 0.75rem 0 0;
    }

    .tour-detail-hero__gallery-main {
        width: 56%;
        margin-left: 0;
    }
}

/* Movil */

@media (max-width: 575.98px) {
    .tour-detail-hero {
        min-height: auto;
        align-items: stretch;
    }

    .tour-detail-hero__background {
        object-position: 62% center;
    }

    .tour-detail-hero__overlay {
        background: linear-gradient(
            180deg,
            rgba(4,20,38,.38) 0%,
            rgba(4,20,38,.72) 34%,
            rgba(4,20,38,.97) 72%,
            rgba(4,20,38,1) 100%
        );
    }

    .tour-detail-hero .container {
        padding-top: 3rem;
        padding-bottom: 2rem;
    }

    .tour-detail-hero h1 {
        font-size: clamp(2.25rem, 11vw, 3rem);
    }

    .tour-detail-hero__subtitle {
        font-size: 0.95rem;
    }

    .tour-detail-hero__description {
        font-size: 0.84rem;
    }

    .tour-detail-hero__meta {
        gap: 0.35rem 0.75rem;
    }

    .tour-detail-hero__meta span + span {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
    }

    .tour-detail-hero__price strong {
        font-size: 1.6rem;
    }

    .tour-detail-hero__gallery {
        max-width: none;
        margin-top: 1.25rem;
    }

    .tour-detail-hero__gallery-main {
        width: 70%;
    }

    .tour-detail-hero__gallery-button {
        margin-left: 0;
    }
}

/* =========================================================
   NAVEGACION INTERNA DEL TOUR
   ========================================================= */

.tour-detail-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(11, 32, 56, 0.10);
    box-shadow: 0 6px 18px rgba(11, 32, 56, 0.06);
    backdrop-filter: blur(10px);
}

.tour-detail-nav__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.tour-detail-nav__inner::-webkit-scrollbar {
    display: none;
}

.tour-detail-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex: 0 0 auto;
    padding: 0.95rem 1rem;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.tour-detail-nav a i {
    color: #52647a;
    font-size: 0.95rem;
}

.tour-detail-nav a:hover,
.tour-detail-nav a.active {
    color: #f97316;
}

.tour-detail-nav a:hover i,
.tour-detail-nav a.active i {
    color: #f97316;
}

.tour-detail-nav a.active::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: #f97316;
}

@media (max-width: 767.98px) {
    .tour-detail-nav {
        top: 0;
    }

    .tour-detail-nav .container {
        padding-left: 0;
        padding-right: 0;
    }

    .tour-detail-nav__inner {
        justify-content: flex-start;
    }

    .tour-detail-nav a {
        padding: 0.9rem 0.8rem;
        font-size: 0.82rem;
    }
}

/* =========================================================
   RESUMEN / LO MEJOR DEL VIAJE
   ========================================================= */

.tour-highlights {
    background: #fff;
}

.tour-section-heading {
    max-width: 720px;
}

.tour-section-heading > span {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: #f97316;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tour-section-heading h2 {
    margin: 0;
    color: #0b2038;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.025em;
}

.tour-section-heading p {
    margin: 0.55rem 0 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.55;
}

.tour-highlight-card {
    padding: 1.25rem 1rem;
    text-align: center;
    border: 1px solid #e7edf3;
    border-radius: 0.8rem;
    background: #fff;
    box-shadow: 0 5px 18px rgba(11, 32, 56, 0.05);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.tour-highlight-card:hover {
    transform: translateY(-3px);
    border-color: rgba(249, 115, 22, 0.35);
    box-shadow: 0 10px 24px rgba(11, 32, 56, 0.09);
}

.tour-highlight-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0 auto 0.75rem;
    border-radius: 0.7rem;
    background: #fff4eb;
    color: #f97316;
    font-size: 1.15rem;
}

.tour-highlight-card h3 {
    margin: 0;
    color: #0b2038;
    font-size: 0.94rem;
    font-weight: 800;
    line-height: 1.3;
}

.tour-highlight-card p {
    margin: 0.45rem 0 0;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.45;
}

.tour-highlights__intro {
    max-width: 880px;
    margin-top: 2rem;
}

.tour-highlights__intro h3 {
    margin-bottom: 0.35rem;
    color: #0b2038;
    font-size: 1.35rem;
    font-weight: 800;
}

.tour-highlights__intro p {
    margin: 0;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.65;
}

@media (max-width: 575.98px) {
    .tour-highlights {
        padding-top: 2.25rem !important;
        padding-bottom: 2.25rem !important;
    }

    .tour-highlight-card {
        padding: 1rem 0.7rem;
    }

    .tour-highlight-card__icon {
        width: 38px;
        height: 38px;
    }

    .tour-highlight-card h3 {
        font-size: 0.86rem;
    }

    .tour-highlight-card p {
        font-size: 0.74rem;
    }
}

/* =========================================================
   COLUMNA DERECHA / COTIZADOR STICKY
   ========================================================= */

.tour-booking-sidebar {
    position: sticky;
    top: 76px;
}

.tour-booking-card {
    overflow: hidden;
    padding: 1.4rem;
    border: 1px solid #e5eaf0;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 14px 35px rgba(11, 32, 56, 0.10);
}

.tour-booking-card h2 {
    margin: 0 0 0.9rem;
    color: #0b2038;
    font-size: 1.25rem;
    font-weight: 800;
}

/* Precio */

.tour-booking-card__price {
    display: flex;
    flex-direction: column;
    padding-bottom: 1rem;
    border-bottom: 1px solid #edf1f5;
}

.tour-booking-card__price small {
    color: #64748b;
    font-size: 0.72rem;
}

.tour-booking-card__price strong {
    margin: 0.12rem 0;
    color: #f97316;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.tour-booking-card__price strong span {
    color: #334155;
    font-size: 0.72rem;
    font-weight: 800;
}

/* Campos */

.tour-booking-card__field {
    margin-top: 1rem;
}

.tour-booking-card__field > label {
    display: block;
    margin-bottom: 0.4rem;
    color: #334155;
    font-size: 0.76rem;
    font-weight: 800;
}

.tour-booking-card .form-select {
    min-height: 44px;
    padding-left: 0.8rem;
    border: 1px solid #dbe3eb;
    border-radius: 0.6rem;
    background-color: #fff;
    color: #334155;
    font-size: 0.84rem;
    font-weight: 600;
}

.tour-booking-card .form-select:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 0.2rem rgba(249, 115, 22, 0.12);
}

/* Contador habitaciones */

.tour-booking-counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 0.3rem 0.4rem;
    border: 1px solid #dbe3eb;
    border-radius: 0.6rem;
}

.tour-booking-counter button,
.tour-booking-pax__counter button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid #f97316;
    border-radius: 50%;
    background: #fff;
    color: #f97316;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1;
    transition: 0.2s ease;
}

.tour-booking-counter button:hover,
.tour-booking-pax__counter button:hover {
    background: #f97316;
    color: #fff;
}

.tour-booking-counter span {
    color: #0b2038;
    font-size: 0.9rem;
    font-weight: 800;
}

/* Habitación */

.tour-booking-room {
    margin-top: 1rem;
    padding: 0.9rem;
    border: 1px solid #e5eaf0;
    border-radius: 0.75rem;
    background: #f8fafc;
}

.tour-booking-room__heading {
    padding-bottom: 0.7rem;
    border-bottom: 1px solid #e5eaf0;
}

.tour-booking-room__heading strong {
    color: #0b2038;
    font-size: 0.82rem;
    font-weight: 800;
}

/* Pasajeros */

.tour-booking-pax {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e8edf2;
}

.tour-booking-pax:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.tour-booking-pax > div:first-child {
    display: flex;
    flex-direction: column;
}

.tour-booking-pax strong {
    color: #334155;
    font-size: 0.8rem;
    font-weight: 800;
}

.tour-booking-pax small {
    margin-top: 0.1rem;
    color: #94a3b8;
    font-size: 0.68rem;
}

.tour-booking-pax__counter {
    display: grid;
    grid-template-columns: 30px 28px 30px;
    align-items: center;
    gap: 0.25rem;
    flex: 0 0 auto;
}

.tour-booking-pax__counter span {
    text-align: center;
    color: #0b2038;
    font-size: 0.82rem;
    font-weight: 800;
}

/* CTA */

.tour-booking-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin-top: 1.15rem;
    border: 1px solid #f97316;
    border-radius: 0.65rem;
    background: #f97316;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 800;
    box-shadow: 0 7px 18px rgba(249, 115, 22, 0.22);
}

.tour-booking-card__cta:hover {
    border-color: #ea580c;
    background: #ea580c;
    color: #fff;
}

/* Beneficios */

.tour-booking-card__benefits {
    display: grid;
    gap: 0.4rem;
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid #edf1f5;
}

.tour-booking-card__benefits span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #64748b;
    font-size: 0.7rem;
}

.tour-booking-card__benefits i {
    color: #16a34a;
    font-size: 0.8rem;
}

/* Tablet y móvil */

@media (max-width: 991.98px) {
    .tour-booking-sidebar {
        position: static;
    }

    .tour-booking-card {
        margin-top: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .tour-booking-card {
        padding: 1.15rem;
    }

    .tour-booking-card__price strong {
        font-size: 1.75rem;
    }

    .tour-booking-room {
        padding: 0.8rem;
    }
}

/* =========================================================
   EDADES DE MENORES
   ========================================================= */

.tour-booking-children-ages {
    display: grid;
    gap: 0.65rem;
    margin-top: 0.75rem;
}

.tour-booking-child-age {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 110px;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.65rem;
    border-top: 1px solid #e5eaf0;
}

.tour-booking-child-age label {
    margin: 0;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
}

.tour-booking-child-age .form-select {
    min-height: 36px;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    border-color: #dbe3eb;
    border-radius: 0.5rem;
    font-size: 0.76rem;
}

.tour-booking-child-age .form-select:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 0.15rem rgba(249, 115, 22, 0.12);
}

.tour-booking-counter button:disabled,
.tour-booking-pax__counter button:disabled {
    cursor: not-allowed;
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #cbd5e1;
}

@media (max-width: 575.98px) {
    .tour-booking-child-age {
        grid-template-columns: 1fr 100px;
        gap: 0.5rem;
    }
}

/* =========================================================
   FOTOS - ASI VIVIRAS ESTE VIAJE
   ========================================================= */

.tour-experience-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.25rem;
    margin-bottom: 2rem;
}

.tour-experience-gallery__item {
    position: relative;
    display: block;

    width: 100%;
    overflow: hidden;

    padding: 0;
    border: 0;

    aspect-ratio: 1.45 / 1;
    border-radius: 0.7rem;

    background: #e2e8f0;
    box-shadow: 0 5px 15px rgba(11, 32, 56, 0.08);

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;
}

.tour-experience-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.3s ease;
}

.tour-experience-gallery__item:hover img {
    transform: scale(1.05);
}

/* Accesibilidad con teclado */

.tour-experience-gallery__item:focus-visible {
    outline: 3px solid #f97316;
    outline-offset: 3px;
}


/* Tablet */

@media (max-width: 767.98px) {

    .tour-experience-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* Móvil */

@media (max-width: 575.98px) {

    .tour-experience-gallery {
        gap: 0.6rem;
        margin-top: 1rem;
        margin-bottom: 1.5rem;
    }

    .tour-experience-gallery__item {
        border-radius: 0.6rem;
        aspect-ratio: 1.35 / 1;
    }

}

/* =========================================================
   MAPA DEL RECORRIDO
   ========================================================= */

.tour-route-section {
    margin-top: 3rem;
    scroll-margin-top: 80px;
}

.tour-route-card {
    overflow: hidden;
    margin-top: 1.5rem;
    border: 1px solid #e5eaf0;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 10px 28px rgba(11, 32, 56, 0.07);
}

/* Mapa */

.tour-route-map {
    position: relative;
    width: 100%;
    height: 360px;
    background: #e8eef3;
}

/* Evitar que Leaflet sobresalga del radio */

.tour-route-card .leaflet-container {
    font-family: inherit;
}

/* Marcadores personalizados */

.tour-route-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #f97316;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(11, 32, 56, 0.28);
}

.tour-route-marker--start,
.tour-route-marker--end {
    background: #0b2038;
}

/* Popup */

.tour-route-popup strong {
    display: block;
    margin-bottom: 0.2rem;
    color: #0b2038;
    font-size: 0.85rem;
}

.tour-route-popup p {
    margin: 0;
    color: #64748b;
    font-size: 0.75rem;
    line-height: 1.4;
}

/* Lista inferior de paradas */

.tour-route-stops {
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow-x: auto;
    padding: 1rem;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.tour-route-stop {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    flex: 1 0 135px;
    min-width: 135px;
    padding: 0.35rem 0.75rem;
}

.tour-route-stop:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 17px;
    right: -4px;
    width: 8px;
    border-top: 1px solid #dbe3eb;
}

.tour-route-stop__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff3e8;
    color: #f97316;
    font-size: 0.7rem;
    font-weight: 800;
}

.tour-route-stop > div {
    min-width: 0;
}

.tour-route-stop strong {
    display: block;
    color: #0b2038;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.25;
}

.tour-route-stop small {
    display: block;
    margin-top: 0.2rem;
    color: #94a3b8;
    font-size: 0.64rem;
    line-height: 1.3;

    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* Tablet */

@media (max-width: 991.98px) {
    .tour-route-map {
        height: 330px;
    }
}

/* Móvil */

@media (max-width: 575.98px) {
    .tour-route-section {
        margin-top: 2.25rem;
    }

    .tour-route-map {
        height: 290px;
    }

    .tour-route-card {
        border-radius: 0.8rem;
    }

    .tour-route-stops {
        padding: 0.8rem 0.6rem;
    }

    .tour-route-stop {
        flex-basis: 125px;
        min-width: 125px;
        padding-left: 0.55rem;
        padding-right: 0.55rem;
    }
}

/* =========================================================
   INCLUYE / OPCIONALES / NO INCLUYE
   ========================================================= */

.tour-includes-section {
    margin-top: 3rem;
    scroll-margin-top: 80px;
}

.tour-service-box {
    height: 100%;
    overflow: hidden;
    padding: 1.15rem;
    border: 1px solid #e5eaf0;
    border-radius: 0.9rem;
    background: #fff;
    box-shadow: 0 7px 20px rgba(11, 32, 56, 0.06);
}

/* Encabezado */

.tour-service-box__heading {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding-bottom: 0.85rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid #edf1f5;
}

.tour-service-box__heading h3 {
    margin: 0;
    color: #0b2038;
    font-size: 1rem;
    font-weight: 800;
}

.tour-service-box__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 0.85rem;
}

/* Lista */

.tour-service-box__list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.tour-service-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.tour-service-item > i {
    flex: 0 0 auto;
    margin-top: 0.1rem;
    font-size: 0.9rem;
}

.tour-service-item > div {
    min-width: 0;
}

.tour-service-item strong {
    display: block;
    color: #1e293b;
    font-size: 0.82rem;
    font-weight: 750;
    line-height: 1.35;
}

.tour-service-item small {
    display: block;
    margin-top: 0.18rem;
    color: #64748b;
    font-size: 0.72rem;
    line-height: 1.45;
}

/* Precio opcional */

.tour-service-item__price {
    display: inline-block;
    margin-top: 0.4rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: #fff3e8;
    color: #ea580c;
    font-size: 0.72rem;
    font-weight: 800;
}

/* =========================================================
   INCLUIDO
   ========================================================= */

.tour-service-box--included {
    border-top: 3px solid #16a34a;
}

.tour-service-box--included .tour-service-box__icon {
    background: #ecfdf3;
    color: #16a34a;
}

.tour-service-box--included .tour-service-item > i {
    color: #16a34a;
}

/* =========================================================
   OPCIONAL
   ========================================================= */

.tour-service-box--optional {
    border-top: 3px solid #f97316;
}

.tour-service-box--optional .tour-service-box__icon {
    background: #fff3e8;
    color: #f97316;
}

.tour-service-box--optional .tour-service-item > i {
    color: #f97316;
}

/* =========================================================
   NO INCLUYE
   ========================================================= */

.tour-service-box--excluded {
    border-top: 3px solid #dc2626;
}

.tour-service-box--excluded .tour-service-box__icon {
    background: #fef2f2;
    color: #dc2626;
}

.tour-service-box--excluded .tour-service-item > i {
    color: #dc2626;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991.98px) {
    .tour-service-box {
        padding: 1rem;
    }
}

@media (max-width: 575.98px) {
    .tour-includes-section {
        margin-top: 2.25rem;
    }

    .tour-service-box {
        border-radius: 0.75rem;
    }

    .tour-service-item strong {
        font-size: 0.8rem;
    }
}

/* =========================================================
   ITINERARIO DIA A DIA
   ========================================================= */

.tour-itinerary-section {
    margin-top: 3rem;
    scroll-margin-top: 90px;
}

.tour-itinerary-accordion {
    margin-top: 1.4rem;

    --bs-accordion-border-color: transparent;
    --bs-accordion-border-width: 0;
    --bs-accordion-border-radius: 0.9rem;
    --bs-accordion-inner-border-radius: 0.9rem;
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-active-color: #0b2038;
    --bs-accordion-active-bg: #ffffff;
}


/* =========================================================
   TARJETA DE CADA DIA
   ========================================================= */

.tour-itinerary__item {
    overflow: hidden;

    margin-bottom: 0.75rem;

    border: 1px solid #e5eaf0 !important;
    border-radius: 0.85rem !important;

    background: #ffffff;

    box-shadow:
        0 5px 18px rgba(11, 32, 56, 0.06);
}

.tour-itinerary__item:last-child {
    margin-bottom: 0;
}


/* =========================================================
   ENCABEZADO DEL DIA
   ========================================================= */

.tour-itinerary__item .accordion-button {
    display: flex;
    align-items: center;
    gap: 0.85rem;

    min-height: 66px;

    padding: 0.9rem 1rem;

    background: #ffffff;
    color: #0b2038;

    box-shadow: none !important;
}

.tour-itinerary__item .accordion-button:not(.collapsed) {
    background: #ffffff;
    color: #0b2038;
}

.tour-itinerary__item .accordion-button:hover {
    background: #f8fafc;
}


/* =========================================================
   NUMERO DE DIA
   ========================================================= */

.tour-itinerary__day {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    min-width: 58px;

    padding: 0.38rem 0.55rem;

    border-radius: 999px;

    background: #fff3e8;
    color: #ea580c;

    font-size: 0.71rem;
    font-weight: 800;

    white-space: nowrap;
}


/* =========================================================
   TITULO
   ========================================================= */

.tour-itinerary__title {
    flex: 1;
    min-width: 0;

    color: #0b2038;

    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.35;
}


/* Flecha */

.tour-itinerary__item .accordion-button::after {
    flex: 0 0 auto;
    margin-left: auto;
}


/* =========================================================
   CUERPO
   ========================================================= */

.tour-itinerary__item .accordion-body {
    padding:
        0
        1rem
        1.15rem;

    color: #475569;
}

.tour-itinerary__summary {
    margin: 0 0 0.75rem;

    color: #334155;

    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.5;
}

.tour-itinerary__description {
    margin: 0 0 1rem;

    color: #64748b;

    font-size: 0.78rem;
    line-height: 1.55;
}


/* =========================================================
   LINEA DE ACTIVIDADES
   ========================================================= */

.tour-itinerary__activities {
    display: flex;
    flex-direction: column;

    margin-top: 0.8rem;
}

.tour-itinerary__activity {
    position: relative;

    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 0.7rem;

    padding-bottom: 1rem;
}

.tour-itinerary__activity:last-child {
    padding-bottom: 0;
}


/* Línea vertical */

.tour-itinerary__activity:not(:last-child)::before {
    content: "";

    position: absolute;

    top: 15px;
    bottom: -1px;
    left: 5px;

    width: 1px;

    background: #dbe4ec;
}


/* Punto */

.tour-itinerary__activity-dot {
    position: relative;
    z-index: 1;

    display: block;

    width: 11px;
    height: 11px;

    margin-top: 0.25rem;

    border: 3px solid #ffffff;
    border-radius: 50%;

    background: #f97316;

    box-shadow:
        0 0 0 2px #fed7aa;
}


/* =========================================================
   ACTIVIDAD
   ========================================================= */

.tour-itinerary__activity strong {
    display: block;

    color: #1e293b;

    font-size: 0.81rem;
    font-weight: 750;
    line-height: 1.4;
}

.tour-itinerary__activity p {
    margin: 0.2rem 0 0;

    color: #64748b;

    font-size: 0.75rem;
    line-height: 1.5;
}


/* =========================================================
   DESTINO
   ========================================================= */

.tour-itinerary__destination {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;

    margin-top: 0.4rem;

    color: #475569;

    font-size: 0.69rem;
    font-weight: 700;
}

.tour-itinerary__destination i {
    color: #f97316;
}


/* =========================================================
   OPCIONAL
   ========================================================= */

.tour-itinerary__optional {
    display: inline-flex;

    margin-top: 0.45rem;

    padding: 0.22rem 0.5rem;

    border-radius: 999px;

    background: #fff3e8;
    color: #ea580c;

    font-size: 0.67rem;
    font-weight: 800;
}


/* =========================================================
   MOVIL
   ========================================================= */

@media (max-width: 575.98px) {

    .tour-itinerary-section {
        margin-top: 2.25rem;
    }

    .tour-itinerary__item .accordion-button {
        min-height: 60px;

        gap: 0.6rem;

        padding: 0.75rem 0.8rem;
    }

    .tour-itinerary__day {
        min-width: 50px;

        padding: 0.3rem 0.4rem;

        font-size: 0.65rem;
    }

    .tour-itinerary__title {
        font-size: 0.8rem;
    }

    .tour-itinerary__item .accordion-body {
        padding:
            0
            0.85rem
            1rem;
    }

}

/* =========================================================
   MODAL / VISOR DE GALERÍA
   ========================================================= */

.tour-gallery-modal .modal-content {
    background: #08182a;
    color: #fff;
    border: 0;
}

.tour-gallery-modal .modal-header {
    position: relative;
    z-index: 5;

    min-height: 76px;
    padding: 1rem 1.4rem;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

    background: rgba(8, 24, 42, 0.96);
}

.tour-gallery-modal__eyebrow {
    display: block;

    margin-bottom: 0.15rem;

    color: #f97316;

    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tour-gallery-modal .modal-title {
    margin: 0;

    color: #fff;

    font-size: 1.15rem;
    font-weight: 800;
}

.tour-gallery-modal .btn-close {
    opacity: 0.9;
}

.tour-gallery-modal .btn-close:hover {
    opacity: 1;
}


/* =========================================================
   CUERPO
   ========================================================= */

.tour-gallery-modal .modal-body {
    display: flex;
    align-items: center;

    min-height: calc(100vh - 76px);

    padding: 0;

    overflow: hidden;
}


/* =========================================================
   CARRUSEL
   ========================================================= */

.tour-gallery-modal .carousel {
    width: 100%;
}

.tour-gallery-modal .carousel-inner {
    width: 100%;
}

.tour-gallery-modal .carousel-item {
    min-height: calc(100vh - 76px);
}


/* =========================================================
   IMAGEN PRINCIPAL
   ========================================================= */

.tour-gallery-modal__image {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: calc(100vh - 150px);

    padding: 1.5rem 5rem 0.5rem;
}

.tour-gallery-modal__image img {
    display: block;

    max-width: 100%;
    max-height: calc(100vh - 190px);

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 0.6rem;

    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.28);
}


/* =========================================================
   TITULO Y DESCRIPCIÓN
   ========================================================= */

.tour-gallery-modal__caption {
    max-width: 900px;

    margin: 0 auto;
    padding: 0.8rem 1.5rem 1.2rem;

    text-align: center;
}

.tour-gallery-modal__caption strong {
    display: block;

    color: #fff;

    font-size: 0.95rem;
    font-weight: 800;
}

.tour-gallery-modal__caption p {
    margin: 0.25rem 0 0;

    color: rgba(255, 255, 255, 0.68);

    font-size: 0.78rem;
    line-height: 1.45;
}


/* =========================================================
   FLECHAS
   ========================================================= */

.tour-gallery-modal .carousel-control-prev,
.tour-gallery-modal .carousel-control-next {
    width: 72px;

    opacity: 1;
}

.tour-gallery-modal .carousel-control-prev-icon,
.tour-gallery-modal .carousel-control-next-icon {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    background-color: rgba(8, 24, 42, 0.72);
    background-size: 45% 45%;

    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 575.98px) {

    .tour-gallery-modal .modal-header {
        min-height: 66px;
        padding: 0.8rem 1rem;
    }

    .tour-gallery-modal .modal-title {
        font-size: 1rem;
    }

    .tour-gallery-modal .modal-body {
        min-height: calc(100vh - 66px);
    }

    .tour-gallery-modal .carousel-item {
        min-height: calc(100vh - 66px);
    }

    .tour-gallery-modal__image {
        min-height: calc(100vh - 145px);

        padding:
            1rem
            0.8rem
            0.5rem;
    }

    .tour-gallery-modal__image img {
        max-height: calc(100vh - 180px);

        border-radius: 0.4rem;
    }

    .tour-gallery-modal .carousel-control-prev,
    .tour-gallery-modal .carousel-control-next {
        width: 48px;
    }

    .tour-gallery-modal .carousel-control-prev-icon,
    .tour-gallery-modal .carousel-control-next-icon {
        width: 34px;
        height: 34px;
    }

    .tour-gallery-modal__caption {
        padding:
            0.6rem
            3rem
            1rem;
    }

}