/* =========================================================
   ADS FAH MARKETING — Design System
   Modern Corporate Luxury · White 75% / Cyan 20% / Black 5%
   Fonts: Inter (English) + Prompt (Thai) — sans-serif only
   ========================================================= */
:root {
  /* Brand */
  --cyan: #10B9D1;          /* Primary Cyan — buttons, icons, accents */
  --cyan-hover: #0EA6BC;
  --cyan-ink: #077A8B;      /* Cyan for small text on white (AA contrast) */
  --cyan-light: #EAF8FB;    /* Light Cyan — alternating sections */
  --cyan-line: #BFE9F1;
  --white: #FFFFFF;
  --black: #000000;
  --gray: #F7FAFC;          /* Soft Gray */
  --ink: #172B3A;           /* Dark Text */
  --text: #3A4C5A;
  --muted: #5F7080;
  --line: #E3EBF0;

  /* Shape & depth */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-xs: 0 1px 2px rgba(23, 43, 58, .06);
  --shadow-sm: 0 6px 18px -8px rgba(23, 43, 58, .14);
  --shadow: 0 18px 44px -20px rgba(23, 43, 58, .22);
  --shadow-cyan: 0 10px 24px -10px rgba(16, 185, 209, .55);

  /* Type */
  --font: "Inter", "Prompt", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16.5px; font-weight: 400; line-height: 1.75;
  color: var(--text); background: var(--white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); margin: 0; line-height: 1.35; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
strong, b { font-weight: 600; color: var(--ink); }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--cyan-light); color: var(--ink); }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-ink);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--cyan); }
.h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; line-height: 1.3; margin-bottom: 16px; }
.lead { font-size: 18px; color: var(--text); line-height: 1.8; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 15.5px/1.3 var(--font); cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 9px 20px; font-size: 14.5px; }
.btn--lg { padding: 15px 32px; font-size: 16.5px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--cyan); color: var(--ink); box-shadow: var(--shadow-cyan); }
.btn--primary:hover { background: var(--cyan-hover); box-shadow: 0 14px 28px -10px rgba(16, 185, 209, .65); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--ink); box-shadow: var(--shadow-sm); }
.btn--ghost, .btn--outline { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover, .btn--outline:hover { border-color: var(--cyan); color: var(--cyan-ink); box-shadow: var(--shadow-sm); }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; background: var(--white);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px -12px rgba(23, 43, 58, .18); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--black); }
img.brand__mark { width: 52px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text b { font-size: 19px; font-weight: 800; letter-spacing: .02em; color: var(--black); }
.brand__text b span { color: var(--cyan); }
.brand__text small { font-size: 10px; font-weight: 600; letter-spacing: .32em; color: var(--muted); margin-top: 5px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { position: relative; padding: 6px 0; font-size: 15px; font-weight: 500; color: var(--ink); transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--cyan); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav__links a:hover { color: var(--cyan-ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav__toggle span { width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s; }
.nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 140px 0 0; background: var(--white); }
.hero::before {
  content: ""; position: absolute; right: -12%; top: -10%; width: 62%; height: 115%;
  background: var(--cyan-light); border-radius: 0 0 0 180px; z-index: 0;
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__brand { font-size: 14px; font-weight: 600; letter-spacing: .28em; color: var(--muted); margin: 0 0 12px; }
.hero__title { font-size: clamp(38px, 5.4vw, 64px); font-weight: 700; line-height: 1.25; letter-spacing: -.015em; color: var(--black); margin-bottom: 22px; }
.hero__title em { font-style: normal; color: var(--cyan); }
.hero__lead { font-size: 18px; color: var(--text); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 28px; }
.hero__trust { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; max-width: 600px; }
.hero__trust li { display: flex; align-items: flex-start; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--ink); line-height: 1.5; }
.hero__trust svg { width: 18px; height: 18px; flex: none; margin-top: 2px; padding: 2px; border-radius: 50%; background: var(--cyan); color: var(--white); stroke-width: 3; }

.hero__visual { position: relative; display: flex; justify-content: center; }
.portrait { position: relative; width: min(430px, 100%); padding-bottom: 34px; }
.portrait__frame {
  position: relative; aspect-ratio: 4 / 5.1; overflow: hidden; border-radius: 220px 220px var(--radius-lg) var(--radius-lg);
  background: linear-gradient(180deg, #F2F6F8, #E7EEF2); box-shadow: var(--shadow);
}
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.portrait::before { content: ""; position: absolute; inset: -12px -12px 22px; border: 1.5px solid var(--cyan); border-radius: 232px 232px 32px 32px; opacity: .55; pointer-events: none; }
.portrait__name { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); white-space: nowrap; font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--muted); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px;
  box-shadow: var(--shadow); color: var(--ink); animation: float 6s ease-in-out infinite;
}
.float-card small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); line-height: 1.3; }
.float-card b { font-size: 16px; font-weight: 700; line-height: 1.3; }
.float-card__icon { width: 40px; height: 40px; border-radius: 12px; background: var(--cyan-light); color: var(--cyan-ink); display: grid; place-items: center; }
.float-card__icon svg { width: 20px; height: 20px; stroke-width: 2; }
.float-card--top { top: 14%; left: -54px; }
.float-card--bottom { bottom: 15%; right: -38px; flex-direction: column; align-items: flex-start; gap: 0; background: var(--black); border-color: var(--black); color: var(--white); animation-delay: -3s; }
.float-card--bottom small { color: var(--cyan); }
.float-card--bottom b { color: var(--white); font-size: 26px; }
.float-card--bottom b span { font-size: 14px; font-weight: 400; color: rgba(255, 255, 255, .7); }
.float-card--chart { left: -40px; bottom: 6%; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 14px 10px; animation-delay: -1.5s; }
.chart__label { font-size: 11.5px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.chart { width: 132px; height: 56px; }
.chart rect { fill: var(--cyan-light); stroke: none; }
.chart rect:nth-child(n + 4) { fill: var(--cyan); }
.chart__line { stroke: var(--black); stroke-width: 2; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero__strip { position: relative; z-index: 1; margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.hero__strip div { padding: 24px 26px; border-left: 1px solid var(--line); }
.hero__strip div:first-child { border-left: 0; }
.hero__strip b { display: block; font-size: 17px; font-weight: 700; color: var(--black); }
.hero__strip b::before { content: ""; display: block; width: 22px; height: 3px; border-radius: 2px; background: var(--cyan); margin-bottom: 10px; }
.hero__strip span { font-size: 14px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section__head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section__head .eyebrow::after { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--cyan); }
.section__sub { color: var(--muted); font-size: 17px; }

/* Alternating backgrounds: white / light cyan / soft gray */
.about, .gallery, .faq { background: var(--white); }
.videos, .reviews { background: var(--cyan-light); }
.courses, .services { background: var(--gray); }
.booking { background: var(--white); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.about__media { position: relative; isolation: isolate; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about__media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: var(--radius-lg); background: var(--cyan-light); border: 1px solid var(--cyan-line); z-index: -1; }
.about__badge { position: absolute; left: -22px; bottom: 36px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--cyan); padding: 14px 20px; border-radius: 14px; box-shadow: var(--shadow); }
.about__badge b { display: block; font-size: 16px; color: var(--black); }
.about__badge span { font-size: 13px; color: var(--muted); }
.about__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0 8px; }
.about__stats div { padding: 16px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-xs); transition: border-color .3s, transform .3s var(--ease); }
.about__stats div:hover { border-color: var(--cyan); transform: translateY(-3px); }
.about__stats b { display: block; font-size: 28px; font-weight: 700; color: var(--black); line-height: 1.2; }
.about__stats b small { font-size: 15px; font-weight: 600; margin-left: 4px; color: var(--cyan-ink); }
.about__stats span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.pillars { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 16px; }
.pillars li { display: flex; gap: 18px; align-items: flex-start; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.pillars li:last-child { border-bottom: 0; padding-bottom: 0; }
.pillars span { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--cyan-light); color: var(--cyan-ink); font-size: 14px; font-weight: 700; }
.pillars b { font-size: 17px; }
.pillars p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.about__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Videos ---------- */
.videos__grid { display: grid; grid-template-columns: 1fr; gap: 44px; }
.videos__copy { max-width: 720px; margin: 0 auto; text-align: center; }
.videos__copy .eyebrow::after { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--cyan); }
.videos__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.videos__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1020px; width: 100%; margin: 0 auto; }
.reel { margin: 0; }
.reel__frame { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--radius-lg); background: var(--black); border: 1px solid var(--cyan-line); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.reel:hover .reel__frame { transform: translateY(-4px); box-shadow: 0 26px 50px -24px rgba(23, 43, 58, .35); }
.reel__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel figcaption { display: grid; gap: 2px; margin-top: 14px; }
.reel figcaption b { font-size: 16.5px; color: var(--black); }
.reel figcaption span { font-size: 14px; color: var(--muted); }
.reel figcaption a { margin-top: 4px; font-size: 13.5px; font-weight: 600; color: var(--cyan-ink); }
.reel figcaption a:hover { text-decoration: underline; }

