/* ==========================================================================
   components.css — Agent B2
   Gallery + lightbox · Guest-stories slider · About · CTA band + Contact +
   shared form controls · Footer · Dialogs (tour / enquiry) · Floating UI.
   Mobile-first. Breakpoints 600 / 900 / 1000 / 1200. Brand tokens only.
   Animations use transform/opacity only; no layout-affecting motion.
   ========================================================================== */

/* Keep the scrollbar gutter when a modal locks <body> so nothing jumps. */
html { scrollbar-gutter: stable; }

/* Filled brand glyph (WhatsApp) — the shared .ic class is stroke-based. */
.ic-wa { fill: currentColor; stroke: none; }

/* --------------------------------------------------------------------------
   1. GALLERY — CSS-columns masonry rendered by ui.js
   -------------------------------------------------------------------------- */
.gallery { background: var(--cream-100); overflow: hidden; }
.gallery-hint {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm);
  color: var(--ink-muted);
}
.gallery-hint .ic { width: 18px; height: 18px; color: var(--sunset-500); }
@media (min-width: 900px) { .gallery-hint { justify-self: end; } }

.gallery-grid { --gal-gap: 10px; columns: 2; column-gap: var(--gal-gap); }
@media (min-width: 600px)  { .gallery-grid { --gal-gap: 16px; } }
@media (min-width: 900px)  { .gallery-grid { --gal-gap: 20px; columns: 3; } }
@media (min-width: 1200px) { .gallery-grid { --gal-gap: 22px; columns: 4; } }

