* {
            box-sizing: border-box;
        }

        html,
        body {
            width: 100%;
            max-width: 100%;
            overflow-x: hidden;
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            font-family: Arial, sans-serif;
            background: #f7efe1;
            color: #1c2621;
        }

        a {
            color: inherit;
        }

        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 50;
            padding: 16px 34px;
            background: rgba(15,47,36,0.76);
            backdrop-filter: blur(18px);
            border-bottom: 1px solid rgba(255,255,255,0.10);
        }

        .nav-wrap {
            width: min(1180px, 100%);
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 18px;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 12px;
            color: #ffffff;
            text-decoration: none;
            font-weight: bold;
            font-size: 17px;
            letter-spacing: .4px;
            min-width: 0;
        }

        .brand img {
            width: 46px;
            height: 46px;
            object-fit: contain;
            border-radius: 14px;
            background: rgba(255,255,255,0.96);
            padding: 4px;
            flex-shrink: 0;
        }

        .brand span {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .nav-actions {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            justify-content: flex-end;
        }

        .nav-link,
        .nav-cta {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            text-decoration: none;
            border-radius: 999px;
            padding: 11px 17px;
            font-weight: bold;
            font-size: 14px;
            line-height: 1;
            min-height: 42px;
        }

        .nav-link {
            background: rgba(255,255,255,0.10);
            border: 1px solid rgba(255,255,255,0.12);
        }

        .nav-cta {
            background: #f3d365;
            color: #0f2f24;
        }        .hero {
            position: relative;
            min-height: 780px;
            display: flex;
            align-items: center;
            padding: 150px 34px 110px;
            background-color: #0f2f24;
            background-image: var(--hero-image);
            background-size: cover;
            background-position: var(--hero-position, center center);
            background-repeat: no-repeat;
            color: #ffffff;
            overflow: hidden;
        }

        .hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, rgba(15,47,36,0.98) 0%, rgba(15,47,36,0.86) 43%, rgba(15,47,36,0.45) 100%);
            transform: scale(1.02);
        }

        .hero::after {
            content: "";
            position: absolute;
            inset: auto 0 0;
            height: 190px;
            background: linear-gradient(180deg, rgba(247,239,225,0), #f7efe1);
        }

        .hero-inner {
            position: relative;
            z-index: 2;
            width: min(1180px, 100%);
            margin: 0 auto;
            display: grid;
            grid-template-columns: minmax(0, 1.06fr) minmax(320px, .94fr);
            gap: 42px;
            align-items: center;
        }

        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: #f3d365;
            text-transform: uppercase;
            letter-spacing: 4px;
            font-size: 13px;
            font-weight: bold;
            margin-bottom: 20px;
        }

        .eyebrow::before {
            content: "";
            width: 42px;
            height: 2px;
            background: #f3d365;
            border-radius: 999px;
        }

        .hero h1 {
            margin: 0;
            font-size: clamp(48px, 7vw, 86px);
            line-height: .96;
            letter-spacing: -2px;
            max-width: 820px;
        }

        .hero p {
            margin: 24px 0 0;
            color: rgba(255,255,255,0.82);
            font-size: 18px;
            line-height: 1.75;
            max-width: 740px;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 34px;
        }

        .hero-card {
            background: rgba(255,255,255,0.12);
            border: 1px solid rgba(255,255,255,0.18);
            backdrop-filter: blur(18px);
            border-radius: 32px;
            padding: 26px;
            box-shadow: 0 28px 70px rgba(0,0,0,.24);
        }

        .hero-card-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
            margin-bottom: 18px;
        }

        .hero-card h2 {
            margin: 0;
            color: #ffffff;
            font-size: 24px;
            line-height: 1.2;
        }

        .hero-badge {
            background: #f3d365;
            color: #0f2f24;
            border-radius: 999px;
            padding: 9px 12px;
            font-size: 12px;
            font-weight: bold;
            white-space: nowrap;
        }

        .hero-stat {
            display: grid;
            gap: 12px;
        }

        .hero-stat div {
            background: rgba(255,255,255,.12);
            border: 1px solid rgba(255,255,255,.11);
            border-radius: 18px;
            padding: 15px;
        }

        .hero-stat span {
            display: block;
            color: rgba(255,255,255,.68);
            font-size: 12px;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: .8px;
            margin-bottom: 5px;
        }

        .hero-stat strong {
            display: block;
            color: #ffffff;
            font-size: 18px;
            line-height: 1.35;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            padding: 14px 22px;
            text-decoration: none;
            font-weight: bold;
            border: 0;
            cursor: pointer;
            transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
            min-height: 48px;
            font-family: inherit;
            font-size: 14px;
            line-height: 1.2;
            text-align: center;
            gap: 8px;
        }

        .btn:hover {
            transform: translateY(-2px);
        }

        .btn-primary {
            background: #f3d365;
            color: #0f2f24;
            box-shadow: 0 16px 34px rgba(243,211,101,.20);
        }

        .btn-dark {
            background: #0f2f24;
            color: #ffffff;
        }

        .btn-light {
            background: #ffffff;
            color: #0f2f24;
        }

        .btn-outline {
            background: rgba(255,255,255,0.10);
            color: #ffffff;
            border: 1px solid rgba(255,255,255,.30);
        }

        .section {
            width: 100%;
            padding: 74px 34px;
        }

        .container {
            width: min(1180px, 100%);
            margin: 0 auto;
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: end;
            gap: 24px;
            margin-bottom: 30px;
        }

        .section-kicker {
            color: #1f5c43;
            font-size: 13px;
            font-weight: bold;
            letter-spacing: 3px;
            text-transform: uppercase;
            margin-bottom: 10px;
        }

        .section-header h2 {
            margin: 0;
            color: #0f2f24;
            font-size: clamp(32px, 4vw, 50px);
            line-height: 1.06;
            letter-spacing: -1px;
        }

        .section-header p {
            margin: 12px 0 0;
            color: #6b7770;
            line-height: 1.65;
            max-width: 680px;
        }

        .tours-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
            gap: 24px;
        }

        .tour-card {
            background: #ffffff;
            border-radius: 30px;
            overflow: hidden;
            box-shadow: 0 18px 45px rgba(15,47,36,0.09);
            min-width: 0;
            display: flex;
            flex-direction: column;
            border: 1px solid rgba(15,47,36,0.05);
            transition: transform .2s ease, box-shadow .2s ease;
        }

        .tour-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 24px 60px rgba(15,47,36,0.14);
        }

        .tour-card-image {
            width: 100%;
            height: 230px;
            background: #e8f3ed;
            overflow: hidden;
            position: relative;
        }

        .tour-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .tour-card-image::after {
            content: "";
            position: absolute;
            inset: auto 0 0;
            height: 80px;
            background: linear-gradient(180deg, transparent, rgba(15,47,36,.55));
        }

        .tour-card-placeholder {
            width: 100%;
            height: 100%;
            background: #e8f3ed;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #6b7770;
            font-weight: bold;
            padding: 20px;
            text-align: center;
        }

        .featured-label {
            position: absolute;
            top: 16px;
            left: 16px;
            background: #f3d365;
            color: #0f2f24;
            border-radius: 999px;
            padding: 8px 12px;
            font-size: 12px;
            font-weight: bold;
            z-index: 2;
        }

        .tour-card-body {
            padding: 24px;
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        .tour-card-body h3 {
            margin: 0;
            color: #0f2f24;
            font-size: 24px;
            line-height: 1.18;
        }

        .tour-card-body p {
            margin: 12px 0 0;
            color: #6b7770;
            line-height: 1.58;
            font-size: 15px;
        }

        .tour-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin: 17px 0 0;
        }

        .pill {
            background: #f7efe1;
            color: #0f2f24;
            border-radius: 999px;
            padding: 8px 11px;
            font-size: 12px;
            font-weight: bold;
        }

        .tour-price-row {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
            gap: 12px;
            align-items: stretch;
            margin-top: 20px;
            padding-top: 18px;
            border-top: 1px solid #eef2ef;
        }

        .price-mini {
            background: #f7efe1;
            border-radius: 18px;
            padding: 13px;
            min-width: 0;
        }

        .price-mini span {
            display: block;
            color: #6b7770;
            font-size: 11px;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: .7px;
            margin-bottom: 5px;
        }

        .price-mini strong {
            display: block;
            color: #0f2f24;
            font-size: 22px;
            line-height: 1.1;
            word-break: break-word;
        }

        .price-mini.private {
            background: #f3d365;
        }

        .price-mini.private strong {
            font-size: 15px;
            line-height: 1.25;
        }

        .tour-card-actions {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 20px;
        }

        .empty-tours {
            background: #ffffff;
            border-radius: 28px;
            padding: 34px;
            box-shadow: 0 18px 45px rgba(15,47,36,0.09);
            text-align: center;
            color: #6b7770;
            font-weight: bold;
        }

        .booking-section {
            background: #0f2f24;
            color: #ffffff;
            position: relative;
            overflow: hidden;
        }

        .booking-section::before {
            content: "";
            position: absolute;
            width: 430px;
            height: 430px;
            right: -150px;
            bottom: -150px;
            background: rgba(243,211,101,.13);
            border-radius: 50%;
        }

        .booking-section::after {
            content: "";
            position: absolute;
            width: 240px;
            height: 240px;
            left: -90px;
            top: 80px;
            background: rgba(255,255,255,.06);
            border-radius: 50%;
        }

        .booking-grid {
            position: relative;
            z-index: 2;
            display: grid;
            grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
            gap: 30px;
            align-items: start;
        }

        .booking-info {
            position: sticky;
            top: 104px;
        }

        .booking-info h2 {
            margin: 0;
            color: #ffffff;
            font-size: clamp(32px, 4vw, 52px);
            line-height: 1.08;
            letter-spacing: -1px;
        }

        .booking-info p {
            margin: 16px 0 0;
            color: rgba(255,255,255,.78);
            line-height: 1.72;
        }

        .booking-summary {
            margin-top: 26px;
            display: grid;
            gap: 12px;
        }

        .summary-box {
            background: rgba(255,255,255,.12);
            border: 1px solid rgba(255,255,255,.14);
            border-radius: 20px;
            padding: 16px;
        }

        .summary-box span {
            display: block;
            color: rgba(255,255,255,.68);
            font-size: 12px;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: .8px;
            margin-bottom: 6px;
        }

        .summary-box strong {
            display: block;
            color: #ffffff;
            font-size: 17px;
            line-height: 1.35;
        }

        .booking-form-card {
            background: #ffffff;
            border-radius: 32px;
            padding: 30px;
            box-shadow: 0 24px 60px rgba(0,0,0,.18);
            color: #1c2621;
        }

        .form-title {
            margin: 0 0 20px;
        }

        .form-title h3 {
            margin: 0;
            color: #0f2f24;
            font-size: 28px;
            line-height: 1.15;
        }

        .form-title p {
            margin: 8px 0 0;
            color: #6b7770;
            line-height: 1.55;
            font-size: 14px;
        }

        .flash {
            border-radius: 18px;
            padding: 15px 17px;
            margin-bottom: 18px;
            font-weight: bold;
            line-height: 1.45;
        }

        .flash.success {
            background: #d4edda;
            color: #155724;
        }

        .flash.error {
            background: #f8d7da;
            color: #721c24;
        }

        .form-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px;
        }

        .form-group {
            min-width: 0;
        }

        .form-group.full {
            grid-column: 1 / -1;
        }

        label {
            display: block;
            color: #0f2f24;
            font-weight: bold;
            margin-bottom: 7px;
            font-size: 14px;
        }

        input,
        select,
        textarea {
            width: 100%;
            max-width: 100%;
            border: 1px solid #d9e3dd;
            border-radius: 16px;
            padding: 13px 15px;
            color: #0f2f24;
            background: #ffffff;
            font-weight: bold;
            outline: none;
            font-family: inherit;
            font-size: 14px;
        }

        textarea {
            min-height: 120px;
            resize: vertical;
            line-height: 1.5;
            font-weight: normal;
        }

        input:focus,
        select:focus,
        textarea:focus {
            border-color: #1f5c43;
            box-shadow: 0 0 0 3px rgba(31,92,67,0.12);
        }

        .experience-toggle {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
        }

        .experience-option {
            position: relative;
        }

        .experience-option input {
            position: absolute;
            opacity: 0;
            pointer-events: none;
        }

        .experience-option label {
            margin: 0;
            background: #f7efe1;
            border: 1px solid #eadfce;
            border-radius: 20px;
            padding: 16px;
            cursor: pointer;
            display: block;
            min-height: 100%;
            transition: all .2s ease;
        }

        .experience-option strong {
            display: block;
            color: #0f2f24;
            font-size: 17px;
            margin-bottom: 6px;
        }

        .experience-option span {
            display: block;
            color: #6b7770;
            font-size: 13px;
            line-height: 1.42;
        }

        .experience-option input:checked + label {
            background: #f3d365;
            border-color: #e8bf35;
            box-shadow: 0 0 0 3px rgba(243,211,101,.25);
        }

        .estimate-box {
            background: #f7efe1;
            border-radius: 20px;
            padding: 16px;
            display: grid;
            gap: 6px;
            border: 1px solid #eadfce;
        }

        .estimate-box span {
            color: #6b7770;
            font-weight: bold;
            font-size: 13px;
        }

        .estimate-box strong {
            color: #0f2f24;
            font-size: 25px;
        }

        .estimate-box small {
            color: #6b7770;
            line-height: 1.45;
        }

        .site-footer {
            background: #09241b;
            color: rgba(255,255,255,.76);
            padding: 30px 34px;
        }

        .footer-inner {
            width: min(1180px, 100%);
            margin: 0 auto;
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 18px;
            align-items: center;
        }

        .footer-brand strong {
            display: block;
            color: #ffffff;
            letter-spacing: 2px;
            font-size: 13px;
            text-transform: uppercase;
        }

        .footer-brand span {
            display: block;
            color: rgba(255,255,255,.55);
            font-size: 13px;
            margin-top: 5px;
            line-height: 1.45;
        }

        .footer-socials {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            justify-content: flex-end;
        }

        .social-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 42px;
            padding: 11px 15px;
            border-radius: 999px;
            background: rgba(255,255,255,.10);
            color: #ffffff;
            text-decoration: none;
            font-weight: bold;
            font-size: 13px;
            border: 1px solid rgba(255,255,255,.12);
        }

        @media (max-width: 1050px) {
            .hero-inner,
            .booking-grid {
                grid-template-columns: 1fr;
            }

            .hero-card {
                max-width: 620px;
            }

            .section-header {
                align-items: flex-start;
                flex-direction: column;
            }

            .booking-info {
                position: static;
            }
        }

        @media (max-width: 820px) {
            .site-header {
                position: relative;
                background: #0f2f24;
                padding: 16px;
            }

            .nav-wrap {
                align-items: flex-start;
                flex-direction: column;
            }

            .nav-actions {
                width: 100%;
                justify-content: flex-start;
            }

            .nav-link,
            .nav-cta {
                flex: 1;
            }

            .hero {
                min-height: auto;
                padding: 58px 18px 76px;
            }

            .hero h1 {
                letter-spacing: -1px;
            }

            .hero p {
                font-size: 16px;
            }

            .hero-actions {
                flex-direction: column;
            }

            .hero-actions .btn {
                width: 100%;
            }

            .section {
                padding: 50px 18px;
            }

            .booking-form-card {
                padding: 22px;
                border-radius: 26px;
            }

            .form-grid,
            .experience-toggle {
                grid-template-columns: 1fr;
            }

            .tour-card-actions {
                grid-template-columns: 1fr;
            }

            .btn {
                width: 100%;
            }

            .footer-inner {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .footer-socials {
                justify-content: center;
            }
        }

        @media (max-width: 520px) {
            .brand {
                font-size: 15px;
            }

            .brand img {
                width: 42px;
                height: 42px;
            }

            .nav-actions {
                display: grid;
                grid-template-columns: 1fr;
            }

            .hero-card {
                padding: 18px;
                border-radius: 24px;
            }

            .hero-card-top {
                align-items: flex-start;
                flex-direction: column;
            }

            .tour-price-row {
                grid-template-columns: 1fr;
            }

            .section-header .btn {
                width: 100%;
            }

            .footer-socials {
                display: grid;
                grid-template-columns: 1fr;
                width: 100%;
            }

            .social-btn {
                width: 100%;
            }
        }



:root {
    --tb-green-dark: #09241b;
    --tb-green: #0f2f24;
    --tb-green-mid: #194332;
    --tb-cream: #f7efe1;
    --tb-gold: #f3d365;
    --tb-white: #ffffff;
    --tb-muted-white: rgba(255,255,255,.82);
    --tb-border-white: rgba(255,255,255,.12);
    --tb-shadow: 0 18px 50px rgba(0,0,0,.14);
}

.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 80 !important;
    padding: 0 34px !important;
    background: linear-gradient(180deg, rgba(9,36,27,.98), rgba(15,47,36,.92)) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255,255,255,.10) !important;
    box-shadow: var(--tb-shadow) !important;
}

