/* ==========================================================================
   TrekAura — public website theme (v3, "Alpine")
   Built on Bootstrap 5.3. Brand colours, type and radii are defined once
   in :root — change them here and the whole site follows.

   Contents
     1.  Tokens & base
     2.  Buttons, chips, badges
     3.  Offer bar, top bar & navigation
     4.  Hero (home) & page hero (inner pages)
     5.  Sections & headings
     6.  Trek cards & rails (horizontal sliders)
     7.  Offers
     8.  Home blocks (trust, why, community, guides, testimonials, CTA)
     9.  Trek detail page
     10. Gallery, lightbox grid, stories
     11. Reviews
     12. Booking flow & payment loader
     13. Account & auth pages
     14. Blog, CMS pages, FAQ, contact
     15. Footer, floating buttons, modal
     16. Utilities & responsive tweaks
   ========================================================================== */

/* 1. Tokens & base ======================================================== */
:root {
    --ta-forest: #16301a;
    --ta-forest-2: #1f3f22;
    --ta-green: #2d5a27;
    --ta-green-600: #3a7232;
    --ta-green-50: #eef5ec;
    --ta-green-100: #dcebd8;
    --ta-sun: #f5a524;
    --ta-sun-600: #df8d0a;
    --ta-sun-50: #fff6e5;
    --ta-sale: #e8590c;
    --ta-ink: #15211a;
    --ta-text: #3a4740;
    --ta-muted: #6b7a72;
    --ta-line: #e5e9e3;
    --ta-sand: #f7f6f1;
    --ta-white: #fff;

    --ta-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --ta-display: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;

    --ta-radius-sm: 10px;
    --ta-radius: 16px;
    --ta-radius-lg: 24px;
    --ta-shadow-sm: 0 2px 8px rgba(21, 33, 26, .06);
    --ta-shadow: 0 12px 32px -12px rgba(21, 33, 26, .18);
    --ta-shadow-lg: 0 30px 60px -20px rgba(21, 33, 26, .30);
    --ta-ease: cubic-bezier(.2, .7, .2, 1);
    --ta-nav-h: 76px;

    /* Bootstrap mapping: "success" = brand green, "warning" = sun */
    --bs-body-font-family: var(--ta-font);
    --bs-body-color: var(--ta-text);
    --bs-heading-color: var(--ta-ink);
    --bs-link-color: var(--ta-green);
    --bs-link-color-rgb: 45, 90, 39;
    --bs-link-hover-color: var(--ta-green-600);
    --bs-success: #2d5a27;
    --bs-success-rgb: 45, 90, 39;
    --bs-success-text-emphasis: #1f3f22;
    --bs-success-bg-subtle: #e6f0e3;
    --bs-success-border-subtle: #bfd7b9;
    --bs-warning: #f5a524;
    --bs-warning-rgb: 245, 165, 36;
    --bs-border-color: var(--ta-line);
    --bs-border-radius: 12px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--ta-nav-h) + 16px); }
