/* ============================================================
   YOUR BRAND — Tailormade
   Destination Asia layout language · new palette
   ink navy / warm gold / soft sky
   ============================================================ */

:root {
  --ink: #16294d;
  --ink-deep: #0e1c38;
  --gold: #c9a227;
  --gold-deep: #a8871c;
  --sky: #eef3f9;
  --sky-deep: #e2ebf5;
  --paper: #fbfcfe;
  --card: #ffffff;
  --body: #44506b;
  --line: rgba(22, 41, 77, 0.12);

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Jost", "Century Gothic", "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  --radius: 2px; /* DA-style square-ish corners */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16.5px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }

/* ---------- Type ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
}
h1 { font-size: clamp(2.8rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h2 em, h1 em { font-style: italic; color: var(--gold-deep); }
h3 { font-size: 1.35rem; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.eyebrow-light { color: var(--gold); }

.link-arrow {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.link-arrow span { transition: transform 200ms var(--ease-out); display: inline-block; }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Buttons (DA: squared, letterspaced) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms var(--ease-out), background 200ms ease, color 200ms ease, border-color 200ms ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-deep); }

.btn-gold { background: var(--gold); color: var(--ink-deep); }
.btn-gold:hover { background: var(--gold-deep); color: #fff; }

.btn-ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }

.btn-outline { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-lg { padding: 17px 34px; font-size: 0.84rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 252, 254, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 250ms ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 32px; height: 32px; color: var(--gold-deep); }
.brand-text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.01em;
}
.brand-text em { font-style: italic; color: var(--gold-deep); }

.main-nav { display: flex; gap: 36px; }
.main-nav a {
  color: var(--body);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--ease-out);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 84px 0 0 0;
  background: var(--paper);
  z-index: 40;
  padding: 28px 24px 40px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  border-top: 1px solid var(--line);
}
.mobile-nav:not([hidden]) { display: flex; }
.mobile-nav a {
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.mobile-nav .btn {
  margin-top: 24px;
  border-bottom: none;
  text-transform: uppercase;
  color: #fff;
  padding: 14px 28px;
}
.mobile-nav .btn:hover { color: #fff; }

.currency-picker { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: var(--radius); padding: 3px; }
.cur-btn {
  background: none; border: none; cursor: pointer;
  color: var(--body);
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em;
  padding: 6px 10px; border-radius: var(--radius);
  transition: color 160ms ease, background 160ms ease, transform 160ms var(--ease-out);
}
.cur-btn:active { transform: scale(0.95); }
.cur-btn:hover { color: var(--ink); }
.cur-btn.active { background: var(--ink); color: #fff; }

/* ---------- Hero (DA: split text / visual) ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 78vh;
  align-items: stretch;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 90px;
  padding-bottom: 90px;
  padding-right: 80px;
}
.hero-sub {
  max-width: 46ch;
  margin-top: 24px;
  font-size: 1.1rem;
  color: var(--body);
}
.hero-ctas { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }

.hero-visual {
  background:
    linear-gradient(180deg, rgba(22, 41, 77, 0.15) 0%, rgba(22, 41, 77, 0.35) 100%),
    url("../img/bali-rice.jpg") center / cover no-repeat;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 620ms var(--ease-out) forwards;
}
.reveal.d1 { animation-delay: 90ms; }
.reveal.d2 { animation-delay: 190ms; }
.reveal.d3 { animation-delay: 290ms; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-tinted { background: var(--sky); }
.section-dark { background: var(--ink); color: var(--sky); }
.section-dark h2 { color: #fff; }
.section-dark h2 em { color: var(--gold); }
.section-dark p { color: rgba(238, 243, 249, 0.72); }

.intro-section { text-align: center; }
.intro-inner { max-width: 780px; margin: 0 auto; }
.intro-lede { margin-top: 22px; color: var(--body); font-size: 1.08rem; }

.section-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 60px;
}
.section-lede { color: var(--body); max-width: 42ch; justify-self: end; }

/* ---------- Feature blocks (DA two-up) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.feature-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-media {
  aspect-ratio: 16 / 8;
  background-size: cover;
  background-position: center;
}
.media-multi {
  background-image: url("../img/bali-path.jpg");
}
.media-styles {
  background-image: url("../img/bali-gate.jpg");
}
.feature-body { padding: 34px 36px 38px; }
.feature-body p { color: var(--body); margin: 12px 0 24px; }

/* ---------- Stats (DA counters) ---------- */
.stats-section { background: var(--paper); }
.stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 54px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 500;
  color: var(--gold-deep);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat:not([data-plain]) strong::after { content: "+"; font-size: 0.55em; vertical-align: 0.3em; }
.stat span {
  display: block;
  margin-top: 10px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--body);
}

/* ---------- Itinerary cards (DA grid) ---------- */
.itin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.itin-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 260ms var(--ease-out), box-shadow 260ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .itin-card:hover { transform: translateY(-4px); box-shadow: 0 20px 42px -20px rgba(22,41,77,0.3); }
}
.itin-media {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
}
.media-ubud { background-image: url("../img/bali-temple.jpg"); }
.media-uluwatu { background-image: url("../img/bali-cliffs.jpg"); }
.media-sidemen { background-image: url("../img/bali-rice.jpg"); }
.media-munduk { background-image: url("../img/bali-waterfall.jpg"); }
.media-culinary { background-image: url("../img/bali-market.jpg"); }
.media-east { background-image: url("../img/bali-gate.jpg"); }

.itin-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.itin-dur {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.itin-body h3 { margin-bottom: 10px; }
.itin-body p { font-size: 0.93rem; color: var(--body); flex: 1; }
.itin-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.itin-price { font-variant-numeric: tabular-nums; }
.itin-price small { color: var(--body); font-size: 0.75rem; }
.itin-price strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
}

