:root {
  --red: #EB0A1E;
  --ink: #111;
  --char: #4A4A4A;
  --muted: #6F6F6F;
  --line: #E6E1DB;
  --cream: #F6F3EE;
  --paper: #fff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "IBM Plex Sans Thai", "Sarabun", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font-family: inherit; }
.wrap { width: min(980px, calc(100% - 32px)); margin-inline: auto; }

.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; min-height: 68px; gap: 12px; }
.logo { height: 40px; width: auto; }
.top-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer; text-decoration: none;
  border-radius: 999px; padding: 10px 16px; font-weight: 600; font-size: 14px;
}
.btn-red { background: var(--red); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-lg { padding: 14px 22px; font-size: 16px; }

.hero {
  display: grid; grid-template-columns: 48% 1fr; align-items: center;
  min-height: 420px; background: var(--ink); color: #fff; overflow: hidden;
}
.hero .bg { width: 100%; height: 100%; object-fit: cover; object-position: 28% center; }
.hero-copy {
  padding: 56px 32px 60px calc(max(16px, (100vw - 980px) / 2));
  max-width: 620px;
}
.kicker { letter-spacing: .08em; font-size: 13px; font-weight: 600; opacity: .9; }
.kicker.dark { color: var(--red); opacity: 1; }
.hero h1 { font-size: clamp(36px, 7vw, 64px); line-height: 1.1; margin: 8px 0 12px; }
.hero p { font-size: 18px; max-width: 40ch; color: #f3eee8; margin-bottom: 20px; }

.block { padding: 72px 0; }
.block.alt { background: var(--cream); }
.block h2 { font-size: clamp(26px, 4vw, 40px); line-height: 1.25; margin-bottom: 28px; }
.sub { font-size: 20px; margin: 36px 0 16px; }

.reason-grid { display: grid; gap: 16px; }
.reason {
  display: grid; grid-template-columns: 56px 1fr; gap: 16px;
  padding: 22px 0; border-top: 1px solid var(--line);
}
.reason:last-child { border-bottom: 1px solid var(--line); }
.reason .num { font-size: 22px; font-weight: 700; color: var(--red); }
.reason h3 { font-size: 22px; margin-bottom: 6px; }
.reason p { color: var(--char); }

.promo-head { font-size: 20px; font-weight: 700; margin: -12px 0 18px; }
.promo-list { padding-left: 20px; color: var(--char); }
.promo-list li { margin: 10px 0; }
.fine { margin-top: 18px; font-size: 13px; color: var(--muted); white-space: pre-line; }
.source { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--red); }

.why-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 16px; }
.card { background: var(--cream); border-radius: 18px; padding: 24px; }
.block.alt .card, .rating { background: #fff; border: 1px solid var(--line); }
.award p:last-child, .finance p:last-child { color: var(--char); margin-top: 8px; }
.rating { text-align: center; display: grid; place-content: center; }
.finance { grid-column: 1 / -1; }
.score { font-size: 64px; font-weight: 700; line-height: 1; color: var(--red); }
.score-label { font-weight: 700; margin-top: 8px; }

.branch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.branch { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.branch b { display: block; margin-bottom: 4px; }
.branch span { color: var(--char); font-size: 14px; }

.contact-block { background: var(--ink); color: #fff; }
.contact-block .lead { color: #ddd; margin: -12px 0 24px; max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.panel {
  background: #fff; color: var(--ink); border-radius: 18px;
  padding: 22px; max-width: 480px;
}
label { display: block; font-size: 13px; font-weight: 700; margin: 12px 0 6px; }
input, select {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px;
}
.panel .btn { margin-top: 16px; width: 100%; }
.ok { display: none; background: #ecf8ef; color: #165b2a; padding: 12px; border-radius: 10px; margin-top: 12px; }
.err { display: none; background: #fdecec; color: #8a1c1c; padding: 12px; border-radius: 10px; margin-top: 12px; }

.testi-lead { color: var(--char); margin: -12px 0 24px; max-width: 46ch; }
.testi-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; }
.testi-text { color: var(--char); flex: 1; }
.testi-name { font-weight: 700; margin-top: 16px; }
.testi-source { font-size: 13px; color: var(--muted); margin-top: 2px; }

.site-foot { padding: 24px 0 100px; font-size: 13px; color: var(--muted); }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 12px; }
.edit-link { opacity: .45; }

.sticky-mobile { display: none; }

@media (max-width: 800px) {
  .why-grid, .branch-grid, .testi-grid { grid-template-columns: 1fr; }
  .top-actions .btn-ghost:nth-child(3) { display: none; }
  .sticky-mobile {
    display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 6px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
    background: #fff; border-radius: 14px; padding: 8px;
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
  }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero .bg { grid-row: 1; aspect-ratio: 16 / 11; height: auto; object-position: 42% center; }
  .hero-copy { grid-row: 2; padding: 28px 16px 40px; max-width: none; }
}
