/* Tour New Template Styles */
/* Figma base: 1728px width */
/* All font sizes use --f (1 Figma px = 100vw/1728) for proportional scaling */

@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400&display=swap');

/* ==============================
   Design Tokens (easy to change)
   ============================== */
:root {
    /* Scale: 1 Figma pixel, capped at FHD */
    --f: min(calc(100vw / 1728), calc(1920px / 1728));

    /* Colors - Brand */
    --tnt-brand: #6CCEC0;
    --tnt-brand-dark: #5AB8AB;
    --tnt-brand-accent: #00A199;

    /* Colors - Backgrounds */
    --tnt-bg-light: #D4F5F0;
    --tnt-bg-info-bar: #B7FFF9;
    --tnt-bg-header: #57DCD2;
    --tnt-bg-hero-overlay: rgba(5, 87, 83, 0.65);

    /* Colors - Text */
    --tnt-text: #1a1a1a;
    --tnt-text-secondary: #666;
    --tnt-text-header: #011413;
    --tnt-text-duration: #035753;
    --tnt-text-nearest-date: #00A199;
    --tnt-text-guide-name: #6CCEC0;

    /* Colors - Buttons */
    --tnt-btn-hero-bg: #30EEE8;
    --tnt-btn-hero-text: #1a1a1a;
    --tnt-btn-cabinet-bg: #084C4A;
    --tnt-btn-cabinet-text: #fff;
    --tnt-btn-cta-bg: #00A199;
    --tnt-btn-cta-text: #fff;

    /* Colors - Lines */
    --tnt-line: #00A199;

    /* Spacing */
    --tnt-section-padding: calc(60 * var(--f));
    --tnt-section-gap: calc(40 * var(--f));

    /* Border radius */
    --tnt-btn-radius: 36px;
    --tnt-line-width: 5px;

    /* Icon sizes */
    --tnt-clock-w: calc(48 * var(--f));
    --tnt-clock-h: calc(43 * var(--f));
}

/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}

/* ==============================
   Button hover animation — subtle magnetic scale + glow
   ============================== */
.tnt-btn {
    transition: transform 0.2s ease-out,
                box-shadow 0.2s ease,
                background-color 0.2s ease;
    will-change: transform;
}

.tnt-btn:hover {
    box-shadow: 0 4px 16px rgba(0, 161, 153, 0.25);
}

.tnt-btn:active {
    transform: scale(0.96) !important;
    box-shadow: 0 2px 8px rgba(0, 161, 153, 0.15);
}



/* ==============================
   Scroll reveal animations
   ============================== */
.tnt-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.tnt-reveal.tnt-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slide from left (guide photo) */
.tnt-reveal--left {
    transform: translateX(-40px);
}

.tnt-reveal--left.tnt-visible {
    transform: translateX(0);
}

/* Slide from right */
.tnt-reveal--right {
    transform: translateX(40px);
}

.tnt-reveal--right.tnt-visible {
    transform: translateX(0);
}

/* Stagger delay for sequential items */
.tnt-reveal-delay-1 { transition-delay: 0.1s; }
.tnt-reveal-delay-2 { transition-delay: 0.2s; }
.tnt-reveal-delay-3 { transition-delay: 0.3s; }
.tnt-reveal-delay-4 { transition-delay: 0.4s; }

/* Disable animations if user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    .tnt-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==============================
   Shared Components
   ============================== */

/* Shared button base — Dela Gothic One, rounded, transition */
.tnt-btn {
    display: inline-block;
    border-radius: var(--tnt-btn-radius);
    font-family: 'Dela Gothic One', cursive;
    font-size: calc(27 * var(--f));
    font-weight: 300 !important;
    text-decoration: none;
    text-transform: lowercase;
    transition: background-color 0.2s;
    border: none;
}

.tnt-btn:hover {
    text-decoration: none;
}

/* Shared section header — flex row with title + line */
.tnt-section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: var(--tnt-section-gap);
}

.tnt-section-header__title {
    font-size: calc(30 * var(--f));
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    color: var(--tnt-text);
}

