/* ==========================================================================
   Inbound Green — design system
   Green-themed inbound tourism website. Main palette is emerald/forest green
   with a warm gold accent. Mobile-first, accessible, premium feel.
   ========================================================================== */

:root {
	--c-primary: #1f7a3d;        /* primary emerald green */
	--c-primary-700: #176030;
	--c-primary-300: #6fb98a;
	--c-deep: #0d3b26;            /* deep green for header/footer */
	--c-deep-800: #0a2f1e;
	--c-accent: #e8a93c;           /* warm gold CTA accent */
	--c-accent-700: #c98e22;
	--c-light: #eef6f0;            /* light tint background */
	--c-light-200: #f7fbf8;
	--c-ink: #1c2b22;              /* near-black text */
	--c-text: #36473d;
	--c-muted: #6b7a71;
	--c-line: #d9e6dd;
	--c-white: #ffffff;
	--c-danger: #c0392b;
	--c-success: #1f7a3d;
	/* Travel Plans redesign tokens (added for the /plans/ archive refresh). */
	--c-brand-deep: #235938;   /* CTA + card title color per spec */
	--c-difficulty: #e6b350;   /* yellow difficulty tag */
	--c-ink: #222222;          /* body text per spec */
	--c-muted-2: #666666;      /* secondary text per spec */
	--c-brand-deep-700: #1a4230; /* hover state */

	--radius-sm: 6px;
	--radius: 12px;
	--radius-lg: 20px;
	--shadow-sm: 0 1px 2px rgba(13, 59, 38, .06);
	--shadow: 0 6px 24px rgba(13, 59, 38, .10);
	--shadow-lg: 0 18px 50px rgba(13, 59, 38, .18);

	--container: 1240px;
	--gap: 24px;
	--font-head: 'Playfair Display', 'Noto Sans SC', Georgia, serif;
	--font-body: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--c-text);
	background: var(--c-white);
	line-height: 1.65;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
	width: 100%;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color .18s; }