.nav-wrap {
    width: min(1180px, 100%) !important;
    margin: 0 auto !important;
    display: block !important;
}

.header-top-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    min-height: 38px !important;
    border-bottom: 1px solid rgba(255,255,255,.10) !important;
}

.header-main-row {
    min-height: 76px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
}

.header-contact-group,
.header-social-group {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

.header-contact-link,
.header-social-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    color: var(--tb-muted-white) !important;
    text-decoration: none !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: .15px !important;
    line-height: 1 !important;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease !important;
}

.header-contact-link:hover,
.header-social-link:hover {
    color: var(--tb-white) !important;
    transform: translateY(-1px) !important;
}

.header-social-link {
    min-height: 28px !important;
    padding: 7px 14px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.08) !important;
    border: 1px solid rgba(255,255,255,.13) !important;
}

.header-social-link:hover {
    background: rgba(255,255,255,.14) !important;
    border-color: rgba(255,255,255,.22) !important;
}

.mini-icon {
    width: 17px !important;
    height: 17px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    line-height: 1 !important;
    opacity: .92 !important;
}

.brand {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    color: var(--tb-white) !important;
    text-decoration: none !important;
    font-weight: 900 !important;
    font-size: 17px !important;
    letter-spacing: .4px !important;
    min-width: 0 !important;
}

