/* ==========================================================================
   Bangkok.team — Master Stylesheet v2.0
   Single source of truth for all pages. Edit here, propagates everywhere.
   ========================================================================== */

:root {
  /* Brand */
  --orange: #E8622A;
  --orange-light: #F28C5E;
  --orange-pale: #FDF0E8;

  /* Cream */
  --cream: #FBF7F2;
  --cream-dark: #F2EAE0;

  /* Browns */
  --brown: #3D2B1F;
  --brown-mid: #6B4C3B;

  /* Dark */
  --bg: #0f0f0f;
  --bg-soft: #1a1a1a;
  --bg-card: #1c1c1c;

  /* Text */
  --text: #e0d8ce;
  --text-bright: #f0f0ee;
  --text-mid: #c8c0b8;
  --text-soft: #a89888;
  --text-dim: #888;

  /* Borders */
  --border: #2e2e2e;
  --border-soft: rgba(255, 255, 255, 0.1);

  /* Semantic */
  --green: #22c55e;
  --success: #4ade80;
  --error: #f87171;

  /* Layout */
  --max-content: 1200px;
  --max-narrow: 860px;
  --radius: 12px;
  --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
[id] { scroll-margin-top: 90px; }
img, video { max-width: 100%; display: block; }

/* TOP BAR */
.top-bar {
  background: #111;
  border-bottom: 1px solid var(--border-soft);
  padding: 8px 5%;
  text-align: center;
  font-size: 13px;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.top-bar a { color: var(--green); font-weight: 800; text-decoration: none; font-size: 16px; }
.top-bar .tb-meta { color: var(--green); font-weight: 700; font-size: 12px; }

/* NAV */
nav.site-nav { background: #0a0a0a; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.nav-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 900; color: var(--orange); text-decoration: none; letter-spacing: -0.5px; flex-shrink: 0; }
.logo span { color: var(--orange-light); }
.nav-links { display: flex; list-style: none; align-items: center; gap: 20px; }
.nav-links a { font-size: 13px; font-weight: 500; color: #bbb; text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-cta { background: var(--orange); color: #fff !important; padding: 9px 18px; border-radius: 40px; font-weight: 700 !important; font-size: 13px !important; text-decoration: none; transition: background 0.2s; }
.nav-cta:hover { background: var(--orange-light); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #ccc; border-radius: 2px; }

/* BREADCRUMB */
.breadcrumb { background: #0a0a0a; border-bottom: 1px solid var(--border-soft); padding: 10px 5%; }
.breadcrumb-inner { max-width: var(--max-content); margin: 0 auto; font-size: 13px; color: var(--text-dim); }
.breadcrumb a { color: var(--text-dim); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb-sep { margin: 0 6px; opacity: 0.5; }

/* HERO */
.hero {
  position: relative;
  width: 100%;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 30%, rgba(232, 98, 42, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(242, 140, 94, 0.25) 0%, transparent 55%),
    linear-gradient(135deg, #1a0f08 0%, #2a1810 40%, #0f0a06 100%);
}
.hero-video { display: none; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0, transparent 60px, rgba(232, 98, 42, 0.02) 60px, rgba(232, 98, 42, 0.02) 61px),
    linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
  z-index: 1;
}
.hero-inner { position: relative; z-index: 3; max-width: var(--max-narrow); margin: 0 auto; padding: 80px 28px; color: #fff; width: 100%; }
.hero-tag { display: inline-block; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 14px; border-radius: 4px; margin-bottom: 20px; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(34px, 5vw, 58px); font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 18px; letter-spacing: -0.01em; }
.hero h1 em { color: var(--orange-light); font-style: italic; font-weight: 700; }
.hero p.lead { font-size: 17px; color: rgba(255,255,255,0.9); line-height: 1.7; max-width: 600px; margin-bottom: 22px; }
.hero-phone { font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 24px; }
.hero-phone a { color: #fff; text-decoration: none; }
.hero-phone a:hover { color: var(--orange-light); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary { display: inline-block; background: var(--orange); color: #fff; text-decoration: none; padding: 13px 26px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 700; transition: background 0.2s, transform 0.1s; border: none; cursor: pointer; font-family: inherit; }
.btn-primary:hover { background: var(--orange-light); transform: translateY(-1px); }
.btn-secondary { display: inline-block; background: transparent; border: 2px solid rgba(255,255,255,0.5); color: #fff; text-decoration: none; padding: 11px 26px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 700; transition: all 0.2s; }
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.hero-meta { display: flex; gap: 22px; margin-top: 26px; flex-wrap: wrap; }
.hero-meta span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,0.6); }
.hero-meta span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

/* CONTENT GRID */
.content-layout {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 48px 28px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}
.content-sidebar { position: sticky; top: 84px; }

/* INTRO */
.intro-box {
  background: rgba(232, 98, 42, 0.08);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin-bottom: 32px;
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* INLINE CTAs */
.inline-cta { display: block; background: var(--bg-card); color: #fff; text-decoration: none; padding: 14px 24px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; margin: 28px 0; text-align: center; transition: background 0.2s; border: 1px solid var(--border-soft); }
.inline-cta:hover { background: var(--bg-soft); border-color: var(--orange); }
.inline-cta em { color: var(--orange-light); font-style: normal; }

/* ARTICLE SECTIONS */
.article-section { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border-soft); }
.article-section:last-of-type { border-bottom: none; }
.article-section h2 { font-family: 'Playfair Display', serif; font-size: clamp(22px, 3vw, 28px); font-weight: 900; color: var(--text-bright); margin-bottom: 16px; line-height: 1.2; }
.article-section h3 { font-size: 18px; font-weight: 700; color: var(--text-bright); margin: 24px 0 10px; }
.article-section p { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 14px; }
.article-section p:last-child { margin-bottom: 0; }
.article-section ul, .article-section ol { margin: 14px 0 14px 20px; color: var(--text-mid); }
.article-section li { margin-bottom: 8px; line-height: 1.7; }
.article-section strong { color: var(--text-bright); font-weight: 700; }

/* TOC SIDEBAR */
.toc-card { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 22px; margin-bottom: 22px; }
.toc-title { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; }
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.toc-list a { font-size: 14px; color: #bbb; text-decoration: none; display: flex; align-items: center; gap: 8px; transition: color 0.2s; }
.toc-list a:hover { color: var(--orange); }
.toc-list a::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--border); flex-shrink: 0; transition: background 0.2s; }
.toc-list a:hover::before { background: var(--orange); }

.sidebar-cta { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 22px; text-align: center; }
.sidebar-cta p { font-size: 13px; color: var(--text-soft); line-height: 1.6; margin-bottom: 14px; }
.sidebar-cta a { display: block; background: var(--orange); color: #fff; text-decoration: none; padding: 11px 16px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 700; transition: background 0.2s; }
.sidebar-cta a:hover { background: var(--orange-light); }

/* RELATED */
.related-guides { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 22px; margin-top: 32px; }
.related-guides h3 { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--text-bright); margin-bottom: 14px; }
.related-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.related-list a { font-size: 14px; color: #bbb; text-decoration: none; display: flex; align-items: center; gap: 8px; transition: color 0.2s; font-weight: 500; }
.related-list a:hover { color: var(--orange); }
.related-list a::before { content: '→'; color: var(--orange); font-size: 12px; }

/* LEAD FORM */
.section-form { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 26px 28px; margin: 32px 0; }
.section-form h3 { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--text-bright); margin-bottom: 8px; }
.section-form .form-sub { font-size: 14px; color: var(--text-soft); margin-bottom: 18px; }
.lead-form { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-form label { font-size: 12px; color: var(--text-soft); font-weight: 600; margin-bottom: -6px; display: block; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%;
  background: #111;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border 0.2s;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--orange); }
.lead-form textarea { resize: vertical; min-height: 90px; }
.lead-form button { background: var(--orange); color: #fff; border: none; border-radius: var(--radius-sm); padding: 13px 24px; font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: background 0.2s; align-self: flex-start; }
.lead-form button:hover { background: var(--orange-light); }
.lead-form button:disabled { opacity: 0.6; cursor: not-allowed; }
/* honeypot field — must be hidden from humans */
.lead-form .hp { position: absolute; left: -9999px; top: -9999px; opacity: 0; pointer-events: none; }
.form-status { margin-top: 8px; font-weight: 600; font-size: 14px; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: var(--success); }
.form-status.err { color: var(--error); }

/* BUNDLE CTA */
.bundle-section { background: #111; padding: 64px 28px; border-top: 1px solid var(--border-soft); }
.bundle-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.bundle-section h2 { font-family: 'Playfair Display', serif; font-size: clamp(26px, 4vw, 36px); font-weight: 900; color: var(--text-bright); margin-bottom: 14px; }
.bundle-section p { font-size: 16px; color: var(--text-soft); line-height: 1.7; margin-bottom: 28px; }

/* CATEGORY CARDS (home) */
.section-pad { padding: 72px 28px; max-width: var(--max-content); margin: 0 auto; }
.section-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; text-align: center; }
.section-heading { font-family: 'Playfair Display', serif; font-size: clamp(28px, 4vw, 42px); font-weight: 700; color: var(--text-bright); text-align: center; margin-bottom: 12px; line-height: 1.2; }
.section-heading em { color: var(--orange-light); font-style: italic; font-weight: 700; }
.section-sub { text-align: center; color: var(--text-soft); font-size: 15px; margin: 0 auto 40px; max-width: 600px; line-height: 1.6; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 28px 22px; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: border-color 0.2s, transform 0.15s; }
.cat-card:hover { border-color: var(--orange); transform: translateY(-3px); }
.cat-card .cat-emoji { font-size: 32px; margin-bottom: 14px; line-height: 1; }
.cat-card h3 { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--text-bright); margin-bottom: 6px; }
.cat-card p { font-size: 13px; color: var(--text-soft); line-height: 1.6; }
.cat-card .cat-arrow { margin-top: 14px; color: var(--orange); font-weight: 700; font-size: 14px; }

/* JOURNEY STAGES (pricing + home) */
.journey-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 32px; }
.journey-card { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--bg-card); border: 2px solid var(--border); border-radius: 14px; padding: 30px 22px; text-decoration: none; color: inherit; transition: border-color 0.2s, transform 0.15s; }
.journey-card:hover, .journey-card.active { border-color: var(--orange); transform: translateY(-2px); }
.journey-card .j-emoji { font-size: 36px; margin-bottom: 12px; line-height: 1; }
.journey-card .j-stage { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; color: var(--orange); text-transform: uppercase; margin-bottom: 4px; }
.journey-card h3 { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--text-bright); margin-bottom: 6px; }
.journey-card p { font-size: 13px; color: var(--text-soft); line-height: 1.55; }

/* PRICE MATCH */
.price-match { background: linear-gradient(135deg, #1a1510, #1e1a14); border: 1px solid #3a2e22; border-radius: 14px; padding: 22px 28px; text-align: center; margin-bottom: 36px; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.price-match-icon { font-size: 28px; }
.price-match-text { font-size: 16px; font-weight: 600; color: var(--text-bright); }
.price-match-text span { color: var(--orange-light); }
.price-match-sub { font-size: 13px; color: var(--text-soft); margin-top: 3px; }

/* PRICING CARDS */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 18px; }
.plan { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 30px 26px; display: flex; flex-direction: column; position: relative; transition: border-color 0.2s, transform 0.2s; }
.plan:hover { border-color: #3e3e3e; transform: translateY(-2px); }
.plan.popular { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange), 0 8px 32px rgba(232,98,42,0.15); }
.popular-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 16px; border-radius: 99px; white-space: nowrap; }
.plan-name { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--text-bright); margin-bottom: 4px; }
.plan-tag { font-size: 13px; color: var(--text-soft); margin-bottom: 18px; min-height: 22px; }
.plan-price { font-size: 38px; font-weight: 800; color: var(--orange-light); line-height: 1; margin-bottom: 4px; }
.plan-price span { font-size: 14px; font-weight: 400; color: var(--text-dim); }
.plan-note { font-size: 12px; color: var(--text-dim); margin-bottom: 22px; }
.features { list-style: none; flex: 1; margin: 0; }
.features li { padding: 8px 0; border-bottom: 1px solid #232323; font-size: 14px; color: var(--text-mid); display: flex; align-items: flex-start; gap: 10px; }
.features li::before { content: '✓'; color: var(--orange); font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.features li:last-child { border-bottom: none; }
.plan-cta { display: block; margin-top: 22px; background: var(--orange); color: #fff; text-align: center; padding: 13px 20px; border-radius: 40px; font-weight: 700; font-size: 15px; text-decoration: none; transition: background 0.2s, transform 0.1s; }
.plan-cta:hover { background: var(--orange-light); transform: translateY(-1px); }
.footer-note { text-align: center; font-size: 13px; color: var(--text-dim); margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; }

/* FAMOUS TABS */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.tab { background: var(--bg-card); border: 1px solid var(--border); color: var(--text-mid); padding: 10px 20px; border-radius: 40px; cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 600; transition: all 0.2s; }
.tab:hover { border-color: var(--orange); color: var(--orange); }
.tab.active { background: var(--orange); border-color: var(--orange); color: #fff; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.venue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.venue-card { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s, border-color 0.2s; }
.venue-card:hover { transform: translateY(-3px); border-color: var(--orange); }
.venue-img { width: 100%; height: 180px; background: linear-gradient(135deg, var(--brown-mid), var(--brown)); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.venue-body { padding: 20px; }
.venue-name { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--text-bright); margin-bottom: 6px; }
.venue-meta { font-size: 12px; color: var(--text-soft); margin-bottom: 10px; display: flex; gap: 10px; }
.venue-meta .rating { color: var(--orange); font-weight: 700; }
.venue-desc { font-size: 13px; color: var(--text-mid); line-height: 1.6; margin-bottom: 14px; }
.venue-cta { display: inline-block; background: var(--orange); color: #fff; padding: 8px 16px; border-radius: 40px; font-size: 13px; font-weight: 700; text-decoration: none; transition: background 0.2s; }
.venue-cta:hover { background: var(--orange-light); }
.venue-sponsored { background: rgba(232,98,42,0.15); color: var(--orange-light); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; display: inline-block; margin-bottom: 8px; }

/* FOOTER */
footer { background: #0a0a0a; color: var(--text-soft); padding: 56px 28px 28px; border-top: 1px solid var(--border-soft); }
.footer-inner { max-width: var(--max-content); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { font-size: 24px; display: inline-block; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 260px; color: var(--text-soft); }
.footer-badge { margin-top: 16px; width: 80px; height: 80px; border-radius: 50%; background: #c0392b; border: 3px solid #fff; display: flex; align-items: center; justify-content: center; text-align: center; }
.footer-badge .fb-inner { line-height: 1.25; }
.footer-badge .fb-l { font-size: 10px; font-weight: 900; color: #fff; letter-spacing: 0.04em; text-transform: uppercase; }
.footer-badge .fb-bar { width: 44px; height: 2px; background: #fff; margin: 3px auto; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mid); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--orange-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 20px; font-size: 13px; color: rgba(255,255,255,0.35); text-align: center; }

/* STICKY MOBILE CTA */
.sticky-mobile-cta { display: none; }

/* RESPONSIVE */
@media (max-width: 1000px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; }
  .venue-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .content-layout { grid-template-columns: 1fr; }
  .content-sidebar { display: none; }
  /* sticky-mobile-cta intentionally hidden — too aggressive on mobile */
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open { display: flex; position: absolute; top: 64px; left: 0; right: 0; background: #0a0a0a; flex-direction: column; gap: 0; padding: 16px 28px; border-bottom: 1px solid var(--border); }
  .nav-links.open li { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--border-soft); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .price-match { flex-direction: column; }
}
@media (max-width: 500px) {
  .cat-grid, .journey-grid, .venue-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-inner { padding: 60px 24px; }
}
