:root {
  --ink: #142321;
  --muted: #5c706d;
  --brand: #006b68;
  --brand-dark: #004c4a;
  --mint: #39d6a2;
  --wash: #f3faf8;
  --line: #d5e5e1;
  --white: #ffffff;
  font-family: Inter, "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--wash);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.65; }
a { color: var(--brand); }
img { max-width: 100%; }

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 14px max(24px, calc((100vw - 1120px) / 2));
  background: color-mix(in srgb, var(--wash) 90%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  backdrop-filter: blur(18px);
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; }
.brand img { width: 42px; height: 42px; border-radius: 11px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 650; }
.nav-links a:hover { color: var(--brand); }

.hero {
  overflow: hidden;
  padding: 92px 24px 76px;
  background:
    radial-gradient(circle at 82% 20%, rgba(57, 214, 162, .25), transparent 25%),
    radial-gradient(circle at 15% 70%, rgba(0, 107, 104, .12), transparent 28%),
    var(--wash);
}

.hero-inner { max-width: 1120px; margin: auto; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.eyebrow { margin: 0 0 12px; color: var(--brand); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0; max-width: 700px; font-size: clamp(42px, 6vw, 76px); line-height: 1.04; letter-spacing: -.04em; }
.hero h1 span { color: var(--brand); }
.lead { max-width: 610px; margin: 24px 0 30px; color: var(--muted); font-size: clamp(18px, 2vw, 22px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 999px; text-decoration: none; font-weight: 750; }
.button.primary { color: white; background: var(--brand); }
.button.secondary { color: var(--brand); background: white; border: 1px solid var(--line); }
.fine { margin-top: 16px; color: var(--muted); font-size: 13px; }

.phone { width: min(370px, 86vw); margin: auto; padding: 13px; border-radius: 42px; background: #102a28; box-shadow: 0 35px 80px rgba(0, 54, 52, .24); transform: rotate(2deg); }
.screen { min-height: 570px; padding: 24px 18px; border-radius: 31px; background: linear-gradient(#ddf3ed 0 43%, #fff 43%); }
.search { padding: 14px 16px; border-radius: 16px; background: white; color: var(--muted); box-shadow: 0 8px 24px rgba(0, 55, 52, .1); }
.map-dot { width: 42px; height: 52px; margin: 82px auto 55px; display: grid; place-items: center; border-radius: 50% 50% 50% 8px; background: var(--brand); color: white; font-weight: 900; transform: rotate(-45deg); }
.map-dot span { transform: rotate(45deg); }
.station-card { padding: 17px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.station-card + .station-card { margin-top: 10px; }
.station-card strong { display: block; }
.status { color: #087a42; font-size: 14px; font-weight: 750; }
.meta { color: var(--muted); font-size: 13px; }

.section { max-width: 1120px; margin: auto; padding: 84px 24px; }
.section h2 { max-width: 760px; margin: 0 0 14px; font-size: clamp(30px, 4vw, 48px); line-height: 1.15; letter-spacing: -.025em; }
.section-intro { max-width: 720px; margin: 0 0 36px; color: var(--muted); font-size: 18px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: white; }
.feature b { display: block; margin-bottom: 8px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); }
.icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 13px; color: var(--brand-dark); background: #dff6ef; font-weight: 900; }

.trust { color: white; background: var(--brand-dark); }
.trust .section-intro { color: #c7e2dd; }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.trust article { padding: 24px; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; background: rgba(255,255,255,.07); }
.trust article p { margin: 8px 0 0; color: #c7e2dd; }

.legal { max-width: 820px; margin: auto; padding: 64px 24px 96px; }
.legal h1 { font-size: clamp(38px, 6vw, 58px); }
.legal h2 { margin-top: 38px; font-size: 24px; }
.legal h3 { margin-top: 26px; }
.legal p, .legal li { color: #405552; }
.legal .updated { color: var(--muted); font-size: 14px; }
.notice { padding: 18px; border-left: 4px solid var(--brand); border-radius: 8px; background: white; }
.contact-card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: white; }

footer { padding: 34px 24px; border-top: 1px solid var(--line); background: white; }
.footer-inner { max-width: 1120px; margin: auto; display: flex; justify-content: space-between; gap: 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; }

@media (max-width: 820px) {
  .nav-links a:not(:last-child) { display: none; }
  .hero { padding-top: 62px; }
  .hero-inner { grid-template-columns: 1fr; gap: 58px; }
  .grid, .trust-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}

