/* GT International Advisory — ดำ (พรีเมียม) · น้ำเงิน (น่าเชื่อถือ) · ทอง (หรูหรา)
   ฟอนต์เดียวทั้งเว็บ: IBM Plex Sans Thai 400/600/700 */

:root {
  --ink: #0a0e17;
  --ink-2: #0f1626;
  --navy: #101d36;
  --navy-2: #16284a;
  --blue: #0f52ba;
  --gold: #c9a55c;
  --gold-2: #e3cc95;
  --gold-ink: #7a5c1c;
  --paper: #f6f3ec;
  --white: #ffffff;
  --text: #141a26;
  --muted: #535c6e;
  --on-dark: #e9ecf2;
  --on-dark-muted: #aab2c2;
  --line: rgba(20, 26, 38, 0.12);
  --line-strong: rgba(20, 26, 38, 0.22);
  --line-dark: rgba(255, 255, 255, 0.12);
  --gold-line: rgba(201, 165, 92, 0.35);
  --err: #b42318;
  --ok: #1f7a4d;
  --line-green: #06c755;

  --wrap: 1200px;
  --gutter: 16px;
  --header-h: 64px;
  --float-h: 56px;
  --r: 4px;
  --r-card: 6px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font: 'IBM Plex Sans Thai', 'Noto Sans Thai', system-ui, sans-serif;
}

@media (min-width: 768px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --header-h: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--float-h) + env(safe-area-inset-bottom));
}
@media (min-width: 768px) { body { font-size: 17px; } }
@media (min-width: 1024px) { body { padding-bottom: 0; } }

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.35; margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.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 { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: var(--r); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: calc(820px + var(--gutter) * 2); }

.ico { flex: none; }

