:root {
  --blue: #003781;
  --blue-2: #082f6d;
  --ink: #101827;
  --muted: #647084;
  --line: #e2e8f2;
  --bg: #f7f9fc;
  --white: #ffffff;
  --gold: #b88a2b;
  --gold-soft: #f4ead7;
  --surface: #fbfcfe;
  --shadow: 0 24px 70px rgba(16, 24, 39, .08);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Noto Sans Thai", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(22px, 6vw, 92px);
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand { font-weight: 800; font-size: 20px; color: var(--blue); white-space: nowrap; letter-spacing: .01em; }
.brand span { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav a { color: #334155; transition: color .2s ease; }
.nav a:hover { color: var(--blue); }
.nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 6px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(0,55,129,.16);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--blue-2); box-shadow: 0 16px 34px rgba(0,55,129,.2); }
.btn.secondary { background: #fff; color: var(--blue) !important; box-shadow: none; }
.btn.secondary:hover { background: #f8fbff; }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 24px; color: var(--blue); }

.hero {
  min-height: 82vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .86fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
  padding: clamp(64px, 9vw, 128px) clamp(22px, 6vw, 92px) clamp(56px, 8vw, 112px);
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 46%, rgba(247,249,252,.86) 100%),
    linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}
.hero h1 { font-size: clamp(40px, 5vw, 68px); line-height: 1.12; margin: 0 0 22px; color: var(--blue); letter-spacing: 0; max-width: 820px; }
.hero p { font-size: clamp(17px, 1.35vw, 20px); color: #465568; margin: 0 0 34px; max-width: 680px; }
.hero-actions, .row-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-media { position: relative; padding: 12px; border: 1px solid rgba(184,138,43,.22); background: rgba(255,255,255,.72); border-radius: 8px; }
.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 4.35;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-strip div {
  padding: 18px 20px;
  background: transparent;
  border-right: 1px solid var(--line);
  border-radius: 0;
  font-weight: 700;
  color: var(--blue);
}
.trust-strip div:last-child { border-right: 0; }

.section { padding: clamp(72px, 9vw, 132px) clamp(22px, 6vw, 92px); }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 780px; margin-bottom: 42px; }
.eyebrow { color: var(--gold); font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: .12em; }
h2 { font-size: clamp(30px, 3.2vw, 48px); line-height: 1.22; margin: 10px 0 16px; color: var(--blue); letter-spacing: 0; }
.section-head p { color: var(--muted); margin: 0; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 18px 48px rgba(16,24,39,.045);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(0,55,129,.24); box-shadow: 0 24px 60px rgba(16,24,39,.08); }
.card h3 { margin: 0 0 12px; color: var(--ink); font-size: 22px; line-height: 1.35; }
.card p { color: var(--muted); margin: 0 0 18px; }
.card strong { color: var(--blue); }
.badge { display: inline-flex; padding: 5px 12px; border-radius: 999px; background: var(--gold-soft); color: #7a5a16; font-size: 12px; font-weight: 800; margin-bottom: 18px; }
.benefits { padding-left: 20px; color: #344054; }
.split { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(36px, 7vw, 90px); align-items: start; }

.form {
  display: grid;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow);
}
.field { display: grid; gap: 6px; }
label { font-weight: 700; color: #253858; }
input, textarea, select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d5deea;
  border-radius: 6px;
  padding: 11px 14px;
  font: inherit;
  background: #fff;
}
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(0,55,129,.1); border-color: var(--blue); }
textarea { min-height: 120px; resize: vertical; }
.notice { padding: 12px 14px; border-radius: 6px; background: #ecfdf3; color: #027a48; border: 1px solid #abefc6; }
.article-body { max-width: 860px; margin: 0 auto; padding: clamp(12px, 3vw, 28px) 0; }
.article-body p { color: #344054; }
.review-stars { color: var(--gold); font-size: 18px; margin-bottom: 12px; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 48px clamp(22px, 6vw, 92px);
  background: #082f6d;
  color: #fff;
}
.site-footer p { margin: 6px 0 0; color: #dbeafe; }
.footer-links { display: flex; gap: 18px; align-items: center; }

@media (max-width: 900px) {
  .hero, .split, .grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .trust-strip { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 67px;
    padding: 16px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
  }
  .nav.open { display: flex; }
  .site-footer { flex-direction: column; }
  .footer-links { align-items: flex-start; flex-direction: column; }
}
