
:root{
  --forest:#294b34;
  --forest-2:#3f6949;
  --mud:#6b4935;
  --mud-dark:#3e2920;
  --cream:#fffaf0;
  --sky:#cbe9f5;
  --gold:#e1bd63;
  --card:#ffffff;
  --text:#2d2a27;
  --shadow:0 18px 44px rgba(47,38,29,.14);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  font-family:Tahoma,"Noto Sans Thai",sans-serif;
  background:linear-gradient(180deg,#f7f4e9,#e7eee2);
}
a{text-decoration:none;color:inherit}
button{font:inherit}
img{max-width:100%}
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  min-height:72px;
  display:flex;
  align-items:center;
  gap:18px;
  padding:10px max(20px,calc((100vw - 1280px)/2));
  background:rgba(31,68,45,.96);
  color:#fff;
  box-shadow:0 6px 20px rgba(0,0,0,.14);
  backdrop-filter:blur(12px);
}
.brand{font-size:1.28rem;font-weight:900;white-space:nowrap}
.wheel{color:var(--gold)}
.nav-links{margin-left:auto;display:flex;align-items:center;gap:5px}
.nav-links a{
  padding:10px 12px;
  border-radius:999px;
  font-weight:800;
}
.nav-links a:hover,.nav-links a.active{background:#fff;color:var(--forest)}
.menu-btn{
  display:none;
  margin-left:auto;
  border:0;
  background:#fff;
  color:var(--forest);
  border-radius:13px;
  padding:10px 14px;
  font-weight:900;
}
.hero{
  position:relative;
  background:#dce9d5;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.hero picture,.hero picture img{display:block;width:100%;line-height:0}
.hero picture img{height:auto}
.hero-actions{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
  padding:18px;
  background:linear-gradient(180deg,#fffaf0,#eee5d6);
}
.btn{
  min-height:52px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 24px;
  border:2px solid var(--forest);
  border-radius:16px;
  background:#fff;
  color:var(--forest);
  font-weight:900;
}
.btn.primary{background:var(--forest);color:#fff}
.container{max-width:1240px;margin:auto;padding:40px 20px}
.page-head{margin-bottom:25px}
.page-head h1{
  margin:0 0 8px;
  color:var(--forest);
  font-size:clamp(2.5rem,5vw,4.5rem);
  line-height:1.1;
}
.page-head p{font-size:1.05rem;line-height:1.8;color:#625a54}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.card{
  background:rgba(255,255,255,.96);
  border:1px solid #e1d8ca;
  border-radius:24px;
  padding:22px;
  box-shadow:var(--shadow);
  line-height:1.8;
}
.card h2,.card h3{color:var(--forest);margin-top:0}
.tag{
  display:inline-block;
  padding:6px 11px;
  border-radius:999px;
  background:#e4ecd9;
  color:var(--forest);
  font-weight:900;
}
.photo{
  display:block;
  width:100%;
  border-radius:22px;
  box-shadow:var(--shadow);
  cursor:zoom-in;
  background:#fff;
}
.feature-link{
  transition:.2s transform,.2s box-shadow;
}
.feature-link:hover{transform:translateY(-4px)}
.mud-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.mud-card{
  position:relative;
  min-height:220px;
  padding:24px;
  border-radius:24px;
  background:linear-gradient(145deg,#fff,#f3eadc);
  border:1px solid #dfd3c1;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.mud-card::after{
  content:"";
  position:absolute;
  width:95px;height:95px;
  right:-25px;bottom:-35px;
  border-radius:50%;
  background:rgba(107,73,53,.12);
  box-shadow:-38px 13px 0 rgba(107,73,53,.08);
}
.mud-no{
  width:52px;height:52px;
  display:grid;place-items:center;
  border-radius:50%;
  background:var(--mud);
  color:#fff;
  font-size:1.35rem;
  font-weight:900;
}
.mud-card h3{color:var(--forest);font-size:1.25rem}
.timeline{display:grid;gap:18px}
.timeline-item{
  display:grid;
  grid-template-columns:minmax(280px,430px) 1fr;
  gap:24px;
  align-items:center;
  background:#fff;
  border-radius:26px;
  padding:20px;
  box-shadow:var(--shadow);
}
.timeline-item:nth-child(even){grid-template-columns:1fr minmax(280px,430px)}
.timeline-item:nth-child(even) img{order:2}
.timeline-item h3{color:var(--forest);font-size:1.45rem;margin-top:0}
.quote{
  background:var(--forest);
  color:#fff;
  padding:28px;
  border-radius:24px;
  box-shadow:var(--shadow);
  font-size:1.15rem;
  line-height:1.9;
}
.value-card{
  border-top:7px solid var(--forest-2);
}
.quiz-wrap{max-width:960px;margin:auto}
.progress-card{position:sticky;top:88px;z-index:20}
.progress{height:14px;background:#ddd4c9;border-radius:999px;overflow:hidden;margin-top:10px}
.progress-bar{height:100%;width:0;background:linear-gradient(90deg,var(--forest),var(--gold))}
.qcard{background:#fff;border-radius:23px;padding:22px;margin:18px 0;box-shadow:var(--shadow)}
.qcard h3{line-height:1.65}
.option{
  display:grid;
  grid-template-columns:24px 32px 1fr;
  align-items:start;
  gap:8px;
  border:2px solid #e5ded4;
  border-radius:15px;
  padding:12px;
  margin:9px 0;
  cursor:pointer;
}
.option:hover{border-color:var(--forest);background:#f5f9f2}
.option input{margin-top:5px}
.result{display:none;background:#fff;border-radius:24px;padding:24px;margin-top:20px;box-shadow:var(--shadow)}
.result.show{display:block}
.review{margin:10px 0;padding:14px;border-radius:14px;line-height:1.7}
.correct{background:#e5f3e8}.wrong{background:#f9e7e2}
.lightbox{
  position:fixed;
  inset:0;
  z-index:500;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(15,18,14,.9);
  padding:30px;
}
.lightbox.show{display:flex}
.lightbox img{max-width:94vw;max-height:88vh;object-fit:contain;border-radius:14px}
.lightbox-close{
  position:absolute;right:20px;top:18px;
  width:46px;height:46px;border:0;border-radius:50%;
  background:#fff;font-size:1.8rem;cursor:pointer;
}
.footer{
  margin-top:50px;
  padding:28px 20px;
  display:flex;
  gap:8px;
  flex-direction:column;
  align-items:center;
  text-align:center;
  background:var(--forest);
  color:#fff;
}
@media(max-width:930px){
  .menu-btn{display:block}
  .nav-links{display:none}
  .nav-links.open{
    display:flex;position:absolute;left:12px;right:12px;top:72px;
    flex-direction:column;align-items:stretch;
    padding:12px;background:#fff;color:var(--forest);
    border-radius:18px;box-shadow:var(--shadow);
  }
  .grid,.mud-grid{grid-template-columns:repeat(2,1fr)}
  .timeline-item,.timeline-item:nth-child(even){grid-template-columns:1fr}
  .timeline-item:nth-child(even) img{order:0}
}
@media(max-width:620px){
  .site-header{min-height:64px;padding:8px 14px}
  .brand{font-size:1.08rem}
  .container{padding:28px 14px}
  .grid,.grid-2,.mud-grid{grid-template-columns:1fr}
  .hero-actions{display:grid;grid-template-columns:1fr;padding:14px}
  .btn{width:100%}
  .page-head h1{font-size:2.65rem}
  .progress-card{top:76px}
}