/* ------------------------------------------------------------------ ปุ่ม */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 22px; border-radius: var(--r);
  font-weight: 600; font-size: 16px; line-height: 1.3; text-decoration: none; text-align: center;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease), transform 200ms var(--ease);
}
.btn .ico { transition: transform 200ms var(--ease); }
.btn-sm { min-height: 44px; padding: 6px 16px; font-size: 15px; }
.btn-lg { min-height: 54px; padding: 12px 26px; font-size: 17px; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.btn-ghost-dark { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-line { background: var(--white); color: var(--ink); }
.btn-line .line-logo { color: var(--line-green); }
@media (hover: hover) and (pointer: fine) {
  .btn-gold:hover { background: var(--gold-2); }
  .btn-navy:hover { background: var(--navy-2); }
  .btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
  .btn-ghost-dark:hover { border-color: var(--text); }
  .btn-line:hover { background: #f1f3f6; }
  .btn:hover .ico-arrow, .btn:hover svg:last-child:not(.line-logo) { transform: translateX(3px); }
}
.btn:active { transform: translateY(1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; font-weight: 600; color: var(--gold-2); text-decoration: none; }
.text-link-dark { color: var(--gold-ink); }
.text-link .ico { transition: transform 200ms var(--ease); }
@media (hover: hover) and (pointer: fine) { a:hover .text-link .ico, .text-link:hover .ico { transform: translateX(4px); } }

.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.eyebrow-dark { color: var(--gold-ink); }

/* ------------------------------------------------------------------ หัวเว็บ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid rgba(201, 165, 92, 0.22);
  color: var(--white);
}
.header-in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; min-height: 44px; flex: none; }
.brand img { height: 40px; width: auto; }
@media (min-width: 1024px) { .brand img { height: 46px; } }
.nav { display: none; margin-left: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; }
.nav a {
  display: flex; align-items: center; min-height: 44px; padding: 8px 14px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--on-dark);
  position: relative; border-radius: var(--r);
}
.nav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform 200ms var(--ease); }
.nav a[aria-current='page'] { color: var(--gold-2); }
.nav a[aria-current='page']::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav a:hover::after { transform: scaleX(1); } }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav + .header-actions { margin-left: 8px; }
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.08em; color: var(--on-dark); text-decoration: none; border-radius: var(--r);
}
@media (hover: hover) and (pointer: fine) { .lang-switch:hover { color: var(--gold-2); } }
.header-cta { display: none; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; border-radius: var(--r); }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }
@media (min-width: 1024px) { .nav { display: block; } .menu-btn { display: none; } }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--ink); padding: 24px var(--gutter) 40px;
  overflow-y: auto; border-top: 1px solid var(--line-dark);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; }
.mobile-nav li + li { border-top: 1px solid var(--line-dark); }
.mobile-nav a:not(.btn) { display: block; padding: 16px 4px; font-size: 20px; font-weight: 600; text-decoration: none; color: var(--on-dark); }
.mobile-nav a[aria-current='page'] { color: var(--gold-2); }
.mobile-nav-foot { display: grid; gap: 12px; margin-top: 28px; }
.lang-switch-lg { min-height: 48px; border: 1px solid var(--line-dark); font-size: 16px; letter-spacing: 0; }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }
body.menu-open { overflow: hidden; }

.preview-bar { position: sticky; top: 0; z-index: 60; background: #f79009; color: var(--ink); text-align: center; font-weight: 700; padding: 8px 16px; font-size: 15px; }

/* ------------------------------------------------------------------ ลายเส้นทอง (ตกแต่ง) */
.arcs { position: absolute; pointer-events: none; color: var(--gold); }
.arcs-hero-main { width: min(92vw, 760px); right: -26%; top: 50%; translate: 0 -50%; opacity: 0.32; }
@media (min-width: 768px) { .arcs-hero-main { right: -8%; opacity: 0.42; } }
@media (min-width: 1280px) { .arcs-hero-main { right: 2%; } }
.arcs-hero { width: 520px; right: -180px; top: -120px; opacity: 0.25; }
@media (min-width: 1024px) { .arcs-hero { right: -40px; top: -160px; width: 600px; } }
.arcs-why { width: 520px; left: -200px; bottom: -220px; opacity: 0.16; }
.arcs-cta { width: 560px; right: -160px; top: 50%; translate: 0 -50%; opacity: 0.2; }
.arcs-card { width: 120%; right: -45%; top: -10%; opacity: 0.45; }

/* ------------------------------------------------------------------ แบนเนอร์ */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 85% 40%, var(--navy-2) 0%, var(--navy) 38%, var(--ink) 78%);
  color: var(--white);
}
.slides { display: grid; }
.slide {
  grid-area: 1 / 1; position: relative; display: flex; align-items: center;
  min-height: min(70svh, 600px); padding-block: 48px 104px;
  opacity: 0; visibility: hidden; transition: opacity 700ms var(--ease), visibility 0s linear 700ms;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 700ms var(--ease), visibility 0s; z-index: 1; }
@media (min-width: 768px) { .slide { min-height: min(78vh, 720px); padding-block: 80px 120px; } }
.slide-in { position: relative; z-index: 2; }
.slide-in > * { max-width: 760px; }
/* สไลด์มีรูป — มือถือ/แท็บเล็ต: แถบรูป 16:9 ด้านบน + ข้อความด้านล่าง (คนในรูปไม่โดนตัด) */
.slide.has-img { flex-direction: column; align-items: stretch; padding-top: 0; background: #091729; }
.hero-pic { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.hero-pic img { width: 100%; height: 100%; object-fit: cover; }
.hero-pic::after { content: ''; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(to top, #091729, rgba(9, 23, 41, 0)); }
.slide.has-img .slide-in { padding-top: 8px; }
.slide.has-img .hero-sub { display: none; }
.focus-right { object-position: 100% 50%; }
/* จอใหญ่: รูปเต็มพื้นหลัง ความสูงตามสัดส่วนรูป (1870×841) ข้อความอยู่บนพื้นเข้มครึ่งซ้ายของรูป ไม่ทับคน */
@media (min-width: 1024px) {
  .slide.has-img { flex-direction: row; align-items: center; padding-block: 48px 104px; min-height: max(520px, calc(100vw * 841 / 1870)); }
  .slide.has-img .slide-in > * { max-width: min(560px, calc(45vw - var(--gutter))); }
  .slide.has-img .slide-in > .hero-title { max-width: min(660px, calc(49vw - var(--gutter))); }
  .hero-pic { position: absolute; inset: 0; aspect-ratio: auto; z-index: 0; }
  .hero-pic::after { inset: 0; height: auto; background: linear-gradient(90deg, rgba(9, 23, 41, 0.92) 0%, rgba(9, 23, 41, 0.55) 38%, rgba(9, 23, 41, 0) 62%); }
  .slide.has-img .slide-in { padding-top: 0; z-index: 2; }
  .slide.has-img .hero-sub { display: block; }
}
.focus-center { object-position: 50% 50%; }
.focus-left { object-position: 20% 50%; }
.focus-top { object-position: 50% 15%; }
.focus-bottom { object-position: 50% 85%; }
.hero-title { font-size: clamp(1.75rem, 1.1rem + 2.8vw, 3.25rem); line-height: 1.32; font-weight: 700; letter-spacing: -0.005em; }
/* หัวข้อแบรนด์บนแบนเนอร์ — ตัว G และ T เด่น (ล้อกับ GT) */
.hero-brand { font-size: clamp(1.375rem, 1rem + 1.6vw, 2.25rem); font-weight: 600; line-height: 1.3; letter-spacing: 0.01em; color: var(--on-dark); margin-bottom: 14px; }
.hero-brand .gt { color: var(--gold); font-weight: 700; font-size: 1.14em; }
/* จอใหญ่: หัวข้อทุกสไลด์ขนาดเท่ากัน และเล็กลงให้สมดุลกับบรรทัดแบรนด์ด้านบน */
@media (min-width: 1024px) { .hero-title { font-size: clamp(1.875rem, 2.8vw, 2.75rem); } }
.hero-sub { margin-top: 20px; font-size: clamp(1rem, 0.9rem + 0.45vw, 1.1875rem); color: var(--on-dark-muted); max-width: 620px; }
.slide .btn-row { margin-top: 32px; }
@media (max-width: 479px) { .slide .btn-ghost { display: none; } }
.slide-in > * { transition: transform 700ms var(--ease); }
.slide:not(.is-active) .slide-in > * { transform: translateY(12px); }

.slider-ui { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dots { display: flex; gap: 6px; }
.dot { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; padding: 0; }
.dot span { display: block; width: 28px; height: 2px; background: rgba(255, 255, 255, 0.28); position: relative; overflow: hidden; }
.dot span::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.dot[aria-current='true'] span::after { transform: scaleX(1); }
.hero.is-playing .dot[aria-current='true'] span::after { animation: dot-fill var(--slide-ms, 6000ms) linear both; }
@keyframes dot-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.arrows { display: flex; gap: 8px; }
.arrow { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.22); color: var(--white); cursor: pointer; transition: border-color 200ms var(--ease), background-color 200ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .arrow:hover { border-color: var(--gold); background: rgba(201, 165, 92, 0.12); } }

/* ------------------------------------------------------------------ แถบจุดเด่น */
.strip { background: var(--ink-2); color: var(--white); border-top: 1px solid var(--line-dark); }
.strip-in { display: grid; gap: 0; }
.strip-item { padding: 22px 0; border-bottom: 1px solid var(--line-dark); }
.strip-item:last-child { border-bottom: 0; }
.strip-value { font-size: 20px; font-weight: 700; color: var(--gold-2); line-height: 1.4; }
.strip-label { font-size: 15px; color: var(--on-dark-muted); margin-top: 2px; }
@media (min-width: 768px) {
  .strip-in { grid-template-columns: repeat(3, 1fr); }
  .strip-item { padding: 28px 28px; border-bottom: 0; border-left: 1px solid var(--gold-line); }
  .strip-item:first-child { padding-left: 0; border-left: 0; }
}

/* ------------------------------------------------------------------ ส่วนต่างๆ */
.section { position: relative; padding-block: 64px; }
@media (min-width: 1024px) { .section { padding-block: 104px; } }
.section-paper { background: var(--paper); }
.section-ink { background: var(--ink); color: var(--white); overflow: hidden; }
.section-title { font-size: clamp(1.625rem, 1.2rem + 1.7vw, 2.5rem); line-height: 1.35; color: var(--navy); }
.section-ink .section-title { color: var(--white); }
.section-lead { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 680px; }
.section-ink .section-lead { color: var(--on-dark-muted); }
.section-head { margin-bottom: 40px; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; }
@media (min-width: 1024px) { .section-head { margin-bottom: 56px; } }

.intro-grid { display: grid; gap: 24px; }
.intro-body { font-size: 18px; color: var(--text); }
.intro-body p + a { margin-top: 20px; }
@media (min-width: 1024px) {
  .intro-grid { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
  .intro-body { font-size: 19px; }
}

/* ------------------------------------------------------------------ บริการ */
.pillar { display: grid; gap: 24px; padding-block: 40px; border-top: 1px solid var(--line); }
.pillar:last-child { padding-bottom: 0; }
.pillar-num { font-size: 14px; font-weight: 600; letter-spacing: 0.14em; color: var(--gold-ink); margin-bottom: 8px; }
.pillar-name { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); color: var(--navy); font-weight: 600; letter-spacing: -0.005em; }
.pillar-head p:last-child, .svc-group-head p { margin-top: 10px; color: var(--muted); }
@media (min-width: 1024px) {
  .pillar { grid-template-columns: 4fr 8fr; gap: 56px; padding-block: 56px; }
  .pillar-head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}

.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.svc-grid-1 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .svc-grid { gap: 24px; } .svc-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.svc-card { min-width: 0; }
.svc-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; transition: transform 200ms var(--ease); }
.svc-media img { width: 100%; height: auto; border-radius: var(--r-card); }
.svc-body { display: flex; flex-direction: column; flex: 1; padding-top: 16px; }
.svc-body .eyebrow { font-size: 14px; margin-bottom: 6px; letter-spacing: 0.1em; }
.svc-title { font-size: 17px; color: var(--navy); line-height: 1.4; }
.svc-summary { margin-top: 8px; color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.svc-body .text-link, .post-body .text-link { color: var(--gold-ink); }
.svc-body .text-link { margin-top: auto; padding-top: 14px; font-size: 15px; }
@media (max-width: 479px) {
  .svc-grid:not(.svc-grid-1) .svc-summary { display: none; }
  .svc-grid:not(.svc-grid-1) .svc-body .eyebrow { display: none; }
}
@media (min-width: 768px) {
  .svc-title { font-size: 20px; }
  .svc-summary { font-size: 16px; }
  .svc-grid-1 .svc-link { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
  .svc-grid-1 .svc-body { padding-top: 0; }
}
@media (hover: hover) and (pointer: fine) {
  .svc-link:hover { transform: translateY(-3px); }
  .svc-link:hover .svc-title { color: var(--blue); }
}
.svc-group + .svc-group { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.svc-group-head { margin-bottom: 28px; max-width: 720px; }

/* ------------------------------------------------------------------ ทำไมต้องเรา */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 16px; margin-top: 40px; position: relative; }
@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(4, 1fr); gap: 40px 32px; margin-top: 56px; } }
.why-ico { color: var(--gold); }
.why-item h3 { margin-top: 18px; font-size: 18px; color: var(--white); }
.why-item p { margin-top: 8px; color: var(--on-dark-muted); font-size: 15px; }
@media (min-width: 768px) { .why-item h3 { font-size: 20px; } .why-item p { font-size: 16px; } }
.why-item { padding-top: 20px; border-top: 1px solid var(--gold-line); }

/* ------------------------------------------------------------------ ขั้นตอน */
.steps { list-style: none; display: grid; gap: 28px; margin-top: 40px; counter-reset: s; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); margin-top: 56px; } }
.step { padding-top: 20px; border-top: 2px solid var(--navy); }
.step-num { display: block; font-size: 15px; font-weight: 600; letter-spacing: 0.14em; color: var(--gold-ink); }
.step h3 { margin-top: 10px; font-size: 19px; color: var(--navy); }
.step p { margin-top: 8px; color: var(--muted); }

/* ------------------------------------------------------------------ FAQ */
.faq { margin-top: 32px; border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-size: 17px; font-weight: 600; color: var(--navy); }
@media (min-width: 768px) { .faq-q { font-size: 19px; } }
.faq-ico { color: var(--gold-ink); transition: transform 200ms var(--ease); }
.faq-item[open] .faq-ico { transform: rotate(180deg); }
.faq-a { padding: 0 40px 24px 0; color: var(--muted); }

/* ------------------------------------------------------------------ บทความ */
.post-grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .post-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); gap: 48px 32px; } }
.post-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; transition: transform 200ms var(--ease); }
.post-media img { width: 100%; height: auto; border-radius: var(--r-card); }
.post-media-type {
  position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--r-card);
  background: radial-gradient(120% 120% at 100% 0%, var(--navy-2), var(--ink) 70%);
  display: flex; align-items: flex-end; padding: 20px;
}
.post-media-type span { position: relative; color: var(--gold-2); font-weight: 600; font-size: 15px; letter-spacing: 0.04em; }
.post-body { display: flex; flex-direction: column; flex: 1; padding-top: 18px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; color: var(--muted); }
.post-meta span { color: var(--gold-ink); font-weight: 600; }
.post-title { margin-top: 8px; font-size: 19px; color: var(--navy); line-height: 1.45; }
.post-excerpt { margin-top: 8px; color: var(--muted); font-size: 16px; }
.post-body .text-link { margin-top: auto; padding-top: 14px; font-size: 15px; }
@media (hover: hover) and (pointer: fine) {
  .post-link:hover { transform: translateY(-3px); }
  .post-link:hover .post-title { color: var(--blue); }
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--text); }
.chips a[aria-current='page'] { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ------------------------------------------------------------------ แถบชวนนัด */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy) 0%, var(--ink) 100%); color: var(--white); padding-block: 72px; }
@media (min-width: 1024px) { .cta-band { padding-block: 104px; } }
.cta-in { position: relative; }
.cta-in h2 { font-size: clamp(1.625rem, 1.1rem + 2vw, 2.75rem); max-width: 820px; }
.cta-in p { margin-top: 16px; color: var(--on-dark-muted); max-width: 680px; font-size: 18px; }
.cta-in .btn-row { margin-top: 32px; }

