:root {
  --green: #154d35;
  --green-dark: #0d2c1f;
  --green-soft: #f7f1e5;
  --gold: #c29a3b;
  --gold-soft: #e7cc7a;
  --cream: #fffdf8;
  --ink: #223528;
  --border: rgba(21, 77, 53, 0.12);
  --hero-bg-image: url("assets/images/hero-background.png");
  --font-thai: "Kanit", "Noto Sans Thai", "Prompt", sans-serif;
  --font-english: "Kanit", "Noto Sans Thai", "Prompt", sans-serif;
  --font-body-thai: "Kanit", "Noto Sans Thai", "Prompt", sans-serif;
}

@font-face {
  font-family: "BLK-Suphanburi";
  src: url("assets/fonts/BLK-Suphanburi.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BLK-Suphanburi";
  src: url("assets/fonts/BLK-Suphanburi.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "jasmin";
  src: local("Jasmine"), url("assets/fonts/Jasmine.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fdfbf7 0%, #f8f1e2 100%);
  font-family: var(--font-english);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  line-height: 1.8;
  font-weight: 400;
}

.lead,
.highlight-card p,
.dish-card p,
.location-card p,
.location-item p,
.modal-intro,
.modal-qr-note,
.reservation-form label,
.reservation-form input,
.reservation-form textarea,
.form-help,
.hero .review span:last-child,
.booking p:last-child {
  font-family: var(--font-body-thai);
}

a { color: inherit; }

.skip-link, .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  z-index: 99;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: var(--green-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.25rem, 4vw, 3.5rem);
  background: rgba(13, 44, 31, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--cream);
  text-decoration: none;
}
.brand-logo {
  display: block;
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand strong {
  display: block;
  font-family: "Noto Serif Thai", "Kanit", serif;
  font-size: 1.38rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand small {
  display: block;
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.56rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-family: "Poppins", "Kanit", sans-serif;
  font-weight: 500;
}

.site-nav {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2rem);
}
.site-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-family: "Kanit", "Noto Sans Thai", "Prompt", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--gold-soft);
}
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--gold-soft);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.25rem;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px 0;
  background: var(--gold);
  border-radius: 999px;
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(7, 27, 19, 0.62);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.mobile-nav-overlay.open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(84vw, 320px);
  height: 100vh;
  padding: 1.25rem 1rem 1.5rem;
  background: linear-gradient(180deg, var(--green-dark) 0%, var(--green) 100%);
  box-shadow: -12px 0 30px rgba(0, 0, 0, 0.24);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  z-index: 31;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mobile-nav-panel.open {
  transform: translateX(0);
}
.mobile-nav-panel .panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-nav-panel .panel-title {
  margin: 0;
  color: var(--cream);
  font-family: var(--font-thai);
  font-size: 1.05rem;
}
.mobile-nav-panel .panel-close {
  border: 0;
  background: transparent;
  color: var(--cream);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}
