/* =========================================================
   MindKoncept — Design Tokens
========================================================= */
:root {
  --forest: #083B2D;
  --forest-deep: #062720;
  --forest-light: #0f4d3c;
  --gold: #C9A14A;
  --gold-light: #E4C57E;
  --ivory: #F8F5F0;
  --cream: #FAF8F4;
  --white: #FFFFFF;
  --dark: #1F2D24;
  --muted: #666666;
  --border: #E4DFD4;
  --radius: 12px;
  --shadow: 0 16px 40px -16px rgba(8,59,45,0.18);
  --shadow-sm: 0 6px 20px -8px rgba(8,59,45,0.14);
  --sans: 'Manrope', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--dark); background: var(--white); line-height: 1.62; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* =========================================================
   TYPOGRAPHY
========================================================= */
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 700; color: var(--dark); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); line-height: 1.18; }

/* =========================================================
   BUTTONS
========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 4px;
  font-weight: 700; font-size: 0.88rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: all .25s ease; white-space: nowrap;
}
.btn-lg { padding: 18px 36px; font-size: 0.9rem; }
.btn-gold { background: var(--gold); color: var(--forest); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 20px -6px rgba(201,161,74,0.5); }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,0.55); color: var(--white); background: rgba(255,255,255,0.06); }
.btn-outline-light:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.8); }
.btn-outline { border: 1.5px solid var(--border); color: var(--forest); background: transparent; }
.btn-outline:hover { background: var(--ivory); border-color: var(--forest); }
.btn-forest { background: var(--forest); color: var(--white); }
.btn-forest:hover { background: var(--forest-light); transform: translateY(-2px); }

/* =========================================================
   LOTUS DIVIDER
========================================================= */
.lotus-divider { display: flex; align-items: center; gap: 14px; margin: 16px 0 22px; }
.ld-line { height: 1.5px; width: 56px; background: var(--gold); opacity: 0.65; }
.lotus-sm .ld-line { width: 32px; }
.lotus-center { justify-content: center; }

/* =========================================================
   HEADER
========================================================= */
.header {
  position: sticky; top: 0; z-index: 200;
  background: var(--forest);
  transition: box-shadow .3s;
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 90px; gap: 20px;
}
.logo-block { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { color: var(--white); font-size: 1.08rem; font-weight: 800; letter-spacing: 0.08em; line-height: 1.15; }
.logo-sub { color: var(--gold); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.3; }
.logo-tagline { color: rgba(255,255,255,0.55); font-size: 0.58rem; letter-spacing: 0.04em; line-height: 1.4; margin-top: 1px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav > a, .nav-drop > button {
  color: rgba(255,255,255,0.92); font-size: 0.86rem; font-weight: 600;
  display: flex; align-items: center; gap: 5px; transition: color .2s;
}
.nav > a:hover, .nav-drop > button:hover { color: var(--gold); }
.nav-drop { position: relative; }
.nav-drop-menu {
  position: absolute; top: calc(100% + 12px); left: -12px;
  background: var(--white); border-radius: 8px;
  box-shadow: var(--shadow); min-width: 200px; padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(5px);
  transition: all .2s ease;
}
.nav-drop:hover .nav-drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop-menu a { display: block; padding: 9px 14px; border-radius: 6px; color: var(--dark); font-size: 0.86rem; font-weight: 600; }
.nav-drop-menu a:hover { background: var(--ivory); color: var(--forest); }

.header-right { display: flex; align-items: center; gap: 18px; }
.lang-btn {
  display: flex; align-items: center; gap: 7px;
  color: rgba(255,255,255,0.85); font-size: 0.84rem; font-weight: 600;
}
.flag-svg { border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,0.12); flex-shrink: 0; }
.btn-header {
  padding: 12px 26px; background: var(--gold);
  color: var(--forest); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 3px; transition: all .2s; border: none;
}
.btn-header:hover { background: var(--gold-light); }
.burger { display: none; flex-direction: column; gap: 4px; padding: 6px; }
.burger span { width: 22px; height: 2px; background: var(--white); display: block; }

/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative; min-height: 88vh;
  overflow: hidden;
  background: linear-gradient(120deg, #0d2f24, #2a4a3a 50%, #b98f4a 85%, #e9cf9a);
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(6,18,13,0.6) 0%, rgba(6,18,13,0.32) 44%, rgba(6,18,13,0) 64%),
    linear-gradient(0deg, rgba(6,18,13,0.2) 0%, transparent 16%);
}
.hero-body {
  position: relative; z-index: 1;
  max-width: 640px;
  margin-left: 9.2%;
  padding: 50px 0 50px 0;
}
.hero-eyebrow {
  text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.82rem; font-weight: 700;
  color: var(--gold); margin-bottom: 6px;
}
.hero-h1 {
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1.18; font-weight: 500;
  color: var(--white); letter-spacing: -0.005em;
  margin-bottom: 0;
}
.hero .lotus-divider { margin: 12px 0 12px; }
.hero .lotus-divider .ld-line { width: 80px; }
.hero-desc {
  color: rgba(255,255,255,0.88); font-size: 0.95rem;
  max-width: 480px; margin-bottom: 22px; line-height: 1.6;
}
.hero-btns { display: flex; flex-wrap: nowrap; gap: 14px; }
.hero-btns .btn { justify-content: center; padding: 13px 24px; font-size: 0.8rem; white-space: nowrap; }

