/*
 * Macedonia Tour Guide — site styles, ported from the old WordPress site
 * (Astra theme + Elementor + WP Travel Engine). Tokens come straight from the
 * old customizer/Elementor CSS; see resources/wordpress/live/.
 */

:root {
    --font-body: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-nav: Georgia, Times, serif;
    --font-display: 'Eagle Lake', Georgia, serif;   /* calligraphic headings */
    --font-slab: 'Roboto Slab', Georgia, serif;

    --color-page: #CBD5E1;         /* pale steel-blue page background */
    --color-white: #FFFFFF;
    --color-light: #F9FAFB;
    --color-border: #E2E8F0;
    --color-border-2: #CBD5E1;
    --color-muted: #94A3B8;
    --color-text: #1E293B;
    --color-text-2: #334155;
    --color-primary: #046BD2;      /* Astra blue: buttons, active nav */
    --color-primary-dark: #045CB4;
    --color-accent: #E07C09;       /* orange calligraphic headings */
    --color-accent-2: #F5A623;     /* orange "Let's start" buttons */
    --color-badge-featured: #F7B733;
    --color-badge-offer: #F0821E;
    --color-green: #38B348;
    --color-green-light: #76FF97;
    --color-red: #FF3232;

    --container: 1200px;
    --radius: 6px;
    --shadow-card: 0 1px 3px rgba(15, 23, 42, .08), 0 6px 18px rgba(15, 23, 42, .08);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-page);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.3; font-weight: 600; color: var(--color-text); }