/* ------------------------------------------------------------------ หัวหน้าย่อย */
.page-hero { position: relative; overflow: hidden; background: radial-gradient(120% 120% at 100% 0%, var(--navy-2) 0%, var(--navy) 35%, var(--ink) 80%); color: var(--white); padding-block: 40px 56px; }
@media (min-width: 1024px) { .page-hero { padding-block: 56px 88px; } }
.page-hero-in { position: relative; }
.page-hero h1 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3.25rem); max-width: 900px; }
.page-hero .lead { margin-top: 18px; font-size: 18px; color: var(--on-dark-muted); max-width: 760px; }
.lead-meta { display: block; margin-top: 10px; font-size: 15px; color: var(--gold-2); }
.page-hero-404 { padding-block: 96px 120px; }
.page-hero-404 .btn-row { margin-top: 32px; }
.crumbs { margin-bottom: 28px; font-size: 14px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li { color: var(--on-dark-muted); }
.crumbs li + li::before { content: '/'; margin: 0 10px; opacity: 0.5; }
.crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; color: var(--on-dark-muted); text-decoration: none; }
.crumbs ol { align-items: center; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs [aria-current] { color: var(--on-dark); }

/* ------------------------------------------------------------------ เนื้อหายาว */
.prose { max-width: 72ch; font-size: 17px; }
@media (min-width: 768px) { .prose { font-size: 18px; } }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem); color: var(--navy); }
.prose h2::before { content: ''; display: block; width: 40px; height: 2px; background: var(--gold); margin-bottom: 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; font-size: 20px; color: var(--navy); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.5em; }
.prose ul li::marker { color: var(--gold-ink); }
.prose ol li::marker { color: var(--gold-ink); font-weight: 600; }
.prose a:not(.btn) { color: var(--blue); text-underline-offset: 3px; padding-block: 8px; }
.prose strong { color: var(--navy); }
.prose .btn { margin-top: 1em; }
.prose-center { margin: 56px auto 0; }

