/* ============================================================
   Tour Single Page — scoped to .tour-page
   Designed to coexist with the existing style.css / responsive.css
   ============================================================ */

.tour-page {
    --tp-radius: 14px;
    --tp-radius-sm: 10px;
    --tp-border: #e8e8ea;
    --tp-surface: #ffffff;
    --tp-surface-2: #f8f7f4;
    --tp-ink: #1a1a1a;
    --tp-ink-2: #4a4e56;
    --tp-muted: #7a7d83;
    --tp-accent: var(--theme-color);
    --tp-accent-soft: rgba(175, 0, 0, 0.08);
    --tp-success: #1d8a4a;
    --tp-shadow: 0 6px 24px rgba(20, 20, 25, 0.08);
    --tp-shadow-lg: 0 18px 50px rgba(20, 20, 25, 0.18);
    color: var(--tp-ink-2);
    background: #fff;
}

/* ===== Sticky CTA bar (appears after scroll past hero) ===== */
.tp-sticky-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--tp-border);
    transform: translateY(-110%);
    transition: transform .35s cubic-bezier(.2,.7,.2,1);
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
.tp-sticky-bar.is-visible { transform: translateY(0); }
.tp-sticky-bar-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 10px 0;
}
.tp-sticky-title {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 600;
    color: var(--tp-ink);
    font-size: 15px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tp-sticky-meta {
    color: var(--tp-muted);
    font-size: 12px;
    font-weight: 500;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tp-sticky-price {
    text-align: right;
    flex: 0 0 auto;
    display: none;
    line-height: 1.1;
}
.tp-sticky-price small { color: var(--tp-muted); font-size: 11px; display: block; }
.tp-sticky-price strong { color: var(--tp-ink); font-size: 18px; font-weight: 700; }
@media (min-width: 768px) { .tp-sticky-price { display: block; } }
.tp-sticky-cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: var(--tp-accent);
    color: #fff;
    font-weight: 600;
    border-radius: 999px;
    font-size: 14px;
    border: 0;
    white-space: nowrap;
}
.tp-sticky-cta:hover { background: #8a0000; color: #fff; box-shadow: 0 6px 18px rgba(175,0,0,.35); }
.tp-sticky-back {
    color: var(--tp-muted);
    font-size: 18px;
    flex: 0 0 auto;
    text-decoration: none;
}
.tp-sticky-back:hover { color: var(--tp-accent); }
@media (max-width: 575px) {
    .tp-sticky-meta { display: none; }
    .tp-sticky-cta span { display: none; }
    .tp-sticky-cta { padding: 11px 14px; }
}

/* ===== Hero ===== */
.tp-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: flex-end;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    margin-bottom: 60px;
}
.tp-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover !important;
    background-position: center center !important;
    z-index: -2;
    transform: scale(1.05);
}
.tp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(15,15,20,0.15) 0%, rgba(15,15,20,0.55) 55%, rgba(15,15,20,0.92) 100%);
}
.tp-hero-inner {
    padding: 60px 0 50px;
    width: 100%;
}
.tp-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 22px;
}
.tp-hero-eyebrow i { font-size: 13px; color: #ffd87a; }
.tp-hero h1 {
    color: #fff;
    font-size: clamp(28px, 4.6vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 18px;
    letter-spacing: -0.01em;
    max-width: 24ch;
    text-wrap: balance;
}
.tp-hero-sub {
    color: rgba(255,255,255,0.92);
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
}
.tp-hero-sub i { color: #ffd87a; margin-right: 6px; }
.tp-hero-sub .dot {
    width: 4px; height: 4px; border-radius: 50%;
    background: rgba(255,255,255,0.5);
}
.tp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 36px;
}
.tp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    transition: all .25s ease;
    text-decoration: none;
    line-height: 1;
    cursor: pointer;
}
.tp-btn-primary { background: var(--tp-accent); color: #fff; border-color: var(--tp-accent); }
.tp-btn-primary:hover { background: #fff; color: var(--tp-accent); border-color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.tp-btn-ghost {
    background: rgba(255,255,255,0.10);
    color: #fff;
    border-color: rgba(255,255,255,0.45);
    backdrop-filter: blur(6px);
}
.tp-btn-ghost:hover { background: #fff; color: var(--tp-ink); border-color: #fff; }
.tp-btn-outline {
    background: #fff;
    color: var(--tp-ink);
    border-color: var(--tp-border);
}
.tp-btn-outline:hover { border-color: var(--tp-accent); color: var(--tp-accent); }
.tp-btn-block { width: 100%; justify-content: center; }
.tp-btn-lg { padding: 18px 32px; font-size: 16px; }

.tp-hero-price-line {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    margin-left: 4px;
}
.tp-hero-price-line strong { color: #fff; font-size: 20px; font-weight: 700; }

.tp-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.16);
}
.tp-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.85);
    font-size: 13.5px;
    font-weight: 500;
}
.tp-trust-item i {
    color: #ffd87a;
    font-size: 16px;
    width: 22px;
    text-align: center;
}