body {
    font-family: var(--ta-font);
    color: var(--ta-text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
h1, h2, h3, h4, h5, h6, .display-font {
    font-family: var(--ta-display);
    color: var(--ta-ink);
    font-weight: 700;
    letter-spacing: -.01em;
}
a { color: var(--ta-green); text-underline-offset: 3px; }
a:hover { color: var(--ta-green-600); }
img { max-width: 100%; }
::selection { background: var(--ta-sun); color: var(--ta-ink); }

.skip-link {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 3000;
    background: #fff;
    padding: 8px 14px;
    border-radius: 8px;
}
.hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.form-control,
.form-select {
    border-radius: 12px;
    border-color: #dfe4dc;
    padding: .7rem .95rem;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--ta-green-600);
    box-shadow: 0 0 0 .22rem rgba(45, 90, 39, .15);
}
.form-label { font-weight: 600; font-size: .86rem; color: var(--ta-ink); }
.input-group-text { border-color: #dfe4dc; background: var(--ta-sand); border-radius: 12px; }
.form-check-input:checked { background-color: var(--ta-green); border-color: var(--ta-green); }
.form-check-input:focus { box-shadow: 0 0 0 .22rem rgba(45, 90, 39, .15); }

/* 2. Buttons, chips, badges ============================================== */
.btn {
    border-radius: 999px;
    font-weight: 600;
    padding: .62rem 1.35rem;
    transition: transform .2s var(--ta-ease), box-shadow .2s var(--ta-ease), background-color .2s, color .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: .85rem 1.8rem; font-size: 1.02rem; }
.btn-sm { padding: .42rem .95rem; font-size: .85rem; }
.btn-success,
.btn-brand {
    --bs-btn-bg: var(--ta-green);
    --bs-btn-border-color: var(--ta-green);
    --bs-btn-hover-bg: var(--ta-forest-2);
    --bs-btn-hover-border-color: var(--ta-forest-2);
    --bs-btn-active-bg: var(--ta-forest);
    --bs-btn-active-border-color: var(--ta-forest);
    --bs-btn-disabled-bg: var(--ta-green);
    --bs-btn-disabled-border-color: var(--ta-green);
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-color: #fff;
    box-shadow: 0 8px 20px -10px rgba(45, 90, 39, .7);
}
.btn-warning,
.btn-sun {
    --bs-btn-bg: var(--ta-sun);
    --bs-btn-border-color: var(--ta-sun);
    --bs-btn-hover-bg: var(--ta-sun-600);
    --bs-btn-hover-border-color: var(--ta-sun-600);
    --bs-btn-active-bg: var(--ta-sun-600);
    --bs-btn-active-border-color: var(--ta-sun-600);
    --bs-btn-color: var(--ta-ink);
    --bs-btn-hover-color: var(--ta-ink);
    --bs-btn-active-color: var(--ta-ink);
    --bs-btn-disabled-bg: var(--ta-sun);
    --bs-btn-disabled-border-color: var(--ta-sun);
    box-shadow: 0 8px 20px -10px rgba(223, 141, 10, .8);
}
.btn-outline-success {
    --bs-btn-color: var(--ta-green);
    --bs-btn-border-color: #bfd7b9;
    --bs-btn-hover-bg: var(--ta-green);
    --bs-btn-hover-border-color: var(--ta-green);
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--ta-forest-2);
    --bs-btn-active-border-color: var(--ta-forest-2);
}
.btn-ghost-light {
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { background: #fff; color: var(--ta-ink); border-color: #fff; }
.btn-soft {
    background: var(--ta-green-50);
    color: var(--ta-green);
    border: 0;
}
.btn-soft:hover { background: var(--ta-green-100); color: var(--ta-forest); }
.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.hover-lift { transition: transform .25s var(--ta-ease), box-shadow .25s var(--ta-ease); }
.hover-lift:hover { transform: translateY(-3px); box-shadow: var(--ta-shadow); }

.chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .38rem .85rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    background: var(--ta-green-50);
    color: var(--ta-green);
    white-space: nowrap;
}
.chip-sun { background: var(--ta-sun-50); color: #9a5b00; }
.chip-sale { background: var(--ta-sale); color: #fff; }
.chip-dark { background: rgba(21, 33, 26, .72); color: #fff; backdrop-filter: blur(4px); }
.chip-light { background: rgba(255, 255, 255, .92); color: var(--ta-ink); }
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem 1.05rem;
    border-radius: 999px;
    border: 1.5px solid var(--ta-line);
    background: #fff;
    color: var(--ta-text);
    font-weight: 600;
    font-size: .88rem;
    text-decoration: none;
    transition: all .2s;
}
.filter-chip:hover { border-color: var(--ta-green); color: var(--ta-green); }
.filter-chip.active { background: var(--ta-green); border-color: var(--ta-green); color: #fff; }
.code-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .3rem .4rem .3rem .8rem;
    border: 1.5px dashed currentColor;
    border-radius: 10px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-weight: 700;
    letter-spacing: .06em;
    background: rgba(255, 255, 255, .08);
    cursor: pointer;
    color: inherit;
    line-height: 1.2;
}
.code-chip .copy {
    font-family: var(--ta-font);
    letter-spacing: 0;
    font-size: .72rem;
    font-weight: 700;
    padding: .25rem .55rem;
    border-radius: 7px;
    background: var(--ta-sun);
    color: var(--ta-ink);
}
.code-chip.copied .copy { background: #fff; }

/* 3. Offer bar, top bar & navigation ===================================== */
.offer-bar {
    position: relative;
    z-index: 1031;
    color: #fff;
    background:
        radial-gradient(1200px 120px at 10% 0, rgba(245, 165, 36, .35), transparent 60%),
        linear-gradient(90deg, #8a2d00, var(--ta-sale) 45%, #f08c00);
    font-size: .9rem;
}
.offer-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .9rem;
    min-height: 44px;
    padding: .35rem 2.6rem .35rem 1rem;
    text-align: center;
    flex-wrap: wrap;
}
.offer-bar .offer-slide { display: none; align-items: center; justify-content: center; gap: .75rem; flex-wrap: wrap; }
.offer-bar .offer-slide.is-active { display: flex; animation: taFadeUp .45s var(--ta-ease); }
.offer-bar .offer-ico {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.offer-bar strong { font-weight: 800; }
.offer-bar .code-chip { padding: .15rem .3rem .15rem .6rem; font-size: .8rem; }
.offer-bar .offer-left {
    font-size: .76rem;
    font-weight: 700;
    background: rgba(0, 0, 0, .22);
    padding: .2rem .6rem;
    border-radius: 999px;
}
.offer-bar .offer-cta { color: #fff; font-weight: 700; text-decoration: underline; }
.offer-bar .offer-close {
    position: absolute;
    right: .6rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    color: #fff;
    opacity: .8;
    font-size: 1.1rem;
}
.countdown { display: inline-flex; gap: .25rem; font-variant-numeric: tabular-nums; font-weight: 700; }
.countdown span {
    background: rgba(0, 0, 0, .25);
    border-radius: 6px;
    padding: .1rem .35rem;
    min-width: 2.1em;
    text-align: center;
}
.countdown small { font-size: .62rem; opacity: .85; margin-left: 1px; font-weight: 600; }

.top-bar {
    background: var(--ta-forest);
    color: rgba(255, 255, 255, .82);
    font-size: .82rem;
}
.top-bar a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.top-bar a:hover { color: var(--ta-sun); }
.top-bar .container { min-height: 38px; }
.top-bar .top-links { display: flex; align-items: center; gap: 1.1rem; }

.site-nav {
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid transparent;
    min-height: var(--ta-nav-h);
    padding: .45rem 0;
    transition: box-shadow .25s, border-color .25s, background .25s;
    z-index: 1030;
}
.site-nav.is-scrolled { box-shadow: 0 10px 30px -18px rgba(21, 33, 26, .35); border-bottom-color: var(--ta-line); }
.navbar-brand { display: flex; align-items: center; gap: .6rem; margin-right: 1.5rem; }
.site-logo { height: 52px; width: auto; max-width: 220px; object-fit: contain; }
.brand-text {
    font-family: var(--ta-display);
    font-weight: 800;
    font-size: 1.55rem;
    color: var(--ta-green);
    letter-spacing: -.02em;
    display: none;
    align-items: center;
    gap: .45rem;
}
.brand-text i { color: var(--ta-sun); }
.logo-failed .site-logo,
.logo-failed .footer-logo { display: none !important; }
.logo-failed .brand-text { display: inline-flex; }
.site-nav .nav-link {
    font-weight: 600;
    font-size: .95rem;
    color: var(--ta-ink);
    padding: .55rem .85rem !important;
    border-radius: 999px;
    position: relative;
}
.site-nav .nav-link:hover,
.site-nav .nav-link.active { color: var(--ta-green); background: var(--ta-green-50); }
.site-nav .dropdown-toggle::after { vertical-align: .15em; }
.mega-menu {
    border-radius: 0 0 var(--ta-radius-lg) var(--ta-radius-lg);
    border-top: 1px solid var(--ta-line) !important;
}
/* Desktop: full-width panel anchored to the sticky navbar (not to the "Treks" link) */
@media (min-width: 992px) {
    .site-nav .mega-menu-dropdown { position: static; }
    .site-nav .mega-menu {
        position: absolute;
        top: 100%;
        left: 0 !important;
        right: 0 !important;
        width: 100%;
        margin-top: 0;
        max-height: calc(100vh - var(--ta-nav-h) - 20px);
        overflow-y: auto;
    }
}
@media (min-width: 992px) {
    /* Opened by JS (.is-open, with a short close delay) — :focus-within keeps keyboard access */
    .mega-menu-dropdown.is-open > .mega-menu,
    .mega-menu-dropdown:focus-within > .mega-menu { display: block; animation: taFadeUp .25s var(--ta-ease); }
    /* invisible bridge under the "Treks" link so the pointer can travel down to the panel */
    .mega-menu-dropdown > .nav-link::before {
        content: '';
        position: absolute;
        left: -20px;
        right: -20px;
        top: 100%;
        height: 40px;
    }
    .nav-item.dropdown:hover > .account-menu { display: block; }
}
.mega-list a {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem .75rem;
    border-radius: 10px;
    color: var(--ta-ink);
    font-weight: 600;
    text-decoration: none;
    font-size: .93rem;
}
.mega-list a:hover { background: var(--ta-green-50); color: var(--ta-green); }
.mega-list a .meta { margin-left: auto; font-size: .78rem; color: var(--ta-muted); font-weight: 500; }
.mega-feature {
    position: relative;
    display: block;
    border-radius: var(--ta-radius);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--ta-green-50);
}
.mega-feature img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ta-ease); }
.mega-feature:hover img { transform: scale(1.06); }
.mega-feature-name {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.2rem 1rem .9rem;
    color: #fff;
    font-weight: 700;
    font-family: var(--ta-display);
    font-size: 1.1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, .75));
}
.nav-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ta-green);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .9rem;
}
.account-menu { min-width: 240px; border-radius: var(--ta-radius); border: 1px solid var(--ta-line); box-shadow: var(--ta-shadow); }
.account-menu .dropdown-item { border-radius: 8px; padding: .5rem .75rem; font-weight: 500; }
.nav-cta { margin-left: .6rem; }

.mobile-menu { background: var(--ta-forest); color: #fff; width: min(360px, 88vw) !important; }
.mobile-menu .offcanvas-header { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mobile-menu .nav-link {
    color: #fff;
    padding: .9rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mobile-menu .nav-link:hover { background: rgba(255, 255, 255, .06); color: var(--ta-sun); }
.mobile-menu .dropdown-menu {
    position: static !important;
    transform: none !important;
    background: rgba(0, 0, 0, .18);
    border: 0;
    border-radius: 0;
    margin: 0;
    padding: .25rem 0;
}
.mobile-menu .dropdown-item { color: rgba(255, 255, 255, .85); padding: .6rem 1.75rem; }
.mobile-menu .dropdown-item:hover { background: transparent; color: var(--ta-sun); }

/* 4. Hero & page hero ===================================================== */
.hero {
    position: relative;
    min-height: min(88vh, 820px);
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    background: var(--ta-forest);
}
.hero .carousel,
.hero .carousel-inner,
.hero .carousel-item { position: absolute; inset: 0; height: 100%; }
.hero .carousel-item img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s linear; }
.hero .carousel-item.active img { transform: scale(1.12); }
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 22, 12, .55) 0%, rgba(10, 22, 12, .15) 35%, rgba(10, 22, 12, .78) 100%),
        linear-gradient(90deg, rgba(10, 22, 12, .65) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; padding-top: 6rem; padding-bottom: 9rem; width: 100%; }
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(8px);
    padding: .4rem .9rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .85rem;
    margin-bottom: 1.2rem;
}
.hero h1 {
    color: #fff;
    font-size: clamp(2.4rem, 5.6vw, 4.6rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.03em;
    max-width: 14ch;
    text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}
.hero h1 .hl { color: var(--ta-sun); }
.hero-lead { font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .88); max-width: 52ch; margin: 1.1rem 0 1.8rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.2rem; }
.hero-proof div { line-height: 1.15; }
.hero-proof strong { display: block; font-family: var(--ta-display); font-size: 1.7rem; color: #fff; }
.hero-proof span { font-size: .82rem; color: rgba(255, 255, 255, .75); }
.hero .carousel-indicators { z-index: 3; bottom: 7.2rem; justify-content: flex-start; margin-left: max(1rem, calc((100vw - 1296px) / 2 + .75rem)); }
.hero .carousel-indicators [data-bs-target] { width: 28px; height: 4px; border-radius: 4px; border: 0; }
.hero-search-wrap { position: relative; z-index: 5; margin-top: -4.2rem; }
.hero-search {
    background: #fff;
    border-radius: var(--ta-radius-lg);
    box-shadow: var(--ta-shadow-lg);
    padding: 1rem;
}
.hero-search .hs-field {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .5rem .9rem;
    border-radius: 14px;
    height: 100%;
}
.hero-search .hs-field + .hs-field { border-left: 1px solid var(--ta-line); }
.hero-search .hs-field i { font-size: 1.25rem; color: var(--ta-green); }
.hero-search label { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ta-muted); margin: 0; }
.hero-search .form-control,
.hero-search .form-select { border: 0; padding: .1rem 0; font-weight: 600; color: var(--ta-ink); background-color: transparent; box-shadow: none; }
.hero-search .btn { height: 100%; min-height: 56px; border-radius: 14px; }

