:root {
  --rice: #fffdf7; --leaf: #2d6a3e; --leaf-d: #1f4f2d; --mango: #f5b322; --mango-l: #fff1cc; --chili: #d33a2c; --chili-d: #b52d21;
  --ink: #22261f; --muted: #5f6458; --line: #ece6d3;
  --display: "Kanit", system-ui, sans-serif; --body: "Sarabun", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font: 17.5px/1.6 var(--body); color: var(--ink); background: var(--rice); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--chili); outline-offset: 2px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.1; }
h2 { font-size: clamp(32px, 4vw, 46px); color: var(--leaf-d); }
h3 { font-size: 22px; }
.muted { color: var(--muted); margin-top: 12px; max-width: 54ch; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 14px; background: var(--chili); color: #fff; font: 500 16.5px var(--display); border: 0; cursor: pointer; transition: background 0.2s; }
.btn:hover { background: var(--chili-d); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15.5px; }
.btn--light { background: var(--rice); color: var(--leaf-d); }
.btn--light:hover { background: #fff; }
.btn:disabled { background: var(--leaf); }

.header { position: sticky; top: 0; z-index: 30; background: var(--rice); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 30px; height: 74px; }
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.05; color: var(--leaf-d); }
.logo svg { width: 40px; height: 40px; }
.logo small { display: block; font-weight: 400; font-size: 14px; color: var(--chili); }
.nav { display: flex; gap: 26px; margin-left: auto; font-weight: 500; }
.nav a { padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--mango); }
.burger { display: none; }

.hero { position: relative; min-height: min(80vh, 700px); display: flex; align-items: flex-end; color: #fff; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20, 45, 28, 0.1) 20%, rgba(20, 45, 28, 0.88) 100%); }
.hero__in { position: relative; z-index: 2; padding: 0 0 72px; }
.rating { display: inline-flex; gap: 8px; align-items: center; background: var(--mango); color: var(--ink); font-weight: 600; font-size: 15px; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.rating span { color: var(--chili); letter-spacing: 1px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 70px); max-width: 15ch; }
.hero__in > p:not(.rating) { font-size: 19px; margin: 18px 0 30px; max-width: 52ch; color: #eef3ea; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }

.section { padding: clamp(72px, 9vw, 112px) 0; }
.head { margin-bottom: 40px; }
.classes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cls { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.cls img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cls__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.cls__time { font-family: var(--display); color: var(--chili); font-size: 16px; }
.cls h3 { margin: 4px 0 8px; color: var(--leaf-d); }
.cls p:not(.cls__time) { color: var(--muted); font-size: 16px; }
.cls__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; }
.cls__foot b { font-family: var(--display); font-weight: 500; font-size: 24px; }
.link { font-family: var(--display); color: var(--leaf); border-bottom: 2px solid var(--mango); }
.link:hover { color: var(--chili); }

.dishes { background: var(--leaf); color: #fff; padding: clamp(72px, 9vw, 112px) 0; }
.dishes h2 { color: #fff; }
.dishes__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.dishes__grid > div > p:first-of-type { color: #d6e6da; margin-top: 14px; max-width: 44ch; }
.counter { margin-top: 26px; font-size: 17px; color: #d6e6da; }
.counter b { font-family: var(--display); font-weight: 500; font-size: 40px; color: var(--mango); margin-right: 6px; }
.picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.picker button { display: grid; gap: 2px; text-align: left; padding: 16px; min-height: 96px; align-content: start; border-radius: 16px; border: 2px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.04); color: #fff; font: 500 16px var(--display); cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.picker button span { font-family: var(--body); font-weight: 400; font-size: 14px; color: #bcd5c2; }
.picker button:hover:not(:disabled) { border-color: var(--mango); }
.picker button[aria-pressed="true"] { background: var(--mango); border-color: var(--mango); color: var(--ink); }
.picker button[aria-pressed="true"] span { color: #6b5210; }
.picker button:disabled { opacity: 0.45; cursor: not-allowed; }

.day { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.timeline { list-style: none; position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 78px; top: 10px; bottom: 10px; width: 3px; background: var(--mango); border-radius: 3px; }
.timeline li { display: grid; grid-template-columns: 60px 1fr; gap: 42px; padding: 14px 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 72px; top: 22px; width: 15px; height: 15px; border-radius: 50%; background: var(--chili); box-shadow: 0 0 0 4px var(--rice); }
.timeline time { font-family: var(--display); color: var(--chili); font-size: 18px; padding-top: 2px; }
.timeline b { display: block; font-family: var(--display); font-weight: 500; font-size: 20px; color: var(--leaf-d); }
.timeline span { color: var(--muted); }

.reviews { background: var(--mango-l); padding: clamp(72px, 9vw, 104px) 0; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.quotes blockquote { background: #fff; border-radius: 20px; padding: 26px; font-size: 18px; }
.quotes cite { display: block; margin-top: 14px; font-style: normal; font-family: var(--display); color: var(--leaf); font-size: 15.5px; }

.book { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.contact { margin-top: 24px; line-height: 2; font-family: var(--display); color: var(--leaf); }
.contact a { border-bottom: 2px solid var(--mango); }
.form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form input:not([type="checkbox"]), .form select { height: 50px; border: 2px solid var(--line); border-radius: 12px; padding: 0 12px; font: 16px var(--body); background: var(--rice); color: var(--ink); }
.form input:focus, .form select:focus { outline: none; border-color: var(--leaf); }
.form fieldset { border: 0; }
.form legend { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label { display: flex; align-items: center; gap: 8px; font-weight: 500; background: var(--rice); border: 2px solid var(--line); border-radius: 12px; padding: 8px 14px; cursor: pointer; }
.checks input { width: 18px; height: 18px; accent-color: var(--leaf); }
.form .btn { justify-self: start; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.find { background: var(--leaf-d); color: #fff; padding: clamp(60px, 7vw, 88px) 0; }
.find h2 { color: #fff; }
.find__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; }
.addr { font-family: var(--display); font-size: 24px; margin-top: 12px; line-height: 1.35; color: var(--mango); }
.find__grid > p { color: #d6e6da; }

.footer { padding: 28px 0 96px; color: var(--muted); font-size: 15px; }
.footer__in { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer b { font-family: var(--display); font-weight: 500; color: var(--leaf-d); }
.footer [lang="th"] { color: var(--chili); margin: 0 4px; }

@media (max-width: 980px) {
  .classes { grid-template-columns: 1fr 1fr; }
  .dishes__grid, .day, .book, .find__grid { grid-template-columns: 1fr; gap: 40px; }
  .quotes { grid-template-columns: 1fr; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--rice); padding: 4px 20px 16px; border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transition: opacity 0.2s; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  body.nav-open .nav { opacity: 1; visibility: visible; }
  .header .btn--sm { margin-left: auto; }
  .burger { display: grid; gap: 5px; width: 44px; height: 44px; place-content: center; background: none; border: 0; cursor: pointer; }
  .burger span { width: 22px; height: 2px; background: var(--leaf-d); }
}
@media (max-width: 640px) {
  .header .btn--sm { display: none; }
  .burger { margin-left: auto; }
  .classes { grid-template-columns: 1fr; }
  .picker { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .timeline::before { left: 66px; }
  .timeline li { grid-template-columns: 52px 1fr; gap: 34px; }
  .timeline li::before { left: 60px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
