/* ==========================================================================
   [Company Name] — Travel & Tours · Malaysia
   Shared stylesheet for all five pages.
   Sections: 1 Tokens · 2 Base · 3 Utilities · 4 Header · 5 Hero · 6 Cards
             7 Sections · 8 Gallery · 9 FAQ · 10 Forms/Contact · 11 Footer
             12 Floating UI · 13 Motion · 14 Responsive
   ========================================================================== */

/* 1. TOKENS --------------------------------------------------------------- */
:root {
  --ink: #0c1a22;
  --deep: #0f3b3a;
  --teal: #176b68;
  --gold: #c9a24a;
  --gold-soft: #e8d6a2;
  --ivory: #fbf8f1;
  --sand: #f1e9da;
  --text: #2a3640;
  --muted: #66727b;
  --line: rgba(12, 26, 34, 0.12);
  --white: #fff;

  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 6px 20px rgba(12, 26, 34, 0.08);
  --shadow: 0 24px 60px rgba(12, 26, 34, 0.16);
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --header-h: 84px;
}

/* 2. BASE ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; color: var(--ink); margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.8rem, 6.2vw, 5.6rem); }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
p { margin: 0 0 1em; }
em { font-style: italic; color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--ink); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 999; border-radius: 6px; }
.skip-link:focus { left: 8px; }

.ico { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* 3. UTILITIES ------------------------------------------------------------ */
.container { width: min(1240px, 100% - 3rem); margin-inline: auto; }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--deep); color: rgba(255, 255, 255, 0.82); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 38px; height: 1px; background: currentColor; }
.section-head--center .eyebrow::after { content: ""; width: 38px; height: 1px; background: currentColor; }
.lead { font-size: 1.2rem; color: var(--muted); }
.section--dark .lead { color: rgba(255, 255, 255, 0.72); }

/* Clearly-labelled placeholder text the client must replace */
.ph { background: linear-gradient(transparent 62%, rgba(201, 162, 74, 0.35) 62%); border-bottom: 1px dashed var(--gold); }
.draft-note {
  display: flex; gap: 0.8rem; align-items: flex-start; max-width: 880px;
  margin: 0 auto 3rem; padding: 1rem 1.3rem; font-size: 0.92rem; line-height: 1.55;
  background: rgba(201, 162, 74, 0.12); border: 1px dashed var(--gold); border-radius: var(--radius-sm); color: var(--text);
}