.gal-item {
  position: relative; display: block; width: 100%;
  margin: 0 0 var(--gal-gap);
  break-inside: avoid; -webkit-column-break-inside: avoid;
  border-radius: var(--r-md); overflow: hidden; isolation: isolate;
  background: var(--cream-300); color: var(--cream-100); text-align: left;
  /* staggered reveal — ui.js adds .is-in (items are rendered after main.js ran) */
  opacity: 0; transform: translateY(22px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.gal-item.is-in { opacity: 1; transform: translateZ(0); } /* keeps a compositing layer so corners clip the scaled image */
.gal-item img { width: 100%; height: auto; display: block; transition: transform var(--dur-slow) var(--ease-out); }
.gal-item:hover img, .gal-item:focus-visible img { transform: scale(1.05); }
.gal-cap {
  position: absolute; inset: auto 0 0 0; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 30px 14px 12px;
  background: linear-gradient(180deg, rgba(1,17,11,0) 0%, rgba(1,17,11,.8) 100%);
  font-family: var(--font-display); font-weight: 600; font-size: .82rem;
  transform: translateY(100%); transition: transform var(--dur) var(--ease-out);
}
.gal-cap .ic { width: 18px; height: 18px; flex: none; color: var(--gold-400); }
.gal-item:hover .gal-cap, .gal-item:focus-visible .gal-cap { transform: none; }
@media (hover: none) { .gal-cap { transform: none; } } /* touch: caption always shown */

/* Film tile (inline muted loop, played only while visible) */
.gal-film { aspect-ratio: 16 / 9; background: var(--forest-900); cursor: default; }
.gal-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gal-film .badge { position: absolute; top: 12px; left: 12px; z-index: 1; gap: 8px; }
.gal-film .badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cream-50);
  animation: film-dot 1.8s ease-out infinite;
}
@keyframes film-dot {
  0%   { box-shadow: 0 0 0 0 rgba(254,254,244,.6); }
  70%  { box-shadow: 0 0 0 6px rgba(254,254,244,0); }
  100% { box-shadow: 0 0 0 0 rgba(254,254,244,0); }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; overflow: hidden;
  background: rgba(1,17,11,.96); color: var(--cream-100);
}
.lightbox::backdrop { background: transparent; }
.lightbox[open] { animation: lb-in .32s var(--ease-out); }
.lightbox.is-closing { animation: lb-out .22s var(--ease-in-out) forwards; }
@keyframes lb-in { from { opacity: 0; } }
@keyframes lb-out { to { opacity: 0; } }
.lightbox-stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 76px 16px 118px; touch-action: pan-y; }
@media (min-width: 600px) { .lightbox-stage { padding: 80px 92px 96px; } }
.lightbox-figure { display: grid; place-items: center; width: 100%; height: 100%; }
.lightbox-img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  transition: opacity .22s ease, transform .4s var(--ease-out);
}
.lightbox-img.is-swapping { opacity: 0; transform: scale(.985); }
.lightbox-close { position: absolute; top: 16px; right: 16px; }
.lightbox-prev, .lightbox-next { position: absolute; bottom: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev { right: 74px; }
.lightbox-bar { position: absolute; left: 16px; right: 140px; bottom: 22px; display: grid; gap: 6px; }
.lightbox-caption { font-family: var(--font-accent); font-style: italic; font-size: 1.3rem; line-height: 1.2; color: var(--cream-100); }
.lightbox-count { font-family: var(--font-display); font-weight: 600; font-size: .78rem; letter-spacing: .14em; color: var(--gold-400); }
.lightbox-credit { font-size: .76rem; color: var(--on-dark-muted); }
.lightbox-credit a { color: var(--on-dark-soft); text-decoration: underline; text-underline-offset: 2px; }
.lightbox-credit a:hover { color: var(--gold-300); }
@media (min-width: 600px) {
  .lightbox-prev, .lightbox-next { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lightbox-prev { left: 22px; right: auto; }
  .lightbox-next { right: 22px; }
  .lightbox-bar { left: 92px; right: 92px; bottom: 30px; display: flex; align-items: baseline; gap: 18px; }
  .lightbox-caption { font-size: 1.5rem; }
}

/* --------------------------------------------------------------------------
   2. GUEST STORIES — centred-card slider with peeking neighbours (≥900)
   -------------------------------------------------------------------------- */
.reviews { overflow: hidden; }
.reviews-slider { position: relative; padding-block: 8px; }
.reviews-mark {
  position: absolute; top: -.32em; left: 50%; transform: translateX(-50%);
  font-family: var(--font-accent); font-size: clamp(220px, 32vw, 460px); line-height: 1;
  color: var(--gold-500); opacity: .08; pointer-events: none; user-select: none; z-index: 0;
}
.reviews-viewport { position: relative; z-index: 1; touch-action: pan-y; cursor: grab; }
.reviews-viewport:active { cursor: grabbing; }
.reviews-track { display: flex; gap: 20px; will-change: transform; transition: transform .7s var(--ease-out); }
@media (min-width: 900px) { .reviews-track { gap: 28px; } }
.rev-slide { flex: 0 0 100%; min-width: 0; }
@media (min-width: 900px) { .rev-slide { flex-basis: min(780px, 72%); } }
.rev-card {
  position: relative; height: 100%; padding: 30px 24px;
  border-radius: var(--r-xl); background: rgba(254,254,244,.06);
  border: 1px solid rgba(248,172,18,.2); backdrop-filter: blur(6px);
  transition: opacity .6s ease, transform .6s var(--ease-out);
}
@media (min-width: 600px) { .rev-card { padding: 40px; } }
.rev-slide:not(.is-active) .rev-card { opacity: .6; transform: scale(.94); }
.rev-stars { display: flex; gap: 4px; color: var(--gold-400); margin-bottom: 22px; }
.rev-stars svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.rev-quote {
  font-family: var(--font-accent); font-style: italic;
  font-size: clamp(1.25rem, 1.05rem + .8vw, 1.5rem); line-height: 1.45; color: var(--cream-100);
}
.rev-foot { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(254,254,244,.1); }
.rev-avatar {
  width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-sunset); color: var(--cream-50);
  font-family: var(--font-display); font-weight: 700; font-size: .85rem; letter-spacing: .02em;
}
.rev-name { display: block; font-family: var(--font-display); font-weight: 600; color: var(--cream-100); }
.rev-meta { display: block; font-size: var(--text-sm); color: var(--on-dark-muted); }
.reviews-controls { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; }
/* phones: dots on their own row, arrows paired in the centre (clear of the floating WhatsApp button) */
@media (max-width: 599px) {
  .reviews-controls { flex-wrap: wrap; gap: 12px 14px; }
  .reviews-dots { order: -1; flex-basis: 100%; display: flex; justify-content: center; }
}
.reviews-dots { display: flex; }
.rev-dot { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.rev-dot::before { content: ""; width: 10px; height: 10px; border-radius: var(--r-pill); background: rgba(254,254,244,.28); transition: width .3s var(--ease-out), background .3s; }
.rev-dot:hover::before { background: rgba(254,254,244,.55); }
.rev-dot[aria-current="true"]::before { width: 30px; background: var(--gold-500); }
.trust-line {
  margin-top: 44px; text-align: center;
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-xs);
  letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted);
}
.trust-line i { font-style: normal; color: var(--gold-500); margin: 0 12px; }