/* ---------- Destinations strip ---------- */
.dest-scroll {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.dest-pill {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 12px 22px;
  border-radius: var(--radius);
  transition: border-color 180ms ease, background 180ms ease, transform 160ms var(--ease-out);
}
.dest-pill:active { transform: scale(0.97); }
.dest-pill:hover { border-color: var(--ink); background: var(--sky); }

/* ---------- Agent hub (DA dark) ---------- */
.agent-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.agent-split > div { max-width: 620px; }
.agent-split p { margin-top: 16px; }

/* ---------- Quiz (Find your Bali) ---------- */
.quiz-section {
  background: var(--ink);
  color: rgba(238, 243, 249, 0.85);
  padding: 110px 0;
}
.quiz-section h2 { color: #fff; }
.quiz-section h2 em { color: var(--gold); }
.quiz-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.quiz-copy p:not(.eyebrow) {
  margin-top: 18px;
  max-width: 40ch;
  color: rgba(238, 243, 249, 0.72);
  font-size: 1.05rem;
}
.quiz-card {
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 36px 36px 40px;
  box-shadow: 0 28px 60px rgba(14, 28, 56, 0.35);
  min-height: 340px;
  display: flex;
  flex-direction: column;
}
.quiz-progress {
  height: 3px;
  background: var(--sky-deep);
  border-radius: 2px;
  margin-bottom: 28px;
  overflow: hidden;
}
.quiz-progress span {
  display: block;
  height: 100%;
  width: 20%;
  background: var(--gold);
  transition: width 320ms var(--ease-out);
}
.quiz-q {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 22px;
  line-height: 1.25;
}
.quiz-opts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quiz-opts button {
  text-align: left;
  background: var(--sky);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 300;
  color: var(--ink);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms var(--ease-out);
}
.quiz-opts button:hover {
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.1);
}
.quiz-opts button:active { transform: scale(0.99); }
.quiz-form {
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.quiz-form .field {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.quiz-form .field label {
  color: var(--body);
}
.quiz-form .field input {
  background: var(--sky);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  border-radius: var(--radius);
  padding: 13px 15px;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease;
}
.quiz-form .field input::placeholder { color: rgba(68, 80, 107, 0.55); }
.quiz-form .field input:focus {
  background: #fff;
  border-color: var(--gold);
}
.quiz-form .form-note {
  color: var(--body);
  margin-top: 14px;
}
.quiz-form .btn { margin-top: 8px; }
.quiz-match {
  font-size: 1.05rem;
  color: var(--body);
  margin: -8px 0 28px;
  line-height: 1.6;
}

/* ---------- Plan (DA closing CTA) ---------- */
.plan-section { background: var(--ink-deep); color: var(--sky); }
.plan-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.plan-copy h2 { color: #fff; }
.plan-copy h2 em { color: var(--gold); }
.plan-copy p { color: rgba(238,243,249,0.7); margin-top: 18px; }
.plan-points {
  list-style: none;
  margin-top: 30px;
  border-top: 1px solid rgba(238,243,249,0.15);
}
.plan-points li {
  padding: 15px 0;
  border-bottom: 1px solid rgba(238,243,249,0.15);
  font-size: 0.95rem;
  color: rgba(238,243,249,0.7);
}
.plan-points strong { color: var(--sky); font-weight: 500; }

.plan-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(238,243,249,0.85);
}
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--sky);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(238,243,249,0.22);
  border-radius: var(--radius);
  padding: 13px 15px;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(238,243,249,0.35); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.08);
}
.field select option { color: var(--ink); }
.form-note { font-size: 0.78rem; color: rgba(238,243,249,0.5); text-align: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-deep);
  color: rgba(238,243,249,0.7);
  font-size: 0.88rem;
  border-top: 1px solid rgba(238,243,249,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.3fr;
  gap: 48px;
  padding-top: 76px;
  padding-bottom: 54px;
}
.footer-brand .brand { color: var(--sky); }
.footer-brand p { margin-top: 16px; max-width: 30ch; color: rgba(238,243,249,0.55); }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-badges span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(238,243,249,0.2);
  padding: 5px 12px;
  border-radius: var(--radius);
}
.footer-col h5 {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(238,243,249,0.45);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: rgba(238,243,249,0.78);
  text-decoration: none;
  padding: 5px 0;
  transition: color 160ms ease;
}
.footer-col a:hover { color: #fff; }
.footer-news p { color: rgba(238,243,249,0.55); margin-bottom: 16px; }
.news-form { display: flex; flex-direction: column; gap: 10px; }
.news-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.news-form input[type="text"], .news-form input[type="email"] {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--sky);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(238,243,249,0.18);
  border-radius: var(--radius);
  padding: 12px 13px;
  outline: none;
  width: 100%;
}
.news-form input:focus { border-color: var(--gold); }
.news-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.78rem;
  color: rgba(238,243,249,0.6);
  cursor: pointer;
  line-height: 1.5;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  height: 0;
  width: 0;
}
.news-note { font-size: 0.72rem; color: rgba(238,243,249,0.4); }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(238,243,249,0.1);
  font-size: 0.76rem;
  color: rgba(238,243,249,0.4);
}
.footer-base a { color: rgba(238,243,249,0.55); text-decoration: none; }
.footer-base a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .itin-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quiz-split,
  .plan-split { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .currency-picker { display: none; }
  .header-actions .btn { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { min-height: 280px; order: -1; }
  .hero-inner { padding: 48px 20px; }
  .section { padding: 72px 0; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .section-lede { justify-self: start; }
  .feature-grid, .itin-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .agent-split { flex-direction: column; align-items: flex-start; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .quiz-card { padding: 24px 20px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation-duration: 1ms; animation-delay: 0ms; }
}