h1 { font-size: 2.5rem; } h2 { font-size: 2rem; } h3 { font-size: 1.625rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em 1.25em; padding: 0; }
button { font-family: inherit; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-fluid { width: 100%; padding: 0 20px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-center { text-align: center; }
.honeypot { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Display headings (Eagle Lake) */
.display { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(34px, 5vw, 56px);
    text-align: center;
    margin: 0 0 22px;
    color: var(--color-text);
}
.section-title--accent { color: var(--color-accent); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.section-title--white { color: #fff; text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.section-title--md { font-size: clamp(28px, 3.5vw, 40px); }
.section-title--sm { font-size: clamp(24px, 3vw, 33px); }
.section-lead {
    max-width: 760px; margin: 0 auto 1.4em; text-align: center;
    font-size: 17px; line-height: 1.55; color: var(--color-text-2);
}
.section-lead p { margin-bottom: 1.4em; }
.section-lead p:last-child { margin-bottom: 0; }
.section { padding: 48px 0; }
.section--tight { padding: 28px 0; }
.quote-block {
    border-left: 3px solid #b9c5d3; padding: 0 0 0 24px; margin: 28px 0;
    font-style: italic; font-size: 17px; color: var(--color-text-2); text-align: center;
}
.quote-block p:last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block; border: 0; cursor: pointer; text-align: center;
    font-family: var(--font-body); font-weight: 500; font-size: 14px; line-height: 1;
    padding: 13px 22px; border-radius: 3px; transition: background .15s, color .15s, box-shadow .15s;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; }
.btn-block { display: block; width: 100%; }
.btn-outline-white {
    background: #fff; color: #000; font-family: var(--font-display); font-weight: 600; font-size: 15px;
    padding: 14px 30px; box-shadow: 0 2px 4px rgba(0,0,0,.25); border: 1px solid #d9d9d9; border-radius: 2px;
}
.btn-outline-white:hover { background: #f3f3f3; color: #000; }
.btn-accent {
    background: var(--color-accent-2); color: #fff; font-family: var(--font-display); font-size: 18px; font-weight: 600;
    padding: 12px 24px; border-radius: 4px; box-shadow: 0 4px 10px rgba(0,0,0,.25);
}
.btn-accent:hover { background: #e8951a; color: #fff; }
.btn-soft { background: #7ccbe6; color: #fff; border-radius: 30px; padding: 12px 24px; font-weight: 500; box-shadow: 0 3px 8px rgba(0,0,0,.2); }
.btn-soft:hover { background: #63bfdf; color: #fff; }
.btn-plain { background: #f1f1f1; color: var(--color-text); border: 1px solid #ddd; font-size: 15px; padding: 10px 16px; }
.btn-plain:hover { background: #e6e6e6; }

/* ---------- Header ---------- */
.site-header { background: #fff; position: relative; z-index: 50; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 100px; padding: 0 20px; }
.site-brand { display: flex; align-items: center; gap: 12px; color: inherit; }
.site-brand img { width: 82px; height: 82px; }
.site-brand__tagline { font-size: 10px; color: #555; white-space: nowrap; }
.site-nav { flex: 1; }
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav li { position: relative; }
.site-nav a, .site-nav .site-nav__toggle {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 12px; font-family: var(--font-nav); font-size: 16px; color: var(--color-text); background: none; border: 0; cursor: pointer;
}
.site-nav a:hover, .site-nav li.is-active > a, .site-nav li.is-active > .site-nav__toggle { color: var(--color-primary); }
.site-nav .caret { width: 10px; height: 10px; }
.site-nav .sub-menu {
    list-style: none; margin: 0; padding: 6px 0; position: absolute; top: 100%; left: 0; min-width: 210px;
    background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.14); border-top: 2px solid var(--color-primary);
    display: none; z-index: 60;
}
.site-nav .sub-menu .sub-menu { top: -8px; left: 100%; border-top: 0; border-left: 2px solid var(--color-primary); }
.site-nav li:hover > .sub-menu, .site-nav li.is-open > .sub-menu { display: block; }
.site-nav .sub-menu a { display: flex; justify-content: space-between; padding: 9px 18px; font-size: 15px; }
.site-header__contact { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--color-text-2); white-space: nowrap; }
.site-header__contact .icon-link { display: inline-flex; color: var(--color-text); }
.site-header__contact .icon-link:hover { color: var(--color-primary); }
.site-header__contact svg { width: 15px; height: 15px; }
.nav-toggle { display: none; background: none; border: 1px solid #ddd; border-radius: 3px; padding: 8px; cursor: pointer; color: var(--color-text); }
.nav-toggle svg { width: 22px; height: 22px; display: block; }

@media (max-width: 1023px) {
    .site-header__inner { flex-wrap: wrap; min-height: 80px; padding: 10px 16px; }
    .site-brand img { width: 62px; height: 62px; }
    .site-brand__tagline { display: none; }
    .site-header__contact { margin-left: auto; }
    .site-header__contact .site-header__phone { display: none; }
    .nav-toggle { display: inline-block; }
    .site-nav { flex-basis: 100%; display: none; border-top: 1px solid var(--color-border); margin-top: 8px; }
    .site-nav.is-open { display: block; }
    .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
    .site-nav .sub-menu, .site-nav .sub-menu .sub-menu { position: static; display: none; box-shadow: none; border: 0; padding-left: 18px; }
    .site-nav li.is-open > .sub-menu { display: block; }
    .site-nav li:hover > .sub-menu:not(.is-open) { display: none; }
    .site-nav li.is-open > .sub-menu { display: block; }
    .site-nav a, .site-nav .site-nav__toggle { width: 100%; justify-content: space-between; padding: 12px 10px; }
}

/* ---------- Footer ---------- */
.site-footer { background: #fff; margin-top: 0; }
.site-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; padding: 30px 20px; border-bottom: 1px solid var(--color-border); font-size: 13px; }
.site-footer__links a { display: inline-flex; align-items: center; gap: 6px; color: var(--color-text); }
.site-footer__links a:hover { color: var(--color-primary); }
.site-footer__links svg { width: 14px; height: 14px; }
.site-footer__copy { text-align: center; padding: 22px 20px; font-size: 12px; color: var(--color-text-2); }
.site-footer__legal { display: inline-flex; gap: 14px; margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--color-border); }
.site-footer__legal a { color: var(--color-text-2); }
.site-footer__legal a:hover { color: var(--color-primary); }
.form-note { margin-top: 12px; font-size: 12px; color: var(--color-text-2); }
.form-note a { text-decoration: underline; }
.back-to-top {
    position: fixed; right: 20px; bottom: 20px; width: 34px; height: 34px; border-radius: 3px; border: 0;
    background: #7fc0ea; color: #fff; display: none; align-items: center; justify-content: center; cursor: pointer; z-index: 40; box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.back-to-top.is-visible { display: inline-flex; }
.back-to-top svg { width: 16px; height: 16px; }

/* ---------- Hero slider (home) ---------- */
.hero { position: relative; height: 640px; overflow: hidden; background: #222; color: #fff; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; background-size: cover; background-position: center; }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 55%, rgba(0,0,0,.35) 100%); }
.hero__content { position: absolute; z-index: 2; left: 0; right: 0; top: 50%; transform: translateY(-50%); }
.hero__content-inner { max-width: var(--container); margin: 0 auto; padding: 0 65px; }
.hero__kicker { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--color-green-light); text-transform: uppercase; margin: 0 0 10px; letter-spacing: .5px; }
.hero__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4.2vw, 50px); text-transform: uppercase; color: #fff; line-height: 1.05; margin: 0 0 30px; max-width: 640px; text-shadow: 0 2px 6px rgba(0,0,0,.35); }
.hero__cta { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-display); font-size: 22px; font-style: italic; }
.hero__cta:hover { color: #fff; }
.hero__cta .arrow { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.hero__cta .arrow svg { width: 20px; height: 20px; color: var(--color-red); }
.hero__nav { position: absolute; right: 60px; top: 50%; transform: translateY(-50%); z-index: 3; display: flex; flex-direction: column; gap: 14px; }
.hero__nav button { background: none; border: 0; color: rgba(255,255,255,.75); font-family: var(--font-body); font-size: 13px; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 0; }
.hero__nav button::before { content: ""; width: 0; height: 1px; background: #fff; transition: width .3s; }
.hero__nav button.is-active { color: #fff; }
.hero__nav button.is-active::before { width: 30px; }
@media (max-width: 767px) {
    .hero { height: 480px; }
    .hero__content-inner { padding: 0 24px 0 24px; }
    .hero__kicker { font-size: 18px; }
    .hero__nav { right: 16px; }
}

/* ---------- Trip search bar ---------- */
.trip-search { padding: 20px 0; }
.trip-search__box { background: rgba(255,255,255,.35); border: 1px solid rgba(255,255,255,.7); padding: 14px; max-width: 760px; margin: 0 auto; }
.trip-search__box--wide { max-width: none; }
.trip-search__form { display: flex; gap: 6px; }
.trip-search__field { flex: 1; position: relative; }
.trip-search__field svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 13px; height: 13px; color: var(--color-text-2); pointer-events: none; }
.trip-search__field select { width: 100%; height: 40px; border: 1px solid #d8dee6; border-radius: 3px; background: #fff; padding: 0 30px 0 34px; font-family: var(--font-body); font-size: 13px; color: var(--color-text-2); appearance: none; -webkit-appearance: none; }
.trip-search__field::after { content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid #555; border-bottom: 1.5px solid #555; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.trip-search .btn { height: 40px; padding: 0 26px; font-size: 13px; }
@media (max-width: 767px) { .trip-search__form { flex-direction: column; } }

/* ---------- Trip cards ---------- */
.trip-grid { display: grid; gap: 30px; }
.trip-grid--2 { grid-template-columns: repeat(2, 1fr); }
.trip-grid--3 { grid-template-columns: repeat(3, 1fr); }
.trip-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991px) { .trip-grid--3, .trip-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .trip-grid--2, .trip-grid--3, .trip-grid--4 { grid-template-columns: 1fr; } }

.trip-card { background: #fff; border-radius: 4px; box-shadow: var(--shadow-card); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.trip-card__fig { position: relative; margin: 0; padding: 15px 15px 0; }
.trip-card__fig a { display: block; overflow: hidden; }
.trip-card__fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s; }
.trip-card__fig a:hover img { transform: scale(1.04); }
.trip-card__placeholder { width: 100%; aspect-ratio: 3 / 2; background: linear-gradient(135deg, #7fa7c9, #3e6c95); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.85); font-family: var(--font-display); font-size: 22px; text-align: center; padding: 20px; }
.badge { position: absolute; z-index: 2; font-size: 10px; font-weight: 600; line-height: 1; padding: 6px 8px; border-radius: 4px; color: #1a1a1a; display: inline-flex; align-items: center; gap: 4px; }
.badge svg { width: 10px; height: 10px; }
.badge--featured { top: 24px; left: 24px; background: var(--color-badge-featured); }
.badge--offer { top: 24px; left: 24px; background: var(--color-badge-offer); color: #fff; }
.badge--featured + .badge--offer { left: auto; right: 24px; }
.trip-card__body { padding: 16px 15px 15px; display: flex; flex-direction: column; flex: 1; }
.trip-card__title { font-size: 17px; font-weight: 600; margin: 0 0 8px; line-height: 1.35; }
.trip-card__title a { color: var(--color-text); }
.trip-card__title a:hover { color: var(--color-primary); }
.trip-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--color-text-2); }
.trip-meta li { display: inline-flex; align-items: flex-start; gap: 6px; line-height: 1.5; }
.trip-meta svg { width: 12px; height: 12px; flex: 0 0 12px; margin-top: 3px; color: var(--color-primary); }
.trip-meta--stack { flex-direction: column; gap: 6px; }
.trip-card__desc { font-size: 13px; color: var(--color-text-2); margin: 12px 0 0; line-height: 1.6; }
.trip-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--color-border); }
.trip-card__foot--stack { flex-direction: column; align-items: stretch; }
.price { display: flex; flex-direction: column; line-height: 1.1; }
.price__old { font-size: 12px; color: var(--color-muted); text-decoration: line-through; }
.price__now { font-size: 24px; font-weight: 700; color: var(--color-text); }
.price__off { display: inline-block; background: var(--color-badge-offer); color: #fff; font-size: 10px; font-weight: 600; padding: 4px 7px; border-radius: 10px; margin-bottom: 4px; align-self: flex-start; }
.price--inline { flex-direction: row; align-items: baseline; gap: 8px; }

/* List layout (Round Trips page) */
.trip-list { display: flex; flex-direction: column; gap: 30px; }
.trip-card--list .trip-card__inner { display: grid; grid-template-columns: 40% 1fr; gap: 16px; padding: 15px; }
.trip-card--list .trip-card__fig { padding: 0; }
.trip-card--list .trip-card__fig img, .trip-card--list .trip-card__placeholder { aspect-ratio: 4 / 3; }
.trip-card--list .trip-card__body { padding: 0; }
.trip-card--list .trip-card__title { font-size: 18px; }
.trip-card--list .trip-card__detail { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.trip-card--list .trip-card__price-col { padding-left: 20px; border-left: 1px solid var(--color-border); min-width: 120px; }
.trip-card--list .trip-card__foot { justify-content: flex-start; border-top: 1px solid var(--color-border); margin: 0 15px; padding: 15px 0; }
.trip-card--list .trip-card__foot .btn { padding: 12px 26px; }
@media (max-width: 767px) { .trip-card--list .trip-card__inner { grid-template-columns: 1fr; } .trip-card--list .trip-card__detail { grid-template-columns: 1fr; } .trip-card--list .trip-card__price-col { border: 0; padding: 0; } }

/* Carousel (day trips on home) */
.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 3); gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px; margin: -4px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.carousel__dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: #a9b6c6; padding: 0; cursor: pointer; }
.carousel__dots button.is-active { background: var(--color-primary); }
@media (max-width: 991px) { .carousel__track { grid-auto-columns: calc((100% - 30px) / 2); } }
@media (max-width: 640px) { .carousel__track { grid-auto-columns: 100%; } }

/* ---------- Home: tailor made + feature columns + CTA ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 900px; margin: 40px auto 0; }
.feature { display: grid; grid-template-columns: 30px 1fr; gap: 10px; }
.feature__icon { width: 26px; height: 26px; border-radius: 50%; background: #5f6b7a; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.feature__icon svg { width: 13px; height: 13px; }
.feature h3 { font-family: var(--font-slab); font-weight: 700; font-size: 16px; margin: 0 0 8px; color: #111; }
.feature p { font-size: 12.5px; line-height: 1.55; color: var(--color-text-2); margin: 0; }
@media (max-width: 767px) { .features { grid-template-columns: 1fr; } }

.cta { position: relative; background: #2b3a4a center / cover no-repeat; color: #fff; padding: 64px 20px; }
.cta__box { max-width: 750px; margin: 0 auto; border: 1px solid rgba(255,255,255,.75); padding: 8px 40px 60px; text-align: center; }
.cta__text { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 16px; line-height: 1.75; margin: 110px auto 26px; max-width: 560px; }
.cta--compact .cta__text { margin-top: 30px; }
@media (max-width: 767px) { .cta__box { padding: 8px 20px 40px; } .cta__text { margin-top: 40px; } }

/* ---------- Page banner ---------- */
.banner { position: relative; height: 320px; background: #333 center 40% / cover no-repeat; display: flex; align-items: center; }
/* Soft dark wash from the left so the caption reads on any part of the photo */
.banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,0) 75%); }
.banner__caption { position: relative; margin-left: 40px; font-family: var(--font-display); font-size: 36px; font-weight: 400; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
@media (max-width: 767px) { .banner { height: 210px; } .banner__caption { margin-left: 20px; font-size: 26px; } }

/* ---------- Tour page ---------- */
.tour { padding: 20px 0 40px; background: #fff; }
/* minmax(0, 1fr): a plain 1fr has an `auto` minimum, so the nowrap tab bar would
   force the column (and the whole page) to its full one-line width on phones. */
.tour__layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; align-items: start; }
.tour__main, .tour__side { min-width: 0; }
@media (max-width: 991px) { .tour__layout { grid-template-columns: minmax(0, 1fr); } }
.tour__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 26px; }
.tour__title { font-size: 26px; font-weight: 400; margin: 6px 0 0; }
.duration-badge { flex: 0 0 auto; text-align: center; border-radius: 4px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.15); min-width: 50px; }
.duration-badge__num { display: block; background: var(--color-primary); color: #fff; font-size: 24px; font-weight: 600; line-height: 1; padding: 8px 6px; }
.duration-badge__unit { display: block; background: #fff; color: var(--color-text-2); font-size: 11px; padding: 4px; }
.tour-gallery { position: relative; }
.tour-gallery__slides { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #eee; }
.tour-gallery__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.tour-gallery__slide.is-active { opacity: 1; }
.tour-gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.tour-gallery__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; z-index: 2; }
.tour-gallery__arrow svg { width: 14px; height: 14px; }
.tour-gallery__arrow--prev { left: 14px; } .tour-gallery__arrow--next { right: 14px; }
.tour-gallery__pill { display: inline-flex; align-items: center; gap: 6px; margin: 12px 0 0 10px; background: #f3f4f6; border-radius: 20px; padding: 6px 12px; font-size: 11px; color: var(--color-text-2); }
.tour-gallery__pill svg { width: 12px; height: 12px; }
.tour-tabs { position: sticky; top: 0; background: #fff; border-bottom: 1px solid var(--color-border); margin: 22px 0 10px; z-index: 5; display: flex; gap: 6px; overflow-x: auto; }
.tour-tabs a { display: inline-block; padding: 12px 14px; font-size: 13px; color: var(--color-text-2); border-bottom: 2px solid transparent; white-space: nowrap; }
.tour-tabs a.is-active, .tour-tabs a:hover { color: var(--color-primary); border-color: var(--color-primary); }
@media (max-width: 640px) {
    .tour__title { font-size: 22px; }
    .tour-section { padding: 22px 0 10px; }
    .tour-tabs { margin-top: 16px; }
    .tour-tabs a { padding: 12px 10px; }
    .enquiry { padding: 20px 16px; }
    .booking-box { position: static; }
}
.tour-section { padding: 26px 16px 16px; scroll-margin-top: 60px; }
.tour-section h2 { font-size: 20px; font-weight: 500; margin-bottom: 16px; }
.tour-section h3 { font-size: 16px; font-weight: 500; margin: 20px 0 12px; }
.tour-section .prose { font-size: 13.5px; line-height: 1.7; color: var(--color-text-2); }
.prose p { margin-bottom: 1em; }
.prose ul { margin-left: 1.2em; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--color-text-2); padding: 5px 0; }
.check-list svg { width: 13px; height: 13px; flex: 0 0 13px; margin-top: 3px; color: var(--color-primary); }
.check-list--green svg { color: var(--color-green); }
.check-list--red svg { color: var(--color-red); }
.itinerary__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; color: var(--color-text-2); background: none; border: 0; cursor: pointer; }
.toggle__switch { width: 34px; height: 16px; border-radius: 10px; background: #bbb; position: relative; transition: background .2s; }
.toggle__switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: left .2s; }
.toggle.is-on .toggle__switch { background: var(--color-primary); }
.toggle.is-on .toggle__switch::after { left: 20px; }
.itinerary { list-style: none; margin: 0; padding: 0 0 0 10px; position: relative; }
.itinerary::before { content: ""; position: absolute; left: 10px; top: 8px; bottom: 8px; border-left: 1px solid #d7dde5; }
.itinerary__day { position: relative; padding: 0 0 18px 30px; border-bottom: 1px solid var(--color-border); margin-bottom: 18px; }
.itinerary__day::before { content: ""; position: absolute; left: -4px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--color-primary); }
.itinerary__day.is-first::before, .itinerary__day.is-last::before { left: -10px; top: 3px; width: 21px; height: 21px; box-shadow: 0 0 0 3px #e3edf9; }
.itinerary__title { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; font-family: var(--font-body); font-size: 13.5px; color: var(--color-text-2); }
.itinerary__title u { color: var(--color-primary); }
.itinerary__title svg { width: 14px; height: 14px; flex: 0 0 14px; color: var(--color-primary); }
.itinerary__body { font-size: 13px; line-height: 1.7; color: var(--color-text-2); padding: 12px 0 0; display: none; }
.itinerary__day.is-open .itinerary__body { display: block; }
.booking-box { background: #fff; box-shadow: 0 4px 24px rgba(0,0,0,.08); border-radius: 4px; padding: 20px 16px; position: sticky; top: 20px; }
.booking-box__from { font-size: 11px; color: var(--color-text-2); }
.booking-box__price { font-size: 24px; font-weight: 700; }
.booking-box__unit { font-size: 12px; color: var(--color-text-2); font-weight: 400; }
.booking-box hr { border: 0; border-top: 1px solid var(--color-border); margin: 14px 0; }
.booking-box__help { text-align: center; font-size: 11px; color: var(--color-text-2); margin-top: 14px; }
.enquiry { background: #fff; border-radius: 4px; box-shadow: var(--shadow-card); padding: 22px 20px; margin-top: 30px; }
.enquiry h2 { font-size: 17px; font-weight: 400; margin-bottom: 18px; }
.enquiry__trip { font-size: 12px; color: var(--color-text-2); margin-bottom: 16px; }
.related { margin-top: 40px; }
.related h2 { font-size: 22px; font-weight: 400; margin-bottom: 20px; }
.availability { font-size: 11px; color: var(--color-muted); border-top: 1px solid var(--color-border); margin-top: 14px; padding-top: 10px; }
.availability span { margin-right: 4px; }

/* ---------- Forms ---------- */
.form { max-width: 800px; }
.form--wide { max-width: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.form-row--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .form-row, .form-row--3 { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 14px; }
.turnstile { max-width: 100%; }
.turnstile iframe { max-width: 100%; }
.form-group label, .form-group legend { display: block; font-size: 12.5px; font-weight: 600; color: var(--color-text); margin-bottom: 5px; }
.form-group .required::after, label.required::after { content: " *"; color: var(--color-red); }
.form-group .hint { font-size: 11px; color: var(--color-muted); margin-top: 3px; }
.form-control, .form-group input[type=text], .form-group input[type=email], .form-group input[type=tel], .form-group input[type=number], .form-group input[type=date], .form-group select, .form-group textarea {
    width: 100%; border: 1px solid #d5dbe3; border-radius: 3px; background: #f8f9fb; padding: 9px 11px;
    font-family: var(--font-body); font-size: 13px; color: var(--color-text); min-height: 38px;
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: 0; border-color: var(--color-primary); background: #fff; box-shadow: 0 0 0 3px rgba(4,107,210,.12); }
.form-check { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; margin-right: 16px; font-weight: 400; }
.form-check input { width: auto; min-height: 0; }
.form-choices { display: flex; flex-wrap: wrap; gap: 6px 4px; }
.form-error { color: var(--color-red); font-size: 12px; margin-top: 4px; }
.form-error ul { list-style: none; margin: 0; }
.form-group.has-error input, .form-group.has-error select, .form-group.has-error textarea { border-color: var(--color-red); }
.alert { padding: 14px 16px; border-radius: 4px; margin-bottom: 20px; font-size: 14px; }
.alert-success { background: #e6f6ea; color: #1f6b34; border: 1px solid #b7e0c2; }
.alert-danger { background: #fdecec; color: #8f1d1d; border: 1px solid #f3bcbc; }
.get-in-touch { background: #dfe6ee; padding: 30px 0 40px; }
.get-in-touch h2 { font-size: 20px; font-weight: 400; margin-bottom: 14px; }
.get-in-touch .form-group input, .get-in-touch .form-group textarea { background: #fff; }
.contact-page { padding: 40px 0 60px; background: var(--color-light); }
.contact-page .container { max-width: 640px; }
.contact-page h1 { font-size: 26px; font-weight: 400; margin-bottom: 20px; text-align: center; }
.contact-page .btn { display: block; margin: 0 auto; }
.contact-page .turnstile { display: flex; justify-content: center; }
.contact-page .form-note, .contact-page__phone { text-align: center; }
.contact-page__phone { margin-top: 30px; font-size: 14px; color: var(--color-text-2); }
.form-page { padding: 30px 0 50px; }
.form-page__intro { max-width: 800px; font-size: 15px; color: var(--color-text-2); margin-bottom: 26px; }
.form-card { background: #fff; padding: 28px; border-radius: 4px; box-shadow: var(--shadow-card); }
.form-section-title { font-family: var(--font-display); font-size: 22px; margin: 26px 0 14px; color: var(--color-text); }

/* ---------- Tailor-made page ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; max-width: 900px; margin: 30px auto 40px; text-align: center; }
.steps__num { font-family: var(--font-display); font-size: 30px; font-weight: 700; margin-bottom: 8px; }
.steps h3 { font-family: var(--font-slab); font-weight: 700; font-size: 17px; margin: 0 0 8px; }
.steps p { font-size: 12.5px; line-height: 1.5; color: var(--color-text-2); margin: 0; }
@media (max-width: 991px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.explore { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; max-width: 900px; margin: 0 auto; }
.explore img { border-radius: 40px; }
.explore__box { text-align: center; }
.explore__box h3 { font-family: var(--font-display); font-size: 28px; font-weight: 700; margin-bottom: 14px; }
.explore__box img { margin-top: 24px; }
@media (max-width: 767px) { .explore { grid-template-columns: 1fr; } }
.page-text { max-width: 1160px; margin: 0 auto; font-size: 17px; color: var(--color-text-2); text-align: center; }
.page-text p { margin-bottom: 1.1em; }
.page-text--left { text-align: left; }
.center-btn { text-align: center; margin: 18px 0 30px; }

/* ---------- Gallery ---------- */
.gallery { padding: 20px 0 30px; }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery__grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 991px) { .gallery__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .gallery__grid { grid-template-columns: repeat(2, 1fr); } }
.gallery__fb { background: #fff; padding: 12px 0; }
.gallery__fb a { font-family: var(--font-slab); font-weight: 700; font-size: 28px; color: #1c2b3a; }

/* ---------- About ---------- */
.about { padding: 20px 0 40px; }
.about__grid { display: grid; grid-template-columns: 38% 1fr; gap: 40px; align-items: start; margin-top: 20px; }
@media (max-width: 767px) { .about__grid { grid-template-columns: 1fr; } }
.about figure { margin: 0 0 24px; }
.about figure img { border-radius: 36px; width: 100%; object-fit: cover; }
.about figcaption { font-size: 12px; color: var(--color-text-2); text-align: center; margin-top: 8px; }
.about__title { font-family: var(--font-display); font-size: 30px; font-weight: 700; margin-bottom: 18px; }
.about__title--center { text-align: center; }
.about__text { font-size: 14.5px; line-height: 1.6; color: var(--color-text-2); }
.about__text p { margin-bottom: 1.1em; }
.about__more { text-align: right; margin: 10px 0 30px; }
.about__photo img { border-radius: 36px; }
.founder .about__text { max-width: 900px; margin: 0 auto; }
.vehicle { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 30px; }
.vehicle ul { font-size: 14px; color: var(--color-text-2); }
@media (max-width: 767px) { .vehicle { grid-template-columns: 1fr; gap: 24px; } }

/* Vehicle photo grid: the first photo at full height, a strip of three below */
.vehicle__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.vehicle__photo { margin: 0; background: #dfe6ee; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; }
.vehicle__photo--main { grid-column: 1 / -1; border-radius: 24px; aspect-ratio: auto; }
.vehicle__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vehicle__photo--main img { height: auto; }
@media (max-width: 480px) { .vehicle__photos { gap: 8px; } .vehicle__photo { border-radius: 12px; } }

/* ---------- Blog / generic page ---------- */
.page { padding: 30px 0 50px; }
.page__inner { background: #fff; padding: 40px; border-radius: 4px; box-shadow: var(--shadow-card); }
.page__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 20px; }
.page__inner h1 { font-size: 30px; font-weight: 600; margin: 0; }
.page__pdf { display: inline-flex; align-items: center; gap: 8px; }
.page__pdf svg { width: 14px; height: 14px; }
@media (max-width: 767px) { .page__inner { padding: 24px 20px; } }
.page__inner .prose { font-size: 15px; color: var(--color-text-2); }
.page__inner .prose h2 { font-size: 22px; font-weight: 600; margin: 32px 0 12px; color: var(--color-text); }
.page__inner .prose h3 { font-size: 18px; font-weight: 600; margin: 24px 0 10px; color: var(--color-text); }
.page__inner .prose h4 { font-size: 15px; font-weight: 600; margin: 18px 0 8px; color: var(--color-text); }
.page__inner .prose ul { margin-bottom: 1em; }
.page__inner .prose li { margin-bottom: .4em; }
.page__inner .prose li p { margin-bottom: .3em; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 991px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { background: #fff; border-radius: 4px; box-shadow: var(--shadow-card); overflow: hidden; }
.post-card img, .post-card .trip-card__placeholder { aspect-ratio: 16 / 10; }
.post-card__body { padding: 18px; }
.post-card__date { font-size: 12px; color: var(--color-muted); }
.post-card h2 { font-size: 18px; margin: 6px 0 8px; }
.post-card h2 a { color: var(--color-text); }
.post-card p { font-size: 13.5px; color: var(--color-text-2); margin: 0; }
.empty { text-align: center; color: var(--color-text-2); font-size: 15px; padding: 30px 0; }

/* ---------- Tour map (Leaflet) ---------- */
.tour-map { height: 440px; border-radius: var(--radius); border: 1px solid var(--color-border); background: var(--color-light); z-index: 0; }
.tour-map .leaflet-popup-content { font-size: 13px; line-height: 1.5; margin: 12px 16px; }
.tour-map .leaflet-popup-content p { margin: 4px 0 0; color: var(--color-text-2); }
.map-popup__day { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--color-primary); }
.map-pin { background: none; border: 0; }
.map-pin__body {
    display: block; width: 30px; height: 30px; margin-top: 4px;
    background: var(--color-primary); border: 2px solid #fff;
    border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
    box-shadow: 0 2px 6px rgba(15, 23, 42, .35);
}
.map-pin__num {
    display: block; width: 26px; height: 26px; line-height: 26px; text-align: center;
    transform: rotate(45deg); color: #fff; font-weight: 600; font-size: 12px;
}
.map-pin:hover .map-pin__body { background: var(--color-accent); }
.map-stops { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 18px; font-size: 13px; color: var(--color-text-2); }
.map-stops li { display: flex; gap: 8px; align-items: baseline; }
.map-stops__num { flex: 0 0 22px; height: 22px; line-height: 22px; text-align: center; border-radius: 50%; background: var(--color-primary); color: #fff; font-size: 11px; font-weight: 600; }
.map-stops__day { color: var(--color-muted); font-size: 12px; margin-left: 4px; }
@media (max-width: 640px) { .tour-map { height: 320px; } }

/* ---------- Traveller stories (feedback) ---------- */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.story { display: flex; flex-direction: column; background: #fff; padding: 26px 26px 22px; border-radius: 4px; box-shadow: var(--shadow-card); border-top: 3px solid var(--color-accent); }
.story__stars { display: flex; gap: 2px; margin: 0 0 12px; }
.story__stars .icon { width: 15px; height: 15px; }
.story__stars .is-on { color: var(--color-badge-featured); }
.story__stars .is-off { color: var(--color-border-2); }
.story__quote { flex: 1; margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--color-text-2); font-style: italic; }
.story__quote::before { content: "\201C"; font-family: var(--font-display); font-size: 34px; line-height: 0; color: var(--color-accent); margin-right: 4px; vertical-align: -12px; }
.story__meta { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--color-text-2); border-top: 1px solid var(--color-border); padding-top: 12px; }
.story__author { font-family: var(--font-slab); font-size: 15px; color: var(--color-text); }
.story__trip { font-size: 12px; color: var(--color-muted); }
@media (max-width: 991px) { .stories { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .stories { grid-template-columns: 1fr; } }
.site-footer__story { font-weight: 600; }
.site-footer__story .icon { color: var(--color-badge-featured); }

.feedback-page .form { max-width: none; }
.feedback-page .form-card { max-width: 800px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.star-rating { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-rating__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-rating__star { cursor: pointer; color: var(--color-border-2); display: inline-flex; margin: 0; }
.star-rating__star .icon { width: 30px; height: 30px; transition: color .12s, transform .12s; }
.star-rating__star:hover .icon { transform: scale(1.12); }
.star-rating__input:checked ~ .star-rating__star, .star-rating__star:hover, .star-rating__star:hover ~ .star-rating__star { color: var(--color-badge-featured); }
.star-rating__input:focus-visible + .star-rating__star .icon { outline: 2px solid var(--color-primary); outline-offset: 2px; border-radius: 4px; }
.form-consent .form-check { align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.45; margin: 0 0 10px; }
.form-consent .form-check input { margin-top: 3px; }