/* --------------------------------------------------------------------------
   3. ABOUT — split layout, offset-frame image stack, values, corporate card
   -------------------------------------------------------------------------- */
.about { background: var(--cream-100); overflow: hidden; }
.about-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1.1fr; gap: clamp(48px, 6vw, 96px); } }

.about-media { --off: 16px; position: relative; padding: 0 var(--off) var(--off) 0; }
@media (min-width: 600px) { .about-media { --off: 22px; } }
.about-media::before { /* orange offset frame */
  content: ""; position: absolute; inset: var(--off) 0 0 var(--off);
  border: 3px solid var(--sunset-500); border-radius: var(--r-xl);
}
.about-img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-md); }
.about-hq {
  position: absolute; z-index: 2; left: 14px; bottom: calc(var(--off) + 14px);
  display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px;
  max-width: calc(100% - 28px - var(--off));
  background: var(--cream-50); border-radius: var(--r-lg); box-shadow: var(--shadow-md);
}
.about-hq img { width: 52px; height: auto; flex: none; }
.about-hq b { display: block; font-family: var(--font-display); font-weight: 700; font-size: .92rem; color: var(--forest-900); }
.about-hq span { display: block; font-size: var(--text-xs); line-height: 1.4; color: var(--ink-muted); }
@media (min-width: 600px) {
  .about-hq { left: 22px; bottom: calc(var(--off) + 22px); gap: 14px; padding: 12px 20px 12px 12px; }
  .about-hq img { width: 64px; }
  .about-hq span { font-size: var(--text-sm); }
}

.about-copy .title { margin-bottom: 22px; }
.about-lead p { color: var(--ink-soft); }
.about-lead p + p { margin-top: 14px; }
.values { display: grid; grid-template-columns: 1fr; gap: 18px 28px; margin: 32px 0; }
@media (min-width: 600px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.value { display: flex; gap: 12px; align-items: flex-start; }
.value-icon { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--gold-100); color: var(--sunset-600); }
.value-icon .ic { width: 20px; height: 20px; }
.value h3 { font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: -.01em; color: var(--forest-900); }
.value p { margin-top: 2px; font-size: var(--text-sm); line-height: 1.5; color: var(--ink-muted); }
.about-quote {
  padding-left: 22px; border-left: 3px solid var(--gold-500);
  font-family: var(--font-accent); font-style: italic;
  font-size: clamp(1.3rem, 1.1rem + .7vw, 1.65rem); line-height: 1.35; color: var(--forest-900);
}

.corp-card {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: clamp(48px, 6vw, 80px); padding: 30px 24px;
  display: grid; gap: 22px;
  background: var(--forest-900); color: var(--gold-300); border-radius: var(--r-xl);
}
.corp-card::after { /* warm glow */
  content: ""; position: absolute; right: -90px; top: -90px; width: 280px; height: 280px; z-index: -1;
  border-radius: 50%; background: radial-gradient(circle, rgba(218,122,17,.38), transparent 66%); pointer-events: none;
}
@media (min-width: 900px) { .corp-card { grid-template-columns: 1fr auto; align-items: center; padding: 40px 48px; } }
.corp-card .eyebrow { color: var(--gold-400); margin-bottom: 10px; }
.corp-card h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); letter-spacing: -.02em; color: var(--cream-100); }
.corp-list { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: var(--text-sm); color: var(--gold-200); }
.corp-list li { display: inline-flex; align-items: center; gap: 8px; }
.corp-list .ic { width: 16px; height: 16px; color: var(--gold-500); }
.corp-card .btn { justify-self: start; }

