/* Faridathailandtravel: warm cream, navy and gold
   Every section must hold up with very short or very long text and must not overflow at 360px
   No backdrop-filter / transform / filter on .site-head (the fixed mobile menu lives inside it) */

:root {
  --accent: #1d4f7c;
  --navy: #163c5f;
  --navy-deep: #112f4b;
  --gold: #c8962e;
  --gold-deep: #a97a1c;
  --gold-soft: #f3e3bd;
  --green: #5f7f4e;
  --sage: #e7ead9;
  --accent-ink: #ffffff;
  --ink: #1b2b3f;
  --muted: #5b6676;
  --paper: #fbf6ec;
  --paper-2: #f4ecdc;
  --card: #fffdf8;
  --line: #e6dcc7;
  --radius: 16px;
  --font: 'Anuphan', 'Noto Sans Thai', -apple-system, 'Segoe UI', sans-serif;
  --display: var(--font);
  --gap: clamp(56px, 8vw, 104px);
  --pad: clamp(16px, 4vw, 32px);
  --max: 1200px;
  --shadow: 0 1px 2px rgba(22, 40, 60, .06), 0 8px 24px -12px rgba(22, 40, 60, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper);
  font-size: 17px; line-height: 1.7; -webkit-text-size-adjust: 100%; overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
svg.ico-solid { fill: currentColor; stroke: none; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.4; margin: 0; text-wrap: balance; font-weight: 700; color: var(--navy-deep); }
p { margin: 0 0 1em; }
small { font-size: max(14px, .85em); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.sec { padding-block: var(--gap); }
.center { text-align: center; margin-top: 28px; }
.note { color: var(--muted); font-size: 15px; margin-top: 14px; }

.eyebrow {
  display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: .02em;
  color: var(--green); background: var(--sage); padding: 4px 14px; border-radius: 999px; margin-bottom: 14px;
}
.eyebrow-light { background: rgba(255, 255, 255, .16); color: #fff; }

.sec-head { max-width: 64ch; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head h2 { font-size: clamp(26px, 3.6vw, 40px); position: relative; padding-bottom: 14px; }
.sec-head h2::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 72px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.sec-head p { color: var(--muted); margin: 14px 0 0; font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; font-size: 16px; font-weight: 600; line-height: 1.4;
  background: var(--accent); color: var(--accent-ink); text-decoration: none; text-align: center;
  border: 1.5px solid var(--accent); min-height: 48px; cursor: pointer; font-family: inherit;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn:active { transform: translateY(1px); }
.btn-gold { background: linear-gradient(180deg, #d6a640, var(--gold-deep)); border-color: var(--gold-deep); color: #fff; }
.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-glass:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-sm { padding: 8px 18px; min-height: 44px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-wa { background: #1f9d55; border-color: #1f9d55; }
.btn-wa:hover { background: #17824a; border-color: #17824a; }
.btn-line { background: #06a845; border-color: #06a845; }
.btn-line:hover { background: #058a39; border-color: #058a39; }

/* ---------- Top bar and header ---------- */
.topbar { background: var(--navy-deep); color: #e8eef5; font-size: 14px; }
.topbar .wrap { display: flex; gap: 22px; align-items: center; justify-content: flex-end; min-height: 38px; flex-wrap: wrap; }
.topbar a { min-height: 44px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.topbar svg { width: 16px; height: 16px; color: var(--gold-soft); }
@media (max-width: 767px) { .topbar .wrap > span:first-child, .topbar .tb-mail { display: none; } .topbar .wrap { justify-content: center; } }

.site-head { position: sticky; top: 0; z-index: 50; background: rgba(251, 246, 236, .97); border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease; }
.site-head.scrolled { box-shadow: 0 6px 20px -14px rgba(17, 47, 75, .45); border-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; margin-right: auto; }
.logo img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.logo span { display: grid; min-width: 0; }
.logo b { font-size: 20px; color: var(--navy-deep); line-height: 1.4; overflow-wrap: anywhere; }
.logo small { font-size: 14px; color: var(--gold-deep); line-height: 1.4; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > a:not(.btn) {
  text-decoration: none; padding: 8px 12px; font-weight: 500; font-size: 16px; position: relative; color: var(--ink);
}
.site-nav > a:not(.btn)::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.site-nav > a:not(.btn):hover::after, .site-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav > a[aria-current="page"] { color: var(--gold-deep); }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; color: var(--navy-deep); cursor: pointer; min-width: 48px; min-height: 48px; }
.nav-toggle svg { width: 28px; height: 28px; }
.nav-toggle svg:last-child { display: none; }

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; position: relative; z-index: 61; }
  body.nav-open .nav-toggle svg:first-child { display: none; }
  body.nav-open .nav-toggle svg:last-child { display: block; }
  .site-nav {
    position: fixed; inset: 0; z-index: 60; background: var(--paper);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 96px var(--pad) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-nav { opacity: 1; visibility: visible; }
  .site-nav > a:not(.btn) { font-size: 22px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .site-nav > a:not(.btn)::after { display: none; }
  .nav-cta { margin: 24px 0 0; }
  .logo img { width: 46px; height: 46px; }
  .logo b { font-size: 17px; }
  .logo small { display: none; }
}

/* ---------- Banner ---------- */
.hero { position: relative; overflow: hidden; }
.hero-track { display: flex; }
.hero-slide { position: relative; flex: 0 0 100%; min-width: 0; }

/* Split layout: text on cream, photo on the other half, no text over the photo */
.hero-split { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.hero-split .hero-slide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: stretch; }
.hero-split .hero-body {
  padding: clamp(36px, 6vw, 80px) clamp(16px, 4vw, 48px) clamp(36px, 6vw, 80px) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  align-self: center; color: var(--ink);
}
.hero-split .eyebrow-light { background: var(--sage); color: var(--green); }
/* Banner images show in full (contain): 4:3 transparent polaroid collages that blend into the cream
   Other ratios still show in full, so heads are never cut off */
.hero-split .hero-pic { position: relative; aspect-ratio: 4 / 3; align-self: center; margin-block: clamp(12px, 3vw, 36px); }
.hero-float { position: absolute; inset: 0; animation: bob 7s ease-in-out infinite; }
.hero-split .hero-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-.4deg); } }

/* Active slide: image floats in, text rises line by line */
.hero-slide .hero-body > * { opacity: 0; translate: 0 18px; }
.hero-slide.is-on .hero-body > * { animation: rise .7s var(--ease) forwards; }
.hero-slide.is-on .hero-body > :nth-child(2) { animation-delay: .08s; }
.hero-slide.is-on .hero-body > :nth-child(3) { animation-delay: .16s; }
.hero-slide.is-on .hero-body > :nth-child(4) { animation-delay: .24s; }
.hero-split .hero-slide .hero-pic img { opacity: 0; scale: .94; transition: opacity .8s ease .1s, scale 1s var(--ease) .1s; }
.hero-split .hero-slide.is-on .hero-pic img { opacity: 1; scale: 1; }
@keyframes rise { to { opacity: 1; translate: 0 0; } }

/* Soft floating orbs behind the banner */
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; animation: drift 14s ease-in-out infinite; }
.hero-orb.o1 { width: 420px; height: 420px; left: -140px; top: -120px; background: radial-gradient(circle, rgba(200, 150, 46, .18), transparent 70%); }
.hero-orb.o2 { width: 360px; height: 360px; left: 38%; bottom: -160px; background: radial-gradient(circle, rgba(95, 127, 78, .16), transparent 70%); animation-delay: -6s; }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(40px, 30px); } }
.hero-track { position: relative; z-index: 1; }

/* Slide timer bar */
.hero-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 3; background: rgba(200, 150, 46, .15); }
.hero-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), #e6c27a); transform-origin: left; animation: fill var(--dur, 6s) linear infinite; }
.hero.paused .hero-progress { display: none; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Tour name marquee under the banner */
.marquee { background: var(--navy-deep); color: #e8eef5; overflow: hidden; border-block: 1px solid rgba(200, 150, 46, .35); }
.marquee-track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { list-style: none; display: flex; margin: 0; padding: 0; }
.marquee li a, .marquee li span { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; min-height: 48px; font-size: 15.5px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.marquee li a:hover { color: var(--gold-soft); }
.marquee svg { width: 16px; height: 16px; color: var(--gold); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Scroll progress bar */
.scroll-bar { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 90; background: linear-gradient(90deg, var(--gold), var(--accent)); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.hero-title { font-size: clamp(32px, 5vw, 60px); line-height: 1.4; margin-bottom: 16px; color: var(--navy-deep); }
.hero-body p { font-size: clamp(17px, 1.7vw, 20px); margin: 0 0 26px; max-width: 44ch; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-split .btn-glass { background: transparent; color: var(--navy); border-color: var(--navy); }
.hero-split .btn-glass:hover { background: var(--navy); color: #fff; }

.hero-full .hero-slide, .hero-compact .hero-slide { display: grid; grid-template-columns: 1fr; align-content: end; }
.hero-full .hero-slide { min-height: clamp(460px, 70vh, 700px); }
.hero-compact .hero-slide { min-height: clamp(260px, 36vh, 380px); }
.hero-full picture img, .hero-compact picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero-full .hero-slide::after, .hero-compact .hero-slide::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 47, 75, .1), rgba(17, 47, 75, .72));
}
.hero-full .hero-body, .hero-compact .hero-body { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; padding: 48px var(--pad); color: #fff; }
.hero-full .hero-title, .hero-compact .hero-title { color: #fff; }
.hero-full .hero-body p, .hero-compact .hero-body p { color: rgba(255, 255, 255, .92); }

.hero-nav { position: absolute; z-index: 3; right: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); bottom: 20px; display: flex; align-items: center; gap: 10px; }
.hero-split .hero-nav { right: 20px; }
.hero-arrow { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--navy); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); }
.hero-arrow[data-step="-1"] svg { transform: rotate(180deg); }
.hero-dots { display: flex; gap: 6px; }
.hero-dots { gap: 0; }
.hero-dots button { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hero-dots button::before { content: ''; width: 10px; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .8); box-shadow: 0 0 0 1px rgba(17,47,75,.15); transition: width .3s var(--ease), background-color .3s; }
.hero-dots button[aria-current="true"]::before { width: 28px; background: var(--gold); }

@media (max-width: 860px) {
  .hero-split .hero-slide { grid-template-columns: 1fr; }
  .hero-split .hero-pic { order: -1; margin: 8px var(--pad) 0; }
  .hero-split .hero-body { padding: 14px var(--pad) 72px; }
  .hero-split .hero-nav { right: auto; left: 50%; translate: -50% 0; bottom: 16px; }
  .hero-split .hero-arrow { display: none; }
  .hero-split .hero-dots button::before { background: #cdbf9f; }
  .hero-split .hero-dots button[aria-current="true"]::before { background: var(--gold); }
}

/* ---------- Features, trust bar and steps ---------- */
.feat { padding-block: clamp(40px, 6vw, 72px); }
.features-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 480px) { .features-grid { grid-template-columns: repeat(min(var(--cols), 3), minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 20px; } }
.feature { display: flex; flex-direction: column; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; }
.feature h3 { font-size: 18px; }
.feature p { margin: 6px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.feature-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-deep); }
.feature-icon svg { width: 24px; height: 24px; }
/* Trust bar under the banner: the first features section, with no heading */
.feat:not(:has(.sec-head)) { background: var(--sage); padding-block: 22px; }
.feat:not(:has(.sec-head)) .feature { background: transparent; border: 0; padding: 4px; flex-direction: row; align-items: center; }
.feat:not(:has(.sec-head)) .feature-icon { background: #fff; color: var(--navy); width: 44px; height: 44px; }
.feat:not(:has(.sec-head)) h3 { font-size: 16.5px; color: var(--navy-deep); }
.feat:not(:has(.sec-head)) .feature p { font-size: 14.5px; margin-top: 2px; }
@media (max-width: 479px) { .feat:not(:has(.sec-head)) .feature { flex-direction: column; align-items: flex-start; } }
.feat-steps .feature { background: var(--card); padding-top: 24px; }
.step-no { position: absolute; top: 14px; right: 18px; font-size: 30px; font-weight: 700; color: var(--gold-soft); line-height: 1.4; }
.feat-steps .feature-icon { background: var(--navy); color: #fff; border-radius: 50%; }

/* ---------- About, featured package and guide ---------- */
.about { display: grid; gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (min-width: 860px) {
  .about { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .about.pic-right .about-pic { order: 2; }
  .about.pic-tall { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
}
.about-pic { margin: 0; }
.about-pic img { width: 100%; border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow); }
.about.pic-tall .about-pic img { max-height: 640px; width: auto; margin-inline: auto; }
.about-text h2 { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 18px; }
.about-text p { color: var(--muted); }
.about-text .btn { margin-top: 8px; }
.about-sec + .about-sec { background: var(--paper-2); }

/* ---------- Tour cards ---------- */
.tours-sec { background: var(--paper); }
.cards { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 559px) { .cards { grid-template-columns: 1fr; gap: 16px; } }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
/* No orphan cards: 4 cards = 4 columns; 5 cards = 3 on top and 2 centred below (equal image sizes) */
@media (min-width: 1024px) {
  .cards:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .cards:has(> :nth-child(5):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cards:has(> :nth-child(5):last-child) > * { grid-column: span 2; }
  .cards:has(> :nth-child(5):last-child) > :nth-child(4) { grid-column: 2 / span 2; }
}
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px); overflow: hidden;
  display: flex; flex-direction: column;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition: transform .25s var(--ease), box-shadow .25s ease;
}
@media (hover: hover) { .card:hover { --lift: -4px; box-shadow: 0 2px 4px rgba(22, 40, 60, .06), 0 22px 40px -18px rgba(22, 40, 60, .35); } }
.card[hidden] { display: none; }
/* Card images show in full (contain): most tour photos are portrait 3:4, so the frame is 3:4
   Other ratios fill the edges with a blurred copy, so people stay fully visible */
.card-pic { display: block; position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper-2); isolation: isolate; }
.card-pic::before { content: ''; position: absolute; inset: -24px; background: var(--bg) center / cover no-repeat; filter: blur(22px) saturate(1.1); opacity: .75; z-index: -1; }
.card-pic img { position: relative; width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.card-pic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%); translate: -120% 0; transition: translate .9s var(--ease); pointer-events: none; }
@media (hover: hover) { .card:hover .card-pic img { transform: scale(1.03); } .card:hover .card-pic::after { translate: 120% 0; } }
.tag { position: absolute; left: 12px; top: 12px; background: rgba(255, 253, 248, .94); color: var(--navy); font-size: 14px; font-weight: 600; padding: 3px 12px; border-radius: 99px; }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h2, .card-body h3, .card-body h4 { font-size: 19px; line-height: 1.4; }
.card-body h2 a, .card-body h3 a, .card-body h4 a { text-decoration: none; display: block; padding-block: 10px; margin-block: -10px; }
.card-body h2 a:hover, .card-body h3 a:hover, .card-body h4 a:hover { color: var(--gold-deep); }
.card-body p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.card-meta { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 4px; font-size: 14.5px; color: var(--muted); }
.card-meta li { display: flex; gap: 6px; align-items: flex-start; }
.card-meta svg { width: 16px; height: 16px; margin-top: 4px; color: var(--gold-deep); }
.card-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-top: 1px dashed var(--line); }
.card-price { font-size: 22px; font-weight: 700; color: var(--navy-deep); line-height: 1.4; display: grid; }
.card-price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.card-price s, .book-price s, .pt-price s { color: var(--muted); font-weight: 400; font-size: 14px; }
.full { color: #b4472f; font-weight: 600; font-style: normal; font-size: 16px; }

/* Search and filters */
.filter { display: grid; gap: 14px; margin-bottom: 28px; }
.search { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 18px; max-width: 520px; }
.search:focus-within { border-color: var(--accent); }
.search svg { color: var(--muted); }
.search input { border: 0; background: none; font: inherit; font-size: 16px; padding: 10px 0; width: 100%; outline: none; color: var(--ink); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font: inherit; font-size: 15px; padding: 8px 18px; min-height: 48px; border-radius: 99px; border: 1.5px solid var(--navy); background: transparent; color: var(--navy); cursor: pointer; transition: background-color .2s, color .2s; }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; }
.filter-empty { color: var(--muted); margin: 0; }

/* Price list */
.price-sec { background: var(--paper-2); }
.price-table { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pt-row { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 20px; border-top: 1px solid var(--line); }
.pt-head { border-top: 0; background: var(--navy); color: #fff; font-weight: 600; font-size: 15px; padding-block: 12px; }
.pt-name { display: grid; }
.pt-name small { color: var(--muted); font-size: 14px; line-height: 1.5; }
.pt-price { font-weight: 700; color: var(--navy-deep); font-size: 18px; }
.pt-dur { color: var(--muted); font-size: 15px; }
@media (max-width: 719px) {
  .pt-head { display: none; }
  .pt-row { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .pt-name { grid-column: 1 / -1; }
  .pt-row > span:last-child { grid-column: 2; grid-row: 2 / 4; align-self: center; }
}

/* ---------- Gallery on navy: masonry with true ratios, no cropping ---------- */
.gal-sec { background: var(--navy-deep); color: #fff; }
.gal-sec .sec-head h2 { color: #fff; }
.gal-sec .sec-head p { color: #c9d6e3; }
.gal-sec .eyebrow { background: rgba(200, 150, 46, .2); color: var(--gold-soft); }
.gal { columns: 2; column-gap: 10px; }
@media (min-width: 480px) { .gal { columns: 3; } }
@media (min-width: 1024px) { .gal { columns: var(--cols); column-gap: 16px; } }
.gal-item { break-inside: avoid; margin: 0 0 10px; position: relative; }
@media (min-width: 1024px) { .gal-item { margin-bottom: 16px; } }
.gal-item a { display: block; border-radius: 12px; overflow: hidden; }
.gal-item img, .gal-item video { width: 100%; border-radius: 12px; transition: transform .5s var(--ease); }
@media (hover: hover) { .gal-item a:hover img { transform: scale(1.03); } }
.gal-item figcaption { position: absolute; left: 8px; right: 8px; bottom: 8px; pointer-events: none; display: grid; }
.gal-item figcaption b { justify-self: start; background: rgba(17, 47, 75, .82); color: #fff; font-size: 14px; font-weight: 500; padding: 3px 10px; border-radius: 99px; line-height: 1.5; }
.gal-item figcaption span { display: none; }

/* ---------- Reviews ---------- */
.quotes { display: grid; gap: 16px; }
@media (min-width: 768px) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.quote { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.stars { display: flex; gap: 2px; color: var(--gold); }
.stars svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.quote p { margin: 0; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote figcaption > span { display: grid; }
.quote figcaption span span { color: var(--muted); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 17.5px; display: flex; justify-content: space-between; gap: 16px; align-items: center; color: var(--navy-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 28px; height: 28px; border-radius: 50%; background: var(--gold-soft); position: relative; flex: none; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--gold-deep); transition: transform .25s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq-a { margin: 0 0 18px; color: var(--muted); }

/* ---------- Booking and promotion band ---------- */
.cta-band { padding-block: clamp(36px, 6vw, 64px); }
.cta-dark { background: linear-gradient(120deg, var(--navy-deep), var(--accent)); color: #fff; }
.cta-soft { background: var(--gold-soft); }
.cta-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-inner h2 { flex: 1 1 320px; font-size: clamp(22px, 3vw, 32px); }
.cta-dark h2 { color: #fff; }
.cta-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: var(--gold-soft); }
.cta-soft .cta-icon { background: #fff; color: var(--gold-deep); }
.cta-icon svg { width: 28px; height: 28px; }

/* ---------- Contact and booking form ---------- */
.contact-sec { background: var(--navy); color: #eaf0f6; }
.contact-sec .sec-head h2 { color: #fff; }
.contact-sec .sec-head p, .contact-note { color: #c9d6e3; }
.contact-sec .eyebrow { background: rgba(200, 150, 46, .2); color: var(--gold-soft); }
.contact { display: grid; gap: 32px; }
@media (min-width: 900px) { .contact { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; } }
.contact-list, .hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list li > svg { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--gold-soft); }
.contact-list span { display: grid; overflow-wrap: anywhere; }
.contact-list small { color: #a9bbcd; font-size: 14px; }
.contact-list a { color: #fff; text-decoration: none; font-weight: 600; display: inline-block; padding-block: 8px; margin-block: -4px; }
.contact-list a:hover { text-decoration: underline; }
.hours { margin-top: 20px; gap: 4px; font-size: 15px; }
.hours li { display: flex; justify-content: space-between; max-width: 320px; }
.lead { background: var(--card); color: var(--ink); border-radius: calc(var(--radius) + 4px); padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .5); }
.lead h3 { font-size: 22px; }
.lead label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 6px; color: var(--navy-deep); }
.lead input, .lead textarea, .lead select {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); min-height: 48px;
}
.lead input:focus, .lead textarea:focus, .lead select:focus { border-color: var(--accent); outline: none; }
.lead textarea { min-height: 110px; resize: vertical; }
.row2 { display: grid; gap: 14px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; }
.msg { margin: 0; font-size: 15px; }
.msg.ok { color: #1f7a45; }
.msg.bad { color: #b4472f; }
.map-wrap { margin-top: 28px; }
.map { width: 100%; height: 340px; border: 0; border-radius: var(--radius); }

/* ---------- Free text ---------- */
.rich { max-width: 760px; }
.rich-wide { max-width: none; }
.rich h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 16px; }

/* ---------- Sub-page header ---------- */
.page-head { background: linear-gradient(180deg, var(--paper-2), var(--paper)); padding-block: clamp(40px, 7vw, 80px) clamp(16px, 3vw, 28px); }
.page-head h1 { font-size: clamp(32px, 5vw, 54px); }
.page-head p { color: var(--muted); max-width: 60ch; margin: 12px 0 0; font-size: 18px; }
.page-head + .sec { padding-top: clamp(28px, 4vw, 48px); }

/* ---------- Tour detail page ---------- */
.tour { padding-block: 24px var(--gap); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14.5px; color: var(--muted); margin-bottom: 20px; }
.crumbs a { text-decoration: none; color: var(--accent); }
.tour-grid { display: grid; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (min-width: 900px) { .tour-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } .tour-info { position: sticky; top: 96px; } }
.tour-pics { display: grid; gap: 10px; }
.tour-pics.multi { grid-template-columns: 1fr 1fr; }
.tour-pics.multi a:first-child { grid-column: 1 / -1; }
.tour-pics img { width: 100%; border-radius: var(--radius); }
.tour-poster { margin: 20px 0 0; }
.tour-poster figcaption { font-size: 14.5px; color: var(--muted); margin-bottom: 8px; }
.tour-poster img { width: 100%; max-width: 560px; border-radius: var(--radius); box-shadow: var(--shadow); }
.tour-info h1 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 12px; }
.lead-text { color: var(--muted); font-size: 18px; }
.book-box { background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 22px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.book-price { display: grid; }
.book-price small { color: var(--muted); font-size: 14px; }
.book-price b { font-size: 34px; color: var(--navy-deep); line-height: 1.4; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; }
.facts svg { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--gold-soft); color: var(--gold-deep); }
.facts span { display: grid; line-height: 1.5; }
.facts small { color: var(--muted); font-size: 14px; }
.opts ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.opts li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; background: var(--paper-2); border-radius: 10px; }
.opts em { font-style: normal; font-weight: 700; }
.book-btns { display: grid; gap: 10px; }
.book-note { margin: 0; color: var(--muted); font-size: 14.5px; }
.tour-desc { max-width: 780px; margin-top: clamp(32px, 5vw, 56px); }
.tour-desc h2, .tour-more h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 16px; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; }
.ticks svg { color: var(--green); margin-top: 4px; }
.tour-more { margin-top: clamp(40px, 6vw, 72px); }

/* ---------- Articles ---------- */
.a-wrap { max-width: 780px; }
.a-wrap h1 { font-size: clamp(28px, 4.5vw, 44px); margin-bottom: 10px; }
.a-meta { color: var(--muted); font-size: 15px; }
.a-cover { margin: 20px 0; }
.a-cover img { border-radius: var(--radius); width: 100%; }
.a-lead { font-size: 19px; color: var(--navy); }
.a-toc { background: var(--paper-2); border-radius: var(--radius); padding: 16px 22px; margin: 20px 0; }
.a-body h2 { font-size: 26px; margin: 34px 0 12px; }
.a-body h3 { font-size: 21px; margin: 26px 0 10px; }
.a-fig { margin: 24px 0; }
.a-fig img { border-radius: var(--radius); }
.a-fig figcaption { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
blockquote { margin: 24px 0; padding: 4px 20px; border-left: 4px solid var(--gold); color: var(--navy); }
.a-cta { background: var(--gold-soft); border-radius: var(--radius); padding: 22px; margin: 28px 0; }
.a-embed { margin: 32px 0; }
.a-embed h3 { margin-bottom: 14px; }

/* ---------- Footer ---------- */
.foot { background: var(--navy-deep); color: #d5dfe9; padding: clamp(48px, 7vw, 80px) 0 calc(28px + 76px); font-size: 15.5px; }
@media (min-width: 1024px) { .foot { padding-bottom: 28px; } }
.foot .wrap { display: grid; gap: 32px; }
@media (min-width: 860px) { .foot .wrap { grid-template-columns: 1.3fr .7fr 1fr; } }
.foot h3 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.foot-brand img { width: 72px; height: 72px; border-radius: 50%; margin-bottom: 12px; }
.foot-brand b { color: #fff; font-size: 20px; display: block; margin-bottom: 8px; }
.foot-brand p { color: #b8c7d6; }
.foot-nav { display: grid; gap: 0; }
.foot-nav a { min-height: 44px; display: flex; align-items: center; }
.foot-contact a { display: inline-block; padding-block: 10px; margin-block: -10px; }
.crumbs a { display: inline-block; min-width: 44px; text-align: center; padding-block: 10px; margin-block: -10px; }
.foot-nav a, .foot-contact a { text-decoration: none; color: #d5dfe9; }
.foot-nav a:hover, .foot-contact a:hover { color: var(--gold-soft); }
.foot-contact { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.foot-contact svg { color: var(--gold-soft); width: 18px; height: 18px; margin-top: 4px; }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; }
.social a:hover { background: var(--gold); }
.copy { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; color: #93a6ba; }

/* Floating buttons on mobile */
.float-contact { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(251, 246, 236, .97); border-top: 1px solid var(--line); }
.fl { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 999px; text-decoration: none; font-weight: 600; color: #fff; }
.fl-wa { background: #1f9d55; }
.fl-tel { background: var(--navy); }
@media (min-width: 1024px) { .float-contact { display: none; } }
body.nav-open .float-contact { display: none; }

/* Full-size image viewer */
dialog.light { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
dialog.light::backdrop { background: rgba(10, 22, 36, .88); }
dialog.light img { max-width: 94vw; max-height: 88vh; width: auto; border-radius: 10px; }
dialog.light button { position: fixed; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; font-size: 28px; background: #fff; cursor: pointer; }

/* Reveal on scroll */
.reveal.pre { opacity: 0; translate: 0 22px; transition: opacity .6s ease, translate .6s var(--ease), scale .7s var(--ease), transform .25s var(--ease), box-shadow .25s ease; }
.reveal.pre.in { opacity: 1; translate: 0 0; scale: 1; }
.reveal-zoom.pre { scale: .94; translate: 0 0; }
.reveal-side.pre { translate: 0 22px; }
@media (min-width: 860px) { .reveal-side.pre { translate: 24px 0; } }
.about-sec { overflow-x: clip; }
/* Gold underline draws in on scroll */
.sec-head.pre h2::after { width: 0; transition: width .9s var(--ease) .25s; }
.sec-head.pre.in h2::after { width: 72px; }

/* Shine across gold buttons */
.btn-gold { position: relative; overflow: hidden; isolation: isolate; }
.btn-gold::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); translate: -130% 0; animation: shine 4.5s ease-in-out infinite; }
@keyframes shine { 0%, 60% { translate: -130% 0; } 100% { translate: 130% 0; } }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -12px rgba(17, 47, 75, .55); } }

/* Feature icons bounce gently on hover */
.feature { transition: transform .25s var(--ease), box-shadow .25s ease; }
@media (hover: hover) {
  .feat-steps .feature:hover, .feat:has(.sec-head) .feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .feature:hover .feature-icon { animation: pop .5s var(--ease); }
}
@keyframes pop { 40% { transform: scale(1.15) rotate(-6deg); } 100% { transform: scale(1); } }

/* Gallery: caption slides up on hover */
.gal-item figcaption b { transition: translate .3s var(--ease), background-color .3s; }
@media (hover: hover) { .gal-item:hover figcaption b { translate: 0 -4px; background: var(--gold-deep); } }

/* Booking band: slow gradient and swinging icon */
.cta-dark { background: linear-gradient(120deg, var(--navy-deep), var(--accent), #24618f, var(--navy-deep)); background-size: 300% 100%; animation: flow 16s ease-in-out infinite; }
@keyframes flow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.cta-icon { animation: nudge 3.2s ease-in-out infinite; }
@keyframes nudge { 0%, 70%, 100% { transform: rotate(0); } 78% { transform: rotate(-12deg); } 86% { transform: rotate(10deg); } 94% { transform: rotate(-4deg); } }

/* FAQ answers fade in */
.faq details[open] .faq-a { animation: rise .45s var(--ease) both; }
.faq details[open] .faq-a { opacity: 0; translate: 0 8px; }

/* Pulse ring on the floating WhatsApp button */
.fl-wa { position: relative; }
.fl-wa::before { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31, 157, 85, .5); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(31, 157, 85, .5); } 80%, 100% { box-shadow: 0 0 0 12px rgba(31, 157, 85, 0); } }

/* Review photos: focus on faces */
.quote figcaption img { object-position: 50% 20%; }
.quote { transition: transform .25s var(--ease), box-shadow .25s ease; }
@media (hover: hover) { .quote:hover { transform: translateY(-4px); box-shadow: var(--shadow); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .hero-float, .hero-orb, .marquee-track, .hero-progress i, .btn-gold::after, .cta-dark, .cta-icon, .fl-wa::before { animation: none !important; }
  .marquee { overflow-x: auto; }
}