a:hover { color: var(--c-primary-700); }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--c-ink); line-height: 1.22; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.hide-sm { display: inline; } /* hidden on tablet/mobile via media query below */
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--tint { background: var(--c-light); }
.section--deep { background: var(--c-deep); color: #e7f2ea; }
.section--deep h2 { color: #fff; }
.row { display: flex; flex-wrap: wrap; gap: var(--gap); }
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.text-center { text-align: center; }

/* WordPress block alignment utility classes (core ships alignwide/alignfull but
 * dropped the text-align-justify/right utility in WP 6.6+). We re-add them so
 * blocks using the "justify" / "right" alignment actually render correctly. */
.has-text-align-justify { text-align: justify; }
.has-text-align-right   { text-align: right;   }
.alignleft  { float: left;  margin-right: 1.5em; }
.alignright { float: right; margin-left:  1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; display: block; }

.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.wrap-80 { max-width: 820px; margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: .97rem; cursor: pointer; border: 2px solid transparent; transition: transform .15s, background .18s, color .18s, box-shadow .18s; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-700); color: #fff; box-shadow: var(--shadow); }
.btn--accent { background: var(--c-accent); color: #2a1d05; }
.btn--accent:hover { background: var(--c-accent-700); color: #2a1d05; box-shadow: var(--shadow); }
.btn--outline { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn--outline:hover { background: #fff; color: var(--c-deep); }
.btn--ghost { background: var(--c-light); color: var(--c-primary); }
.btn--ghost:hover { background: var(--c-primary-300); color: #fff; }
.btn--block { width: 100%; justify-content: center; }
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }

/* ---------- Section heading ---------- */
.section-heading { margin-bottom: 40px; }
.section-heading.align-center { text-align: center; }
.section-heading__kicker { color: var(--c-primary); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin-bottom: 10px; }
.section-heading__title { margin: 0; }
.section-heading__title::after { content: ''; display: block; width: 60px; height: 4px; background: var(--c-accent); border-radius: 4px; margin-top: 16px; }
.section-heading.align-center .section-heading__title::after { margin-left: auto; margin-right: auto; }

/* ---------- Top bar ---------- */
.topbar { background: var(--c-deep-800); color: #cfe6d6; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.topbar__notice { display: flex; align-items: center; gap: 8px; }
.topbar__notice .dot { width: 8px; height: 8px; background: var(--c-accent); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.topbar__contact { display: flex; gap: 18px; align-items: center; }
.topbar__contact a, .topbar__contact span { display: inline-flex; align-items: center; gap: 6px; color: #cfe6d6; }
.topbar__contact a:hover { color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.main-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.main-nav .primary-menu { flex-wrap: nowrap; }
.brand { display: flex; flex-direction: row; align-items: center; gap: 12px; min-width: 0; flex-shrink: 0; }
/* Logo sits to the LEFT of the Site Title + Tagline. The box is a fixed size so
   it never grows the header height (the mobile drawer is anchored at top:64px;
   a taller header would gap it). object-fit:contain keeps any logo's aspect
   ratio whole inside the box. Tweak --brand-logo-size to resize. */
/* Logo sits to the LEFT of the Site Title + Tagline. The box stretches to
   match the full height of the text column (align-self:stretch in the row
   flex parent), so the logo image — kept full-width by width:100% + object-
   fit:contain — sits with its top edge flush with the Site Title's top and
   its bottom edge flush with the Tagline's bottom. The box itself is
   auto-sized so it never grows the header height; the image inside does the
   filling. (At ≤760px the Tagline is hidden, so the mobile block below
   re-centers the logo on the Site Title only.) */
.brand__logo { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; align-self: stretch; width: var(--brand-logo-width, 40px); height: auto; border-radius: 8px; overflow: hidden; }
.brand__logo .brand__logo-img,
.brand__logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand__text { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.28rem; color: var(--c-deep); line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60vw; }
.brand__name span { color: var(--c-primary); }
.brand__tag { display: none; font-size: .72rem; color: var(--c-muted); letter-spacing: .02em; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 46vw; }
@media (min-width: 761px) { .brand__tag { display: block; } }
/* Hamburger is hidden on desktop — the menu is shown inline (horizontal). */
.nav-toggle { display: none; align-items: center; justify-content: center; background: none; border: 0; color: var(--c-deep); padding: 8px; cursor: pointer; border-radius: 8px; }
.nav-toggle:hover { background: var(--c-light); }
.nav-toggle svg { width: 26px; height: 26px; display: block; }

/* Horizontal primary menu — always visible, beautifully spaced. */
.primary-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.primary-menu > li { position: relative; }
.primary-menu > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 9px 12px; color: var(--c-ink); font-weight: 500; font-size: .92rem; border-radius: 999px; transition: color .18s, background .18s; position: relative; white-space: nowrap; }
.primary-menu > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--c-primary); transform: scaleX(0); transform-origin: center; transition: transform .2s ease; }
.primary-menu > li > a:hover { color: var(--c-primary); background: var(--c-light); }
.primary-menu > li > a:hover::after { transform: scaleX(0); }
.primary-menu > li.current-menu-item > a, .primary-menu > li.current_page_item > a { color: #fff; background: var(--c-primary); box-shadow: 0 4px 14px rgba(31,122,61,.28); }
.primary-menu > li.current-menu-item > a::after, .primary-menu > li.current_page_item > a::after { transform: scaleX(0); }

/* Dropdown for items with sub-menu (desktop hover). */
.primary-menu .sub-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; z-index: 60; }
.primary-menu li:hover > .sub-menu, .primary-menu li.open > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-menu .sub-menu a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--c-text); }
.primary-menu .sub-menu a:hover { background: var(--c-light); color: var(--c-primary); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__actions .icon-link { display: inline-flex; align-items: center; gap: 6px; color: var(--c-deep); padding: 8px 10px; border-radius: 8px; position: relative; }
.header__actions .icon-link:hover { background: var(--c-light); }
.cart-count { background: var(--c-accent); color: #2a1d05; font-size: .72rem; font-weight: 700; border-radius: 999px; padding: 1px 7px; }

/* Mobile-only action shortcuts (Plan Trip / Account / Cart) folded into the
   drawer. Hidden on desktop (>=1025px) where the header__actions icons are used. */
.primary-menu .menu-sep { height: 0; margin: 12px 0 6px; padding: 0; border-top: 1px solid rgba(13,59,38,.12); list-style: none; }
.primary-menu .menu-action { color: var(--c-deep); }
.primary-menu .menu-action a { color: var(--c-deep); font-weight: 600; }
.primary-menu .menu-action .cart-count { margin-left: 6px; }

/* Mobile drawer backdrop + body scroll lock (toggled via JS in main.js). */
.nav-overlay { position: fixed; inset: 0; background: rgba(13,59,38,.5); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; z-index: 45; }
.nav-overlay.show { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }
@media (min-width: 1025px) { .nav-overlay { display: none; } }
/* On desktop the action shortcuts live in the header, not the menu. */
@media (min-width: 1025px) { .menu-action, .menu-sep { display: none !important; } }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: linear-gradient(rgba(13,59,38,.55), rgba(13,59,38,.75)), var(--c-deep); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.hero__inner { position: relative; z-index: 1; padding: 110px 0 90px; max-width: 760px; }
.hero__kicker { display: inline-flex; align-items: center; gap: 8px; background: rgba(232,169,60,.18); border: 1px solid rgba(232,169,60,.5); color: #ffd789; padding: 7px 16px; border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 22px; }
.hero h1 { color: #fff; margin-bottom: 18px; font-size: clamp(2.1rem, 5vw, 3.6rem); }
.hero p { font-size: 1.12rem; color: #e7f2ea; max-width: 600px; margin-bottom: 30px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 36px; margin-top: 50px; flex-wrap: wrap; }
.hero__stat .num { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--c-accent); }
.hero__stat .lbl { font-size: .82rem; color: #cfe6d6; }

/* ---------- Visa notice strip ---------- */
.visa-notice { background: linear-gradient(90deg, var(--c-primary), var(--c-primary-700)); color: #fff; }
.visa-notice__inner { display: flex; align-items: center; gap: 14px; padding: 14px 0; flex-wrap: wrap; }
.visa-notice .ic { flex: 0 0 auto; width: 38px; height: 38px; background: rgba(255,255,255,.15); border-radius: 50%; display: grid; place-items: center; }
.visa-notice strong { color: #ffe7b3; }

/* ---------- Tour cards ---------- */
.tours-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 26px; }
.tour-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--c-line); transition: transform .2s, box-shadow .2s; }
.tour-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tour-card__link { display: block; color: inherit; }
.tour-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--c-light); }
.tour-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tour-card:hover .tour-card__media img { transform: scale(1.05); }
.tour-card__tag { position: absolute; left: 12px; bottom: 12px; background: rgba(13,59,38,.85); color: #fff; padding: 5px 12px; border-radius: 999px; font-size: .74rem; font-weight: 600; }
.tour-card__body { padding: 18px; }
.tour-card__title { font-size: 1.12rem; margin-bottom: 6px; }
.tour-card__meta { color: var(--c-primary); font-size: .82rem; font-weight: 600; margin-bottom: 10px; }
.tour-card__excerpt { color: var(--c-muted); font-size: .9rem; margin-bottom: 16px; }
.tour-card__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.tour-card__price { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--c-deep); line-height: 1; }
.tour-card__price small { display: block; font-family: var(--font-body); font-size: .72rem; font-weight: 400; color: var(--c-muted); margin-top: 4px; }
.tour-card__cta { color: var(--c-primary); font-weight: 600; font-size: .88rem; white-space: nowrap; }

/* ---------- Destinations grid ---------- */
.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 18px; }
.dest-grid .dest-tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.dest-tile { position: relative; border-radius: var(--radius); overflow: hidden; display: block; color: #fff; box-shadow: var(--shadow-sm); }
.dest-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.dest-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(13,59,38,.85)); }
.dest-tile:hover img { transform: scale(1.06); }
.dest-tile__label { position: absolute; left: 16px; bottom: 14px; z-index: 2; }
.dest-tile__label .city { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; }
.dest-tile__label .count { font-size: .76rem; opacity: .85; }
.dest-tile:nth-child(1) .dest-tile__label .city { font-size: 1.7rem; }

/* ---------- Travel Plans: filter bar + destination-product cards ----------
   Layout matches /home/ubuntu/plan.png reference:
   - Filter card (white, soft shadow, rounded): single row of [search][dest][length][submit][reset]
   - Chip row: rounded pill buttons for quick-filter chips
   - Results header: "{N} China Tour Plans Found" on the left, "Sort: …" on the right
   - Card: large 4:3 image with overlay badge (top-right) + destination pill (bottom-left)
     → meta strip (duration · tour type)
     → bold title
     → 1-line intro
     → foot row: "From $X / person" + green "View Full Plan" pill CTA
   Two columns on desktop, one on phones. */
/* ---- Filter card ---- */
.plan-archive .plan-filters {
	background: #fff;
	border-radius: 14px;
	padding: 22px;
	box-shadow: 0 1px 3px rgba(15, 40, 25, 0.06), 0 8px 24px rgba(15, 40, 25, 0.05);
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 0 0 26px;
}
.plan-filters__row {
	display: flex;
	align-items: flex-end;
	gap: 14px;
	flex-wrap: wrap;
}
.plan-filters__row--main {
	display: grid;
	grid-template-columns: minmax(220px, 1.4fr) minmax(160px, 1fr) minmax(140px, 0.9fr) auto auto;
	gap: 14px;
	align-items: end;
}
.plan-filters__field { display: flex; flex-direction: column; min-width: 0; }
.plan-filters__field--search { min-width: 220px; }
.plan-filters label {
	font-size: .76rem;
	font-weight: 700;
	color: var(--c-ink);
	margin-bottom: 6px;
	display: block;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.plan-filters select {
	width: 100%;
	padding: 11px 38px 11px 14px;
	border: 1px solid var(--c-line);
	border-radius: 10px;
	font-size: .92rem;
	background: #fff;
	color: var(--c-ink);
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3e%3cpath fill='%23235938' d='M6 8L0 0h12z'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 10px;
	cursor: pointer;
	min-height: 46px;
	transition: border .15s, box-shadow .15s;
}
.plan-filters select:focus {
	outline: none;
	border-color: var(--c-brand-deep);
	box-shadow: 0 0 0 3px rgba(35, 89, 56, .15);
}
.plan-filters__search {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 46px;
}
.plan-filters__search input {
	width: 100%;
	padding: 11px 14px 11px 40px;
	border: 1px solid var(--c-line);
	border-radius: 10px;
	font: inherit;
	font-size: .92rem;
	background: #fff;
	color: var(--c-ink);
	min-height: 46px;
}
.plan-filters__search input:focus {
	outline: none;
	border-color: var(--c-brand-deep);
	box-shadow: 0 0 0 3px rgba(35, 89, 56, .15);
}
.plan-filters__search-ic {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--c-muted-2);
	pointer-events: none;
	display: inline-flex;
}
.plan-filters__submit {
	appearance: none;
	border: none;
	background: var(--c-brand-deep);
	color: #fff;
	font: inherit;
	font-weight: 600;
	padding: 0 22px;
	min-height: 46px;
	border-radius: 10px;
	cursor: pointer;
	transition: background .15s, transform .15s;
	white-space: nowrap;
}
.plan-filters__submit:hover { background: var(--c-brand-deep-700); }
.plan-filters__reset {
	padding: 11px 14px;
	min-height: 46px;
	display: inline-flex;
	align-items: center;
	font-size: .85rem;
	color: var(--c-brand-deep);
	text-decoration: none;
	font-weight: 600;
	white-space: nowrap;
	border-radius: 10px;
	transition: background .15s, color .15s;
}
.plan-filters__reset:hover { background: var(--c-light); }
.plan-filters:not(.has-filters) .plan-filters__reset { display: none; }

.plan-filters__row--chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	padding-top: 14px;
	border-top: 1px solid var(--c-line);
}
.plan-filters__chip-label {
	font-size: .82rem;
	font-weight: 600;
	color: var(--c-muted-2);
	margin-right: 4px;
}
.plan-chip {
	display: inline-flex;
	align-items: center;
	padding: 7px 14px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--c-line);
	color: var(--c-ink);
	font-size: .82rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: background .15s, border-color .15s, color .15s;
}
.plan-chip:hover {
	border-color: var(--c-brand-deep);
	color: var(--c-brand-deep);
}
.plan-chip.is-active {
	background: var(--c-brand-deep);
	color: #fff;
	border-color: var(--c-brand-deep);
}

/* ---- Results header ---- */
.plan-results {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin: 6px 0 22px;
}
.plan-results__title {
	margin: 0;
	font-family: var(--font-head);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--c-ink);
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}
.plan-results__count { color: var(--c-ink); }
.plan-results__clear {
	font-size: .82rem;
	font-weight: 600;
	color: var(--c-brand-deep);
	text-decoration: none;
	padding: 4px 10px;
	border-radius: 6px;
}
.plan-results__clear:hover { background: var(--c-light); }
.plan-results__sort {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.plan-results__sort label {
	font-size: .85rem;
	color: var(--c-muted-2);
	font-weight: 500;
}
.plan-results__sort-select {
	padding: 8px 34px 8px 12px;
	border: 1px solid var(--c-line);
	border-radius: 8px;
	background: #fff;
	color: var(--c-ink);
	font: inherit;
	font-size: .88rem;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3e%3cpath fill='%23235938' d='M6 8L0 0h12z'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 10px;
	cursor: pointer;
}
.plan-results__sort-submit {
	border: none;
	background: var(--c-brand-deep);
	color: #fff;
	padding: 8px 14px;
	border-radius: 6px;
	font: inherit;
	font-size: .85rem;
	cursor: pointer;
}

/* ---- Card grid ---- */
.plan-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 26px;
}
@media (min-width: 1280px) {
	.plan-grid { grid-template-columns: repeat(2, 1fr); }
}
.plan-grid__empty {
	grid-column: 1 / -1;
	text-align: center;
	color: var(--c-muted-2);
	padding: 60px 0;
	font-size: 1rem;
}

.plan-card {
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(15, 40, 25, 0.05), 0 8px 24px rgba(15, 40, 25, 0.04);
	transition: transform .22s, box-shadow .22s;
	display: flex;
	flex-direction: column;
	height: 100%;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 4px 12px rgba(15, 40, 25, 0.10), 0 18px 36px rgba(15, 40, 25, 0.08); }

.plan-card__media {
	display: block;
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--c-light-200);
	color: #fff;
}
.plan-card__img,
.plan-card__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s ease;
}
.plan-card:hover .plan-card__img,
.plan-card:hover .plan-card__media img { transform: scale(1.04); }

