/* =========================================================
   DiDi Bike Thailand — demo site styles
   Palette: jade green + Thai gold + warm cream (vs. Vietnam's cooler green)
   Type: Kanit (display) + IBM Plex Sans Thai / Noto Sans SC (body)
   ========================================================= */

:root {
  --ink: #14231d;
  --ink-soft: #33453d;
  --muted: #5f7168;
  --jade: #0f7a5a;
  --jade-deep: #0a5c43;
  --jade-dark: #073f2e;
  --mint: #c9ecd9;
  --gold: #c8912f;
  --gold-soft: #e2c084;
  --gold-pale: #f7edd8;
  --cream: #fbf8f2;
  --sand: #f4ead9;
  --white: #ffffff;
  --line: #e4ddcd;
  --shadow: 0 18px 45px rgba(20, 35, 29, .10);
  --shadow-sm: 0 8px 22px rgba(20, 35, 29, .07);
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --font-display: 'Kanit', 'Noto Sans SC', 'Outfit', 'Helvetica Neue', sans-serif;
  --font-body: 'IBM Plex Sans Thai', 'Noto Sans SC', 'Outfit', 'Helvetica Neue', sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
body[data-lang="en"], body[data-lang="zh"] { line-height: 1.7; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.24; margin: 0; letter-spacing: .01em; }
body[data-lang="th"] h1, body[data-lang="th"] h2, body[data-lang="th"] h3 { line-height: 1.34; }

.section { padding: 96px 24px; }
main > .section, main > .hero, main > footer { max-width: 100%; }

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

/* ---------- shared bits ---------- */
.section-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-kicker i { font-style: normal; font-size: .7rem; }
.section-kicker.light { color: var(--gold-soft); }

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  margin-bottom: 0;
}
h2 span {
  color: var(--jade);
  position: relative;
  background-image: linear-gradient(transparent 78%, rgba(200, 145, 47, .35) 78%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.section-head {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 54px;
}
.section-head p { margin: 0 0 6px; color: var(--muted); max-width: 46ch; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 0 28px;
  height: 72px;
  background: rgba(251, 248, 242, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(20, 35, 29, .06);
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a {
  font-size: .92rem; font-weight: 500; color: var(--ink-soft);
  position: relative; padding: 4px 0; white-space: nowrap;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--gold); transition: right .28s ease;
}
.main-nav a:hover::after { right: 0; }

.header-right { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white);
}
.lang-btn {
  border: 0; background: transparent; cursor: pointer;
  font-size: .76rem; font-weight: 600; letter-spacing: .04em;
  color: var(--muted); padding: 5px 11px; border-radius: 999px;
  transition: background .2s, color .2s;
}
.lang-btn:hover { color: var(--jade-deep); }
.lang-btn.is-active { background: var(--jade); color: var(--white); }
.lang-sep { width: 1px; height: 14px; background: var(--line); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--jade); color: var(--white);
  padding: 10px 20px; border-radius: 999px;
  font-size: .9rem; font-weight: 600; white-space: nowrap;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 8px 20px rgba(15, 122, 90, .22);
}
.nav-cta:hover { background: var(--jade-deep); transform: translateY(-1px); }
.nav-cta span { font-size: .85em; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: transparent; border: 0; padding: 8px; cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: 74px 28px 0;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='52' viewBox='0 0 52 52'%3E%3Cg fill='none' stroke='%23c8912f' stroke-opacity='0.16' stroke-width='1'%3E%3Cpath d='M26 8l7 14-7 14-7-14z'/%3E%3Ccircle cx='26' cy='44' r='2.4'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 78%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 460px at 84% -8%, rgba(226, 192, 132, .30), transparent 62%),
    radial-gradient(760px 420px at -6% 100%, rgba(15, 122, 90, .12), transparent 60%);
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: 54px; align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--jade-deep);
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  margin: 0 0 22px;
}
.eyebrow i { width: 26px; height: 1px; background: var(--gold); }