/* Buttons */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
  padding: 1rem 1.9rem; border: 1px solid var(--bg); border-radius: 999px;
  background: var(--bg); color: var(--fg); cursor: pointer; overflow: hidden; isolation: isolate;
  font: 700 0.8rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.3s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hover, var(--gold));
  transform: translateY(101%); transition: transform 0.45s var(--ease); border-radius: inherit;
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover { color: var(--ink); border-color: var(--gold); box-shadow: 0 12px 30px rgba(201, 162, 74, 0.3); }
.btn .ico { width: 1.1rem; height: 1.1rem; transition: transform 0.4s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn--gold { --bg: var(--gold); --fg: var(--ink); --hover: var(--white); }
.btn--gold:hover { border-color: #fff; }
.btn--ghost { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, 0.55); --hover: #fff; }
.btn--ghost:hover { color: var(--ink); border-color: #fff; }
.btn--outline { --bg: transparent; --fg: var(--ink); border-color: var(--ink); --hover: var(--ink); }
.btn--outline:hover { color: #fff; border-color: var(--ink); box-shadow: none; }
.btn--wa { --bg: #1f9d55; --fg: #fff; border-color: #1f9d55; --hover: #187a43; }
.btn--wa:hover { color: #fff; border-color: #187a43; box-shadow: 0 12px 30px rgba(31, 157, 85, 0.35); }
.btn--sm { padding: 0.8rem 1.3rem; font-size: 0.72rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); position: relative; padding-bottom: 4px;
}
.link-arrow::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform-origin: left; transition: transform 0.5s var(--ease); }
.link-arrow:hover::after { transform: scaleX(0.3); }
.link-arrow .ico { width: 1rem; height: 1rem; transition: transform 0.4s var(--ease); }
.link-arrow:hover .ico { transform: translateX(5px); }

/* Media wrapper + broken-image fallback */
.media { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--deep), var(--teal)); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.is-broken img { display: none; }
.media.is-broken::after {
  content: "Photo placeholder · add image"; position: absolute; inset: 0; display: grid; place-items: center;
  color: rgba(255, 255, 255, 0.55); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; text-align: center; padding: 1rem;
}
.media--panel { background:
  radial-gradient(circle at 20% 15%, rgba(201, 162, 74, 0.35), transparent 45%),
  repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 14px),
  linear-gradient(145deg, #0f3b3a, #176b68 60%, #1d7d77); }
.media--panel::after { content: "Photo coming soon"; position: absolute; top: 1.2rem; right: 1.2rem; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }

/* 4. HEADER / NAV --------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: #fff; transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), height 0.4s var(--ease), color 0.4s;
}
.header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.header.scrolled { height: 70px; background: rgba(251, 248, 241, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(12, 26, 34, 0.06); color: var(--ink); }
.brand { display: flex; align-items: center; gap: 0.85rem; }
.brand__mark { width: 40px; height: 40px; color: var(--gold); transition: transform 0.8s var(--ease); }
.brand:hover .brand__mark { transform: rotate(180deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; letter-spacing: 0.01em; }
.brand__text small { font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.75; }
.nav ul { display: flex; gap: clamp(1.2rem, 2.6vw, 2.6rem); }
.nav a { position: relative; display: block; padding: 0.6rem 0; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--gold); }
.header.scrolled .nav a[aria-current="page"] { color: var(--teal); }
.header__cta { white-space: nowrap; }

.burger { display: none; width: 46px; height: 46px; border: 1px solid currentColor; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; position: relative; z-index: 130; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.5s var(--ease), opacity 0.3s, top 0.5s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
body.nav-open .burger { color: #fff; }
body.nav-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 120; background: var(--deep);
  background-image: radial-gradient(circle at 85% 10%, rgba(201, 162, 74, 0.22), transparent 45%);
  display: flex; flex-direction: column; justify-content: center; padding: 6rem 2rem 3rem; color: #fff;
  clip-path: circle(0 at calc(100% - 44px) 42px); visibility: hidden;
  transition: clip-path 0.8s var(--ease), visibility 0s 0.8s;
}
body.nav-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; transition: clip-path 0.8s var(--ease), visibility 0s; }
.mobile-menu li { overflow: hidden; }
.mobile-menu li a { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3.2rem); font-weight: 600; padding: 0.3rem 0; transform: translateY(110%); transition: transform 0.7s var(--ease), color 0.3s; }
body.nav-open .mobile-menu li a { transform: none; }
body.nav-open .mobile-menu li:nth-child(2) a { transition-delay: 0.08s; } body.nav-open .mobile-menu li:nth-child(3) a { transition-delay: 0.16s; }
body.nav-open .mobile-menu li:nth-child(4) a { transition-delay: 0.24s; } body.nav-open .mobile-menu li:nth-child(5) a { transition-delay: 0.32s; }
.mobile-menu li a:hover, .mobile-menu li a[aria-current="page"] { color: var(--gold); }
.mobile-menu__foot { margin-top: 2.5rem; display: grid; gap: 0.6rem; font-size: 0.95rem; color: rgba(255, 255, 255, 0.75); }
.mobile-menu__foot a { display: inline-flex; gap: 0.7rem; align-items: center; }

/* 5. HERO ----------------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--deep); padding: calc(var(--header-h) + 2rem) 0 9rem; }
.hero__bg { position: absolute; inset: -8% 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(180deg, rgba(12, 26, 34, 0.55) 0%, rgba(12, 26, 34, 0.25) 40%, rgba(12, 26, 34, 0.85) 100%),
  linear-gradient(90deg, rgba(15, 59, 58, 0.75), transparent 70%); }
.hero__in { position: relative; z-index: 2; max-width: 860px; }
.hero h1 { color: #fff; margin-bottom: 0.35em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero h1 .line > span { display: block; }
.hero p.lead { color: rgba(255, 255, 255, 0.86); max-width: 600px; margin-bottom: 2.2rem; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.hero .eyebrow { color: var(--gold-soft); }
.hero__scroll { position: absolute; z-index: 2; right: max(1.5rem, calc((100% - 1240px) / 2)); bottom: 9.5rem; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase; writing-mode: vertical-rl; color: rgba(255, 255, 255, 0.75); }
.hero__scroll::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--gold), transparent); animation: drip 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.js .hero h1 .line > span { transform: translateY(105%); transition: transform 1.2s var(--ease); }
.js .hero.loaded h1 .line > span { transform: none; }
.js .hero.loaded h1 .line:nth-child(2) > span { transition-delay: 0.12s; }
.js .hero.loaded h1 .line:nth-child(3) > span { transition-delay: 0.24s; }
.js .hero .fade-up { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease) 0.5s, transform 1s var(--ease) 0.5s; }
.js .hero.loaded .fade-up { opacity: 1; transform: none; }
.js .hero.loaded .fade-up.d2 { transition-delay: 0.7s; }

/* Quick enquiry bar */
.quick { position: absolute; z-index: 3; left: 0; right: 0; bottom: 2.5rem; }
.quick form { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 0.5rem; align-items: stretch; background: rgba(251, 248, 241, 0.97); border-radius: 22px; padding: 0.7rem; box-shadow: var(--shadow); max-width: 1000px; }
.quick label { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.6rem 1.2rem; border-right: 1px solid var(--line); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.quick select { appearance: none; border: 0; background: transparent; font: 600 1rem var(--sans); color: var(--ink); padding: 0.2rem 0; cursor: pointer; width: 100%; }
.quick select:focus-visible { outline-offset: 6px; }
.quick .btn { border-radius: 16px; }

.page-hero { position: relative; min-height: clamp(420px, 62vh, 620px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--deep); padding: calc(var(--header-h) + 3rem) 0 clamp(3rem, 6vw, 5rem); }
.page-hero .hero__bg { inset: -10% 0; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(12, 26, 34, 0.5), rgba(12, 26, 34, 0.35) 45%, rgba(12, 26, 34, 0.88)), linear-gradient(90deg, rgba(15, 59, 58, 0.7), transparent 75%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2.8rem, 6vw, 5rem); max-width: 14ch; }
.page-hero p { max-width: 620px; color: rgba(255, 255, 255, 0.86); font-size: 1.2rem; margin: 0; }
.page-hero .eyebrow { color: var(--gold-soft); }
.crumbs { display: flex; gap: 0.6rem; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.5rem; color: rgba(255, 255, 255, 0.7); }
.crumbs a:hover { color: var(--gold); }

/* 6. CARDS ---------------------------------------------------------------- */
.grid { display: grid; gap: clamp(1.2rem, 2.4vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border-radius: var(--radius); padding: 2.2rem 2rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(12, 26, 34, 0.05); position: relative; overflow: hidden; transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--gold), transparent); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card:hover::before { transform: scaleX(1); }
.card__icon { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: var(--sand); color: var(--teal); margin-bottom: 1.5rem; transition: background 0.5s, color 0.5s, transform 0.6s var(--ease); }
.card:hover .card__icon { background: var(--deep); color: var(--gold); transform: rotate(-8deg) scale(1.06); }
.card h3 { font-size: 1.6rem; margin-bottom: 0.4em; }
.card p { color: var(--muted); margin-bottom: 0; font-size: 1rem; }
.card ul.ticks { margin-top: 1.2rem; }
.ticks li { position: relative; padding-left: 1.6rem; font-size: 0.95rem; color: var(--text); margin-bottom: 0.4rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 6px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.card .num { position: absolute; right: 1.6rem; top: 0.8rem; font-family: var(--serif); font-size: 4.5rem; line-height: 1; color: rgba(12, 26, 34, 0.06); font-weight: 700; }

/* Destination cards (bento) */
.dest-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.dest { position: relative; grid-column: span 4; min-height: 440px; border-radius: var(--radius); overflow: hidden; color: #fff; display: block; isolation: isolate; box-shadow: var(--shadow-sm); }
.dest:nth-child(1) { grid-column: span 5; } .dest:nth-child(2) { grid-column: span 7; }
.dest .media { position: absolute; inset: 0; z-index: -2; }
.dest .media img { transition: transform 1.4s var(--ease); }
.dest:hover .media img { transform: scale(1.08); }
.dest::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(12, 26, 34, 0.9)); transition: background 0.6s; }
.dest__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.8rem; transform: translateY(0.9rem); transition: transform 0.7s var(--ease); }
.dest:hover .dest__body { transform: none; }
.dest__tag { display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 0.5rem; }
.dest h3 { color: #fff; margin-bottom: 0.3em; font-size: 2rem; }
.dest p { margin: 0; font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); max-height: 0; opacity: 0; transition: max-height 0.7s var(--ease), opacity 0.6s; }
.dest:hover p, .dest:focus-within p { max-height: 8em; opacity: 1; }

/* Package cards */
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(1.2rem, 2.4vw, 2rem); }
.pkg { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), opacity 0.5s; }
.pkg:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.pkg.is-hidden { display: none; }
.pkg .media { aspect-ratio: 4 / 3; }
.pkg .media img { transition: transform 1.2s var(--ease); }
.pkg:hover .media img { transform: scale(1.07); }
.pkg__chip { position: absolute; z-index: 2; top: 1rem; left: 1rem; padding: 0.4rem 0.9rem; border-radius: 999px; background: rgba(251, 248, 241, 0.94); color: var(--ink); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.pkg__body { padding: 1.8rem 1.8rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.pkg__meta { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.6rem; }
.pkg h3 { font-size: 1.75rem; }
.pkg p { color: var(--muted); font-size: 0.97rem; }
.pkg .ticks { margin: 0.4rem 0 1.4rem; }
.pkg__foot { margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.pkg__price { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); line-height: 1.3; }
.pkg__price strong { display: block; font-family: var(--serif); font-size: 1.35rem; letter-spacing: 0; text-transform: none; color: var(--ink); }

.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: 3rem; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 0.7rem 1.4rem; border-radius: 999px; font: 700 0.74rem var(--sans); letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; transition: all 0.4s var(--ease); }
.chip:hover { border-color: var(--gold); transform: translateY(-2px); }
.chip.active { background: var(--deep); color: #fff; border-color: var(--deep); }

/* 7. SECTIONS ------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media .media { border-radius: var(--radius); aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.split__media .badge { position: absolute; z-index: 2; right: -1.2rem; bottom: 2rem; background: var(--gold); color: var(--ink); padding: 1.2rem 1.5rem; border-radius: var(--radius-sm); max-width: 220px; font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; font-weight: 600; box-shadow: var(--shadow); }
.split__media::before { content: ""; position: absolute; z-index: -1; left: -1.5rem; top: -1.5rem; width: 60%; height: 60%; border: 1px solid var(--gold); border-radius: var(--radius); }
.feature-list { display: grid; gap: 1.6rem; margin-top: 2rem; }
.feature { display: grid; grid-template-columns: 56px 1fr; gap: 1.2rem; }
.feature .card__icon { margin: 0; width: 56px; height: 56px; background: rgba(201, 162, 74, 0.16); color: var(--gold); }
.feature h4 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.2rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.97rem; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 8%; right: 8%; height: 1px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 0.5rem; }
.step__n { counter-increment: step; width: 56px; height: 56px; margin: 0 auto 1.4rem; border-radius: 50%; background: var(--deep); color: var(--gold); display: grid; place-items: center; font-family: var(--serif); font-size: 1.6rem; font-weight: 700; position: relative; box-shadow: 0 0 0 8px var(--sand); transition: transform 0.6s var(--ease); }
.step:hover .step__n { transform: scale(1.12) rotate(8deg); }
.step__n::before { content: counter(step); }
.step h4 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.step p { font-size: 0.95rem; color: var(--muted); margin: 0; }

.tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.tab { position: relative; background: none; border: 0; padding: 1rem 1.4rem; cursor: pointer; font: 700 0.78rem var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); transition: color 0.3s; }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform 0.5s var(--ease); }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.tabpanel { display: none; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; animation: panelIn 0.7s var(--ease); }
.tabpanel.active { display: grid; }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.tabpanel .media { border-radius: var(--radius); aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); }

.cta-band { position: relative; overflow: hidden; background: var(--deep); color: #fff; text-align: center; padding: clamp(5rem, 10vw, 8rem) 0; isolation: isolate; }
.cta-band .hero__bg { z-index: -2; opacity: 0.45; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 0, rgba(201, 162, 74, 0.25), transparent 55%), linear-gradient(rgba(15, 59, 58, 0.85), rgba(12, 26, 34, 0.92)); }
.cta-band h2 { color: #fff; max-width: 16ch; margin-inline: auto; }
.cta-band p { max-width: 560px; margin: 0 auto 2.2rem; color: rgba(255, 255, 255, 0.8); }
.cta-band .btn-row { justify-content: center; }

/* Testimonials (placeholders) */
.quote { background: #fff; border-radius: var(--radius); padding: 2.4rem 2rem 2rem; box-shadow: var(--shadow-sm); position: relative; display: flex; flex-direction: column; transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.quote::before { content: "\201C"; position: absolute; top: 0.4rem; left: 1.4rem; font-family: var(--serif); font-size: 6rem; line-height: 1; color: var(--gold); opacity: 0.45; }
.stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 1rem; position: relative; }
.stars .ico { width: 1.05rem; height: 1.05rem; fill: currentColor; stroke: none; }
.quote blockquote { margin: 0 0 1.6rem; font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; color: var(--ink); position: relative; }
.quote footer { margin-top: auto; display: flex; gap: 0.9rem; align-items: center; font-size: 0.9rem; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--sand); color: var(--teal); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.1rem; flex: none; }
.quote footer strong { display: block; color: var(--ink); }
.quote footer span { color: var(--muted); }

/* Stats (placeholders) + values + team */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4rem); color: var(--gold); line-height: 1; }
.stat span { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }
.team { text-align: center; }
.team .media { aspect-ratio: 1; border-radius: 50%; width: min(200px, 60%); margin: 0 auto 1.4rem; display: grid; place-items: center; font-family: var(--serif); font-size: 3.4rem; color: var(--gold); box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--gold); transition: transform 0.7s var(--ease); }
.team:hover .media { transform: scale(1.05); }
.team h3 { font-size: 1.5rem; margin-bottom: 0.1em; }
.team p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.cred { display: flex; gap: 1rem; align-items: center; padding: 1.3rem 1.5rem; background: #fff; border: 1px dashed var(--gold); border-radius: var(--radius-sm); }
.cred .ico { color: var(--teal); width: 2rem; height: 2rem; }
.cred strong { display: block; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; }

/* 8. GALLERY -------------------------------------------------------------- */
.gallery { columns: 3; column-gap: 1.2rem; }
.gallery figure { margin: 0 0 1.2rem; break-inside: avoid; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; position: relative; }
.gallery figure .media { display: block; }
.gallery figure:nth-child(1) .media { aspect-ratio: 3 / 4.4; } .gallery figure:nth-child(2) .media { aspect-ratio: 4 / 3; }
.gallery figure:nth-child(3) .media { aspect-ratio: 1; } .gallery figure:nth-child(4) .media { aspect-ratio: 3 / 4; }
.gallery figure:nth-child(5) .media { aspect-ratio: 4 / 3; } .gallery figure:nth-child(6) .media { aspect-ratio: 3 / 4.2; }
.gallery img { transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.08); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.2rem 1rem; color: #fff; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; background: linear-gradient(transparent, rgba(12, 26, 34, 0.85)); transform: translateY(100%); transition: transform 0.6s var(--ease); }
.gallery figure:hover figcaption { transform: none; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 16, 22, 0.94); display: grid; place-items: center; padding: 2rem; opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 82vh; max-width: min(1200px, 100%); border-radius: var(--radius-sm); box-shadow: var(--shadow); transform: scale(0.94); transition: transform 0.6s var(--ease); }
.lightbox.open img { transform: none; }
.lightbox p { color: rgba(255, 255, 255, 0.8); text-align: center; margin: 1rem 0 0; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; }
.lightbox button { position: absolute; top: 1.4rem; right: 1.4rem; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.5); background: transparent; color: #fff; font-size: 1.5rem; cursor: pointer; transition: background 0.3s, color 0.3s; }
.lightbox button:hover { background: #fff; color: var(--ink); }

/* 9. FAQ ------------------------------------------------------------------ */
.faq { max-width: 880px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; text-align: left; background: none; border: 0; cursor: pointer; padding: 1.7rem 0; font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.65rem); font-weight: 600; color: var(--ink); transition: color 0.3s; }
.faq__q:hover { color: var(--teal); }
.faq__q i { position: relative; width: 38px; height: 38px; flex: none; border: 1px solid var(--line); border-radius: 50%; transition: background 0.4s, border-color 0.4s, transform 0.5s var(--ease); }
.faq__q i::before, .faq__q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.5s var(--ease); }
.faq__q i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.open .faq__q i { background: var(--gold); border-color: var(--gold); transform: rotate(180deg); }
.faq__item.open .faq__q i::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); }
.faq__item.open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 3rem 1.7rem 0; margin: 0; color: var(--muted); }