/* ---------- Courses ---------- */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.course-card {
  position: relative; display: flex; flex-direction: column; padding: 32px 28px 28px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--cyan-line); }
.course-card--featured { border: 2px solid var(--cyan); box-shadow: var(--shadow); }
.course-card__ribbon { position: absolute; top: -13px; right: 26px; padding: 4px 14px; border-radius: 999px; background: var(--cyan); color: var(--ink); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; }
.course-card__type { align-self: flex-start; margin-bottom: 16px; padding: 4px 12px; border-radius: 999px; background: var(--cyan-light); color: var(--cyan-ink); font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.course-card h3 { font-size: 21px; margin-bottom: 8px; }
.course-card__tag { margin-bottom: 18px; font-size: 15px; color: var(--muted); }
.course-card__price { padding: 16px 0; margin-bottom: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.course-card__price b { font-size: 38px; font-weight: 700; color: var(--black); line-height: 1.1; letter-spacing: -.02em; }
.course-card__price b.is-text { font-size: 21px; letter-spacing: 0; }
.course-card__price span { margin-left: 6px; font-size: 14.5px; color: var(--muted); }
.course-card ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; font-size: 15px; line-height: 1.6; }
.course-card li { position: relative; padding-left: 26px; }
.course-card li::before { content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; border-radius: 50%; background: var(--cyan-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23077A8B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.course-card__dates { margin: -6px 0 20px; font-size: 14px; }
.course-card__dates b { display: block; margin-bottom: 4px; }
.course-card__dates span { display: inline-block; margin: 0 6px 6px 0; padding: 3px 10px; border-radius: 8px; background: var(--cyan-light); color: var(--cyan-ink); }
.course-card .btn { margin-top: auto; }
.course-card--skeleton { min-height: 520px; background: linear-gradient(100deg, #fff 40%, var(--gray) 50%, #fff 60%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty-note { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

.curriculum { margin-top: 64px; padding: 44px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); }
.curriculum__head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px; margin-bottom: 28px; }
.curriculum__head h3 { font-size: 24px; }
.curriculum__head p { margin: 0; color: var(--muted); }
.curriculum__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.curriculum article { padding: 22px; border-radius: var(--radius); background: var(--gray); border: 1px solid transparent; transition: border-color .3s, background .3s; }
.curriculum article:hover { background: var(--cyan-light); border-color: var(--cyan-line); }
.curriculum .num { font-size: 15px; font-weight: 700; color: var(--cyan-ink); }
.curriculum h4 { margin: 10px 0 8px; font-size: 16.5px; }
.curriculum ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14.5px; line-height: 1.7; }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { padding: 30px 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--cyan-line); }
.service__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 14px; background: var(--cyan-light); color: var(--cyan-ink); transition: background .3s, color .3s; }
.service:hover .service__icon { background: var(--cyan); color: var(--white); }
.service__icon svg { width: 26px; height: 26px; }
.service h3 { margin-bottom: 8px; font-size: 18px; }
.service p { margin: 0; font-size: 15px; color: var(--muted); }