.page-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background: var(--ta-forest) var(--hero-bg) center / cover no-repeat;
    isolation: isolate;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(10, 22, 12, .35), rgba(10, 22, 12, .82));
}
.page-hero-inner { padding-top: 4.5rem; padding-bottom: 3rem; width: 100%; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; margin-bottom: .5rem; letter-spacing: -.02em; }
.page-hero p { color: rgba(255, 255, 255, .85); max-width: 680px; margin: 0; font-size: 1.05rem; }
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255, 255, 255, .6); margin-bottom: .9rem; font-size: .85rem; font-weight: 600; }
.page-hero .breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: var(--ta-sun); }
.page-hero .breadcrumb-item.active { color: var(--ta-sun); }
.page-hero.is-compact { min-height: 240px; }

/* 5. Sections & headings ================================================= */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-sm { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.bg-sand { background: var(--ta-sand); }
.bg-forest { background: var(--ta-forest); color: rgba(255, 255, 255, .85); }
.bg-forest h1, .bg-forest h2, .bg-forest h3, .bg-forest h4, .bg-forest h5 { color: #fff; }
.sec-head { margin-bottom: 2.4rem; max-width: 760px; }
.sec-head.text-center { margin-left: auto; margin-right: auto; }
.sec-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ta-sun-600);
    margin-bottom: .6rem;
}
.sec-kicker::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.text-center .sec-kicker::after { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.sec-title { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; line-height: 1.12; margin-bottom: .75rem; }
.sec-desc { color: var(--ta-muted); font-size: 1.04rem; margin: 0; }
.is-light .sec-title { color: #fff; }
.is-light .sec-desc { color: rgba(255, 255, 255, .78); }
.is-light .sec-kicker { color: var(--ta-sun); }
/* legacy helpers kept for CMS content */
.section-kicker { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ta-sun-600); }

/* 6. Trek cards & rails ================================================== */
.tcard {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: var(--ta-radius-lg);
    overflow: hidden;
    border: 1px solid var(--ta-line);
    box-shadow: var(--ta-shadow-sm);
    transition: transform .35s var(--ta-ease), box-shadow .35s var(--ta-ease), border-color .35s;
}
.tcard:hover { transform: translateY(-6px); box-shadow: var(--ta-shadow); border-color: transparent; }
.tcard-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ta-green-50); }
.tcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ta-ease); }
.tcard:hover .tcard-media img { transform: scale(1.07); }
.tcard-media::after {
    content: '';
    position: absolute;
    inset: 55% 0 0 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, .55));
    pointer-events: none;
}
.tcard-badges { position: absolute; top: .85rem; left: .85rem; right: .85rem; display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; z-index: 2; }
.tcard-badges .stack { display: flex; flex-direction: column; gap: .4rem; align-items: flex-start; }
.tcard-facts { position: absolute; left: .85rem; bottom: .8rem; z-index: 2; display: flex; gap: .4rem; flex-wrap: wrap; }
.tcard-facts .chip { background: rgba(255, 255, 255, .95); color: var(--ta-ink); font-size: .75rem; padding: .3rem .65rem; }
.tcard-body { padding: 1.15rem 1.25rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.tcard-loc { font-size: .8rem; font-weight: 600; color: var(--ta-muted); display: flex; align-items: center; gap: .35rem; margin-bottom: .3rem; }
.tcard-title { font-size: 1.22rem; font-weight: 700; margin: 0 0 .45rem; line-height: 1.25; }
.tcard-title a { color: inherit; text-decoration: none; }
.tcard-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; } /* whole card clickable */
.tcard-desc {
    font-size: .9rem;
    color: var(--ta-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: .9rem;
}
.tcard-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.tcard-foot {
    margin-top: auto;
    padding-top: .95rem;
    border-top: 1px dashed var(--ta-line);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: .75rem;
}
.tcard-foot .btn { position: relative; z-index: 2; white-space: nowrap; flex: 0 0 auto; } /* real link above the card overlay */
.price-block { line-height: 1.1; }
.price-block .from { font-size: .72rem; color: var(--ta-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.price-block .now { font-family: var(--ta-display); font-size: 1.45rem; font-weight: 800; color: var(--ta-ink); }
.price-block .now.is-sale { color: var(--ta-sale); }
.price-block del { color: #9aa49f; font-size: .9rem; margin-left: .35rem; }
.price-block .per { font-size: .74rem; color: var(--ta-muted); }
.tcard-offer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .7rem;
    border-radius: 12px;
    background: var(--ta-sun-50);
    color: #8a5300;
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: .9rem;
}
.tcard-offer .code-chip { font-size: .72rem; padding: .1rem .5rem; border-width: 1px; margin-left: auto; }
.seats-left { font-size: .76rem; font-weight: 700; color: var(--ta-sale); }

.rail-wrap { position: relative; }
.rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 2 * 1.5rem) / 3);
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: .5rem .25rem 1.5rem;
    margin: 0 -.25rem;
    scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; min-width: 0; }
.rail-4 { grid-auto-columns: calc((100% - 3 * 1.5rem) / 4); }
.rail-nav { display: flex; gap: .5rem; }
.rail-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid var(--ta-line);
    background: #fff;
    color: var(--ta-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}