.plan-card__placeholder {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--c-light) 0%, var(--c-light-200) 100%);
	color: var(--c-brand-deep);
	font-family: var(--font-head);
	font-size: 1.2rem;
	font-weight: 600;
	padding: 20px;
	text-align: center;
}

.plan-card__badge {
	position: absolute;
	top: 14px;
	right: 14px;
	background: var(--c-difficulty);
	color: #3d2c00;
	font-family: var(--font-body);
	font-size: .72rem;
	font-weight: 700;
	padding: 6px 12px;
	border-radius: 999px;
	letter-spacing: .04em;
	text-transform: uppercase;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}

.plan-card__pill {
	position: absolute;
	left: 14px;
	bottom: 14px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: rgba(15, 40, 25, 0.78);
	color: #fff;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: .78rem;
	font-weight: 600;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}
.plan-card__pill svg { display: block; }

.plan-card__body {
	padding: 18px 20px 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.plan-card__meta {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: .78rem;
	color: var(--c-muted-2);
	font-weight: 500;
	letter-spacing: .01em;
}
.plan-card__duration { color: var(--c-brand-deep); font-weight: 700; }
.plan-card__type { color: var(--c-muted-2); }
.plan-card__dot { color: var(--c-line); }

.plan-card__title {
	font-family: var(--font-head);
	font-size: 1.2rem;
	color: var(--c-ink);
	line-height: 1.3;
	margin: 0;
	font-weight: 700;
}
.plan-card__title a {
	color: inherit;
	text-decoration: none;
	transition: color .15s;
}
.plan-card__title a:hover { color: var(--c-brand-deep); }

.plan-card__intro {
	color: var(--c-muted-2);
	font-size: .88rem;
	margin: 0;
	line-height: 1.55;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.plan-card__foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--c-line);
	margin-top: 4px;
}
.plan-card__price {
	font-family: var(--font-head);
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--c-accent);   /* gold so the price reads as the headline */
	line-height: 1.1;
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 2px;
}
.plan-card__price-from {
	font-family: var(--font-body);
	font-size: .72rem;
	font-weight: 600;
	color: var(--c-muted-2);
	text-transform: uppercase;
	letter-spacing: .06em;
	margin-right: 4px;
	align-self: center;
}
.plan-card__price-per {
	font-family: var(--font-body);
	font-size: .78rem;
	font-weight: 500;
	color: var(--c-muted-2);
	margin-left: 2px;
	align-self: center;
}
.plan-card__price .cur {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 700;
	font-size: 1.15rem;
	color: var(--c-accent);
	margin-right: 2px;
}