.tnt-section-header__line {
    flex: 1;
    height: var(--tnt-line-width);
    background-color: var(--tnt-line);
    border-radius: 3px;
}

/* ==============================
   Promo menu for new template
   ============================== */
.nav--promo {
    background-color: var(--tnt-bg-header);
    background-image: none;
    border: none;
}

.nav--promo .nav__link {
    color: var(--tnt-text-header) !important;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    font-size: 14px;
}

.nav--promo .nav__link:hover {
    color: var(--tnt-btn-cabinet-bg) !important;
}

.menuWrapper--promo .menu-item a {
    color: var(--tnt-text-header);
}

.menuLimiter--promo .menu {
    list-style: none;
    padding: 12px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 0;
}

.menuLimiter--promo .menu-item {
    list-style: none;
}

/* ==============================
   Standard header restyled for new template (.header--tnt)
   ============================== */
.header2.header--tnt {
    background-color: var(--tnt-bg-header) !important;
    border-bottom: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    height: auto !important;
    padding: 10px 0 !important;
}

/* Match content width */
.header--tnt > .container {
    max-width: 1920px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: calc(150 * var(--f)) !important;
    padding-right: calc(150 * var(--f)) !important;
}

/* All text and icons in header → dark */
.header--tnt,
.header--tnt a,
.header--tnt span,
.header--tnt b,
.header--tnt .brand,
.header--tnt .logotextpc,
.header--tnt .logotextmob,
.header--tnt .logotextpc2,
.header--tnt .header_menu_link,
.header--tnt .header_menu_link span,
.header--tnt .dropdown span,
.header--tnt .btn-link {
    color: var(--tnt-text-header) !important;
}

.header--tnt .header_menu_link:hover {
    color: var(--tnt-btn-cabinet-bg) !important;
}

/* ion-icon color */
.header--tnt ion-icon.menuicon {
    color: var(--tnt-text-header) !important;
}

/* Layout — compact, not space-between */
.header--tnt .site--header__wrapper {
    justify-content: flex-start !important;
    gap: 20px !important;
    margin-top: 0 !important;
}

/* Search fills middle space, pushes right items to edge */
.header--tnt .search {
    flex: 1 !important;
}

.header--tnt .search .form-control,
.header--tnt .twitter-typeahead .tt-input {
    border: 1px solid rgba(1, 20, 19, 0.2) !important;
    background: rgba(255, 255, 255, 0.25) !important;
    color: var(--tnt-text-header) !important;
    font-size: 13px !important;
    height: 34px !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
}

.header--tnt .search .form-control::placeholder,
.header--tnt .twitter-typeahead .tt-input::placeholder {
    color: rgba(1, 20, 19, 0.45) !important;
    font-size: 13px !important;
}

/* Cart badge */
.header--tnt .cart_volume {
    background-color: var(--tnt-btn-cabinet-bg) !important;
    color: #fff !important;
}


/* Fonts */
.header--tnt .logotextpc {
    font-family: 'Ubuntu', sans-serif !important;
    font-weight: 700 !important;
    font-size: 13px !important;
}

.header--tnt .logotextpc2 {
    font-family: 'Ubuntu', sans-serif !important;
    font-weight: 300 !important;
    font-size: 11px !important;
}

.header--tnt .header_menu_link,
.header--tnt .header_menu_link span {
    font-family: 'Ubuntu', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}

/* Logo icon — make it darker on teal bg */
.header--tnt .logoimg {
    filter: brightness(0.3);
}

/* Kill any borders/shadows/gaps around header */
.header--tnt,
.header--tnt * {
    border-color: transparent !important;
}

/* Remove gaps between promo banner and header, and header and content */
.header--tnt + *,
* + .header--tnt {
    margin-top: 0 !important;
}


.header--tnt .search .form-control,
.header--tnt .twitter-typeahead .tt-input {
    border: 1px solid rgba(1, 20, 19, 0.25) !important;
}

/* Placeholders for missing content */
.tour-placeholder {
    color: #c0392b;
    font-style: italic;
    opacity: 0.7;
    font-size: 14px;
}

/* ==============================
   Tour New Template
   ============================== */