.hero-copy h1 { font-size: clamp(2.3rem, 4.6vw, 3.75rem); margin-bottom: 20px; }
.hero-copy h1 span { color: var(--jade); }

.hero-lead { color: var(--muted); font-size: 1.06rem; max-width: 44ch; margin: 0 0 30px; }

.hero-actions { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.hero-app-row { display: flex; flex-wrap: wrap; gap: 12px; }

.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px; border-radius: 14px;
  background: var(--ink); color: var(--white);
  transition: transform .2s, box-shadow .2s;
  box-shadow: var(--shadow-sm);
}
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.store-badge small { display: block; font-size: .62rem; opacity: .78; line-height: 1.2; }
.store-badge b { display: block; font-size: .92rem; font-weight: 600; line-height: 1.2; }

.partner-link {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--jade-deep); font-weight: 600; font-size: .95rem;
  border-bottom: 1.5px solid rgba(10, 92, 67, .28); padding-bottom: 3px;
  transition: border-color .2s, color .2s;
}
.partner-link:hover { color: var(--gold); border-color: var(--gold); }

.hero-image { position: relative; }
.hero-image img,
.hero-image .hero-video {
  width: 100%; aspect-ratio: 16 / 11; object-fit: cover;
  border-radius: 160px 160px var(--r-lg) var(--r-lg);
  box-shadow: var(--shadow);
  display: block; background: var(--jade-dark);
}
.hero-image::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  border: 1.5px solid rgba(200, 145, 47, .55);
  border-radius: 160px 160px var(--r-lg) var(--r-lg);
  z-index: -1;
}

.hero-benefits {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 40px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  padding-bottom: 54px;
}
.hero-benefits > div {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 20px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  font-weight: 600; color: var(--jade-deep);
  box-shadow: var(--shadow-sm);
}
.hero-benefits b { color: var(--gold); font-size: 1.05rem; }

.kanok-divider {
  position: relative; height: 40px; color: rgba(200, 145, 47, .5);
  background: linear-gradient(180deg, var(--cream), var(--white));
}
.kanok-divider svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* =========================================================
   ABOUT
   ========================================================= */
.about { background: var(--white); }
.about-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: .95fr 1.05fr; gap: 62px;
}
.about-head h2 { margin-bottom: 30px; }

.year-card {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 22px 28px; border-radius: var(--r-md);
  background: var(--jade-dark); color: var(--white);
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.year-card::after {
  content: ""; position: absolute; right: -34px; top: -34px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 192, 132, .32), transparent 70%);
}
.year-card strong {
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 600;
  color: var(--gold-soft); line-height: 1;
}
.year-card small { font-size: .92rem; line-height: 1.5; opacity: .92; }

.about-copy p { margin: 0 0 20px; color: var(--ink-soft); }
.about-copy .lead { font-size: 1.18rem; font-weight: 500; color: var(--ink); }

.about-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.about-pills span {
  padding: 8px 18px; border-radius: 999px;
  background: var(--gold-pale); border: 1px solid rgba(200, 145, 47, .3);
  color: #8a6416; font-size: .88rem; font-weight: 600;
}

/* =========================================================
   HOW — ride & return guide (poster)
   ========================================================= */
.how { background: var(--white); }

.ride-guide {
  max-width: 1120px; margin: 0 auto;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.rg-head {
  display: flex; justify-content: space-between; align-items: center; gap: 26px;
  background: var(--jade-dark); color: var(--white);
  padding: 30px 38px;
  position: relative; overflow: hidden;
}
.rg-head::after {
  content: ""; position: absolute; right: -70px; top: -70px;
  width: 230px; height: 230px; border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 192, 132, .28), transparent 70%);
}
.rg-head-copy { position: relative; z-index: 1; }
.rg-kicker {
  display: inline-block;
  font-family: var(--font-display); font-size: .72rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 8px;
}
.rg-head h3 { font-size: clamp(1.45rem, 2.4vw, 2rem); margin-bottom: 6px; }
.rg-head h3 span { color: var(--gold-soft); }
.rg-head p { margin: 0; font-size: .95rem; color: rgba(255, 255, 255, .78); }
.rg-logo { height: 32px; width: auto; flex: none; position: relative; z-index: 1; }