.brand img {
    width: 46px !important;
    height: 46px !important;
    object-fit: contain !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.96) !important;
    padding: 4px !important;
    flex-shrink: 0 !important;
}

.brand span {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.nav-actions {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
}

.nav-link,
.nav-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    border-radius: 999px !important;
    padding: 11px 17px !important;
    font-weight: 900 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    min-height: 42px !important;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease !important;
}

.nav-link {
    color: var(--tb-white) !important;
    background: rgba(255,255,255,.10) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
}

.nav-link:hover {
    background: rgba(255,255,255,.16) !important;
    transform: translateY(-1px) !important;
}

.nav-cta {
    color: var(--tb-green) !important;
    background: var(--tb-gold) !important;
    border: 1px solid rgba(243,211,101,.55) !important;
    padding-left: 23px !important;
    padding-right: 23px !important;
    box-shadow: 0 14px 28px rgba(243,211,101,.20) !important;
}

.nav-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 18px 35px rgba(243,211,101,.27) !important;
}

.floating-whatsapp {
    position: fixed !important;
    right: 26px !important;
    bottom: 26px !important;
    z-index: 90 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 11px !important;
    background: rgba(255,255,255,.96) !important;
    color: var(--tb-green) !important;
    text-decoration: none !important;
    border-radius: 999px !important;
    padding: 9px 17px 9px 9px !important;
    box-shadow: 0 20px 45px rgba(0,0,0,.16) !important;
    border: 1px solid rgba(15,47,36,.08) !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    transition: transform .2s ease, box-shadow .2s ease !important;
}

.floating-whatsapp:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 25px 58px rgba(0,0,0,.20) !important;
}

.wa-icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #21c95b !important;
    color: var(--tb-white) !important;
    font-size: 17px !important;
    line-height: 1 !important;
}

.wa-text {
    font-size: 14px !important;
    letter-spacing: .2px !important;
}

.wa-text small {
    display: block !important;
    color: rgba(15,47,36,.72) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: .6px !important;
}

.site-footer {
    margin-top: 0 !important;
    background: linear-gradient(135deg, #09241b, #143d2d) !important;
    color: var(--tb-white) !important;
    padding: 42px 34px 22px !important;
}

.footer-inner {
    width: min(1180px, 100%) !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.3fr) auto auto !important;
    align-items: center !important;
    gap: 22px !important;
}

.footer-brand {
    display: grid !important;
    gap: 7px !important;
}

.footer-brand strong {
    font-size: 17px !important;
    letter-spacing: .2px !important;
}

.footer-brand span,
.footer-contact a,
.footer-bottom {
    color: rgba(255,255,255,.72) !important;
}

.footer-contact {
    display: grid !important;
    gap: 8px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

.footer-contact a {
    text-decoration: none !important;
}

.footer-contact a:hover {
    color: var(--tb-white) !important;
}

.footer-socials {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

.social-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--tb-white) !important;
    text-decoration: none !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    background: rgba(255,255,255,.08) !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    min-height: 38px !important;
}

.social-btn:hover {
    background: rgba(255,255,255,.14) !important;
}