/* --------------------------------------------------------------------------
   4. CTA BAND + CONTACT + shared form controls
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 70vh; display: grid; place-items: center; text-align: center;
  padding: clamp(80px, 12vw, 160px) 0; color: var(--cream-100);
}
.cta-bg { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; z-index: -2; will-change: transform; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(1,17,11,.62) 0%, rgba(1,17,11,.32) 42%, rgba(1,17,11,.72) 100%);
}
.cta-content { width: var(--container-narrow); margin-inline: auto; display: grid; justify-items: center; gap: 22px; }
.cta-content .eyebrow { margin-bottom: 0; }
.cta-title { font-family: var(--font-display); font-weight: 800; font-size: var(--text-hero); line-height: .98; letter-spacing: -.035em; color: var(--cream-100); }
.cta-title em { font-family: var(--font-accent); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--gold-400); }
.cta-lead { font-size: var(--text-lg); max-width: 56ch; color: var(--on-dark-soft); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 8px; }

.contact { background: var(--cream-100); }
.contact-grid { display: grid; gap: 36px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 5vw, 80px); align-items: start; } }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex; gap: 18px; align-items: flex-start; padding: 22px;
  background: var(--cream-50); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(218,122,17,.35); }
.contact-icon {
  width: 52px; height: 52px; flex: none; border-radius: 16px; display: grid; place-items: center;
  background: var(--gold-100); color: var(--sunset-600); transition: background var(--dur-fast), color var(--dur-fast);
}
.contact-icon .ic { width: 22px; height: 22px; }
.contact-card:hover .contact-icon { background: var(--grad-sunset); color: var(--cream-50); }
.contact-label { margin-bottom: 4px; font-family: var(--font-display); font-weight: 600; font-size: var(--text-xs); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--ink-muted); }
.contact-value { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--forest-900); overflow-wrap: anywhere; }
.contact-value a:hover, .contact-sub a:hover { color: var(--sunset-600); }
.contact-sub { margin-top: 3px; font-size: var(--text-sm); color: var(--ink-muted); overflow-wrap: anywhere; }
.social-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.social-row a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--line); color: var(--forest-900); transition: all var(--dur-fast) var(--ease-out);
}
.social-row a:hover { background: var(--forest-900); color: var(--gold-300); border-color: var(--forest-900); transform: translateY(-2px); }
.social-row .ic { width: 18px; height: 18px; }
.social-row.light a { border-color: rgba(254,254,244,.22); color: var(--cream-100); }
.social-row.light a:hover { background: var(--gold-500); color: var(--forest-950); border-color: var(--gold-500); }

.contact-form-card { padding: 26px 18px; background: var(--cream-50); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-md); }
@media (min-width: 600px) { .contact-form-card { padding: 40px; } }

/* Shared enquiry form controls (contact section + enquiry dialog) */
.form-grid { display: grid; gap: 18px; }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; min-width: 0; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.field > label, .field > legend {
  font-family: var(--font-display); font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft);
}
.field > legend { margin-bottom: 8px; padding: 0; }
.input {
  width: 100%; min-height: 52px; padding: 0 16px; appearance: none;
  background: var(--cream-50); border: 1.5px solid rgba(26,20,8,.16); border-radius: var(--r-md);
  color: var(--ink); font-size: 1rem; line-height: 1.4; outline: none;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
}
textarea.input { padding: 14px 16px; min-height: 140px; resize: vertical; line-height: 1.55; }
.input::placeholder { color: rgba(26,20,8,.4); }
.input:hover { border-color: rgba(26,20,8,.32); }
.input:focus, .input:focus-visible { border-color: var(--gold-500); box-shadow: var(--shadow-glow-gold); outline: none; }
.input:user-invalid { border-color: var(--ember-500); }
.select-wrap { position: relative; }
.select-wrap select { padding-right: 46px; cursor: pointer; text-overflow: ellipsis; }
.select-wrap .ic { position: absolute; right: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); pointer-events: none; color: var(--ink-muted); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; display: inline-flex; }
.seg input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.seg span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; cursor: pointer;
  border: 1.5px solid rgba(26,20,8,.16); border-radius: var(--r-pill); background: var(--cream-50);
  font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: var(--ink-soft);
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
}
.seg span:hover { border-color: var(--sunset-500); color: var(--sunset-600); }
.seg input:checked + span { background: var(--forest-900); color: var(--gold-300); border-color: var(--forest-900); }
.seg input:focus-visible + span { outline: 3px solid var(--gold-500); outline-offset: 3px; }
.form-submit { margin-top: 22px; }
.form-note { margin-top: 14px; text-align: center; font-size: var(--text-sm); line-height: 1.6; color: var(--ink-muted); }
.form-note a { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 600; color: var(--forest-500); text-decoration: underline; text-underline-offset: 3px; }
.form-note a:hover { color: var(--sunset-600); }
.form-note .ic { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   5. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative; overflow: hidden;
  padding: clamp(56px, 7vw, 96px) 0 28px;
  background: var(--forest-950); color: var(--on-dark-soft);
}
.site-footer::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-sunset); } /* gold line (::before is the grain) */
.newsletter {
  display: grid; gap: 22px; padding: 28px 22px; margin-bottom: clamp(48px, 6vw, 80px);
  background: rgba(254,254,244,.05); border: 1px solid rgba(248,172,18,.2); border-radius: var(--r-xl); backdrop-filter: blur(10px);
}
@media (min-width: 900px) { .newsletter { grid-template-columns: 1fr auto; align-items: center; padding: 36px 44px; } }
.newsletter .eyebrow { margin-bottom: 10px; }
.newsletter h2 { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); letter-spacing: -.02em; color: var(--cream-100); }
.newsletter p:not(.eyebrow) { margin-top: 6px; font-size: var(--text-sm); color: var(--on-dark-muted); }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 600px) { .newsletter-form { flex-direction: row; } .newsletter-form .input { width: 300px; } }
.newsletter-form .input { background: rgba(254,254,244,.06); border-color: rgba(254,254,244,.22); color: var(--cream-100); }
.newsletter-form .input::placeholder { color: rgba(254,254,244,.45); }
.newsletter-form .input:hover { border-color: rgba(254,254,244,.4); }

