:root {
  --accent: #d5ff00;
  --text-main: #10121a;
  --text-muted: #60657a;
  --border-soft: #e2e4ec;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Noto Sans Thai', system-ui, sans-serif;
  background: #ffffff;
  color: var(--text-main);
  line-height: 1.6;
}


img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  background: #e3edfff5;
  border-bottom: 1px solid #f0f1f6;
  backdrop-filter: blur(10px);
  z-index: 10;
}

.nav {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0.7rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.brand img {
  width: 130px;
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 1.3rem;
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.1rem;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.18s ease-out;
}
.nav-links a:hover::after { width: 100%; }

.menu-toggle {
  display: none;
  width: 26px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-toggle span {
  height: 2px;
  background: #111;
  border-radius: 999px;
  transition: transform 0.2s, opacity 0.2s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.8rem 1.3rem 3rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 2.2rem;
  align-items: center;
  padding: 1.7rem 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border-soft);
  background: #f8fafc;
}

.kicker {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  margin-bottom: 0.7rem;
}

.sub {
  color: var(--text-muted);
  font-size: 0.96rem;
  max-width: 30rem;
  margin-bottom: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
  background: var(--accent);
  color: #10121a;
  cursor: pointer;
}
.btn-outline {
  background: white;
  border-color: var(--border-soft);
}

.hero-logo {
  position: relative;
  justify-self: center;
}
.hero-logo img {
  width: min(260px, 70vw);
}
.badge {
  position: absolute;
  bottom: -0.4rem;
  left: 10%;
  right: 10%;
  padding: 0.4rem 0.65rem;
  font-size: 0.8rem;
  text-align: center;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border-soft);
}

.section {
  margin-top: 2.4rem;
}

.section h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.section p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 32rem;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border-soft);
  background: #ffffff;
  font-size: 0.9rem;
}
.card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}
.card p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.schedule {
  border-radius: 1rem;
  border: 1px solid var(--border-soft);
  padding: 0.9rem 1rem;
  background: #ffffff;
  font-size: 0.9rem;
}
.schedule .row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  border-bottom: 1px dashed #edf0f6;
}
.schedule .row:last-child { border-bottom: 0; }
.schedule span:first-child { color: var(--text-muted); }

.form {
  display: grid;
  gap: 0.7rem;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}
label span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}
input, select {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border-radius: 0.7rem;
  border: 1px solid var(--border-soft);
  font-size: 0.86rem;
  font-family: inherit;
}

.footer {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0.8rem 1.3rem 1.6rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Responsive */

@media (max-width: 800px) {
  .hero,
  .two-col,
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-logo { order: -1; }
}

@media (max-width: 640px) {
  .nav { padding-inline: 1rem; }
  .nav-links {
    position: fixed;
    inset: 56px 0 auto 0;
    background: #ffffff;
    flex-direction: column;
    padding: 0.8rem 1.3rem 1rem;
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.16s ease-out, opacity 0.16s ease-out;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .menu-toggle { display: flex; }
  main { padding-top: 1.4rem; }
}