.tour-new-template {
    font-family: 'Ubuntu', sans-serif;
    font-size: calc(20 * var(--f));
    font-weight: 300 !important;
    line-height: 120%;
    letter-spacing: 0;
    color: var(--tnt-text);
}

/* Shared content padding - same as info-bar */
.tour-new-template .tnt-container {
    padding-left: calc(150 * var(--f));
    padding-right: calc(150 * var(--f));
    max-width: 1920px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* --- Hero --- */
.tour-hero {
    position: relative;
    min-height: calc(650 * var(--f));
    background-size: cover;
    background-position: center;
    background-color: #4a5a6a;
    display: flex;
    align-items: flex-start;
    padding: calc(80 * var(--f)) 0 var(--tnt-section-padding);
}

.tour-hero__overlay {
    position: absolute;
    inset: 0;
    background: var(--tnt-bg-hero-overlay);
}

.tour-hero__content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: calc(900 * var(--f));
}

.tour-hero__title {
    font-family: 'Dela Gothic One', cursive;
    font-size: calc(114 * var(--f));
    font-weight: 300 !important;
    line-height: 101%;
    letter-spacing: 0;
    margin-bottom: calc(20 * var(--f));
}

.tour-hero__subtitle {
    font-size: calc(40 * var(--f));
    font-weight: 700;
    line-height: 120%;
    letter-spacing: 0;
    margin-bottom: calc(24 * var(--f));
}

.tour-hero__description {
    font-size: calc(20 * var(--f));
    font-weight: 300 !important;
    line-height: 120%;
    letter-spacing: 0;
    max-width: calc(700 * var(--f));
    margin-bottom: calc(40 * var(--f));
    opacity: 0.92;
}

.tour-hero__btn {
    display: inline-block;
    background-color: var(--tnt-btn-hero-bg);
    color: var(--tnt-btn-hero-text);
    padding: calc(18 * var(--f)) calc(54 * var(--f));
    border-radius: var(--tnt-btn-radius);
    border: none;
    font-family: 'Dela Gothic One', cursive;
    font-size: calc(27 * var(--f));
    font-weight: 300 !important;
    text-decoration: none;
    text-transform: lowercase;
    transition: background-color 0.2s;
    position: relative;
    z-index: 2;
}

.tour-hero__btn:hover {
    background-color: #28d6d0;
    color: var(--tnt-btn-hero-text);
    text-decoration: none;
}

/* --- Info Bar --- */
.tour-info-bar {
    background-color: #fff;
    padding: 0;
}

.tour-info-bar__top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(20 * var(--f));
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    padding: calc(30 * var(--f)) calc(150 * var(--f));
}

.tour-info-bar__nearest {
    text-align: right;
    flex-shrink: 0;
}

.tour-info-bar__subtitle {
    font-size: calc(36 * var(--f));
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0;
    line-height: 144%;
}

.tour-info-bar__nearest-label {
    font-size: calc(30 * var(--f));
    font-weight: 300 !important;
    line-height: 120%;
    letter-spacing: 0;
    margin-bottom: 4px;
}

.tour-info-bar__nearest-value {
    font-family: 'Dela Gothic One', cursive;
    font-size: calc(40 * var(--f));
    font-weight: 300 !important;
    line-height: 120%;
    letter-spacing: 0;
    color: var(--tnt-text-nearest-date);
}

.tour-info-bar__bottom {
    background-color: var(--tnt-bg-info-bar);
    color: var(--tnt-text);
}

.tour-info-bar__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(30 * var(--f));
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    min-height: calc(120 * var(--f));
    padding: calc(20 * var(--f)) calc(150 * var(--f));
}

.tour-info-bar__left {
    display: flex;
    align-items: center;
    gap: calc(30 * var(--f));
    flex: 1;
    min-width: 0;
}

.tour-info-bar__right {
    display: flex;
    align-items: center;
    gap: calc(30 * var(--f));
    flex-shrink: 0;
}

.tour-info-bar__duration {
    font-family: 'Dela Gothic One', cursive;
    font-size: calc(28 * var(--f));
    font-weight: 300 !important;
    line-height: 120%;
    display: flex;
    align-items: center;
    gap: calc(10 * var(--f));
    color: var(--tnt-text-duration);
    white-space: nowrap;
    flex-shrink: 0;
}