.mobile-nav-panel .mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.3rem;
}
.mobile-nav-panel .mobile-nav-links a {
  padding: 0.8rem 0.9rem;
  border-radius: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.mobile-nav-panel .mobile-nav-links a:hover,
.mobile-nav-panel .mobile-nav-links a.active {
  background: rgba(231, 204, 122, 0.18);
  color: var(--gold-soft);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 700px;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 5vw, 4.5rem) clamp(3rem, 7vw, 5rem);
  background-color: #173d2a;
  background-image:
    linear-gradient(90deg, rgba(8, 34, 23, 0.45) 0%, rgba(8, 34, 23, 0.2) 50%, rgba(8, 34, 23, 0.08) 100%),
    url("/assets/images/hero-background.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--cream);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -5rem -5rem auto;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: rgba(194, 154, 59, 0.24);
  filter: blur(90px);
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  padding: clamp(1.35rem, 2.4vw, 2rem);
  border-radius: 1.75rem;
  background: linear-gradient(135deg, rgba(9, 39, 27, 0.82), rgba(21, 77, 53, 0.58));
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}
.eyebrow {
  display: inline-block;
  margin: 0 0 0.9rem;
  color: var(--gold-soft);
  font-family: var(--font-english);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.hero h1,
.section-wrap h2,
.booking h2,
.highlight-card h3,
.dish-card h3,
.location-card h3,
.modal-form-panel h2,
.modal-qr-panel h3 {
  margin: 0.2rem 0 0.5rem;
  font-family: var(--font-thai);
  font-weight: 700;
  line-height: 1.25;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
}
.hero h1 em {
  color: var(--gold-soft);
  font-style: normal;
  font-family: "jasmin", "Jasmine", var(--font-thai);
}
.lead {
  max-width: 33rem;
  margin-bottom: 1.5rem;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.8;
  font-family: "Jasmine", "Noto Sans Thai", serif;
  color: rgba(255, 255, 255, 0.82);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.8rem 0 1.25rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button-gold {
  background: var(--gold);
  color: var(--green-dark);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}
.button-gold:hover {
  background: var(--gold-soft);
}
.button-outline {
  border: 1px solid rgba(231, 204, 122, 0.55);
  color: var(--gold-soft);
  background: rgba(255, 255, 255, 0.05);
}
.button-outline:hover {
  background: rgba(231, 204, 122, 0.15);
  color: white;
}
.review {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
}
.review span:first-child {
  color: var(--gold-soft);
  letter-spacing: 0.12em;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem clamp(1.25rem, 5vw, 4.5rem) 0;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}
.highlight-card {
  padding: 1.35rem 1.25rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: 0 12px 30px rgba(13, 44, 31, 0.06);
}
.highlight-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--green-dark);
}
.highlight-card p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.75;
  font-family: "Jasmine", "Noto Sans Thai", serif;
  color: rgba(34, 53, 40, 0.86);
}

.section-wrap {
  padding: clamp(4rem, 7vw, 6rem) clamp(1.25rem, 5vw, 4.5rem);
}
.story {
  max-width: 55rem;
}
.section-wrap h2,
.booking h2 {
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  color: var(--green-dark);
}
.story > p:last-child {
  max-width: 40rem;
  color: rgba(34, 53, 40, 0.82);
}

.menu-section {
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(231, 204, 122, 0.22), transparent 34%),
    linear-gradient(135deg, #fcf8f0 0%, #f5ebd8 45%, #f1e1bc 100%);
  border-top: 1px solid rgba(194, 154, 59, 0.18);
  border-bottom: 1px solid rgba(194, 154, 59, 0.18);
  overflow: hidden;
}
.menu-section::before {
  content: "";
  position: absolute;
  inset: 1rem auto auto 1rem;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  border: 1px solid rgba(194, 154, 59, 0.18);
  pointer-events: none;
}
.menu-section::after {
  content: "";
  position: absolute;
  inset: auto 1.2rem 1rem auto;
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  border: 1px solid rgba(194, 154, 59, 0.16);
  pointer-events: none;
}
.section-heading {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
}
.text-link {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}
.text-link:hover {
  color: var(--gold);
}

.dish-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}
.dish {
  padding: 1.5rem;
  background: rgba(255, 253, 248, 0.95);
  border: 1px solid rgba(194, 154, 59, 0.24);
  border-radius: 1.25rem;
  box-shadow: 0 14px 30px rgba(13, 44, 31, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.dish:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(13, 44, 31, 0.1);
}
.dish span {
  color: var(--gold);
  font-family: "Kanit", "Noto Sans Thai", "Prompt", sans-serif;
  font-size: 1.3rem;
}
.dish h3 {
  margin: 0.4rem 0 0.35rem;
  font-size: 1.15rem;
}
.dish p {
  margin: 0;
  color: rgba(34, 53, 40, 0.78);
}

/* New dish card styles: image on top, title + description below */
.dish-card {
  overflow: hidden;
  border-radius: 1.25rem;
  background: rgba(255, 253, 248, 0.98);
  border: 1px solid var(--border);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.dish-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 46px rgba(13, 44, 31, 0.10);
}
.dish-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
  flex-shrink: 0;
}
.dish-card-content {
  padding: 1rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}
