/* ==================================================================
   PineVista Holidays — custom styles
   Loaded after assets/css/tailwind.css. Uses the Tailwind theme
   variables (--color-*, --font-*, --shadow-*) defined in src/input.css.
   ================================================================== */

/* ---------- Header & navigation ---------- */
#site-header.is-scrolled { border-color: rgb(16 45 40 / 0.08); box-shadow: 0 6px 24px -12px rgb(16 45 40 / 0.25); }

.nav-link {
  display: inline-block; padding: 0.5rem 0.8rem; border-radius: 999px;
  transition: color .2s, background-color .2s;
}
.nav-link:hover, .nav-link.is-active { color: var(--color-pine-900); background: rgb(16 45 40 / 0.06); }

.mobile-menu { background: var(--color-ivory); }
.mobile-link { display: block; padding: 0.8rem 0.5rem; border-radius: 0.75rem; }
.mobile-link:hover { background: rgb(16 45 40 / 0.06); }

/* ---------- Hero ---------- */
.hero-overlay {
  background:
    linear-gradient(90deg, rgb(11 32 28 / 0.92) 0%, rgb(16 45 40 / 0.72) 45%, rgb(16 45 40 / 0.35) 100%),
    linear-gradient(0deg, rgb(11 32 28 / 0.75) 0%, transparent 40%);
}
@media (max-width: 1023px) {
  .hero-overlay { background: linear-gradient(180deg, rgb(11 32 28 / 0.75) 0%, rgb(16 45 40 / 0.85) 55%, rgb(11 32 28 / 0.97) 100%); }
}
.hero-benefit {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.6rem 0.85rem; border-radius: 0.9rem;
  background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.12);
  backdrop-filter: blur(6px);
}

