/* Carabiner Diaries
   Brand: light, soft nature colours. Blue site to match the blue carabiner, sunset-orange climbers, sunshine yellow, soft green kept for nature accents.
   (The --bark* names are kept so templates don't change; they now hold the blues.)
   Type: Big Shoulders Display (rugged, condensed, echoes the stencilled logo) + Libre Franklin. */

@font-face { font-family: "Big Shoulders Display"; font-weight: 600; font-display: swap; src: url(../fonts/big-shoulders-display-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 800; font-display: swap; src: url(../fonts/big-shoulders-display-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-weight: 400; font-display: swap; src: url(../fonts/libre-franklin-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-weight: 500; font-display: swap; src: url(../fonts/libre-franklin-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-weight: 600; font-display: swap; src: url(../fonts/libre-franklin-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-weight: 700; font-display: swap; src: url(../fonts/libre-franklin-latin-700-normal.woff2) format("woff2"); }

:root {
	--bark: #1f6fb2;
	--bark-deep: #185a93;
	--bark-ink: #133f68;
	--bark-soft: #c25510;
	--sand: #ffc93c;
	--stone: #f3f8fc;
	--paper: #ffffff;
	--ink: #17222e;
	--muted: #4d5d6c;
	--line: #d6e6f2;
	--mint: #e8f2fa;
	--steel: #8f979e;
	--moss: #3e8e41;
	--sky: #1c86c8;
	--sky-deep: #15528c;
	--sky-light: #a8dcf3;
	--sun: #ffc93c;
	--wa: #128c4a;
	--danger: #a23b2a;

	--f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
	--f-body: "Libre Franklin", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--radius: 6px;
	--shadow: 0 1px 2px rgba(12, 45, 80, .06), 0 8px 24px rgba(12, 45, 80, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 16.5px; line-height: 1.65; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--bark); text-underline-offset: 3px; }
a:hover { color: var(--bark-deep); }
:focus-visible { outline: 3px solid var(--bark-soft); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 800; line-height: 1.02; letter-spacing: .005em; text-transform: uppercase; color: var(--bark-ink); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.45rem; font-weight: 600; }
p { margin: 0 0 1em; }
.icon { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--bark-soft); margin-bottom: .6em; display: flex; align-items: center; gap: .4em; }
.eyebrow--light { color: var(--sand); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.4em; border-radius: var(--radius); border: 2px solid transparent; font: 600 .95rem/1 var(--f-body); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--bark); color: #fff; }
.btn--primary:hover { background: var(--bark-deep); color: #fff; }
.btn--outline { border-color: var(--bark); color: var(--bark); background: transparent; }
.btn--outline:hover { background: var(--bark); color: #fff; }
.btn--light { background: var(--stone); color: var(--bark-ink); }
.btn--light:hover { background: #fff; color: var(--bark-ink); }
.btn--ghost-light { border-color: var(--sand); color: var(--stone); }
.btn--ghost-light:hover { background: var(--stone); color: var(--bark-ink); }
.btn--whatsapp { background: var(--wa); color: #fff; }
.btn--whatsapp:hover { background: #0e7a40; color: #fff; }
.btn--small { padding: .5em .9em; font-size: .85rem; background: var(--bark); color: #fff; }
.btn--small:hover { color: #fff; background: var(--bark-deep); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.link-arrow .icon { transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Top bar + header */
.topbar { background: var(--mint); color: var(--bark-deep); font-size: .82rem; border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; flex-wrap: wrap; }
.topbar__note { margin: 0; letter-spacing: .06em; }
.topbar__links { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.topbar__links a { color: var(--ink); text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.topbar__links a:hover { color: var(--bark); }
@media (max-width: 720px) { .topbar__note { display: none; } .topbar__links { gap: 14px; } .topbar__links li:nth-child(2) { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { width: 150px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.site-nav .menu > li { position: relative; }
.site-nav .menu > li > a { display: flex; align-items: center; gap: 4px; padding: 26px 11px; font-weight: 600; font-size: .93rem; color: var(--ink); text-decoration: none; }
.site-nav .menu > li > a:hover, .site-nav .menu > li.current-menu-item > a, .site-nav .menu > li.current-menu-ancestor > a { color: var(--bark); }
.site-nav .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 4px; opacity: .6; }
.site-nav .sub-menu { list-style: none; margin: 0; padding: 10px; position: absolute; top: 100%; left: 0; min-width: 250px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--bark); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; columns: 1; }
.site-nav .menu > li:nth-child(2) > .sub-menu, .site-nav .menu > li:nth-child(3) > .sub-menu { columns: 2; min-width: 440px; }
.site-nav .menu > li:hover > .sub-menu, .site-nav .menu > li:focus-within > .sub-menu, .site-nav .menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { display: block; padding: 8px 12px; border-radius: 4px; color: var(--ink); text-decoration: none; font-size: .92rem; break-inside: avoid; }
.site-nav .sub-menu a:hover { background: var(--stone); color: var(--bark); }
.nav-toggle { display: none; align-items: center; gap: 8px; background: none; border: 2px solid var(--line); border-radius: var(--radius); padding: 8px 12px; font: 600 .9rem var(--f-body); color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 20px; height: 20px; }

@media (max-width: 1080px) {
	.nav-toggle { display: inline-flex; }
	.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 20px; max-height: calc(100vh - 110px); overflow-y: auto; }
	.site-nav.is-open { display: flex; }
	.site-nav .menu { flex-direction: column; }
	.site-nav .menu > li > a { padding: 14px 4px; border-bottom: 1px solid var(--line); justify-content: space-between; }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 12px; display: none; columns: 1 !important; min-width: 0 !important; }
	.site-nav .menu > li.is-open > .sub-menu { display: block; }
	.nav-cta { margin-top: 12px; }
}

/* Ridge dividers */
.ridge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 34px; }
.ridge path { fill: var(--paper); }
.ridge--footer { position: static; height: 40px; margin-bottom: -1px; }
.ridge--footer path { fill: var(--mint); }

/* Hero */
.hero { position: relative; color: var(--ink); overflow: hidden; background: var(--sky-light); }
.hero .eyebrow--light { color: var(--bark-deep); }
.hero__art { position: absolute; inset: 0; }
.hero__art svg { width: 100%; height: 100%; }
.hero__inner { position: relative; padding-block: clamp(56px, 9vw, 110px) clamp(80px, 10vw, 130px); }
.hero__title { color: var(--sky-deep); font-size: clamp(3rem, 9vw, 6.6rem); max-width: 11ch; line-height: .92; margin-bottom: .3em; }
.hero__title span { color: var(--bark-soft); display: block; }
.hero__lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 52ch; color: var(--ink); margin-bottom: 2em; }
.tour-search { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 0; background: var(--paper); border-radius: var(--radius); box-shadow: 0 14px 40px rgba(21, 82, 140, .18); max-width: 920px; overflow: hidden; }
.tour-search__field { display: flex; flex-direction: column; padding: 12px 18px; border-right: 1px solid var(--line); min-width: 0; }
.tour-search__field label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bark-soft); }
.tour-search select { border: 0; background: transparent; font: 500 1rem var(--f-body); color: var(--ink); padding: 4px 0; width: 100%; cursor: pointer; }
.tour-search .btn { border-radius: 0; padding-inline: 28px; }
@media (max-width: 760px) {
	.tour-search { grid-template-columns: 1fr; }
	.tour-search__field { border-right: 0; border-bottom: 1px solid var(--line); }
	.tour-search .btn { padding-block: 16px; }
}

/* Sections */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--tight { padding-block: 40px 8px; }
.section--stone { background: var(--stone); }
.section--bark { background: var(--bark); color: var(--stone); }
.section--bark h2 { color: #fff; }
.section-head { margin-bottom: 32px; max-width: 760px; }
.section-head h2 { margin-bottom: 0; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }

/* Tour type tiles */
.type-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.type-tile { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 112px; padding: 18px 20px; background: var(--stone); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s, background .15s; position: relative; overflow: hidden; }
.type-tile::after { content: ""; position: absolute; right: -18px; top: -18px; width: 64px; height: 64px; border: 6px solid var(--line); border-radius: 50%; border-left-color: transparent; transform: rotate(-20deg); }
.type-tile:hover { border-color: var(--bark); transform: translateY(-2px); background: #fff; color: var(--ink); }
.type-tile__name { font-family: var(--f-display); font-size: 1.5rem; font-weight: 800; text-transform: uppercase; line-height: 1; color: var(--bark-ink); max-width: 12ch; }
.type-tile__count { font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: .4em; }
.type-tile--accent { background: var(--bark); border-color: var(--bark); }
.type-tile--accent .type-tile__name { color: #fff; }
.type-tile--accent .type-tile__count { color: var(--sand); }
.type-tile--accent::after { border-color: rgba(255, 255, 255, .15); border-left-color: transparent; }
.type-tile--accent:hover { background: var(--bark-deep); }
@media (max-width: 900px) { .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Placeholder photo */
.ph { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--sand); }
.ph svg { width: 100%; height: 100%; }
.ph__tag { position: absolute; left: 10px; top: 10px; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; background: rgba(255, 255, 255, .78); color: var(--bark-ink); padding: 3px 8px; border-radius: 3px; }
.photo { width: 100%; height: 100%; object-fit: cover; }

/* Theme tiles */
.theme-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.theme-tile { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; text-decoration: none; max-width: 100%; }
.theme-tile .ph__tag { display: none; }
.theme-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(8, 30, 56, .6)); }
.theme-tile__label { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; font-family: var(--f-display); font-weight: 800; font-size: 1.45rem; text-transform: uppercase; color: #fff; line-height: 1; text-shadow: 0 1px 6px rgba(0, 0, 0, .45); }
.theme-tile .ph svg { transition: transform .4s; }
.theme-tile:hover .ph svg { transform: scale(1.05); }
@media (max-width: 900px) { .theme-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .card-grid, .card-grid--2 { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; max-width: 100%; }
.card__badge { position: absolute; right: 10px; bottom: 10px; background: var(--bark); color: #fff; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 3px; }
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; position: relative; }
.card__eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--bark-soft); margin: 0; display: flex; align-items: center; gap: .35em; }
.card__title { font-size: 1.55rem; margin: 0; }
.card__title a { color: var(--bark-ink); text-decoration: none; }
.card__title a:hover { color: var(--bark); }
.card__text { color: var(--muted); font-size: .95rem; margin: 0 0 4px; }
.card__facts { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }
.card__facts li { display: flex; align-items: center; gap: .35em; }
.card__tags { margin: 2px 0 0; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { display: inline-block; font-size: .76rem; font-weight: 500; padding: 3px 9px; border-radius: 20px; background: var(--stone); color: var(--bark); border: 1px solid var(--line); text-decoration: none; }
a.tag:hover { border-color: var(--bark); }
.card__foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.price { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; color: var(--bark-ink); line-height: 1; font-variant-numeric: tabular-nums; }
.price span { font-family: var(--f-body); font-size: .75rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.card__link { font-weight: 600; font-size: .9rem; text-decoration: none; display: inline-flex; gap: .3em; align-items: center; }
.sample-flag { position: absolute; top: -12px; left: 20px; background: #fff3c4; color: #6b5300; border: 1px solid #e6cf72; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 2px 8px; border-radius: 3px; }
.tour-hero .sample-flag, .page-hero .sample-flag { position: static; display: inline-block; margin-top: 10px; }

/* Destinations */
.dest-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .dest-columns { grid-template-columns: 1fr; } }
.dest-col__title { font-size: 1.8rem; border-bottom: 3px solid var(--bark); padding-bottom: 8px; margin-bottom: 16px; }
.dest-col__title a { color: var(--bark-ink); text-decoration: none; }
.dest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 520px) { .dest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dest-tile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; text-decoration: none; max-width: 100%; }
.dest-tile .ph__tag { display: none; }
.dest-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(8, 30, 56, .6)); }
.dest-tile__label { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 1; color: #fff; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.15rem; line-height: 1.05; text-shadow: 0 1px 6px rgba(0, 0, 0, .45); }
.region-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.region__places { font-size: .9rem; margin: 8px 2px 0; color: var(--muted); }
.region__places a { color: var(--bark); }

/* Training band */
.training-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.training-band__copy p { color: #e8f5ec; max-width: 46ch; }
.training-band__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.training-band__list a { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .18); color: #fff; text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .01em; }
.training-band__list a:hover { color: var(--sand); padding-left: 10px; transition: padding .15s; }
@media (max-width: 860px) { .training-band { grid-template-columns: 1fr; gap: 28px; } }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.why .icon { width: 38px; height: 38px; color: var(--bark); margin-bottom: 14px; }
.why h3 { margin-bottom: .3em; }
.why p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .review-grid { grid-template-columns: 1fr; } }
.review { position: relative; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.review__stars { display: flex; gap: 2px; color: #f5a623; }
.review__stars .icon { fill: currentColor; stroke: none; }
.review blockquote { margin: 0; font-size: 1.02rem; }
.review figcaption { font-size: .88rem; color: var(--muted); margin-top: auto; }

/* Services */
.services-band { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .services-band { grid-template-columns: 1fr; } }
.service-links { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.service-links a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 20px; text-decoration: none; font-weight: 500; color: var(--ink); }
.service-links a:hover { border-color: var(--bark); color: var(--bark); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }
.service { display: flex; flex-direction: column; gap: 8px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.service:hover { border-color: var(--bark); box-shadow: var(--shadow); color: var(--ink); }
.service__icon .icon { width: 34px; height: 34px; color: var(--bark); }
.service h2 { font-size: 1.6rem; margin: 6px 0 0; }
.service p { color: var(--muted); margin: 0; }
.service .link-arrow { margin-top: auto; color: var(--bark); }

/* Panels and forms */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); min-width: 0; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.cd-form__title { font-size: 1.7rem; margin-bottom: .6em; }
.cd-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-bottom: 16px; }
@media (max-width: 520px) { .cd-form__grid { grid-template-columns: 1fr; } }
.cd-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.cd-field--wide { grid-column: 1 / -1; }
.cd-field label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.cd-field label span { color: var(--danger); }
.cd-field input, .cd-field select, .cd-field textarea { width: 100%; font: 400 1rem var(--f-body); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 10px 12px; min-height: 46px; }
.cd-field input:focus, .cd-field select:focus, .cd-field textarea:focus { border-color: var(--bark-soft); outline: 0; box-shadow: 0 0 0 3px rgba(31, 111, 178, .2); }
.cd-form .btn { width: 100%; padding-block: 15px; }
.cd-form__fine { font-size: .8rem; color: var(--muted); margin: 10px 0 0; text-align: center; }
.cd-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cd-form-done { background: #eaf3e6; border: 1px solid #b8d2ac; color: #2c4a22; padding: 18px 20px; border-radius: var(--radius); }
.cd-form-error { background: #fbeae6; border: 1px solid #e5b5aa; color: #6d2416; padding: 12px 16px; border-radius: var(--radius); margin-bottom: 14px; }
.cf-turnstile { margin-bottom: 14px; }

/* Page hero */
.page-hero { position: relative; background: var(--bark-deep); color: var(--stone); overflow: hidden; }
.page-hero__art { position: absolute; inset: 0; }
.page-hero__art .ph__tag { display: none; }
.page-hero__art .photo { position: absolute; inset: 0; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 45, 80, .85) 0%, rgba(12, 45, 80, .45) 55%, rgba(12, 45, 80, 0) 85%); z-index: 1; }
.page-hero__inner { position: relative; z-index: 2; padding-block: clamp(40px, 6vw, 72px) clamp(56px, 7vw, 88px); }
.page-hero h1 { color: #fff; margin-bottom: .25em; }
.page-hero__lede { font-size: 1.12rem; max-width: 60ch; color: #e8f5ec; margin: 0; }
.page-hero__lede p { margin: 0; }
.page-hero--plain { background: var(--stone); color: var(--ink); }
.page-hero--plain::before { display: none; }
.page-hero--plain h1 { color: var(--bark-ink); }
.page-hero--plain .page-hero__lede { color: var(--muted); }
.page-hero--plain .crumbs, .page-hero--plain .crumbs a { color: var(--muted); }
.page-hero .ridge { z-index: 3; }
.crumbs { font-size: .85rem; margin-bottom: 14px; color: var(--sand); }
.crumbs a { color: var(--sand); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 24px 0; }
.chip { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border: 1px solid var(--line); border-radius: 20px; text-decoration: none; font-weight: 500; color: var(--ink); }
.chip span { font-size: .78rem; color: var(--muted); }
.chip:hover { border-color: var(--bark); color: var(--bark); }

/* Listing */
.listing { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 36px; padding-block: 40px 72px; align-items: start; }
.filters { position: sticky; top: 96px; }
.filters__form { display: flex; flex-direction: column; gap: 14px; background: var(--stone); border-radius: var(--radius); padding: 20px; }
.filters__title { font-size: 1.4rem; margin: 0; }
.filters__toggle { display: none; width: 100%; }
.filters__clear { font-size: .88rem; text-align: center; }
.listing__count { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
@media (max-width: 900px) {
	.listing { grid-template-columns: 1fr; gap: 20px; }
	.filters { position: static; }
	.filters__toggle { display: flex; }
	.filters__form { display: none; margin-top: 12px; }
	.filters.is-open .filters__form { display: flex; }
}
.empty { background: var(--stone); padding: 40px; border-radius: var(--radius); text-align: center; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.nav-links .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.nav-links .page-numbers.current { background: var(--bark); color: #fff; border-color: var(--bark); }

/* Tour detail */
.tour-hero { position: relative; min-height: clamp(380px, 52vw, 560px); display: flex; align-items: flex-end; color: #fff; background: var(--bark-deep); overflow: hidden; }
.tour-hero__media { position: absolute; inset: 0; }
.tour-hero__media .photo, .tour-hero__media .ph { position: absolute; inset: 0; }
.tour-hero__media .ph__tag { top: auto; bottom: 14px; left: auto; right: 14px; z-index: 2; }
.tour-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 30, 56, .15) 0%, rgba(8, 30, 56, 0) 25%, rgba(8, 30, 56, .45) 55%, rgba(8, 30, 56, .8)); }
.tour-hero__inner { position: relative; z-index: 1; width: 100%; padding-block: 40px; }
.tour-hero h1 { color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .4); max-width: 18ch; margin-bottom: .2em; }
.tour-hero__lede { max-width: 60ch; font-size: 1.12rem; color: #f2faf4; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); margin: 0; }
.facts-bar { background: var(--bark-ink); color: var(--stone); }
.facts { list-style: none; margin-block: 0; display: flex; flex-wrap: wrap; gap: 8px 36px; padding-block: 18px; }
.facts li { display: flex; align-items: center; gap: 10px; }
.facts .icon { width: 26px; height: 26px; color: var(--sand); }
.facts small { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sand); }
.facts span { font-weight: 600; line-height: 1.3; }
.tour-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; padding-block: 40px 80px; align-items: start; }
@media (max-width: 1000px) { .tour-layout { grid-template-columns: minmax(0, 1fr); } }
.section-nav { position: sticky; top: 76px; z-index: 5; background: rgba(255, 255, 255, .96); display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 8px; scrollbar-width: none; }
.section-nav a { padding: 14px 12px; white-space: nowrap; font-weight: 600; font-size: .9rem; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; }
.section-nav a:hover, .section-nav a.is-active { color: var(--bark); border-bottom-color: var(--bark); }
.tour-section { padding-block: 28px; border-bottom: 1px solid var(--line); }
.tour-section:last-child { border-bottom: 0; }
.tour-section h2 { font-size: 2.1rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { color: var(--moss); margin-top: .2em; }
.ticks--no .icon { color: var(--danger); }
.ticks--cols { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .ticks--cols { grid-template-columns: 1fr; } }
.term-links { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.itinerary { list-style: none; margin: 0; padding: 0; position: relative; }
.itinerary::before { content: ""; position: absolute; left: 34px; top: 8px; bottom: 8px; width: 2px; background: repeating-linear-gradient(180deg, var(--sand) 0 6px, transparent 6px 12px); }
.itinerary li { display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding-block: 10px; position: relative; }
.itinerary__day { justify-self: center; align-self: start; background: var(--bark); color: #fff; font-family: var(--f-display); font-weight: 800; font-size: .95rem; text-transform: uppercase; padding: 6px 8px; border-radius: 4px; position: relative; white-space: nowrap; }
.itinerary h3 { font-size: 1.3rem; margin: 2px 0 2px; }
.itinerary p { color: var(--muted); margin: 0; }
.incl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.incl-grid h3 { font-size: 1.2rem; }
@media (max-width: 620px) { .incl-grid { grid-template-columns: 1fr; } }
.table-scroll { overflow-x: auto; }
.dates { width: 100%; border-collapse: collapse; min-width: 560px; font-variant-numeric: tabular-nums; }
.dates th { text-align: left; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 10px; border-bottom: 2px solid var(--line); }
.dates td { padding: 12px 10px; border-bottom: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding-block: 14px; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--bark); }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 10px 0 0; color: var(--muted); }
.book-box { position: sticky; top: 96px; }
.book-box__inner { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--bark); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.book-box__price { font-family: var(--f-display); font-weight: 800; font-size: 2.6rem; line-height: 1; margin: 0; color: var(--bark-ink); font-variant-numeric: tabular-nums; }
.book-box__price span { font-family: var(--f-body); font-size: .8rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.book-box__note { margin: -8px 0 0; color: var(--muted); font-size: .9rem; }
.book-box .cd-form__grid { grid-template-columns: 1fr; }
.book-box .cd-form__title { font-size: 1.35rem; padding-top: 14px; border-top: 1px dashed var(--line); }
@media (max-width: 1000px) { .book-box { position: static; } }
.cd-pay { background: var(--stone); border-radius: var(--radius); padding: 16px; }
.cd-pay__label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--moss); margin: 0 0 4px; }
.cd-pay__amount { font-weight: 700; font-size: 1.15rem; margin: 0 0 10px; }
.cd-pay__amount span { font-weight: 400; font-size: .85rem; color: var(--muted); }
.cd-pay__soon { font-size: .9rem; margin: 0 0 8px; padding: 10px 12px; background: #fff; border: 1px dashed var(--line); border-radius: 4px; }
.cd-pay__fine { font-size: .78rem; color: var(--muted); margin: 8px 0 0; }

/* Training detail */
.three-col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-block: 12px 28px; border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .three-col { grid-template-columns: 1fr; } }
.mini-panel { background: var(--stone); padding: 20px; border-radius: var(--radius); }
.mini-panel h2 { font-size: 1.5rem; }
.logo-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 10px; }
.logo-strip span { border: 1px dashed var(--line); border-radius: var(--radius); padding: 22px 8px; text-align: center; color: var(--muted); font-size: .8rem; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps li { counter-increment: s; border-top: 3px solid var(--bark); padding-top: 14px; }
.steps li::before { content: "Step " counter(s); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bark-soft); }
.steps h3 { margin-top: 6px; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Contact */
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.contact-card .icon { width: 26px; height: 26px; color: var(--bark); margin-top: 2px; }
.contact-card strong { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bark-soft); }
a.contact-card:hover { border-color: var(--wa); }
.contact-alt { margin-top: 20px; }

/* Prose */
.prose { max-width: 68ch; }
.prose .lead { font-size: 1.2rem; color: var(--muted); }
.prose h2 { font-size: 2rem; margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post-photo { margin-bottom: 28px; border-radius: var(--radius); overflow: hidden; }

/* CTA band */
.cta-band { background: var(--stone); border-top: 1px solid var(--line); }
.cta-band__inner { padding-block: 64px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-band p { color: var(--muted); font-size: 1.1rem; }
.cta-band .btn-row { justify-content: center; }

/* Footer */
.site-footer { margin-top: 0; }
.site-footer__body { background: var(--mint); color: var(--muted); padding-block: 48px 24px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 150px; margin-bottom: 14px; }
.footer-title { font-size: 1.15rem; color: var(--bark-ink); letter-spacing: .04em; margin-bottom: 14px; }
.footer-menu, .legal-menu, .footer-contact, .social { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: 8px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--bark); text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--bark); margin-top: .2em; }
.footer-pay { display: flex; gap: 8px; align-items: flex-start; font-size: .82rem; margin-top: 16px; color: var(--muted); }
.social { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 36px; padding-top: 20px; font-size: .8rem; color: var(--muted); }
.footer-base p { margin: 0; max-width: 70ch; }
.legal-menu { display: flex; gap: 18px; flex-wrap: wrap; }

/* WhatsApp float */
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: inline-flex; align-items: center; gap: 8px; background: var(--wa); color: #fff; border-radius: 40px; padding: 12px 18px 12px 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); text-decoration: none; font-weight: 600; font-size: .92rem; }
.wa-float .icon { width: 26px; height: 26px; }
.wa-float:hover { color: #fff; background: #0e7a40; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Traveller stories and ratings */
.stars { display: inline-flex; gap: 1px; font-size: 1.05rem; line-height: 1; vertical-align: -.1em; }
.star { color: #cfd8e0; }
.star--on { color: #f5a623; }
.stars__num { font-weight: 700; color: var(--ink); }
.rating-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 1em; }
.page-hero .rating-line, .page-hero .rating-line a { color: inherit; }
.rated-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.rated { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); text-decoration: none; color: var(--ink); }
.rated:hover { border-color: var(--bark); }
.rated__name { font-weight: 700; }
.rated__count { font-size: .85rem; color: var(--muted); }
.card--story .stars { margin-bottom: 6px; }
.card__by { font-size: .88rem; color: var(--muted); margin: 0; }
.story-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; color: var(--muted); margin: 0; }
.tip-box { background: var(--mint); border-left: 4px solid var(--bark-soft); padding: 14px 18px; border-radius: var(--radius); margin: 24px 0; }
.story-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 24px 0; }
.story-photos img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; }
.story-dest { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 24px; }
.stories-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 20px; }
.rate-input { border: 0; padding: 0; margin: 0; }
.rate-input legend { font-size: .85rem; font-weight: 600; margin-bottom: 4px; padding: 0; }
.rate-input legend span { color: var(--danger); }
.rate-input__stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rate-input__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate-input__stars label { font-size: 2rem; line-height: 1; color: #cfd8e0; cursor: pointer; }
.rate-input__stars label:hover, .rate-input__stars label:hover ~ label, .rate-input__stars input:checked ~ label { color: #f5a623; }
.rate-input__stars input:focus-visible + label { outline: 3px solid var(--bark-soft); outline-offset: 2px; }
.cd-check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.cd-check input { margin-top: .25em; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Guides: quick answer and facts table */
.answer-box { background: var(--mint); border-left: 4px solid var(--bark); padding: 16px 20px; border-radius: var(--radius); margin-bottom: 24px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--stone); }
.updated { font-size: .88rem; color: var(--muted); }
.tour-hero .rating-line { margin: 10px 0 0; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.tour-hero .rating-line a, .tour-hero .stars__num { color: #fff; }

.theme-tile > .photo, .dest-tile > .photo { position: absolute; inset: 0; transition: transform .4s; }
.theme-tile:hover > .photo, .dest-tile:hover > .photo { transform: scale(1.05); }

/* Photo banners on every page */
.page-hero .updated, .page-hero .story-meta, .page-hero .story-meta span { color: #e8f2fa; }
.page-hero .crumbs, .page-hero .crumbs a { color: #e8f2fa; }
.hero--photo { background: var(--bark-deep); color: #fff; }
.hero--photo .hero__art .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10, 38, 68, .82) 0%, rgba(10, 38, 68, .5) 55%, rgba(10, 38, 68, .15) 100%); }
.hero--photo .hero__inner { z-index: 2; }
.hero--photo .ridge { z-index: 3; }
.hero--photo .hero__title, .hero--photo .hero__title span { color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .35); }
.hero--photo .hero__lede { color: #eef5fb; }
.hero--photo .eyebrow--light { color: #cfe6f7; }

/* Tour-type tiles with photos */
.type-tile--photo { min-height: 170px; background: var(--bark-deep); border-color: transparent; }
.type-tile--photo > .photo, .type-tile--photo > .ph { position: absolute; inset: 0; z-index: 0; transition: transform .4s; }
.type-tile--photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 38, 68, .55) 0%, rgba(10, 38, 68, .15) 45%, rgba(10, 38, 68, .8) 100%); }
.type-tile--photo::after { display: none; }
.type-tile--photo > span { position: relative; z-index: 2; }
.type-tile--photo .type-tile__name { color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.type-tile--photo .type-tile__count { color: #e8f2fa; }
.type-tile--photo:hover { background: var(--bark-deep); border-color: transparent; }
.type-tile--photo:hover > .photo { transform: scale(1.05); }
.type-tile--accent.type-tile--photo::before { background: linear-gradient(180deg, rgba(31, 111, 178, .75), rgba(19, 63, 104, .9)); }
.type-tile--accent.type-tile--photo .type-tile__count { color: var(--sand); }