.dish-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--green-dark);
}
.dish-card p {
  margin: 0;
  color: rgba(34, 53, 40, 0.82);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.75;
  font-family: "Jasmine", "Noto Sans Thai", serif;
}

.menu-pdf-section {
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.98) 0%, rgba(245, 235, 216, 0.96) 100%);
  border-top: 1px solid rgba(194, 154, 59, 0.18);
}
.menu-pdf-subtitle {
  margin: 0.4rem 0 0;
  color: rgba(34, 53, 40, 0.8);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
  font-family: "Jasmine", "Noto Sans Thai", serif;
}
.menu-pdf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.2rem 0 1.4rem;
}
.menu-pdf-viewer {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(21, 77, 53, 0.14);
  box-shadow: 0 16px 36px rgba(13, 44, 31, 0.08);
  background: linear-gradient(180deg, #fdfbf7 0%, #f7f0e1 100%);
  padding: 1rem;
}
.menu-pdf-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}
.menu-pdf-nav {
  border: 0;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: white;
  font-size: 1.45rem;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(13, 44, 31, 0.16);
  flex-shrink: 0;
}
.menu-pdf-gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  width: 100%;
}
.menu-page-card {
  display: none;
  width: min(100%, 700px);
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(21, 77, 53, 0.12);
  box-shadow: 0 16px 34px rgba(13, 44, 31, 0.12);
  position: relative;
  transform-origin: center left;
  opacity: 0;
  transform: translateX(40px) scale(0.98);
  transition: transform 0.8s ease, opacity 0.8s ease;
}
.menu-page-card.active {
  display: block;
  opacity: 1;
  transform: translateX(0) scale(1);
}
.menu-page-card.enter-from-right {
  transform: translateX(40px) scale(0.98);
  opacity: 0;
}
.menu-page-card.exit-to-left {
  transform: translateX(-60px) scale(0.96);
  opacity: 0;
}
.menu-page-card.enter-from-left {
  transform: translateX(-40px) scale(0.98);
  opacity: 0;
}
.menu-page-card.exit-to-right {
  transform: translateX(60px) scale(0.96);
  opacity: 0;
}
.menu-page-card img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.02);
}
.menu-pdf-loading {
  padding: 1.25rem;
  text-align: center;
  color: var(--green-dark);
  font-weight: 600;
}

@media (max-width: 760px) {
  .dish-image { height: 160px; }
  .dish-card-content { padding: 0.85rem; }
}