.rail-btn:hover:not(:disabled) { background: var(--ta-green); border-color: var(--ta-green); color: #fff; }
.rail-btn:disabled { opacity: .35; }
.is-light .rail-btn { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: #fff; }

/* tour cards (popular tours page) use the same .tcard component */

/* 7. Offers =============================================================== */
.offers-section { position: relative; }
.offer-card {
    position: relative;
    height: 100%;
    border-radius: var(--ta-radius-lg);
    padding: 1.6rem;
    color: #fff;
    overflow: hidden;
    background:
        radial-gradient(400px 200px at 110% -10%, rgba(245, 165, 36, .55), transparent 60%),
        linear-gradient(135deg, var(--ta-forest) 0%, var(--ta-green) 100%);
    box-shadow: var(--ta-shadow);
    display: flex;
    flex-direction: column;
}
.offer-card.is-sale {
    background:
        radial-gradient(400px 200px at 110% -10%, rgba(255, 214, 102, .55), transparent 60%),
        linear-gradient(135deg, #7a2400 0%, var(--ta-sale) 100%);
}
.offer-card::after {
    content: '';
    position: absolute;
    right: -30px;
    bottom: -40px;
    width: 220px;
    height: 140px;
    opacity: .12;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 140'%3E%3Cpath fill='%23fff' d='M0 140 70 30l35 50 30-40 85 100z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.offer-card .save {
    font-family: var(--ta-display);
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.02em;
}
.offer-card h3 { color: #fff; font-size: 1.25rem; margin: .5rem 0 .35rem; }
.offer-card p { color: rgba(255, 255, 255, .82); font-size: .9rem; }
.offer-progress { height: 8px; background: rgba(255, 255, 255, .2); border-radius: 8px; overflow: hidden; margin: .4rem 0 .35rem; }
.offer-progress span { display: block; height: 100%; background: var(--ta-sun); border-radius: 8px; }
.offer-card .countdown span { background: rgba(0, 0, 0, .28); padding: .3rem .45rem; font-size: 1rem; }
.offer-card .actions { margin-top: auto; padding-top: 1rem; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; position: relative; z-index: 1; }

/* 8. Home blocks ========================================================== */
.trust-strip { border-bottom: 1px solid var(--ta-line); }
.trust-item { display: flex; align-items: center; gap: .9rem; }
.trust-item .ico {
    flex: 0 0 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--ta-green-50);
    color: var(--ta-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}
.trust-item strong { display: block; color: var(--ta-ink); font-size: .98rem; }
.trust-item span { font-size: .84rem; color: var(--ta-muted); }

.stat-card {
    text-align: center;
    padding: 1.6rem 1rem;
    border-radius: var(--ta-radius-lg);
    background: #fff;
    border: 1px solid var(--ta-line);
    height: 100%;
}
.stat-card .stat-value { font-family: var(--ta-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--ta-green); line-height: 1; }
.stat-card p { margin: .5rem 0 0; color: var(--ta-muted); font-weight: 600; font-size: .9rem; }
.feature-card {
    height: 100%;
    padding: 1.6rem;
    border-radius: var(--ta-radius-lg);
    background: #fff;
    border: 1px solid var(--ta-line);
    transition: transform .3s var(--ta-ease), box-shadow .3s var(--ta-ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--ta-shadow); }
.feature-card .ico {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--ta-green), var(--ta-green-600));
    color: #fff;
    font-size: 1.45rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 10px 20px -10px rgba(45, 90, 39, .8);
}
.feature-card h3, .feature-card h5 { font-size: 1.1rem; margin-bottom: .4rem; }
.feature-card p { color: var(--ta-muted); font-size: .92rem; margin: 0; }

.community {
    position: relative;
    color: #fff;
    background: var(--ta-forest) var(--bg-img) center / cover no-repeat;
    isolation: isolate;
}
.community::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 22, 12, .94) 30%, rgba(10, 22, 12, .6)); z-index: -1; }
.community h2 { color: #fff; }
.community .benefit { display: flex; gap: .9rem; align-items: flex-start; }
.community .benefit .ico {
    flex: 0 0 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .12);
    color: var(--ta-sun);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}
.community .benefit h3, .community .benefit h6 { color: #fff; font-size: 1rem; margin: 0 0 .15rem; }
.community .benefit p { margin: 0; color: rgba(255, 255, 255, .72); font-size: .88rem; }
.form-card {
    background: #fff;
    color: var(--ta-text);
    border-radius: var(--ta-radius-lg);
    box-shadow: var(--ta-shadow-lg);
    overflow: hidden;
}
.form-card-head { padding: 1.5rem 1.75rem 0; }
.form-card-body { padding: 1.25rem 1.75rem 1.75rem; }

.guide-card {
    position: relative;
    border-radius: var(--ta-radius-lg);
    overflow: hidden;
    background: var(--ta-green-50);
    aspect-ratio: 3 / 4;
    height: 100%;
}
.guide-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ta-ease); }
.guide-card:hover img { transform: scale(1.06); }
.guide-card .info {
    position: absolute;
    inset: auto 0 0 0;
    padding: 3rem 1.1rem 1.1rem;
    color: #fff;
    background: linear-gradient(transparent, rgba(10, 22, 12, .92));
}
.guide-card h3, .guide-card h5 { color: #fff; font-size: 1.1rem; margin: 0 0 .15rem; }
.guide-card p { margin: 0; font-size: .8rem; color: rgba(255, 255, 255, .8); }

.homestay-card {
    height: 100%;
    border-radius: var(--ta-radius-lg);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ta-line);
    transition: transform .3s var(--ta-ease), box-shadow .3s var(--ta-ease);
}
.homestay-card:hover { transform: translateY(-4px); box-shadow: var(--ta-shadow); }
.homestay-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.homestay-card .body { padding: 1.25rem; }
.homestay-card .ico { font-size: 1.8rem; color: var(--ta-green); }

.quote-card {
    height: 100%;
    background: #fff;
    border-radius: var(--ta-radius-lg);
    padding: 1.6rem;
    border: 1px solid var(--ta-line);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.quote-card .quote-mark { font-size: 2rem; color: var(--ta-sun); line-height: 1; }
.quote-card p { color: var(--ta-text); margin: 0; flex: 1; }
.quote-card .who { display: flex; align-items: center; gap: .75rem; }
.quote-card .who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--ta-green-50); }
.quote-card .who strong { display: block; color: var(--ta-ink); }
.stars { color: #f5a524; letter-spacing: 1px; }
.stars .off { color: #d9ddd7; }

.cta-band {
    position: relative;
    border-radius: var(--ta-radius-lg);
    padding: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    overflow: hidden;
    background:
        radial-gradient(600px 300px at 100% 0, rgba(245, 165, 36, .35), transparent 60%),
        linear-gradient(120deg, var(--ta-forest), var(--ta-green));
}
.cta-band h2, .cta-band h3 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .8); }

/* stories strip (mobile, home) */
.stories-bar { display: flex; gap: .9rem; overflow-x: auto; scrollbar-width: none; padding: .25rem .1rem; }
.stories-bar::-webkit-scrollbar { display: none; }
.story-item { background: none; border: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: .35rem; width: 72px; flex: 0 0 72px; }
.story-ring { padding: 3px; border-radius: 50%; background: conic-gradient(var(--ta-sun), var(--ta-sale), var(--ta-green), var(--ta-sun)); }
.story-avatar { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; display: block; background: var(--ta-green-50); }
.story-title { font-size: .72rem; font-weight: 600; color: var(--ta-ink); text-align: center; line-height: 1.2; max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 9. Trek detail page ===================================================== */
.trek-hero {
    position: relative;
    min-height: min(78vh, 680px);
    display: flex;
    align-items: flex-end;
    color: #fff;
    background: var(--ta-forest);
    overflow: hidden;
}
.trek-hero .carousel,
.trek-hero .carousel-inner,
.trek-hero .carousel-item { position: absolute; inset: 0; height: 100%; }
.trek-hero .carousel-item img { width: 100%; height: 100%; object-fit: cover; }
.trek-hero::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 22, 12, .45) 0%, rgba(10, 22, 12, .2) 40%, rgba(10, 22, 12, .9) 100%); pointer-events: none; }
.trek-hero-content { position: relative; z-index: 2; width: 100%; padding-top: 6rem; padding-bottom: 2.5rem; }
.trek-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.03em; margin: .6rem 0 .5rem; }
.trek-hero .tagline { color: rgba(255, 255, 255, .88); font-size: 1.1rem; max-width: 60ch; }
.trek-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255, 255, 255, .6); font-size: .85rem; font-weight: 600; margin: 0; }
.trek-hero .breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.trek-hero .breadcrumb-item.active { color: var(--ta-sun); }
.trek-hero .hero-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.2rem; }
.trek-hero .rating-pill { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255, 255, 255, .15); backdrop-filter: blur(6px); border-radius: 999px; padding: .3rem .8rem; font-weight: 700; font-size: .85rem; }
.trek-hero .carousel-control-prev,
.trek-hero .carousel-control-next { z-index: 3; width: 7%; }
.trek-hero .photo-count { position: absolute; right: 1.25rem; bottom: 1.25rem; z-index: 3; }