.footer-bottom {
    width: min(1180px, 100%) !important;
    margin: 26px auto 0 !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(255,255,255,.11) !important;
    display: flex !important;
    justify-content: space-between !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

@media (max-width: 860px) {
    .site-header {
        padding: 0 18px !important;
    }

    .header-top-row {
        padding: 8px 0 !important;
        align-items: flex-start !important;
    }

    .header-main-row {
        min-height: auto !important;
        padding: 12px 0 !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .brand {
        justify-content: center !important;
    }

    .nav-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr !important;
        width: 100% !important;
        gap: 8px !important;
    }

    .nav-link,
    .nav-cta {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }

    .footer-inner {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }

    .footer-socials {
        justify-content: center !important;
    }

    .footer-contact {
        justify-items: center !important;
    }
}

@media (max-width: 560px) {
    .site-header {
        padding: 0 16px !important;
    }

    .header-top-row {
        justify-content: center !important;
    }

    .header-contact-group,
    .header-social-group {
        width: 100% !important;
        justify-content: center !important;
    }

    .header-contact-link {
        font-size: 11px !important;
    }

    .header-social-link {
        flex: 1 !important;
        min-width: 0 !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .brand span {
        font-size: 15px !important;
    }

    .nav-actions {
        grid-template-columns: 1fr !important;
    }

    .floating-whatsapp {
        right: 16px !important;
        bottom: 16px !important;
        padding: 8px !important;
    }

    .floating-whatsapp .wa-text {
        display: none !important;
    }

    .site-footer {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .footer-bottom {
        justify-content: center !important;
        text-align: center !important;
    }
}


body.booking-page .booking-hero {
    position: relative;
    padding: 180px 34px 78px;
    background:
        linear-gradient(90deg, rgba(15,47,36,.98), rgba(15,47,36,.82)),
        url('../images/site-logo.png');
    background-repeat: no-repeat;
    background-position: right 10% center;
    background-size: 430px;
    color: #ffffff;
    overflow: hidden;
}

body.booking-page .booking-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 110px;
    background: linear-gradient(180deg, rgba(247,239,225,0), #f7efe1);
}

body.booking-page .booking-hero-inner,
body.booking-page .booking-wrapper {
    width: min(1180px, 100%);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

body.booking-page .booking-hero h1 {
    margin: 0;
    font-size: clamp(42px, 6vw, 76px);
    line-height: .98;
    letter-spacing: -2px;
    max-width: 820px;
}

body.booking-page .booking-hero p {
    margin: 24px 0 0;
    color: rgba(255,255,255,.82);
    font-size: 18px;
    line-height: 1.75;
    max-width: 720px;
}

body.booking-page .booking-section {
    padding: 0 34px 78px;
    margin-top: -18px;
}

body.booking-page .booking-card {
    background: #ffffff;
    border-radius: 30px;
    padding: clamp(22px, 4vw, 38px);
    box-shadow: 0 24px 70px rgba(15,47,36,.12);
    border: 1px solid rgba(15,47,36,.07);
}

body.booking-page .notice {
    border-radius: 18px;
    padding: 15px 18px;
    margin-bottom: 22px;
    font-weight: 800;
    line-height: 1.45;
}

body.booking-page .notice.success {
    background: #dff7e6;
    color: #155724;
    border: 1px solid rgba(21,87,36,.12);
}

body.booking-page .notice.error {
    background: #fde3e5;
    color: #721c24;
    border: 1px solid rgba(114,28,36,.12);
}

body.booking-page .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

body.booking-page .form-field {
    display: grid;
    gap: 8px;
}

body.booking-page .form-field.full {
    grid-column: 1 / -1;
}

body.booking-page .form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 22px;
}

body.booking-page .submit-btn {
    border: none;
    border-radius: 999px;
    padding: 15px 26px;
    background: #0f2f24;
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
    min-height: 52px;
    box-shadow: 0 16px 35px rgba(15,47,36,.18);
    transition: transform .2s ease, box-shadow .2s ease;
}

body.booking-page .submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 42px rgba(15,47,36,.22);
}

body.booking-page [data-honeypot] {
    display: none;
}

@media (max-width: 760px) {
    body.booking-page .booking-hero {
        padding: 230px 22px 70px;
    }

    body.booking-page .booking-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    body.booking-page .form-grid {
        grid-template-columns: 1fr;
    }
}


body.tour-detail-page * {
                box-sizing: border-box;
            }

body.tour-detail-page {
                margin: 0;
                min-height: 100vh;
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 24px;
                font-family: Arial, sans-serif;
                background: #f7efe1;
                color: #0f2f24;
            }

body.tour-detail-page .box {
                width: min(680px, 100%);
                background: #ffffff;
                border-radius: 28px;
                padding: 36px;
                text-align: center;
                box-shadow: 0 18px 45px rgba(15,47,36,0.12);
            }

body.tour-detail-page h1 {
                margin: 0 0 12px;
                font-size: clamp(32px, 5vw, 48px);
            }

body.tour-detail-page p {
                margin: 0 0 24px;
                color: #6b7770;
                line-height: 1.6;
            }

body.tour-detail-page a {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                background: #0f2f24;
                color: #ffffff;
                text-decoration: none;
                border-radius: 999px;
                padding: 14px 22px;
                font-weight: bold;
            }

@media (max-width: 560px) {
body.tour-detail-page .site-header {
                padding: 0 16px;
            }

body.tour-detail-page .brand span {
                font-size: 15px;
            }

body.tour-detail-page .header-contact-group,
body.tour-detail-page .header-social-group {
                width: 100%;
            }

body.tour-detail-page .header-contact-link {
                width: 100%;
            }

body.tour-detail-page .header-social-link {
                flex: 1;
                justify-content: center;
            }

body.tour-detail-page .nav-actions {
                grid-template-columns: 1fr;
            }

body.tour-detail-page .floating-whatsapp {
                right: 16px;
                bottom: 16px;
                padding: 8px;
            }

body.tour-detail-page .floating-whatsapp .wa-text {
                display: none;
            }


        
}

body.tour-detail-page </style>
    <link rel="stylesheet" href="assets/css/site.css">

    </head>
    <body>
        <div class="box">
            <h1>Tour not found</h1>
            <p>The tour you are looking for is not available or has not been published yet.</p>
            <a href="index.php">Back to website</a>
        </div>
    <script src="assets/js/site.js"></script>
</body>
    </html>
    <?php
    exit();
}

$slug = isset($_GET['slug']) ? trim((string)$_GET['slug']) : '';

if ($slug === '') {
    renderNotFoundPage();
}

body.tour-detail-page $stmt = $pdo->prepare("SELECT * FROM tours WHERE slug = ? LIMIT 1");
$stmt->execute([$slug]);
$tour = $stmt->fetch();

if (!$tour) {
    renderNotFoundPage();
}

body.tour-detail-page $status = strtolower($tour['status'] ?? 'draft');
$isAdminPreview = isset($_SESSION['admin_username']) && $_SESSION['admin_username'] !== '';

if ($status !== 'published' && !$isAdminPreview) {
    renderNotFoundPage();
}

body.tour-detail-page $title = trim($tour['title'] ?? '');
$seoTitle = trim($tour['seo_title'] ?? '') ?: $title . ' | Tucan Birding';
$seoDescription = trim($tour['seo_description'] ?? '') ?: trim($tour['short_description'] ?? '');
$shortDescription = trim($tour['short_description'] ?? '');
$description = trim($tour['description'] ?? '');

$location = trim($tour['location'] ?? '');
$duration = trim($tour['duration'] ?? '');
$difficulty = trim($tour['difficulty'] ?? '');

$imagePath = trim($tour['main_image'] ?? '');
$imageAlt = trim($tour['image_alt'] ?? '') ?: $title;
$imagePosition = validImagePosition($tour['image_position'] ?? 'center center');

$baseUrl = getBaseUrl();
$currentUrl = $baseUrl . ($_SERVER['REQUEST_URI'] ?? '/tour.php?slug=' . urlencode($slug));
$absoluteImageUrl = $imagePath !== '' ? $baseUrl . '/' . ltrim($imagePath, '/') : $baseUrl . '/assets/images/site-logo.png';

$sharedPrice = $tour['shared_price'] ?? $tour['price'] ?? null;
$sharedMaxPeople = (int)($tour['shared_max_people'] ?? 8);
$sharedDescription = trim($tour['shared_description'] ?? '');
$sharedFeatures = featureLines($tour['shared_features'] ?? '');

$privateEnabled = (int)($tour['private_enabled'] ?? 0) === 1;
$privatePriceText = trim($tour['private_price_text'] ?? '') ?: 'Custom quote';
$privateMaxPeople = (int)($tour['private_max_people'] ?? 8);
$privateDescription = trim($tour['private_description'] ?? '');
$privateFeatures = featureLines($tour['private_features'] ?? '');

$selectedExperience = isset($_GET['experience']) ? strtolower(trim((string)$_GET['experience'])) : 'shared';

if (!in_array($selectedExperience, ['shared', 'private'], true)) {
    $selectedExperience = 'shared';
}

body.tour-detail-page if ($selectedExperience === 'private' && !$privateEnabled) {
    $selectedExperience = 'shared';
}

body.tour-detail-page $flash = $_SESSION['booking_flash'] ?? null;
unset($_SESSION['booking_flash']);

$sharedBookingUrl = '#booking';
$privateBookingUrl = '#booking';

$reservationsEmail = 'bookings@tucanbirding.com';
$whatsappNumber = '50688223321';
$whatsappDisplay = '+506 8822-3321';
$whatsappMessage = urlencode('Hello, I would like to make a reservation with Tucan Birding.');
$whatsappUrl = 'https://wa.me/' . $whatsappNumber . '?text=' . $whatsappMessage;
$instagramUrl = 'https://www.instagram.com/tucanbirdwachingtours?utm_source=qr&igsh=ZXJ2bG9oZGtoNG9w';
$facebookUrl = 'https://www.facebook.com/profile.php?id=61589460590542&rdid=Nff0Z9bKbcjDfQ2b&share_url=https%3A%2F%2Fwww.facebook.com%2Fshare%2F18uArqHb9e%2F#';

$schema = [
    '@context' => 'https://schema.org',
body.tour-detail-page '@type' => 'TouristTrip',
body.tour-detail-page 'name' => $title,
body.tour-detail-page 'description' => $seoDescription,
body.tour-detail-page 'image' => $absoluteImageUrl,
body.tour-detail-page 'url' => $currentUrl,
body.tour-detail-page 'touristType' => [
        'Birdwatchers',
body.tour-detail-page 'Nature lovers',
body.tour-detail-page 'Photographers'
    ]
];

if ($location !== '') {
    $schema['itinerary'] = [
        '@type' => 'Place',
        'name' => $location
    ];
}

body.tour-detail-page if ($sharedPrice !== null && $sharedPrice !== '') {
    $schema['offers'] = [
        '@type' => 'Offer',
        'price' => number_format((float)$sharedPrice, 2, '.', ''),
        'priceCurrency' => 'USD',
        'availability' => 'https://schema.org/InStock'
    ];
}

body.tour-detail-page ?>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title><?= cleanOutput($seoTitle) ?></title>
    <meta name="viewport" content="width=device-width,
body.tour-detail-page initial-scale=1.0">
    <meta name="description" content="<?= cleanOutput($seoDescription) ?>">
    <meta name="robots" content="<?= $status === 'published' ? 'index,
body.tour-detail-page follow' : 'noindex,
body.tour-detail-page nofollow' ?>">
    <link rel="canonical" href="<?= cleanOutput($currentUrl) ?>">

    <meta property="og:title" content="<?= cleanOutput($seoTitle) ?>">
    <meta property="og:description" content="<?= cleanOutput($seoDescription) ?>">
    <meta property="og:image" content="<?= cleanOutput($absoluteImageUrl) ?>">
    <meta property="og:url" content="<?= cleanOutput($currentUrl) ?>">
    <meta property="og:type" content="website">

    <meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:title" content="<?= cleanOutput($seoTitle) ?>">
    <meta name="twitter:description" content="<?= cleanOutput($seoDescription) ?>">
    <meta name="twitter:image" content="<?= cleanOutput($absoluteImageUrl) ?>">

    <link rel="icon" href="assets/images/site-ico.ico" type="image/x-icon">
    <link rel="shortcut icon" href="assets/images/site-ico.ico" type="image/x-icon">
    <link rel="apple-touch-icon" href="assets/images/site-logo.png">
    <meta name="theme-color" content="#0f2f24">
    <meta name="application-name" content="Tucan Birding">
    <meta name="apple-mobile-web-app-title" content="Tucan Birding">
    <meta name="apple-mobile-web-app-capable" content="yes">

    <script type="application/ld+json">
        <?= json_encode($schema, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT) ?>
    </script>

    <style>
        * {
            box-sizing: border-box;
        }

html,
body.tour-detail-page {
            width: 100%;
            max-width: 100%;
            overflow-x: hidden;
            scroll-behavior: smooth;
        }

body.tour-detail-page {
            margin: 0;
            font-family: Arial, sans-serif;
            background: #f7efe1;
            color: #1c2621;
        }

body.tour-detail-page a {
            color: inherit;
        }

body.tour-detail-page .admin-preview {
            background: #fff3cd;
            color: #856404;
            padding: 13px 20px;
            text-align: center;
            font-weight: bold;
            line-height: 1.45;
        }

body.tour-detail-page .site-header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 80;
            padding: 0 34px;
            background: linear-gradient(180deg, rgba(9,36,27,.96), rgba(15,47,36,.86));
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255,255,255,.10);
            box-shadow: 0 18px 50px rgba(0,0,0,.14);
        }