/* ---------- Forms ---------- */
.trip-pill { position: relative; cursor: pointer; }
.trip-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.trip-pill span {
  display: grid; place-items: center; min-height: 2.75rem; padding: 0 0.25rem;
  border: 1px solid #e2e8f0; border-radius: 0.75rem; background: rgb(248 247 242 / 0.6);
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; color: var(--color-pine-900);
  transition: all .15s;
}
.trip-pill:hover span { border-color: #cbd5e1; }
.trip-pill input:checked + span { background: var(--color-pine-900); border-color: var(--color-pine-900); color: #fff; }
.trip-pill input:focus-visible + span { outline: 3px solid var(--color-sand); outline-offset: 2px; }
fieldset[aria-invalid="true"] .trip-pill span { border-color: #ef4444; }

.selected-package.is-shown { display: flex; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.demo-badge {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 0.75rem;
  padding: 0.3rem 0.7rem; border-radius: 999px; background: #fef3c7; color: #78350f;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
}
.demo-badge:not([hidden]) { display: inline-flex; }

.form-status:empty { display: none; }
.form-status .status-box { display: flex; gap: 0.75rem; padding: 1rem; border-radius: 1rem; font-size: 0.9rem; line-height: 1.5; }
.status-box.is-success { background: var(--color-forest-50); color: var(--color-pine-900); }
.status-box.is-error { background: #fef2f2; color: #991b1b; }
.status-box.is-demo { background: #fffbeb; color: #78350f; }
.status-box a { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.spinner { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Trust bar ---------- */
.trust-item { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-display); font-weight: 700; font-size: 0.88rem; color: var(--color-pine-900); line-height: 1.25; }
.trust-icon { display: grid; place-items: center; flex-shrink: 0; width: 2.75rem; height: 2.75rem; border-radius: 0.9rem; background: var(--color-forest-50); color: var(--color-forest); }

/* ---------- Package filters & cards ---------- */
.filter-bar {
  display: flex; gap: 0.35rem; max-width: 100%; overflow-x: auto; padding: 0.35rem;
  border-radius: 999px; background: #fff; box-shadow: var(--shadow-soft); scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }
@media (max-width: 639px) { .filter-bar { margin-inline: -1rem; border-radius: 0; box-shadow: none; background: transparent; padding-inline: 1rem; } }
.filter-btn {
  flex-shrink: 0; padding: 0.6rem 1.1rem; border-radius: 999px; white-space: nowrap;
  font-family: var(--font-display); font-size: 0.88rem; font-weight: 700; color: var(--color-pine-900);
  transition: background-color .2s, color .2s;
}
@media (max-width: 639px) { .filter-btn { background: #fff; box-shadow: var(--shadow-soft); } }
.filter-btn:hover { background: var(--color-ivory-200); }
.filter-btn[aria-pressed="true"] { background: var(--color-pine-900); color: #fff; }

.pkg-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 1.5rem; background: #fff; box-shadow: var(--shadow-soft); transition: transform .3s, box-shadow .3s; }
.pkg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.pkg-card.is-hidden { display: none; }
.pkg-card.is-entering { animation: cardIn .45s ease both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.pkg-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-ivory-200); }
.pkg-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.pkg-card:hover .pkg-media img { transform: scale(1.06); }
.pkg-media::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(0deg, rgb(11 32 28 / 0.7), transparent); }
.pkg-feature { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; text-align: center; font-size: 0.72rem; line-height: 1.25; color: var(--color-muted); }
.pkg-feature .icon { color: var(--color-forest); }
.wa-btn { display: grid; place-items: center; width: 3rem; height: 3rem; flex-shrink: 0; border-radius: 999px; background: #e7f6ec; color: var(--color-whatsapp); transition: background-color .2s, color .2s; }
.wa-btn:hover { background: var(--color-whatsapp); color: #fff; }

/* ---------- Destinations bento ---------- */
.bento { display: grid; gap: 1rem; grid-template-columns: 1fr; grid-auto-rows: 17rem; }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 16rem; } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 15.5rem; gap: 1.25rem; } }
.dest-card { position: relative; isolation: isolate; overflow: hidden; border-radius: 1.5rem; background: var(--color-pine-800); }
.dest-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.dest-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(11 32 28 / 0.95) 0%, rgb(11 32 28 / 0.7) 40%, rgb(11 32 28 / 0.15) 75%, rgb(11 32 28 / 0) 100%); }
.dest-card:hover img, .dest-card:focus-within img { transform: scale(1.07); }
.dest-body { position: absolute; inset: auto 0 0; padding: 1.25rem; color: #fff; }
.dest-body h3 { color: #fff; font-size: 1.35rem; font-weight: 800; }
.dest-body p { margin: 0.3rem 0 0.9rem; font-size: 0.88rem; color: rgb(255 255 255 / 0.85); max-width: 32rem; }
@media (min-width: 1024px) { .dest-card.lg\:row-span-2 .dest-body { padding: 2rem; } .dest-card.lg\:row-span-2 h3 { font-size: 2rem; } }

/* ---------- Experience cards ---------- */
.exp-card { display: flex; flex-direction: column; align-items: flex-start; padding: 1.75rem; border-radius: 1.5rem; border: 1px solid rgb(16 45 40 / 0.07); background: var(--color-ivory); transition: transform .3s, box-shadow .3s, background-color .3s; }
.exp-card:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--shadow-lift); }
.exp-icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 1rem; }
.exp-card h3 { margin-top: 1.25rem; font-size: 1.2rem; font-weight: 800; }
.exp-card p { margin-top: 0.5rem; color: var(--color-muted); flex-grow: 1; }
.exp-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.25rem; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--color-forest); }
.exp-link .icon { transition: transform .2s; }
.exp-link:hover .icon { transform: translateX(4px); }

/* ---------- Why us ---------- */
.benefit { display: flex; gap: 1rem; }
.benefit-icon { display: grid; place-items: center; flex-shrink: 0; width: 2.9rem; height: 2.9rem; border-radius: 0.9rem; background: var(--color-pine-900); color: var(--color-sand); }
.benefit h3 { font-size: 1.02rem; font-weight: 800; }
.benefit p { margin-top: 0.3rem; font-size: 0.92rem; color: var(--color-muted); }

/* ---------- How it works ---------- */
.topo { background-image: radial-gradient(circle at 20% 30%, transparent 0 38px, #fff 39px 40px, transparent 41px 78px, #fff 79px 80px, transparent 81px), radial-gradient(circle at 80% 70%, transparent 0 58px, #fff 59px 60px, transparent 61px 118px, #fff 119px 120px, transparent 121px); background-size: 420px 420px; }
.steps { position: relative; display: grid; gap: 2.5rem; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 1.75rem; top: 1rem; bottom: 1rem; border-left: 2px dashed rgb(246 198 107 / 0.4); }
.step { position: relative; padding-left: 5rem; }
.step-icon { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 1.1rem; background: var(--color-forest); color: #fff; box-shadow: 0 0 0 6px var(--color-pine-900); }
.step-num { font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; color: var(--color-sand); }
.step h3 { margin-top: 0.15rem; color: #fff; font-size: 1.15rem; font-weight: 800; }
.step p { margin-top: 0.4rem; color: rgb(255 255 255 / 0.72); font-size: 0.95rem; }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .steps::before { left: 12%; right: 12%; top: 1.75rem; bottom: auto; border-left: 0; border-top: 2px dashed rgb(246 198 107 / 0.4); }
  .step { padding-left: 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
  .step-icon { position: relative; margin-bottom: 1.25rem; }
}

/* ---------- Inclusions ---------- */
.incl-list { display: grid; gap: 0.9rem; }
@media (min-width: 640px) { .incl-list { grid-template-columns: 1fr 1fr; } }
.incl-list li { display: flex; align-items: center; gap: 0.75rem; font-weight: 500; }

/* ---------- Gallery (masonry) ---------- */
.gallery { columns: 2; column-gap: 0.75rem; }
@media (min-width: 768px) { .gallery { columns: 3; column-gap: 1rem; } }
@media (min-width: 1024px) { .gallery { columns: 4; } }
.gallery-item { position: relative; display: block; width: 100%; margin-bottom: 0.75rem; overflow: hidden; border-radius: 1.1rem; break-inside: avoid; cursor: zoom-in; background: var(--color-ivory-200); }
@media (min-width: 768px) { .gallery-item { margin-bottom: 1rem; } }
.gallery-item img { width: 100%; height: auto; transition: transform .6s ease, filter .3s; }
.gallery-item:hover img { transform: scale(1.05); filter: brightness(0.9); }

/* ---------- Testimonials ---------- */
.testimonial-track { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 0.5rem 0.25rem 1rem; scrollbar-width: none; }
.testimonial-track::-webkit-scrollbar { display: none; }
.t-card { flex: 0 0 88%; scroll-snap-align: start; display: flex; flex-direction: column; padding: 1.75rem; border-radius: 1.5rem; background: #fff; box-shadow: var(--shadow-soft); }
@media (min-width: 768px) { .t-card { flex-basis: calc(50% - 0.625rem); } }
@media (min-width: 1024px) { .t-card { flex-basis: calc(33.333% - 0.84rem); } }
.t-avatar { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 999px; overflow: hidden; background: var(--color-forest-50); color: var(--color-forest); font-family: var(--font-display); font-weight: 800; }
.t-avatar img { width: 100%; height: 100%; object-fit: cover; }
.slider-btn { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 999px; border: 1px solid rgb(16 45 40 / 0.15); background: #fff; color: var(--color-pine-900); transition: all .2s; }
.slider-btn:hover { background: var(--color-pine-900); color: #fff; }
.dot { width: 0.5rem; height: 0.5rem; border-radius: 999px; background: rgb(16 45 40 / 0.2); transition: all .3s; }
.dot.is-active { width: 1.5rem; background: var(--color-forest); }

/* ---------- FAQ accordion ---------- */
.faq-list { display: grid; gap: 0.75rem; }
.faq-item { border-radius: 1.1rem; border: 1px solid rgb(16 45 40 / 0.08); background: var(--color-ivory); transition: background-color .2s, box-shadow .2s; }
.faq-item.is-open { background: #fff; box-shadow: var(--shadow-soft); }
.faq-q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; text-align: left; font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--color-pine-900); }
.faq-chevron { transition: transform .3s; color: var(--color-forest); }
.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 1.25rem 1.25rem; color: var(--color-muted); line-height: 1.7; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* ---------- Footer ---------- */
.footer-h { color: #fff; font-size: 0.95rem; font-weight: 800; margin-bottom: 1rem; }
.footer-list { display: grid; gap: 0.65rem; font-size: 0.9rem; }
.footer-list a, .footer-list button { text-align: left; transition: color .2s; }
.footer-list a:hover, .footer-list button:hover { color: var(--color-sand); }
.social-link { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; background: rgb(255 255 255 / 0.08); color: #fff; transition: background-color .2s, color .2s; }
.social-link:hover { background: var(--color-sand); color: var(--color-pine-900); }

/* ---------- Floating elements ---------- */
.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 999px; background: #25D366; color: #fff; box-shadow: 0 12px 28px -8px rgb(18 140 74 / 0.6); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.call-float { position: fixed; right: 1.25rem; bottom: 5.6rem; z-index: 40; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 999px; background: var(--color-forest); color: #fff; box-shadow: 0 12px 28px -8px rgb(16 45 40 / 0.6); transition: transform .2s; }
.call-float:hover { transform: scale(1.06); }
.call-float::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--color-forest); animation: callPulse 2.4s ease-out infinite; pointer-events: none; }
@keyframes callPulse { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.45); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .call-float::after { animation: none; display: none; } }
.back-top { position: fixed; right: 1.55rem; bottom: 9.95rem; z-index: 40; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 999px; background: #fff; color: var(--color-pine-900); box-shadow: var(--shadow-lift); }
.back-top[hidden] { display: none; }

.mobile-bar { display: none; }
@media (max-width: 1023px) { .mobile-bar { position: fixed; inset: auto 0 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 0.25rem; padding: 0.5rem 0.5rem calc(0.5rem + env(safe-area-inset-bottom)); background: rgb(255 255 255 / 0.96); backdrop-filter: blur(12px); box-shadow: 0 -8px 24px -12px rgb(16 45 40 / 0.3); } }
.mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.15rem; min-height: 3.25rem; border-radius: 0.9rem; font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; color: var(--color-pine-900); }
.mobile-bar a.text-whatsapp { color: var(--color-whatsapp); }
.mobile-bar .mobile-bar-cta { background: var(--color-sunset); color: var(--color-pine-900); flex-direction: row; gap: 0.4rem; font-size: 0.9rem; }
@media (max-width: 1023px) {
  .wa-float, .call-float { display: none; }
  .back-top { right: 1rem; bottom: 5.5rem; }
}

/* ---------- Consent banner ---------- */
.consent-banner { position: fixed; left: 1rem; right: 1rem; bottom: 5.25rem; z-index: 60; display: flex; flex-direction: column; gap: 0.9rem; max-width: 34rem; padding: 1rem 1.1rem; border-radius: 1.1rem; background: #fff; box-shadow: var(--shadow-lift); border: 1px solid rgb(16 45 40 / 0.08); }
.consent-banner[hidden] { display: none; }
@media (min-width: 640px) { .consent-banner { flex-direction: row; align-items: center; } }
@media (min-width: 1024px) { .consent-banner { bottom: 1.25rem; left: 1.25rem; right: auto; } }

/* ---------- Itinerary drawer (native <dialog>) ---------- */
dialog { color: var(--color-ink); }
.drawer { margin: auto 0 0; width: 100%; max-width: 100%; max-height: 92svh; padding: 0; border: 0; border-radius: 1.5rem 1.5rem 0 0; background: #fff; overflow: hidden; }
.drawer::backdrop { background: rgb(11 32 28 / 0.6); backdrop-filter: blur(3px); }
.drawer[open] { animation: sheetUp .35s cubic-bezier(.2,.8,.2,1); }
.drawer-inner { max-height: 92svh; overflow-y: auto; overscroll-behavior: contain; }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 768px) {
  .drawer { margin: 0 0 0 auto; height: 100svh; max-height: 100svh; width: min(560px, 100%); border-radius: 1.5rem 0 0 1.5rem; }
  .drawer-inner { max-height: 100svh; height: 100%; }
  .drawer[open] { animation: drawerIn .35s cubic-bezier(.2,.8,.2,1); }
}
@keyframes drawerIn { from { transform: translateX(60px); opacity: 0; } to { transform: none; opacity: 1; } }
.itin-day { position: relative; padding: 0 0 1.4rem 2.5rem; }
.itin-day::before { content: ""; position: absolute; left: 0.85rem; top: 1.9rem; bottom: 0; border-left: 2px dashed rgb(23 107 82 / 0.3); }
.itin-day:last-child::before { display: none; }
.itin-day-num { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 999px; background: var(--color-forest); color: #fff; font-family: var(--font-display); font-size: 0.75rem; font-weight: 800; }
body.has-dialog { overflow: hidden; }

/* ---------- Enquiry form: "trip story" card ---------- */
.story-card { overflow: hidden; padding: 0; border-radius: 1.75rem; }
.lead-form .field { gap: 0.35rem; min-width: 0; }
.lead-form fieldset { min-width: 0; margin-inline: 0; padding: 0; border: 0; }

.story-head { padding: 1.5rem 1.4rem 0; }
@media (min-width: 640px) { .story-head { padding: 1.85rem 1.9rem 0; } }
.story-head .demo-badge { margin-bottom: 0.9rem; }
.story-eyebrow { display: flex; align-items: center; gap: 0.4rem; font-family: var(--font-display); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-forest); }
.story-title { margin-top: 0.45rem; font-size: 1.6rem; font-weight: 800; line-height: 1.15; color: var(--color-pine-900); }
@media (min-width: 640px) { .story-title { font-size: 1.85rem; } }
.story-title .serif-accent { color: var(--color-forest); font-weight: 500; }
.story-ridge { display: block; width: 5.5rem; height: 1rem; margin-top: 0.55rem; fill: none; stroke: var(--color-sand); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.story-body { padding: 1.1rem 1.4rem 1.5rem; }
@media (min-width: 640px) { .story-body { padding: 1.2rem 1.9rem 1.8rem; } }

/* The sentence */
.story { padding: 1rem 1.1rem 1.1rem; border: 1.5px dashed rgb(23 107 82 / 0.22); border-radius: 1.25rem; background: var(--color-ivory); }
.story-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.5rem; font-family: var(--font-display); font-size: 1.06rem; font-weight: 600; line-height: 1.4; color: var(--color-muted); }
.story-line + .story-line { margin-top: 0.6rem; }
.story-line > .field-error { flex-basis: 100%; }
.blank {
  min-height: 2.2rem; max-width: 100%; padding: 0.1rem 1.4rem 0.1rem 0.15rem; border: 0; border-bottom: 2px dashed rgb(23 107 82 / 0.45); border-radius: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23176b52%22 stroke-width=%222.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m6 9 6 6 6-6%22/%3E%3C/svg%3E") no-repeat right 0.1rem center / 0.95rem; -webkit-appearance: none; appearance: none;
  font: inherit; font-weight: 800; color: var(--color-forest); cursor: pointer; transition: border-color .15s, background-color .15s;
}
select.blank { field-sizing: content; min-width: 6.5rem; max-width: min(100%, 13rem); text-overflow: ellipsis; }
.blank:hover { border-bottom-color: var(--color-forest); }
.blank:focus { outline: none; border-bottom-style: solid; border-bottom-color: var(--color-forest); background-color: rgb(23 107 82 / 0.07); }
.blank-date { padding-right: 0.15rem; background-image: none; }
.blank-date::-webkit-calendar-picker-indicator { opacity: 0.55; cursor: pointer; }
select.blank:required:has(option[value=""]:checked), .blank-date:invalid { color: #9aa3ad; font-weight: 700; }
select.blank option { color: var(--color-ink); font-weight: 600; }
.blank[aria-invalid="true"] { border-bottom-color: #ef4444; }

.story .stepper { display: inline-flex; align-items: center; gap: 0.1rem; padding: 0.15rem; border: 1.5px solid #e4e3dc; border-radius: 999px; background: #fff; }
.story .stepper:focus-within { border-color: var(--color-forest); }
.story .step-btn { display: grid; place-items: center; width: 1.85rem; height: 1.85rem; border: 0; border-radius: 999px; background: var(--color-forest-50); color: var(--color-forest); cursor: pointer; transition: background-color .15s, color .15s, opacity .15s; }
.story .step-btn:hover:not(:disabled) { background: var(--color-forest); color: #fff; }
.story .step-btn:focus-visible { outline: 3px solid var(--color-sand); outline-offset: 2px; }
.story .step-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.step-val { width: 1.8rem; padding: 0; border: 0; background: transparent; text-align: center; font-family: var(--font-display); font-size: 1.02rem; font-weight: 800; color: var(--color-forest); -moz-appearance: textfield; appearance: textfield; pointer-events: none; }
.step-val::-webkit-inner-spin-button, .step-val::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: 0.35rem; min-height: 2.1rem; padding: 0 0.85rem; border: 1.5px solid #e4e3dc; border-radius: 999px; background: #fff;
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 700; color: var(--color-pine-900); transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
.choice .icon { color: var(--color-forest); transition: color .15s; }
.choice:hover span { border-color: rgb(23 107 82 / 0.45); }
.choice input:checked + span { background: var(--color-pine-900); border-color: var(--color-pine-900); color: #fff; box-shadow: 0 8px 18px -10px rgb(16 45 40 / 0.7); }
.choice input:checked + span .icon { color: var(--color-sand); }
.choice input:focus-visible + span { outline: 3px solid var(--color-sand); outline-offset: 2px; }
fieldset[aria-invalid="true"] .choice span { border-color: #ef4444; }

/* Travellers: adults + children counters */
.pax-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr)); gap: 0.6rem; }
.pax-item { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 3.75rem; padding: 0.5rem 0.55rem 0.5rem 0.95rem; border: 1.5px solid #e7e6df; border-radius: 1rem; background: #fbfaf6; transition: border-color .15s, box-shadow .15s; }
.pax-item:focus-within { border-color: var(--color-forest); box-shadow: 0 0 0 4px rgb(23 107 82 / 0.12); }
.pax-box:has([aria-invalid="true"]) .pax-item:first-child { border-color: #ef4444; }
.pax-name { display: block; font-family: var(--font-display); font-size: 0.92rem; font-weight: 700; color: var(--color-pine-900); line-height: 1.2; }
.pax-hint { display: block; font-size: 0.72rem; color: var(--color-muted); }
.stepper { display: flex; align-items: center; gap: 0.1rem; }
.step-btn { display: grid; place-items: center; width: 2.15rem; height: 2.15rem; border-radius: 999px; border: 1.5px solid rgb(23 107 82 / 0.28); background: #fff; color: var(--color-forest); cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, opacity .15s; }
.step-btn:hover:not(:disabled) { background: var(--color-forest); border-color: var(--color-forest); color: #fff; }
.step-btn:focus-visible { outline: 3px solid var(--color-sand); outline-offset: 2px; }
.step-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* Contact details */
.story-divider { display: flex; align-items: center; gap: 0.75rem; margin: 1.4rem 0 0.85rem; font-family: var(--font-display); font-size: 0.86rem; font-weight: 800; color: var(--color-pine-900); }
.story-divider::after { content: ""; flex: 1; border-top: 1.5px dashed #e2e2da; }
.story-details { display: grid; gap: 0.8rem; }
@media (min-width: 440px) { .story-details { grid-template-columns: 1fr 1fr; } .story-details .full { grid-column: 1 / -1; } }

/* Consent, submit, trust line */
.lead-form .consent { display: flex; align-items: flex-start; gap: 0.7rem; margin-top: 1.2rem; padding: 0.8rem 0.9rem; border-radius: 1rem; background: var(--color-ivory); font-size: 0.78rem; line-height: 1.55; color: var(--color-muted); cursor: pointer; }
.lead-form .consent input { flex-shrink: 0; width: 1.15rem; height: 1.15rem; margin-top: 0.1rem; accent-color: var(--color-forest); cursor: pointer; }
.lead-form .consent a { font-weight: 700; color: var(--color-forest); text-decoration: underline; text-underline-offset: 2px; }
.lead-form .consent:has([aria-invalid="true"]) { background: #fff1f1; }
.plan-submit { position: relative; overflow: hidden; width: 100%; min-height: 3.5rem; margin-top: 1rem; font-size: 1rem; }
.plan-submit::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 0.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s ease; }
.plan-submit:hover::after { transform: translateX(120%); }
.plan-submit-arrow { transition: transform .2s; }
.plan-submit:hover .plan-submit-arrow { transform: translateX(4px); }
.plan-submit[aria-busy="true"] .plan-submit-arrow { display: none; }
.plan-trust { display: flex; align-items: center; justify-content: center; gap: 0.4rem; margin-top: 0.75rem; text-align: center; font-size: 0.75rem; color: var(--color-muted); }
@media (prefers-reduced-motion: reduce) { .plan-submit::after { display: none; } }
@media (max-width: 359px) { .plan-submit-arrow { display: none; } .plan-submit { font-size: 0.95rem; } }

/* ---------- Enquiry form: step-by-step wizard ---------- */
.wiz { position: relative; overflow: hidden; padding: 1.6rem 1.35rem 1.25rem; border-radius: 1.75rem; }
@media (min-width: 640px) { .wiz { padding: 1.9rem 1.9rem 1.4rem; } }
.wiz::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--color-forest), #4f9a7f 45%, var(--color-sand)); }
.wiz-headrow { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.wiz-eyebrow { font-family: var(--font-display); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #b26b1f; }
.wiz-title { margin-top: 0.3rem; font-size: 1.35rem; font-weight: 800; line-height: 1.2; color: var(--color-pine-900); }
@media (min-width: 640px) { .wiz-title { font-size: 1.5rem; } }
.wiz-badge { display: inline-flex; flex-shrink: 0; align-items: center; gap: 0.35rem; padding: 0.4rem 0.75rem; border-radius: 999px; background: var(--color-forest-50); color: var(--color-forest); font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
@media (max-width: 419px) { .wiz-badge { display: none; } }
.wiz-top .demo-badge { margin: 0.8rem 0 0; }
.wiz-meter { display: flex; justify-content: space-between; margin-top: 1rem; font-family: var(--font-display); font-size: 0.82rem; font-weight: 700; color: var(--color-muted); }
.wiz-pct { color: var(--color-forest); }
.wiz-bar { height: 0.5rem; margin-top: 0.5rem; border-radius: 999px; background: #f0efe9; overflow: hidden; }
.wiz-bar span { display: block; width: 6%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--color-forest), var(--color-sand)); transition: width .45s cubic-bezier(.2,.8,.2,1); }
.wiz-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; margin-top: 0.75rem; }
.wiz-tab { height: 2.4rem; border-radius: 0.75rem; background: #f3f3ee; color: var(--color-muted); font-family: var(--font-display); font-size: 0.85rem; font-weight: 800; transition: background-color .2s, color .2s; }
.wiz-tab.is-done { background: var(--color-forest-50); color: var(--color-forest); cursor: pointer; }
.wiz-tab.is-done:hover { background: #d5eadf; }
.wiz-tab.is-active { background: var(--color-forest); color: #fff; box-shadow: 0 8px 18px -10px rgb(23 107 82 / 0.8); }
.wiz-tab:disabled { cursor: not-allowed; }
.wiz-tab:focus-visible { outline: 3px solid var(--color-sand); outline-offset: 2px; }
.wiz .selected-package { margin-top: 1.1rem; margin-bottom: 0; }

.wiz-step { min-width: 0; margin: 1.5rem 0 0; padding: 0; border: 0; animation: wizIn .35s cubic-bezier(.2,.8,.2,1); }
.wiz-step[hidden] { display: none; }
@keyframes wizIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wiz-step { animation: none; } }
.wiz-q { font-size: 1.4rem; font-weight: 800; line-height: 1.2; color: var(--color-pine-900); outline: none; }
@media (min-width: 640px) { .wiz-q { font-size: 1.6rem; } }
.wiz-hint { margin-top: 0.3rem; margin-bottom: 1rem; font-size: 0.92rem; color: var(--color-muted); }

/* Option cards */
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.opt { position: relative; display: flex; align-items: center; gap: 0.75rem; min-height: 3.75rem; padding: 0.6rem 0.75rem; border: 2px solid #ebebe5; border-radius: 1rem; background: #fff; cursor: pointer; transition: border-color .15s, background-color .15s, transform .15s, box-shadow .15s; }
.opt:hover { border-color: rgb(23 107 82 / 0.4); transform: translateY(-1px); box-shadow: 0 10px 20px -16px rgb(16 45 40 / 0.6); }
.opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.opt-ico { display: grid; place-items: center; flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; background: #f3f3ee; color: var(--color-forest); transition: background-color .15s, color .15s; }
.opt-ico .icon { width: 1.15rem; height: 1.15rem; }
.opt-text { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; line-height: 1.25; color: var(--color-pine-900); }
.opt-wide { grid-column: 1 / -1; }
.opt:has(input:checked) { border-color: var(--color-forest); background: var(--color-forest-50); }
.opt:has(input:checked) .opt-ico { background: var(--color-forest); color: #fff; }
.opt:has(input:checked)::after { content: ""; position: absolute; top: 0.5rem; right: 0.5rem; width: 1.1rem; height: 1.1rem; border-radius: 999px; background: var(--color-forest) url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22white%22 stroke-width=%223.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M20 6 9 17l-5-5%22/%3E%3C/svg%3E") center / 0.65rem no-repeat; }
.opt:has(input:focus-visible) { outline: 3px solid var(--color-sand); outline-offset: 2px; }
fieldset[aria-invalid="true"] .opt { border-color: #f3b4b4; }
.opt-grid-sm .opt { min-height: 3rem; justify-content: center; text-align: center; }
.opt-grid-sm .opt-text { font-size: 0.88rem; }
.opt-grid-sm .opt:last-child:nth-child(odd) { grid-column: 1 / -1; }
.opt-note { font-family: var(--font-body); font-weight: 500; color: var(--color-muted); }
.wiz .field-error.is-shown { margin-top: 0.6rem; }
.wiz .pax-box { margin-top: 0; }

.wiz-details { display: grid; gap: 0.8rem; }
@media (min-width: 440px) { .wiz-details { grid-template-columns: 1fr 1fr; } .wiz-details .full { grid-column: 1 / -1; } }

/* Navigation + footer */
.wiz-nav { display: flex; align-items: center; justify-content: flex-end; gap: 0.75rem; margin-top: 1.4rem; }
.wiz-nav:has(.wiz-next[hidden]):has(.wiz-back[hidden]) { display: none; }
.wiz-back { display: inline-flex; align-items: center; gap: 0.3rem; margin-right: auto; padding: 0.6rem 0.4rem; font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: var(--color-muted); }
.wiz-back:hover { color: var(--color-pine-900); }
.wiz-back[hidden], .wiz-next[hidden] { display: none; }
.wiz-next { min-width: 9.5rem; }
.wiz-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1.5px solid #f0efe9; font-size: 0.82rem; color: var(--color-muted); }
.wiz-foot-item { display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
.wiz-foot-sep { width: 1px; height: 0.9rem; margin: 0 0.4rem; background: #dcdcd4; }
.quote-dialog .lead-form.wiz { padding: 1.9rem 1.4rem 1.3rem; }
@media (min-width: 640px) { .quote-dialog .lead-form.wiz { padding: 2rem 1.9rem 1.4rem; } }
.quote-dialog .wiz-headrow { padding-right: 3.25rem; }
.quote-dialog .wiz-badge { display: none; }

/* ---------- Wizard: mobile fixes ---------- */
/* Grid children may shrink below their content width, so the hero never runs off-screen */
#home > .container-x > * , #enquire, .wiz, .wiz-step, .opt-grid > *, .wiz-details > * { min-width: 0; }
.opt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opt-text { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 479px) {
  .wiz { padding: 1.35rem 1rem 1rem; border-radius: 1.4rem; }
  .quote-dialog .lead-form.wiz { padding: 1.5rem 1rem 1rem; }
  .wiz-title { font-size: 1.2rem; }
  .wiz-eyebrow { font-size: 0.66rem; }
  .wiz-meter { margin-top: 0.85rem; font-size: 0.78rem; }
  .wiz-tabs { gap: 0.35rem; }
  .wiz-tab { height: 2.1rem; border-radius: 0.6rem; font-size: 0.8rem; }
  .wiz-step { margin-top: 1.2rem; }
  .wiz-q { font-size: 1.2rem; }
  .wiz-hint { margin-bottom: 0.8rem; font-size: 0.85rem; }
  .opt-grid { gap: 0.5rem; }
  .opt { gap: 0.55rem; min-height: 3.25rem; padding: 0.5rem 0.55rem; border-radius: 0.85rem; }
  .opt-ico { width: 2.05rem; height: 2.05rem; border-radius: 0.6rem; }
  .opt-ico .icon { width: 1rem; height: 1rem; }
  .opt-text { font-size: 0.86rem; }
  .opt:has(input:checked)::after { top: 0.35rem; right: 0.35rem; width: 0.95rem; height: 0.95rem; background-size: 0.55rem; }
  .pax-item { min-height: 3.3rem; padding: 0.45rem 0.5rem 0.45rem 0.8rem; }
  .wiz-nav { margin-top: 1.1rem; }
  .wiz-next { flex: 1; min-width: 0; }
  .wiz-foot { justify-content: center; gap: 0.3rem 0.4rem; margin-top: 1rem; padding-top: 0.85rem; font-size: 0.76rem; text-align: center; }
  .wiz-foot-sep { display: none; }
}
@media (max-width: 419px) {
  /* Icon above the name, so names like "Dharamshala" never break mid-word */
  .opt-grid:not(.opt-grid-sm) .opt { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.45rem; min-height: 0; padding: 0.7rem 0.75rem; }
  .opt-text { overflow-wrap: normal; hyphens: auto; }
}

/* ---------- Quote popup (native <dialog>) ---------- */
.quote-dialog { width: min(36rem, calc(100% - 1.5rem)); max-width: 100%; max-height: calc(100svh - 1.5rem); margin: auto; padding: 0; border: 0; border-radius: 1.5rem; background: #fff; box-shadow: var(--shadow-lift); overflow: hidden; }
.quote-dialog::backdrop { background: rgb(11 32 28 / 0.6); backdrop-filter: blur(3px); }
.quote-dialog[open] { animation: popIn .3s cubic-bezier(.2,.8,.2,1); }
.quote-dialog-inner { max-height: calc(100svh - 1.5rem); overflow-y: auto; overscroll-behavior: contain; }
.quote-dialog .lead-form { padding: 0; border-radius: 0; }
.quote-dialog .story-head { padding-right: 4rem; }
.quote-close { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; background: var(--color-ivory); color: var(--color-pine-900); transition: background-color .2s; }
.quote-close:hover { background: rgb(16 45 40 / 0.1); }
@keyframes popIn { from { transform: translateY(16px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .quote-dialog[open] { animation: none; } }

/* ---------- Lightbox ---------- */
.lightbox { width: 100vw; height: 100svh; max-width: 100vw; max-height: 100svh; margin: 0; padding: 0; border: 0; background: rgb(6 18 16 / 0.96); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgb(6 18 16 / 0.9); }
.lb-figure { margin: 0; padding: 4rem 1rem; max-width: min(1200px, 100%); }
.lb-figure img { max-width: 100%; max-height: calc(100svh - 10rem); margin: 0 auto; border-radius: 0.75rem; object-fit: contain; }
.lb-btn { position: absolute; z-index: 2; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 999px; background: rgb(255 255 255 / 0.12); color: #fff; transition: background-color .2s; }
.lb-btn:hover { background: rgb(255 255 255 / 0.25); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 639px) { .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; } }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Mobile: room for the sticky action bar ---------- */
@media (max-width: 1023px) { body { padding-bottom: calc(4.4rem + env(safe-area-inset-bottom)); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Legal & credits pages ---------- */
.legal { color: #334155; line-height: 1.75; }
.legal h2 { margin: 2.25rem 0 0.75rem; font-size: 1.3rem; font-weight: 800; }
.legal p + p { margin-top: 0.9rem; }
.legal ul { margin-top: 0.5rem; padding-left: 1.25rem; list-style: disc; display: grid; gap: 0.4rem; }
.legal a { color: var(--color-forest); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.credits-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.88rem; }
.credits-table th { text-align: left; padding: 0.75rem; background: var(--color-pine-900); color: #fff; font-family: var(--font-display); font-weight: 700; }
.credits-table td { padding: 0.75rem; border-bottom: 1px solid #e2e8f0; vertical-align: top; }
.credits-table tbody tr:nth-child(even) { background: #fff; }

/* ---------- Final call to action (no form) ---------- */
.cta-panel { position: relative; isolation: isolate; overflow: hidden; border-radius: 2rem; background: var(--color-pine-900); color: #fff; box-shadow: var(--shadow-lift); }
.cta-bg { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.cta-panel:hover .cta-bg { transform: scale(1.08); }
.cta-shade { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(60rem 30rem at 0% 100%, rgb(11 32 28 / 0.95), transparent 70%),
  linear-gradient(100deg, rgb(11 32 28 / 0.92) 0%, rgb(16 45 40 / 0.72) 45%, rgb(16 45 40 / 0.25) 100%); }
.cta-ridge { position: absolute; left: 0; right: 0; bottom: -1px; z-index: -1; width: 100%; height: 4.5rem; fill: rgb(11 32 28 / 0.55); }
.cta-grid { display: grid; gap: 2.5rem; align-items: center; padding: 2.25rem 1.5rem 2.5rem; }
@media (min-width: 640px) { .cta-grid { padding: 3.5rem 3rem; } }
@media (min-width: 1024px) { .cta-grid { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; padding: 4.5rem 4.5rem; } .cta-panel { border-radius: 2.5rem; } }
.cta-title { margin-top: 0.85rem; font-family: var(--font-display); font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; color: #fff; }
.cta-title .serif-accent { display: block; font-weight: 500; }
.cta-lead { margin-top: 1.1rem; max-width: 32rem; font-size: 1.05rem; line-height: 1.65; color: rgb(255 255 255 / 0.85); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.cta-perks { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.cta-perks li { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.85rem; border-radius: 999px; background: rgb(255 255 255 / 0.1); border: 1px solid rgb(255 255 255 / 0.16); backdrop-filter: blur(6px); font-size: 0.82rem; font-weight: 600; color: rgb(255 255 255 / 0.92); }
.cta-perks .icon { color: var(--color-sand); }

/* Boarding-pass contact card */
.ticket { position: relative; width: 100%; max-width: 26rem; justify-self: center; color: var(--color-ink); filter: drop-shadow(0 24px 30px rgb(0 0 0 / 0.35)); transform: rotate(1.5deg); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.ticket:hover { transform: rotate(0deg) translateY(-4px); }
@media (min-width: 1024px) { .ticket { justify-self: end; } }
@media (prefers-reduced-motion: reduce) { .ticket, .ticket:hover, .cta-bg, .cta-panel:hover .cta-bg { transform: none; transition: none; } }
.ticket-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 1rem 1.4rem; border-radius: 1.5rem 1.5rem 0 0; background: var(--color-pine-900); color: #fff; }
.ticket-brand { white-space: nowrap; display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--font-display); font-size: 0.85rem; font-weight: 800; letter-spacing: 0.02em; }
.ticket-brand .icon { color: var(--color-sand); }
.ticket-chip { white-space: nowrap; flex-shrink: 0; padding: 0.25rem 0.65rem; border-radius: 999px; background: var(--color-sand); color: var(--color-pine-900); font-family: var(--font-display); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.ticket-body { padding: 1.4rem 1.4rem 1.2rem; background: #fff; }
.ticket-k { font-family: var(--font-display); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-muted); }
.ticket-v { margin-top: 0.15rem; font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; color: var(--color-pine-900); line-height: 1.1; }
.ticket-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.9rem; }
.ticket-path { display: flex; align-items: center; gap: 0.4rem; color: var(--color-forest); }
.ticket-path span { flex: 1; border-top: 2px dashed rgb(23 107 82 / 0.35); }
.ticket-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-top: 1.25rem; padding: 0.8rem 0.9rem; border-radius: 0.9rem; background: var(--color-ivory); }
.ticket-meta dd { margin-top: 0.1rem; font-family: var(--font-display); font-size: 0.88rem; font-weight: 700; color: var(--color-pine-900); }
.ticket-tear { position: relative; height: 1.5rem; background: #fff;
  -webkit-mask: radial-gradient(circle at 0 50%, transparent 0.75rem, #000 0.78rem) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 0.75rem, #000 0.78rem) right / 51% 100% no-repeat;
  mask: radial-gradient(circle at 0 50%, transparent 0.75rem, #000 0.78rem) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 0.75rem, #000 0.78rem) right / 51% 100% no-repeat; }
.ticket-tear::before { content: ""; position: absolute; left: 1.4rem; right: 1.4rem; top: 50%; border-top: 2px dashed #e2e8f0; }
.ticket-stub { display: grid; gap: 0.5rem; padding: 0.5rem 1.1rem 1.3rem; border-radius: 0 0 1.5rem 1.5rem; background: #fff; }
.ticket-stub > .ticket-k { padding: 0 0.3rem 0.2rem; }
.ticket-link { display: flex; align-items: center; gap: 0.8rem; padding: 0.65rem 0.75rem; border-radius: 1rem; transition: background-color .15s; }
.ticket-link:hover { background: var(--color-forest-50); }
.ticket-link small { display: block; font-size: 0.72rem; color: var(--color-muted); }
.ticket-link strong { display: block; font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--color-pine-900); }
.ticket-ico { display: grid; place-items: center; flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: 0.8rem; background: var(--color-forest-50); color: var(--color-forest); }
.ticket-ico.is-wa { background: #dcfce7; color: #15803d; }
.ticket-go { margin-left: auto; color: #94a3b8; transition: transform .15s, color .15s; }
.ticket-link:hover .ticket-go { color: var(--color-forest); transform: translateX(3px); }
.ticket-hours { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.3rem; padding: 0 0.3rem; font-size: 0.75rem; color: var(--color-muted); }
@media (max-width: 420px) {
  .ticket-head { padding: 0.9rem 1.1rem; }
  .ticket-brand { font-size: 0.78rem; }
  .ticket-chip { font-size: 0.6rem; padding: 0.22rem 0.55rem; }
  .ticket-v { font-size: 1.15rem; }
}

/* ---------- Thank-you page ---------- */
.ty-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--color-pine-900); color: #fff; }
.ty-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.ty-shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50rem 28rem at 0% 100%, rgb(11 32 28 / 0.95), transparent 70%), linear-gradient(100deg, rgb(11 32 28 / 0.94) 0%, rgb(16 45 40 / 0.78) 50%, rgb(16 45 40 / 0.45) 100%); }
.ty-grid { display: grid; gap: 2.75rem; align-items: center; padding-top: 3.5rem; padding-bottom: 4rem; }
@media (min-width: 1024px) { .ty-grid { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; padding-top: 5.5rem; padding-bottom: 6rem; } }
.ty-check { display: grid; place-items: center; width: 4.25rem; height: 4.25rem; border-radius: 999px; background: var(--color-sand); color: var(--color-pine-900); box-shadow: 0 0 0 10px rgb(255 255 255 / 0.08), 0 0 0 20px rgb(255 255 255 / 0.04); animation: ty-pop .6s cubic-bezier(.2,1.4,.4,1) both; }
.ty-check .icon { width: 2.1rem; height: 2.1rem; stroke-width: 3; }
@keyframes ty-pop { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.ty-eyebrow { margin-top: 1.75rem; color: var(--color-sand); }
.ty-title { margin-top: 0.75rem; font-family: var(--font-display); font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.02em; color: #fff; }
.ty-title .serif-accent { display: block; font-weight: 500; color: var(--color-sand); }
.ty-lead { margin-top: 1.1rem; max-width: 32rem; font-size: 1.05rem; line-height: 1.65; color: rgb(255 255 255 / 0.85); }
.ty-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
@media (max-width: 419px) { .ty-actions .btn { flex: 1 1 100%; } }

.ty-ticket { animation: ty-rise .7s .15s cubic-bezier(.2,.8,.2,1) both; }
@keyframes ty-rise { from { opacity: 0; transform: translateY(24px) rotate(1.5deg); } to { opacity: 1; transform: rotate(1.5deg); } }
.ty-chip { display: inline-flex; align-items: center; gap: 0.3rem; }
.ty-chip .icon { width: 0.8rem; height: 0.8rem; stroke-width: 3; }
.ty-package { margin-top: 0.9rem; padding: 0.5rem 0.75rem; border-radius: 0.7rem; background: var(--color-forest-50); font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--color-forest); }
.ty-stub { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1rem; padding: 0.4rem 1.4rem 1.4rem; border-radius: 0 0 1.5rem 1.5rem; background: #fff; }
.ty-ref { margin-top: 0.15rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.05rem; font-weight: 700; letter-spacing: 0.06em; color: var(--color-pine-900); }
.ty-status { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.15rem; font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: var(--color-forest); }
.ty-dot { width: 0.55rem; height: 0.55rem; border-radius: 999px; background: #22c55e; box-shadow: 0 0 0 0 rgb(34 197 94 / 0.6); animation: ty-pulse 1.8s infinite; }
@keyframes ty-pulse { 70% { box-shadow: 0 0 0 8px rgb(34 197 94 / 0); } 100% { box-shadow: 0 0 0 0 rgb(34 197 94 / 0); } }
.ty-barcode { grid-column: 1 / -1; height: 2.6rem; border-radius: 0.3rem; opacity: 0.85;
  background: repeating-linear-gradient(90deg, var(--color-pine-900) 0 2px, transparent 2px 4px, var(--color-pine-900) 4px 7px, transparent 7px 9px, var(--color-pine-900) 9px 10px, transparent 10px 13px, var(--color-pine-900) 13px 16px, transparent 16px 18px); }

.ty-next { padding-top: 4.5rem; padding-bottom: 5rem; text-align: center; }
.ty-h2 { margin-top: 0.75rem; font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.015em; color: var(--color-pine-900); }
.ty-steps { position: relative; display: grid; gap: 1rem; max-width: 72rem; margin: 3rem auto 0; text-align: left; }
@media (min-width: 640px) { .ty-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ty-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
  .ty-steps::before { content: ""; position: absolute; top: 2.85rem; left: 12%; right: 12%; border-top: 2px dashed rgb(23 107 82 / 0.3); } }
.ty-step { position: relative; padding: 1.5rem 1.4rem 1.6rem; border-radius: 1.4rem; background: #fff; border: 1px solid rgb(16 45 40 / 0.08); box-shadow: 0 18px 40px -28px rgb(16 45 40 / 0.4); }
.ty-step-ico { position: relative; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 0.9rem; background: var(--color-forest-50); color: var(--color-forest); }
.ty-step.is-done .ty-step-ico { background: var(--color-forest); color: #fff; }
.ty-when { display: inline-block; margin-top: 1rem; padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--color-ivory); font-family: var(--font-display); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #b26b1f; }
.ty-step.is-done .ty-when { background: #dcfce7; color: #15803d; }
.ty-step h3 { margin-top: 0.6rem; font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; color: var(--color-pine-900); }
.ty-step p { margin-top: 0.4rem; font-size: 0.9rem; line-height: 1.55; color: var(--color-muted); }

.ty-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; max-width: 72rem; margin: 2.5rem auto 0; padding: 1.5rem 1.75rem; border-radius: 1.4rem; background: var(--color-pine-900); color: #fff; text-align: left; }
.ty-help h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; color: #fff; }
.ty-help p { margin-top: 0.2rem; font-size: 0.9rem; color: rgb(255 255 255 / 0.75); }
.ty-help-links { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.ty-help-links a { display: inline-flex; align-items: center; gap: 0.5rem; min-width: 0; padding: 0.6rem 1rem; border-radius: 999px; background: rgb(255 255 255 / 0.1); border: 1px solid rgb(255 255 255 / 0.16); font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; overflow-wrap: anywhere; transition: background-color .15s; }
.ty-help-links a:hover { background: rgb(255 255 255 / 0.18); }
.ty-help-links .icon { color: var(--color-sand); flex-shrink: 0; }
.ty-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.75rem; margin-top: 2.5rem; }
.ty-home { display: inline-flex; align-items: center; gap: 0.3rem; font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: var(--color-forest); }
.ty-home:hover { color: var(--color-pine-900); }
@media (prefers-reduced-motion: reduce) { .ty-check, .ty-ticket, .ty-dot { animation: none; } .ty-ticket { transform: rotate(1.5deg); } }

/* ---------- Trip planner v2: dark header, step trail, photo destinations ---------- */
.wiz { --wpt: 1.6rem; --wpx: 1.35rem; }
@media (min-width: 640px) { .wiz { --wpt: 1.9rem; --wpx: 1.9rem; } }
.quote-dialog .lead-form.wiz { --wpt: 1.9rem; --wpx: 1.4rem; }
/* One source of truth: the header bleeds by exactly the card's padding */
.wiz, .quote-dialog .lead-form.wiz { padding-top: var(--wpt); padding-left: var(--wpx); padding-right: var(--wpx); }
@media (min-width: 640px) { .quote-dialog .lead-form.wiz { --wpt: 2rem; --wpx: 1.9rem; } }
@media (max-width: 479px) { .wiz { --wpt: 1.35rem; --wpx: 1rem; } .quote-dialog .lead-form.wiz { --wpt: 1.5rem; --wpx: 1rem; } }
.wiz::before { display: none; }
.wiz-top { position: relative; isolation: isolate; margin: calc(-1 * var(--wpt)) calc(-1 * var(--wpx)) 0; padding: calc(var(--wpt) + 0.1rem) var(--wpx) 2.6rem; overflow: hidden; color: #fff;
  background: radial-gradient(28rem 12rem at 100% 0%, rgb(232 193 112 / 0.28), transparent 70%), linear-gradient(160deg, #1d5a48 0%, var(--color-pine-900) 70%); }
.wiz-top::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.18; background: radial-gradient(rgb(255 255 255 / 0.6) 1px, transparent 1px) 0 0 / 16px 16px; -webkit-mask: linear-gradient(#000, transparent 75%); mask: linear-gradient(#000, transparent 75%); }
.wiz-ridge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 1.6rem; fill: #fff; }
.wiz-eyebrow { color: var(--color-sand); }
.wiz-title { color: #fff; }
.wiz-badge { background: rgb(255 255 255 / 0.12); color: var(--color-sand); border: 1px solid rgb(255 255 255 / 0.16); }
.wiz-top .demo-badge { background: rgb(254 243 199 / 0.95); }
.wiz-meter { margin-top: 0.9rem; font-size: 0.78rem; color: rgb(255 255 255 / 0.7); }
.wiz-pct { color: var(--color-sand); }

/* Step trail: four stops joined by a line that fills as you go */
.wiz-trail { position: relative; margin-top: 0.85rem; }
.wiz-trail .wiz-bar { position: absolute; top: 1.15rem; left: 12.5%; right: 12.5%; height: 3px; margin: 0; border-radius: 999px; background: rgb(255 255 255 / 0.16); }
.wiz-trail .wiz-bar span { width: 0; background: linear-gradient(90deg, var(--color-sand), #f3d9a0); }
.wiz-tabs { position: relative; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 0; }
.wiz-tab, .wiz-tab.is-done, .wiz-tab.is-active, .wiz-tab.is-done:hover { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; height: auto; padding: 0; border-radius: 0.8rem; background: none; box-shadow: none; color: rgb(255 255 255 / 0.55); }
.wiz-dot { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 999px; background: #24493f; border: 2px solid rgb(255 255 255 / 0.22); color: rgb(255 255 255 / 0.7); transition: background-color .25s, border-color .25s, color .25s, transform .25s, box-shadow .25s; }
.wiz-dot .icon { width: 1rem; height: 1rem; }
.wiz-lab { font-family: var(--font-display); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.wiz-tab.is-active { color: #fff; }
.wiz-tab.is-active .wiz-dot { background: var(--color-sand); border-color: var(--color-sand); color: var(--color-pine-900); transform: scale(1.1); box-shadow: 0 0 0 5px rgb(232 193 112 / 0.22); }
.wiz-tab.is-done { color: rgb(255 255 255 / 0.85); cursor: pointer; }
.wiz-tab.is-done .wiz-dot { background: #2f7a62; border-color: #2f7a62; color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22white%22 stroke-width=%223.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M20 6 9 17l-5-5%22/%3E%3C/svg%3E"); background-position: center; background-size: 1rem; background-repeat: no-repeat; }
.wiz-tab.is-done:hover .wiz-dot { border-color: var(--color-sand); }
.wiz-tab:focus-visible { outline: 3px solid var(--color-sand); outline-offset: 3px; }
.wiz .selected-package { margin-top: 1.1rem; }
.wiz-step { margin-top: 1.1rem; }

/* Destination photo tiles */
.dest-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.55rem; }
.opt.dest-photo { isolation: isolate; align-items: flex-end; min-height: 5.1rem; padding: 0.5rem 0.6rem; overflow: hidden; border: 0; border-radius: 0.95rem; background: var(--color-pine-900); box-shadow: inset 0 0 0 0 var(--color-forest); }
.dest-photo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.dest-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(11 32 28 / 0.85), rgb(11 32 28 / 0.05) 70%); transition: background-color .2s; }
.dest-photo:hover img { transform: scale(1.08); }
.dest-photo .opt-text { font-size: 0.86rem; line-height: 1.15; color: #fff; text-shadow: 0 1px 8px rgb(0 0 0 / 0.45); }
.opt.dest-photo:has(input:checked) { background: var(--color-pine-900); box-shadow: inset 0 0 0 3px var(--color-sand), 0 12px 24px -14px rgb(16 45 40 / 0.8); }
.dest-photo:has(input:checked)::before { background: linear-gradient(to top, rgb(11 32 28 / 0.9), rgb(23 107 82 / 0.25) 80%); }
.opt.dest-photo:has(input:checked)::after { background-color: var(--color-sand); top: 0.45rem; right: 0.45rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23102D28%22 stroke-width=%223.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M20 6 9 17l-5-5%22/%3E%3C/svg%3E"); }
.opt.dest-unsure { grid-column: 1 / -1; min-height: 3.2rem; border-style: dashed; background: #fbfaf6; }
.dest-unsure .opt-ico { width: 2.1rem; height: 2.1rem; background: #fdf3dc; color: #b26b1f; }
.dest-unsure .opt-text { font-size: 0.9rem; }
.dest-sub { margin-left: 0.25rem; font-family: var(--font-body); font-weight: 500; color: var(--color-muted); }
@media (max-width: 479px) {
  .wiz-top { padding-bottom: 2.3rem; }
  .wiz-dot { width: 2.05rem; height: 2.05rem; }
  .wiz-trail .wiz-bar { top: 1.02rem; }
  .wiz-lab { font-size: 0.64rem; }
  .dest-grid { gap: 0.45rem; }
  .opt.dest-photo { min-height: 4.4rem; padding: 0.4rem 0.45rem; border-radius: 0.8rem; }
  .dest-photo .opt-text { font-size: 0.76rem; }
  .opt.dest-photo:has(input:checked)::after { top: 0.3rem; right: 0.3rem; }
}
@media (max-width: 419px) {
  /* keep photo tiles as photo tiles (undo the icon-above-text layout) */
  .dest-grid .opt.dest-photo { flex-direction: row; align-items: flex-end; justify-content: flex-start; padding: 0.4rem 0.45rem; min-height: 4.4rem; }
  .dest-grid .opt.dest-unsure { flex-direction: row; align-items: center; justify-content: flex-start; padding: 0.55rem 0.7rem; }
  .dest-sub { display: block; margin: 0.1rem 0 0; font-size: 0.75rem; }
}
@media (prefers-reduced-motion: reduce) { .dest-photo img, .dest-photo:hover img, .wiz-dot { transition: none; transform: none; } }

/* ---------- How it works: the climb ---------- */
.hiw { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(180deg, #0e2823 0%, var(--color-pine-900) 55%, #163b33 100%); color: #fff; }
.hiw-glow { position: absolute; z-index: -1; top: -10rem; right: -8rem; width: 38rem; height: 38rem; border-radius: 999px; background: radial-gradient(closest-side, rgb(232 193 112 / 0.22), transparent); pointer-events: none; }
.hiw-mountains { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; width: 100%; height: 9rem; pointer-events: none; }
.hiw-mountains .m1 { fill: rgb(255 255 255 / 0.035); }
.hiw-mountains .m2 { fill: rgb(0 0 0 / 0.18); }
.hiw-intro { margin-top: 0.9rem; font-size: 1.02rem; line-height: 1.6; color: rgb(255 255 255 / 0.72); }

.hiw-steps { position: relative; display: grid; gap: 1.1rem; margin-top: 3rem; padding-left: 1.4rem; }
.hiw-steps::before { content: ""; position: absolute; left: 1.4rem; top: 1.5rem; bottom: 1.5rem; border-left: 2px dashed rgb(232 193 112 / 0.45); }
.hiw-trail { display: none; }
.hiw-step { position: relative; padding-left: 2.4rem; }
.hiw-pin { position: absolute; left: -1.4rem; top: 0.9rem; z-index: 1; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 999px; background: var(--color-forest); color: #fff; box-shadow: 0 0 0 5px var(--color-pine-900), 0 10px 24px -8px rgb(0 0 0 / 0.6); }
.hiw-pin .icon { width: 1.25rem; height: 1.25rem; }
.hiw-step:last-child .hiw-pin { background: var(--color-sand); color: var(--color-pine-900); }
.hiw-flag { position: absolute; top: -1.35rem; left: 1.2rem; width: 1.5rem; height: 1.5rem; fill: none; stroke: var(--color-sand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hiw-flag path:last-child { fill: rgb(232 193 112 / 0.9); stroke: var(--color-sand); }
.hiw-card { position: relative; overflow: hidden; padding: 1.25rem 1.3rem 1.35rem; border-radius: 1.4rem; background: linear-gradient(160deg, rgb(255 255 255 / 0.09), rgb(255 255 255 / 0.03)); border: 1px solid rgb(255 255 255 / 0.12); backdrop-filter: blur(6px); transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, background-color .3s; }
.hiw-step:hover .hiw-card { transform: translateY(-4px); border-color: rgb(232 193 112 / 0.45); }
.hiw-num { position: absolute; right: 0.9rem; top: 0.2rem; font-family: var(--font-serif, "Playfair Display", Georgia, serif); font-style: italic; font-size: 3.6rem; font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgb(232 193 112 / 0.35); pointer-events: none; }
.hiw-camp { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.78rem; font-weight: 600; color: rgb(255 255 255 / 0.65); }
.hiw-camp span { padding: 0.18rem 0.55rem; border-radius: 999px; background: rgb(232 193 112 / 0.16); color: var(--color-sand); font-family: var(--font-display); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.hiw-card h3 { margin-top: 0.75rem; padding-right: 2.5rem; font-family: var(--font-display); font-size: 1.12rem; font-weight: 800; line-height: 1.25; color: #fff; }
.hiw-text { margin-top: 0.45rem; font-size: 0.93rem; line-height: 1.6; color: rgb(255 255 255 / 0.72); }
.hiw-step:last-child .hiw-card { background: linear-gradient(160deg, rgb(232 193 112 / 0.2), rgb(255 255 255 / 0.04)); border-color: rgb(232 193 112 / 0.35); }

@media (min-width: 1024px) {
  .hiw-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 1.5rem; margin-top: 3.5rem; padding-left: 0; }
  .hiw-steps::before { display: none; }
  .hiw-trail { display: block; position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 12rem; overflow: visible; pointer-events: none; }
  .hiw-trail path { fill: none; stroke: rgb(232 193 112 / 0.6); stroke-width: 2.5; stroke-dasharray: 2 10; stroke-linecap: round; vector-effect: non-scaling-stroke; animation: hiw-march 1.6s linear infinite; }
  .hiw-step { padding: 0; margin-top: calc((3 - var(--i)) * 3rem); text-align: center; }
  .hiw-pin { position: relative; left: auto; top: auto; width: 3.5rem; height: 3.5rem; margin: 0 auto 1rem; box-shadow: 0 0 0 6px var(--color-pine-900), 0 0 0 7px rgb(232 193 112 / 0.3), 0 14px 30px -10px rgb(0 0 0 / 0.7); }
  .hiw-pin .icon { width: 1.45rem; height: 1.45rem; }
  .hiw-flag { top: -1.6rem; left: 1.9rem; width: 1.8rem; height: 1.8rem; }
  .hiw-card { padding: 1.5rem 1.3rem 1.6rem; text-align: left; }
}
@keyframes hiw-march { to { stroke-dashoffset: -24; } }
.hiw-cta { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; margin-top: 3rem; }
.hiw-cta p { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: rgb(255 255 255 / 0.65); }
.hiw-cta .icon { color: var(--color-sand); }
@media (prefers-reduced-motion: reduce) { .hiw-trail path { animation: none; } .hiw-card, .hiw-step:hover .hiw-card { transition: none; transform: none; } }
.hiw .topo { opacity: 0.06; z-index: -1; }
/* Mobile/tablet trail: one segment per stop, so the line ends at the summit */
@media (max-width: 1023px) {
  .hiw-steps::before { display: none; }
  .hiw-step:not(:last-child)::before { content: ""; position: absolute; left: -1px; top: 2.3rem; bottom: -3.4rem; border-left: 2px dashed rgb(232 193 112 / 0.45); }
}
/* How it works: compact height */
.hiw.section { padding-block: 3.25rem; }
@media (min-width: 1024px) { .hiw.section { padding-block: 4rem; } }
.hiw .section-title { margin-top: 0.4rem; }
.hiw-intro { margin-top: 0.5rem; font-size: 0.95rem; }
.hiw-steps { margin-top: 2rem; gap: 0.8rem; }
.hiw-card { padding: 1rem 1.15rem 1.05rem; }
.hiw-card h3 { margin-top: 0.55rem; font-size: 1.05rem; }
.hiw-text { margin-top: 0.3rem; font-size: 0.9rem; line-height: 1.5; }
.hiw-num { font-size: 3rem; }
.hiw-cta { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.25rem; margin-top: 1.75rem; }
.hiw-mountains { height: 6rem; }
@media (max-width: 1023px) { .hiw-step:not(:last-child)::before { bottom: -3.1rem; } }
@media (min-width: 1024px) {
  .hiw-steps { margin-top: 2.25rem; gap: 1.25rem; }
  .hiw-trail { height: 8rem; }
  .hiw-step { margin-top: calc((3 - var(--i)) * 1.5rem); }
  .hiw-pin { width: 3.1rem; height: 3.1rem; margin-bottom: 0.7rem; }
  .hiw-pin .icon { width: 1.3rem; height: 1.3rem; }
  .hiw-flag { left: 1.7rem; }
  .hiw-card { padding: 1.15rem 1.2rem 1.2rem; }
  .hiw-cta { margin-top: 2rem; }
}

/* ---------- Why choose us: bento grid ---------- */
.why.section { padding-block: 3.5rem; }
@media (min-width: 1024px) { .why.section { padding-block: 4.5rem; } }
.why-head { display: grid; gap: 1rem; }
.why-head .section-title { margin-top: 0.4rem; }
.why-side p { font-size: 1rem; line-height: 1.6; color: var(--color-muted); }
.why-side .btn { margin-top: 1rem; }
@media (min-width: 1024px) {
  .why-head { grid-template-columns: 1.2fr 0.8fr; align-items: end; gap: 3rem; }
  .why-side { display: flex; flex-direction: column; align-items: flex-start; }
}
.why-grid { display: grid; gap: 0.75rem; margin-top: 2rem; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .why-photo { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 1rem; margin-top: 2.25rem; } .why-photo { grid-column: 1; grid-row: 1 / span 2; } }

.why-photo { position: relative; min-height: 12rem; overflow: hidden; border-radius: 1.5rem; background: var(--color-pine-900); box-shadow: var(--shadow-lift); }
@media (min-width: 640px) and (max-width: 1023px) { .why-photo { min-height: 14rem; } }
.why-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.why-photo:hover img { transform: scale(1.06); }
.why-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(11 32 28 / 0.75), transparent 55%); }
.why-chip { position: absolute; top: 0.85rem; left: 0.85rem; z-index: 1; display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.7rem; border-radius: 999px; background: rgb(255 255 255 / 0.16); border: 1px solid rgb(255 255 255 / 0.25); backdrop-filter: blur(8px); font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; color: #fff; }
.why-chip .icon { color: var(--color-sand); }
.why-badge { position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; z-index: 1; display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 0.8rem; border-radius: 1rem; background: rgb(255 255 255 / 0.95); box-shadow: 0 12px 30px -12px rgb(0 0 0 / 0.5); }
.why-badge span { display: grid; place-items: center; flex-shrink: 0; width: 2.4rem; height: 2.4rem; border-radius: 0.75rem; background: #fdf3dc; color: var(--color-pine-900); }
.why-badge .icon { width: 1.2rem; height: 1.2rem; }
.why-badge p { font-size: 0.78rem; line-height: 1.35; color: var(--color-muted); }
.why-badge strong { display: block; font-family: var(--font-display); font-size: 0.86rem; color: var(--color-pine-900); }

.why-tile { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 0.85rem; align-content: start; padding: 1.1rem 1.15rem; border-radius: 1.25rem; background: #fff; border: 1px solid rgb(16 45 40 / 0.08); box-shadow: 0 1px 2px rgb(16 45 40 / 0.04); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s; }
.why-tile:hover { transform: translateY(-4px); border-color: rgb(23 107 82 / 0.3); box-shadow: 0 20px 36px -24px rgb(16 45 40 / 0.55); }
.why-ico { grid-row: span 2; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 0.85rem; background: var(--color-forest-50); color: var(--color-forest); transition: transform .3s, background-color .3s, color .3s; }
.why-ico .icon { width: 1.25rem; height: 1.25rem; }
.why-tile:hover .why-ico { transform: rotate(-8deg) scale(1.06); background: var(--color-forest); color: #fff; }
.why-tile h3 { align-self: center; font-family: var(--font-display); font-size: 1rem; font-weight: 800; line-height: 1.25; color: var(--color-pine-900); }
.why-tile p { margin-top: 0.3rem; font-size: 0.88rem; line-height: 1.5; color: var(--color-muted); }
@media (min-width: 1024px) {
  .why-tile { grid-template-columns: 1fr; padding: 1.25rem 1.25rem 1.3rem; }
  .why-ico { grid-row: auto; margin-bottom: 0.85rem; }
  .why-tile p { margin-top: 0.35rem; }
}
.why-tile.is-feature { background: linear-gradient(160deg, #1d5a48, var(--color-pine-900)); border-color: transparent; }
.why-tile.is-feature h3 { color: #fff; }
.why-tile.is-feature p { color: rgb(255 255 255 / 0.75); }
.why-tile.is-feature .why-ico { background: var(--color-sand); color: var(--color-pine-900); }
.why-tile.is-feature::after { content: ""; position: absolute; right: -2.5rem; bottom: -2.5rem; width: 8rem; height: 8rem; border-radius: 999px; border: 1.5px solid rgb(232 193 112 / 0.25); box-shadow: 0 0 0 1.2rem rgb(232 193 112 / 0.05); pointer-events: none; }
.why-tile.is-feature { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .why-tile, .why-tile:hover, .why-ico, .why-tile:hover .why-ico, .why-photo img, .why-photo:hover img { transition: none; transform: none; } }
.why-chip { background: rgb(11 32 28 / 0.55); border-color: rgb(255 255 255 / 0.18); }
/* Phones: two columns of compact tiles to keep the section short */
@media (max-width: 639px) {
  .why.section { padding-block: 3rem; }
  .why-head { gap: 0.6rem; }
  .why-side p { font-size: 0.93rem; }
  .why-side .btn { margin-top: 0.8rem; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin-top: 1.5rem; }
  .why-photo { grid-column: 1 / -1; min-height: 10.5rem; }
  .why-tile { grid-template-columns: 1fr; padding: 0.9rem 0.85rem 0.95rem; border-radius: 1.1rem; }
  .why-ico { grid-row: auto; width: 2.2rem; height: 2.2rem; margin-bottom: 0.6rem; border-radius: 0.7rem; }
  .why-ico .icon { width: 1.05rem; height: 1.05rem; }
  .why-tile h3 { font-size: 0.9rem; }
  .why-tile p { font-size: 0.8rem; line-height: 1.45; }
}

/* ---------- Audit fixes: contrast and tap targets ---------- */
.mobile-bar a.text-whatsapp { color: #137337; }      /* 4.5:1+ on the bar */
.ty-when { color: #8a4f12; }                          /* was #b26b1f (3.9:1) */
footer li > a, footer p > a { display: inline-block; padding-block: 0.3rem; } /* 24px+ tap height */

/* ---------- 404 page ---------- */
.nf { position: relative; display: grid; place-items: center; overflow: hidden; padding: 4rem 1rem 9rem; background: linear-gradient(180deg, #0e2823, var(--color-pine-900)); color: #fff; text-align: center; }
.nf-inner { position: relative; z-index: 1; max-width: 34rem; }
.nf-brand { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: #fff; }
.nf-brand svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: var(--color-sand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nf-code { margin-top: 2rem; font-family: var(--font-serif, "Playfair Display", Georgia, serif); font-style: italic; font-weight: 600; font-size: clamp(6rem, 22vw, 10rem); line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--color-sand); }
.nf h1 { margin-top: 1rem; font-family: var(--font-display); font-size: clamp(1.6rem, 5vw, 2.2rem); font-weight: 800; line-height: 1.2; color: #fff; }
.nf-text { margin-top: 0.8rem; font-size: 1rem; line-height: 1.6; color: rgb(255 255 255 / 0.75); }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2rem; }
.nf-ghost { border: 1px solid rgb(255 255 255 / 0.35); color: #fff; }
.nf-ghost:hover { background: rgb(255 255 255 / 0.1); }
.nf-ridge { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 8rem; }
.nf-ridge .r1 { fill: rgb(255 255 255 / 0.05); }
.nf-ridge .r2 { fill: rgb(0 0 0 / 0.2); }
/* Audit round 2: 24px+ touch targets for standalone links and buttons */
[data-track-location="announcement"][data-pv-href] { min-height: 1.75rem; }
footer li > button { display: inline-block; padding-block: 0.3rem; }
.exp-link, .ty-home, header a[href="index.html"].inline-flex { min-height: 1.75rem; }


/* ---------- Gallery: film reel ---------- */
.gal.section { position: relative; isolation: isolate; overflow: hidden; padding-block: 3.25rem; background: linear-gradient(180deg, #0c231f, var(--color-pine-900)); color: #fff; }
@media (min-width: 1024px) { .gal.section { padding-block: 4rem; } }
.gal-glow { position: absolute; z-index: -1; left: -10rem; top: -12rem; width: 34rem; height: 34rem; border-radius: 999px; background: radial-gradient(closest-side, rgb(232 193 112 / 0.18), transparent); pointer-events: none; }
.gal-head { display: grid; gap: 1rem; }
.gal-head .section-title { margin-top: 0.4rem; }
.gal-side p { font-size: 0.92rem; line-height: 1.55; color: rgb(255 255 255 / 0.7); }
.gal-side strong { font-family: var(--font-display); color: var(--color-sand); }
.gal-all { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.5rem; margin-top: 0.8rem; padding: 0 1.1rem; border-radius: 999px; border: 1px solid rgb(232 193 112 / 0.5); font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--color-sand); transition: background-color .25s, color .25s; }
.gal-all:hover { background: var(--color-sand); color: var(--color-pine-900); }
.gal-all .icon { transition: transform .25s; }
.gal-all:hover .icon { transform: translateX(3px); }
@media (min-width: 768px) {
  .gal-head { grid-template-columns: 1fr auto; align-items: end; gap: 3rem; }
  .gal-side { display: flex; flex-direction: column; align-items: flex-end; max-width: 22rem; text-align: right; }
}

.gal-reel { --h: 8.5rem; --g: 0.6rem; display: grid; gap: var(--g); margin-top: 1.75rem; }
@media (min-width: 768px) { .gal-reel { --h: 10.5rem; --g: 0.85rem; margin-top: 2.25rem; } }
@media (min-width: 1280px) { .gal-reel { --h: 11.5rem; } }
.gal-row { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.gal-row::-webkit-scrollbar { display: none; }
.gal-track { display: flex; width: max-content; padding-inline: 1rem; }
.gal-tile { position: relative; flex: none; height: var(--h); aspect-ratio: var(--ar); margin-right: var(--g); overflow: hidden; border-radius: 1rem; cursor: zoom-in; background: rgb(255 255 255 / 0.06); box-shadow: 0 14px 30px -18px rgb(0 0 0 / 0.8); outline-offset: 3px; }
.gal-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .4s; }
.gal-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(8 24 21 / 0.7), transparent 50%); opacity: .85; transition: opacity .3s; }
.gal-tile:hover img, .gal-tile:focus-visible img { transform: scale(1.08); }
.gal-tile:hover::after { opacity: 1; }
.gal-tag { position: absolute; left: 0.55rem; bottom: 0.5rem; z-index: 1; display: inline-flex; align-items: center; gap: 0.25rem; font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.02em; color: #fff; text-shadow: 0 1px 6px rgb(0 0 0 / 0.5); }
.gal-tag .icon { width: 0.8rem; height: 0.8rem; color: var(--color-sand); }
@media (min-width: 768px) { .gal-tag { left: 0.75rem; bottom: 0.65rem; font-size: 0.76rem; } }

/* Moving reel (enabled by JS once the rows are duplicated) */
.gal-reel.is-moving .gal-row { overflow: hidden; }
.gal-reel.is-moving .gal-track { padding-inline: 0; animation: gal-scroll var(--dur, 60s) linear infinite; }
.gal-reel.is-moving .is-reverse .gal-track { animation-direction: reverse; }
.gal-reel.is-moving .gal-row:hover .gal-track, .gal-reel.is-moving .gal-row:focus-within .gal-track { animation-play-state: paused; }
@keyframes gal-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .gal-tile img, .gal-all .icon { transition: none; } }
.gallery-item.gal-tile { display: block; width: auto; margin-bottom: 0; break-inside: auto; }
@media (max-width: 767px) { .gal-side p { font-size: 0.85rem; } .gal-all { min-height: 2.25rem; margin-top: 0.6rem; font-size: 0.8rem; } }

/* ---------- Mobile readability: no text under 12px on phones ---------- */
@media (max-width: 767px) {
  .wiz-lab, .wiz-eyebrow, .ticket-k, .ticket-chip { font-size: 0.75rem; }
  .ticket-chip { padding: 0.25rem 0.6rem; }
  #home p.inline-flex.rounded-full { letter-spacing: 0.1em; padding-inline: 0.85rem; }
  #home p.inline-flex.rounded-full, [class*="text-[0.7rem]"], [class*="text-[0.65rem]"], .ty-when, .hiw-camp span, .gal-tag { font-size: 0.75rem; }
}

/* ================================================================
 * Compact quote popup (one page, 2 columns, short on phones)
 * ============================================================== */
.qf-dialog { width: min(33rem, calc(100% - 1.25rem)); border-radius: 1.6rem; }
.qf-dialog .quote-dialog-inner { max-height: calc(100svh - 1.25rem); }
.qf-dialog .quote-close { top: 0.85rem; right: 0.85rem; width: 2.5rem; height: 2.5rem; background: rgb(255 255 255 / 0.12); color: #fff; border: 1px solid rgb(255 255 255 / 0.18); }
.qf-dialog .quote-close:hover { background: rgb(255 255 255 / 0.22); }
.qf { display: block; }
.qf-head { position: relative; padding: 1.35rem 4rem 1.7rem 1.5rem; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, rgb(246 198 107 / 0.22), transparent 55%), linear-gradient(135deg, var(--color-pine-900), var(--color-forest) 140%); }
.qf-eyebrow { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-display); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-sand); }
.qf-eyebrow .icon { width: 1rem; height: 1rem; }
.qf-head .qf-title { color: #fff; }
.qf-title { margin-top: 0.35rem; font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; outline: none; }
.qf-sub { margin-top: 0.3rem; font-size: 0.9rem; line-height: 1.4; color: rgb(255 255 255 / 0.78); }
.qf-head .demo-badge { margin-top: 0.6rem; }
.qf-ridge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 1.1rem; fill: #fff; }
.qf-body { padding: 0.9rem 1.5rem 1.15rem; }
.qf-pkg { margin-bottom: 0.8rem; padding: 0.55rem 0.8rem; border: 1px solid rgb(23 107 82 / 0.2); border-radius: 0.8rem; background: var(--color-forest-50); font-size: 0.85rem; }
.qf-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.7rem 0.75rem; }
.qf-field { min-width: 0; }
.qf-label { display: block; margin-bottom: 0.3rem; font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; color: var(--color-pine-900); }
.qf-note { font-weight: 600; color: var(--color-muted); }
.qf-in { display: block; width: 100%; height: 2.85rem; padding: 0 0.85rem; border: 1.5px solid #e4e2d8; border-radius: 0.8rem; background: #fff; color: var(--color-ink); font-size: 1rem; font-family: var(--font-body);
  transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.qf-in::placeholder { color: #9aa1ad; }
.qf-in:hover { border-color: #cfcdc2; }
.qf-in:focus { outline: none; border-color: var(--color-forest); box-shadow: 0 0 0 4px rgb(23 107 82 / 0.14); }
.qf-in[aria-invalid="true"] { border-color: #dc2626; }
.qf-select { padding-right: 2.1rem; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6576' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.7rem center; background-size: 1rem; text-overflow: ellipsis; }
.qf-in[type="date"] { padding-right: 0.5rem; }
.qf-in[type="date"]::-webkit-date-and-time-value { text-align: left; }
.qf-phone { position: relative; }
.qf-phone > span { position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--color-pine-900); pointer-events: none; }
.qf-phone .qf-in { padding-left: 3rem; }
.qf .field-error.is-shown { margin-top: 0.3rem; font-size: 0.78rem; }
.qf-trip { margin-top: 0.8rem; }
.qf-pills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.45rem; }
.qf-pill { position: relative; }
.qf-pill input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.qf-pill span { display: flex; align-items: center; justify-content: center; gap: 0.35rem; height: 2.7rem; border: 1.5px solid #e4e2d8; border-radius: 0.8rem; background: #fff;
  font-family: var(--font-display); font-size: 0.86rem; font-weight: 700; color: var(--color-pine-900); transition: background-color .15s, border-color .15s, color .15s, transform .15s; }
.qf-pill .icon { width: 1rem; height: 1rem; color: var(--color-forest); }
.qf-pill:hover span { border-color: var(--color-forest); }
.qf-pill input:checked + span { border-color: var(--color-pine-900); background: var(--color-pine-900); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 16px -10px rgb(16 45 40 / 0.7); }
.qf-pill input:checked + span .icon { color: var(--color-sand); }
.qf-pill input:focus-visible + span { outline: 3px solid var(--color-sand); outline-offset: 2px; }
.qf-consent { display: flex; align-items: flex-start; gap: 0.6rem; margin-top: 0.85rem; font-size: 0.8rem; line-height: 1.45; color: var(--color-muted); cursor: pointer; }
.qf-consent input { flex-shrink: 0; width: 1.15rem; height: 1.15rem; margin-top: 0.1rem; accent-color: var(--color-forest); }
.qf-consent a { font-weight: 700; color: var(--color-forest); text-decoration: underline; text-underline-offset: 2px; }
.qf-submit { width: 100%; height: 3.25rem; margin-top: 0.85rem; justify-content: center; font-size: 1.02rem; border-radius: 0.95rem; }
.qf .form-status:not(:empty) { margin-top: 0.75rem; }
.qf-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 1.1rem; margin-top: 0.7rem; font-size: 0.78rem; color: var(--color-muted); }
.qf-foot span { display: inline-flex; align-items: center; gap: 0.3rem; }
.qf-foot .icon { width: 0.95rem; height: 0.95rem; color: var(--color-forest); }
@media (max-width: 479px) {
  .qf-head { padding: 1.1rem 3.5rem 1.45rem 1.05rem; }
  .qf-title { font-size: 1.25rem; }
  .qf-sub { font-size: 0.82rem; }
  .qf-label { margin-bottom: 0.2rem; }
  .qf-trip { margin-top: 0.6rem; }
  .qf-consent { margin-top: 0.6rem; font-size: 0.76rem; }
  .qf-submit { margin-top: 0.65rem; height: 3rem; }
  .qf-foot { margin-top: 0.5rem; }
  .qf-body { padding: 0.75rem 1.05rem 1rem; }
  .qf-grid { gap: 0.6rem 0.6rem; }
  .qf-in { height: 2.65rem; padding: 0 0.7rem; }
  .qf-phone .qf-in { padding-left: 2.7rem; }
  .qf-phone > span { left: 0.7rem; }
  .qf-select { padding-right: 1.8rem; background-position: right 0.5rem center; }
  .qf-pill span { flex-direction: column; gap: 0.05rem; height: 2.8rem; font-size: 0.78rem; }
}
@media (max-width: 379px) {
  .qf-body { padding: 0.65rem 0.85rem 0.9rem; }
  .qf-head { padding-left: 0.9rem; }
  .qf-in { font-size: 0.95rem; padding: 0 0.55rem; }
  .qf-phone .qf-in { padding-left: 2.45rem; }
  .qf-phone > span { left: 0.55rem; }
  .qf-in[type="date"] { padding-right: 0.25rem; font-size: 0.88rem; }
  .qf-label { font-size: 0.76rem; }
  .qf-note-sm { display: none; }
}
@media (max-width: 299px) { .qf-grid { grid-template-columns: 1fr; } }

/* ================================================================
 * Thank-you "What happens next?" — one compact journey panel
 * ============================================================== */
.ty-next { padding-top: 3rem; padding-bottom: 3.5rem; }
.tyj { position: relative; overflow: hidden; max-width: 72rem; margin: 0 auto; padding: 2rem 2rem 1.4rem; border-radius: 1.75rem; text-align: left; color: #fff;
  background: radial-gradient(90% 120% at 100% 0%, rgb(246 198 107 / 0.16), transparent 55%), radial-gradient(70% 90% at 0% 100%, rgb(23 107 82 / 0.55), transparent 60%), var(--color-pine-900);
  box-shadow: 0 30px 60px -30px rgb(11 32 28 / 0.55); }
.tyj-peaks { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 7rem; fill: rgb(255 255 255 / 0.035); pointer-events: none; }
.tyj-head { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.4rem 1.5rem; }
.tyj-eyebrow { display: inline-flex; align-items: center; gap: 0.45rem; order: 2; font-family: var(--font-display); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-sand); }
.tyj-eyebrow .icon { width: 1rem; height: 1rem; }
.tyj-title { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.015em; line-height: 1.1; color: #fff; }
.tyj-title .serif-accent { font-weight: 500; color: var(--color-sand); }
.tyj-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.75rem; }
/* the route line behind the nodes; first segment glows to show progress */
.tyj-steps::before { content: ""; position: absolute; top: 1.4rem; left: 1.4rem; right: 1.4rem; border-top: 2px dashed rgb(255 255 255 / 0.22); }
.tyj-steps::after { content: ""; position: absolute; top: calc(1.4rem - 1px); left: 1.4rem; width: calc(25% + 0.3rem); height: 4px; border-radius: 4px; background: linear-gradient(90deg, #4ade80, var(--color-sand)); }
.tyj-step { position: relative; }
.tyj-node { position: relative; z-index: 1; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 999px; background: #1d4a42; border: 2px solid rgb(255 255 255 / 0.16); color: rgb(255 255 255 / 0.85); }
.tyj-node .icon { width: 1.25rem; height: 1.25rem; }
.tyj-num { position: absolute; right: -0.35rem; top: -0.35rem; display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 999px; background: var(--color-pine-900); border: 1.5px solid rgb(255 255 255 / 0.3); font-family: var(--font-display); font-size: 0.75rem; font-weight: 800; color: #fff; }
.tyj-step.is-done .tyj-node { background: #22c55e; border-color: #86efac; color: #06281b; box-shadow: 0 0 0 6px rgb(34 197 94 / 0.18); }
.tyj-step.is-next .tyj-node { background: var(--color-sand); border-color: #fde1a6; color: var(--color-pine-900); animation: tyjPulse 2.2s ease-out infinite; }
@keyframes tyjPulse { 0% { box-shadow: 0 0 0 0 rgb(246 198 107 / 0.55); } 70%, 100% { box-shadow: 0 0 0 12px rgb(246 198 107 / 0); } }
.tyj-txt { margin-top: 0.85rem; }
.tyj-when { display: inline-block; padding: 0.15rem 0.55rem; border-radius: 999px; background: rgb(255 255 255 / 0.08); font-family: var(--font-display); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-sand); }
.tyj-step.is-done .tyj-when { background: rgb(34 197 94 / 0.18); color: #86efac; }
.tyj-txt h3 { margin-top: 0.45rem; font-family: var(--font-display); font-size: 1.02rem; font-weight: 800; color: #fff; }
.tyj-txt p { margin-top: 0.25rem; font-size: 0.875rem; line-height: 1.5; color: rgb(255 255 255 / 0.72); }
.tyj-help { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid rgb(255 255 255 / 0.12); }
.tyj-help-txt { font-size: 0.9rem; color: rgb(255 255 255 / 0.72); }
.tyj-help-txt strong { margin-right: 0.35rem; font-family: var(--font-display); font-weight: 800; color: #fff; }
.tyj-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tyj-links a { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.16);
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: #fff; transition: background-color .15s, transform .15s; }
.tyj-links a:hover { background: rgb(255 255 255 / 0.16); transform: translateY(-1px); }
.tyj-links .icon { width: 1.05rem; height: 1.05rem; color: var(--color-sand); flex-shrink: 0; }
.tyj-links a.is-wa { background: #25d366; border-color: #25d366; color: #06281b; }
.tyj-links a.is-wa .icon { color: #06281b; }
.tyj-links a.is-wa:hover { background: #1fbf5b; }
.ty-next .ty-more { margin-top: 1.5rem; }
/* Tablet: 2 x 2 grid, no horizontal line */
@media (max-width: 1023px) {
  .tyj-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
  .tyj-steps::before, .tyj-steps::after { display: none; }
  .tyj-step { display: flex; gap: 0.85rem; align-items: flex-start; }
  .tyj-txt { margin-top: 0; }
}
/* Phone: compact vertical timeline with a rail */
@media (max-width: 639px) {
  .ty-next { padding-top: 2rem; padding-bottom: 2.5rem; }
  .tyj { padding: 1.35rem 1.1rem 1.1rem; border-radius: 1.4rem; }
  .tyj-head { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
  .tyj-eyebrow { order: 0; }
  .tyj-steps { grid-template-columns: 1fr; gap: 0.9rem; margin-top: 1.2rem; }
  .tyj-steps::before { display: block; top: 1rem; bottom: 1rem; left: 1.2rem; right: auto; border-top: 0; border-left: 2px dashed rgb(255 255 255 / 0.22); }
  .tyj-node { width: 2.4rem; height: 2.4rem; flex-shrink: 0; }
  .tyj-node .icon { width: 1.05rem; height: 1.05rem; }
  .tyj-num { display: none; }
  .tyj-steps { gap: 0.8rem; }
  .tyj-when { padding: 0; background: none !important; letter-spacing: 0.08em; }
  .tyj-txt { padding-top: 0.1rem; }
  .tyj-txt h3 { margin-top: 0.1rem; font-size: 0.98rem; }
  .tyj-txt p { margin-top: 0.1rem; font-size: 0.85rem; line-height: 1.45; }
  .tyj-help-txt span { display: block; margin-top: 0.1rem; font-size: 0.8rem; }
  .tyj-help { margin-top: 1.2rem; padding-top: 1rem; }
  .tyj-links { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .tyj-links a { justify-content: center; padding: 0 0.6rem; }
  .tyj-links a:last-child { grid-column: 1 / -1; }
  .ty-next .ty-more { gap: 0.75rem 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .tyj-step.is-next .tyj-node { animation: none; } }

/* Required-field marker */
.req-star { margin-left: 0.15rem; color: #c2410c; font-weight: 800; }