@media (max-width: 767px) {
    .tp-hero { min-height: 540px; margin-bottom: 40px; }
    .tp-hero-inner { padding: 36px 0 32px; }
    .tp-hero-sub { font-size: 15px; gap: 4px 12px; }
    .tp-hero-actions { gap: 10px; margin-bottom: 26px; }
    .tp-btn { padding: 14px 22px; font-size: 14px; }
}

/* ===== Highlights ===== */
.tp-highlights {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 14px;
    margin: -90px auto 60px;
    position: relative;
    z-index: 5;
}
.tp-highlight-card {
    background: #fff;
    border-radius: var(--tp-radius);
    padding: 22px 20px;
    box-shadow: var(--tp-shadow);
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--tp-border);
}
.tp-highlight-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--tp-accent-soft);
    color: var(--tp-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex: 0 0 46px;
}
.tp-highlight-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--tp-muted);
    margin: 0 0 3px;
    font-weight: 600;
}
.tp-highlight-value {
    font-size: 15px;
    color: var(--tp-ink);
    font-weight: 600;
    margin: 0;
    line-height: 1.25;
    word-break: break-word;
}
@media (max-width: 991px) { .tp-highlights { grid-template-columns: repeat(2, 1fr); margin-top: -60px; } }
@media (max-width: 575px) { .tp-highlights { grid-template-columns: 1fr; margin-top: -40px; gap: 10px; } }

/* ===== Two-column body ===== */
.tp-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
@media (max-width: 991px) { .tp-body { grid-template-columns: 1fr; gap: 30px; } }

/* ===== Section blocks ===== */
.tp-section { margin-bottom: 48px; }
.tp-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--tp-border);
}
.tp-section-head h2 {
    font-size: 22px;
    color: var(--tp-ink);
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.tp-section-tools { font-size: 13px; color: var(--tp-muted); display: inline-flex; gap: 12px; }
.tp-section-tools button {
    background: none; border: 0; padding: 0; color: var(--tp-accent); font-weight: 600; font-size: 13px; cursor: pointer;
}
.tp-section-tools button:hover { text-decoration: underline; }

/* Overview */
.tp-overview {
    font-size: 16px;
    line-height: 1.75;
    color: var(--tp-ink-2);
}
.tp-overview p { margin-bottom: 1.1em; }
.tp-overview h3, .tp-overview h4 {
    color: var(--tp-ink);
    margin: 1.4em 0 .6em;
    font-weight: 700;
}
.tp-overview h3 { font-size: 22px; }
.tp-overview h4 { font-size: 18px; }
.tp-overview u { text-decoration: none; border-bottom: 2px solid var(--tp-accent-soft); padding-bottom: 1px; }
.tp-overview a { color: var(--tp-accent); }

/* Itinerary */
.tp-itinerary-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}
.tp-itinerary {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tp-itinerary details {
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius-sm);
    background: #fff;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.tp-itinerary details[open] {
    border-color: rgba(175, 0, 0, 0.25);
    box-shadow: var(--tp-shadow);
}
.tp-itinerary summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.tp-itinerary summary::-webkit-details-marker { display: none; }
.tp-itinerary summary:focus-visible { outline: 2px solid var(--tp-accent); outline-offset: 2px; }
.tp-day-num {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--tp-accent-soft);
    color: var(--tp-accent);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    line-height: 1;
}
.tp-day-num small { font-size: 9px; letter-spacing: .12em; opacity: .75; text-transform: uppercase; margin-bottom: 3px; }
.tp-day-num span { font-size: 18px; }
.tp-day-title {
    flex: 1 1 auto;
    font-size: 16px;
    color: var(--tp-ink);
    font-weight: 600;
    margin: 0;
    line-height: 1.35;
}
.tp-day-chevron {
    flex: 0 0 auto;
    color: var(--tp-muted);
    transition: transform .25s ease;
    font-size: 16px;
}
.tp-itinerary details[open] .tp-day-chevron { transform: rotate(180deg); color: var(--tp-accent); }
.tp-day-body {
    padding: 4px 22px 22px 78px;
    color: var(--tp-ink-2);
    font-size: 15px;
    line-height: 1.7;
    border-top: 1px dashed var(--tp-border);
    margin-top: 4px;
    padding-top: 16px;
}
@media (max-width: 575px) {
    .tp-day-body { padding-left: 18px; padding-right: 18px; }
}