body.tour-detail-page .nav-wrap {
            width: min(1180px, 100%);
            margin: 0 auto;
            display: block;
        }

body.tour-detail-page .header-top-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            min-height: 38px;
            border-bottom: 1px solid rgba(255,255,255,.10);
        }

body.tour-detail-page .header-contact-group,
body.tour-detail-page .header-social-group {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }

body.tour-detail-page .header-contact-link,
body.tour-detail-page .header-social-link {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            color: rgba(255,255,255,.82);
            text-decoration: none;
            font-size: 12px;
            font-weight: 800;
            letter-spacing: .15px;
            transition: color .2s ease, transform .2s ease, background .2s ease, border-color .2s ease;
        }

body.tour-detail-page .header-contact-link:hover,
body.tour-detail-page .header-social-link:hover {
            color: #ffffff;
            transform: translateY(-1px);
        }

body.tour-detail-page .header-contact-link svg,
body.tour-detail-page .header-social-link svg,
body.tour-detail-page .floating-whatsapp svg,
body.tour-detail-page .footer-contact-card svg,
body.tour-detail-page .footer-social-panel svg {
            width: 15px;
            height: 15px;
            flex: 0 0 15px;
            fill: currentColor;
        }

body.tour-detail-page .header-social-link {
            min-height: 26px;
            padding: 0 10px;
            border-radius: 999px;
            background: rgba(255,255,255,.07);
            border: 1px solid rgba(255,255,255,.10);
        }

body.tour-detail-page .header-main-row {
            min-height: 74px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
        }

body.tour-detail-page .brand {
            display: flex;
            align-items: center;
            gap: 12px;
            color: #ffffff;
            text-decoration: none;
            font-weight: 900;
            font-size: 17px;
            letter-spacing: .35px;
            min-width: 0;
        }

body.tour-detail-page .brand img {
            width: 46px;
            height: 46px;
            object-fit: contain;
            border-radius: 16px;
            background: rgba(255,255,255,0.98);
            padding: 4px;
            flex-shrink: 0;
            box-shadow: 0 10px 24px rgba(0,0,0,.18);
        }

body.tour-detail-page .brand span {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

body.tour-detail-page .nav-actions {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 10px;
            flex-wrap: wrap;
        }

body.tour-detail-page .nav-link,
body.tour-detail-page .nav-cta {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 42px;
            border-radius: 999px;
            text-decoration: none;
            font-weight: 900;
            font-size: 13px;
            line-height: 1;
            transition: transform .2s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
        }

body.tour-detail-page .nav-link {
            color: rgba(255,255,255,.86);
            padding: 0 16px;
            background: transparent;
            border: 1px solid transparent;
        }

body.tour-detail-page .nav-link:hover {
            color: #ffffff;
            background: rgba(255,255,255,.08);
            border-color: rgba(255,255,255,.10);
            transform: translateY(-1px);
        }

body.tour-detail-page .nav-cta {
            padding: 0 18px;
            background: #f3d365;
            color: #0f2f24;
            box-shadow: 0 14px 32px rgba(243,211,101,.22);
        }

body.tour-detail-page .nav-cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 18px 42px rgba(243,211,101,.30);
        }

body.tour-detail-page .floating-whatsapp {
            position: fixed;
            right: 22px;
            bottom: 22px;
            z-index: 120;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            min-height: 54px;
            padding: 8px 16px 8px 9px;
            border-radius: 999px;
            background: #ffffff;
            color: #0f2f24;
            text-decoration: none;
            font-weight: 900;
            box-shadow: 0 18px 50px rgba(0,0,0,.22);
            border: 1px solid rgba(15,47,36,.10);
            transition: transform .2s ease, box-shadow .2s ease;
        }

body.tour-detail-page .floating-whatsapp:hover {
            transform: translateY(-3px);
            box-shadow: 0 24px 62px rgba(0,0,0,.28);
        }

body.tour-detail-page .floating-whatsapp .wa-bubble {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: #25d366;
            color: #ffffff;
            flex-shrink: 0;
        }

body.tour-detail-page .floating-whatsapp .wa-text {
            display: grid;
            gap: 2px;
            line-height: 1.05;
        }

body.tour-detail-page .floating-whatsapp .wa-text strong {
            font-size: 13px;
            color: #0f2f24;
        }

body.tour-detail-page .floating-whatsapp .wa-text small {
            font-size: 11px;
            color: #6b7770;
            font-weight: 800;
        }

