:root {
    --tm-blue: #0d4a8c;
    --tm-blue-light: #1a6fd4;
    --tm-blue-dark: #083058;
    --tm-accent: #f97316;
    --tm-accent-hover: #ea580c;
    --tm-bg: #f5f7fa;
    --tm-white: #ffffff;
    --tm-text: #1e293b;
    --tm-muted: #64748b;
    --tm-border: #e2e8f0;
    --tm-shadow: 0 4px 24px rgba(13, 74, 140, 0.08);
    --tm-shadow-lg: 0 12px 40px rgba(13, 74, 140, 0.12);
    --tm-radius: 12px;
    --tm-radius-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--tm-text);
    background: var(--tm-bg);
    line-height: 1.6;
    margin: 0;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ── Top bar ── */
.tm-topbar {
    background: var(--tm-blue-dark);
    color: rgba(255,255,255,.85);
    font-size: .875rem;
    padding: .5rem 0;
}

.tm-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.tm-topbar__info {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.tm-topbar__item {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.tm-topbar__cta {
    color: var(--tm-accent);
    font-weight: 600;
    white-space: nowrap;
}
.tm-topbar__cta:hover { color: #fdba74; }

/* ── Header ── */
.tm-header {
    background: var(--tm-white);
    box-shadow: 0 1px 0 var(--tm-border);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.tm-header .navbar { padding: .75rem 0; }

.tm-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.tm-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.tm-brand__name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--tm-blue);
}

.tm-brand__tagline {
    font-size: .75rem;
    color: var(--tm-muted);
    font-weight: 500;
}

.tm-nav-link {
    font-weight: 600;
    color: var(--tm-text) !important;
    padding: .5rem 1rem !important;
    font-size: .9375rem;
}

.tm-nav-link:hover,
.tm-nav-link.active {
    color: var(--tm-blue-light) !important;
}

/* ── Buttons ── */
.tm-btn-accent {
    background: var(--tm-accent);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: .625rem 1.25rem;
    transition: background .2s, transform .15s;
}

.tm-btn-accent:hover {
    background: var(--tm-accent-hover);
    color: #fff;
    transform: translateY(-1px);
}

.tm-btn-ghost {
    background: transparent;
    color: #fff;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,.6);
    border-radius: 8px;
    padding: .625rem 1.25rem;
}

.tm-btn-ghost:hover {
    background: rgba(255,255,255,.15);
    color: #fff;
    border-color: #fff;
}

.tm-btn-lg { padding: .875rem 1.75rem; font-size: 1rem; }

.tm-btn-outline-sm {
    border: 2px solid var(--tm-blue);
    color: var(--tm-blue);
    font-weight: 700;
    font-size: .875rem;
    padding: .5rem 1rem;
    border-radius: 8px;
    background: transparent;
    white-space: nowrap;
}

.tm-btn-outline-sm:hover {
    background: var(--tm-blue);
    color: #fff;
}

/* ── Hero ── */
.tm-hero {
    position: relative;
    min-height: 520px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.tm-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(8,48,88,.92) 0%, rgba(13,74,140,.75) 45%, rgba(13,74,140,.4) 100%);
}

.tm-hero__content {
    position: relative;
    z-index: 1;
    padding: 4rem 0;
    color: #fff;
}

.tm-hero__badge {
    display: inline-block;
    background: rgba(249,115,22,.2);
    border: 1px solid rgba(249,115,22,.4);
    color: #fdba74;
    font-size: .8125rem;
    font-weight: 600;
    padding: .35rem .875rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.tm-hero__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.15;
    margin-bottom: 1rem;
    max-width: 700px;
}

.tm-hero__text {
    font-size: 1.125rem;
    opacity: .9;
    max-width: 560px;
    margin-bottom: 2rem;
}

.tm-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

/* ── Destinations chips ── */
.tm-destinations {
    background: var(--tm-white);
    border-bottom: 1px solid var(--tm-border);
    padding: 1.25rem 0;
}

.tm-destinations__wrap {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.tm-destinations__nav {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--tm-border);
    background: var(--tm-white);
    color: var(--tm-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, border-color .2s, box-shadow .2s;
    box-shadow: 0 2px 8px rgba(13, 74, 140, 0.06);
}

.tm-destinations__nav:hover {
    background: #eff6ff;
    border-color: var(--tm-blue-light);
}

.tm-destinations__nav-icon--prev {
    transform: rotate(180deg);
}

.tm-destinations__scroll {
    display: flex;
    align-items: center;
    gap: .625rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: .375rem .125rem;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    flex: 1;
    min-width: 0;
    min-height: 44px;
}

.tm-destinations__scroll--dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}

.tm-destinations__scroll::-webkit-scrollbar {
    height: 4px;
}

.tm-destinations__scroll::-webkit-scrollbar-thumb {
    background: rgba(13, 74, 140, 0.2);
    border-radius: 999px;
}

.tm-destinations__chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 1.125rem;
    border-radius: 999px;
    border: 1px solid var(--tm-border);
    font-size: .875rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    color: var(--tm-text);
    background: var(--tm-bg);
    text-decoration: none;
    scroll-snap-align: start;
    transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
}