.plan-card__cta {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 9px 16px;
	border-radius: 999px;
	background: var(--c-brand-deep);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	transition: background .15s, transform .15s;
	font-size: .82rem;
	letter-spacing: .03em;
	white-space: nowrap;
}
.plan-card__cta:hover { background: var(--c-brand-deep-700); transform: translateY(-1px); }

/* ---- Homepage: Top Plans section (mirrors /plans/ card markup) ---- */
.plan-grid--home {
	max-width: 920px;
	margin: 0 auto;
}
.home-top-plans { background: var(--c-light); }
.home-top-plans .container > .section-heading,
.home-top-plans .text-center { margin-left: auto; margin-right: auto; }
.home-top-plans__intro {
	max-width: 640px;
	margin: -10px auto 36px;
	color: var(--c-muted-2);
	font-size: .98rem;
	line-height: 1.6;
}
.home-top-plans__more {
	margin-top: 36px;
}

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--c-line); position: relative; }
.testimonial__quote { font-family: var(--font-head); font-size: 3rem; color: var(--c-primary-300); line-height: .6; height: 24px; }
.testimonial__body { color: var(--c-text); font-size: .95rem; margin: 10px 0 18px; }
.testimonial__stars { color: var(--c-accent); margin-bottom: 12px; letter-spacing: 2px; }
.testimonial__who { display: flex; align-items: center; gap: 12px; }
.testimonial__who .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--c-light); display: grid; place-items: center; color: var(--c-primary); font-weight: 700; }
.testimonial__who .name { font-weight: 600; color: var(--c-deep); }
.testimonial__who .meta { font-size: .8rem; color: var(--c-muted); }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border: 1px solid var(--c-line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; background: #fff; }
.faq__item summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--c-deep); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ico { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--c-light); color: var(--c-primary); display: grid; place-items: center; transition: transform .2s; }
.faq__item[open] summary .ico { transform: rotate(45deg); }
.faq__item__body { padding: 0 22px 20px; color: var(--c-text); }