.rg-body {
  display: grid; grid-template-columns: 1fr .95fr 1fr;
  align-items: stretch;
}
.rg-art { margin: 0; background: linear-gradient(180deg, #eaf6ef, #dcefe4); }
.rg-art img { width: 100%; height: 100%; object-fit: cover; }

.rg-col { padding: 26px 26px 18px; }
.rg-col-tag {
  display: inline-block; padding: 6px 15px; border-radius: 999px;
  background: rgba(15, 122, 90, .09); color: var(--jade-deep);
  border: 1px solid rgba(15, 122, 90, .24);
  font-family: var(--font-display); font-size: .7rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  margin-bottom: 6px;
}
.rg-col-tag.is-return {
  background: rgba(200, 145, 47, .1); color: #8a6416;
  border-color: rgba(200, 145, 47, .36);
}

.rg-step {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 15px 0; border-bottom: 1px dashed var(--line);
}
.rg-step:last-child { border-bottom: 0; }
.rg-num {
  flex: none; width: 24px;
  font-family: var(--font-display); font-size: .82rem; font-weight: 600;
  color: var(--gold); padding-top: 4px;
}
.rg-icon {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(15, 122, 90, .09); color: var(--jade-deep);
}
.rg-icon svg { width: 18px; height: 18px; }
.rg-step h4 { font-family: var(--font-display); font-size: .97rem; font-weight: 600; line-height: 1.4; margin: 0 0 2px; }
.rg-step p { margin: 0; font-size: .8rem; color: var(--muted); line-height: 1.55; }

.rg-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 16px 38px;
  background: var(--gold-pale); border-top: 1px solid rgba(200, 145, 47, .22);
  color: #8a6416; font-size: .88rem; font-weight: 600;
}
.rg-foot span { display: inline-flex; align-items: center; gap: 8px; }
.rg-foot svg { flex: none; }

/* =========================================================
   NEAR — operating zones
   ========================================================= */
.near { background: var(--white); }

.location-block {
  max-width: var(--max); margin: 0 auto 58px;
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: 40px; align-items: start;
}
.location-title { display: flex; gap: 20px; }
.location-title > span {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 600;
  color: transparent; -webkit-text-stroke: 1.5px rgba(200, 145, 47, .75);
  line-height: 1;
}
.location-title .chip {
  display: inline-block; font-family: var(--font-display);
  font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px; margin: 0 6px 10px 0;
}
.chip.is-live { background: rgba(15, 122, 90, .1); color: var(--jade-deep); border: 1px solid rgba(15, 122, 90, .25); }
.chip.is-type { background: rgba(200, 145, 47, .12); color: #8a6416; border: 1px solid rgba(200, 145, 47, .35); }

.location-title h3 { font-size: 1.6rem; margin: 6px 0 10px; }
.location-title p { margin: 0; color: var(--muted); font-size: .98rem; }

.location-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.location-gallery img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--r-md);
  transition: transform .3s, box-shadow .3s;
}
.location-gallery img:nth-child(2) { border-radius: 90px 90px var(--r-md) var(--r-md); }
.location-gallery img:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.coming {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center;
  background: var(--jade-dark); color: var(--white);
  border-radius: var(--r-lg); padding: 30px 38px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.coming::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 192, 132, .28), transparent 70%);
}
.coming > span {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 600;
  color: var(--gold-soft); line-height: 1;
}
.coming small {
  display: inline-block; font-family: var(--font-display);
  font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 8px;
}
.coming h3 { font-size: 1.5rem; margin: 0; }
.coming a {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: #3d2a05;
  padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  transition: transform .2s, background .2s;
  position: relative; z-index: 1;
}
.coming a:hover { transform: translateY(-2px); background: var(--gold-soft); }

/* =========================================================
   RHYTHM — moments gallery
   ========================================================= */