.tm-destinations__chip:hover {
    border-color: var(--tm-blue-light);
    color: var(--tm-blue);
    background: #eff6ff;
}

.tm-destinations__chip--active {
    background: var(--tm-blue);
    color: #fff;
    border-color: var(--tm-blue);
    box-shadow: 0 4px 14px rgba(13, 74, 140, 0.22);
}

.tm-destinations__chip--active:hover {
    background: var(--tm-blue-light);
    color: #fff;
    border-color: var(--tm-blue-light);
}

@media (max-width: 767px) {
    .tm-destinations__nav {
        display: none;
    }

    .tm-destinations__scroll {
        gap: .5rem;
        padding-bottom: .5rem;
    }

    .tm-destinations__chip {
        height: 38px;
        padding: 0 .875rem;
        font-size: .8125rem;
    }
}

/* ── Section heads ── */
.tm-tours-section { padding: 4rem 0; }

.tm-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tm-section-head--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tm-section-head__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    margin: 0 0 .25rem;
    color: var(--tm-blue-dark);
}

.tm-section-head__subtitle {
    color: var(--tm-muted);
    margin: 0;
    font-size: 1rem;
}

.tm-section-head__count {
    background: #eff6ff;
    color: var(--tm-blue);
    font-weight: 700;
    font-size: .875rem;
    padding: .375rem .875rem;
    border-radius: 999px;
    white-space: nowrap;
}

/* ── Tour cards ── */
.tm-tour-card {
    background: var(--tm-white);
    border-radius: var(--tm-radius-lg);
    overflow: hidden;
    box-shadow: var(--tm-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s, transform .25s;
}

.tm-tour-card:hover {
    box-shadow: var(--tm-shadow-lg);
    transform: translateY(-4px);
}

.tm-tour-card__image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.tm-tour-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.tm-tour-card:hover .tm-tour-card__image img {
    transform: scale(1.05);
}

.tm-tour-card__days {
    position: absolute;
    top: .875rem;
    right: .875rem;
    background: rgba(255,255,255,.95);
    color: var(--tm-blue);
    font-size: .8125rem;
    font-weight: 700;
    padding: .3rem .75rem;
    border-radius: 999px;
}

.tm-tour-card__badge {
    position: absolute;
    top: .875rem;
    left: .875rem;
    background: var(--tm-accent);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: .3rem .65rem;
    border-radius: 999px;
}

.tm-page-hero {
    background: linear-gradient(135deg, var(--tm-blue-dark), var(--tm-blue));
    color: #fff;
    padding: 2.5rem 0;
}

.tm-page-hero__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    margin: 0 0 .5rem;
}

.tm-page-hero__text {
    margin: 0;
    opacity: .9;
}

.tm-filter {
    border: none;
    box-shadow: var(--tm-shadow);
    border-radius: var(--tm-radius-lg);
}

.tm-filter .form-label {
    font-weight: 600;
    font-size: .875rem;
}

.tm-tour-card__body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tm-tour-card__route {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--tm-blue-light);
    margin-bottom: .5rem;
}

.tm-tour-card__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 .5rem;
    line-height: 1.35;
}