.location-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 241, 229, 0.94));
}
.location-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: stretch;
}
.location-card {
  padding: 1.6rem;
  border-radius: 1.5rem;
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(247, 241, 229, 0.95));
  border: 1px solid rgba(21, 77, 53, 0.12);
  box-shadow: 0 16px 35px rgba(13, 44, 31, 0.08);
}
.location-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.location-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--green-dark);
  box-shadow: 0 8px 20px rgba(194, 154, 59, 0.24);
  flex-shrink: 0;
}
.location-card h3 {
  margin: 0 0 0.2rem;
  font-size: 1.1rem;
  color: var(--green-dark);
  font-family: "LINE Seed Sans TH", "Noto Sans Thai", "Kanit", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.location-card p {
  margin: 0;
  color: rgba(34, 53, 40, 0.82);
  font-weight: 500;
  line-height: 1.9;
  font-family: "LINE Seed Sans TH", "Noto Sans Thai", "Kanit", sans-serif;
  letter-spacing: 0.01em;
}
.location-phone {
  display: inline-block;
  margin-top: 0.15rem;
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: none;
  font-family: "LINE Seed Sans TH", "Noto Sans Thai", "Kanit", sans-serif;
  letter-spacing: 0.01em;
}
.location-phone:hover {
  color: var(--gold);
  text-decoration: underline;
}
.location-call-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  font-family: "LINE Seed Sans TH", "Noto Sans Thai", "Kanit", sans-serif;
  box-shadow: 0 8px 18px rgba(13, 44, 31, 0.16);
}
.location-call-button:hover {
  transform: translateY(-1px);
  color: var(--cream);
}
.location-button {
  margin-top: 1.2rem;
  background: var(--green-dark);
  color: var(--gold-soft);
  border: 1px solid rgba(231, 204, 122, 0.7);
  box-shadow: 0 12px 28px rgba(13, 44, 31, 0.22);
}
.location-button:hover {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: #fff;
  transform: translateY(-3px);
}
.location-map {
  min-height: 320px;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(21, 77, 53, 0.12);
  box-shadow: 0 16px 35px rgba(13, 44, 31, 0.08);
}
.location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}
.booking {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(2.8rem, 6vw, 4.4rem) clamp(1.25rem, 5vw, 4.5rem);
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.35), transparent 38%),
    linear-gradient(135deg, #c9942d 0%, #e8c66e 46%, #a76f14 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 18px 40px rgba(13, 44, 31, 0.14);
}
.booking::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  pointer-events: none;
}
.booking::after {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 1.25rem;
  pointer-events: none;
}
.booking > * {
  position: relative;
  z-index: 1;
}
.booking .eyebrow {
  color: var(--green-dark);
  margin-bottom: 0.8rem;
}
.booking h2 {
  margin-bottom: 0.8rem;
  color: var(--green-dark);
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.24);
}
.booking p:last-child {
  margin: 0;
  color: rgba(21, 77, 53, 0.86);
  font-weight: 600;
}
.booking .button-gold {
  background: var(--green-dark);
  color: var(--gold-soft);
  border: 1px solid rgba(231, 204, 122, 0.7);
  box-shadow: 0 12px 28px rgba(13, 44, 31, 0.24);
}
.booking .button-gold:hover {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(13, 44, 31, 0.28);
}

