/* Cafe De Naidee Elephant — official booking site (draft) */
:root {
  --forest: #1a2a22;
  --forest-deep: #101914;
  --forest-mid: #24352c;
  --ivory: #f4efe6;
  --ivory-soft: #faf7f1;
  --cream: #e8e0d2;
  --gold: #c4a46a;
  --gold-deep: #9a7b45;
  --ink: #1c1a16;
  --muted: #5c574e;
  --line: rgba(196, 164, 106, 0.45);
  --line-strong: rgba(196, 164, 106, 0.8);
  --danger: #7a3a2a;
  --header-h: 4.25rem;
  --bar-h: 0px;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --thai: "Noto Sans Thai", "Source Sans 3", sans-serif;
  --shadow: 0 18px 40px rgba(16, 25, 20, 0.18);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.has-sticky { --bar-h: 4.75rem; padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-decoration-color: var(--gold); text-underline-offset: 0.18em; }
a:hover { color: var(--gold-deep); }
h1, h2, h3, .brand-name { font-family: var(--serif); font-weight: 500; letter-spacing: 0.01em; color: var(--forest); }
h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); line-height: 1.08; margin: 0 0 0.6rem; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.15; margin: 0 0 0.75rem; }
h3 { font-size: 1.35rem; margin: 0 0 0.5rem; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 38rem; }
.kicker, .eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 0.7rem;
}
.tiny { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }
.thai { font-family: var(--thai); }
.wrap { width: min(1120px, calc(100% - 2.4rem)); margin-inline: auto; }
.wrap-narrow { width: min(680px, calc(100% - 2.4rem)); margin-inline: auto; }
.skip-link {
  position: absolute; left: 0.8rem; top: -4rem; background: var(--forest); color: var(--ivory);
  padding: 0.5rem 0.8rem; z-index: 80;
}
.skip-link:focus { top: 0.8rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Draft notice */
.draft-bar {
  background: var(--forest-deep);
  color: var(--ivory);
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.4rem 1rem;
}
.draft-bar .draft-full { display: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 239, 230, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(1120px, calc(100% - 1.6rem));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: inherit; min-width: 0; }
.brand img { width: 42px; height: auto; flex: none; }
.brand-name { display: flex; flex-direction: column; font-size: 1.05rem; line-height: 1.15; }
.brand-name .official-mark {
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 0.15rem;
}
.site-nav { display: none; align-items: center; gap: 1.5rem; }
.site-nav a { text-decoration: none; color: var(--forest); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold-deep); }
.nav-toggle { display: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--gold);
  color: var(--forest-deep);
  text-decoration: none;
  border: 1px solid var(--gold);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.85rem 1.5rem;
  min-height: 2.8rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--ivory-soft); }
.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: var(--gold);
}
.btn-ghost:hover { background: var(--gold); color: var(--forest-deep); }
.btn-line {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn-line:hover { background: var(--forest); color: var(--ivory); }
.btn-lg { padding: 1rem 2.2rem; min-width: 14rem; font-size: 0.82rem; }
.header-inner .btn { padding: 0.65rem 1.1rem; min-height: 2.4rem; }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - 6.2rem);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ivory);
  isolation: isolate;
  overflow: hidden;
}
.hero-media, .hero-media picture, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-media img { object-fit: cover; object-position: center 60%; }
.hero-desk { display: none; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 25, 20, 0.28) 0%, rgba(16, 25, 20, 0.55) 45%, rgba(16, 25, 20, 0.72) 100%);
  z-index: 1;
}
.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4rem 1.3rem 4.5rem;
  max-width: 42rem;
}
.hero-copy .eyebrow { color: var(--gold); }
.hero-copy h1 { color: var(--ivory-soft); }
.hero-copy .lead { color: rgba(244, 239, 230, 0.88); margin-inline: auto; margin-bottom: 1.6rem; }
.hero-actions { display: flex; justify-content: center; }

