:root {
  --ink: #172019;
  --muted: #68746b;
  --paper: #f5f7f2;
  --white: #fff;
  --green: #275c47;
  --lime: #cce968;
  --line: #dce4d8;
  --dark: #182b23;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Noto Sans Thai", "Sarabun", system-ui, sans-serif; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button { border: 0; cursor: pointer; font: inherit; }
.wrap { max-width: 1160px; margin: auto; padding-left: 24px; padding-right: 24px; }
.topbar { height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - 1160px) / 2)); background: rgba(245,247,242,.94); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.brand em { color: var(--green); font-style: normal; font-weight: 500; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--green); color: var(--lime); font-weight: 900; }
.nav { display: flex; gap: 30px; color: var(--muted); font-size: 14px; }
.nav a:hover, .text-link:hover, .mini-btn:hover { color: var(--green); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 21px; border-radius: 9px; font-weight: 800; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: #1d4b39; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-small { padding: 9px 15px; font-size: 13px; }
.hero { min-height: 620px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding-top: 70px; padding-bottom: 70px; }
.eyebrow { display: inline-block; margin: 0 0 15px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: 1.3px; }
.hero h1 { margin: 0 0 24px; font-size: clamp(42px, 6vw, 76px); line-height: 1.12; letter-spacing: -1px; }
.hero h1 span { color: var(--green); }
.hero-lead { max-width: 490px; margin: 0; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; align-items: center; gap: 23px; margin-top: 30px; }
.text-link { color: var(--green); font-size: 14px; font-weight: 800; }
.proof { display: flex; gap: 25px; margin-top: 43px; color: var(--muted); font-size: 12px; }
.proof b { display: block; color: var(--ink); font-size: 18px; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; height: 490px; object-fit: cover; border-radius: 22px 22px 22px 80px; filter: saturate(.82); }
.lesson-float { position: absolute; left: -30px; bottom: 30px; min-width: 250px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 16px 40px #30453626; }
.lesson-float b, .lesson-float small { display: block; }
.lesson-float b { font-size: 12px; }
.lesson-float small { color: var(--muted); font-size: 11px; }
.lesson-float strong { margin-left: auto; color: var(--green); font-size: 14px; }
.play { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--dark); font-size: 11px; }
.section { padding-top: 95px; padding-bottom: 95px; }
.section-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 35px; }
.section h2, .booking h2, .how-band h2 { margin: 0; font-size: clamp(28px, 4vw, 46px); line-height: 1.2; letter-spacing: -.4px; }
.filter, .mini-btn { background: none; color: var(--green); font-weight: 800; }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.course { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--white); transition: transform .18s, box-shadow .18s; }
.course:hover { transform: translateY(-3px); box-shadow: 0 15px 30px #30453614; }
.course-image { height: 205px; position: relative; background-position: center; background-size: cover; }
.image-one { background-image: linear-gradient(0deg,#172b23aa,#172b2300),url("https://thesoulrising.online/img/birth-chart-hero.webp"); }
.image-two { background-image: linear-gradient(0deg,#172b23aa,#172b2300),url("https://images.unsplash.com/photo-1545239351-1141bd82e8a6?auto=format&fit=crop&w=900&q=80"); }
.image-three { background-image: linear-gradient(0deg,#172b23aa,#172b2300),url("https://images.unsplash.com/photo-1499750310107-5fef28a66643?auto=format&fit=crop&w=900&q=80"); }
.course-tag, .course-time { position: absolute; top: 14px; padding: 5px 9px; border-radius: 5px; color: var(--white); background: #172b23cc; font-size: 11px; }
.course-tag { left: 14px; color: var(--dark); background: var(--lime); font-weight: 800; }
.course-time { right: 14px; }
.course-body { padding: 21px; }
.course-kicker { margin: 0 0 7px; color: var(--green); font-size: 11px; font-weight: 900; letter-spacing: 1px; }
.course h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.3; }
.course p:not(.course-kicker) { min-height: 44px; margin: 0; color: var(--muted); font-size: 13px; }
.course-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); }
.course-foot strong { font-size: 20px; }
.how-band { padding: 90px 0; color: #fff; background: var(--dark); }
.how-band .eyebrow { color: var(--lime); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 45px; }
.step { padding-top: 18px; border-top: 1px solid #ffffff33; }
.step span { color: var(--lime); font-size: 13px; font-weight: 900; }
.step h3 { margin: 15px 0 7px; font-size: 21px; }
.step p { max-width: 270px; margin: 0; color: #b9c7be; font-size: 14px; }
.booking { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding-top: 100px; padding-bottom: 105px; }
.booking-copy>p:not(.eyebrow) { max-width: 420px; color: var(--muted); }
.booking-copy ul { padding-left: 20px; color: var(--muted); font-size: 14px; }
.booking-box { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 15px 35px #30453610; }
.calendar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 19px; }
.calendar-head button { color: var(--green); background: none; font-size: 25px; }
.week, .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; text-align: center; }
.week { margin-bottom: 7px; color: var(--muted); font-size: 11px; }
.days { min-height: 215px; }
.days button, .days span { height: 31px; border-radius: 7px; color: var(--ink); background: none; }
.days button.available { color: var(--green); background: #eef5e6; font-weight: 800; }
.days button.selected { color: #fff; background: var(--green); }
.days button:disabled { color: #bfc8c0; cursor: default; }
.slots { min-height: 59px; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 15px; border-top: 1px solid var(--line); }
.slots p { margin: 0; color: var(--muted); font-size: 12px; }
.slots button { padding: 7px 12px; border: 1px solid var(--line); border-radius: 6px; color: var(--green); background: var(--paper); font-size: 13px; }
.slots button.selected { color: #fff; background: var(--green); }
.full { width: 100%; margin-top: 15px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.footer { padding: 25px 0; color: var(--muted); background: #e7eee3; font-size: 12px; }
.footer .wrap { display: flex; align-items: center; gap: 20px; }
.footer b, .footer a { color: var(--green); font-weight: 800; }
.footer a { margin-left: auto; }
.modal { display: none; position: fixed; inset: 0; z-index: 30; place-items: center; padding: 20px; background: #172b2380; }
.modal.on { display: grid; }
.modal-card { position: relative; width: 100%; max-width: 500px; padding: 35px; border-radius: 15px; background: var(--white); }
.modal-card h2 { margin: 0 0 15px; font-size: 30px; line-height: 1.2; }
.modal-card>p:not(.eyebrow):not(.demo-note) { color: var(--muted); }
.modal-close { position: absolute; top: 12px; right: 18px; color: var(--muted); background: none; font-size: 28px; }
.modal-info { display: flex; gap: 28px; margin: 23px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.modal-info span { color: var(--muted); font-size: 13px; }
.modal-info b { display: block; color: var(--ink); font-size: 18px; }
.demo-note { margin: 12px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.toast { position: fixed; bottom: 25px; left: 50%; z-index: 50; padding: 13px 20px; border-radius: 8px; color: #fff; background: var(--dark); font-size: 14px; transform: translate(-50%,140px); transition: .25s; }
.toast.on { transform: translate(-50%,0); }
@media (max-width: 850px) { .nav { display: none; } .hero, .booking { grid-template-columns: 1fr; gap: 45px; } .hero { padding-top: 50px; } .hero-visual img { height: 380px; } .lesson-float { left: 15px; } .course-grid, .steps { grid-template-columns: 1fr; } .section-head { align-items: start; flex-direction: column; gap: 15px; } .footer .wrap { flex-wrap: wrap; } .footer a { width: 100%; margin-left: 0; } }
@media (max-width: 480px) { .topbar { padding: 0 15px; } .topbar .btn { font-size: 11px; } .hero { padding-right: 18px; padding-left: 18px; } .hero h1 { font-size: 47px; } .hero-lead { font-size: 16px; } .hero-actions { align-items: start; flex-direction: column; gap: 16px; } .proof { gap: 13px; } .proof span { font-size: 10px; } .hero-visual img { height: 330px; border-radius: 18px 18px 18px 50px; } .lesson-float { min-width: 220px; bottom: 18px; } .wrap { padding-right: 18px; padding-left: 18px; } .booking-box { padding: 17px; } }