/* Inclusions / exclusions */
.tp-includes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 22px;
}
@media (max-width: 575px) { .tp-includes-grid { grid-template-columns: 1fr; } }
.tp-include-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--tp-border);
    font-size: 14.5px;
    color: var(--tp-ink-2);
}
.tp-include-item:last-child { border-bottom: 0; }
.tp-include-icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(29, 138, 74, 0.12);
    color: var(--tp-success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    margin-top: 2px;
}
.tp-exclude-icon {
    background: rgba(175,0,0,0.10);
    color: var(--tp-accent);
}

.tp-exclude-block {
    margin-top: 18px;
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius-sm);
    background: var(--tp-surface-2);
}
.tp-exclude-block > summary {
    list-style: none;
    cursor: pointer;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--tp-ink);
    font-size: 14.5px;
}
.tp-exclude-block > summary::-webkit-details-marker { display: none; }
.tp-exclude-block > summary i { color: var(--tp-muted); transition: transform .25s ease; margin-left: auto; }
.tp-exclude-block[open] > summary i { transform: rotate(180deg); color: var(--tp-accent); }
.tp-exclude-body { padding: 0 18px 16px; }

/* ===== Sidebar (sticky) ===== */
.tp-sidebar {
    position: sticky;
    top: 90px;
}
.tp-card {
    background: #fff;
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius);
    box-shadow: var(--tp-shadow);
    padding: 24px;
    margin-bottom: 20px;
}
.tp-card-tight { padding: 18px; }
.tp-card-dark {
    background: #161a23;
    color: #d5d8df;
    border: 0;
}
.tp-card-dark h3, .tp-card-dark h4 { color: #fff; }
.tp-card-dark .tp-meta-row { border-color: rgba(255,255,255,0.10); }
.tp-card-dark .tp-meta-row dt { color: rgba(255,255,255,0.65); }
.tp-card-dark .tp-meta-row dd { color: #fff; }

.tp-price-eyebrow {
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 11px;
    font-weight: 700;
    color: var(--tp-muted);
    margin: 0 0 8px;
}
.tp-price-main {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0 0 6px;
}
.tp-price-main strong {
    font-size: 36px;
    color: var(--tp-ink);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
}
.tp-price-main span { color: var(--tp-muted); font-size: 14px; font-weight: 500; }
.tp-deposit-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(29,138,74,.10);
    color: var(--tp-success);
    font-size: 13px;
    font-weight: 600;
    margin: 6px 0 18px;
}
.tp-deposit-line i { font-size: 12px; }

.tp-meta-list { margin: 18px 0 0; padding: 0; }
.tp-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 0;
    border-top: 1px solid var(--tp-border);
    gap: 12px;
    margin: 0;
}
.tp-meta-row dt {
    color: var(--tp-muted);
    font-size: 13px;
    font-weight: 500;
    margin: 0;
}
.tp-meta-row dd {
    color: var(--tp-ink);
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    text-align: right;
}

