:root {
  --ink: #12251d;
  --green: #1c7a4d;
  --lime: #dff06a;
  --mint: #e9f3ec;
  --paper: #fbfcf8;
  --white: #fff;
  --coral: #ef7458;
  --muted: #5d6a63;
  --line: #dbe4dd;
  --radius: 24px;
  --max: 1180px;
  --sans: Inter, "Noto Sans Thai", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.65 var(--sans);
}
img {
  display: block;
  width: 100%;
  height: auto;
}
a {
  color: inherit;
}
button,
input,
textarea,
select {
  font: inherit;
}
:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}
.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin: auto;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  z-index: 99;
}
.skip:focus {
  left: 8px;
}
.demo {
  background: var(--ink);
  color: #dbe9df;
  text-align: center;
  padding: 8px 20px;
  font-size: 0.78rem;
}
.header {
  position: sticky;
  top: 0;
  background: rgba(251, 252, 248, 0.94);
  backdrop-filter: blur(12px);
  z-index: 20;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 34px;
}
.logo {
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.05em;
  text-decoration: none;
}
.logo i {
  color: var(--green);
  font-style: normal;
}
.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 0;
}
.nav a[aria-current="page"],
.nav a:hover {
  color: var(--green);
}
.lang {
  display: flex;
  gap: 4px;
}
.lang button {
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
  color: var(--muted);
  font-weight: 700;
}
.lang button[aria-pressed="true"] {
  color: var(--green);
}
.menu {
  display: none;
  border: 0;
  background: none;
  font-size: 1.5rem;
  margin-left: auto;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero {
  padding: 82px 0 72px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}
.hero h1,
.page-hero h1 {
  font-size: clamp(3.2rem, 6vw, 6rem);
  line-height: 0.97;
  letter-spacing: -0.065em;
  margin: 0;
  max-width: 10ch;
}
.hero p,
.page-hero .lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 52ch;
  margin: 26px 0 0;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.btn {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--ink);
  cursor: pointer;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn-coral {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
}
.btn-quiet {
  background: transparent;
}
.hero-media {
  border-radius: 180px 180px var(--radius) var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--mint);
}
.hero-media img {
  height: 100%;
  object-fit: cover;
}
.section {
  padding: 96px 0;
}
.section-soft {
  background: var(--mint);
}
.section-dark {
  background: var(--ink);
  color: #fff;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 52px;
}
.section h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin: 0;
}
.section-head p {
  color: var(--muted);
  margin: 8px 0 0;
}
.section-dark .section-head p {
  color: #bfd0c5;
}
.program-list {
  border-top: 1px solid var(--line);
}
.program {
  display: grid;
  grid-template-columns: 70px 1fr 1.2fr auto;
  gap: 28px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.program .num {
  color: var(--green);
  font-weight: 800;
}
.program h3 {
  font-size: 1.3rem;
  margin: 0;
}
.program p {
  margin: 0;
  color: var(--muted);
}
.program a {
  text-decoration: none;
  font-weight: 800;
  color: var(--green);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.photo img {
  height: 100%;
  object-fit: cover;
}
.copy h2 {
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 0 0 24px;
}
.copy p {
  color: var(--muted);
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.principle {
  background: var(--paper);
  padding: 32px;
}
.principle b {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.principle p {
  margin: 0;
  color: var(--muted);
}
.cta-band {
  padding: 72px 0;
  background: var(--lime);
}
.cta-band .wrap {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.cta-band h2 {
  max-width: 14ch;
}
.page-hero {
  padding: 88px 0 64px;
}
.page-hero h1 {
  max-width: 12ch;
}
.page-hero .lead {
  max-width: 58ch;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.detail {
  padding: 34px;
  border-top: 3px solid var(--green);
  background: #fff;
}
.detail h2,
.detail h3 {
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}
.detail p {
  color: var(--muted);
}
.price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
}
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step:before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  color: var(--green);
  font-weight: 800;
  margin-bottom: 18px;
}
.step h3 {
  margin: 0;
}
.step p {
  color: var(--muted);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}
.contact-list {
  padding: 0;
  list-style: none;
}
.contact-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.form {
  background: #fff;
  padding: 36px;
  border-radius: var(--radius);
}
.field {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}
.field label {
  font-weight: 700;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #bdc9c0;
  border-radius: 8px;
  background: #fff;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.form-note,
.status {
  font-size: 0.84rem;
  color: var(--muted);
}
.status {
  min-height: 1.5em;
  color: var(--green);
  font-weight: 700;
}
.map {
  min-height: 300px;
  background: var(--mint);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.map:before,
.map:after {
  content: "";
  position: absolute;
  background: rgba(28, 122, 77, 0.16);
}
.map:before {
  width: 140%;
  height: 2px;
  transform: rotate(24deg);
}
.map:after {
  height: 140%;
  width: 2px;
  transform: rotate(18deg);
}
.pin {
  width: 74px;
  height: 74px;
  border-radius: 50% 50% 50% 0;
  background: var(--coral);
  transform: rotate(-45deg);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
}
.pin span {
  transform: rotate(45deg);
  color: #fff;
  font-weight: 800;
}
.footer {
  padding: 58px 0 30px;
  background: var(--ink);
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}
.footer a {
  color: #d8e6dc;
  display: inline-block;
  padding: 0.35rem 0;
}
.footer small {
  display: block;
  margin-top: 44px;
  color: #91a398;
}
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: 0.65s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (max-width: 900px) {
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 78px;
    background: var(--paper);
    display: none;
    flex-direction: column;
    padding: 24px 20px;
    border-bottom: 1px solid var(--line);
  }
  .nav.open {
    display: flex;
  }
  .menu {
    display: block;
  }
  .hero-grid,
  .split,
  .section-head,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 52px;
  }
  .hero-media {
    max-height: 640px;
  }
  .program {
    grid-template-columns: 50px 1fr auto;
  }
  .program p {
    grid-column: 2/-1;
  }
  .principles,
  .steps {
    grid-template-columns: 1fr;
  }
  .cta-band .wrap {
    align-items: start;
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .wrap {
    width: min(calc(100% - 28px), var(--max));
  }
  .header-inner {
    height: 68px;
  }
  .nav {
    top: 68px;
  }
  .lang {
    order: 2;
  }
  .hero,
  .page-hero {
    padding: 54px 0;
  }
  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.2rem);
  }
  .section {
    padding: 70px 0;
  }
  .program {
    grid-template-columns: 38px 1fr;
  }
  .program a {
    grid-column: 2;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .actions .btn {
    width: 100%;
  }
  .form {
    padding: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
:root {
  --green: #14633d;
  --coral: #ad442f;
}
.principle {
  color: var(--ink);
}
.footer .logo i {
  color: var(--lime);
}
html[lang="th"] .eyebrow {
  letter-spacing: 0.02em;
  line-height: 1.55;
  text-transform: none;
  margin-bottom: 20px;
}
html[lang="th"] .hero h1,
html[lang="th"] .page-hero h1,
html[lang="th"] .section h2,
html[lang="th"] .copy h2,
html[lang="th"] .detail h2 {
  letter-spacing: 0;
  line-height: 1.25;
}
html[lang="th"] .hero p,
html[lang="th"] .page-hero .lead {
  margin-top: 30px;
}
