
:root{--green:#123f35;--green2:#245c4f;--cream:#fffaf0;--gold:#d6aa53;--brown:#5b321f;--ink:#2f302d;--white:#fff;--shadow:0 18px 45px rgba(43,43,35,.14)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Tahoma,"Noto Sans Thai",sans-serif;color:var(--ink);background:linear-gradient(#fffdf8,#f1eadc)}a{text-decoration:none;color:inherit}button{font:inherit}.topline{text-align:center;background:#8a5b34;color:white;padding:7px 12px;font-size:.9rem}.nav{position:sticky;top:0;z-index:80;background:rgba(18,63,53,.96);color:white;box-shadow:0 7px 20px rgba(0,0,0,.14)}.nav-inner{max-width:1460px;margin:auto;min-height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;gap:20px}.brand{font-size:1.25rem;font-weight:900;white-space:nowrap}.links{display:flex;gap:4px;align-items:center}.links a{padding:10px 12px;border-radius:999px;font-weight:800}.links a:hover,.links a.active{background:rgba(255,255,255,.15);box-shadow:inset 0 -3px var(--gold)}.menu{display:none;border:0;background:var(--gold);color:var(--green);padding:10px 14px;border-radius:13px;font-weight:900}main{min-height:60vh}.wrap{max-width:1240px;margin:auto;padding:44px 20px}.hero{position:relative;min-height:calc(100vh - 100px);overflow:hidden;display:flex;align-items:center;background:#e8e4d8}.hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,251,240,.98) 0%,rgba(255,251,240,.86) 32%,rgba(255,251,240,.20) 56%,rgba(255,251,240,0) 72%)}.hero-copy{position:relative;z-index:2;width:min(620px,52%);margin-left:max(5vw,30px);padding:70px 0}.kicker{display:inline-block;background:#f5e5c7;border-radius:999px;padding:8px 15px;color:#704226;font-weight:900}.hero h1{font-size:clamp(3.4rem,7vw,6rem);line-height:.98;color:var(--brown);margin:24px 0 10px}.hero h2{font-size:clamp(1.2rem,2vw,1.8rem);color:var(--green2);margin:0 0 16px}.hero p{line-height:1.82;font-size:1.04rem;max-width:570px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 22px;border-radius:15px;border:2px solid var(--green);font-weight:900;margin:10px 8px 0 0;background:white;color:var(--green)}.btn.primary{background:var(--green);color:white}.section-title h1{font-size:clamp(2.4rem,5vw,4.4rem);line-height:1.08;color:var(--green);margin:12px 0}.section-title p{color:#68685f;line-height:1.8}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.two{display:grid;grid-template-columns:1fr 1fr;gap:24px}.card{background:white;border:1px solid #e4dac9;border-radius:24px;padding:24px;box-shadow:var(--shadow);line-height:1.8}.card h2,.card h3{color:var(--green);margin-top:0}.tag{display:inline-block;background:#e6f0e8;color:var(--green2);padding:6px 11px;border-radius:999px;font-weight:900}.photo{display:block;width:100%;border-radius:22px;box-shadow:var(--shadow);cursor:zoom-in}.timeline{display:grid;gap:15px}.timeline .item{display:grid;grid-template-columns:48px 1fr;gap:14px;align-items:start;background:white;border-radius:20px;padding:18px;box-shadow:var(--shadow)}.num{width:45px;height:45px;border-radius:50%;background:var(--gold);color:var(--green);display:grid;place-items:center;font-weight:900}.quote{background:linear-gradient(135deg,#edf4ed,#fff6dc);border-left:7px solid var(--gold);padding:22px;border-radius:0 22px 22px 0;line-height:1.9;font-size:1.05rem}.accordion{border-radius:22px;background:white;margin:14px 0;overflow:hidden;border:1px solid #e1d8c9;box-shadow:var(--shadow)}.accordion summary{cursor:pointer;list-style:none;padding:18px 20px;font-weight:900;color:var(--green);display:flex;justify-content:space-between}.accordion summary::-webkit-details-marker{display:none}.accordion[open] summary{background:#f4f0e5}.acc-body{padding:20px;border-top:1px dashed #d7c6aa;display:grid;grid-template-columns:minmax(270px,460px) 1fr;gap:24px;align-items:start}.carousel{position:relative}.track{display:flex;overflow-x:auto;gap:14px;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:5px 5px 15px;scrollbar-width:thin}.slide{flex:0 0 min(560px,88%);scroll-snap-align:center}.slide img{width:100%;border-radius:18px;box-shadow:var(--shadow);cursor:zoom-in}.arrows{display:flex;gap:10px;margin-top:10px}.arrow{border:0;border-radius:50%;width:43px;height:43px;background:var(--gold);color:var(--green);font-size:1.5rem;cursor:pointer}.feature{background:white;border-radius:22px;padding:22px;box-shadow:var(--shadow)}.feature b{color:var(--green)}.quiz-wrap{max-width:930px;margin:auto}.progress{height:13px;background:#e5ddd0;border-radius:999px;overflow:hidden}.bar{height:100%;background:linear-gradient(90deg,var(--green2),var(--gold));width:0}.qcard{background:white;border-radius:22px;padding:22px;margin:16px 0;box-shadow:var(--shadow)}.option{display:grid;grid-template-columns:24px 32px 1fr;gap:8px;padding:13px;border:2px solid #e6ded2;border-radius:14px;margin:9px 0;cursor:pointer}.option:hover{border-color:var(--green2);background:#f6faf7}.result{display:none;background:white;border-radius:22px;padding:22px;margin-top:20px;box-shadow:var(--shadow)}.result.show{display:block}.review{padding:13px;border-radius:13px;margin:9px 0}.ok{background:#e4f2e7}.bad{background:#fff0e9}.lightbox{display:none;position:fixed;inset:0;z-index:200;background:rgba(12,18,15,.9);align-items:center;justify-content:center;padding:25px}.lightbox.show{display:flex}.lightbox img{max-width:95vw;max-height:90vh;object-fit:contain;border-radius:12px}.close{position:absolute;top:18px;right:22px;width:45px;height:45px;border-radius:50%;border:0;font-size:1.7rem;background:white;cursor:pointer}footer{margin-top:50px;background:var(--green);color:white;text-align:center;padding:28px 20px;line-height:1.7}
@media(max-width:1000px){.links{display:none}.menu{display:block}.links.open{display:flex;position:absolute;top:72px;left:12px;right:12px;flex-direction:column;align-items:stretch;background:white;color:var(--green);padding:12px;border-radius:18px;box-shadow:var(--shadow)}.grid{grid-template-columns:repeat(2,1fr)}.hero-copy{width:62%}.acc-body{grid-template-columns:1fr}}
@media(max-width:680px){.topline{font-size:.78rem}.nav-inner{min-height:66px;padding:0 14px}.brand{font-size:1.05rem}.links.open{top:66px}.hero{min-height:900px;align-items:flex-start}.hero img{object-position:60% center}.hero::after{background:linear-gradient(180deg,rgba(255,251,240,.99) 0%,rgba(255,251,240,.94) 42%,rgba(255,251,240,.45) 64%,rgba(255,251,240,0) 82%)}.hero-copy{width:100%;margin:0;padding:90px 20px 30px}.hero h1{font-size:3.25rem}.hero p{font-size:.96rem}.btn{width:100%;margin-right:0}.wrap{padding:34px 14px}.grid,.two{grid-template-columns:1fr}.slide{flex-basis:94%}}


/* ===== แก้ไขหน้าปก: ไม่มีข้อความจากภาพและไม่เกิดภาพทับซ้อน ===== */
.hero.hero-fixed{
  min-height:720px;
  display:grid;
  grid-template-columns:minmax(430px,48%) 1fr;
  align-items:stretch;
  background:linear-gradient(135deg,#fffaf0 0%,#f5eddc 100%);
  overflow:hidden;
  position:relative;
}
.hero.hero-fixed::after{display:none!important}
.hero.hero-fixed .hero-copy{
  position:relative;
  z-index:2;
  width:auto;
  max-width:650px;
  margin:0;
  padding:90px clamp(30px,5vw,82px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:
    radial-gradient(circle at 15% 15%,rgba(214,170,83,.12),transparent 30%),
    linear-gradient(135deg,rgba(255,253,247,.99),rgba(250,244,231,.96));
}
.hero.hero-fixed .hero-copy::after{
  content:"";
  position:absolute;
  top:0;
  right:-90px;
  width:130px;
  height:100%;
  background:linear-gradient(90deg,rgba(250,244,231,.96),rgba(250,244,231,0));
  pointer-events:none;
  z-index:-1;
}
.hero.hero-fixed .hero-visual{
  min-height:720px;
  background-image:
    linear-gradient(90deg,rgba(250,244,231,.38) 0%,rgba(250,244,231,0) 20%),
    url('images/hero-scene.jpg');
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center center;
}
.hero.hero-fixed h1{
  font-size:clamp(3rem,6vw,5.7rem);
  line-height:.98;
  margin:24px 0 12px;
}
.hero.hero-fixed h2{font-size:clamp(1.25rem,2.1vw,1.9rem)}
.hero.hero-fixed p{max-width:590px}
.hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}
.hero-actions .btn{margin:0}

@media(max-width:1000px){
  .hero.hero-fixed{grid-template-columns:52% 48%;min-height:680px}
  .hero.hero-fixed .hero-copy{padding:70px 30px}
  .hero.hero-fixed .hero-visual{min-height:680px;background-position:58% center}
}
@media(max-width:680px){
  .hero.hero-fixed{
    min-height:auto;
    display:flex;
    flex-direction:column;
    background:#fffaf0;
  }
  .hero.hero-fixed .hero-copy{
    order:1;
    width:100%;
    padding:58px 20px 34px;
    text-align:left;
  }
  .hero.hero-fixed .hero-copy::after{display:none}
  .hero.hero-fixed .hero-visual{
    order:2;
    width:100%;
    min-height:470px;
    background-image:url('images/hero-scene.jpg');
    background-size:cover;
    background-position:center 30%;
  }
  .hero.hero-fixed h1{font-size:3rem}
  .hero-actions{flex-direction:column}
  .hero-actions .btn{width:100%}
}
@media(max-width:430px){
  .hero.hero-fixed .hero-copy{padding:48px 16px 28px}
  .hero.hero-fixed h1{font-size:2.65rem}
  .hero.hero-fixed .hero-visual{min-height:390px;background-position:center 25%}
}


/* ===== หน้าปกเต็มภาพ: เก็บข้อความอ่านอย่างเดียวในภาพ และสร้างเฉพาะปุ่มจริงด้วย HTML ===== */
.sr-only{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
.hero.hero-cover{
  position:relative;
  min-height:auto;
  display:block;
  overflow:hidden;
  background:#fffaf0;
  isolation:isolate;
}
.hero.hero-cover::after{display:none!important}
.hero-picture{
  display:block;
  width:100%;
  line-height:0;
}
.hero-picture img{
  position:static!important;
  display:block;
  width:100%;
  height:auto;
  object-fit:contain!important;
  object-position:center!important;
}
.hero-real-actions{
  position:absolute;
  z-index:4;
  left:clamp(56px,7vw,120px);
  bottom:clamp(30px,5vw,74px);
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.hero-real-actions .btn{
  margin:0;
  min-height:54px;
  padding:0 26px;
  box-shadow:0 12px 26px rgba(25,55,46,.16);
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(8px);
}
.hero-real-actions .btn.primary{
  background:var(--green);
  color:#fff;
}
@media(max-width:1000px){
  .hero-real-actions{
    left:32px;
    bottom:28px;
  }
  .hero-real-actions .btn{
    min-height:48px;
    padding:0 19px;
    font-size:.92rem;
  }
}
@media(max-width:680px){
  .hero.hero-cover{
    padding-bottom:0;
  }
  .hero-picture img{
    width:100%;
    height:auto;
  }
  .hero-real-actions{
    position:static;
    padding:18px 14px 24px;
    display:grid;
    grid-template-columns:1fr;
    background:#fffaf0;
  }
  .hero-real-actions .btn{
    width:100%;
    min-height:50px;
  }
}


/* ===== หน้าปกฟอนต์ใหม่ ===== */
.hero.hero-cover-new{
  position:relative;
  display:block;
  min-height:auto;
  overflow:hidden;
  background:#fffaf0;
}
.hero.hero-cover-new::after{display:none!important}
.hero-picture-new{
  display:block;
  width:100%;
  line-height:0;
  background:#fffaf0;
}
.hero-picture-new img{
  position:static!important;
  display:block;
  width:100%;
  height:auto;
  object-fit:contain!important;
  object-position:center!important;
}
.hero-actions-below{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
  padding:22px 18px 28px;
  background:linear-gradient(180deg,#fffaf0,#f5eddc);
  border-top:1px solid rgba(214,170,83,.28);
}
.hero-actions-below .btn{
  margin:0;
  min-width:230px;
  min-height:54px;
  box-shadow:0 12px 28px rgba(18,63,53,.14);
}
@media(max-width:680px){
  .hero-actions-below{
    display:grid;
    grid-template-columns:1fr;
    padding:16px 14px 24px;
  }
  .hero-actions-below .btn{
    width:100%;
    min-width:0;
    min-height:50px;
  }
}
