/* ==========================================================
   SDC HOLIDAYS — stylesheet
   Change the values in :root below to restyle the whole site.
   ========================================================== */

:root {
  --gold:        #c9a84c;   /* brand accent */
  --gold-soft:   #e2c780;   /* hover accent */
  --ink:         #1a1a1a;   /* headings */
  --text:        #262626;   /* body text */
  --muted:       #737373;   /* secondary text */
  --border:      #e5e2dc;   /* hairlines */
  --bg:          #ffffff;   /* page background */
  --bg-soft:     #faf9f7;   /* alternating band background */

  --font-display: "Urbanist", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;   /* headings */
  --font-body:    "Epilogue", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;   /* body copy */

  --wrap:        1200px;    /* max content width */
  --section-pad: 96px;      /* vertical rhythm */
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

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

.eyebrow {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold); margin: 0;
}
.eyebrow.light { color: var(--gold-soft); }

.link-underline {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid var(--gold);
  padding-bottom: 4px; transition: color .2s;
}
.link-underline:hover { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; text-decoration: none; line-height: 1; }
.brand-logo { height: 44px; width: auto; display: block; }
.brand-cn { font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: .3em; color: var(--ink); }
.brand-en { margin-top: 6px; font-size: 10px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 30px; }

/* ---------- Destinations dropdown ---------- */
.nav-item { position: relative; display: flex; align-items: center; height: 80px; }
.nav-item > .sub-trigger {
  display: inline-flex; align-items: center; gap: 8px; height: 100%;
  appearance: none; background: transparent; border: 0; border-radius: 0; cursor: pointer; padding: 0;
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  line-height: 1; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); transition: color .2s;
}
.nav-item > .sub-trigger::after {
  content: ""; width: 6px; height: 6px; margin-top: -3px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg); transition: transform .25s, margin .25s;
}
.nav-item > .sub-trigger:hover,
.nav-item.open > .sub-trigger,
.nav-item:hover > .sub-trigger { color: var(--gold); }
.nav-item.open > .sub-trigger::after { transform: rotate(-135deg); margin-top: 2px; }

.nav-item .sub {
  position: absolute; top: 100%; left: 0;
  display: flex; flex-direction: column; gap: 2px; min-width: 240px;
  padding: 10px; background: var(--bg);
  border: 1px solid var(--border); box-shadow: 0 24px 60px rgba(0,0,0,.10);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-item.open .sub {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0);
}
.nav-item .sub a {
  display: block; padding: 12px 14px; letter-spacing: .16em; font-size: 10.5px;
  color: var(--ink); white-space: nowrap; transition: background .18s, color .18s;
}
.nav-item .sub a:hover { background: var(--accent, rgba(0,0,0,.04)); color: var(--gold); }
.nav-item .sub a[target="_blank"]::after { content: " \2197"; opacity: .55; }


.nav a { letter-spacing: .16em;
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color .2s;
}
.nav a:hover { color: var(--gold); }
.btn-outline {
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  border: 1px solid var(--gold); padding: 12px 24px; text-decoration: none;
  color: var(--ink); transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--gold); color: #fff; }