.detail-grid { display: grid; gap: 40px; }
.detail-media img { width: 100%; height: auto; border-radius: var(--r-card); }
/* กรอบทองทับรูปบริการ — สัดส่วนเดียวกับรูป (940:788) จึงซ้อนพอดี */
.framed { position: relative; overflow: hidden; border-radius: var(--r-card); }
.framed > img:first-child { display: block; }
.framed .gold-frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; border-radius: 0; }
@media (min-width: 1024px) {
  .detail-grid { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
  .detail-media { position: sticky; top: calc(var(--header-h) + 32px); }
}
.article-figure { margin: 0 0 40px; }
.article-cover { width: 100%; border-radius: var(--r-card); }

/* ------------------------------------------------------------------ เกี่ยวกับเรา */
.team-grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 48px; } }
.team-card { padding-top: 24px; border-top: 2px solid var(--navy); }
.team-card .why-ico { color: var(--gold-ink); }
.team-card h2 { margin-top: 16px; font-size: 22px; color: var(--navy); }
.team-card p { margin-top: 10px; color: var(--muted); }
.duty-list { list-style: none; display: grid; gap: 28px; margin-top: 40px; }
@media (min-width: 768px) { .duty-list { grid-template-columns: repeat(2, 1fr); gap: 36px 48px; } }
.duty { display: grid; grid-template-columns: 44px 1fr; gap: 12px; }
.duty .step-num { padding-top: 3px; }
.duty h3 { font-size: 18px; color: var(--navy); }
.duty p { margin-top: 6px; color: var(--muted); }
.partner-grid { display: grid; gap: 40px; position: relative; }
@media (min-width: 1024px) { .partner-grid { grid-template-columns: 6fr 5fr; gap: 72px; align-items: center; } }
.partner-list { list-style: none; display: grid; gap: 16px; }
.partner-list li { display: flex; gap: 16px; align-items: center; padding: 20px 0; border-top: 1px solid var(--gold-line); }
.partner-name { font-weight: 600; font-size: 18px; color: var(--white); }
.partner-place { color: var(--on-dark-muted); font-size: 15px; }