/* Hero entrance animation */
.hero-body > * { opacity: 0; animation: fadeUp .75s ease forwards; }
.hero-eyebrow  { animation-delay: .1s; }
.hero-h1       { animation-delay: .2s; }
.hero-body .lotus-divider { animation-delay: .32s; }
.hero-desc     { animation-delay: .42s; }
.hero-btns     { animation-delay: .54s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   TRUST BAR
========================================================= */
.trust-bar { background: var(--forest); padding: 42px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.trust-row { display: flex; align-items: center; justify-content: center; gap: 50px; }
.trust-item { display: flex; align-items: flex-start; gap: 16px; }
.trust-icon { flex-shrink: 0; margin-top: 2px; }
.trust-title { color: var(--gold); font-size: 0.92rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.trust-desc { color: rgba(255,255,255,0.7); font-size: 0.84rem; line-height: 1.5; }
.trust-divider { width: 1px; height: 44px; background: rgba(255,255,255,0.15); flex-shrink: 0; }

/* =========================================================
   SERVICES STRIP
========================================================= */
.services-strip { background: var(--cream); padding: 52px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.services-row { display: flex; align-items: flex-start; justify-content: center; gap: 0; }
.svc-item {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 12px; padding: 14px 20px; flex: 1;
  transition: transform .25s, background .25s;
  border-radius: 8px;
}
.svc-item:hover { transform: translateY(-5px); background: var(--white); box-shadow: var(--shadow-sm); }
.svc-item svg { width: 44px; height: 44px; }
.svc-item span { font-size: 0.82rem; font-weight: 700; color: var(--dark); line-height: 1.35; }
.svc-div { width: 1px; height: 60px; background: var(--border); flex-shrink: 0; margin-top: 20px; }

/* =========================================================
   WHY NORTHERN THAILAND
========================================================= */
.why-section { padding: 100px 0; background: var(--white); }
.why-row { display: grid; grid-template-columns: .82fr 1.6fr; gap: 56px; align-items: start; }
.why-text h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.18; }
.why-text p { color: var(--muted); font-size: 0.96rem; margin-bottom: 28px; max-width: 380px; }
.why-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card { overflow: hidden; position: relative; isolation: isolate; border-radius: var(--radius); }
.why-card img {
  display: block; width: 100%; height: 185px; object-fit: cover;
  margin-bottom: 14px;
  background: linear-gradient(150deg, #dce9e2, #7ba190 60%, #2f4d43);
}
.why-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 5px; }
.why-card p { font-size: 0.84rem; color: var(--muted); line-height: 1.55; }

/* =========================================================
   QUOTE BANNER
========================================================= */
.quote-banner { background: var(--ivory); padding: 60px 0; text-align: center; }
.quote-text {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  color: var(--forest); max-width: 800px;
  margin: 0 auto 8px; line-height: 1.4;
  font-style: italic;
}

/* =========================================================
   WHY CHOOSE
========================================================= */
.choose-section { padding: 110px 0; background: var(--white); }
.sec-head { max-width: 600px; margin: 0 auto 52px; text-align: center; }
.sec-eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; font-weight: 700; color: var(--forest); margin-bottom: 12px; }
.choose-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; }
.choose-card { padding: 6px; }
.cn { font-family: var(--sans); font-size: 2.2rem; font-weight: 800; color: var(--gold); opacity: 0.45; display: block; margin-bottom: 10px; }
.choose-card h4 { margin-bottom: 10px; font-size: 1.06rem; }
.choose-card p { color: var(--muted); font-size: 0.92rem; }

/* =========================================================
   FINAL CTA
========================================================= */
.final-cta { background: var(--forest); padding: 110px 0; text-align: center; }
.final-cta h2 { color: var(--white); margin-bottom: 16px; }
.final-cta p { color: rgba(255,255,255,0.75); max-width: 540px; margin: 0 auto 32px; font-size: 1.02rem; }

/* =========================================================
   FOOTER
========================================================= */
.footer { background: var(--forest-deep); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-brand .logo-block { margin-bottom: 4px; }
.footer-slogan { color: rgba(255,255,255,0.5); font-size: 0.84rem; margin-top: 12px; }
.footer-col h5 { color: var(--gold); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; font-weight: 700; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,0.6); font-size: 0.86rem; margin-bottom: 11px; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { padding: 22px 0; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.78rem; }

/* =========================================================
   SCROLL REVEAL
========================================================= */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.rstagger.in-view > * { opacity: 1; transform: translateY(0); }
.rstagger > * { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.rstagger.in-view > *:nth-child(1) { transition-delay: .03s; }
.rstagger.in-view > *:nth-child(2) { transition-delay: .08s; }
.rstagger.in-view > *:nth-child(3) { transition-delay: .13s; }
.rstagger.in-view > *:nth-child(4) { transition-delay: .18s; }
.rstagger.in-view > *:nth-child(5) { transition-delay: .23s; }
.rstagger.in-view > *:nth-child(6) { transition-delay: .28s; }
.rstagger.in-view > *:nth-child(7) { transition-delay: .33s; }
.rstagger.in-view > *:nth-child(8) { transition-delay: .38s; }

/* =========================================================
   INNER PAGE HERO (shared)
========================================================= */
.page-hero { padding: 80px 0 68px; background: var(--forest); }
.page-hero .sec-eyebrow { color: var(--gold); }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.76); max-width: 600px; font-size: 1.02rem; }
.page-hero > * { opacity: 0; animation: fadeUp .7s ease forwards; }
.page-hero .sec-eyebrow { animation-delay: .05s; }
.page-hero h1 { animation-delay: .14s; }
.page-hero p { animation-delay: .22s; }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1100px) {
  .why-row { grid-template-columns: 1fr; }
  .why-cards { grid-template-columns: repeat(2, 1fr); }
  .choose-grid { grid-template-columns: repeat(2, 1fr); }
  .services-row { flex-wrap: wrap; justify-content: center; }
  .svc-div:nth-child(8) { display: none; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--forest); flex-direction: column; align-items: flex-start; padding: 20px 28px 28px; gap: 16px; box-shadow: var(--shadow); z-index: 100; }
  .nav.open { display: flex; }
  .lang-btn { display: none; }
  .burger { display: flex; }
  .container { padding: 0 20px; }
  .header-row { height: 66px; }
  .hero { min-height: 100vh; }
  .hero-body { margin-left: 20px; padding: 30px 20px 30px 0; max-width: 100%; }
  .hero-btns { flex-wrap: wrap; }
  .hero-btns .btn { min-width: unset; width: 100%; }
  .header-row { height: 70px; }
  .hero-btns { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .trust-row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .trust-divider { width: 100%; height: 1px; }
  .services-row { gap: 8px; }
  .svc-item { flex: 0 0 calc(50% - 8px); }
  .svc-div { display: none; }
  .why-cards { grid-template-columns: 1fr; }
  .choose-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .logo-tagline { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-body > *, .page-hero > *, .reveal, .rstagger > * { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   JOURNEY (about page)
========================================================= */
.journey-section { background: var(--forest); padding: 100px 0; }
.journey-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.journey-track::before { content: ""; position: absolute; top: 24px; left: 10%; right: 10%; height: 1px; background: rgba(201,161,74,0.35); }
.journey-step { text-align: center; position: relative; z-index: 1; }
.jdot {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--forest); border: 2px solid var(--gold);
  color: var(--gold); font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.journey-step h4 { color: var(--white); margin-bottom: 5px; font-size: 1rem; }
.journey-step p { color: rgba(255,255,255,0.6); font-size: 0.82rem; }
@media (max-width: 768px) { .journey-track { grid-template-columns: 1fr; } .journey-track::before { display: none; } }

/* =========================================================
   SPLIT SECTIONS (services page)
========================================================= */
.split-section { padding: 100px 0; background: var(--white); }
.split-section.alt { background: var(--ivory); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-grid.reverse { direction: ltr; }
.split-grid > * { min-width: 0; }
.split-img {
  display: block; width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius);
  overflow: hidden; min-width: 0; max-width: 100%;
  background: linear-gradient(150deg, #dfeee9, #7fae9f 55%, #33544a);
}
.split-text h2 { margin-bottom: 16px; }
.split-text .sec-eyebrow { margin-bottom: 10px; }
.body-text { color: var(--muted); font-size: 1rem; margin-bottom: 22px; }
.check-list { margin-bottom: 28px; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 13px; color: var(--dark); font-size: 0.94rem; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold); color: var(--forest);
  font-size: 0.65rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 900px) { .split-grid { grid-template-columns: 1fr; } .split-img { height: 300px; order: -1; } }

/* =========================================================
   DETAIL CARDS (services page)
========================================================= */
.detail-section { padding: 90px 0; background: var(--ivory); }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.detail-card { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.detail-card h4 { margin-bottom: 10px; color: var(--forest); }
.detail-card p { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }

/* =========================================================
   PHOTO HERO (why-thailand page)
========================================================= */
.photo-hero {
  position: relative; min-height: 52vh; display: flex; align-items: flex-end;
  overflow: hidden; padding: 0;
  background: linear-gradient(120deg, #0d2f24, #2a4a3a 50%, #8a7a4a);
}
.photo-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-hero-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,18,13,0.82) 0%, rgba(6,18,13,0.3) 60%, rgba(6,18,13,0.15) 100%); }

/* =========================================================
   LIFESTYLE GRID (why-thailand page)
   Cards use a layered radial-gradient "bokeh" treatment to read
   like a shallow-depth-of-field 85mm portrait (soft light
   pools + warm falloff) in place of real photography.
========================================================= */
.lifestyle-section { padding: 100px 0; background: var(--ivory); }
.lifestyle-intro { max-width: 640px; margin: -30px auto 50px; text-align: center; color: var(--muted); font-size: 1.02rem; line-height: 1.7; }
.lifestyle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lifestyle-card {
  min-height: 340px; border-radius: var(--radius);
  display: flex; align-items: flex-end; padding: 28px 26px;
  position: relative; overflow: hidden; isolation: isolate;
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
}
.lifestyle-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md, 0 18px 40px rgba(0,0,0,0.18)); }
.lifestyle-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.38) 42%, rgba(0,0,0,0.05) 68%, rgba(0,0,0,0.12) 100%);
  box-shadow: inset 0 0 70px rgba(0,0,0,0.35);
}
.lc-eyebrow { position: relative; z-index: 1; display: block; color: var(--gold, #C9A14A); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; }
.lifestyle-card h3 { position: relative; z-index: 1; color: #fff; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; line-height: 1.2; margin-bottom: 10px; }
.lifestyle-card p { position: relative; z-index: 1; color: rgba(255,255,255,0.88); font-size: 0.88rem; line-height: 1.6; margin: 0; }

/* Each card gets a base color-graded gradient plus two soft
   "bokeh" light pools of differing warmth/position, echoing an
   85mm f/1.4 shot: one crisp warm highlight, one diffused cool falloff. */
.lc-golf {
  background:
    radial-gradient(140px 140px at 82% 18%, rgba(255,255,255,0.32), transparent 62%),
    radial-gradient(220px 220px at 10% 82%, rgba(255,224,150,0.22), transparent 68%),
    linear-gradient(150deg, #dcead8, #7fa876 55%, #2f4a2c);
}
.lc-coffee {
  background:
    radial-gradient(150px 150px at 78% 22%, rgba(255,210,150,0.38), transparent 60%),
    radial-gradient(240px 240px at 12% 85%, rgba(90,55,30,0.35), transparent 70%),
    linear-gradient(150deg, #e7d3ba, #a67a4c 55%, #4a3220);
}
.lc-market {
  background:
    radial-gradient(150px 150px at 85% 20%, rgba(255,196,120,0.4), transparent 60%),
    radial-gradient(220px 220px at 15% 80%, rgba(255,140,60,0.22), transparent 65%),
    linear-gradient(150deg, #f2d9a0, #c98f4a 55%, #6b3f1f);
}
.lc-spa {
  background:
    radial-gradient(160px 160px at 80% 20%, rgba(255,255,255,0.4), transparent 62%),
    radial-gradient(230px 230px at 10% 85%, rgba(150,205,210,0.28), transparent 70%),
    linear-gradient(150deg, #dce7ea, #7fa0a8 55%, #33474c);
}
.lc-nature {
  background:
    radial-gradient(150px 150px at 80% 18%, rgba(255,255,255,0.34), transparent 62%),
    radial-gradient(230px 230px at 12% 82%, rgba(190,225,190,0.26), transparent 68%),
    linear-gradient(150deg, #d8e8dc, #6f9c7c 55%, #24392a);
}
.lc-culture {
  background:
    radial-gradient(150px 150px at 82% 20%, rgba(255,210,120,0.4), transparent 62%),
    radial-gradient(230px 230px at 12% 85%, rgba(180,120,50,0.28), transparent 68%),
    linear-gradient(150deg, #e9dcc7, #b28a52 55%, #4f371c);
}
@media (max-width: 900px) { .lifestyle-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .lifestyle-grid { grid-template-columns: 1fr; } .lifestyle-card { min-height: 260px; } }

/* =========================================================
   GUIDE SECTION (knowledge-center page)
========================================================= */
.guide-section { padding: 100px 0; background: var(--forest); }
.guide-grid { display: grid; grid-template-columns: 1fr .92fr; gap: 64px; align-items: start; }
.guide-text h2 { margin-bottom: 16px; }
.guide-points { margin-top: 8px; }
.guide-points li { position: relative; padding-left: 24px; margin-bottom: 11px; color: rgba(255,255,255,0.88); font-size: 0.92rem; }
.guide-points li::before { content: "◆"; position: absolute; left: 0; color: var(--gold); font-size: 0.55rem; top: 6px; }
.guide-form {
  background: var(--white); border-radius: var(--radius); padding: 34px;
  box-shadow: var(--shadow);
}
.guide-form h3 { margin-bottom: 20px; color: var(--forest); font-size: 1.3rem; }
.guide-form label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--dark); margin-bottom: 15px; }
.guide-form input, .guide-form select, .guide-form textarea {
  display: block; width: 100%; margin-top: 7px;
  padding: 11px 14px; border: 1px solid var(--border); border-radius: 7px;
  font-size: 0.92rem; color: var(--dark); font-family: var(--sans); resize: vertical;
}
.guide-form input:focus, .guide-form select:focus, .guide-form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
@media (max-width: 900px) { .guide-grid { grid-template-columns: 1fr; } }

/* =========================================================
   FAQ (knowledge-center page)
========================================================= */
.faq-section { padding: 100px 0; background: var(--ivory); }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 4px; font-weight: 700; font-size: 0.98rem; color: var(--dark); text-align: left;
}
.faq-q span { color: var(--gold); font-size: 1.3rem; transition: transform .2s; }
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 200px; }
.faq-a p { padding: 0 4px 20px; color: var(--muted); font-size: 0.93rem; }

/* =========================================================
   CONTACT PAGE
========================================================= */
.contact-section { padding: 90px 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-info h3 { color: var(--forest); margin-bottom: 14px; font-size: 1.3rem; }
.contact-dl { margin-top: 24px; }
.contact-dl dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); font-weight: 700; margin-bottom: 4px; margin-top: 18px; }
.contact-dl dt:first-child { margin-top: 0; }
.contact-dl dd { font-size: 0.98rem; color: var(--dark); font-weight: 600; }
.contact-dl a { color: var(--dark); }
.contact-dl a:hover { color: var(--gold); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* =========================================================
   COST TABLE (cost-of-living page) — additive component,
   reuses existing design tokens only.
========================================================= */
.cost-table-wrap { overflow-x: auto; margin: 10px 0 6px; }
.cost-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.cost-table th, .cost-table td { padding: 16px 22px; text-align: left; font-size: 0.92rem; border-bottom: 1px solid var(--border); }
.cost-table th { background: var(--forest); color: var(--white); font-weight: 700; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.08em; }
.cost-table tr:last-child td { border-bottom: none; }
.cost-table td.range { color: var(--forest); font-weight: 800; white-space: nowrap; }
.cost-table tr:nth-child(even) td { background: var(--ivory); }
.cost-note { font-size: 0.82rem; color: var(--muted); margin-top: 16px; font-style: italic; }
@media (max-width: 620px) { .cost-table th, .cost-table td { padding: 12px 14px; font-size: 0.84rem; } }

/* =========================================================
   INTERACTIVE TOOLS — Budget Calculator &amp; Visa Checker
   Additive components, built from existing tokens/forms only.
========================================================= */
.tool-section { padding: 100px 0; background: var(--forest); }
.tool-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 40px; max-width: 900px; margin: 0 auto;
}
.tool-card h3 { color: var(--forest); font-size: 1.3rem; margin-bottom: 8px; }
.tool-card > p.tool-intro { color: var(--muted); font-size: 0.92rem; margin-bottom: 28px; }
.tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 24px; margin-bottom: 28px; }
.tool-field label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.tool-field select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 7px;
  font-size: 0.9rem; color: var(--dark); font-family: var(--sans); background: var(--white);
}
.tool-field select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.tool-actions { text-align: center; }
.tool-result {
  margin-top: 30px; padding: 26px 28px; border-radius: var(--radius);
  background: var(--ivory); border: 1px solid var(--border); display: none;
}
.tool-result.show { display: block; }
.tool-result .result-figure { font-family: var(--serif); font-size: 2.1rem; color: var(--forest); font-weight: 600; margin-bottom: 6px; }
.tool-result .result-sub { color: var(--muted); font-size: 0.86rem; margin-bottom: 16px; }
.tool-result ul { margin-bottom: 18px; }
.tool-result li { display: flex; justify-content: space-between; font-size: 0.86rem; color: var(--dark); padding: 7px 0; border-bottom: 1px solid var(--border); }
.tool-result li:last-child { border-bottom: none; }
.tool-result li span:last-child { font-weight: 700; color: var(--forest); }
.tool-result .result-note { font-size: 0.78rem; color: var(--muted); font-style: italic; margin-top: 10px; }
.tool-result .result-badge {
  display: inline-block; background: var(--gold); color: var(--forest);
  font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 5px 12px; border-radius: 20px; margin-bottom: 12px;
}
@media (max-width: 620px) { .tool-grid { grid-template-columns: 1fr; } .tool-card { padding: 26px 22px; } }

/* =========================================================
   BLOG — index grid, article hero &amp; article body.
   Cover art uses the same layered-gradient "bokeh" treatment
   as the Lifestyle cards (see LIFESTYLE GRID above) rather
   than photography, for the reasons noted in-repo.
========================================================= */
.blog-section { padding: 100px 0; background: var(--ivory); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; isolation: isolate; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-thumb { height: 190px; position: relative; overflow: hidden; isolation: isolate; }
.blog-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-cat { color: var(--gold); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.blog-card-body h3 { font-size: 1.08rem; line-height: 1.3; margin-bottom: 10px; }
.blog-card-body p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; margin-bottom: 16px; flex: 1; }
.blog-read { color: var(--forest); font-size: 0.82rem; font-weight: 700; }
.blog-read::after { content: " →"; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }

/* Article hero — same bokeh technique as .lifestyle-card, taller and centered for a magazine cover feel */
.article-hero {
  min-height: 46vh; border-radius: 0; display: flex; align-items: flex-end;
  position: relative; overflow: hidden; padding: 60px 0 46px;
}
.article-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(6,18,13,0.78) 0%, rgba(6,18,13,0.42) 46%, rgba(6,18,13,0.1) 100%);
  box-shadow: inset 0 0 90px rgba(0,0,0,0.3);
}
.article-hero .container { position: relative; z-index: 1; }
.article-hero .sec-eyebrow { color: var(--gold); }
.article-hero h1 { color: var(--white); font-size: clamp(1.9rem, 3.6vw, 2.7rem); max-width: 780px; margin-bottom: 14px; }
.article-hero .article-meta { color: rgba(255,255,255,0.72); font-size: 0.84rem; }
.article-hero .article-meta span + span::before { content: "·"; margin: 0 8px; opacity: .7; }

/* Article body — centered reading column */
.article-section { padding: 70px 0 100px; background: var(--white); }
.article-body { max-width: 720px; margin: 0 auto; }
.article-body p { color: var(--dark); font-size: 1.02rem; line-height: 1.8; margin-bottom: 22px; }
.article-body h2 { font-size: 1.5rem; margin: 44px 0 18px; }
.article-body h3 { font-size: 1.18rem; margin: 32px 0 14px; color: var(--forest); }
.article-body ul, .article-body ol { margin: 0 0 22px 22px; }
.article-body li { color: var(--dark); font-size: 1rem; line-height: 1.8; margin-bottom: 10px; }
.article-body blockquote { border-left: 3px solid var(--gold); padding: 4px 0 4px 22px; margin: 30px 0; font-family: var(--serif); font-size: 1.2rem; font-style: italic; color: var(--forest); }
.article-cta { background: var(--ivory); border-radius: var(--radius); padding: 28px 30px; margin: 40px 0; text-align: center; }
.article-cta p { margin-bottom: 16px; font-weight: 700; color: var(--forest); }
.article-disclaimer { font-size: 0.82rem; color: var(--muted); font-style: italic; border-top: 1px solid var(--border); padding-top: 18px; margin-top: 10px; }
.article-back { display: inline-block; margin-bottom: 30px; color: var(--forest); font-weight: 700; font-size: 0.88rem; }
.article-back::before { content: "← "; }

/* Bokeh cover-art palettes, one per article — same layered-gradient
   technique as .lc-* on why-thailand.html, extended with new tones. */
.bh-reasons { background: radial-gradient(150px 150px at 80% 20%, rgba(255,255,255,0.34), transparent 62%), radial-gradient(230px 230px at 12% 82%, rgba(255,210,120,0.26), transparent 68%), linear-gradient(150deg, #e9dcc7, #b28a52 55%, #4f371c); }
.bh-places { background: radial-gradient(150px 150px at 78% 20%, rgba(255,255,255,0.32), transparent 60%), radial-gradient(230px 230px at 12% 84%, rgba(160,200,190,0.28), transparent 68%), linear-gradient(150deg, #d8e8e2, #6f9c94 55%, #23453f); }
.bh-daylife { background: radial-gradient(150px 150px at 82% 18%, rgba(255,224,150,0.35), transparent 62%), radial-gradient(230px 230px at 10% 82%, rgba(255,180,120,0.22), transparent 68%), linear-gradient(150deg, #f0dcc0, #c9954f 55%, #5c3c1c); }
.bh-visa { background: radial-gradient(150px 150px at 80% 20%, rgba(255,255,255,0.3), transparent 62%), radial-gradient(230px 230px at 12% 84%, rgba(180,190,220,0.24), transparent 68%), linear-gradient(150deg, #dbe2ea, #6d7fa0 55%, #29344a); }
.bh-budget { background: radial-gradient(150px 150px at 80% 20%, rgba(255,220,150,0.35), transparent 62%), radial-gradient(230px 230px at 12% 84%, rgba(230,180,110,0.26), transparent 68%), linear-gradient(150deg, #efe0c4, #ba8f52 55%, #543a1e); }
.bh-hospital { background: radial-gradient(150px 150px at 80% 20%, rgba(255,255,255,0.4), transparent 62%), radial-gradient(230px 230px at 12% 84%, rgba(150,205,210,0.26), transparent 68%), linear-gradient(150deg, #dce7ea, #7fa0a8 55%, #33474c); }
.bh-senior { background: radial-gradient(150px 150px at 80% 20%, rgba(255,255,255,0.34), transparent 62%), radial-gradient(230px 230px at 12% 84%, rgba(210,190,220,0.24), transparent 68%), linear-gradient(150deg, #e6dfe8, #9a86a8 55%, #3c2f47); }
.bh-golf { background: radial-gradient(150px 150px at 82% 18%, rgba(255,255,255,0.32), transparent 62%), radial-gradient(230px 230px at 10% 82%, rgba(255,224,150,0.22), transparent 68%), linear-gradient(150deg, #dcead8, #7fa876 55%, #2f4a2c); }
.bh-food { background: radial-gradient(150px 150px at 78% 22%, rgba(255,210,150,0.38), transparent 60%), radial-gradient(240px 240px at 12% 85%, rgba(200,90,60,0.28), transparent 70%), linear-gradient(150deg, #f0d3ba, #b5623f 55%, #4a2317); }
.bh-moving { background: radial-gradient(150px 150px at 80% 20%, rgba(255,255,255,0.34), transparent 62%), radial-gradient(230px 230px at 12% 84%, rgba(190,225,190,0.24), transparent 68%), linear-gradient(150deg, #d8e8dc, #6f9c7c 55%, #24392a); }

/* =========================================================
   Shared "cover photo" utility — an absolutely-positioned,
   object-fit:cover <img> used as the background layer for
   lifestyle cards, blog thumbnails and article heroes, sitting
   beneath the existing gradient overlay + text.
========================================================= */
.card-photo-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.blog-thumb .card-photo-bg { border-radius: 0; }
.article-hero .card-photo-bg { z-index: 0; }

/* =========================================================
   GLOBAL GRID-BLOWOUT SAFETY NET
   CSS Grid items default to min-width:auto, which uses the
   intrinsic size of content (e.g. a large photo's natural
   pixel width) as a floor — this can silently force a grid
   track wider than its visual 1fr allocation, misaligning
   border-radius clips and any content near that edge, even
   though max-width:100% is already set above. Overriding
   min-width to 0 on every grid's direct children removes
   that floor everywhere a grid is used on this site.
========================================================= */
.why-row > *, .why-cards > *, .choose-grid > *, .journey-track > *,
.split-grid > *, .detail-grid > *, .lifestyle-grid > *, .guide-grid > *,
.contact-grid > *, .tool-grid > *, .blog-grid > *, .footer-grid > * {
  min-width: 0;
}