.tour-info-bar__duration-icon {
    width: var(--tnt-clock-w);
    height: var(--tnt-clock-h);
    flex-shrink: 0;
}

.tour-info-bar__subtitle3 {
    font-size: calc(24 * var(--f));
    font-weight: 300 !important;
    text-transform: uppercase;
    letter-spacing: 0;
    line-height: 130%;
}

.tour-info-bar__price-label {
    font-size: calc(20 * var(--f));
    display: block;
    text-transform: uppercase;
    font-weight: 300 !important;
    letter-spacing: 0;
    line-height: 120%;
    color: var(--tnt-text);
}

.tour-info-bar__price-value {
    font-size: calc(36 * var(--f));
    font-weight: 700;
    line-height: 120%;
    color: var(--tnt-text);
    white-space: nowrap;
}

.tour-info-bar__price-block {
    flex-shrink: 0;
}

.tour-info-bar__btn {
    display: inline-block;
    background-color: var(--tnt-btn-cta-bg);
    color: var(--tnt-btn-cta-text);
    padding: calc(16 * var(--f)) calc(44 * var(--f));
    border-radius: var(--tnt-btn-radius);
    font-family: 'Dela Gothic One', cursive;
    font-size: calc(27 * var(--f));
    font-weight: 300 !important;
    text-decoration: none;
    text-transform: lowercase;
    transition: background-color 0.2s;
}

.tour-info-bar__btn:hover {
    background-color: #008f88;
    color: var(--tnt-btn-cta-text);
    text-decoration: none;
}

/* --- Description --- */
.tour-description {
    padding: var(--tnt-section-padding) 0;
}

.tour-description__text,
.tour-description__text p,
.tour-description__text span,
.tour-description__text div,
.tour-description__text li {
    font-family: 'Ubuntu', sans-serif !important;
    font-size: calc(20 * var(--f)) !important;
    font-weight: 300 !important;
    line-height: 120% !important;
    color: var(--tnt-text) !important;
}

.tour-description__gallery {
    border-radius: 0;
    overflow: hidden;
}

/* Section title reset - remove h2 margin for proper line alignment */
.tour-new-template h2 {
    margin: 0;
}

/* --- Guide --- */
.tour-guide {
    padding: var(--tnt-section-padding) 0;
    background-color: var(--tnt-bg-info-bar);
}

.tour-guide__header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: var(--tnt-section-gap);
}

.tour-guide__title {
    font-size: calc(30 * var(--f));
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    color: var(--tnt-text);
}

.tour-guide__line {
    flex: 1;
    height: var(--tnt-line-width);
    background-color: var(--tnt-line);
    border-radius: 3px;
}

.tour-guide__content {
    display: flex;
    align-items: flex-start;
    gap: calc(50 * var(--f));
}

.tour-guide__left {
    display: flex;
    align-items: flex-start;
    gap: calc(20 * var(--f));
    flex: 1;
}

.tour-guide__photo img {
    width: calc(442 * var(--f));
    height: auto;
    border-radius: 0;
    display: block;
    flex-shrink: 0;
}

.tour-guide__name {
    font-family: 'Dela Gothic One', cursive;
    font-size: calc(34 * var(--f));
    font-weight: 300 !important;
    color: #00A199;
    line-height: 120%;
    padding-top: calc(10 * var(--f));
}

.tour-guide__right {
    width: calc(552 * var(--f));
    flex-shrink: 0;
}

.tour-guide__description {
    font-size: calc(20 * var(--f));
    font-weight: 300 !important;
    line-height: 120%;
    letter-spacing: 0;
    color: var(--tnt-text);
}

.tour-guide__description p,
.tour-guide__description span,
.tour-guide__description div {
    text-align: left !important;
    font-family: 'Ubuntu', sans-serif !important;
    font-size: calc(20 * var(--f)) !important;
    font-weight: 300 !important;
    line-height: 120% !important;
    color: var(--tnt-text) !important;
    margin: 0 0 calc(10 * var(--f)) 0;
}