/* ------------------------------------------------------------------ ติดต่อ + ฟอร์ม */
.form-wrap { display: grid; gap: 40px; }
@media (min-width: 1024px) { .form-wrap { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; } }
.form-intro > p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px 16px; }
.section-paper .form-card { border-color: transparent; }
@media (min-width: 768px) { .form-card { padding: 40px; } }
.form-grid { display: grid; gap: 0 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field .hint { font-size: 14px; color: var(--muted); margin: -2px 0 8px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--text);
  background: var(--white); border: 1px solid #c3c8d2; border-radius: var(--r);
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23535c6e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(201, 165, 92, 0.45); }
.field [aria-invalid='true'] { border-color: var(--err); }
.field-err { display: flex; gap: 6px; margin-top: 6px; font-size: 14px; color: var(--err); font-weight: 600; }
.field-err[hidden] { display: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.consent .ico { color: var(--gold-ink); margin-top: 3px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-actions .btn { width: 100%; }
@media (min-width: 640px) { .form-actions .btn { width: auto; } }
.form-status { font-size: 15px; font-weight: 600; }
.form-status.is-error { color: var(--err); }
.form-done { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--r); background: #ecf6f0; color: var(--ok); margin-bottom: 20px; }
.form-done h3 { font-size: 19px; color: var(--ok); }
.form-done p { color: var(--text); margin-top: 4px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

.info-list { list-style: none; display: grid; gap: 4px; margin-top: 32px; }
.info-list li { display: grid; grid-template-columns: 32px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.info-list .info-ico { color: var(--gold-ink); }
.info-list .line-logo { color: var(--line-green); }
.info-list h2 { font-size: 15px; font-weight: 600; color: var(--muted); }
.info-list p { color: var(--text); font-size: 17px; }
.info-list a:not(.text-link) { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--navy); font-weight: 600; text-decoration: none; }
.info-list .text-link { margin-top: 6px; font-size: 15px; }
.map-section iframe { width: 100%; height: 340px; border: 0; }
@media (min-width: 768px) { .map-section iframe { height: 460px; } }

/* ------------------------------------------------------------------ ท้ายเว็บ */
.site-footer { background: var(--ink); color: var(--on-dark); padding-top: 64px; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 5fr 3fr 4fr; gap: 48px; } }
.footer-brand img { width: 220px; height: auto; }
.footer-brand p { margin-top: 16px; color: var(--on-dark-muted); max-width: 340px; }
.footer-h { font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 4px; }
.footer-col a { text-decoration: none; color: var(--on-dark); display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.footer-col a:hover { color: var(--gold-2); }
.contact-list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; color: var(--on-dark-muted); }
.contact-list .ico { color: var(--gold); margin-top: 12px; }
.contact-list .line-logo { color: var(--line-green); margin-top: 12px; }
.contact-list span { padding: 10px 0; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 20px; font-size: 14px; color: var(--on-dark-muted); }

/* ------------------------------------------------------------------ ปุ่มลอยมือถือ (ไลน์ + โทร เท่านั้น) */
.float-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line-strong); padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 16px rgba(10, 14, 23, 0.12);
}
.float-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; height: var(--float-h); font-weight: 700; font-size: 16px; text-decoration: none; }
.float-line { background: var(--white); color: var(--ink); }
.float-line .line-logo { color: var(--line-green); }
.float-call { background: var(--gold); color: var(--ink); }
@media (min-width: 1024px) { .float-bar { display: none; } }

.cookie-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(var(--float-h) + 12px + env(safe-area-inset-bottom)); z-index: 45;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
  background: var(--white); color: var(--text); padding: 16px 18px; border-radius: var(--r-card);
  box-shadow: 0 12px 32px rgba(10, 14, 23, 0.22), 0 0 0 1px var(--line);
  max-width: 720px; margin-inline: auto; font-size: 15px;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar div { display: flex; gap: 8px; }
@media (min-width: 1024px) { .cookie-bar { bottom: 20px; } }

/* ------------------------------------------------------------------ อนิเมชันตอนเลื่อนถึง (เล่นครั้งเดียว) */
.reveal.pre { opacity: 0; transform: translateY(20px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 500ms var(--ease), transform 500ms var(--ease); transition-delay: var(--d, 0ms); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal.pre { opacity: 1; transform: none; }
  .slide:not(.is-active) .slide-in > * { transform: none; }
}
