@font-face {
  font-family: "Noto Sans Thai";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/noto-sans-thai-thai.woff2") format("woff2");
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

@font-face {
  font-family: "Noto Sans Thai";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/noto-sans-thai-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #173f3c;
  --text: #385753;
  --muted: #687f7c;
  --primary: #245f5b;
  --primary-dark: #174744;
  --sage: #b8d8ca;
  --mint: #e1f3eb;
  --sky: #e2eff8;
  --peach: #f9e2d5;
  --lavender: #ece7f5;
  --cream: #fffaf2;
  --coral: #d97861;
  --yellow: #f7dca2;
  --white: #ffffff;
  --line: #d5e4de;
  --shadow: 0 18px 50px rgba(36, 95, 91, 0.12);
  --shadow-sm: 0 8px 24px rgba(36, 95, 91, 0.09);
  --radius: 28px;
  --radius-sm: 18px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font-family: "Noto Sans Thai", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #d97861; outline-offset: 4px; }

.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 1000;
  padding: .75rem 1rem; border-radius: 12px; background: var(--ink); color: white;
}
.skip-link:focus { top: 1rem; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.surface-white { background: var(--white); }
.surface-mint { background: var(--mint); }
.surface-sky { background: var(--sky); }
.surface-peach { background: var(--peach); }
.surface-lavender { background: var(--lavender); }
.surface-ink { background: var(--ink); color: white; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 250, 242, .92); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(36,95,91,.1);
}
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { width: 230px; flex: 0 0 auto; }
.brand img { width: 100%; height: auto; }
.nav-links { display: flex; align-items: center; gap: 27px; font-weight: 700; color: var(--ink); }
.nav-links > a:not(.button) { position: relative; padding: 8px 0; }
.nav-links > a:not(.button)::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav-links > a:hover::after, .nav-links > a[aria-current="page"]::after { transform: scaleX(1); }
.menu-button {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 14px;
  background: white; color: var(--ink); align-items: center; justify-content: center; cursor: pointer;
}
.menu-button span, .menu-button span::before, .menu-button span::after {
  display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: .2s;
}
.menu-button span::before, .menu-button span::after { content: ""; position: absolute; left: 0; }
.menu-button span::before { top: -6px; }
.menu-button span::after { top: 6px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 11px 22px; border: 0; border-radius: 15px;
  background: var(--primary); color: white; font-weight: 800; cursor: pointer;
  box-shadow: 0 8px 18px rgba(36,95,91,.18); transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--primary-dark); box-shadow: 0 12px 24px rgba(36,95,91,.24); }