/* --- Gallery --- */
.tour-gallery {
    padding: var(--tnt-section-padding) 0;
}

.tour-gallery__header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: var(--tnt-section-gap);
}

.tour-gallery__title {
    font-size: calc(30 * var(--f));
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    color: var(--tnt-text);
}

.tour-gallery__line {
    flex: 1;
    height: var(--tnt-line-width);
    background-color: var(--tnt-line);
    border-radius: 3px;
}

/* Timeline vertical line */
.tour-gallery__timeline {
    position: relative;
    counter-reset: timeline;
}

.tour-gallery__timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--tnt-brand), var(--tnt-brand-dark));
    transform: translateX(-50%);
    opacity: 0.3;
    z-index: 0;
}

/* Animated fill line — grows on scroll */
.tour-gallery__timeline::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--tnt-brand);
    transform: translateX(-50%);
    transform-origin: top;
    scale: 1 var(--timeline-progress, 0);
    z-index: 0;
}

.tour-gallery__item {
    margin-bottom: calc(60 * var(--f));
    display: flex;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.tour-gallery__item:last-child {
    margin-bottom: 0;
}

/* Timeline numbered dot */
.tour-gallery__timeline .tour-gallery__item::after {
    counter-increment: timeline;
    content: counter(timeline);
    position: absolute;
    left: 50%;
    top: 50%;
    width: 36px;
    height: 36px;
    background-color: #fff;
    border: 2px solid var(--tnt-brand);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Dela Gothic One', cursive;
    font-size: 14px;
    color: var(--tnt-brand);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s, color 0.3s;
}

/* Dot appears when block is visible */
.tour-gallery__timeline .tour-gallery__item.tnt-visible::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Dot fills when active */
.tour-gallery__timeline .tour-gallery__item.tnt-timeline-active::after {
    background-color: var(--tnt-brand-accent);
    color: #fff;
    border-color: var(--tnt-brand-accent);
}

/* Horizontal connectors from dot to content */
.tour-gallery__timeline .tour-gallery__item::before {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 18px - 15px);
    height: 1px;
    background: var(--tnt-brand);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.5s 0.2s;
}

.tour-gallery__timeline .tour-gallery__item.tnt-visible::before {
    opacity: 0.25;
}

/* Connector goes left for normal, right for reversed */
.tour-gallery__timeline .tour-gallery__item::before {
    right: calc(50% + 18px);
}

.tour-gallery__timeline .tour-gallery__item--reversed::before {
    right: auto;
    left: calc(50% + 18px);
}

.tour-gallery__item-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tour-gallery__item-title {
    font-size: calc(25 * var(--f));
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--tnt-text);
}

.tour-gallery__item-text {
    font-size: calc(20 * var(--f));
    font-weight: 300 !important;
    line-height: 120%;
    color: var(--tnt-text);
}

.tour-gallery__item-image {
    max-width: calc(560 * var(--f));
    margin-left: auto;
}

/* Fotorama: hide dots, always show arrows */
.tour-gallery__item-image .fotorama__nav--dots {
    display: none !important;
}

.tour-gallery__item-image .fotorama__arr {
    display: block !important;
    opacity: 1 !important;
}

.tour-gallery__item--reversed .tour-gallery__item-image {
    margin-left: 0;
    margin-right: auto;
}

.tour-gallery__item-image img {
    width: 100%;
    border-radius: 0;
}

.tour-gallery__btn {
    display: inline-block;
    background-color: var(--tnt-btn-cta-bg);
    color: var(--tnt-btn-cta-text);
    padding: calc(14 * var(--f)) calc(44 * var(--f));
    border-radius: var(--tnt-btn-radius);
    font-family: 'Dela Gothic One', cursive;
    font-size: calc(27 * var(--f));
    font-weight: 300 !important;
    text-decoration: none;
    text-transform: lowercase;
    transition: background-color 0.2s;
    align-self: flex-start;
}

.tour-gallery__btn:hover {
    background-color: #008f88;
    color: var(--tnt-btn-cta-text);
    text-decoration: none;
}