.tm-tour-card__title a {
    color: var(--tm-text);
    transition: color .2s;
}

.tm-tour-card__title a:hover { color: var(--tm-blue); }

.tm-tour-card__desc {
    font-size: .875rem;
    color: var(--tm-muted);
    margin-bottom: 1rem;
    flex: 1;
}

.tm-tour-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding-top: .75rem;
    border-top: 1px solid var(--tm-border);
}

.tm-tour-card__price-label {
    font-size: .75rem;
    color: var(--tm-muted);
    display: block;
}

.tm-tour-card__price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--tm-accent);
}

/* ── Features ── */
.tm-features {
    padding: 4rem 0;
    background: var(--tm-white);
}

.tm-feature {
    padding: 1.5rem;
    border-radius: var(--tm-radius);
    border: 1px solid var(--tm-border);
    height: 100%;
    transition: border-color .2s, box-shadow .2s;
}

.tm-feature:hover {
    border-color: var(--tm-blue-light);
    box-shadow: var(--tm-shadow);
}

.tm-feature__icon {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--tm-accent);
    margin-bottom: .75rem;
}

.tm-feature__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.tm-feature p {
    font-size: .875rem;
    color: var(--tm-muted);
    margin: 0;
}

/* ── Stats ── */
.tm-stats {
    padding: 3rem 0;
    background: var(--tm-blue);
    color: #fff;
}

.tm-stat__value {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: .35rem;
}

.tm-stat__label {
    font-size: .875rem;
    opacity: .8;
}

/* ── CTA ── */
.tm-cta { padding: 4rem 0; }

.tm-cta__box {
    background: linear-gradient(135deg, var(--tm-blue-dark), var(--tm-blue));
    border-radius: var(--tm-radius-lg);
    padding: 2.5rem;
    color: #fff;
}

.tm-cta__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: .75rem;
}

.tm-cta__text { opacity: .9; }

/* ── Reviews ── */
.tm-reviews {
    padding: 4rem 0 5rem;
    background: var(--tm-white);
}

.tm-review {
    background: var(--tm-bg);
    border-radius: var(--tm-radius);
    padding: 1.5rem;
    height: 100%;
    border: 1px solid var(--tm-border);
}

.tm-review p {
    font-size: .9375rem;
    color: var(--tm-text);
    margin-bottom: 1rem;
    font-style: italic;
}

.tm-review__author {
    font-weight: 700;
    font-size: .875rem;
    color: var(--tm-blue);
}

/* ── Footer ── */
.tm-footer {
    background: var(--tm-blue-dark);
    color: rgba(255,255,255,.75);
    padding: 3.5rem 0 0;
}

.tm-footer__brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
}

.tm-footer__desc {
    font-size: .875rem;
    line-height: 1.7;
    margin: 0;
}

.tm-footer__title {
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    font-size: .9375rem;
}

.tm-footer__links,
.tm-footer__contacts {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: .875rem;
}

.tm-footer__links li,
.tm-footer__contacts li { margin-bottom: .5rem; }

.tm-footer__links a {
    color: rgba(255,255,255,.75);
    transition: color .2s;
}

.tm-footer__links a:hover { color: var(--tm-accent); }

.tm-subscribe {
    display: flex;
    gap: .5rem;
}

.tm-subscribe .form-control {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    border-radius: 8px;
    font-size: .875rem;
}

.tm-subscribe .form-control::placeholder { color: rgba(255,255,255,.5); }

.tm-footer__bottom {
    margin-top: 2.5rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    font-size: .8125rem;
}

/* ── Detail page ── */
.tm-detail__hero {
    position: relative;
    min-height: 380px;
    background-size: cover;
    background-position: center;
}

.tm-detail__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8,48,88,.95) 0%, rgba(13,74,140,.5) 60%, rgba(13,74,140,.3) 100%);
}

.tm-detail__hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem 0 3rem;
    color: #fff;
}

.tm-breadcrumb {
    margin-bottom: 1.5rem;
}

.tm-breadcrumb .breadcrumb-item,
.tm-breadcrumb .breadcrumb-item a {
    color: rgba(255,255,255,.7);
    font-size: .875rem;
}