body.tour-detail-page .hero {
            position: relative;
            min-height: 650px;
            display: flex;
            align-items: center;
            padding: 130px 34px 80px;
            background: #0f2f24;
            color: #ffffff;
            overflow: hidden;
        }

body.tour-detail-page .hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                linear-gradient(90deg, rgba(15,47,36,0.96) 0%, rgba(15,47,36,0.82) 42%, rgba(15,47,36,0.52) 100%),
                url('<?= $imagePath !== '' ? cleanOutput($imagePath) : 'assets/images/site-logo.png' ?>');
            background-size: cover;
            background-position: <?= cleanOutput($imagePosition) ?>;
            transform: scale(1.02);
        }

body.tour-detail-page .hero::after {
            content: "";
            position: absolute;
            inset: auto 0 0;
            height: 180px;
            background: linear-gradient(180deg, rgba(247,239,225,0), #f7efe1);
        }

body.tour-detail-page .hero-inner {
            position: relative;
            z-index: 2;
            width: min(1180px, 100%);
            margin: 0 auto;
            display: grid;
            grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
            gap: 38px;
            align-items: center;
        }

body.tour-detail-page .eyebrow {
            color: #f3d365;
            text-transform: uppercase;
            letter-spacing: 4px;
            font-size: 13px;
            font-weight: bold;
            margin-bottom: 18px;
        }

body.tour-detail-page .hero h1 {
            margin: 0;
            font-size: clamp(42px, 6vw, 74px);
            line-height: .98;
            letter-spacing: -2px;
        }

body.tour-detail-page .hero-description {
            margin: 24px 0 0;
            color: rgba(255,255,255,0.84);
            font-size: 18px;
            line-height: 1.7;
            max-width: 700px;
        }

body.tour-detail-page .hero-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 28px;
        }

body.tour-detail-page .meta-pill {
            background: rgba(255,255,255,0.12);
            border: 1px solid rgba(255,255,255,0.18);
            backdrop-filter: blur(10px);
            color: #ffffff;
            border-radius: 999px;
            padding: 11px 15px;
            font-weight: bold;
            font-size: 13px;
        }

body.tour-detail-page .hero-card {
            background: rgba(255,255,255,0.12);
            border: 1px solid rgba(255,255,255,0.18);
            backdrop-filter: blur(16px);
            border-radius: 30px;
            padding: 24px;
            box-shadow: 0 28px 70px rgba(0,0,0,.22);
        }

body.tour-detail-page .hero-card img {
            width: 100%;
            height: 340px;
            object-fit: cover;
            object-position: var(--tour-image-position, center center);
            border-radius: 24px;
            display: block;
            background: rgba(255,255,255,.12);
        }

body.tour-detail-page .hero-card-placeholder {
            width: 100%;
            height: 340px;
            border-radius: 24px;
            background: rgba(255,255,255,.14);
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 24px;
            color: rgba(255,255,255,.75);
            font-weight: bold;
        }

body.tour-detail-page .section {
            width: 100%;
            padding: 56px 34px;
        }

body.tour-detail-page .container {
            width: min(1180px, 100%);
            margin: 0 auto;
        }

body.tour-detail-page .intro-grid {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 340px;
            gap: 28px;
            align-items: start;
        }

body.tour-detail-page .content-card,
body.tour-detail-page .side-card {
            background: #ffffff;
            border-radius: 30px;
            padding: 30px;
            box-shadow: 0 18px 45px rgba(15,47,36,0.08);
        }

body.tour-detail-page .content-card h2,
body.tour-detail-page .side-card h2,
body.tour-detail-page .pricing-section h2 {
            margin: 0 0 18px;
            color: #0f2f24;
            font-size: clamp(24px, 2.7vw, 34px);
            line-height: 1.15;
        }

body.tour-detail-page .tour-content-wrapper {
            position: relative;
        }

body.tour-detail-page .tour-content {
            color: #35453c;
            line-height: 1.75;
            font-size: 16px;
            max-height: 330px;
            overflow: hidden;
            transition: max-height .35s ease;
        }

body.tour-detail-page .tour-content.expanded {
            max-height: 5000px;
        }

body.tour-detail-page .tour-content-wrapper:not(.expanded)::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 58px;
            height: 95px;
            pointer-events: none;
            background: linear-gradient(180deg, rgba(255,255,255,0), #ffffff);
        }

body.tour-detail-page .tour-content p {
            margin: 0 0 18px;
        }

body.tour-detail-page .read-more-btn {
            margin-top: 16px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 0;
            border-radius: 999px;
            padding: 12px 18px;
            background: #0f2f24;
            color: #ffffff;
            font-weight: bold;
            cursor: pointer;
            font-family: inherit;
        }

body.tour-detail-page .info-list {
            display: grid;
            gap: 12px;
        }

body.tour-detail-page .info-item {
            background: #f7efe1;
            border-radius: 18px;
            padding: 15px;
        }

body.tour-detail-page .info-item span {
            display: block;
            color: #6b7770;
            font-size: 12px;
            font-weight: bold;
            margin-bottom: 4px;
            text-transform: uppercase;
            letter-spacing: .7px;
        }

body.tour-detail-page .info-item strong {
            display: block;
            color: #0f2f24;
            font-size: 16px;
            line-height: 1.35;
        }

body.tour-detail-page .pricing-section {
            padding-top: 24px;
        }

body.tour-detail-page .pricing-header {
            text-align: center;
            max-width: 760px;
            margin: 0 auto 26px;
        }

body.tour-detail-page .pricing-header p {
            margin: 0;
            color: #6b7770;
            line-height: 1.6;
            font-size: 15px;
        }

body.tour-detail-page .pricing-grid {
            display: grid;
            grid-template-columns: repeat(1, minmax(0, 1fr));
            gap: 20px;
            align-items: stretch;
        }

body.tour-detail-page .experience-card {
            border-radius: 26px;
            padding: 24px;
            box-shadow: 0 18px 42px rgba(15,47,36,0.09);
            min-width: 0;
            display: flex;
            flex-direction: column;
            min-height: 100%;
        }

body.tour-detail-page .experience-card.shared {
            background: #ffffff;
            border: 1px solid rgba(15,47,36,.08);
        }

body.tour-detail-page .experience-card.private {
            background: linear-gradient(180deg, rgba(243,211,101,.95), rgba(230,186,54,.95));
            border: 1px solid rgba(15,47,36,.08);
            position: relative;
            overflow: hidden;
        }

body.tour-detail-page .experience-card.private::after {
            content: "";
            position: absolute;
            width: 150px;
            height: 150px;
            right: -58px;
            bottom: -68px;
            border-radius: 50%;
            background: rgba(15,47,36,.08);
        }

body.tour-detail-page .experience-label {
            text-transform: uppercase;
            letter-spacing: 3px;
            font-size: 11px;
            font-weight: bold;
            color: #6b7770;
            margin-bottom: 10px;
        }

body.tour-detail-page .experience-card.private .experience-label {
            color: #3c3b28;
        }

body.tour-detail-page .experience-card h3 {
            margin: 0;
            color: #0f2f24;
            font-size: clamp(26px, 3vw, 36px);
            line-height: 1.05;
        }

body.tour-detail-page .price {
            margin: 16px 0 8px;
            color: #0f2f24;
            font-size: clamp(34px, 4vw, 48px);
            line-height: 1;
            font-weight: bold;
        }

body.tour-detail-page .price small {
            font-size: 14px;
            font-weight: bold;
            color: #6b7770;
        }

body.tour-detail-page .experience-card.private .price {
            font-size: clamp(28px, 3.5vw, 38px);
        }

body.tour-detail-page .experience-sub {
            color: #6b7770;
            line-height: 1.5;
            margin: 0 0 18px;
            font-size: 15px;
        }

body.tour-detail-page .experience-card.private .experience-sub {
            color: #3c3b28;
        }

