@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@300;400;500;600;700&family=Kanit:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-thai);
  font-size: var(--text-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Utility */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px;
  border-radius: var(--btn-radius);
  font-family: var(--font-nav);
  font-size: 15px; font-weight: 600;
  cursor: pointer; border: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--brand-yellow); color: var(--ink);
}
.btn-secondary {
  background: transparent; color: var(--surface);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-secondary:hover { border-color: var(--brand-yellow); color: var(--brand-yellow); }
.btn-line {
  background: var(--line-green); color: var(--surface);
}
.btn-red {
  background: var(--conversion-red); color: var(--surface);
}

/* Eyebrow pill */
.eyebrow {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(255, 210, 49, 0.18);
  color: var(--brand-yellow);
  border-radius: 100px;
  font-family: var(--font-nav);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.eyebrow.dark {
  background: rgba(45, 36, 24, 0.08);
  color: var(--brand-brown);
}

/* Section heading */
.section-title {
  font-family: var(--font-nav);
  font-size: var(--text-section);
  font-weight: 700; line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  font-size: var(--text-body);
  color: var(--brand-brown);
  max-width: 600px;
}

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
}