.rhythm { background: var(--cream); }
.rhythm-title {
  max-width: var(--max); margin: 0 auto 44px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
}
.rhythm-title p { margin: 0 0 8px; color: var(--muted); max-width: 38ch; }

.moments {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px; gap: 14px;
}
.moment { margin: 0; position: relative; overflow: hidden; border-radius: var(--r-md); }
.moment img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.moment:hover img { transform: scale(1.05); }
.moment figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 38px 16px 14px;
  color: var(--white); font-size: .88rem; font-weight: 500;
  background: linear-gradient(180deg, transparent, rgba(10, 40, 30, .78));
}
.m1 { grid-column: span 2; grid-row: span 2; }
.m2 { grid-column: span 2; }
.m5 { grid-column: span 2; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--white); }
.faq-inner { max-width: var(--max); margin: 0 auto; }
.faq {
  display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px;
  align-items: start;
}
.faq-intro { position: sticky; top: 104px; }
.faq-intro h2 { margin-bottom: 18px; }
.faq-intro p { color: var(--muted); margin: 0 0 26px; }

.faq-contact {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 14px 22px; border-radius: var(--r-md);
  background: var(--gold-pale); border: 1px solid rgba(200, 145, 47, .3);
  color: var(--ink-soft); font-size: .94rem;
  transition: transform .2s, box-shadow .2s;
}
.faq-contact:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.faq-contact b { color: #8a6416; font-family: var(--font-display); letter-spacing: .02em; }

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-list details {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 4px 22px;
  transition: border-color .2s, background .2s;
}
.faq-list details[open] { background: var(--white); border-color: rgba(15, 122, 90, .32); box-shadow: var(--shadow-sm); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0; font-weight: 600; font-size: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span {
  font-family: var(--font-display); font-size: .82rem; font-weight: 600;
  color: var(--gold); flex: none;
}
.faq-list summary b { margin-left: auto; color: var(--jade); font-weight: 400; font-size: 1.2rem; transition: transform .25s; }
.faq-list details[open] summary b { transform: rotate(45deg); }
.faq-list details p { margin: 0 0 18px 38px; color: var(--muted); font-size: .95rem; }

/* =========================================================
   PARTNER
   ========================================================= */
.partner {
  background: var(--jade-dark); color: var(--white);
  display: grid; grid-template-columns: 1fr 1fr; gap: 66px;
  position: relative; overflow: hidden;
}
.partner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='52' viewBox='0 0 52 52'%3E%3Cg fill='none' stroke='%23e2c084' stroke-opacity='0.13' stroke-width='1'%3E%3Cpath d='M26 8l7 14-7 14-7-14z'/%3E%3Ccircle cx='26' cy='44' r='2.4'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 52px 52px;
}
.partner > * { position: relative; z-index: 1; }

.partner-copy h2 { margin-bottom: 20px; color: var(--white); }
.partner-copy h2 span { color: var(--gold-soft); background-image: linear-gradient(transparent 78%, rgba(226, 192, 132, .3) 78%); }
.partner-copy p { color: rgba(255, 255, 255, .82); margin: 0 0 26px; }

.partner-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.partner-tags span {
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid rgba(226, 192, 132, .45);
  color: var(--gold-soft); font-size: .88rem; font-weight: 500;
}

.partner-form {
  background: var(--white); color: var(--ink);
  border-radius: var(--r-lg); padding: 34px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
}
.partner-form label { display: flex; flex-direction: column; gap: 7px; font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.partner-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.partner-form input, .partner-form textarea {
  font-family: inherit; font-size: .95rem; color: var(--ink);
  padding: 13px 16px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: var(--cream);
  transition: border-color .2s, background .2s;
  resize: vertical;
}
.partner-form input:focus, .partner-form textarea:focus {
  outline: none; border-color: var(--jade); background: var(--white);
}
.partner-form button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--jade); color: var(--white);
  border: 0; border-radius: 999px; padding: 15px 26px;
  font-size: 1rem; font-weight: 600; cursor: pointer;
  transition: background .2s, transform .2s;
}
.partner-form button:hover { background: var(--jade-deep); transform: translateY(-1px); }
.form-status { margin: 0; font-size: .9rem; color: var(--jade-deep); font-weight: 500; }
.form-status.is-ok { color: var(--jade-deep); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { background: var(--sand); }
.contact-head { max-width: var(--max); margin: 0 auto 40px; }
.contact-head h2 { margin-bottom: 16px; }
.contact-head p { color: var(--muted); margin: 0; max-width: 52ch; }

.contact-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.contact-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 26px 28px;
  transition: transform .25s, box-shadow .25s;
}
.contact-card:not(.is-muted):hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(15, 122, 90, .09); color: var(--jade-deep);
  margin-bottom: 12px;
}
.contact-icon svg { width: 24px; height: 24px; }
.contact-card small {
  font-family: var(--font-display); font-size: .74rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
}
.contact-card b { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; letter-spacing: .02em; }
.contact-local { font-size: .86rem; color: var(--muted); }
.contact-card.is-muted { opacity: .82; }
.contact-card.is-muted b { font-size: 1.05rem; }