body.tour-detail-page .divider {
            height: 1px;
            width: 100%;
            background: rgba(15,47,36,.16);
            margin: 4px 0 18px;
        }

body.tour-detail-page .feature-list {
            list-style: none;
            margin: 0;
            padding: 0;
            display: grid;
            gap: 10px;
            flex: 1;
        }

body.tour-detail-page .feature-list li {
            position: relative;
            padding-left: 25px;
            color: #1c2621;
            line-height: 1.4;
            font-weight: bold;
            font-size: 14px;
        }

body.tour-detail-page .feature-list li::before {
            content: "+";
            position: absolute;
            left: 0;
            top: 0;
            width: 18px;
            height: 18px;
            color: #0f2f24;
            font-weight: bold;
        }

body.tour-detail-page .experience-actions {
            margin-top: 22px;
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }

body.tour-detail-page .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            padding: 13px 20px;
            text-decoration: none;
            font-weight: bold;
            border: 0;
            cursor: pointer;
            transition: all .2s ease;
            min-height: 46px;
            font-size: 14px;
        }

body.tour-detail-page .btn-primary {
            background: #0f2f24;
            color: #ffffff;
        }

body.tour-detail-page .btn-secondary {
            background: #ffffff;
            color: #0f2f24;
        }

body.tour-detail-page .btn-outline {
            background: transparent;
            color: #0f2f24;
            border: 1px solid rgba(15,47,36,.25);
        }

body.tour-detail-page .cta-band {
            background: #0f2f24;
            color: #ffffff;
            border-radius: 30px;
            padding: 30px;
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 22px;
            align-items: center;
            margin-top: 34px;
            box-shadow: 0 22px 54px rgba(15,47,36,.15);
        }

body.tour-detail-page .cta-band h2 {
            margin: 0 0 8px;
            font-size: clamp(24px, 2.8vw, 34px);
        }

body.tour-detail-page .cta-band p {
            margin: 0;
            color: rgba(255,255,255,.78);
            line-height: 1.6;
            font-size: 15px;
        }

body.tour-detail-page .booking-section {
            background: #0f2f24;
            color: #ffffff;
            position: relative;
            overflow: hidden;
        }

body.tour-detail-page .booking-section::before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                radial-gradient(circle at 12% 22%, rgba(243,211,101,.16), transparent 30%),
                radial-gradient(circle at 88% 76%, rgba(255,255,255,.08), transparent 28%);
            pointer-events: none;
        }

body.tour-detail-page .booking-grid {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: minmax(280px, .85fr) minmax(320px, 1.15fr);
            gap: 28px;
            align-items: start;
        }

body.tour-detail-page .booking-info h2 {
            margin: 0 0 14px;
            font-size: clamp(30px, 4vw, 48px);
            line-height: 1.05;
            letter-spacing: -1.2px;
        }

body.tour-detail-page .booking-info p {
            margin: 0;
            color: rgba(255,255,255,.76);
            line-height: 1.7;
            font-size: 16px;
            max-width: 540px;
        }

body.tour-detail-page .section-kicker {
            text-transform: uppercase;
            letter-spacing: 3px;
            font-size: 12px;
            font-weight: 900;
            margin-bottom: 12px;
        }

body.tour-detail-page .booking-summary {
            display: grid;
            gap: 12px;
            margin-top: 26px;
        }

body.tour-detail-page .summary-box {
            background: rgba(255,255,255,.08);
            border: 1px solid rgba(255,255,255,.12);
            border-radius: 20px;
            padding: 16px;
        }

body.tour-detail-page .summary-box span {
            display: block;
            color: rgba(255,255,255,.58);
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 1.4px;
            font-weight: 900;
            margin-bottom: 6px;
        }

body.tour-detail-page .summary-box strong {
            display: block;
            color: #ffffff;
            font-size: 18px;
            line-height: 1.35;
        }

body.tour-detail-page .booking-form-card {
            background: #ffffff;
            color: #0f2f24;
            border-radius: 30px;
            padding: 26px;
            box-shadow: 0 24px 70px rgba(0,0,0,.22);
        }

body.tour-detail-page .form-title h3 {
            margin: 0 0 8px;
            font-size: 26px;
            letter-spacing: -.5px;
        }

body.tour-detail-page .form-title p {
            margin: 0 0 18px;
            color: #6b7770;
            line-height: 1.55;
            font-size: 14px;
        }

body.tour-detail-page .flash {
            border-radius: 18px;
            padding: 14px 16px;
            margin-bottom: 18px;
            font-size: 14px;
            font-weight: 800;
        }

body.tour-detail-page .flash.success {
            background: #e9f8ef;
            color: #145c2f;
        }

body.tour-detail-page .flash.error {
            background: #fff1f0;
            color: #9d2118;
        }

body.tour-detail-page .form-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px;
        }

body.tour-detail-page .form-group {
            display: grid;
            gap: 7px;
        }

body.tour-detail-page .form-group.full {
            grid-column: 1 / -1;
        }

body.tour-detail-page .form-group label {
            font-weight: 900;
            color: #0f2f24;
            font-size: 13px;
        }

body.tour-detail-page .form-group input,
body.tour-detail-page .form-group select,
body.tour-detail-page .form-group textarea {
            width: 100%;
            border: 1px solid rgba(15,47,36,.14);
            background: #f7efe1;
            color: #0f2f24;
            border-radius: 16px;
            padding: 13px 14px;
            font-family: inherit;
            font-size: 14px;
            outline: none;
            transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
        }

body.tour-detail-page .form-group input:focus,
body.tour-detail-page .form-group select:focus,
body.tour-detail-page .form-group textarea:focus {
            background: #ffffff;
            border-color: rgba(15,47,36,.45);
            box-shadow: 0 0 0 4px rgba(15,47,36,.08);
        }

body.tour-detail-page .form-group textarea {
            min-height: 120px;
            resize: vertical;
        }

body.tour-detail-page .experience-toggle {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
        }

body.tour-detail-page .experience-option input {
            position: absolute;
            opacity: 0;
            pointer-events: none;
        }

body.tour-detail-page .experience-option label {
            display: block;
            height: 100%;
            border-radius: 18px;
            border: 1px solid rgba(15,47,36,.14);
            background: #f7efe1;
            padding: 15px;
            cursor: pointer;
            transition: all .2s ease;
        }

body.tour-detail-page .experience-option strong,
body.tour-detail-page .experience-option span {
            display: block;
        }

body.tour-detail-page .experience-option strong {
            font-size: 15px;
            margin-bottom: 5px;
            color: #0f2f24;
        }

body.tour-detail-page .experience-option span {
            color: #6b7770;
            line-height: 1.45;
            font-size: 12px;
        }

body.tour-detail-page .experience-option input:checked + label {
            background: #0f2f24;
            color: #ffffff;
            border-color: #0f2f24;
            box-shadow: 0 10px 24px rgba(15,47,36,.16);
        }

body.tour-detail-page .experience-option input:checked + label strong,
body.tour-detail-page .experience-option input:checked + label span {
            color: #ffffff;
        }

body.tour-detail-page .estimate-box {
            min-height: 82px;
            border-radius: 16px;
            padding: 12px 14px;
            background: #f7efe1;
            border: 1px solid rgba(15,47,36,.10);
        }

body.tour-detail-page .estimate-box span,
body.tour-detail-page .estimate-box strong,
body.tour-detail-page .estimate-box small {
            display: block;
        }