/* 10. FORMS / CONTACT ----------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-cards { display: grid; gap: 1rem; }
.c-card { display: flex; gap: 1.2rem; align-items: center; padding: 1.4rem 1.5rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid transparent; transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s; }
a.c-card:hover { transform: translateX(8px); border-color: var(--gold); box-shadow: var(--shadow); }
.c-card .card__icon { margin: 0; flex: none; width: 54px; height: 54px; }
a.c-card:hover .card__icon { background: var(--deep); color: var(--gold); }
.c-card small { display: block; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.c-card strong { font-size: 1.05rem; color: var(--ink); word-break: break-word; }
.form-wrap { background: #fff; border-radius: 24px; padding: clamp(1.8rem, 4vw, 3rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.field { position: relative; display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.field label b { color: #b4472f; }
.field input, .field select, .field textarea { width: 100%; font: 500 1rem var(--sans); color: var(--ink); background: var(--ivory); border: 1px solid transparent; border-bottom: 1px solid var(--line); border-radius: 10px 10px 0 0; padding: 0.95rem 1rem; transition: border-color 0.3s, background 0.3s, box-shadow 0.3s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--gold); box-shadow: 0 8px 20px rgba(201, 162, 74, 0.15); }
.field .err { display: none; color: #b4472f; font-size: 0.8rem; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b4472f; background: #fdf3f0; }
.field.invalid .err { display: block; }
.form-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 1.2rem 0 0; }
.form-status { margin-top: 1rem; font-weight: 600; color: var(--teal); min-height: 1.5em; }
.map-ph { margin-top: 2rem; border-radius: var(--radius); min-height: 320px; display: grid; place-items: center; text-align: center; padding: 2rem; color: rgba(255, 255, 255, 0.85); background:
  radial-gradient(circle at 30% 30%, rgba(201, 162, 74, 0.25), transparent 45%),
  repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 36px),
  repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 36px), var(--deep); }
.map-ph .ico { width: 2.6rem; height: 2.6rem; color: var(--gold); margin-bottom: 0.8rem; }

/* 11. FOOTER -------------------------------------------------------------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.68); padding: clamp(4rem, 7vw, 6rem) 0 0; font-size: 0.97rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 0.8fr 1.1fr 1.1fr; gap: clamp(2rem, 4vw, 4rem); padding-bottom: 3.5rem; }
.footer .brand { color: #fff; margin-bottom: 1.4rem; }
.footer h4 { font-family: var(--sans); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #fff; margin-bottom: 1.4rem; }
.footer li { margin-bottom: 0.7rem; }
.footer a { transition: color 0.3s, padding 0.4s var(--ease); }
.footer ul a:hover { color: var(--gold); padding-left: 6px; }
.footer .contact-line { display: flex; gap: 0.8rem; align-items: flex-start; margin-bottom: 0.9rem; }
.footer .contact-line .ico { color: var(--gold); width: 1.2rem; height: 1.2rem; margin-top: 0.3rem; }
.footer .contact-line a:hover { color: var(--gold); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 1.6rem 0; font-size: 0.82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem 2rem; }
.footer__credits { padding: 0 0 1.4rem; font-size: 0.76rem; color: rgba(255, 255, 255, 0.45); max-width: 900px; }

/* 12. FLOATING UI --------------------------------------------------------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 150; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); transform: scaleX(0); transform-origin: left; }
.fab-wa { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: #1f9d55; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(31, 157, 85, 0.45); transition: transform 0.4s var(--ease); }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1f9d55; animation: ping 2.4s ease-out infinite; }
.fab-wa:hover { transform: scale(1.1) rotate(-6deg); }
.fab-wa .ico { width: 1.7rem; height: 1.7rem; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.7); opacity: 0; } }
.to-top { position: fixed; right: 1.7rem; bottom: 5.8rem; z-index: 90; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--ivory); color: var(--ink); cursor: pointer; display: grid; place-items: center; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity 0.4s, transform 0.4s var(--ease), background 0.3s, color 0.3s; box-shadow: var(--shadow-sm); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--ink); color: var(--gold); }
.to-top .ico { width: 1.1rem; height: 1.1rem; transform: rotate(-90deg); }

/* 13. MOTION -------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.left { transform: translateX(-40px); } .js .reveal.right { transform: translateX(40px); }
.js .reveal.zoom { transform: scale(0.94); }
.js .reveal.in { opacity: 1; transform: none; }
[data-parallax] { will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .hero h1 .line > span, .js .hero .fade-up { opacity: 1; transform: none; }
}

/* Anchored cards/sections sit below the fixed header */
.pkg[id], section[id] { scroll-margin-top: 90px; }
.section--dark .card__icon { margin-bottom: 1.2rem; }
.section--dark p { color: rgba(255, 255, 255, 0.75); }
code { font-size: 0.9em; background: rgba(12, 26, 34, 0.08); padding: 0.1em 0.4em; border-radius: 4px; }