/* Gallery Learn - outline button */
/* --- Tour Info Section --- */
.tour-info-section {
    padding: var(--tnt-section-padding) 0;
    background-color: var(--tnt-bg-info-bar);
}

.tour-info-section__header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: var(--tnt-section-gap);
}

.tour-info-section__title {
    font-size: calc(30 * var(--f));
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    color: var(--tnt-text);
}

.tour-info-section__line {
    flex: 1;
    height: var(--tnt-line-width);
    background-color: var(--tnt-line);
    border-radius: 3px;
}

.tour-info-section__item {
    display: flex;
    gap: 14px;
    margin-bottom: calc(24 * var(--f));
    font-size: calc(20 * var(--f));
    font-weight: 300 !important;
    line-height: 120%;
}

.tour-info-section__icon {
    width: calc(23 * var(--f));
    height: calc(31 * var(--f));
    flex-shrink: 0;
    margin-top: calc(4 * var(--f));
}

.tour-info-section__item strong {
    font-weight: 500;
    text-transform: uppercase;
    font-size: calc(20 * var(--f));
}

.tour-info-section__map img {
    width: 100%;
    border-radius: 0;
}

/* --- Tickets --- */
.tour-tickets {
    padding: var(--tnt-section-padding) 0;
}

.tour-tickets__header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: calc(30 * var(--f));
}

.tour-tickets__title {
    font-size: calc(30 * var(--f));
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0;
    line-height: 120%;
    white-space: nowrap;
    color: var(--tnt-text);
}

.tour-tickets__line {
    flex: 1;
    height: var(--tnt-line-width);
    background-color: var(--tnt-line);
    border-radius: 3px;
}

.tour-tickets__row {
    padding: calc(40 * var(--f)) 0;
    border-bottom: 1px solid #e0e0e0;
}

.tour-tickets__row-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(20 * var(--f));
}

.tour-tickets__date-block {
    width: calc(310 * var(--f));
    flex-shrink: 0;
}

.tour-tickets__date {
    font-size: calc(20 * var(--f));
    font-weight: 700;
}

.tour-tickets__guide {
    display: flex;
    align-items: center;
    gap: calc(8 * var(--f));
    margin-top: calc(6 * var(--f));
}

.tour-tickets__guide-avatar {
    width: calc(36 * var(--f));
    height: calc(36 * var(--f));
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 1.89px 1.89px 0 0 #57DCD2;
}

.tour-tickets__guide-name {
    font-size: calc(20 * var(--f));
    color: var(--tnt-text);
}

.tour-tickets__price {
    font-size: calc(47 * var(--f));
    font-weight: 700;
}

.tour-tickets__seats {
    font-size: calc(20 * var(--f));
    color: var(--tnt-text-secondary);
}

.tour-tickets__btn {
    display: inline-block;
    background-color: var(--tnt-btn-cta-bg);
    color: #ffffff;
    padding: calc(18 * var(--f)) calc(40 * var(--f));
    border-radius: var(--tnt-btn-radius);
    font-family: 'Dela Gothic One', cursive;
    font-size: calc(27 * var(--f));
    font-weight: 300 !important;
    text-decoration: none;
    text-transform: lowercase;
    transition: background-color 0.2s;
    flex-shrink: 0;
}

.tour-tickets__btn:hover {
    background-color: #008f88;
    color: #ffffff;
    text-decoration: none;
}

/* --- FAQ --- */
.tour-faq {
    padding: var(--tnt-section-padding) 0;
    background-color: var(--tnt-bg-info-bar);
}

.tour-faq__title-wrap {
    margin-bottom: 50px;
}

.tour-faq__title {
    font-family: 'Dela Gothic One', cursive;
    font-size: calc(56 * var(--f));
    font-weight: 300 !important;
    color: var(--tnt-text);
}

.tour-faq__item {
    margin-bottom: calc(56 * var(--f));
}

.tour-faq__question {
    font-size: calc(25 * var(--f));
    font-weight: 700;
    color: var(--tnt-text);
    margin-bottom: calc(16 * var(--f));
}