body.tour-detail-page .estimate-box span {
            color: #6b7770;
            font-size: 12px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

body.tour-detail-page .estimate-box strong {
            color: #0f2f24;
            font-size: 22px;
            margin: 4px 0;
        }

body.tour-detail-page .estimate-box small {
            color: #6b7770;
            line-height: 1.35;
        }

body.tour-detail-page .site-footer {
            background: radial-gradient(circle at top left, rgba(31,92,67,.42), transparent 32%), #09241b;
            color: rgba(255,255,255,.76);
            padding: 46px 34px 34px;
        }

body.tour-detail-page .footer-inner {
            width: min(1180px, 100%);
            margin: 0 auto;
            display: grid;
            grid-template-columns: minmax(260px, 1.2fr) minmax(240px, .9fr) minmax(220px, .7fr);
            gap: 24px;
            align-items: stretch;
        }

body.tour-detail-page .footer-brand,
body.tour-detail-page .footer-contact-card,
body.tour-detail-page .footer-social-panel {
            border-radius: 24px;
        }

body.tour-detail-page .footer-brand {
            padding: 2px 0;
        }

body.tour-detail-page .footer-brand strong {
            display: block;
            color: #ffffff;
            letter-spacing: 1.8px;
            font-size: 13px;
            text-transform: uppercase;
        }

body.tour-detail-page .footer-brand span {
            display: block;
            margin-top: 8px;
            line-height: 1.7;
            max-width: 440px;
        }

body.tour-detail-page .footer-contact-card,
body.tour-detail-page .footer-social-panel {
            background: rgba(255,255,255,.07);
            border: 1px solid rgba(255,255,255,.10);
            padding: 18px;
        }

body.tour-detail-page .footer-contact-card h3,
body.tour-detail-page .footer-social-panel h3 {
            margin: 0 0 12px;
            color: #ffffff;
            font-size: 15px;
        }

body.tour-detail-page .footer-contact-card a,
body.tour-detail-page .footer-social-panel a {
            display: flex;
            align-items: center;
            gap: 8px;
            color: rgba(255,255,255,.84);
            text-decoration: none;
            font-size: 13px;
            font-weight: 800;
            padding: 9px 0;
        }

body.tour-detail-page .footer-contact-card a:hover,
body.tour-detail-page .footer-social-panel a:hover {
            color: #ffffff;
        }

body.tour-detail-page .footer-bottom {
            width: min(1180px, 100%);
            margin: 28px auto 0;
            padding-top: 18px;
            border-top: 1px solid rgba(255,255,255,.10);
            display: flex;
            justify-content: space-between;
            gap: 14px;
            flex-wrap: wrap;
            font-size: 12px;
            font-weight: 800;
            letter-spacing: .8px;
            text-transform: uppercase;
        }

@media (max-width: 1050px) {
body.tour-detail-page .hero-inner,
body.tour-detail-page .intro-grid,
body.tour-detail-page .booking-grid {
                grid-template-columns: 1fr;
            }

body.tour-detail-page .hero-card {
                max-width: 640px;
            }

body.tour-detail-page .pricing-grid {
                grid-template-columns: 1fr;
            }

body.tour-detail-page .cta-band {
                grid-template-columns: 1fr;
            }


        
}

@media (max-width: 920px) {
body.tour-detail-page .site-header {
                position: relative;
                padding: 0 18px;
                background: #0f2f24;
            }

body.tour-detail-page .header-top-row {
                min-height: auto;
                padding: 10px 0;
                align-items: flex-start;
                flex-direction: column;
                gap: 10px;
            }

body.tour-detail-page .header-main-row {
                min-height: auto;
                padding: 14px 0;
                align-items: flex-start;
                flex-direction: column;
            }

body.tour-detail-page .nav-actions {
                width: 100%;
                display: grid;
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }

body.tour-detail-page .nav-link,
body.tour-detail-page .nav-cta {
                width: 100%;
            }

body.tour-detail-page .footer-inner {
                grid-template-columns: 1fr;
            }


        
}

@media (max-width: 760px) {
body.tour-detail-page .hero {
                min-height: auto;
                padding: 54px 18px 66px;
            }

body.tour-detail-page .hero h1 {
                letter-spacing: -1px;
            }

body.tour-detail-page .hero-description {
                font-size: 16px;
            }

body.tour-detail-page .hero-card {
                padding: 16px;
                border-radius: 24px;
            }

body.tour-detail-page .hero-card img,
body.tour-detail-page .hero-card-placeholder {
                height: 260px;
                border-radius: 20px;
            }

body.tour-detail-page .section {
                padding: 42px 18px;
            }

body.tour-detail-page .content-card,
body.tour-detail-page .side-card,
body.tour-detail-page .experience-card,
body.tour-detail-page .cta-band {
                padding: 22px;
                border-radius: 24px;
            }

body.tour-detail-page .tour-content {
                max-height: 360px;
            }

body.tour-detail-page .experience-actions {
                flex-direction: column;
            }

body.tour-detail-page .btn {
                width: 100%;
            }

body.tour-detail-page .form-grid,
body.tour-detail-page .experience-toggle {
                grid-template-columns: 1fr;
            }

body.tour-detail-page .booking-form-card {
                padding: 22px;
                border-radius: 24px;
            }


        
}

@media (max-width: 420px) {
body.tour-detail-page .brand {
                font-size: 16px;
            }

body.tour-detail-page .brand img {
                width: 42px;
                height: 42px;
            }

body.tour-detail-page .hero-meta {
                flex-direction: column;
            }

body.tour-detail-page .meta-pill {
                width: 100%;
            }


        
}

body.tour-detail-page .pricing-grid.has-private {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.tour-detail-page .section-kicker-gold {
    color: #f3d365;
}

body.not-found-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

body.not-found-page .not-found-box {
    width: min(680px, 100%);
    background: #ffffff;
    border-radius: 28px;
    padding: 36px;
    text-align: center;
    box-shadow: 0 18px 45px rgba(15,47,36,0.12);
}

body.not-found-page .not-found-box h1 {
    margin: 0 0 12px;
    font-size: clamp(32px, 5vw, 48px);
    color: #0f2f24;
}

body.not-found-page .not-found-box p {
    margin: 0 0 24px;
    color: #6b7770;
    line-height: 1.6;
}

body.not-found-page .not-found-box a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0f2f24;
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    padding: 14px 22px;
    font-weight: bold;
}



.language-switcher {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.language-switcher a,
.lang-toggle,
.nav-lang {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    padding: 10px 14px !important;
    border-radius: 999px !important;
    color: var(--tb-white, #ffffff) !important;
    background: rgba(255,255,255,.08) !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: .4px !important;
    transition: transform .2s ease, background .2s ease, border-color .2s ease !important;
}

.language-switcher a:hover,
.lang-toggle:hover,
.nav-lang:hover {
    transform: translateY(-1px) !important;
    background: rgba(255,255,255,.15) !important;
    border-color: rgba(255,255,255,.25) !important;
}

.section-kicker-gold {
    color: #f3d365 !important;
}


.site-footer {
    margin-top: 0 !important;
    position: relative !important;
    background: linear-gradient(135deg, #09241b, #143d2d) !important;
}

.booking-section + .site-footer,
.section + .site-footer {
    margin-top: 0 !important;
}

.booking-section {
    margin-bottom: 0 !important;
    background: linear-gradient(135deg, #0f2f24 0%, #09241b 100%) !important;
}

.site-footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -1px;
    height: 1px;
    background: #09241b;
}

@media (max-width: 860px) {
    .language-switcher,
    .language-switcher a,
    .lang-toggle,
    .nav-lang {
        width: 100% !important;
    }
}


@media (max-width: 1050px) {
    .hero {
        padding-top: 210px !important;
    }

    body.tour-detail-page .hero {
        padding-top: 210px !important;
    }
}

@media (max-width: 820px) {
    .hero {
        padding-top: 230px !important;
    }

    body.tour-detail-page .hero {
        padding-top: 230px !important;
    }
}

@media (max-width: 560px) {
    .hero {
        padding-top: 250px !important;
    }

    body.tour-detail-page .hero {
        padding-top: 250px !important;
    }
}

@media (max-width: 1050px) {
    body.tour-detail-page .hero {
        padding-top: 245px !important;
    }
}

@media (max-width: 820px) {
    body.tour-detail-page .hero {
        padding-top: 270px !important;
    }
}

@media (max-width: 560px) {
    body.tour-detail-page .hero {
        padding-top: 290px !important;
    }
}