/* =========================================================
   FOOTER
   ========================================================= */
footer { background: var(--ink); color: rgba(255, 255, 255, .8); }
.footer-top {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding: 66px 28px 44px;
}
.footer-brand { color: var(--white); }
.footer-logo { height: 36px; width: auto; }
.footer-brand p { margin: 18px 0 0; font-size: .95rem; color: rgba(255, 255, 255, .66); }

.footer-top > div b {
  display: block; font-family: var(--font-display);
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 16px;
}
.footer-top > div a, .footer-top > div span { display: block; margin-bottom: 11px; font-size: .93rem; }
.footer-top > div a { color: rgba(255, 255, 255, .82); transition: color .2s; }
.footer-top > div a:hover { color: var(--gold-soft); }
.footer-top > div span { color: rgba(255, 255, 255, .5); }
.footer-top > div span.footer-label {
  font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .38); margin-bottom: 7px;
}

.footer-bottom {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px 28px 30px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .85rem; color: rgba(255, 255, 255, .55);
}

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .main-nav { gap: 16px; }
  .rg-body { grid-template-columns: 1fr 1fr; }
  .rg-art { grid-column: 1 / -1; order: -1; max-height: 330px; overflow: hidden; }
  .section-head { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .location-block { grid-template-columns: 1fr; gap: 26px; }
  .moments { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  .section { padding: 74px 22px; }
  .hero { padding-top: 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-image img, .hero-image .hero-video { aspect-ratio: 16 / 10; }
  .hero-image::after { inset: 10px -10px -10px 10px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq { grid-template-columns: 1fr; gap: 40px; }
  .faq-intro { position: static; }
  .partner { grid-template-columns: 1fr; gap: 44px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .coming { grid-template-columns: auto 1fr; }
  .coming a { grid-column: 1 / -1; justify-self: start; }

  .main-nav {
    position: fixed; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px 22px 18px; box-shadow: var(--shadow);
    transform: translateY(-16px); opacity: 0; pointer-events: none;
    transition: transform .28s, opacity .28s; z-index: 55;
  }
  body.nav-open .main-nav { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
}

@media (max-width: 620px) {
  .section { padding: 60px 18px; }
  .hero { padding: 38px 18px 0; }
  .hero-copy h1 { font-size: 2.15rem; }
  .hero-benefits { grid-template-columns: 1fr; gap: 10px; }
  .rg-body { grid-template-columns: 1fr; }
  .rg-head { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .rg-col { padding: 22px 20px 12px; }
  .rg-foot { padding: 16px 22px; }
  .moments { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .m1, .m2, .m5 { grid-column: span 1; grid-row: span 1; }
  .location-gallery { grid-template-columns: repeat(2, 1fr); }
  .location-gallery img:nth-child(3) { display: none; }
  .form-row { grid-template-columns: 1fr !important; }
  .partner-form { padding: 24px 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .lang-btn { padding: 5px 8px; }
  .rhythm-title { flex-direction: column; align-items: flex-start; gap: 14px; }
  .coming { padding: 24px 22px; }
  .site-header { padding: 12px 18px; }
}

/* real campus photos */
.location-gallery img.campus-sign { object-position: 32% 50%; }

/* email contact card */
.contact-card.is-email b { font-size: 1.02rem; overflow-wrap: anywhere; letter-spacing: 0; }

/* chiang mai scenic images: keep scooters (lower part) in wide moment crops */
.m4 img, .m5 img { object-position: 50% 72%; }

/* =========================================================
   COUNTRY SWITCHER — links to each country's independent site
   ========================================================= */
.brand-cluster { display: flex; align-items: center; gap: 14px; min-width: 0; }
.country-switcher { position: relative; flex: 0 0 auto; border: 0; }
.country-switcher > summary {
  display: flex; grid-template-columns: none; align-items: center; gap: 7px;
  min-height: 38px; padding: 7px 10px; list-style: none; cursor: pointer;
  color: var(--ink-soft); background: var(--white); border: 1px solid var(--line);
  border-radius: 10px; font-family: var(--font-body); font-size: .72rem;
  font-weight: 700; line-height: 1; white-space: nowrap;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.country-switcher > summary::-webkit-details-marker { display: none; }
.country-switcher > summary:hover,
.country-switcher[open] > summary { border-color: var(--jade); background: #f3fbf7; box-shadow: var(--shadow-sm); }
.country-switcher > summary:focus-visible { outline: 3px solid rgba(15, 122, 90, .2); outline-offset: 2px; }
.country-switcher__globe { width: 16px; height: 16px; fill: none; stroke: var(--jade); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.country-switcher__code { display: none; color: var(--jade); letter-spacing: .08em; }
.country-switcher__chevron { width: 10px; height: 7px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.country-switcher[open] .country-switcher__chevron { transform: rotate(180deg); }
.country-menu {
  position: absolute; top: calc(100% + 12px); left: 0; z-index: 80;
  width: 286px; padding: 10px; background: var(--white);
  border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 22px 55px rgba(20, 35, 29, .2);
}
.country-menu::before { content: ""; position: absolute; top: -6px; left: 24px; width: 10px; height: 10px; background: var(--white); border-top: 1px solid var(--line); border-left: 1px solid var(--line); transform: rotate(45deg); }
.country-menu__title { margin: 0; padding: 7px 10px 10px; color: var(--muted); font-family: var(--font-body); font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.country-menu > a { display: grid; grid-template-columns: 34px 1fr 18px; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; transition: background .2s, color .2s; }
.country-menu > a:hover { background: #f1f9f5; color: var(--jade-deep); }
.country-menu > a[aria-current="page"] { background: #e8f6ef; color: var(--jade-deep); }
.country-menu__code { display: grid; place-items: center; width: 34px; height: 28px; color: var(--jade); background: #eaf7f0; border: 1px solid #d1eadc; border-radius: 9px; font-family: var(--font-body); font-size: .62rem; font-weight: 700; letter-spacing: .08em; }
.country-menu__copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.country-menu__copy strong { font-family: var(--font-body); font-size: .8rem; line-height: 1.1; }
.country-menu__copy small { color: var(--muted); font-family: var(--font-body); font-size: .62rem; font-weight: 500; line-height: 1.1; }
.country-menu__check { color: var(--gold); font-size: .88rem; font-weight: 700; text-align: center; }
.partner-form button:disabled { opacity: .62; cursor: progress; transform: none; }
.form-status.is-error { color: #b42318; }
@media (max-width: 1180px) {
  .country-switcher__name { display: none; }
  .country-switcher__code { display: inline; }
  .country-switcher > summary { padding: 7px 9px; }
}
@media (max-width: 620px) {
  .site-header { height: 64px; padding: 0 18px; }
  .brand-cluster { gap: 8px; }
  .country-switcher__globe { display: none; }
  .country-menu { position: fixed; top: 64px; left: 16px; right: 16px; width: auto; }
  .country-menu::before { display: none; }
}