.button-secondary { background: white; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.button-secondary:hover { background: var(--mint); color: var(--ink); }
.button-coral { background: var(--coral); }
.button-coral:hover { background: #bd5f4b; }
.button-small { min-height: 42px; padding: 8px 16px; border-radius: 13px; }
.text-link { color: var(--primary); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }

.hero { padding: 76px 0 88px; overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 999px; filter: blur(1px); opacity: .72; pointer-events: none;
}
.hero::before { width: 380px; height: 380px; background: var(--peach); right: -140px; top: 80px; }
.hero::after { width: 260px; height: 260px; background: var(--sky); left: -120px; bottom: 30px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px;
  background: var(--mint); color: var(--primary-dark); font-size: .83rem; font-weight: 900; letter-spacing: .02em;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
h1, h2, h3, h4 {
  color: var(--ink);
  font-family: "Noto Sans Thai", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
  text-wrap: balance;
}
h1 { margin-top: 22px; font-size: clamp(2.45rem, 5.5vw, 4.75rem); letter-spacing: -.012em; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.28rem; }
.hero-copy > p { max-width: 640px; font-size: 1.14rem; color: var(--muted); margin: 24px 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: .91rem; font-weight: 700; color: var(--muted); }
.hero-proof span::before { content: "✓"; color: var(--primary); margin-right: 7px; font-weight: 900; }

.dashboard {
  position: relative; padding: 20px; border: 1px solid rgba(36,95,91,.12); border-radius: 34px;
  background: rgba(255,255,255,.9); box-shadow: var(--shadow); transform: rotate(1.2deg);
}
.dash-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.dash-title { font-weight: 900; color: var(--ink); }
.status { padding: 6px 10px; background: var(--mint); color: var(--primary); border-radius: 999px; font-size: .76rem; font-weight: 900; }
.metric-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.metric { border-radius: 18px; padding: 15px; min-height: 110px; }
.metric:nth-child(1) { background: var(--mint); }
.metric:nth-child(2) { background: var(--sky); }
.metric:nth-child(3) { background: var(--peach); }
.metric small { display: block; font-weight: 700; color: var(--muted); }
.metric strong { display: block; margin-top: 7px; font-size: 1.55rem; color: var(--ink); }
.metric em { font-style: normal; color: var(--primary); font-size: .8rem; font-weight: 800; }
.chart-card { margin-top: 10px; padding: 18px; border-radius: 20px; background: var(--lavender); }
.chart-bars { height: 150px; display: flex; align-items: end; gap: 9px; padding-top: 20px; }
.chart-bars i { flex: 1; min-width: 12px; background: var(--primary); border-radius: 8px 8px 4px 4px; opacity: .84; }
.chart-bars i:nth-child(2n) { background: #7fa7a1; }
.floating-chip {
  position: absolute; right: -28px; bottom: 42px; padding: 12px 16px; border-radius: 15px;
  background: var(--yellow); color: var(--ink); font-weight: 900; box-shadow: var(--shadow-sm); transform: rotate(-3deg);
}

.section-heading { max-width: 750px; margin-bottom: 44px; }
.section-heading.center { text-align: center; margin-inline: auto; }
.section-heading p { margin: 16px 0 0; color: var(--muted); font-size: 1.06rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.card { padding: 28px; border-radius: var(--radius); background: white; border: 1px solid rgba(36,95,91,.1); box-shadow: var(--shadow-sm); }
.card-icon {
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 17px; margin-bottom: 21px;
  color: var(--ink); background: var(--mint); font-size: 1.45rem; font-weight: 900;
}
.card:nth-child(3n+2) .card-icon { background: var(--sky); }
.card:nth-child(3n+3) .card-icon { background: var(--peach); }
.card p { margin: 12px 0 0; color: var(--muted); }
.card .text-link { display: inline-block; margin-top: 18px; }
.feature-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.feature-list li { position: relative; padding-left: 28px; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 900; }

.trust-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.trust-item { padding: 25px; text-align: center; background: white; }
.trust-item strong { display: block; color: var(--ink); font-size: 1.55rem; }
.trust-item span { color: var(--muted); font-size: .9rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.visual-card { min-height: 460px; border-radius: 36px; padding: 30px; background: var(--sky); position: relative; overflow: hidden; }
.visual-card::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: var(--peach); right: -80px; bottom: -80px; }
.score-panel { position: relative; z-index: 1; background: white; border-radius: 24px; padding: 24px; box-shadow: var(--shadow-sm); }
.score-ring { width: 140px; aspect-ratio: 1; border-radius: 50%; margin: 20px auto; display: grid; place-items: center; background: conic-gradient(var(--primary) 0 84%, var(--mint) 84%); position: relative; }
.score-ring::after { content: ""; position: absolute; inset: 13px; background: white; border-radius: 50%; }
.score-ring strong { position: relative; z-index: 1; font-size: 2rem; color: var(--ink); }
.mini-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.mini-row strong { color: var(--ink); }

.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; counter-reset: step; }
.step { counter-increment: step; padding: 26px; background: white; border-radius: 24px; border: 1px solid var(--line); }
.step::before { content: "0" counter(step); display: block; margin-bottom: 40px; color: var(--coral); font-size: .85rem; font-weight: 900; letter-spacing: .08em; }

.case-card { display: grid; grid-template-columns: .85fr 1.15fr; overflow: hidden; border-radius: 32px; background: white; box-shadow: var(--shadow); }
.case-aside { padding: 34px; background: var(--primary); color: white; }
.case-aside h3 { color: white; margin-top: 14px; font-size: 1.7rem; }
.case-main { padding: 34px; }
.case-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 26px; }
.case-metric { padding: 18px; background: var(--mint); border-radius: 18px; }
.case-metric:nth-child(2) { background: var(--sky); }
.case-metric:nth-child(3) { background: var(--peach); }
.case-metric strong { display: block; color: var(--ink); font-size: 1.45rem; }
.case-note { margin-top: 16px; color: var(--muted); font-size: .86rem; }
.case-evidence { margin-top: 28px; padding: 12px; border: 1px solid var(--line); border-radius: 26px; background: white; box-shadow: var(--shadow-sm); }
.case-evidence img { width: 100%; height: auto; border-radius: 17px; }
.evidence-caption { margin: 10px 5px 2px; color: var(--muted); font-size: .82rem; }
.case-summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-summary { display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.case-summary-art { min-height: 190px; padding: 26px; display: flex; align-items: flex-end; background: var(--sky); }
.case-summary:nth-child(2) .case-summary-art { background: var(--peach); }
.case-summary:nth-child(3) .case-summary-art { background: var(--mint); }
.case-summary-art strong { color: var(--ink); font-size: 2.25rem; line-height: 1.15; }
.case-summary-body { display: flex; flex-direction: column; flex: 1; padding: 25px; }
.case-summary-body .button { margin-top: auto; }

.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; padding: 30px; border-radius: 28px; background: white; border: 1px solid var(--line); }
.price-card.featured { border: 2px solid var(--primary); box-shadow: var(--shadow); transform: translateY(-10px); }
.price-label { display: inline-flex; align-self: flex-start; padding: 6px 11px; background: var(--peach); border-radius: 999px; color: #8b4d3e; font-size: .78rem; font-weight: 900; }
.price-card h3 { margin-top: 20px; }
.price { margin: 16px 0 6px; color: var(--ink); font-size: 2rem; font-weight: 900; }
.price small { color: var(--muted); font-size: .85rem; font-weight: 600; }
.price-card .button { margin-top: auto; }

.logo-cloud { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.logo-pill { min-height: 80px; display: grid; place-items: center; padding: 16px; border-radius: 18px; background: white; border: 1px solid var(--line); color: var(--ink); text-align: center; font-weight: 800; }

.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { background: white; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.faq-button { width: 100%; padding: 19px 22px; border: 0; background: transparent; color: var(--ink); display: flex; justify-content: space-between; gap: 20px; text-align: left; font-weight: 800; cursor: pointer; }
.faq-button::after { content: "+"; flex: 0 0 auto; font-size: 1.3rem; color: var(--primary); }
.faq-button[aria-expanded="true"]::after { content: "−"; }
.faq-panel { padding: 0 22px 20px; color: var(--muted); }
.faq-panel[hidden] { display: none; }

.cta-panel { position: relative; overflow: hidden; padding: 56px; border-radius: 36px; background: var(--ink); color: white; }
.cta-panel::after { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -100px; background: var(--peach); border-radius: 50%; opacity: .9; }
.cta-panel h2 { color: white; max-width: 720px; }
.cta-panel p { max-width: 690px; color: #d9e8e4; }
.cta-panel .hero-actions { position: relative; z-index: 1; margin-top: 28px; }

.page-hero { padding: 72px 0 64px; text-align: center; }
.page-hero h1 { max-width: 900px; margin-inline: auto; }
.page-hero p { max-width: 760px; margin: 20px auto 0; color: var(--muted); font-size: 1.08rem; }
.breadcrumbs { display: flex; justify-content: center; gap: 8px; color: var(--muted); font-size: .88rem; }
.breadcrumbs a { color: var(--primary); font-weight: 800; }

.service-detail { display: grid; grid-template-columns: 180px 1fr; gap: 30px; padding: 32px 0; border-top: 1px solid var(--line); }
.service-number { color: var(--coral); font-weight: 900; letter-spacing: .08em; }
.service-detail p { max-width: 760px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.tag { padding: 6px 11px; border-radius: 999px; background: var(--mint); color: var(--primary-dark); font-size: .8rem; font-weight: 800; }

.form-card { padding: 34px; border-radius: 28px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { color: var(--ink); font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid #b8cbc5; border-radius: 14px; background: #fcfffd;
  color: var(--ink); padding: 13px 14px; min-height: 48px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field small { color: var(--muted); }
.form-status { min-height: 28px; margin-top: 12px; color: var(--primary); font-weight: 800; }

.article-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.article-card { overflow: hidden; border-radius: 26px; background: white; border: 1px solid var(--line); }
.article-art { min-height: 190px; display: grid; place-items: center; background: var(--sky); color: var(--primary); font-size: 3rem; }
.article-card:nth-child(2n) .article-art { background: var(--peach); }
.article-card:nth-child(3n) .article-art { background: var(--mint); }
.article-body { padding: 24px; }
.article-meta { color: var(--muted); font-size: .82rem; font-weight: 700; }
.article-body h2, .article-body h3 { margin: 10px 0 0; font-size: 1.25rem; }

.legal { max-width: 850px; }
.legal h2 { margin-top: 42px; font-size: 1.6rem; }
.legal h3 { margin-top: 28px; }
.legal a { color: var(--primary); text-decoration: underline; }

.site-footer { padding: 64px 0 28px; background: #123735; color: #d9e8e4; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 42px; }
.footer-brand { width: 230px; filter: brightness(0) invert(1); opacity: .95; }
.site-footer h2, .site-footer h3 { color: white; font-size: 1rem; margin-bottom: 14px; }
.footer-links { display: grid; gap: 9px; }
.footer-links a:hover { color: white; text-decoration: underline; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 20px; font-size: .85rem; color: #b9cfca; }

.line-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 58px; height: 58px; display: grid; place-items: center;
  border-radius: 18px; background: var(--primary); color: white; box-shadow: var(--shadow); font-weight: 900; font-size: .72rem;
}

.consent-banner {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 18px;
  width: min(calc(100% - 28px), 820px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px 16px 14px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .97);
  box-shadow: var(--shadow);
  color: var(--text);
}
.consent-banner p { display: grid; gap: 1px; margin: 0; line-height: 1.45; }
.consent-banner p strong { color: var(--ink); }
.consent-banner p span { color: var(--muted); font-size: .86rem; }
.consent-banner > div { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.consent-banner a { color: var(--primary); font-weight: 800; font-size: .84rem; text-decoration: underline; }
.consent-banner button { border: 1px solid var(--line); border-radius: 11px; background: white; color: var(--ink); padding: 8px 11px; cursor: pointer; font-weight: 800; }
.consent-banner .consent-accept { background: var(--primary); border-color: var(--primary); color: white; }

@media (max-width: 980px) {
  .menu-button { display: flex; }
  .nav-links {
    position: fixed; left: 20px; right: 20px; top: 92px; display: none; padding: 18px;
    flex-direction: column; align-items: stretch; gap: 4px; background: white; border: 1px solid var(--line);
    border-radius: 20px; box-shadow: var(--shadow);
  }
  .nav-links[data-open="true"] { display: flex; }
  .nav-links a { padding: 10px 12px !important; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .dashboard { max-width: 680px; margin-inline: auto; }
  .grid-3, .pricing-grid, .article-grid { grid-template-columns: repeat(2,1fr); }
  .steps, .trust-strip { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 2 / -1; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 70px 0; }
  .section-sm { padding: 48px 0; }
  .nav-wrap { min-height: 72px; }
  .brand { width: 185px; }
  .hero { padding: 52px 0 68px; }
  .hero-grid { gap: 42px; }
  h1 { font-size: clamp(2.25rem, 12vw, 3.3rem); }
  h2 { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .hero-actions .button { width: 100%; }
  .dashboard { padding: 12px; border-radius: 25px; transform: none; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(3) { grid-column: 1 / -1; min-height: auto; }
  .floating-chip { right: 8px; bottom: -22px; }
  .grid-3, .grid-2, .pricing-grid, .article-grid, .steps, .case-metrics, .logo-cloud { grid-template-columns: 1fr; }
  .case-summary-grid { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .case-card { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .cta-panel { padding: 34px 24px; border-radius: 28px; }
  .form-card { padding: 24px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .service-detail { grid-template-columns: 1fr; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .line-fab { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .consent-banner { align-items: stretch; bottom: 10px; flex-direction: column; gap: 9px; padding: 13px; }
  .consent-banner > div { justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.lead-consent{display:flex;gap:12px;align-items:flex-start;margin:18px 0;color:var(--ink-soft);font-size:.94rem;line-height:1.6}.lead-consent input{width:18px;height:18px;margin-top:4px;accent-color:var(--brand)}.form-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}.form-card button[disabled]{opacity:.65;cursor:wait}