/* Trust strip */
.trust {
  background: var(--forest);
  color: var(--ivory);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-inner {
  width: min(1120px, calc(100% - 1.6rem));
  margin-inline: auto;
  display: grid;
  gap: 0.9rem;
  padding: 1.1rem 0;
  text-align: center;
}
.trust-item { font-size: 0.78rem; letter-spacing: 0.06em; }
.trust-item strong {
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

/* Sections */
.section { padding: 4.2rem 0; }
.section-alt { background: var(--ivory-soft); }
.section-forest { background: var(--forest); color: var(--ivory); }
.section-forest h2, .section-forest h3 { color: var(--ivory-soft); }
.section-forest .kicker { color: var(--gold); }
.section-forest .lead, .section-forest p { color: rgba(244, 239, 230, 0.86); }
.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.split img { width: 100%; height: 100%; object-fit: cover; }
.frame { border: 1px solid var(--line); overflow: hidden; }
.include-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.include-list li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
}
.include-list .lbl {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding-top: 0.2rem;
}

/* Ticket / price */
.price-block { text-align: center; max-width: 40rem; margin-inline: auto; }
.price-block .amount {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  font-weight: 500;
  color: var(--forest);
  line-height: 1;
  margin: 0.4rem 0 0.3rem;
}
.slots { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 1.4rem 0 1.8rem; }
.slot {
  border: 1px solid var(--line-strong);
  color: var(--forest);
  padding: 0.45rem 0.75rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}
.gallery figure { margin: 0; overflow: hidden; border: 1px solid var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.gallery figcaption {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.55rem 0.7rem 0.7rem;
}

/* Visit */
.visit-grid { display: grid; gap: 2rem; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 0.55rem 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list span {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.15rem;
}

/* Footer */
.site-footer {
  background: var(--forest-deep);
  color: rgba(244, 239, 230, 0.82);
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.site-footer h2, .site-footer h3 { color: var(--ivory-soft); }
.site-footer a { color: var(--ivory); text-decoration-color: var(--gold); }
.footer-grid { display: grid; gap: 2rem; margin-bottom: 2.4rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.45rem; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--gold); }
.link-soon {
  color: rgba(244, 239, 230, 0.45);
  cursor: default;
}
.legal-block {
  border-top: 1px solid rgba(196, 164, 106, 0.25);
  padding-top: 1.3rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(244, 239, 230, 0.7);
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.2rem;
  font-size: 0.78rem;
  color: rgba(244, 239, 230, 0.55);
}
.lang-switch { display: flex; align-items: center; gap: 0.5rem; }
.lang-switch select {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(196, 164, 106, 0.45);
  padding: 0.35rem 0.5rem;
  font-family: var(--sans);
  font-size: 0.8rem;
}

/* Sticky action bar (mobile) */
.action-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 45;
  background: var(--forest-deep);
  border-top: 1px solid var(--line);
  padding: 0.55rem 0.8rem calc(0.55rem + env(safe-area-inset-bottom));
  gap: 0.55rem;
}
.has-sticky .action-bar { display: grid; grid-template-columns: 1.2fr 1fr; }
.action-bar .btn { width: 100%; }

/* Interior pages */
.page-head { padding: 2.4rem 0 1.2rem; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); }

/* Forms */
.form { display: grid; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--forest); }
.field input, .field select, .field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--ivory-soft);
  border: 1px solid var(--line-strong);
  padding: 0.7rem 0.8rem;
  width: 100%;
  border-radius: 0;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 1px solid var(--gold-deep);
  border-color: var(--gold-deep);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.field-row.three { grid-template-columns: 1fr 1fr 1fr; }
.hint { font-size: 0.8rem; color: var(--muted); }
.form-block {
  border-top: 1px solid var(--line);
  padding-top: 1.3rem;
  margin-top: 0.4rem;
}
.form-block h2 { font-size: 1.55rem; margin-bottom: 0.4rem; }
.total-box {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.total-box strong {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--forest);
}
.placeholder-box {
  border: 1px solid var(--line-strong);
  padding: 1.1rem 1.15rem;
  background: var(--ivory-soft);
  font-size: 0.95rem;
}
.placeholder-box strong { display: block; margin-bottom: 0.3rem; color: var(--forest); }

/* Ticket / confirmation */
.ticket {
  display: grid;
  gap: 1.4rem;
  background: var(--ivory-soft);
  border: 1px solid var(--line-strong);
  padding: 1.5rem 1.3rem 1.3rem;
  position: relative;
}
.ticket h2 { margin-bottom: 0.2rem; }
.ticket dl { display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.35rem 0.8rem; margin: 1rem 0 0; }
.ticket dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); padding-top: 0.15rem; }
.ticket dd { margin: 0; }
.qr-box { width: 180px; height: 180px; background: #fff; border: 1px solid var(--line); padding: 0.4rem; margin: 0 auto; }
.qr-box svg, .qr-box img { width: 100%; height: 100%; }
.caption { text-align: center; font-size: 0.8rem; color: var(--muted); margin-top: 0.5rem; }
.notice { font-size: 0.92rem; color: var(--muted); margin: 1rem 0; }

/* Google translate chrome hide */
.goog-te-banner-frame, .goog-te-balloon-frame { display: none !important; }
body { top: 0 !important; }

@media (min-width: 720px) {
  .draft-bar .draft-full { display: inline; }
  .draft-bar .draft-short { display: none; }
  .site-nav { display: flex; }
  .header-inner .btn-header-mobile { display: none; }
  .hero { min-height: calc(100svh - 5.4rem); }
  .hero-mob { display: none; }
  .hero-desk { display: block; }
  .hero-media img { object-position: center center; }
  .trust-inner { grid-template-columns: repeat(3, 1fr); padding: 1.25rem 0; gap: 1.5rem; }
  .trust-item + .trust-item { border-left: 1px solid var(--line); }
  .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .visit-grid { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: start; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
  .field-row.three { grid-template-columns: repeat(3, 1fr); }
  .ticket { grid-template-columns: 1fr 200px; align-items: start; padding: 2rem; }
  .has-sticky { --bar-h: 0px; padding-bottom: 0; }
  .has-sticky .action-bar { display: none; }
  .section { padding: 5.5rem 0; }
}
@media print {
  .draft-bar, .site-header, .site-footer, .action-bar, .skip-link { display: none !important; }
  body { background: #fff; padding: 0; }
  .ticket { border-color: #bbb; }
}