.footer-grid { display: grid; gap: 40px 32px; }
@media (min-width: 600px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr .9fr 1fr 1.2fr; gap: 40px; } }
.footer-brand img { width: 72px; height: auto; margin-bottom: 16px; }
.footer-wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: .06em; color: var(--cream-100); }
.footer-wordmark b { color: var(--ember-500); }
.footer-tagline { margin-top: 6px; font-family: var(--font-display); font-weight: 600; font-size: var(--text-xs); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--gold-400); }
.footer-desc { margin: 16px 0 18px; max-width: 34ch; font-size: var(--text-sm); color: var(--on-dark-soft); }
.footer-heading { margin-bottom: 18px; font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-100); }
.footer-links li + li { margin-top: 10px; }
.footer-links a { display: inline-block; font-size: .95rem; color: var(--on-dark-soft); transition: color var(--dur-fast), transform var(--dur-fast) var(--ease-out); }
.footer-links a:hover { color: var(--gold-400); transform: translateX(3px); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; overflow-wrap: anywhere; }
.footer-contact li + li { margin-top: 12px; }
.footer-contact .ic { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--gold-500); }
.footer-contact a:hover { color: var(--gold-400); }
.footer-wa { margin-top: 20px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line-dark);
  font-size: var(--text-sm); color: var(--on-dark-muted);
}
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.footer-legal a { color: var(--on-dark-soft); }
.footer-legal a[aria-disabled="true"] { cursor: default; opacity: .75; }
.footer-credits-link { color: var(--on-dark-soft); font-size: inherit; min-height: 32px; text-decoration: underline; text-decoration-color: rgba(248,172,18,.45); text-underline-offset: 3px; }
.footer-credits-link:hover { color: var(--gold-300); }
.footer-top { font-family: var(--font-display); font-weight: 600; color: var(--gold-400); }
.footer-top:hover { color: var(--gold-300); }

/* --------------------------------------------------------------------------
   6. DIALOGS — shared shell, tour detail, enquiry
   -------------------------------------------------------------------------- */
