
:root {
  /* Yado design system: Bangkok warmth + modern wellness + athletic confidence. */
  --primary: #1f5c4a;
  --primary-dark: #153f35;
  --accent: #e9784f;
  --highlight: #f2b84b;
  --background: #f7f2e8;
  --surface: #fffdf8;
  --text: #25302c;
  --muted: #66756f;

  --ink: var(--text);
  --ink-soft: var(--muted);
  --paper: var(--background);
  --paper-2: #efe8db;
  --sage: var(--primary);
  --sage-dark: var(--primary-dark);
  --lime: var(--highlight);
  --peach: var(--accent);
  --sun: var(--highlight);
  --white: #ffffff;
  --line: rgba(37, 48, 44, 0.13);
  --shadow: 0 24px 70px rgba(21, 63, 53, 0.14);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shell: min(1160px, calc(100% - 32px));
  --font: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Thai", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.chat-open { overflow: hidden; }
a { color: inherit; }
::selection { background: var(--highlight); color: var(--text); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  line-height: 1.06;
  letter-spacing: -0.035em;
}
h1 { font-size: clamp(3rem, 12vw, 6.8rem); margin-bottom: 24px; max-width: 11ch; }
h2 { font-size: clamp(2.2rem, 7vw, 4.5rem); margin-bottom: 18px; }
h3 { font-size: 1.28rem; margin-bottom: 10px; }
p { color: var(--ink-soft); }
.shell { width: var(--shell); margin-inline: auto; }
.section { position: relative; padding: 78px 0; overflow: clip; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 12px; transform: translateY(-160%);
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 800;
  text-decoration: none; letter-spacing: -0.025em;
}
.brand-logo {
  width: 108px; height: auto; max-height: 48px; object-fit: contain;
}
.brand-yado {
  padding-left: 10px; border-left: 1px solid var(--line); font-size: .88rem;
  letter-spacing: .02em; color: var(--primary-dark);
}
.desktop-nav { display: none; gap: 28px; align-items: center; }
.desktop-nav a { text-decoration: none; font-size: .94rem; color: var(--ink-soft); font-weight: 650; }
.desktop-nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.locale-select {
  min-height: 42px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); padding: 0 34px 0 13px; color: var(--ink); font-weight: 650;
}
.button {
  min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 22px; border-radius: 999px; text-decoration: none; border: 1px solid transparent;
  font-weight: 800; letter-spacing: -0.015em; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .locale-select:focus-visible, button:focus-visible, summary:focus-visible, a:focus-visible {
  outline: 3px solid var(--peach); outline-offset: 3px;
}
.button-small { min-height: 42px; padding: 0 16px; font-size: .9rem; }
.button-primary { background: var(--accent); color: var(--text); box-shadow: 0 10px 30px rgba(233,120,79,.24); }
.button-primary:hover { background: #dc6a43; box-shadow: 0 14px 34px rgba(233,120,79,.28); }
.button-secondary { border-color: rgba(31,92,74,.28); background: var(--surface); color: var(--primary-dark); }
.button-light { background: var(--accent); color: var(--text); }

.eyebrow {
  display: inline-block; margin-bottom: 14px; color: var(--sage-dark);
  text-transform: uppercase; letter-spacing: .13em; font-size: .75rem; font-weight: 900;
}
.eyebrow-light { color: var(--lime); }

.hero { padding-top: 58px; min-height: calc(100svh - 72px); display: grid; align-items: center; }
.hero-grid { display: grid; gap: 44px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-body { max-width: 650px; font-size: clamp(1.08rem, 2.8vw, 1.32rem); }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 30px 0 26px; }
.trust-list {
  padding: 0; margin: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px;
}
.trust-list li {
  border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 84%, transparent); border-radius: 999px;
  padding: 8px 12px; font-size: .84rem; font-weight: 700; color: var(--ink-soft);
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; opacity: .8;
}
.hero-glow-one { width: 330px; height: 330px; background: color-mix(in srgb, var(--highlight) 72%, var(--surface)); top: -120px; right: -90px; }
.hero-glow-two { width: 260px; height: 260px; background: color-mix(in srgb, var(--primary) 18%, var(--surface)); bottom: -100px; left: -120px; }

.movement-visual {
  position: relative; min-height: 490px; border-radius: 42px;
  background: linear-gradient(150deg, var(--background) 0%, #dfe9e3 48%, #f4d4c7 100%);
  overflow: hidden; box-shadow: var(--shadow);
}
.sun-disc {
  position: absolute; width: 210px; height: 210px; border-radius: 50%;
  background: var(--sun); right: -46px; top: 34px;
}
.movement-line {
  position: absolute; border: 3px solid rgba(31,92,74,.55); border-radius: 50%; transform: rotate(-18deg);
}
.movement-line-a { width: 400px; height: 160px; left: -130px; bottom: 86px; }
.movement-line-b { width: 320px; height: 110px; right: -100px; bottom: 76px; }
.hero-portrait {
  position: absolute; inset: 38px 42px 34px;
  width: calc(100% - 84px); height: calc(100% - 72px);
  object-fit: cover; object-position: 50% 18%;
  border-radius: 34px;
  border: 1px solid rgba(255,253,248,.92);
  box-shadow: 0 22px 54px rgba(21,63,53,.18);
}
.hero-brand-lockup {
  position: absolute; z-index: 3; left: 28px; bottom: 28px;
  width: min(190px, 46%); padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255,253,248,.90);
  box-shadow: 0 10px 26px rgba(21,63,53,.16);
  backdrop-filter: blur(8px);
}
.hero-brand-logo {
  display: block; width: 100%; height: auto;
}
.movement-badge {
  position: absolute; z-index: 4; padding: 10px 13px; border-radius: 999px; background: var(--primary-dark);
  color: #fff; font-weight: 900; font-size: .72rem; letter-spacing: .12em;
}
.badge-top { left: 18px; top: 26px; transform: rotate(-5deg); }
.badge-bottom { right: 18px; bottom: 24px; background: var(--accent); color: var(--text); transform: rotate(4deg); }

.intro-strip { background: var(--surface); }
.section-heading { max-width: 690px; }
.section-heading > p:last-child { font-size: 1.03rem; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.feature-grid { display: grid; gap: 14px; margin-top: 34px; }
.feature-card {
  padding: 26px; border-radius: var(--radius-md); border: 1px solid var(--line);
  background: var(--surface); min-height: 230px;
}
.feature-icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px;
  background: var(--highlight); color: var(--ink); font-weight: 900; margin-bottom: 44px;
}
.feature-card p { margin-bottom: 0; }

.section-dark { background: var(--primary-dark); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: #d6e4dd; }
.split-heading { display: grid; gap: 20px; margin-bottom: 36px; }
.split-heading > p { align-self: end; font-size: 1.05rem; }
.service-grid { display: grid; gap: 10px; }
.service-card {
  min-height: 138px; padding: 20px; border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px; background: rgba(255,255,255,.045);
  display: flex; flex-direction: column; justify-content: space-between;
}
.service-card span { color: var(--lime); font-size: .8rem; font-weight: 900; letter-spacing: .12em; }
.service-card h3 { margin: 0; }

.two-column { display: grid; gap: 34px; }
.fit-list { display: grid; gap: 12px; }
.fit-card {
  display: flex; gap: 15px; padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line);
}
.check-dot {
  flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 900;
}
.fit-card p { margin-bottom: 0; }
.medical-note {
  margin: 8px 0 0; padding: 17px 19px; border-left: 4px solid var(--accent); background: #fae7df;
  border-radius: 0 14px 14px 0; font-size: .9rem;
}

.location-section { padding-top: 24px; }
.location-card {
  border-radius: var(--radius-lg); padding: 30px; background: #e4ece7;
  display: grid; gap: 30px;
}
.location-card > div:first-child { max-width: 690px; }
.location-options { display: grid; gap: 10px; }
.location-options article {
  background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid rgba(31,92,74,.14);
  border-radius: 20px; padding: 20px;
}
.location-options article > span {
  width: 42px; height: 42px; display: grid; place-items: center; background: var(--white);
  border-radius: 14px; margin-bottom: 22px; font-weight: 900;
}
.location-options p { margin-bottom: 0; }

.about-section { background: var(--surface); }
.about-grid { display: grid; gap: 40px; align-items: center; }
.about-visual {
  min-height: 410px; position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: #f0b79f;
}
.about-brand-logo {
  position: absolute; z-index: 4; top: 22px; left: 22px; width: 132px; height: auto;
}
.about-circle {
  position: absolute; width: 320px; height: 320px; border-radius: 50%; background: var(--highlight);
  left: 50%; top: 50%; transform: translate(-50%,-50%);
}
.about-word {
  position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink);
  font-size: clamp(4rem, 18vw, 7.6rem); font-weight: 950; letter-spacing: -.08em; transform: rotate(-8deg);
}
.about-caption {
  position: absolute; bottom: 20px; left: 20px; background: var(--primary-dark); color: var(--white);
  border-radius: 999px; padding: 9px 12px; font-size: .7rem; font-weight: 900; letter-spacing: .13em;
}
.fact-block {
  border-top: 1px solid var(--line); padding-top: 18px; margin-top: 20px;
}
.fact-block strong { display: block; margin-bottom: 6px; }
.fact-block p { margin-bottom: 0; }
.fact-block.pending strong { color: #9b4d31; }

.credentials-section { background: var(--background); }
.credential-grid {
  display: grid; gap: 14px; margin-top: 34px;
}
.credential-card {
  position: relative; padding: 26px; border-radius: var(--radius-md);
  border: 1px solid var(--line); background: var(--surface);
}
.credential-card h3 { padding-right: 18px; }
.credential-card p { margin-bottom: 0; }
.credential-dot {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  right: 20px; top: 22px; background: var(--accent);
}

.process-section { background: var(--paper-2); }
.process-grid { display: grid; gap: 12px; margin-top: 34px; }
.process-card { padding: 24px; background: var(--surface); border-radius: 20px; border: 1px solid var(--line); }
.process-card p { margin-bottom: 0; }

.faq-list { max-width: 820px; margin: 34px auto 0; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px;
  align-items: center; padding: 22px 0; font-weight: 800; font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { font-size: 1.5rem; font-weight: 400; transition: transform .2s ease; }
.faq-item[open] summary span { transform: rotate(45deg); }
.faq-item > p { padding: 0 38px 20px 0; margin: 0; }

.final-cta { padding-top: 30px; }
.cta-card {
  background: var(--primary-dark); color: var(--white); border-radius: var(--radius-lg);
  padding: 34px; display: grid; gap: 26px; box-shadow: var(--shadow);
}
.cta-card h2 { color: var(--white); }
.cta-card p { color: #d9e6df; }
.cta-note {
  display: inline-block; margin: 8px 0 0; padding: 9px 12px; border-radius: 999px;
  background: rgba(242,184,75,.14); color: #f7dfaa !important; font-size: .82rem; font-weight: 750;
}
.contact-channel-grid {
  display: grid; gap: 10px;
}
.contact-channel {
  display: grid; gap: 3px; padding: 14px 16px; border-radius: 16px;
  border: 1px solid rgba(255,253,248,.22); background: rgba(255,255,255,.06);
  text-decoration: none; transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.contact-channel span { color: #c8d8d0; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 850; }
.contact-channel strong { color: var(--white); overflow-wrap: anywhere; }
.contact-channel:hover { transform: translateY(-2px); background: rgba(255,255,255,.1); border-color: rgba(242,184,75,.46); }

.site-footer { padding: 38px 0 92px; }
.footer-grid { display: grid; gap: 20px; border-top: 1px solid var(--line); padding-top: 26px; }
.footer-logo { width: 132px; height: auto; margin-bottom: 10px; }
.footer-grid p { margin: 6px 0 0; font-size: .9rem; }
.privacy-link { color: var(--ink-soft); }

.chat-launcher {
  position: fixed; z-index: 300; right: 16px; bottom: 16px; border: 0; background: var(--primary); 
  color: var(--white); min-height: 52px; padding: 0 17px; border-radius: 999px; box-shadow: 0 16px 50px rgba(21,63,53,.24);
  display: flex; gap: 8px; align-items: center; font-weight: 850; cursor: pointer;
}
.chat-launch-icon {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--highlight); color: var(--ink);
}
.chat-panel {
  position: fixed; z-index: 400; inset: auto 10px 10px 10px; height: min(720px, calc(100svh - 20px));
  background: var(--surface); border-radius: 26px; box-shadow: 0 30px 90px rgba(21,63,53,.24);
  display: grid; grid-template-rows: auto 1fr auto auto auto; overflow: hidden;
  transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none;
  transition: transform .25s ease, opacity .2s ease;
}
.chat-panel.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.chat-header {
  background: var(--primary-dark); color: var(--white); padding: 16px; display: flex; justify-content: space-between; align-items: center;
}
.chat-header > div { display: flex; align-items: center; gap: 10px; }
.assistant-avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--highlight); color: var(--ink); font-weight: 950;
}
.chat-header strong, .chat-header small { display: block; }
.chat-header small { color: #c9d7d0; margin-top: 2px; font-size: .72rem; }
.chat-close { border: 0; background: transparent; color: white; font-size: 1.6rem; cursor: pointer; }
.chat-messages { overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--background); }
.chat-message { max-width: 88%; border-radius: 17px; padding: 10px 12px; }
.chat-message p { margin: 0; font-size: .92rem; color: inherit; white-space: pre-wrap; }
.chat-message.assistant { align-self: flex-start; background: var(--paper-2); }
.chat-message.user { align-self: flex-end; background: var(--primary); color: #fff; }
.chat-message.thinking { opacity: .7; }
.chat-feedback { display: flex; gap: 6px; margin-top: 8px; }
.chat-feedback button, .chat-action {
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 9px; font-size: .74rem; cursor: pointer; text-decoration: none;
}
.chat-action { display: inline-flex; margin-top: 8px; font-weight: 800; color: var(--sage-dark); }
.chat-suggestions { padding: 10px 12px 0; display: flex; gap: 6px; overflow-x: auto; background: var(--surface); }
.chat-suggestions button {
  flex: 0 0 auto; border: 1px solid var(--line); background: var(--background); color: var(--text);
  border-radius: 999px; padding: 7px 10px; font-size: .78rem; cursor: pointer;
}
.chat-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 10px 12px; background: var(--surface); }
.chat-form textarea {
  min-height: 46px; max-height: 120px; resize: none; border: 1px solid var(--line); border-radius: 15px; padding: 11px 12px; color: var(--ink);
}
.chat-form button {
  width: 46px; height: 46px; border-radius: 15px; border: 0; background: var(--accent); color: var(--text); cursor: pointer;
}
.chat-disclaimer { padding: 0 12px 10px; margin: 0; font-size: .68rem; color: var(--muted); background: var(--surface); }
.chat-disclaimer a { color: inherit; }

.privacy-page { min-height: 100vh; padding: 64px 0; }
.privacy-shell { max-width: 760px; }
.privacy-shell h1 { font-size: clamp(2.7rem, 8vw, 4.8rem); }
.privacy-shell section { padding: 18px 0; border-top: 1px solid var(--line); }
.privacy-shell h2 { font-size: 1.4rem; }
.privacy-lead { font-size: 1.12rem; }
.privacy-updated { margin-top: 36px; font-size: .84rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
@media (hover: hover) {
  .feature-card,
  .fit-card,
  .service-card,
  .location-options article,
  .process-card {
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  }
  .feature-card:hover,
  .fit-card:hover,
  .location-options article:hover,
  .process-card:hover {
    transform: translateY(-3px);
    border-color: rgba(31,92,74,.24);
    box-shadow: 0 14px 36px rgba(21,63,53,.08);
  }
  .service-card:hover {
    transform: translateY(-3px);
    border-color: rgba(242,184,75,.42);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button, .chat-panel { transition: none; }
}

@media (max-width: 560px) {
  .header-actions .button { display: none; }
  .brand-logo { width: 92px; }
  .brand-yado { display: none; }
  h1 { font-size: clamp(3.1rem, 15vw, 4.4rem); }
}

@media (min-width: 700px) {
  :root { --shell: min(1160px, calc(100% - 64px)); }
  .section { padding: 104px 0; }
  .hero { padding-top: 78px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .location-options { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .credential-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .chat-panel { inset: auto 24px 24px auto; width: min(420px, calc(100vw - 48px)); height: min(680px, calc(100svh - 48px)); }
}

@media (min-width: 920px) {
  .desktop-nav { display: flex; }
  .hero-grid { grid-template-columns: minmax(0,1.06fr) minmax(360px,.94fr); gap: 66px; }
  .movement-visual { min-height: 610px; }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .split-heading { grid-template-columns: 1.15fr .85fr; gap: 90px; }
  .two-column { grid-template-columns: .82fr 1.18fr; gap: 90px; }
  .sticky-heading { position: sticky; top: 110px; align-self: start; }
  .location-card { padding: 48px; }
  .about-grid { grid-template-columns: .9fr 1.1fr; gap: 80px; }
  .process-grid { grid-template-columns: repeat(4, 1fr); }
  .credential-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-card { grid-template-columns: 1.05fr .95fr; align-items: center; padding: 52px; }
}