.facts-bar { position: relative; z-index: 4; margin-top: -1px; background: #fff; border-bottom: 1px solid var(--ta-line); }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.fact { display: flex; align-items: center; gap: .75rem; padding: 1.1rem 1rem; border-right: 1px solid var(--ta-line); }
.fact:last-child { border-right: 0; }
.fact i { font-size: 1.35rem; color: var(--ta-green); flex: 0 0 auto; }
.fact .k { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--ta-muted); }
.fact .v { font-weight: 700; color: var(--ta-ink); font-size: .95rem; line-height: 1.25; }

.trek-subnav {
    position: sticky;
    top: var(--ta-nav-h);
    z-index: 20;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--ta-line);
}
.trek-subnav .nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: .25rem; }
.trek-subnav .nav::-webkit-scrollbar { display: none; }
.trek-subnav .nav-link { white-space: nowrap; color: var(--ta-muted); font-weight: 600; font-size: .9rem; padding: .95rem .9rem; border-bottom: 2.5px solid transparent; border-radius: 0; }
.trek-subnav .nav-link:hover,
.trek-subnav .nav-link.active { color: var(--ta-green); border-bottom-color: var(--ta-green); }

.trek-section { padding-top: 2.6rem; }
.trek-section + .trek-section { border-top: 1px solid var(--ta-line); margin-top: 2.6rem; }
.trek-section > h2 { font-size: 1.65rem; font-weight: 800; margin-bottom: 1.2rem; display: flex; align-items: center; gap: .6rem; }
.trek-section > h2 i { color: var(--ta-sun-600); font-size: 1.3rem; }
.cms-content { line-height: 1.75; }
.cms-content img { border-radius: var(--ta-radius); height: auto; }
.cms-content h2, .cms-content h3 { margin-top: 1.6rem; }
.cms-content table { width: 100%; margin: 1rem 0; border-collapse: collapse; }
.cms-content td, .cms-content th { border: 1px solid var(--ta-line); padding: .55rem .75rem; }
.highlight-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .9rem; }
.highlight {
    display: flex;
    gap: .8rem;
    padding: 1rem;
    border-radius: var(--ta-radius);
    background: var(--ta-sand);
    border: 1px solid var(--ta-line);
}
.highlight i { color: var(--ta-green); font-size: 1.25rem; flex: 0 0 auto; }
.highlight strong { color: var(--ta-ink); display: block; font-size: .95rem; }
.highlight span { color: var(--ta-muted); font-size: .86rem; }

.itinerary { position: relative; }
.itinerary .day {
    position: relative;
    padding: 0 0 1.6rem 3.4rem;
}
.itinerary .day::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 42px;
    bottom: 0;
    width: 2px;
    background: repeating-linear-gradient(var(--ta-green-100) 0 6px, transparent 6px 12px);
}
.itinerary .day:last-child::before { display: none; }
.itinerary .day-num {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ta-green);
    color: #fff;
    font-family: var(--ta-display);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 5px var(--ta-green-50);
}
.itinerary .day-card { border: 1px solid var(--ta-line); border-radius: var(--ta-radius); background: #fff; overflow: hidden; }
.itinerary .day-head {
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    padding: .95rem 1.1rem;
    display: flex;
    align-items: center;
    gap: .75rem;
}
.itinerary .day-head .lbl { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ta-sun-600); }
.itinerary .day-head h3 { font-size: 1.05rem; margin: 0; }
.itinerary .day-head .chev { margin-left: auto; transition: transform .25s; color: var(--ta-muted); }
.itinerary .day-head[aria-expanded="true"] .chev { transform: rotate(180deg); }
.itinerary .day-body { padding: 0 1.1rem 1.1rem; color: var(--ta-text); }
.itinerary .day-body img { border-radius: 12px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: .9rem; }
.itinerary .day-body ul { padding-left: 1.1rem; margin: .5rem 0 0; }
.itinerary .day-body li { margin-bottom: .25rem; }