.tour-dialog, .inquiry-dialog {
  width: 100%; max-width: min(92vw, 920px); max-height: min(92vh, 900px);
  padding: 0; border: 0; overflow: hidden;
  background: var(--cream-50); color: var(--ink); border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
}
.inquiry-dialog { max-width: min(94vw, 1080px); }
.tour-dialog::backdrop, .inquiry-dialog::backdrop { background: rgba(1,17,11,.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tour-dialog[open], .inquiry-dialog[open] { animation: dlg-in .4s var(--ease-out); }
.tour-dialog[open]::backdrop, .inquiry-dialog[open]::backdrop { animation: bd-in .32s ease; }
.tour-dialog.is-closing, .inquiry-dialog.is-closing { animation: dlg-out .22s var(--ease-in-out) forwards; }
.tour-dialog.is-closing::backdrop, .inquiry-dialog.is-closing::backdrop { animation: bd-out .22s ease forwards; }
@keyframes dlg-in  { from { opacity: 0; transform: scale(.96) translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes dlg-out { to { opacity: 0; transform: scale(.97) translateY(8px); } }
@keyframes bd-in   { from { opacity: 0; } }
@keyframes bd-out  { to { opacity: 0; } }
/* Bottom-sheet presentation on phones */
@media (max-width: 599px) {
  .tour-dialog, .inquiry-dialog { max-width: 100%; max-height: 94vh; margin: auto 0 0; border-radius: var(--r-xl) var(--r-xl) 0 0; }
  @keyframes dlg-in { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
}

/* Credits */
.credits-dialog {
  width: 100%; max-width: min(92vw, 720px); max-height: min(88vh, 820px);
  padding: 0; border: 0; overflow: hidden;
  background: var(--cream-50); color: var(--ink); border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
}
.credits-dialog::backdrop { background: rgba(1,17,11,.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.credits-dialog[open] { animation: dlg-in .4s var(--ease-out); }
.credits-dialog.is-closing { animation: dlg-out .22s var(--ease-in-out) forwards; }
.credits-inner { position: relative; max-height: min(88vh, 820px); overflow-y: auto; overscroll-behavior: contain; padding: clamp(28px, 4vw, 44px); }
.credits-close { position: absolute; top: 14px; right: 14px; }
.credits-title { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); padding-right: 56px; }
.credits-lead { margin: 12px 0 22px; font-size: var(--text-sm); color: var(--ink-soft); max-width: 56ch; }
.credits-list { display: grid; gap: 2px; }
.credits-list li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); }
.credits-kind { font-family: var(--font-display); font-weight: 600; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sunset-600); }
.credits-body { display: grid; gap: 2px; min-width: 0; }
.credits-body b { font-family: var(--font-display); font-weight: 600; font-size: .95rem; line-height: 1.3; color: var(--forest-900); overflow-wrap: anywhere; }
.credits-body small { font-size: .82rem; color: var(--ink-muted); }
.credits-list a { color: inherit; text-decoration: underline; text-decoration-color: rgba(218,122,17,.45); text-underline-offset: 3px; }
.credits-list a:hover { color: var(--sunset-600); }
@media (max-width: 599px) { .credits-dialog { max-width: 100%; max-height: 90vh; margin: auto 0 0; border-radius: var(--r-xl) var(--r-xl) 0 0; } }

/* Tour detail */
.td-scroll { max-height: min(92vh, 900px); overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 599px) { .td-scroll { max-height: 94vh; } }
.td-close { position: absolute; top: 14px; right: 14px; z-index: 5; }
.td-hero { position: relative; aspect-ratio: 21 / 9; min-height: 200px; overflow: hidden; background: var(--forest-900); }
.td-hero img { width: 100%; height: 100%; object-fit: cover; }
.td-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,17,11,.12), rgba(1,17,11,.55)); }
.td-badges { position: absolute; left: 18px; bottom: 16px; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; }
.td-body { padding: 26px 20px 22px; }
@media (min-width: 600px) { .td-body { padding: 34px 44px 28px; } .td-badges { left: 28px; bottom: 22px; } }
.td-route { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: var(--text-xs); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--sunset-700); }
.td-route .ic { width: 16px; height: 16px; flex: none; }
.td-title { margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); line-height: 1.08; letter-spacing: -.025em; color: var(--forest-900); }
.td-tagline { margin-top: 8px; font-family: var(--font-accent); font-style: italic; font-size: 1.35rem; line-height: 1.3; color: var(--sunset-500); }
.td-summary { margin-top: 16px; color: var(--ink-soft); }
.td-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; margin-top: 24px; padding: 18px; background: var(--cream-200); border-radius: var(--r-lg); }
@media (min-width: 600px) { .td-facts { grid-template-columns: repeat(4, 1fr); padding: 22px 24px; } }
.td-facts dt { font-family: var(--font-display); font-weight: 600; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.td-facts dd { margin: 4px 0 0; font-family: var(--font-display); font-weight: 600; font-size: .9rem; line-height: 1.35; color: var(--forest-900); }
.td-h { margin: 28px 0 12px; font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--forest-900); }
.td-list { display: grid; gap: 10px; }
@media (min-width: 600px) { .td-list { grid-template-columns: 1fr 1fr; gap: 10px 24px; } }
.td-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; line-height: 1.5; color: var(--ink-soft); }
.td-check { width: 22px; height: 22px; flex: none; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-100); color: var(--forest-500); }
.td-check .ic { width: 12px; height: 12px; stroke-width: 3; }
.td-list-muted li { color: var(--ink-muted); }
.td-list-muted .td-check { background: var(--cream-300); }
.td-foot {
  position: sticky; bottom: 0; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px;
  padding: 14px 20px; background: rgba(255,254,248,.92); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
}
@media (min-width: 600px) { .td-foot { padding: 16px 44px; } }
.td-price { font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--forest-900); }
.td-price small { display: block; font-family: var(--font-body); font-weight: 400; font-size: var(--text-xs); color: var(--ink-muted); }
.td-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
@media (max-width: 599px) { .td-price small { display: none; } .td-actions .btn { min-height: 46px; padding-inline: 18px; font-size: .85rem; } }