.package {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; margin-top: 52px; padding: 40px;
  background: var(--white); border: 2px solid var(--cyan); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.package__img { all: unset; display: block; overflow: hidden; border-radius: 18px; cursor: zoom-in; box-shadow: var(--shadow-sm); }
.package__img:focus-visible { outline: 3px solid var(--cyan); }
.package__img img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.package__img:hover img { transform: scale(1.03); }
.package__tag { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px; background: var(--cyan-light); color: var(--cyan-ink); font-size: 12.5px; font-weight: 600; letter-spacing: .03em; }
.package h3 { margin-bottom: 10px; font-size: clamp(24px, 2.8vw, 32px); }
.package__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding: 12px 0 18px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.package__price b { font-size: 50px; font-weight: 700; line-height: 1; color: var(--black); letter-spacing: -.02em; }
.package__price span { font-size: 17px; font-weight: 500; color: var(--ink); }
.package__price small { flex-basis: 100%; font-size: 13.5px; color: var(--muted); }
.package__steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; padding: 0; margin: 0 0 18px; }
.package__steps li { counter-increment: s; display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.5; }
.package__steps li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; background: var(--cyan); color: var(--ink); font-size: 13px; font-weight: 700; }
.package__more { margin-bottom: 18px; padding: 0 18px; background: var(--gray); border: 1px solid var(--line); border-radius: 14px; }
.package__more summary { display: flex; justify-content: space-between; padding: 13px 0; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.package__more summary::-webkit-details-marker { display: none; }
.package__more summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--cyan-ink); transition: transform .3s; }
.package__more[open] summary::after { transform: rotate(45deg); }
.package__more ul { list-style: none; display: grid; gap: 8px; padding: 0 0 14px; margin: 0; }
.package__more li { display: flex; gap: 10px; font-size: 15px; line-height: 1.55; }
.package__more svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--cyan-ink); stroke-width: 2.6; }
.package__for { margin-bottom: 22px; font-size: 15px; color: var(--muted); }
.package__for b { display: block; }
.package__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); margin: 60px 0 44px; border-top: 2px solid var(--line); }
.flow__step { position: relative; padding: 32px 22px 0 0; }
.flow__step span { position: absolute; top: -18px; left: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--white); border: 2px solid var(--cyan); color: var(--cyan-ink); font-size: 14px; font-weight: 700; }
.flow__step b { display: block; margin-bottom: 4px; font-size: 17px; }
.flow__step p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; grid-auto-flow: dense; gap: 16px; }
.g { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--gray); }
.g--wide { grid-column: span 2; grid-row: span 2; }
.g--tall { grid-column: span 1; grid-row: span 2; }
.g__btn { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.g__btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: -3px; }
.g__btn img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .8s var(--ease); }
.g:hover img { transform: scale(1.04); }
.g figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 13.5px; font-weight: 500; line-height: 1.45; pointer-events: none; box-shadow: var(--shadow-xs); }

