:root {
  --brand: #C8A045;
  --brand-2: #E3C77E;
  --brand-dark: #9C7A2B;
  --bg: #FFF8F0;
  --surface: #FFFFFF;
  --text: #2F2F2F;
  --muted: #6B6B6B;
  --line: #EFE2D6;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
}
* {
  box-sizing: border-box;
}
html,body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans Thai",system-ui,-apple-system,Segoe UI,Roboto,Arial,"Helvetica Neue",sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.grid {
  display: grid;
  gap: 20px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: none;
  background: var(--brand);
  color: #111;
  padding: .9rem 1.1rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  font-weight: 700;
  cursor: pointer;
  transition: transform .1s ease, box-shadow .2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn.outline {
  background: transparent;
  border: 1.5px solid var(--brand);
  color: var(--brand);
}
.badge {
  padding: .25rem .6rem;
  border-radius: 999px;
  background: var(--brand-2);
  font-size: .82rem;
}
.card {
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--line);
}
.card .content {
  padding: 18px;
}
.input,select,textarea {
  width: 100%;
  padding: .9rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  outline: none;
}
.input:focus,select:focus,textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(200,160,69,.15);
}
label {
  display: block;
  margin: .35rem 0 .35rem .2rem;
  font-weight: 600;
  font-size: .95rem;
}
.form-row {
  display: grid;
  gap: 14px;
}
.form-row.two {
  grid-template-columns: 1fr 1fr;
}
.form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.help {
  font-size: .9rem;
  color: var(--muted);
}
hr.sep {
  border: 0;
  border-top: 1px dashed var(--line);
  margin: 20px 0;
}
/* Navbar */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255,248,240,.8);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-weight: 800;
}
.brand img {
  height: 40px;
  width: auto;
  border-radius: 10px;
}
.brand .title {
  font-size: 1.25rem;
}
.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
}
.nav-links a {
  padding: .45rem .75rem;
  border-radius: 10px;
}
.nav-links a.active,.nav-links a:hover {
  background: rgba(200,160,69,.15);
}
/* Hero */
.hero {
  padding: 60px 0 30px;
  position: relative;
  background-image: linear-gradient(180deg, rgba(255,248,240,.65) 0%, rgba(255,255,255,.92) 60%), url('assets/hero-bg.png');
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 30px;
  align-items: center;
}
.hero .title {
  font-size: 2.2rem;
  line-height: 1.15;
  margin: 0 0 14px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(200,160,69,.15);
  color: #7a5d1d;
  padding: .35rem .6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
}
.hero .visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.window-frame {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: 22px;
  overflow: hidden;
  border: 8px solid #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,.15);
  background: #ddd;
}
.window-frame img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.window-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
  border-radius: 14px;
}
.frame-bars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.frame-bars::before,.frame-bars::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,.85);
  box-shadow: 0 0 0 1px rgba(0,0,0,.05) inset;
}
.frame-bars::before {
  width: 8px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}
.frame-bars::after {
  height: 8px;
  width: 100%;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.brand-stamp {
  position: absolute;
  right: -12px;
  bottom: -12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}
.brand-stamp img {
  height: 28px;
  width: auto;
}
/* Sections */
.section {
  padding: 30px 0 50px;
}
.section .head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section h2 {
  margin: 0;
  font-size: 1.5rem;
}
.section .sub {
  color: var(--muted);
}
.cards.grid {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
/* Footer */
.footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding: 30px 0;
  color: #5f5f5f;
}
.footer .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
}
.footer a {
  color: inherit;
}
.footer .brand img {
  height: 32px;
  width: auto;
}
/* Banner */
.banner {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,248,240,1) 0%, rgba(255,255,255,1) 100%);
}
.banner h1 {
  margin: 0;
  font-size: 1.8rem;
}
/* Locations */
.place-card img {
  height: 160px;
  object-fit: cover;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: .3rem 0;
}
.meta .chip {
  background: #f6efe3;
  border: 1px solid var(--line);
  padding: .25rem .55rem;
  border-radius: 999px;
  font-size: .82rem;
}
/* Place */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}
.gallery .side {
  display: grid;
  gap: 12px;
}
.gallery img {
  border-radius: 12px;
}
.details {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-top: 16px;
}
.block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 16px;
}
.keyvals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: .95rem;
}
.keyvals div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--line);
  padding: 6px 0;
}
.review {
  border-top: 1px dashed var(--line);
  margin-top: 12px;
  padding-top: 12px;
}
/* FAQ */
.faq .item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq .q {
  padding: 14px 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq .a {
  display: none;
  padding: 0 16px 16px 16px;
  color: #444;
}
.faq .item.open .a {
  display: block;
}
.faq .item.open .q {
  background: rgba(200,160,69,.12);
}
/* Chat */
.chat {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  height: 360px;
}
.chat .log {
  padding: 12px;
  overflow: auto;
}
.chat .msg {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--line);
}
.chat .msg input {
  flex: 1;
}
/* Utils */
.hidden {
  display: none !important;
}
.center {
  display: flex;
  align-items: center;
  justify-content: center;
}
@media(max-width:920px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .details {
    grid-template-columns: 1fr;
  }
  .footer .cols {
    grid-template-columns: 1fr 1fr;
  }
  .form-row.two {
    grid-template-columns: 1fr;
  }
  .window-frame img {
    height: 260px;
  }
  .brand-stamp {
    right: 8px;
    bottom: -16px;
  }
}
.card-thumb {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
@media(max-width:920px) {
  .card-thumb {
    height: 120px;
  }
}

/* FAQ: details/summary version */
.faq .grid { align-items: start; }              /* อย่ายืดสูงเท่ากันทั้งแถว */
.faq .grid > * { align-self: start; }

.faq-item summary { 
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; padding: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-a { border-top: 1px solid var(--line); padding: 12px 18px 18px; }
.faq-icon::before { content: "+"; font-weight: 700; }
.faq-item[open] .faq-icon::before { content: "–"; }

/* ถ้าใช้โครง .item ที่หน้าอื่นอยู่ด้วยก็ยังทำงานเหมือนเดิม */