/* 14. RESPONSIVE ---------------------------------------------------------- */
@media (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; } .steps::before { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .split, .contact-grid, .tabpanel.active { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .split__media .media { aspect-ratio: 4 / 3; }
  .split__media .badge { right: 1rem; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .dest, .dest:nth-child(1), .dest:nth-child(2) { grid-column: span 6; min-height: 380px; }
  .gallery { columns: 2; }
  .quick form { grid-template-columns: 1fr 1fr; }
  .quick label:nth-child(2) { border-right: 0; }
  .quick .btn { grid-column: 1 / -1; padding: 1.1rem; }
  .hero { padding-bottom: 13rem; } .hero__scroll { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { width: min(1240px, 100% - 2rem); }
  .grid--2, .grid--3, .grid--4, .form-grid { grid-template-columns: 1fr; }
  .dest, .dest:nth-child(1), .dest:nth-child(2) { grid-column: 1 / -1; min-height: 360px; }
  .dest p { max-height: 8em; opacity: 1; }
  .dest__body { transform: none; }
  .gallery { columns: 1; }
  .steps, .stats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .quick form { grid-template-columns: 1fr; border-radius: 18px; }
  .quick label { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero { padding-bottom: 19rem; }
  .quick { bottom: 1.2rem; }
  .brand__text small { display: none; }
  .btn-row .btn { flex: 1 1 100%; }
  .faq__a p { padding-right: 0; }
  .tabs { overflow-x: auto; flex-wrap: nowrap; }
  .tab { white-space: nowrap; }
  .fab-wa { width: 54px; height: 54px; right: 1rem; bottom: 1rem; } .to-top { right: 1.2rem; bottom: 5rem; }
}
@media (hover: none) { .dest p { max-height: 8em; opacity: 1; } .dest__body { transform: none; } .gallery figcaption { transform: none; } }
