/* ==========================================================================
   TREASURE TRAVELLER — Design System
   Luxury · Classical · Minimal
   Palette: Lapis (Egyptian royal blue) · Ivory · Sand · Brass gold
   Type:    Marcellus (display) · Figtree (body)
   ========================================================================== */

:root {
  /* Color */
  --lapis-950: #071A3E;
  --lapis-900: #0A2150;
  --lapis:     #0F2E6D;   /* primary — Egyptian royal blue, deep */
  --royal:     #1D4FB0;   /* interactive royal blue */
  --royal-soft:#3D6BC6;
  --ivory:     #F8F6F1;
  --paper:     #FFFFFF;
  --sand:      #E7E0D2;   /* hairlines, borders */
  --gold:      #B99552;   /* brass — accents only */
  --gold-soft: #D9C9A0;
  --ink:       #131A26;
  --muted:     #5C6472;

  /* Type */
  --display: 'Marcellus', 'Times New Roman', serif;
  --body:    'Figtree', 'Helvetica Neue', Arial, sans-serif;

  /* Rhythm */
  --container: 1200px;
  --radius: 14px;
  --section-y: clamp(72px, 9vw, 128px);
}

/* --- Reset ---------------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography ------------------------------------------------------ */
h1, h2, h3, h4, .display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.12;
  color: var(--lapis);
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(40px, 5.6vw, 68px); }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: 22px; }

.lead {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--muted);
  max-width: 56ch;
}

/* --- Signature: the cartouche eyebrow -------------------------------- */
/* A small-caps label enclosed in a thin gold cartouche, the way royal
   names were framed. Use once per section, nowhere else.               */
.cartouche {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 20px 7px 16px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
}
.cartouche::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
.cartouche.-on-dark { color: var(--gold-soft); border-color: rgba(217, 201, 160, .55); }
.cartouche.-on-dark::before { background: var(--gold-soft); }

/* --- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn-gold {
  background: var(--gold);
  color: var(--lapis-950);
}
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-1px); }
.btn-ghost {
  border: 1px solid rgba(248, 246, 241, .45);
  color: var(--ivory);
}
.btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.btn-royal {
  background: var(--lapis);
  color: var(--ivory);
}
.btn-royal:hover { background: var(--royal); }

/* --- Header ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--lapis-950);
  border-bottom: 1px solid rgba(185, 149, 82, .35);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 78px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--ivory);
}
.brand__mark {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0.04em;
  color: var(--ivory);
  white-space: nowrap;
}
.brand__mark em {
  font-style: normal;
  color: var(--gold-soft);
}
.brand__tag {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(248, 246, 241, .82);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav a:hover { color: var(--gold-soft); border-bottom-color: var(--gold-soft); }
.nav .btn { padding: 11px 24px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 1.5px;
  background: var(--ivory);
  transition: transform .25s ease, opacity .25s ease;
}

/* --- Hero -------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--lapis-950);
  color: var(--ivory);
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .55;
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(7, 26, 62, .96) 8%, rgba(10, 33, 80, .72) 46%, rgba(15, 46, 109, .30) 100%),
    linear-gradient(to top, rgba(7, 26, 62, .85), transparent 40%);
}
.hero__inner {
  position: relative;
  padding: clamp(110px, 15vw, 190px) 0 clamp(96px, 12vw, 160px);
  max-width: 720px;
}
.hero h1 { color: var(--ivory); margin: 26px 0 20px; }
.hero h1 em {
  font-style: normal;
  color: var(--gold-soft);
}
.hero p {
  color: rgba(248, 246, 241, .8);
  max-width: 52ch;
  font-size: clamp(16.5px, 1.6vw, 18.5px);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero__rule {
  width: 72px; height: 1px;
  background: var(--gold);
  margin-top: 56px;
}
.hero__note {
  margin-top: 16px;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(217, 201, 160, .8);
}

/* --- Sections ----------------------------------------------------------- */
.section { padding: var(--section-y) 0; }
.section.-tight { padding-top: calc(var(--section-y) * .55); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.section-head h2 { margin-top: 18px; }
.section-head .view-all {
  flex: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--royal);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  transition: color .2s ease;
  white-space: nowrap;
}
.section-head .view-all:hover { color: var(--gold); }