/* ---------- Hero ---------- */
.hero-section { padding-top: 56px; padding-bottom: 32px; }
.hero { position: relative; overflow: hidden; }
.hero img { width: 100%; height: 62vh; min-height: 420px; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,20,20,.72), rgba(20,20,20,.18) 55%, transparent); }
.hero-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px; }
.hero-copy h1 { margin-top: 16px; max-width: 780px; font-size: clamp(34px, 5vw, 60px); font-weight: 600; line-height: 1.05; color: #fff; }
.hero-sub { margin-top: 16px; max-width: 540px; font-size: 14px; color: rgba(255,255,255,.82); }

.enquiry-bar {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 1px; background: var(--border); border: 1px solid var(--border);
}
.enquiry-bar label { display: flex; flex-direction: column; gap: 4px; background: #fff; padding: 20px 24px; }
.enquiry-bar span { font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.enquiry-bar input, .enquiry-bar select {
  border: 0; background: transparent; font-family: var(--font-body); font-size: 14px; color: var(--text); outline: none;
}
.enquiry-bar button {
  border: 0; cursor: pointer; background: var(--gold); color: #fff;
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase; padding: 20px 40px; transition: background .2s;
}
.enquiry-bar button:hover { background: var(--gold-soft); }
.fineprint { margin-top: 12px; font-size: 11px; color: var(--muted); }
.fineprint a { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* ---------- Steps ---------- */
.steps-section { padding: 80px 24px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); }
.step { background: #fff; padding: 40px 32px; }
.step-n { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .3em; color: var(--gold); }
.step h3 { margin-top: 16px; font-size: 20px; font-weight: 600; }
.step p { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* ---------- Bands ---------- */
.band { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: var(--section-pad) 0; }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head h2 { margin-top: 12px; font-size: 36px; font-weight: 600; }

/* ---------- Tour cards ---------- */
.tours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; }
.tour { display: flex; flex-direction: column; background: #fff; }
.tour-media { position: relative; overflow: hidden; }
.tour-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s cubic-bezier(.19,1,.22,1); }
.tour:hover .tour-media img { transform: scale(1.05); }
.tour-days {
  position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,.92);
  padding: 4px 12px; font-family: var(--font-display); font-size: 10px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
}
.tour-body { display: flex; flex-direction: column; flex: 1; padding: 28px; }
.tour-window { font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.tour-body h3 { margin-top: 12px; font-size: 24px; font-weight: 600; }
.tour-text { margin-top: 16px; font-size: 14px; color: var(--muted); }
.tour-features { list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--border); }
.tour-features li { position: relative; padding-left: 18px; font-size: 13px; margin-bottom: 8px; }
.tour-features li::before { content: ""; position: absolute; left: 0; top: 10px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.tour-foot { margin-top: auto; padding-top: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.tour-price { font-family: var(--font-display); font-size: 14px; font-weight: 600; }
.centered-note { margin-top: 56px; text-align: center; font-size: 14px; color: var(--muted); }
.centered-note a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* ---------- Promises ---------- */
.promises { padding: var(--section-pad) 24px; }
.promises-title { margin-top: 12px; max-width: 720px; font-size: 36px; font-weight: 600; line-height: 1.25; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 64px; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.stack { display: grid; gap: 48px; }
.mini-head { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.split p, .stack p { margin-top: 20px; color: var(--muted); }

/* ---------- Partners ---------- */
.partners { padding: 64px 0; }
.partners-label { text-align: center; font-size: 10px; letter-spacing: .4em; text-transform: uppercase; color: var(--muted); }
.partner-row { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 32px 64px; }
.partner-row span { font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.partner-row img { max-height: 40px; width: auto; opacity: .6; }

/* ---------- Contact ---------- */
.contact { padding: var(--section-pad) 24px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-grid h2 { margin-top: 12px; font-size: 36px; font-weight: 600; line-height: 1.25; }
.contact-sub { margin-top: 20px; max-width: 460px; color: var(--muted); }
.contact-details { margin: 40px 0 0; display: grid; gap: 16px; font-size: 14px; }
.contact-details > div { display: flex; gap: 16px; }
.contact-details dt { width: 96px; font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.contact-details dd { margin: 0; }

.contact-form { border: 1px solid var(--border); padding: 32px; display: grid; gap: 24px; align-content: start; }
.contact-form label { display: block; }
.contact-form label > span { font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  margin-top: 8px; width: 100%; border: 0; border-bottom: 1px solid var(--border);
  background: transparent; padding: 8px 0; font-family: var(--font-body); font-size: 14px;
  color: var(--text); outline: none; resize: none;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-bottom-color: var(--gold); }
.contact-form .checkbox > span { font-size: 12px; letter-spacing: normal; text-transform: none; color: var(--muted); }
.contact-form .checkbox { display: flex; align-items: flex-start; gap: 12px; font-size: 12px; color: var(--muted); }
.contact-form .checkbox input { accent-color: var(--gold); margin-top: 3px; }
.contact-form button {
  border: 0; cursor: pointer; background: var(--gold); color: #fff; padding: 16px;
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; transition: background .2s;
}
.contact-form button:hover { background: var(--gold-soft); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--gold); }

/* ---------- Mobile menu button (hidden on desktop) ---------- */
.menu-button { display: none; }
.menu-toggle { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .tours { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .split, .contact-grid { gap: 40px; }
}

@media (max-width: 900px) {
  :root { --section-pad: 56px; }
  .header-inner { height: 68px; gap: 16px; }
  .brand-logo { height: 36px; }

  /* Mobile menu */
  .menu-button {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; padding: 10px; margin-left: auto; cursor: pointer;
    border: 1px solid var(--border);
  }
  .menu-button span { display: block; height: 1px; background: var(--ink); transition: transform .25s, opacity .2s; }
  .nav {
    position: fixed; top: 68px; left: 0; right: 0;
    display: none; flex-direction: column; align-items: flex-start; gap: 0;
    padding: 8px 24px 24px;
    background: var(--bg); border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 40px rgba(0,0,0,.08);
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .menu-toggle:checked ~ .nav { display: flex; }
  .nav > a { display: block; width: 100%; padding: 16px 0; font-size: 12px; border-bottom: 1px solid var(--border); }
  .nav-item { width: 100%; height: auto; }
  .nav-item > .sub-trigger {
    display: flex; width: 100%; justify-content: space-between;
    padding: 16px 0; font-size: 12px; border-bottom: 1px solid var(--border);
  }
  .nav-item .sub {
    position: static; transform: none; margin: 0; padding: 0 0 0 16px;
    border: 0; box-shadow: none; min-width: 0; gap: 0; background: transparent;
    opacity: 1; visibility: visible; pointer-events: auto;
    display: none;
  }
  .nav-item:hover .sub, .nav-item:focus-within .sub { display: none; }
  .nav-item.open .sub { display: flex; padding-bottom: 8px; }
  .nav-item .sub a { padding: 12px 0; font-size: 11px; color: var(--muted); border-bottom: 0; }
  .nav-item .sub a:hover { background: transparent; }
  .site-header .btn-outline { padding: 10px 16px; font-size: 10px; }

  /* Hero */
  .hero-section { padding-top: 24px; }
  .hero img { height: 68vh; min-height: 380px; }
  .hero-copy { padding: 24px 20px 28px; }
  .hero-copy h1 { font-size: clamp(28px, 8vw, 42px); }
  .hero-sub { font-size: 13px; }
  .enquiry-bar { grid-template-columns: 1fr; }
  .enquiry-bar button { padding: 18px; }

  /* Cards & sections */
  .steps { grid-template-columns: 1fr; }
  .tours { grid-template-columns: 1fr; gap: 32px; margin-top: 36px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { justify-content: center; text-align: center; }
}

/* ---------- All destinations page ---------- */
.destination-hero { position: relative; height: 52vh; min-height: 410px; overflow: hidden; }
.destination-hero > img { width: 100%; height: 100%; object-fit: cover; }
.destination-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,20,18,.78), rgba(20,20,18,.08)); }
.destination-hero-copy { position: absolute; z-index: 1; left: max(24px, calc((100% - var(--wrap))/2 + 24px)); right: 24px; bottom: 56px; color: white; }
.destination-hero-copy h1 { margin-top: 14px; color: white; font-size: clamp(46px, 7vw, 76px); }
.destination-hero-copy > p:last-child { margin-top: 16px; max-width: 580px; color: rgba(255,255,255,.8); }
.destination-list { padding-top: 80px; padding-bottom: 80px; }
.destination-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; padding-bottom: 96px; margin-bottom: 96px; border-bottom: 1px solid var(--border); }
.destination-detail.reverse > img { order: 2; }
.destination-detail > img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.destination-detail h2 { margin-top: 12px; font-size: clamp(38px, 5vw, 54px); }
.destination-detail h2 + p { margin-top: 20px; color: var(--muted); line-height: 1.8; }
.destination-detail ol { counter-reset: days; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; padding: 0; margin: 28px 0 0; list-style: none; }
.destination-detail li { counter-increment: days; display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--border); font-size: 13px; }
.destination-detail li::before { content: counter(days, decimal-leading-zero); color: var(--gold); }
.destination-tip { margin-top: 28px; padding-left: 18px; border-left: 2px solid var(--gold); color: var(--muted); font-size: 13px; line-height: 1.7; }
.destination-actions { display: flex; gap: 28px; margin-top: 28px; }
.destination-actions a { padding-bottom: 4px; border-bottom: 1px solid var(--gold); font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
@media (max-width: 900px) {
  .destination-nav { display: flex; position: static; padding: 0; box-shadow: none; border: 0; flex-direction: row; }
  .destination-detail { grid-template-columns: 1fr; gap: 32px; margin-bottom: 64px; padding-bottom: 64px; }
  .destination-detail.reverse > img { order: 0; }
}
@media (max-width: 560px) {
  .destination-nav { display: none; }
  .destination-hero { min-height: 360px; }
  .destination-detail ol { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --section-pad: 44px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .hero img { height: 62vh; min-height: 340px; }
  .tours { gap: 28px; }
  .contact-form, .steps > * { padding: 24px 20px; }
}

/* Spam trap field - hidden from real visitors */
.hp-field{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}

/* ===== Simplified Chinese typography adjustments ===== */
:lang(zh-CN) .eyebrow,
:lang(zh-CN) .nav a,
:lang(zh-CN) .btn-outline,
:lang(zh-CN) .mini-head,
:lang(zh-CN) .link-underline,
:lang(zh-CN) .partner-row span,
:lang(zh-CN) .step-n,
:lang(zh-CN) .tour-days,
:lang(zh-CN) button,
:lang(zh-CN) label span,
:lang(zh-CN) .destination-actions a {
  letter-spacing: .08em;
  text-transform: none;
}
:lang(zh-CN) body { line-height: 1.85; }
:lang(zh-CN) h1, :lang(zh-CN) h2, :lang(zh-CN) h3 { letter-spacing: 0; }