.tm-breadcrumb .breadcrumb-item.active { color: #fff; }
.tm-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

.tm-detail__route {
    font-size: .9375rem;
    font-weight: 600;
    color: #fdba74;
    margin-bottom: .5rem;
}

.tm-detail__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 1rem;
}

.tm-detail__tags { display: flex; gap: .5rem; flex-wrap: wrap; }

.tm-detail__tag {
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    padding: .3rem .875rem;
    border-radius: 999px;
    font-size: .8125rem;
    font-weight: 600;
}

.tm-detail__body { padding: 2.5rem 0 4rem; margin-top: -2rem; position: relative; z-index: 2; }

.tm-detail__card {
    background: var(--tm-white);
    border-radius: var(--tm-radius-lg);
    padding: 1.75rem;
    box-shadow: var(--tm-shadow);
    margin-bottom: 1.5rem;
}

.tm-detail__section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--tm-blue-dark);
}

.tm-detail__description {
    color: var(--tm-muted);
    line-height: 1.8;
    font-size: .9375rem;
}

.tm-detail__includes {
    padding-left: 1.25rem;
    margin: 0;
    color: var(--tm-muted);
}

.tm-detail__includes li { margin-bottom: .5rem; }

.tm-gallery img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: var(--tm-radius);
    transition: opacity .2s;
}

.tm-gallery a:hover img { opacity: .85; }

/* ── Booking sidebar ── */
.tm-booking {
    background: var(--tm-white);
    border-radius: var(--tm-radius-lg);
    box-shadow: var(--tm-shadow-lg);
    overflow: hidden;
    position: sticky;
    top: 5.5rem;
}

.tm-booking__price-block {
    background: linear-gradient(135deg, var(--tm-blue), var(--tm-blue-light));
    color: #fff;
    padding: 1.5rem;
}

.tm-booking__price-label {
    font-size: .8125rem;
    opacity: .85;
}

.tm-booking__price {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
}

.tm-booking__price-note {
    font-size: .75rem;
    opacity: .75;
}

.tm-booking__info {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--tm-border);
}

.tm-booking__info-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: .875rem;
    padding: .35rem 0;
}

.tm-booking__info-row span { color: var(--tm-muted); }

.tm-booking__form { padding: 1.5rem; }

.tm-booking__form-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: .35rem;
}

.tm-booking__form-text {
    font-size: .8125rem;
    color: var(--tm-muted);
    margin-bottom: 1rem;
}

.tm-booking__privacy {
    font-size: .75rem;
    color: var(--tm-muted);
    text-align: center;
    margin: .75rem 0 0;
}

.tm-booking__phone {
    padding: 1rem 1.5rem;
    background: var(--tm-bg);
    text-align: center;
    font-size: .875rem;
}

.tm-booking__phone span {
    display: block;
    color: var(--tm-muted);
    margin-bottom: .25rem;
}

.tm-booking__phone a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--tm-blue);
}

/* ── Forms ── */
.tm-request-form .form-label { font-weight: 600; font-size: .875rem; }
.tm-request-form .form-control {
    border-radius: 8px;
    border-color: var(--tm-border);
    padding: .625rem .875rem;
    font-size: .9375rem;
}
.tm-request-form .form-control:focus {
    border-color: var(--tm-blue-light);
    box-shadow: 0 0 0 3px rgba(26,111,212,.15);
}

/* ── Misc ── */
.tm-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--tm-muted);
}

.tm-page-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

main.tm-main { min-height: 50vh; }

.alert { border-radius: var(--tm-radius); margin: 1rem auto; max-width: 1140px; }

@media (max-width: 991px) {
    .tm-hero { min-height: 440px; }
    .tm-booking { position: static; }
    .tm-detail__body { margin-top: 0; }
}

@media (max-width: 767px) {
    .tm-hero__content { padding: 2.5rem 0; }
    .tm-tours-section,
    .tm-features,
    .tm-cta,
    .tm-reviews { padding: 2.5rem 0; }
    .tm-cta__box { padding: 1.5rem; }
    .tm-footer__bottom { flex-direction: column; }
    .tm-subscribe { flex-direction: column; }
}