/* --- Journey cards -------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.j-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.j-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-soft);
  box-shadow: 0 18px 40px -18px rgba(15, 46, 109, .28);
}
.j-card__media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--lapis) 0%, var(--royal) 100%);
  background-size: cover;
  background-position: center;
}
.j-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 22px;
}
.j-card__meta {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.j-card h3 {
  font-size: 21px;
  line-height: 1.25;
  transition: color .2s ease;
}
.j-card:hover h3 { color: var(--royal); }
.j-card__sub {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}
.j-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--sand);
  margin-top: 20px;
}
.j-card__stars {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.j-card__stars small {
  display: block;
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-top: 3px;
}
.j-card__price {
  text-align: right;
  font-size: 12px;
  color: var(--muted);
}
.j-card__price strong {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 24px;
  color: var(--lapis);
  line-height: 1.1;
}

/* --- Why us ----------------------------------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
}
.pillar {
  border-top: 1px solid var(--gold);
  padding-top: 24px;
}
.pillar h3 { font-size: 19px; margin-bottom: 10px; }
.pillar p { font-size: 15px; color: var(--muted); }

/* --- Tailor CTA band ---------------------------------------------------------- */
.cta-band {
  background: var(--lapis);
  color: var(--ivory);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(52px, 6vw, 84px) clamp(28px, 6vw, 90px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(217, 201, 160, .35);
  border-radius: var(--radius);
  pointer-events: none;
}
.cta-band h2 { color: var(--ivory); margin-top: 16px; max-width: 18ch; }
.cta-band p { color: rgba(248, 246, 241, .75); margin-top: 12px; max-width: 46ch; }
.cta-band .btn { position: relative; flex: none; }

/* --- Footer ----------------------------------------------------------------------- */
.site-footer {
  background: var(--lapis-950);
  color: rgba(248, 246, 241, .78);
  margin-top: var(--section-y);
  padding: 72px 0 36px;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(185, 149, 82, .28);
}
.site-footer .brand__mark { font-size: 21px; }
.footer-about { margin-top: 16px; max-width: 34ch; }
.footer-col h5 {
  font-family: var(--body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 20px;
}
.footer-col a, .footer-col span { display: block; padding: 5px 0; color: rgba(248, 246, 241, .78); }
.footer-col a:hover { color: var(--gold-soft); }
.footer-col strong { color: var(--ivory); font-weight: 600; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(248, 246, 241, .55);
}
.footer-bottom a { color: rgba(248, 246, 241, .7); }
.footer-bottom a:hover { color: var(--gold-soft); }

/* --- Motion / a11y ------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* --- Responsive ------------------------------------------------------------------------ */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 78px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--lapis-950);
    border-bottom: 1px solid rgba(185, 149, 82, .35);
    padding: 12px 24px 24px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { width: 100%; padding: 13px 0; font-size: 16px; border-bottom: 1px solid rgba(248, 246, 241, .08); }
  .nav .btn { margin-top: 16px; width: 100%; }
  .nav-toggle { display: flex; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .section-head { flex-direction: column; align-items: flex-start; }
  .pillars { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__actions .btn { width: 100%; }
}

/* ==========================================================================
   v2 — CTA upgrade + inner-page components
   ========================================================================== */

/* --- Premium CTA button (tailor-made) --------------------------------- */
.btn-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #C9A55E 0%, var(--gold) 45%, #A5813F 100%);
  color: var(--lapis-950);
  box-shadow: 0 8px 24px -10px rgba(185, 149, 82, .65);
}
.btn-cta .arrow {
  display: inline-block;
  transition: transform .3s ease;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(185, 149, 82, .8); }
.btn-cta:hover .arrow { transform: translateX(5px); }
.btn-cta::after {          /* shimmer sweep */
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}
.btn-cta:hover::after { left: 130%; }
@media (prefers-reduced-motion: reduce) { .btn-cta::after { display: none; } }

.btn-whatsapp {
  border: 1px solid rgba(248, 246, 241, .4);
  color: var(--ivory);
  gap: 10px;
}
.btn-whatsapp:hover { border-color: #6BCF8E; color: #9FE7B6; }
.btn-whatsapp svg { width: 18px; height: 18px; fill: currentColor; }

/* --- Page hero (inner pages) --------------------------------------------- */
.page-hero {
  position: relative;
  background: var(--lapis-950);
  color: var(--ivory);
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.page-hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,26,62,.94) 0%, rgba(7,26,62,.55) 55%, rgba(7,26,62,.35) 100%);
}
.page-hero__inner {
  position: relative;
  padding: clamp(70px, 9vw, 120px) 0 clamp(48px, 6vw, 80px);
  max-width: 860px;
}
.page-hero h1 { color: var(--ivory); font-size: clamp(30px, 4.2vw, 52px); margin-top: 20px; }
.page-hero .lead { color: rgba(248,246,241,.8); margin-top: 14px; }

/* --- Breadcrumbs ------------------------------------------------------------ */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: rgba(248,246,241,.65);
  text-transform: capitalize;
}
.crumbs a { color: rgba(248,246,241,.85); }
.crumbs a:hover { color: var(--gold-soft); }
.crumbs .sep { color: var(--gold); }
.crumbs.-light { color: var(--muted); }
.crumbs.-light a { color: var(--ink); }