.tour-faq__answer {
    font-size: calc(20 * var(--f));
    font-weight: 300 !important;
    line-height: 120%;
    color: var(--tnt-text);
    max-width: calc(800 * var(--f));
}

/* ==============================
   Standard footer for new template (.footer--tnt)
   Match container width with header and content
   ============================== */
.footer--tnt .container {
    max-width: 1920px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: calc(150 * var(--f)) !important;
    padding-right: calc(150 * var(--f)) !important;
}

/* ==============================
   Responsive — Tablet (768px - 1024px)
   ============================== */
@media (max-width: 1024px) {
    .tour-new-template .tnt-container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .tour-info-bar__top-inner {
        padding: 24px 30px;
    }

    .tour-info-bar__bottom-inner {
        padding: 14px 30px;
    }

    /* Guide: stack photo+name above description */
    .tour-guide__content {
        flex-direction: column;
        gap: 24px;
    }

    .tour-guide__right {
        width: 100%;
    }

    .tour-guide__photo img {
        width: 250px;
    }

    /* Gallery items: reduce image max-width */
    .tour-gallery__item-image {
        max-width: 100%;
    }

    /* Tour info: stack columns */
    .tour-info-section .row {
        flex-direction: column;
    }

    .tour-info-section .col-md-7,
    .tour-info-section .col-md-5 {
        max-width: 100%;
        flex: none;
        width: 100%;
    }

    .tour-info-section__map {
        margin-top: 24px;
    }
}

/* ==============================
   Responsive — Mobile (<768px)
   ============================== */