.tp-doc-list { list-style: none; padding: 0; margin: 0; }
.tp-doc-list li + li { margin-top: 8px; }
.tp-doc-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius-sm);
    background: #fff;
    color: var(--tp-ink);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all .2s ease;
}
.tp-doc-link:hover {
    border-color: var(--tp-accent);
    color: var(--tp-accent);
    background: var(--tp-accent-soft);
}
.tp-doc-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--tp-accent-soft);
    color: var(--tp-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.tp-doc-link span { flex: 1; line-height: 1.3; }
.tp-doc-link .tp-doc-meta { color: var(--tp-muted); font-size: 11.5px; font-weight: 500; display: block; margin-top: 2px; }
.tp-doc-link > i.fa-external-link-alt,
.tp-doc-link > i.fa-arrow-right { color: var(--tp-muted); font-size: 12px; }

.tp-help-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: #fff;
    font-size: 14px;
    border-top: 1px solid var(--tp-border);
}
.tp-help-contact:first-of-type { border-top: 0; padding-top: 6px; }
.tp-help-contact i {
    width: 34px; height: 34px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--tp-accent);
    font-size: 14px;
    flex: 0 0 34px;
}
.tp-card-dark .tp-help-contact i { background: rgba(255,255,255,0.08); color: #ffd87a; }
.tp-help-contact a { color: inherit; text-decoration: none; font-weight: 600; }
.tp-help-contact a:hover { color: var(--tp-accent); }
.tp-card-dark .tp-help-contact a:hover { color: #ffd87a; }

/* ===== Section section badges ===== */
.tp-h2-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--tp-accent);
    margin-bottom: 6px;
}

/* ===== Final CTA banner ===== */
.tp-final-cta {
    position: relative;
    margin: 60px 0 0;
    border-radius: var(--tp-radius);
    overflow: hidden;
    color: #fff;
    isolation: isolate;
    padding: 60px 40px;
    text-align: center;
}
.tp-final-cta-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover !important;
    background-position: center !important;
    filter: saturate(1.05);
}
.tp-final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(120deg, rgba(20,15,15,0.85), rgba(60,15,15,0.65));
}
.tp-final-cta h3 {
    color: #fff;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}
.tp-final-cta p {
    color: rgba(255,255,255,0.88);
    font-size: 16px;
    margin: 0 auto 28px;
    max-width: 600px;
}
.tp-final-cta .tp-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}
@media (max-width: 575px) {
    .tp-final-cta { padding: 44px 20px; }
}

/* ===== Closed banner ===== */
.tp-closed-banner {
    background: #fdf4f4;
    border: 1px solid #f3c2c2;
    border-left: 4px solid var(--tp-accent);
    color: var(--tp-accent);
    padding: 14px 18px;
    border-radius: var(--tp-radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    font-size: 14px;
    font-weight: 500;
}
.tp-closed-banner i { font-size: 18px; }

/* ===== Emergency contacts as a small inline strip ===== */
.tp-emergency {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}
.tp-emergency-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--tp-surface-2);
    border: 1px solid var(--tp-border);
    border-radius: 999px;
    font-size: 13px;
    color: var(--tp-ink);
}
.tp-emergency-chip i { color: var(--tp-accent); }

/* ===== Share footer ===== */
.tp-share-block {
    text-align: center;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--tp-border);
}
.tp-share-block h6 {
    color: var(--tp-muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 14px;
}

/* ===== Override conflicting top-level styles ===== */
.tour-page main { display: block; }
.tour-page .breadcrumb { display: none; } /* In case parent layout adds anything */

/* Reduce horizontal overflow risks from RTL/long URLs */
.tp-overview img { max-width: 100%; height: auto; }