/* Enquiry dialog */
.inq-inner { display: grid; max-height: min(92vh, 900px); }
@media (min-width: 900px) { .inq-inner { grid-template-columns: 5fr 7fr; } }
.inq-media { display: none; position: relative; overflow: hidden; background: var(--forest-900); color: var(--cream-100); }
@media (min-width: 900px) { .inq-media { display: block; } }
.inq-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.inq-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,17,11,.2) 0%, rgba(1,17,11,.35) 45%, rgba(1,17,11,.88) 100%); }
.inq-media-copy { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 36px 34px; }
.inq-quote { font-family: var(--font-accent); font-style: italic; font-size: 1.7rem; line-height: 1.22; color: var(--cream-100); }
.inq-points { display: grid; gap: 10px; margin-top: 22px; font-size: var(--text-sm); color: var(--on-dark-soft); }
.inq-points li { display: flex; gap: 10px; align-items: center; }
.inq-points .ic { width: 16px; height: 16px; flex: none; color: var(--gold-400); }
.inq-pane { position: relative; max-height: min(92vh, 900px); padding: 26px 18px 24px; overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 599px) { .inq-pane { max-height: 94vh; } }
@media (min-width: 600px) { .inq-pane { padding: 40px 44px; } }
.inq-close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.inq-pane .eyebrow { margin-bottom: 12px; }
.inq-title { margin-bottom: 8px; font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); padding-right: 56px; }
.inq-lead { margin-bottom: 24px; font-size: var(--text-sm); color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   7. FLOATING CLUSTER — WhatsApp + back-to-top
   -------------------------------------------------------------------------- */
.float-cluster {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 900;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
@media (min-width: 600px) { .float-cluster { right: 26px; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); } }
.float-wa {
  position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--forest-500); color: var(--gold-300); box-shadow: var(--shadow-md);
  transition: transform var(--dur-fast) var(--ease-spring), background var(--dur-fast);
}
.float-wa:hover { transform: translateY(-3px) scale(1.04); background: var(--forest-400); }
.float-wa svg { position: relative; z-index: 1; width: 28px; height: 28px; fill: currentColor; }
.float-wa::before { /* pulsing gold ring */
  content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--gold-500); opacity: 0;
  animation: wa-pulse 2.6s var(--ease-out) infinite;
}
@keyframes wa-pulse { 0% { transform: scale(.92); opacity: .6; } 70% { transform: scale(1.4); opacity: 0; } 100% { opacity: 0; } }
.float-tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%);
  padding: 8px 12px; white-space: nowrap; border-radius: var(--r-sm);
  background: var(--forest-950); color: var(--cream-100); box-shadow: var(--shadow-md);
  font-family: var(--font-display); font-weight: 600; font-size: .78rem;
  opacity: 0; pointer-events: none; transition: opacity var(--dur-fast), transform var(--dur-fast) var(--ease-out);
}
.float-wa:hover .float-tip, .float-wa:focus-visible .float-tip { opacity: 1; transform: translate(0, -50%); }
.float-top { opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; box-shadow: var(--shadow-md); transition: opacity .3s ease, transform .3s var(--ease-out), background var(--dur-fast), color var(--dur-fast); }
.float-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 599px) { .float-top { display: none; } }
.float-wa { transition: transform var(--dur-fast) var(--ease-spring), background var(--dur-fast), opacity .35s ease, visibility 0s linear 0s; }
.float-cluster.is-over-hero .float-wa { opacity: 0; visibility: hidden; transform: translateY(16px) scale(.85); pointer-events: none; transition: opacity .35s ease, transform .35s var(--ease-out), visibility 0s linear .35s; }