/* ---------- Reviews ---------- */
.fb-score { display: inline-flex; align-items: center; gap: 16px; margin-top: 8px; padding: 12px 22px 12px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--cyan-line); box-shadow: var(--shadow-sm); text-align: left; transition: transform .25s var(--ease), border-color .25s; }
.fb-score:hover { transform: translateY(-2px); border-color: var(--cyan); }
.fb-score__big { padding: 4px 14px; border-radius: 999px; background: var(--cyan); color: var(--ink); font-size: 24px; font-weight: 700; }
.fb-score__txt b { display: block; font-size: 15px; line-height: 1.4; }
.fb-score__txt small { font-size: 13.5px; color: var(--muted); }
.review-grid { columns: 3; column-gap: 24px; }
.review {
  position: relative; display: flex; flex-direction: column; margin-bottom: 24px; padding: 30px 28px; break-inside: avoid;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs);
  transition: box-shadow .35s var(--ease), border-color .35s;
}
.review:hover { box-shadow: var(--shadow); border-color: var(--cyan-line); }
.review::before { content: "“"; position: absolute; top: 2px; right: 24px; font-size: 80px; font-weight: 700; line-height: 1; color: var(--cyan-light); }
.review--sample { border-style: dashed; }
.review__sample { position: absolute; top: 12px; left: 28px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.review__stars { margin-bottom: 14px; font-size: 16px; letter-spacing: 3px; color: var(--cyan); }
.review__fb { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; padding-right: 48px; font-size: 13px; color: var(--muted); }
.review__fbicon { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #1877F2; color: #fff; font: 700 13px var(--font); }
.review__text { flex: 1; font-size: 15.5px; color: var(--text); white-space: pre-line; }
.review__result { align-self: flex-start; margin-bottom: 18px; padding: 4px 12px; border-radius: 999px; background: var(--cyan-light); color: var(--cyan-ink); font-size: 13px; font-weight: 600; }
.review__who { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.review__avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--black); color: var(--white); font-weight: 600; }
.review__who b { display: block; font-size: 15px; line-height: 1.4; }
.review__who small { font-size: 13px; color: var(--muted); }

/* ---------- Booking ---------- */
.booking__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; display: grid; gap: 12px; padding: 0; margin: 30px 0 0; }
.contact-list a { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.contact-list a:hover { border-color: var(--cyan); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.contact-list small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.contact-list span:last-child { font-size: 16.5px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.ci { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--cyan-light); color: var(--cyan-ink); font-weight: 700; }
.ci svg { width: 22px; height: 22px; }
.ci--line { background: #06C755; color: #fff; font-size: 12px; }
.ci--fb { background: #1877F2; color: #fff; font-size: 22px; }

.form-card { padding: 36px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--cyan); border-radius: var(--radius-lg); box-shadow: var(--shadow); color: var(--text); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 26px; padding: 5px; border-radius: 999px; background: var(--gray); border: 1px solid var(--line); }
.tab { padding: 11px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 15px var(--font); cursor: pointer; transition: background .25s, color .25s; }
.tab.is-active { background: var(--cyan); color: var(--ink); box-shadow: var(--shadow-cyan); }
#leadForm { display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #D4DEE5; border-radius: 12px; background: var(--white);
  font: 400 16px/1.5 var(--font); color: var(--ink); appearance: none; -webkit-appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #8C9AA6; }
.field select { padding-right: 40px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F7080' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; }
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(16, 185, 209, .18); }
.field.is-invalid input, .field.is-invalid select { border-color: #C0392B; }
.field-hint { margin: -6px 0 0; font-size: 13.5px; color: var(--cyan-ink); }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.6; color: var(--muted); cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--cyan); }
.form-msg { min-height: 1.5em; margin: 0; font-size: 15px; text-align: center; }
.form-msg.is-ok { color: #1E7B4D; }
.form-msg.is-err { color: #C0392B; }
.form-msg a { color: var(--cyan-ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.success { padding: 24px 8px; text-align: center; }
.success__icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--cyan-light); color: var(--cyan-ink); }
.success__icon svg { width: 34px; height: 34px; stroke-width: 2.4; }
.success h3 { margin-bottom: 8px; font-size: 24px; }
.success p { color: var(--muted); }
.success .btn { margin-top: 8px; }
.manual-send { display: grid; gap: 10px; margin: 18px 0 14px; }
.manual-send__text { max-height: 200px; overflow: auto; margin: 0; padding: 12px 14px; text-align: left; white-space: pre-wrap; font: 14px/1.6 var(--font); color: var(--text); background: var(--gray); border: 1px solid var(--line); border-radius: 12px; }
.manual-send__hint { margin: 10px 0 0; font-size: 14px; color: #1E7B4D; }

/* ---------- FAQ ---------- */
.faq__inner { max-width: 860px; }
.faq__list { display: grid; gap: 12px; }
.faq details { padding: 0 24px; background: var(--gray); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, background .3s; }
.faq details[open] { background: var(--white); border-color: var(--cyan); box-shadow: var(--shadow-sm); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 16.5px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--cyan-light); color: var(--cyan-ink); font-size: 20px; font-weight: 500; transition: transform .3s, background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--cyan); color: var(--ink); }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { padding: 72px 0 0; background: var(--gray); border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer__logo { width: 170px; height: auto; }
.footer__about { max-width: 340px; margin-top: 18px; }
.footer h4 { margin-bottom: 16px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--black); }
.footer h4::after { content: ""; display: block; width: 22px; height: 2px; margin-top: 8px; border-radius: 2px; background: var(--cyan); }
.footer ul { list-style: none; display: grid; gap: 10px; padding: 0; margin: 0; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--cyan-ink); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; width: 100%; max-width: none; margin: 0; padding: 18px max(16px, calc((100% - 1200px) / 2)); background: var(--black); color: rgba(255, 255, 255, .72); font-size: 13px; }

/* ---------- Floating contact ---------- */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; gap: 10px; }
.fab__btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; font-weight: 700; box-shadow: 0 10px 22px -8px rgba(23, 43, 58, .4); transition: transform .25s var(--ease); }
.fab__btn:hover { transform: scale(1.08); }
.fab__btn--line { background: #06C755; font-size: 12px; }
.fab__btn--fb { background: #1877F2; font-size: 22px; }
.fab__btn--tel { background: var(--cyan); color: var(--ink); }
.fab__btn--tel svg { width: 22px; height: 22px; stroke-width: 2; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 56px 16px; background: rgba(0, 0, 0, .9); }
.lightbox figure { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: min(1200px, 100%); max-height: 100%; margin: 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 12px; }
.lightbox figcaption { color: var(--white); font-size: 15px; text-align: center; }
.lightbox__close, .lightbox__nav { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; transition: background .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--cyan); color: var(--ink); }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__nav--prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .course-card--skeleton { animation: none; }
  .btn:hover, .service:hover, .course-card:hover { transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav__links { gap: 18px; }
  .service-grid, .curriculum__grid { grid-template-columns: repeat(2, 1fr); }
  .float-card--top { left: -16px; }
  .float-card--chart { left: -16px; }
  .float-card--bottom { right: -10px; }
}

@media (max-width: 960px) {
  .nav__links {
    position: fixed; inset: 76px 0 auto; z-index: -1; flex-direction: column; gap: 0; padding: 6px 16px 18px;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm);
    transform: translateY(-120%); transition: transform .35s var(--ease);
  }
  .nav__links a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav.is-open .nav__links { transform: none; }
  .nav__toggle { display: inline-flex; }

  .hero { padding-top: 112px; }
  .hero::before { right: -30%; top: auto; bottom: 0; width: 100%; height: 48%; border-radius: 120px 0 0 0; }
  .hero__grid, .about__grid, .booking__grid { grid-template-columns: 1fr; gap: 48px; }
  .portrait { width: min(360px, 82%); }
  .hero__strip { grid-template-columns: repeat(2, 1fr); }
  .hero__strip div:nth-child(3) { border-left: 0; }
  .hero__strip div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .about__media { max-width: 480px; width: 100%; margin-inline: auto; }
  .course-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .review-grid { columns: 2; }
  .videos__list { gap: 16px; }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 36px 0; border-top: 0; }
  .flow__step { border-top: 2px solid var(--line); }
  .package { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
  .package__media { max-width: 420px; width: 100%; margin: 0 auto; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .section { padding: 88px 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav__cta .btn { display: none; }
  img.brand__mark { width: 44px; }
  .hero__title { font-size: 38px; }
  .hero__lead { font-size: 16.5px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__trust { grid-template-columns: 1fr; }
  .float-card { padding: 10px 12px; }
  .float-card--top { display: none; }
  .float-card--chart { left: -8px; bottom: 10%; }
  .chart { width: 104px; height: 44px; }
  .float-card--bottom { right: -8px; }
  .float-card--bottom b { font-size: 21px; }
  .hero__strip div { padding: 18px 16px; }
  .hero__strip b { font-size: 15.5px; }
  .hero__strip span { font-size: 13px; }
  .about__media::before { inset: 14px -10px -14px 14px; }
  .about__badge { left: 12px; bottom: 16px; }
  .about__stats { gap: 8px; }
  .about__stats div { padding: 12px 10px; }
  .about__stats b { font-size: 22px; }
  .about__stats span { font-size: 12px; }
  .service-grid, .curriculum__grid { grid-template-columns: 1fr; }
  .curriculum { padding: 26px 18px; }
  .flow { grid-template-columns: 1fr; }
  .videos__copy { text-align: left; }
  .videos__actions { justify-content: flex-start; }
  .videos__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .videos__list::-webkit-scrollbar { display: none; }
  .reel { flex: 0 0 78%; scroll-snap-align: start; }
  .package { padding: 20px 18px 24px; margin-top: 40px; }
  .package__steps { grid-template-columns: 1fr; }
  .package__price b { font-size: 42px; }
  .package__actions .btn { flex: 1 1 100%; }
  .gallery__grid { grid-auto-rows: 120px; gap: 10px; }
  .g figcaption { left: 6px; right: 6px; bottom: 6px; padding: 6px 10px; font-size: 12px; }
  .review-grid { columns: 1; }
  .review { padding: 26px 22px; }
  .form-card { padding: 24px 18px; }
  .row { grid-template-columns: 1fr; }
  .course-card { padding: 28px 22px 24px; }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 38px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__logo { width: 150px; }
  .fab { right: 12px; bottom: 12px; }
  .fab__btn { width: 46px; height: 46px; }
  .lightbox__nav { top: auto; bottom: 14px; transform: none; }
}


/* ---------- Language switch (TH / EN) ---------- */
.lang-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--gray); }
.lang-switch button { min-width: 38px; padding: 5px 10px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 13px/1.2 var(--font); letter-spacing: .04em; cursor: pointer; transition: background .2s, color .2s; }
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.is-active { background: var(--cyan); color: var(--ink); }
html:not([lang="en"]) [data-only-lang="en"] { display: none !important; }
.reviews__note { max-width: 720px; margin: -28px auto 32px; text-align: center; font-size: 14px; color: var(--muted); }
@media (max-width: 640px) { .lang-switch button { min-width: 34px; padding: 5px 8px; } }