body.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 27, 19, 0.7);
  backdrop-filter: blur(6px);
}
.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 960px);
  max-height: min(92vh, 780px);
  overflow: auto;
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: linear-gradient(145deg, #fffdf8 0%, #f4ebd7 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}
.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.35rem;
  height: 2.35rem;
  border: 0;
  border-radius: 50%;
  background: var(--green-dark);
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
}
.modal-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
}
.modal-form-panel,
.modal-qr-panel {
  padding: 1.35rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(194, 154, 59, 0.24);
}
.modal-form-panel h2,
.modal-qr-panel h3 {
  margin: 0 0 0.5rem;
  color: var(--green-dark);
}
.modal-intro,
.modal-qr-note {
  margin: 0 0 1rem;
  color: rgba(34, 53, 40, 0.8);
  font-family: "Jasmine", "Noto Sans Thai", serif;
}
.reservation-form {
  display: grid;
  gap: 0.85rem;
}
.reservation-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--green-dark);
}
.reservation-form input,
.reservation-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(21, 77, 53, 0.18);
  border-radius: 0.9rem;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
}
.reservation-form input:focus,
.reservation-form textarea:focus {
  outline: 2px solid rgba(194, 154, 59, 0.28);
  border-color: var(--gold);
}
.form-help {
  margin: 0.2rem 0 0;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 600;
}
.modal-qr-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
.modal-actions .button {
  min-width: 140px;
}
.modal-qr-panel img {
  width: min(100%, 220px);
  border-radius: 1rem;
  padding: 0.8rem;
  background: white;
  box-shadow: 0 10px 24px rgba(13, 44, 31, 0.12);
}
footer {
  padding: 1.4rem 1.25rem 2rem;
  text-align: center;
  background: #0c241c;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

@media (max-width: 760px) {
  body.menu-open {
    overflow: hidden;
  }

  .brand {
    gap: 0.6rem;
  }
  .brand-logo {
    width: 2.4rem;
    height: 2.4rem;
  }
  .brand strong {
    font-size: 1.05rem;
  }
  .brand small {
    font-size: 0.5rem;
    letter-spacing: 0.18em;
  }
  .menu-toggle {
    display: block;
  }
  .site-nav {
    display: none;
  }
  .mobile-nav-overlay {
    display: block;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 2rem;
  }
  .hero-visual {
    order: -1;
  }
  .highlights,
  .dish-grid {
    grid-template-columns: 1fr;
  }
  .menu-section {
    padding-inline: 1.25rem;
  }
  .menu-pdf-subtitle {
    font-size: 0.95rem;
  }
  .menu-pdf-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .menu-pdf-viewer {
    padding: 0.75rem;
  }
  .menu-pdf-carousel {
    flex-direction: column;
    gap: 0.6rem;
  }
  .menu-pdf-nav {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1.25rem;
  }
  .menu-pdf-gallery {
    min-height: 320px;
  }
  .menu-section::before,
  .menu-section::after {
    display: none;
  }
  .section-heading,
  .booking {
    align-items: flex-start;
    flex-direction: column;
  }
  .location-grid {
    grid-template-columns: 1fr;
  }
  .location-map {
    min-height: 280px;
  }
  .location-map iframe {
    min-height: 280px;
  }
  .booking {
    padding: 2.2rem 1.25rem;
  }
  .booking .button-gold {
    width: 100%;
    justify-content: center;
  }
  .modal-grid {
    grid-template-columns: 1fr;
  }
  .modal-dialog {
    padding: 1.1rem;
  }
  .modal-form-panel,
  .modal-qr-panel {
    padding: 1rem;
  }
}

/* Mobile Hero tweaks for screens <= 768px
   - reposition background to reveal logo & main dish
   - keep background-size: cover (no stretching)
   - reduce hero height and padding, make copy box lighter
   - scale down typography, buttons, and review stars
   - additional small-screen tweak for very narrow phones
*/
@media (max-width: 768px) {
  .hero {
    min-height: 420px;
    padding: 1.25rem 1rem 2rem;
    background-position: 60% center;
    background-size: cover;
    align-items: flex-end;
    background-image:
      linear-gradient(180deg, rgba(8, 34, 23, 0.38) 0%, rgba(8, 34, 23, 0.44) 100%),
      var(--hero-bg-image);
  }

  .dish-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin-top: 1.25rem;
  }

  .dish-card {
    border-radius: 1rem;
    box-shadow: 0 12px 24px rgba(13, 44, 31, 0.08);
  }

  .dish-image {
    height: auto;
    aspect-ratio: 4 / 3;
    min-height: 160px;
    object-fit: cover;
    object-position: center center;
  }

  .dish-card-content {
    padding: 0.9rem 0.95rem 1rem;
  }

  /* reduce heavy decorative blur so logo/dish are clearer */
  .hero::before {
    display: none;
  }

  .hero-copy {
    max-width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 1.1rem;
    background: linear-gradient(135deg, rgba(9,39,27,0.62), rgba(21,77,53,0.34));
    backdrop-filter: blur(6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.14);
  }

  .hero h1 {
    font-size: 1.65rem;
    line-height: 1.2;
    margin-bottom: 0.35rem;
  }

  .lead {
    font-size: 0.95rem;
    max-width: none;
    margin-bottom: 0.85rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.88);
  }

  .hero-actions { margin: 0.9rem 0 0.8rem; }
  .hero-actions .button { padding: 0.6rem 0.9rem; font-size: 0.92rem; }

  .review { font-size: 0.86rem; gap: 0.45rem; }

  /* make highlights/dish grid spacing friendlier on mobile */
  .highlights {
    padding-inline: 1rem;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  /* ensure content doesn't overflow on small devices */
  .hero-copy, .hero h1, .lead, .hero-actions, .review {
    word-break: break-word;
  }

  /* Extra tweak for very narrow phones (e.g. older iPhone SE/12 mini portrait) */
  @media (max-width: 420px) {
    .hero { min-height: 360px; background-position: center center; }
    .hero-copy { padding: 0.7rem 0.9rem; border-radius: 1rem; }
    .hero h1 { font-size: 1.45rem; }
    .hero-actions .button { padding: 0.5rem 0.8rem; font-size: 0.88rem; }
  }
}