@media (max-width: 767px) {
    /* Scale factor for mobile — base on 375px mobile, cap text at readable sizes */
    :root {
        --f: calc(100vw / 375);
    }

    /* Container */
    .tour-new-template .tnt-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Base font */
    .tour-new-template {
        font-size: 15px;
    }

    /* Hero */
    .tour-hero {
        min-height: 70vh;
        padding: 40px 0;
    }

    .tour-hero__title {
        font-size: 36px;
    }

    .tour-hero__subtitle {
        font-size: 18px;
    }

    .tour-hero__description {
        font-size: 14px;
    }

    .tour-hero__btn {
        font-size: 16px;
        padding: 14px 36px;
    }

    .tour-hero__content {
        max-width: 100%;
    }

    /* Info Bar */
    .tour-info-bar__top-inner {
        padding: 20px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .tour-info-bar__nearest {
        text-align: left;
    }

    .tour-info-bar__bottom {
        height: auto;
    }

    .tour-info-bar__bottom-inner {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        padding: 16px;
        height: auto;
    }

    .tour-info-bar__duration-icon {
        width: 28px;
        height: 25px;
    }

    .tour-info-bar__price-label {
        font-size: 11px;
    }

    /* Description: stack columns */
    .tour-description .row {
        flex-direction: column;
    }

    .tour-description .col-md-6 {
        max-width: 100%;
        flex: none;
        width: 100%;
    }

    .tour-description__gallery {
        margin-top: 24px;
    }

    /* Guide */
    .tour-guide__content {
        flex-direction: column;
        gap: 20px;
    }

    .tour-guide__left {
        flex-direction: column;
        width: 100%;
    }

    .tour-guide__photo img {
        width: 100%;
        max-width: 280px;
    }

    .tour-guide__right {
        width: 100%;
    }

    /* Hide timeline on mobile */
    .tour-gallery__timeline::before,
    .tour-gallery__timeline::after,
    .tour-gallery__timeline .tour-gallery__item::after,
    .tour-gallery__timeline .tour-gallery__item::before {
        display: none !important;
    }

    /* Gallery items: single column, text always first */
    .tour-gallery__item,
    .tour-gallery__item--reversed {
        display: flex !important;
        flex-direction: column !important;
    }

    .tour-gallery__item .col-md-5,
    .tour-gallery__item .col-md-7 {
        max-width: 100%;
        flex: none;
        width: 100%;
        margin-bottom: 16px;
    }

    /* On mobile: flatten content column so button can be reordered */
    .tour-gallery__item .col-md-5.tour-gallery__item-content {
        display: contents;
    }

    .tour-gallery__item .col-md-5.tour-gallery__item-content > div {
        order: 1;
        width: 100%;
        margin-bottom: 16px;
        padding: 0 15px;
    }

    .tour-gallery__item .col-md-7 {
        order: 2;
    }

    .tour-gallery__item .tour-gallery__btn {
        order: 3;
        text-align: center;
        margin: 0 15px;
    }

    .tour-gallery__item-image {
        max-width: 100%;
    }

    /* Tour Info: single column */
    .tour-info-section .row {
        flex-direction: column;
    }

    .tour-info-section .col-md-7,
    .tour-info-section .col-md-5 {
        max-width: 100%;
        flex: none;
        width: 100%;
    }

    .tour-info-section__map {
        margin-top: 24px;
    }

    /* Tickets: stack content */
    .tour-tickets__row-inner {
        flex-wrap: wrap;
        gap: 12px;
    }

    .tour-tickets__date-block {
        width: 100%;
    }

    .tour-tickets__btn {
        width: 100%;
        text-align: center;
    }

    /* Info bar */
    .tour-info-bar__subtitle {
        font-size: 20px;
    }

    .tour-info-bar__nearest-label {
        font-size: 14px;
    }

    .tour-info-bar__nearest-value {
        font-size: 24px;
    }

    .tour-info-bar__duration {
        font-size: 24px;
    }

    .tour-info-bar__subtitle3 {
        font-size: 14px;
    }

    .tour-info-bar__price-value {
        font-size: 22px;
    }

    .tour-info-bar__btn {
        width: 100%;
        text-align: center;
        font-size: 16px;
        padding: 12px 30px;
    }

    /* Description */
    .tour-description__text,
    .tour-description__text p,
    .tour-description__text span,
    .tour-description__text div,
    .tour-description__text li {
        font-size: 15px !important;
    }

    /* Guide */
    .tour-guide__title {
        font-size: 16px;
    }

    .tour-guide__name {
        font-size: 24px;
    }

    .tour-guide__description,
    .tour-guide__description p,
    .tour-guide__description span,
    .tour-guide__description div {
        font-size: 15px !important;
    }

    /* Gallery */
    .tour-gallery__title {
        font-size: 16px;
    }

    .tour-gallery__item-title {
        font-size: 16px;
    }

    .tour-gallery__item-text {
        font-size: 15px;
    }

    .tour-gallery__btn {
        font-size: 16px;
        padding: 12px 30px;
    }

    /* Tour info */
    .tour-info-section__title {
        font-size: 16px;
    }

    .tour-info-section__item,
    .tour-info-section__item strong {
        font-size: 15px;
    }

    /* Tickets */
    .tour-tickets__title {
        font-size: 16px;
    }

    .tour-tickets__date {
        font-size: 16px;
    }

    .tour-tickets__price {
        font-size: 28px;
    }

    .tour-tickets__seats {
        font-size: 14px;
    }

    .tour-tickets__guide-name {
        font-size: 13px;
    }

    .tour-tickets__btn {
        font-size: 16px;
        padding: 12px 30px;
    }

    /* FAQ */
    .tour-faq__title {
        font-size: 28px;
    }

    .tour-faq__question {
        font-size: 18px;
    }

    .tour-faq__answer {
        font-size: 15px;
        max-width: 100%;
    }

    /* Buttons: full width on mobile */
    .tour-hero__btn {
        display: block;
        text-align: center;
        max-width: 280px;
    }

    /* Section padding reduce */
    .tour-new-template section {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    /* Header mobile */
    .header--tnt {
        padding: 8px 12px !important;
        height: auto !important;
    }

    .header--tnt > .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .header--tnt .search {
        display: none !important;
    }

    .header--tnt .logotextpc,
    .header--tnt .logotextpc2 {
        display: none !important;
    }

    .header--tnt .logoimg {
        height: 32px !important;
        filter: brightness(0.3);
    }

    .header--tnt .header_menu_link,
    .header--tnt .header_menu_link span {
        font-size: 12px !important;
    }

    .header--tnt ion-icon.menuicon {
        font-size: 20px !important;
    }

    /* Footer mobile */
    .footer--tnt .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}