.incl-card { height: 100%; border-radius: var(--ta-radius); padding: 1.3rem; border: 1px solid var(--ta-line); }
.incl-card.is-in { background: #f3f8f1; border-color: #d3e5cd; }
.incl-card.is-out { background: #fdf4f1; border-color: #f3d6cc; }
.incl-card h3 { font-size: 1.05rem; margin-bottom: .9rem; display: flex; align-items: center; gap: .5rem; }
.incl-card ul { list-style: none; padding: 0; margin: 0; }
.incl-card li { display: flex; gap: .6rem; padding: .35rem 0; font-size: .93rem; }
.incl-card.is-in li i { color: var(--ta-green); }
.incl-card.is-out li i { color: #c2410c; }
.carry-list { columns: 3 200px; column-gap: 1.5rem; padding: 0; list-style: none; margin: 0; }
.carry-list li { break-inside: avoid; display: flex; gap: .5rem; padding: .35rem 0; font-size: .93rem; }
.carry-list li i { color: var(--ta-green); }
.map-frame { border-radius: var(--ta-radius); overflow: hidden; border: 1px solid var(--ta-line); }
.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; }
.ta-accordion .accordion-item { border: 1px solid var(--ta-line); border-radius: var(--ta-radius) !important; overflow: hidden; margin-bottom: .7rem; }
.ta-accordion .accordion-button { font-weight: 700; color: var(--ta-ink); padding: 1rem 1.2rem; background: #fff; box-shadow: none; }
.ta-accordion .accordion-button:not(.collapsed) { background: var(--ta-green-50); color: var(--ta-green); }
.ta-accordion .accordion-button:focus { box-shadow: none; }
.ta-accordion .accordion-body { color: var(--ta-text); }

.book-card {
    position: sticky;
    top: calc(var(--ta-nav-h) + 64px);
    background: #fff;
    border-radius: var(--ta-radius-lg);
    border: 1px solid var(--ta-line);
    box-shadow: var(--ta-shadow);
    overflow: hidden;
}
.book-card-head { padding: 1.4rem 1.5rem 1.1rem; border-bottom: 1px solid var(--ta-line); }
.book-card-body { padding: 1.2rem 1.5rem 1.5rem; }
.book-card .price-block .now { font-size: 2.1rem; }
.book-card .sale-flag {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem 1.5rem;
    background: linear-gradient(90deg, var(--ta-sale), #f08c00);
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
}
.book-card .sale-flag .countdown span { background: rgba(0, 0, 0, .22); font-size: .78rem; }
.dates-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.dates-list li + li { border-top: 1px solid var(--ta-line); }
.dates-list a,
.dates-list .row-in { display: flex; align-items: center; justify-content: space-between; padding: .6rem .1rem; color: var(--ta-ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.dates-list a:hover { color: var(--ta-green); }
.dates-list .seats { font-size: .78rem; font-weight: 700; }
.addons-mini { font-size: .84rem; color: var(--ta-muted); }
.addons-mini li { margin-bottom: .2rem; }
.help-box { display: flex; gap: .75rem; align-items: center; padding: .9rem; background: var(--ta-sand); border-radius: var(--ta-radius); }
.help-box .ico { width: 42px; height: 42px; border-radius: 50%; background: var(--ta-green); color: #fff; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }

.mobile-book-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    background: #fff;
    border-top: 1px solid var(--ta-line);
    box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .2);
    padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}
.mobile-book-bar .price-block .now { font-size: 1.25rem; }
.has-book-bar .wa-float { bottom: 92px; }
@media (max-width: 991.98px) { .has-book-bar { padding-bottom: 76px; } }

/* 10. Gallery, lightbox grid, stories ===================================== */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 170px;
    gap: .6rem;
}
.photo-grid a { position: relative; display: block; border-radius: 14px; overflow: hidden; background: var(--ta-green-50); }
.photo-grid a:first-child { grid-column: span 2; grid-row: span 2; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ta-ease); }
.photo-grid a:hover img { transform: scale(1.06); }
.photo-grid .more {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: rgba(10, 22, 12, .62);
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
}
.photo-grid .more strong { font-family: var(--ta-display); font-size: 1.9rem; line-height: 1; }
.photo-grid a.is-hidden-thumb { display: none; }

.masonry-grid { columns: 3 300px; column-gap: 1rem; }
.masonry-item { break-inside: avoid; margin-bottom: 1rem; border-radius: var(--ta-radius); overflow: hidden; position: relative; background: var(--ta-green-50); }
.masonry-item.is-hidden { display: none; }
.masonry-item a { display: block; position: relative; color: #fff; }
.masonry-item img { width: 100%; display: block; transition: transform .7s var(--ta-ease); }
.masonry-item:hover img { transform: scale(1.05); }
.masonry-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.1rem;
    background: linear-gradient(transparent 40%, rgba(10, 22, 12, .85));
    opacity: 0;
    transition: opacity .35s;
}
.masonry-item:hover .masonry-overlay,
.masonry-item:focus-within .masonry-overlay { opacity: 1; }
.masonry-overlay h3, .masonry-overlay h5 { color: #fff; font-size: 1rem; margin: .4rem 0 .15rem; }
.masonry-overlay p { margin: 0; font-size: .8rem; color: rgba(255, 255, 255, .8); }
.overlay-badge { align-self: flex-start; font-size: .7rem; font-weight: 700; background: var(--ta-sun); color: var(--ta-ink); padding: .2rem .6rem; border-radius: 999px; }

.insta-profile-card { background: #fff; border-radius: var(--ta-radius-lg); padding: 1.6rem; box-shadow: var(--ta-shadow-sm); border: 1px solid var(--ta-line); margin-bottom: 1.5rem; }
.insta-avatar-img { width: 86px; height: 86px; border-radius: 50%; object-fit: contain; background: var(--ta-green-50); padding: 6px; }
.stat-badge-chip { display: inline-flex; align-items: center; gap: .4rem; background: var(--ta-sand); padding: .35rem .8rem; border-radius: 999px; font-size: .82rem; }
.insta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.insta-grid-item { position: relative; aspect-ratio: 4 / 5; border: 0; padding: 0; border-radius: 14px; overflow: hidden; background: var(--ta-green-50); }
.insta-grid-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ta-ease); }
.insta-grid-item:hover img { transform: scale(1.06); }
.grid-item-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: .7rem; text-align: left; background: linear-gradient(rgba(0, 0, 0, .25), transparent 30%, transparent 55%, rgba(0, 0, 0, .75)); color: #fff; }
.grid-item-title { font-weight: 700; font-size: .9rem; }

/* story player (full screen) */
.story-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(0, 0, 0, .94); display: none; align-items: center; justify-content: center; }
.story-overlay.active { display: flex; }
.story-player { position: relative; width: min(420px, 100vw); height: min(92vh, 760px); border-radius: 18px; overflow: hidden; background: #000; }
@media (max-width: 575.98px) { .story-player { height: 100vh; border-radius: 0; } }
.story-slides-container, .story-slide { position: absolute; inset: 0; }
.story-slide { background: center / cover no-repeat; }
.story-tap-zone { position: absolute; top: 0; bottom: 0; width: 35%; z-index: 4; cursor: pointer; }
.story-tap-left { left: 0; }
.story-tap-right { right: 0; }
.story-top-wrapper { position: absolute; top: 0; left: 0; right: 0; z-index: 5; padding: .8rem; background: linear-gradient(rgba(0, 0, 0, .6), transparent); }
.story-progress-bars { display: flex; gap: 4px; margin-bottom: .7rem; }
.story-progress-bar { flex: 1; height: 3px; background: rgba(255, 255, 255, .35); border-radius: 3px; overflow: hidden; }
.story-progress-fill { height: 100%; background: #fff; width: 0; }
.story-header { display: flex; justify-content: space-between; align-items: center; }
.story-author-img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; background: #fff; }
.story-close-btn { background: none; border: 0; color: #fff; font-size: 1.3rem; z-index: 6; position: relative; }
.story-bottom-wrapper { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 1.2rem; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }
.story-caption-box h5 { color: #fff; font-weight: 700; }
.story-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; align-items: center; justify-content: center; font-size: 1.3rem; }
.story-nav-prev { left: calc(50% - 280px); }
.story-nav-next { right: calc(50% - 280px); }

/* 11. Reviews ============================================================= */
.rating-summary { display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: center; padding: 1.4rem; border-radius: var(--ta-radius-lg); background: var(--ta-sand); border: 1px solid var(--ta-line); }
.rating-summary .big { text-align: center; }
.rating-summary .big strong { font-family: var(--ta-display); font-size: 3.2rem; font-weight: 800; color: var(--ta-ink); line-height: 1; display: block; }
.rating-summary .big small { color: var(--ta-muted); font-weight: 600; }
.rating-bars .bar-row { display: grid; grid-template-columns: 34px 1fr 34px; gap: .6rem; align-items: center; font-size: .82rem; font-weight: 600; color: var(--ta-muted); margin-bottom: .3rem; }
.rating-bars .bar { height: 8px; border-radius: 8px; background: #e6e9e4; overflow: hidden; }
.rating-bars .bar span { display: block; height: 100%; background: var(--ta-sun); border-radius: 8px; }
.review-card { height: 100%; padding: 1.3rem; border-radius: var(--ta-radius); border: 1px solid var(--ta-line); background: #fff; }
.review-card .who { display: flex; align-items: center; gap: .7rem; margin-bottom: .6rem; }
.review-card .avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.review-card .avatar-letter { width: 44px; height: 44px; border-radius: 50%; background: var(--ta-green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex: 0 0 auto; }
.review-card p { font-size: .93rem; margin-bottom: .5rem; }
.review-card .reply { font-size: .85rem; background: var(--ta-green-50); border-radius: 10px; padding: .6rem .8rem; }
.verified { font-size: .72rem; font-weight: 700; color: var(--ta-green); }
.rating-input { display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
.rating-input input { position: absolute; opacity: 0; pointer-events: none; }
.rating-input label { font-size: 2rem; color: #d6dbd3; cursor: pointer; line-height: 1; transition: color .15s, transform .15s; }
.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label { color: var(--ta-sun); }
.rating-input label:hover { transform: scale(1.12); }

/* 12. Booking flow & payment loader ======================================= */
.book-steps-bar { display: flex; gap: .5rem; counter-reset: s; margin-bottom: 1.6rem; flex-wrap: wrap; }
.book-steps-bar .st { display: flex; align-items: center; gap: .55rem; font-weight: 700; font-size: .86rem; color: var(--ta-muted); }
.book-steps-bar .st .n { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 2px solid var(--ta-line); display: flex; align-items: center; justify-content: center; font-size: .82rem; }
.book-steps-bar .st.on { color: var(--ta-ink); }
.book-steps-bar .st.on .n { background: var(--ta-green); border-color: var(--ta-green); color: #fff; }
.book-steps-bar .sep { flex: 0 0 26px; height: 2px; background: var(--ta-line); align-self: center; }
.step-card { background: #fff; border-radius: var(--ta-radius-lg); border: 1px solid var(--ta-line); box-shadow: var(--ta-shadow-sm); margin-bottom: 1.25rem; }
.step-card-head { display: flex; align-items: center; gap: .8rem; padding: 1.25rem 1.5rem 0; }
.step-card-head .n { width: 34px; height: 34px; border-radius: 50%; background: var(--ta-green); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; font-family: var(--ta-display); }
.step-card-head h2 { font-size: 1.2rem; margin: 0; }
.step-card-body { padding: 1.1rem 1.5rem 1.5rem; }
.dep-option {
    display: block;
    height: 100%;
    padding: .9rem 1rem;
    border: 1.5px solid var(--ta-line);
    border-radius: 14px;
    cursor: pointer;
    background: #fff;
    transition: all .2s;
}
.dep-option:hover { border-color: var(--ta-green-600); }
.btn-check:checked + .dep-option { border-color: var(--ta-green); background: var(--ta-green-50); box-shadow: 0 0 0 3px rgba(45, 90, 39, .12); }
.dep-option .dep-date { font-family: var(--ta-display); font-weight: 700; color: var(--ta-ink); font-size: 1.05rem; }
.pay-option { display: block; padding: 1rem 1.1rem; border: 1.5px solid var(--ta-line); border-radius: 14px; cursor: pointer; background: #fff; transition: all .2s; }
.btn-check:checked + .pay-option { border-color: var(--ta-green); background: var(--ta-green-50); box-shadow: 0 0 0 3px rgba(45, 90, 39, .12); }
.qty-control { max-width: 170px; }
.qty-control .btn { border-radius: 12px; padding: .5rem .9rem; }
.qty-control .form-control { border-radius: 12px !important; margin: 0 .35rem; }
.addon-row { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .75rem .9rem; border: 1px solid var(--ta-line); border-radius: 12px; margin-bottom: .5rem; }
.summary-card { position: sticky; top: calc(var(--ta-nav-h) + 16px); background: #fff; border-radius: var(--ta-radius-lg); border: 1px solid var(--ta-line); box-shadow: var(--ta-shadow); overflow: hidden; }
.summary-card .head { display: flex; gap: .9rem; align-items: center; padding: 1.2rem 1.4rem; background: var(--ta-sand); border-bottom: 1px solid var(--ta-line); }
.summary-card .head img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.summary-card .body { padding: 1.2rem 1.4rem 1.4rem; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: .42rem 0; font-size: .92rem; }
.summary-total { border-top: 1px dashed var(--ta-line); margin-top: .4rem; padding-top: .8rem; font-weight: 800; font-size: 1.1rem; color: var(--ta-ink); }
.offer-applied { display: flex; gap: .6rem; align-items: center; padding: .7rem .85rem; border-radius: 12px; background: #fff3e6; color: #8a3a00; font-size: .85rem; font-weight: 600; margin-bottom: .8rem; }
.offer-pick { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.offer-pick button { border: 1.5px dashed var(--ta-sun-600); background: var(--ta-sun-50); color: #8a5300; border-radius: 10px; font-size: .8rem; font-weight: 700; padding: .35rem .7rem; }
.offer-pick button:hover { background: var(--ta-sun); color: var(--ta-ink); }

.pay-overlay {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(10, 22, 12, .72);
    backdrop-filter: blur(6px);
}
.pay-overlay.show { display: flex; animation: taFade .25s ease; }
.pay-box {
    width: min(440px, 100%);
    background: #fff;
    border-radius: var(--ta-radius-lg);
    padding: 2.2rem 1.8rem 1.8rem;
    text-align: center;
    box-shadow: var(--ta-shadow-lg);
}
.pay-box h3 { font-size: 1.35rem; margin: 1.2rem 0 .4rem; }
.pay-box p { color: var(--ta-muted); font-size: .92rem; margin: 0; }
.pay-box .warn { margin-top: 1.1rem; font-size: .8rem; font-weight: 600; color: #8a5300; background: var(--ta-sun-50); border-radius: 10px; padding: .5rem .75rem; }
.pay-steps { text-align: left; margin: 1.2rem auto 0; max-width: 300px; list-style: none; padding: 0; }
.pay-steps li { display: flex; align-items: center; gap: .6rem; padding: .3rem 0; font-size: .9rem; color: var(--ta-muted); font-weight: 600; }
.pay-steps li i { width: 20px; text-align: center; }
.pay-steps li.done { color: var(--ta-green); }
.pay-steps li.now { color: var(--ta-ink); }
.pay-spinner {
    width: 76px;
    height: 76px;
    margin: 0 auto;
    border-radius: 50%;
    border: 6px solid var(--ta-green-100);
    border-top-color: var(--ta-green);
    animation: taSpin 1s linear infinite;
    position: relative;
}
.pay-tick {
    width: 76px;
    height: 76px;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--ta-green);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    animation: taPop .4s var(--ta-ease);
}
.pay-overlay.is-done .pay-spinner { display: none; }
.pay-overlay.is-done .pay-tick { display: flex; }
.pay-overlay.is-failed .pay-spinner { border-top-color: #c2410c; animation: none; }

.status-hero { text-align: center; padding: 2.4rem 1.5rem 2rem; }
.status-badge { width: 84px; height: 84px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 2.6rem; }
.processing-banner { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.2rem; border-radius: var(--ta-radius); background: var(--ta-sun-50); color: #7a4a00; font-weight: 600; }

/* 13. Account & auth ====================================================== */
.auth-wrap { padding: clamp(2rem, 5vw, 4rem) 0; background: var(--ta-sand); min-height: calc(100vh - 200px); }
.auth-card { display: grid; grid-template-columns: 1fr; max-width: 1040px; margin: 0 auto; background: #fff; border-radius: var(--ta-radius-lg); overflow: hidden; box-shadow: var(--ta-shadow-lg); }
@media (min-width: 992px) { .auth-card { grid-template-columns: 5fr 6fr; } }
.auth-aside { position: relative; color: #fff; padding: 3rem 2.6rem; background: var(--ta-forest) var(--auth-bg) center / cover; isolation: isolate; flex-direction: column; justify-content: flex-end; }
.auth-aside::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 22, 12, .35), rgba(10, 22, 12, .92)); }
.auth-aside h2 { color: #fff; font-size: 2rem; font-weight: 800; }
.auth-aside p { color: rgba(255, 255, 255, .82); }
.auth-benefits { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.auth-benefits li { display: flex; gap: .7rem; align-items: center; padding: .4rem 0; font-weight: 600; font-size: .93rem; }
.auth-benefits i { width: 32px; height: 32px; border-radius: 10px; background: rgba(255, 255, 255, .14); color: var(--ta-sun); display: inline-flex; align-items: center; justify-content: center; }
.auth-main { padding: clamp(1.8rem, 4vw, 3rem); }
.auth-card.auth-card-sm { max-width: 520px; grid-template-columns: 1fr; }
.auth-icon { width: 68px; height: 68px; border-radius: 20px; background: var(--ta-green-50); color: var(--ta-green); display: inline-flex; align-items: center; justify-content: center; font-size: 1.9rem; }
.auth-divider { display: flex; align-items: center; gap: .8rem; color: var(--ta-muted); font-size: .82rem; margin: 1.3rem 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--ta-line); }

.account-hero { background: radial-gradient(600px 240px at 90% 0, rgba(245, 165, 36, .3), transparent 60%), linear-gradient(120deg, var(--ta-forest), var(--ta-green)); color: #fff; padding: 2.6rem 0; }
.account-avatar { width: 64px; height: 64px; border-radius: 20px; background: var(--ta-sun); color: var(--ta-ink); display: inline-flex; align-items: center; justify-content: center; font-family: var(--ta-display); font-weight: 800; font-size: 1.7rem; }
.account-nav-link { display: flex; align-items: center; gap: .65rem; padding: .75rem 1rem; border-radius: 12px; color: var(--ta-text); font-weight: 600; text-decoration: none; }
.account-nav-link:hover { background: var(--ta-sand); color: var(--ta-ink); }
.account-nav-link.active { background: var(--ta-green); color: #fff; }
.stat-tile { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem; border-radius: var(--ta-radius); background: #fff; border: 1px solid var(--ta-line); height: 100%; }
.stat-tile-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--ta-green-50); color: var(--ta-green); display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; flex: 0 0 auto; }
.stat-tile-value { font-family: var(--ta-display); font-size: 1.5rem; font-weight: 800; color: var(--ta-ink); line-height: 1.1; }
.stat-tile-label { font-size: .82rem; color: var(--ta-muted); font-weight: 600; }
.next-trip img { border-radius: 14px; }
.trip-countdown { display: inline-block; font-family: var(--ta-display); font-weight: 800; color: var(--ta-sale); font-size: 1.15rem; }
.account-hero h1 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.account-shell { margin-top: -3.5rem; }
.account-nav { background: #fff; border-radius: var(--ta-radius-lg); border: 1px solid var(--ta-line); box-shadow: var(--ta-shadow-sm); padding: .6rem; }
.account-nav .nav-link { color: var(--ta-text); font-weight: 600; border-radius: 12px; padding: .7rem 1rem; display: flex; align-items: center; gap: .65rem; }
.account-nav .nav-link:hover { background: var(--ta-sand); color: var(--ta-ink); }
.account-nav .nav-link.active { background: var(--ta-green); color: #fff; }
.account-nav .nav-link .badge { margin-left: auto; }
.booking-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1rem; border: 1px solid var(--ta-line); border-radius: var(--ta-radius); background: #fff; }
.mini-stat { padding: 1.2rem; border-radius: var(--ta-radius); background: #fff; border: 1px solid var(--ta-line); height: 100%; }
.mini-stat .v { font-family: var(--ta-display); font-size: 1.8rem; font-weight: 800; color: var(--ta-ink); }
.mini-stat .k { font-size: .82rem; color: var(--ta-muted); font-weight: 600; }

/* 14. Blog, CMS, FAQ, contact ============================================= */
.blog-card { height: 100%; border: 1px solid var(--ta-line); border-radius: var(--ta-radius-lg); overflow: hidden; transition: transform .3s var(--ta-ease), box-shadow .3s var(--ta-ease); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--ta-shadow); }
.blog-card .card-img-top { aspect-ratio: 16 / 10; object-fit: cover; }
.blog-meta { font-size: .8rem; color: var(--ta-muted); font-weight: 600; }
.post-content { font-size: 1.05rem; }
.faq-search { margin: -2.2rem auto 2.4rem; max-width: 640px; position: relative; z-index: 3; }
.faq-category-title { font-size: 1.15rem; font-weight: 800; margin: 2rem 0 .9rem; color: var(--ta-green); }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem; border-radius: var(--ta-radius); background: var(--ta-sand); margin-bottom: .8rem; }
.contact-card .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--ta-green); color: #fff; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; font-size: 1.15rem; }
.contact-card h3, .contact-card h6 { font-size: .98rem; margin: 0 0 .15rem; }
.contact-card a { color: var(--ta-text); text-decoration: none; }
.social-row { display: flex; gap: .5rem; }
.social-row a { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--ta-green-50); color: var(--ta-green); text-decoration: none; transition: all .2s; }
.social-row a:hover { background: var(--ta-green); color: #fff; }
.vm-card, .known-card, .csr-card { height: 100%; padding: 1.7rem; border-radius: var(--ta-radius-lg); background: #fff; border: 1px solid var(--ta-line); }
.vm-card i, .known-card i, .csr-card i { font-size: 1.6rem; color: var(--ta-green); margin-bottom: .9rem; display: inline-block; }
.vm-card h3 { font-size: 1.4rem; }
.known-card h5, .csr-card h5 { font-size: 1.08rem; }
.known-card p, .csr-card p, .vm-card p { color: var(--ta-muted); }
.empty-state { text-align: center; padding: 3.5rem 1rem; border-radius: var(--ta-radius-lg); background: var(--ta-sand); border: 1px dashed #d4dad1; }
.empty-state > i { font-size: 2.8rem; color: var(--ta-green); }
.not-found-code { font-family: var(--ta-display); font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--ta-green), var(--ta-sun)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.filter-bar { background: #fff; border-radius: var(--ta-radius-lg); border: 1px solid var(--ta-line); box-shadow: var(--ta-shadow); padding: 1rem; }
.listing-bar { margin-top: -2.6rem; position: relative; z-index: 3; }

/* 15. Footer, floating, modal ============================================ */
.main-footer { position: relative; background: var(--ta-forest); color: rgba(255, 255, 255, .72); margin-top: 0; }
.main-footer::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -58px;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%2316301a' d='M0 60V38l120-22 90 18 140-30 110 26 150-28 120 30 160-26 120 22 150-28 130 24 150-14v56z'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%;
    pointer-events: none;
}
.main-footer h5 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.main-footer ul { list-style: none; padding: 0; margin: 0; }
.main-footer li { margin-bottom: .55rem; }
.main-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.main-footer a:hover { color: var(--ta-sun); }
.footer-logo { height: 56px; width: auto; max-width: 230px; object-fit: contain; background: rgba(255, 255, 255, .92); border-radius: 12px; padding: 6px 10px; box-sizing: content-box; }
.main-footer .brand-text { color: #fff; }
.footer-contact i { width: 22px; color: var(--ta-sun); }
.social-icons { display: flex; gap: .5rem; flex-wrap: wrap; }
.social-icons a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: all .2s; }
.social-icons a:hover { background: var(--ta-sun); color: var(--ta-ink); }
.footer-news { background: rgba(255, 255, 255, .06); border-radius: var(--ta-radius); padding: 1.2rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 1.1rem 0; font-size: .85rem; }
.footer-pay { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.footer-pay span { font-size: .72rem; font-weight: 700; padding: .25rem .55rem; border-radius: 6px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .85); }
.wa-float {
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 1035;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 25px -8px rgba(37, 211, 102, .8);
    text-decoration: none;
    transition: transform .2s;
}
.wa-float:hover { color: #fff; transform: scale(1.08); }
.wa-float::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: taPulse 2s infinite; }
.back-top {
    position: fixed;
    right: 26px;
    bottom: 92px;
    z-index: 1034;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: var(--ta-green);
    box-shadow: var(--ta-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
}
.back-top.show { opacity: 1; pointer-events: auto; }
.has-book-bar .back-top { bottom: 160px; }
.modal-content { border-radius: var(--ta-radius-lg); }
.enquiry-modal .modal-header { background: var(--ta-sand); border-bottom: 1px solid var(--ta-line); }

/* 16. Utilities & responsive ============================================= */
.text-sun { color: var(--ta-sun-600) !important; }
.text-sale { color: var(--ta-sale) !important; }
.text-ink { color: var(--ta-ink) !important; }
.fw-800 { font-weight: 800 !important; }
.rounded-xl { border-radius: var(--ta-radius-lg) !important; }
.object-fit-cover { object-fit: cover; }
.img-fallback { object-fit: cover; background: var(--ta-green-50); }
.js-anim .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ta-ease), transform .7s var(--ta-ease); }
.js-anim .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
@keyframes taFadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes taFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes taSpin { to { transform: rotate(360deg); } }
@keyframes taPop { 0% { transform: scale(.4); } 70% { transform: scale(1.1); } 100% { transform: scale(1); } }
@keyframes taPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

@media (max-width: 1199.98px) {
    .rail-4 { grid-auto-columns: calc((100% - 2 * 1.5rem) / 3); }
}
@media (max-width: 991.98px) {
    :root { --ta-nav-h: 66px; }
    .site-logo { height: 44px; }
    .rail, .rail-4 { grid-auto-columns: calc((100% - 1.25rem) / 2); gap: 1.25rem; }
    .hero-search .hs-field + .hs-field { border-left: 0; border-top: 1px solid var(--ta-line); }
    .hero-content { padding-top: 4rem; padding-bottom: 7rem; }
    .hero .carousel-indicators { bottom: 5.5rem; }
    .book-card { position: static; }
    .photo-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 140px; }
    .fact { border-right: 0; border-bottom: 1px solid var(--ta-line); }
}
@media (max-width: 767.98px) {
    .rail, .rail-4 { grid-auto-columns: 84%; gap: 1rem; }
    .photo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
    .insta-grid { grid-template-columns: repeat(2, 1fr); }
    .rating-summary { grid-template-columns: 1fr; text-align: center; }
    .offer-bar { font-size: .82rem; }
    .offer-bar .countdown { display: none; }
    .page-hero { min-height: 260px; }
    .sec-head { margin-bottom: 1.8rem; }
    .facts-grid { grid-template-columns: repeat(2, 1fr); }
    .fact:nth-child(odd) { border-right: 1px solid var(--ta-line); }
}
@media print {
    .offer-bar, .top-bar, .site-nav, .main-footer, .wa-float, .back-top, .mobile-book-bar, .no-print { display: none !important; }
}

/* account: cancel booking busy state */
.cx-busy { position: absolute; inset: 0; z-index: 5; display: none; align-items: center; justify-content: center; flex-direction: column; gap: 10px; background: rgba(255, 255, 255, .9); border-radius: inherit; font-weight: 600; color: #842029; }
.cx-busy.show { display: flex; }