/* --- Facts strip (duration / type / pickup...) -------------------------------- */
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  padding: 22px 0;
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
  margin: 34px 0;
}
.fact { min-width: 140px; }
.fact b {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}
.fact span { font-size: 15px; color: var(--ink); }

/* --- Detail layout ------------------------------------------------------------- */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: start;
}
.detail-aside { position: sticky; top: 102px; }
@media (max-width: 1024px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
}

/* --- Prose (admin rich text) ------------------------------------------------------ */
.prose { max-width: none; }
.prose h2, .prose h3, .prose h4 { margin: 1.6em 0 .5em; }
.prose h2 { font-size: 26px; }
.prose h3 { font-size: 21px; }
.prose p { margin: .9em 0; color: #2B3442; }
.prose ul, .prose ol { margin: .9em 0 .9em 1.3em; }
.prose ul { list-style: none; }
.prose ul li { position: relative; padding-left: 22px; margin: .45em 0; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .58em;
  width: 7px; height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
.prose ol { list-style: decimal; }
.prose img { border-radius: var(--radius); margin: 1.2em 0; }
.prose a { color: var(--royal); border-bottom: 1px solid var(--gold-soft); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15px; }
.prose table th, .prose table td { border: 1px solid var(--sand); padding: 10px 14px; text-align: left; }
.prose table th { background: #F1EDE3; font-weight: 600; color: var(--lapis); }

.detail-section { padding-top: 44px; margin-top: 44px; border-top: 1px solid var(--sand); }
.detail-section:first-of-type { padding-top: 0; margin-top: 0; border-top: 0; }
.detail-section > h2 { font-size: 27px; margin-bottom: 18px; }

/* --- Two-column include / exclude --------------------------------------------------- */
.inc-exc { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 720px) { .inc-exc { grid-template-columns: 1fr; } }

/* --- Itinerary / FAQ accordion (native details) ---------------------------------------- */
.acc { display: flex; flex-direction: column; gap: 14px; }
.acc details {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s ease;
}
.acc details[open] { border-color: var(--gold-soft); }
.acc summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: 17.5px;
  color: var(--lapis);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::before {
  content: "+";
  flex: none;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--body);
  font-size: 16px;
  transition: transform .25s ease;
}
.acc details[open] summary::before { content: "–"; transform: rotate(180deg); }
.acc .acc__body { padding: 0 22px 20px 68px; color: #2B3442; font-size: 15px; }
.acc .acc__body p { margin: .5em 0; }

.program-title {
  font-size: 22px;
  margin: 34px 0 16px;
}

/* --- Sidebar price card -------------------------------------------------------------------- */
.price-card {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 20px 45px -30px rgba(15, 46, 109, .35);
}
.price-card__from { font-size: 13px; color: var(--muted); }
.price-card__from strong {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 34px;
  color: var(--lapis);
  line-height: 1.1;
  margin-top: 2px;
}
.price-card__from strong small { font-size: 15px; color: var(--muted); font-family: var(--body); }
.price-card .btn { width: 100%; margin-top: 14px; }
.price-card .btn-whatsapp { border-color: var(--sand); color: var(--lapis); }
.price-card .btn-whatsapp:hover { border-color: #3EA463; color: #2E7D4C; }
.price-card__note { font-size: 12.5px; color: var(--muted); margin-top: 14px; text-align: center; }

.price-table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 14px; }
.price-table caption {
  caption-side: top;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 8px;
}
.price-table th, .price-table td { border-bottom: 1px solid var(--sand); padding: 9px 4px; text-align: left; }
.price-table td:last-child, .price-table th:last-child { text-align: right; }
.price-table td:last-child { font-family: var(--display); font-size: 16px; color: var(--lapis); }

/* --- Enquiry form ------------------------------------------------------------------------------ */
.enquiry-form { display: grid; gap: 12px; margin-top: 18px; }
.enquiry-form input, .enquiry-form textarea, .enquiry-form select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--sand);
  border-radius: 10px;
  background: var(--ivory);
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
}
.enquiry-form input:focus, .enquiry-form textarea:focus {
  outline: none;
  border-color: var(--royal);
  background: #fff;
}
.enquiry-form textarea { min-height: 96px; resize: vertical; }

/* --- Gallery grid ----------------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-grid a { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--sand); }
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s ease; }
.gallery-grid a:hover img { transform: scale(1.04); }
@media (max-width: 720px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* --- Listing page content blocks --------------------------------------------------------------------- */
.cat-content { max-width: 800px; }
.cat-footer-content {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
}
.empty-note { color: var(--muted); font-size: 15px; }


/* --- Brand logo (SVG lockup) ------------------------------------------ */
.brand__logo { height: 47px; width: auto; display: block; }
.brand__logo.-footer { height: 40px; }
@media (max-width: 860px) { .brand__logo { height: 40px; } }