/* ---------- Newsletter ---------- */
.newsletter { background: linear-gradient(135deg, var(--c-deep), var(--c-primary-700)); border-radius: var(--radius-lg); color: #fff; padding: 50px; text-align: center; }
.newsletter h2 { color: #fff; }
.newsletter p { color: #cfe6d6; max-width: 560px; margin: 0 auto 24px; }
.newsletter__form { display: flex; max-width: 520px; margin: 0 auto; gap: 10px; }
.newsletter__form input { flex: 1; padding: 14px 18px; border-radius: 999px; border: 0; font-size: .95rem; }

/* ---------- Why us / pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(var(--pcols, 3), 1fr); gap: 28px; }
/* About page stat tiles. The column count is set per-instance via the --pcols
   custom property (inline) so the admin-configured tile count drives the desktop
   grid, while the responsive rules below can still collapse it — an inline
   grid-template-columns would override those class rules and break mobile. */
.about-stats { display: grid; grid-template-columns: repeat(var(--pcols, 4), 1fr); gap: 30px; text-align: center; }
.pillar { text-align: center; }
.pillar__ic { width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%; background: var(--c-light); display: grid; place-items: center; color: var(--c-primary); }
.pillar h3 { color: var(--c-deep); }
.pillar p { color: var(--c-muted); font-size: .92rem; }

/* ---------- Service promise (4-person team) ---------- */
.promise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.promise__item { text-align: center; }
.promise__item .ic { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 14px; background: var(--c-light); display: grid; place-items: center; color: var(--c-primary); }
.promise__item .role { font-weight: 600; color: var(--c-deep); }
.promise__item .role-desc { font-size: .82rem; color: var(--c-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-deep); color: #cfe6d6; padding: 60px 0 0; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer__brand .brand__name { color: #fff; }
.footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 9px; }
.footer a { color: #cfe6d6; }
.footer a:hover { color: var(--c-accent); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer__contact svg { color: var(--c-accent); flex: 0 0 auto; margin-top: 3px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: #9bb8a7; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #cfe6d6; }
.footer__social a:hover { background: var(--c-accent); color: #2a1d05; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: 16px 0; font-size: .84rem; color: var(--c-muted); }
.breadcrumbs a { color: var(--c-muted); }
.breadcrumbs a:hover { color: var(--c-primary); }
.breadcrumbs .sep { margin: 0 8px; color: var(--c-line); }

/* ---------- Page header (interior pages) ---------- */
.page-header { background: linear-gradient(rgba(13,59,38,.7), rgba(13,59,38,.85)), var(--c-deep); color: #fff; padding: 70px 0 50px; position: relative; }
.page-header__bg { position: absolute; inset: 0; z-index: 0; }
.page-header__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.page-header__inner { position: relative; z-index: 1; }
.page-header h1 { color: #fff; margin: 8px 0 12px; }
.page-header p { color: #d7ebe0; max-width: 640px; }
.breadcrumbs--light a, .breadcrumbs--light { color: #cfe6d6; }
.breadcrumbs--light .sep { color: rgba(255,255,255,.3); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--c-deep); margin-bottom: 6px; font-size: .9rem; }
.field label .req { color: var(--c-danger); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=password], .field input[type=date], .field input[type=number], .field select, .field textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--c-line); border-radius: var(--radius-sm); font: inherit; background: #fff; color: var(--c-ink); transition: border .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(31,122,61,.15); }
.field textarea { min-height: 120px; resize: vertical; }
.field .help { font-size: .78rem; color: var(--c-muted); margin-top: 5px; }
.field--full { grid-column: 1 / -1; }
.form-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); max-width: 640px; }
.form-card h2 { margin-top: 0; }
.form-msg { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: .92rem; }
.form-msg--ok { background: var(--c-light); color: var(--c-primary-700); border: 1px solid var(--c-primary-300); }
.form-msg--err { background: #fdf2f0; color: var(--c-danger); border: 1px solid #f3c9c2; }
.form-msg ul { margin: 6px 0 0; padding-left: 1.2em; }

/* ---------- Inquiry wizard (smart trip-builder) ---------- */
.inquiry-wizard { position: relative; }
.iw-progress { display:flex; align-items:center; gap:14px; margin-bottom:24px; }
.iw-progress__bar { flex:1; height:6px; background:var(--c-line); border-radius:99px; overflow:hidden; }
.iw-progress__fill { display:block; height:100%; background:var(--c-primary); width:33.33%; transition:width .25s; }
.iw-progress__steps { display:flex; gap:6px; list-style:none; padding:0; margin:0; font-size:.82rem; color:var(--c-muted); flex-wrap:wrap; }
.iw-progress__steps li { padding:5px 12px; border-radius:99px; background:var(--c-light-200); transition:background .15s, color .15s; }
.iw-progress__steps li.is-current { background:var(--c-primary); color:#fff; }
.iw-progress__steps li.is-done   { background:var(--c-primary-300); color:#fff; }

.iw-step { display:none; }
.iw-step.is-active { display:block; animation:iwFade .25s ease; }
@keyframes iwFade { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:none; } }
.iw-step__hint { color: var(--c-muted); font-size: .9rem; margin: 0 0 18px; }

.iw-nav { display:flex; gap:10px; justify-content:space-between; align-items:center; margin-top:24px; }
.iw-nav__next, .iw-nav__back { padding:12px 22px; border-radius:99px; font-weight:600; cursor:pointer; border:none; font-size:.95rem; font-family:inherit; }
.iw-nav__next { background:var(--c-primary); color:#fff; }
.iw-nav__next:hover { background:var(--c-primary-700); }
.iw-nav__back { background:transparent; color:var(--c-muted); }
.iw-nav__back:hover { color:var(--c-ink); }
.iw-error { color:var(--c-danger); font-size:.85rem; margin:6px 0 0; }

/* Live estimate card */
.iw-estimate { background:var(--c-light); border:1px solid var(--c-line); border-radius:var(--radius); padding:16px 20px; margin:0 0 20px; display:flex; align-items:center; justify-content:space-between; gap:14px; }
.iw-estimate__label { font-weight:600; color:var(--c-deep); font-size:.95rem; }
.iw-estimate__price { font-family:var(--font-head); font-size:1.7rem; color:var(--c-primary); font-weight:700; }
.iw-estimate__note { font-size:.78rem; color:var(--c-muted); margin-top:4px; }

/* Live matches panel */
.iw-matches { margin-top:24px; padding-top:20px; border-top:1px dashed var(--c-line); }
.iw-matches__title { margin:0 0 12px; font-size:1.05rem; color:var(--c-ink); }
.iw-matches__list { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:12px; }
.iw-match { display:flex; gap:10px; padding:10px; border:1px solid var(--c-line); border-radius:var(--radius-sm); background:#fff; color:var(--c-text); transition:border-color .15s, transform .15s, box-shadow .15s; text-decoration:none; }
.iw-match:hover { border-color:var(--c-primary-300); transform:translateY(-1px); box-shadow:var(--shadow-sm); color:var(--c-text); }
.iw-match__thumb { width:64px; height:64px; border-radius:8px; background:var(--c-light-200); flex-shrink:0; overflow:hidden; }
.iw-match__thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.iw-match__title { font-weight:600; font-size:.92rem; line-height:1.3; }
.iw-match__meta  { font-size:.78rem; color:var(--c-muted); margin-top:2px; }
.iw-match__price { font-weight:600; color:var(--c-primary); margin-top:4px; font-size:.85rem; }
.iw-matches__empty { font-size:.88rem; color:var(--c-muted); padding:12px 0; margin:0; }

/* ---------- Cart / checkout ---------- */
.cart-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.cart-table th, .cart-table td { padding: 16px; text-align: left; border-bottom: 1px solid var(--c-line); vertical-align: middle; }
.cart-table th { background: var(--c-light); color: var(--c-deep); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.cart-table .prod { display: flex; align-items: center; gap: 14px; }
.cart-table .prod img { width: 70px; height: 70px; border-radius: 10px; object-fit: cover; }
.cart-table .qty { display: inline-flex; align-items: center; gap: 6px; }
.cart-table .qty button { width: 28px; height: 28px; border: 1px solid var(--c-line); background: #fff; border-radius: 6px; cursor: pointer; color: var(--c-deep); }
.cart-table .remove { color: var(--c-danger); background: none; border: 0; cursor: pointer; font-size: .9rem; }
.cart-summary { background: var(--c-light); border-radius: var(--radius); padding: 24px; }
.cart-summary dl { margin: 0; display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--c-line); }
.cart-summary dl dt { color: var(--c-text); }
.cart-summary dl dd { margin: 0; font-weight: 600; color: var(--c-deep); }
.cart-summary .total { font-size: 1.4rem; font-family: var(--font-head); }
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: start; }
.empty-state { text-align: center; padding: 70px 20px; }
.empty-state .ic { width: 80px; height: 80px; margin: 0 auto 18px; border-radius: 50%; background: var(--c-light); color: var(--c-primary-300); display: grid; place-items: center; }

/* ---------- Single tour ---------- */
.tour-hero { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; align-items: start; padding: 40px 0; }
.tour-gallery__main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16/10; }
.tour-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.tour-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.tour-thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; }
.tour-thumbs img:hover, .tour-thumbs img.active { border-color: var(--c-primary); }
.booking-box { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); position: sticky; top: 90px; }
.booking-box .price { font-family: var(--font-head); font-size: 2rem; color: var(--c-primary); font-weight: 700; }
.booking-box .price small { font-size: .85rem; color: var(--c-muted); font-family: var(--font-body); font-weight: 400; }
/* Plan-detail booking box reuses the /plans/ card price style (gold "From $X
   / person" headline) so the price reads the same on the list and detail pages.
   .booking-box .price above stays for the single-tour booking box. */
.booking-box .plan-card__price { margin-bottom: 4px; }
.booking-box__price-note { color: var(--c-muted); font-size: .85rem; margin: 8px 0 18px; }
/* Single-plan detail: content + booking sidebar. Base is the desktop 2-col
   layout (content wider than the sticky booking box); collapses to a single
   column on phones (see the 760px block) so the body text isn't squeezed into
   half a phone width. */
.plan-detail__layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; padding: 20px 0 60px; }
/* Tier feature list: 2 columns on desktop, 1 on phones. break-inside keeps a
   row from splitting across the CSS multi-columns. */
.plan-detail__features { list-style: none; padding: 0; columns: 2; column-gap: 24px; }
.plan-detail__features li { break-inside: avoid; }
/* Single-destination detail: overview + info/booking sidebar. Same idea as the
   plan-detail layout — desktop 2-col, single column on phones so the body text
   isn't squeezed. (The destination sidebar is intentionally static at all widths,
   set inline in the template.) */
.dest-detail__layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
/* Plan-detail contact tip — sits between the Book button and the Ask-a-question
   ghost link. Subtle tinted box so it reads as supporting info, not a CTA. */
.plan-contact-tip {
	margin-top: 14px;
	padding: 12px 14px;
	background: var(--c-light);
	border-left: 3px solid var(--c-primary);
	border-radius: var(--radius-sm);
	font-size: .82rem;
	line-height: 1.55;
	color: var(--c-ink);
}
.plan-contact-tip a { color: var(--c-primary-700); font-weight: 600; }
.plan-contact-tip a:hover { color: var(--c-deep); }
.tour-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 20px; }
.tour-meta span { background: var(--c-light); color: var(--c-primary-700); padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.tour-section { padding: 40px 0; border-top: 1px solid var(--c-line); }
.tour-section h2 { color: var(--c-deep); margin-bottom: 20px; }
.itinerary-day { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--c-line); }
.itinerary-day .day-num { width: 56px; height: 56px; border-radius: 50%; background: var(--c-primary); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--font-head); }
.inc-exc { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.inc-exc ul { list-style: none; padding: 0; }
.inc-exc li { display: flex; gap: 10px; padding: 7px 0; }
.inc-exc .yes svg { color: var(--c-primary); }
.inc-exc .no svg { color: var(--c-danger); }

/* ---------- Account dashboard ---------- */
.account-grid { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: start; }
.account-nav { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.account-nav a { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--c-line); color: var(--c-text); font-weight: 500; }
.account-nav a:hover, .account-nav a.active { background: var(--c-light); color: var(--c-primary); }
.account-nav a:last-child { border-bottom: 0; }
.account-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
/* Team card avatar — 96×96 circle. Photo or default icon both share the
   same display box so every card looks uniform. */
.team-card__avatar {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	margin: 0 auto;
	overflow: hidden;
	background: #eaf3ed;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--c-primary);
}
.team-card__avatar img,
.team-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}
.team-card__placeholder { display: inline-flex; width: 40px; height: 40px; opacity: .55; }
.team-card__placeholder svg { width: 100%; height: 100%; }
.order-row { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--c-line); align-items: center; }
.order-status { padding: 4px 12px; border-radius: 999px; font-size: .76rem; font-weight: 700; }
.order-status.s-pending { background: #fff4d9; color: #8a6a10; }
.order-status.s-confirmed { background: var(--c-light); color: var(--c-primary-700); }
.order-status.s-completed { background: #e2f0e8; color: var(--c-primary-700); }
.order-status.s-cancelled { background: #fbe7e4; color: var(--c-danger); }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 8px; justify-content: center; margin: 40px 0 0; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--c-line); color: var(--c-deep); font-weight: 600; }
.pagination a:hover { background: var(--c-light); }
.pagination .current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* ---------- Alerts / utility ---------- */
.notice-strip { background: var(--c-light); border-left: 4px solid var(--c-primary); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: 20px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: var(--c-light); color: var(--c-primary-700); }
.badge--gold { background: rgba(232,169,60,.18); color: var(--c-accent-700); }

/* ---------- Entry content (blog / WYSIWYG) ---------- */
.entry-content { font-size: 1.02rem; line-height: 1.8; overflow-wrap: break-word; }
.entry-content h2 { margin-top: 1.5em; }
.entry-content img { border-radius: var(--radius); margin: 1em 0; }
.entry-content blockquote { border-left: 4px solid var(--c-primary); margin: 1.4em 0; padding: 6px 22px; color: var(--c-text); font-style: italic; background: var(--c-light-200); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.entry-content ul li, .entry-content ol li { margin-bottom: .5em; }

/* ---------- Responsive ---------- */
/* Compact laptops / tablets landscape: hide action labels so the menu has room. */
@media (max-width: 1100px) {
	.hide-sm { display: none !important; }
	.tours-grid { grid-template-columns: repeat(2, 1fr); }
	.dest-grid { grid-template-columns: repeat(2, 1fr); }
	.dest-grid .dest-tile:nth-child(1) { grid-column: span 2; grid-row: span 1; }
	.testimonials { grid-template-columns: 1fr; }
	.pillars { grid-template-columns: 1fr; }
	.promise { grid-template-columns: repeat(2, 1fr); }
	/* Meet-the-team grid (.grid-4 is used only for the About page team grid):
	   4→2 on tablet, then 1 on phones (see the 760px block below). */
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.about-stats { grid-template-columns: repeat(2, 1fr); }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.tour-hero { grid-template-columns: 1fr; }
	.cart-layout { grid-template-columns: 1fr; }
	.account-grid { grid-template-columns: 1fr; }
	/* Travel Plans filter bar: collapse the 5-col main row to 2-col on compact laptops. */
	.plan-filters__row--main {
		grid-template-columns: 1fr 1fr;
	}
	.plan-filters__submit, .plan-filters__reset { grid-column: span 1; }
}
/* Tablets + phones: collapse the horizontal menu into a slide-in drawer. */
@media (max-width: 1024px) {
	/* Disable backdrop-filter on the header so it stops being the containing block
	   for the fixed drawer — otherwise the drawer is anchored to the ~64px-tall
	   header instead of the viewport and the menu items get clipped away. */
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
	.nav-toggle { display: inline-flex; }
	.main-nav { flex: 0 0 auto; justify-content: flex-end; }
	.primary-menu { position: fixed; inset: 64px 0 0 auto; width: min(82vw, 320px); flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 14px; transform: translateX(105%); transition: transform .28s ease; height: auto; max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; box-shadow: var(--shadow-lg); z-index: 55; border-radius: var(--radius) 0 0 var(--radius); -webkit-overflow-scrolling: touch; }
	.primary-menu.open { transform: translateX(0); }
	.primary-menu > li { width: 100%; }
	.primary-menu > li > a { padding: 13px 14px; border-radius: 10px; width: 100%; justify-content: flex-start; }
	.primary-menu > li.current-menu-item > a, .primary-menu > li.current_page_item > a { box-shadow: none; }
	.primary-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 12px; display: none; }
	.primary-menu li.menu-item-has-children.open > .sub-menu { display: block; }
	/* Fold Plan Trip / Account / Cart into the drawer; hide them from the header. */
	.header__actions { display: none; }
	/* Push the hamburger to the far right of the header bar. */
	.nav-toggle { margin-left: auto; }
}
/* Phones: single-line, compact header. */
@media (max-width: 760px) {
	/* Tagline is hidden, so the logo can't stretch to a non-existent bottom.
	   Switch back to a fixed 32×32 box centered on the Site Title. */
	.brand__logo { width: var(--brand-logo-size, 32px); height: var(--brand-logo-size, 32px); align-self: center; border-radius: 6px; }
	.brand { gap: 9px; }
	.brand__name { font-size: 1.06rem; max-width: 46vw; white-space: normal; }
	.header__inner { gap: 8px; padding: 10px 0; }
	.header__actions { gap: 2px; }
	.header__actions .icon-link { padding: 6px 7px; }
	.topbar__notice { font-size: .76rem; }
	.tours-grid, .dest-grid, .plans, .plan-grid, .form-grid, .inc-exc, .footer__grid, .grid-4 { grid-template-columns: 1fr; }
	.hero__inner { padding: 60px 0 50px; }
	.section { padding: 44px 0; }
	.newsletter { padding: 32px 22px; }
	.newsletter__form { flex-direction: column; }
	.tour-thumbs { grid-template-columns: repeat(3, 1fr); }
	.order-row { grid-template-columns: 1fr; }
	/* Travel Plans: filter row collapses to single col on phones; cards shrink. */
	.plan-archive .plan-filters { padding: 16px 18px; }
	.plan-filters__row--main { grid-template-columns: 1fr; }
	.plan-card__title { font-size: 1.1rem; }
	.plan-card__price { font-size: 1.2rem; }
	.plan-card__body { padding: 14px 16px 16px; gap: 8px; }
	.plan-card__foot { flex-direction: column; align-items: flex-start; gap: 10px; }
	.plan-card__cta { align-self: stretch; justify-content: center; }
	.plan-results { flex-direction: column; align-items: flex-start; }
	/* Detail pages on phones: stack the plan/destination detail layout (body text
	   above the booking box) and the tier features to one column; the booking box
	   stops being sticky once it's in the normal flow. */
	.plan-detail__layout, .dest-detail__layout { grid-template-columns: 1fr; gap: 28px; }
	.plan-detail__features { columns: 1; }
	.booking-box { position: static; }
	.about-stats { grid-template-columns: 1fr; }
	/* Body text on phones: left-aligned (never justified — it rivers at narrow
	   widths), a little extra paragraph spacing for scannability, tighter h2
	   top margin. Line-height stays generous (1.8) for comfortable reading. */
	.entry-content { text-align: left; }
	.entry-content p { margin: 0 0 1.15em; }
	.entry-content p:last-child { margin-bottom: 0; }
	.entry-content h2 { margin-top: 1.2em; }
}

/* ------------------------------------------------------------------ *
 * Welcome splash — full-screen front-page greeting ("Start Your Chinese Trip").
 * Hidden by default (opacity 0 / visibility hidden / pointer-events none) so
 * no-JS visitors see the site; initWelcome() in main.js reveals it once per
 * browser session by adding .welcome-gate--open.
 * ------------------------------------------------------------------ */
.welcome-gate {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	text-align: center;
	background-color: var(--c-deep);
	background-size: cover;
	background-position: center;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .55s ease, visibility .55s ease;
}
.welcome-gate--open { opacity: 1; visibility: visible; pointer-events: auto; }

.welcome-gate__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(13,59,38,.10) 0%, rgba(10,47,30,.22) 100%),
		radial-gradient(ellipse at center, rgba(31,122,61,.06) 0%, rgba(13,59,38,.18) 70%);
}
.welcome-gate__panel {
	position: relative;
	z-index: 1;
	max-width: 680px;
	color: #fff;
}
.welcome-gate--open .welcome-gate__panel { animation: welcome-rise .7s cubic-bezier(.2,.7,.2,1) both; }
@keyframes welcome-rise {
	from { opacity: 0; transform: translateY(22px); }
	to   { opacity: 1; transform: none; }
}

.welcome-gate__kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--c-accent);
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-size: 13px;
	margin-bottom: 16px;
}
.welcome-gate__kicker svg { color: var(--c-accent); }
.welcome-gate__title {
	font-size: clamp(34px, 7vw, 66px);
	line-height: 1.08;
	margin: 0 0 18px;
	font-weight: 800;
	color: #fff;
	text-shadow: 0 4px 30px rgba(0,0,0,.45);
}
.welcome-gate__title em { color: var(--c-accent); font-style: italic; }
.welcome-gate__subtitle {
	font-size: clamp(16px, 2.6vw, 20px);
	line-height: 1.55;
	color: rgba(255,255,255,.92);
	max-width: 540px;
	margin: 0 auto 34px;
	text-shadow: 0 2px 16px rgba(0,0,0,.4);
}
.welcome-gate__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	appearance: none;
	cursor: pointer;
	border: 0;
	font-size: clamp(17px, 3vw, 21px);
	font-weight: 800;
	color: var(--c-deep);
	background: linear-gradient(135deg, var(--c-accent) 0%, #f6c25a 100%);
	padding: 18px 46px;
	border-radius: 999px;
	box-shadow: 0 16px 40px rgba(232,169,60,.5), inset 0 2px 0 rgba(255,255,255,.45);
	transition: transform .2s ease, box-shadow .2s ease;
}
.welcome-gate__btn:hover { transform: translateY(-3px); box-shadow: 0 22px 54px rgba(232,169,60,.62), inset 0 2px 0 rgba(255,255,255,.55); }
.welcome-gate__btn:active { transform: translateY(-1px); }
.welcome-gate__btn:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.welcome-gate__hint { margin: 20px 0 0; font-size: 13px; color: rgba(255,255,255,.6); }

body.welcome-locked { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
	.welcome-gate, .welcome-gate__panel { transition: none; animation: none; }
}

/* ---------- Contact page (info on top, form below; single responsive column) ---------- */
.contact-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	max-width: 720px;
	margin: 0 auto;
}
.contact-info {
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	padding: 26px 28px;
	box-shadow: var(--shadow-sm);
}
.contact-info h2 { margin: 0 0 6px; }
.contact-info__list { list-style: none; padding: 0; margin: 0; }
.contact-info__list li {
	display: flex;
	gap: 14px;
	align-items: center;
	padding: 16px 0;
	border-bottom: 1px solid var(--c-line);
}
.contact-info__list li:last-child { border-bottom: none; padding-bottom: 0; }
.contact-info__list li:first-child { padding-top: 8px; }
.contact-info__list .pillar__ic { flex: 0 0 auto; margin: 0; }
.contact-info__list strong { display: block; font-size: .82rem; color: var(--c-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.contact-info__list a,
.contact-info__list > li > div > span {
	display: block;
	color: var(--c-ink);
	font-size: 1.02rem;
	text-decoration: none;
}
.contact-info__list a:hover { color: var(--c-primary); }
.contact-form-wrap { width: 100%; }
.contact-form-wrap .form-card { max-width: none; margin: 0; }
.contact-photo { margin: 0 0 18px; width: var(--contact-photo-w, 300px); max-width: 100%; }
.contact-photo img { display: block; width: 100%; height: auto; }
.contact-photo--circle  img { border-radius: 50%; }
.contact-photo--rounded img { border-radius: 12px; }
.contact-photo--square  img { border-radius: 0; }
@media (min-width: 768px) {
	.contact-layout { gap: 36px; }
}