/* ============================================================
   NearStay Global Website — style.css
   Design: Premium hospitality-tech, warm ivory + deep emerald
   ============================================================ */

/* ---- Design Tokens ---- */
:root {
  --color-bg:           #FDFAF5;
  --color-bg-alt:       #F5F0E8;
  --color-bg-card:      #FFFFFF;
  --color-emerald:      #1B5E44;
  --color-emerald-dark: #154D37;
  --color-emerald-pale: #EBF4EF;
  --color-gold:         #C9A96E;
  --color-gold-muted:   rgba(201,169,110,0.15);
  --color-charcoal:     #1C1C1C;
  --color-text:         #2A2A2A;
  --color-muted:        #5A5A5A;
  --color-light:        #8A8A8A;
  --color-border:       #E5DDD0;
  --color-white:        #FFFFFF;

  --font-serif:  'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:   'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-sm:  0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.12);

  --max-w: 1160px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font-sans); background: var(--color-bg); color: var(--color-text); line-height: 1.6; font-size: 16px; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--color-charcoal); line-height: 1.2; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
p  { color: var(--color-muted); line-height: 1.75; }

/* ---- Layout ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 24px;
}

.section--alt { background: var(--color-bg-alt); }

/* ---- Labels & Eyebrows ---- */
.label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 18px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-emerald);
  color: var(--color-white);
  border-color: var(--color-emerald);
}
.btn--primary:hover {
  background: var(--color-emerald-dark);
  border-color: var(--color-emerald-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--color-emerald);
  border-color: var(--color-emerald);
}
.btn--outline:hover {
  background: var(--color-emerald);
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.45);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--color-white);
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(253,250,245,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-charcoal);
  letter-spacing: -0.03em;
  flex-shrink: 0;
  text-decoration: none;
}
.nav__logo-icon-wrap {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1.5px solid var(--color-gold);
  box-shadow: 0 0 0 2px rgba(201,169,110,0.15);
}
.nav__logo-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nav__logo-wordmark {
  display: flex;
  align-items: baseline;
  gap: 0;
}
.nav__logo-tld {
  color: var(--color-gold);
  font-weight: 700;
  font-size: 0.9em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  white-space: nowrap;
}
.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--color-emerald); }

.nav__cta { flex-shrink: 0; }

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-charcoal);
  transition: all 0.25s;
}

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
  gap: 2px;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding: 10px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  transition: color 0.2s;
}
.nav__mobile a:last-of-type { border-bottom: none; }
.nav__mobile a:hover { color: var(--color-emerald); }
.nav__mobile .btn {
  margin-top: 14px;
  width: 100%;
}

/* ================================================================
   HERO — Full-width background with gradient overlay
   ----------------------------------------------------------------
   Background photo: assets/hero/nearstay-luxury-lobby-01.jpg
   (See PLACE-BACKGROUND-IMAGE-HERE.txt in assets/hero/)
   Fallback: ivory–emerald gradient — looks premium without photo.

   Future video swap: add .hero__bg-video (see assets/hero/ note),
   comment out .hero::before, uncomment .hero__bg-video rule below.
   ================================================================ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 80px 24px;
  /* Solid fallback — visible if both photo and gradient fail */
  background-color: #F0EBE0;
  /* Gradient fallback (no photo): warm ivory to soft gold */
  background-image: linear-gradient(135deg, #F5F0E8 0%, #F5EDD8 55%, #C9A96E 100%);
}

/* ── Layer 0: blurred background photo ─────────────────────────
   Separate pseudo-element so only the photo blurs,
   not the hero content or gradient overlay.               */
.hero::before {
  content: '';
  position: absolute;
  inset: -14px;                          /* overshoot to hide blur fringe */
  background-image: url('../hero/nearstay-luxury-lobby-01.jpg');
  background-size: cover;
  background-position: center 30%;
  filter: blur(2.5px);
  z-index: 0;
}

/* ── Layer 1: gradient overlay (sharp, not blurred) ────────────
   Left: near-opaque ivory → keeps text crisp and readable
   Right: soft warm gold → replaces the old green sheen        */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(250,246,238,0.97)  0%,
    rgba(250,246,238,0.93) 30%,
    rgba(250,246,238,0.76) 50%,
    rgba(201,169,110,0.28) 70%,
    rgba(184,148,84,0.48) 100%
  );
  z-index: 1;
}

/* ── Future video hook (comment-in when ready) ─────────────────
.hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
  opacity: 0.55;
}
*/

/* ── Layer 2: hero content (above both bg layers) ─────────────*/
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 44% 1fr;
  gap: 24px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.hero__title {
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 500px;
  line-height: 1.78;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.hero__proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-muted);
}

.hero__proof-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-gold);
  flex-shrink: 0;
}

/* ── Product visual: no card, no white box ─────────────────────
   The wrapper has no background, border, border-radius, or
   box-shadow. The image floats directly over the hero background.
   drop-shadow() follows the PNG alpha channel (unlike box-shadow
   which always shadows the rectangle).                    */
.hero__visual,
.hero-product-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  /* Intentionally no: background / border / border-radius /
     box-shadow / overflow:hidden / padding                */
}

/* ── Slideshow wrapper — owns the overflow bleed ───────────────
   Both images sit inside this div. The wrapper is 104% wide
   so the overflow-bleed lives here, not on the images directly. */
.hero-slideshow {
  position: relative;   /* anchor for the absolute crossfade img */
  width: 104%;
  line-height: 0;       /* prevent phantom gap below inline images */
  z-index: 2;
}

/* Both slide images share these base styles */
.hero-slideshow .hero-slide {
  display: block;
  width: 100%;
  max-width: none;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.50))
          drop-shadow(0 10px 24px rgba(0,0,0,0.25));
}

/* Image 1 stays in normal flow — sets the container height */

/* Image 2 overlays image 1 exactly, fades in and out slowly */
.hero-slideshow .hero-slide--crossfade {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  /* 12 s cycle, 6 s initial pause so image 1 shows first      */
  animation: hero-crossfade 12s ease-in-out 6s infinite;
}

@keyframes hero-crossfade {
  0%        { opacity: 0; }   /* start invisible                  */
  10%, 45%  { opacity: 1; }   /* fade in over 1.2 s, hold 4.2 s  */
  55%, 100% { opacity: 0; }   /* fade out over 1.2 s, hold 5.4 s */
}

/* ================================================================
   WHAT NEARSTAY IS
   ================================================================ */
.what__intro {
  max-width: 680px;
  margin-bottom: 52px;
}

.what__intro h2 { margin-bottom: 16px; }
.what__intro p  { font-size: 1.02rem; }

.what__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-emerald-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 10px;
}

.feature-card__desc {
  font-size: 0.865rem;
  color: var(--color-muted);
  line-height: 1.68;
}

/* ================================================================
   COMPARISON
   ================================================================ */
.comparison__intro {
  max-width: 620px;
  margin-bottom: 8px;
}
.comparison__intro h2 { margin-bottom: 14px; }

.comparison__visual {
  margin-bottom: 8px;
  /* background, border-radius, overflow:hidden and box-shadow removed —
     image is now a transparent PNG and needs no card container */
}
.comparison__visual img {
  width: 100%;
  display: block;
}

.comparison__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.comparison__card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  background: var(--color-bg-card);
}

.comparison__card--premium {
  border-color: var(--color-emerald);
  background: var(--color-emerald-pale);
}

.comparison__badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 5px;
  margin-bottom: 14px;
}

.comparison__badge--basic {
  background: var(--color-bg-alt);
  color: var(--color-light);
}

.comparison__badge--premium {
  background: var(--color-emerald);
  color: var(--color-white);
}

.comparison__card h3 { margin-bottom: 12px; }
.comparison__card p  { font-size: 0.92rem; }

/* ================================================================
   WHITE-LABEL
   ================================================================ */
.whitelabel__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.whitelabel__visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--color-charcoal);
}
.whitelabel__visual img { width: 100%; display: block; }

.whitelabel__content h2 { margin-bottom: 16px; }
.whitelabel__content > p { margin-bottom: 32px; font-size: 1rem; }

.whitelabel__bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.whitelabel__bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--color-text);
  font-weight: 500;
}

.whitelabel__bullets li::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-emerald);
  flex-shrink: 0;
}

/* ================================================================
   HOSPITALITY TYPES
   ================================================================ */
.hospitality__intro {
  max-width: 640px;
  margin-bottom: 52px;
}
.hospitality__intro h2 { margin-bottom: 14px; }

.hospitality__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.hospitality-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.hospitality-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.hospitality-card__img-wrap {
  background: var(--color-emerald-pale);
  padding: 20px 16px;
  height: 200px;        /* fixed — guarantees identical box for all cards */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hospitality-card__img {
  width: 100%;
  height: 100%;         /* fill the fixed-height box */
  max-height: none;
  object-fit: cover;    /* fill box identically for every card regardless of ratio */
}

.hospitality-card__body { padding: 20px 18px 22px; }

.hospitality-card__title {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 8px;
}

.hospitality-card__desc {
  font-size: 0.855rem;
  color: var(--color-muted);
  line-height: 1.65;
}

/* ================================================================
   BANGKOK DEMO
   ================================================================ */
.bkk {
  background: var(--color-emerald);
}

.bkk__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 96px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.bkk__tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: var(--color-gold-muted);
  padding: 5px 12px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.bkk__title {
  color: var(--color-white);
  margin-bottom: 18px;
}

.bkk__desc {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  margin-bottom: 14px;
}

.bkk__note {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.46);
  margin-bottom: 36px;
}

.bkk__visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 56px rgba(0,0,0,0.35);
  background: var(--color-emerald-dark);
}
.bkk__visual img { width: 100%; display: block; }

/* ================================================================
   BANGKOK SHOWCASE (replaces old .bkk green block)
   ================================================================ */
.bangkok-showcase {
  padding: clamp(72px, 8vw, 120px) 24px;
  background: var(--color-bg);
}

.bangkok-showcase__inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  min-height: 460px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 0;
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    rgba(250,246,238,0.99)  0%,
    rgba(250,246,238,0.96) 38%,
    rgba(250,246,238,0.35) 72%,
    rgba(250,246,238,0.05) 100%
  );
  border: 1px solid rgba(196,160,89,0.22);
  box-shadow: 0 28px 80px rgba(25,31,28,0.08);
}

.bangkok-showcase__copy {
  position: relative;
  z-index: 2;
  padding: clamp(36px, 5vw, 72px);
}

.bangkok-showcase__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b88945;
  margin-bottom: 16px;
}

.bangkok-showcase h2 {
  font-family: var(--font-serif);
  color: #173f33;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1.12;
  margin-bottom: 20px;
}

.bangkok-showcase p {
  color: rgba(31,38,35,0.76);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 14px;
}

.bangkok-showcase__secondary {
  font-size: 0.88rem !important;
  color: rgba(31,38,35,0.50) !important;
  margin-bottom: 32px !important;
}

.bangkok-showcase__cta { margin-top: 4px; }

/* ── Visual column ────────────────────────────────────────────── */
.bangkok-showcase__visual {
  position: relative;
  min-height: 460px;
  height: 100%;
}

.bangkok-showcase__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(0.92) contrast(0.96);
}

/* Fade the image into ivory on the left edge */
.bangkok-showcase__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(250,246,238,0.98)  0%,
      rgba(250,246,238,0.62) 32%,
      rgba(250,246,238,0.18) 62%,
      rgba(250,246,238,0.04) 100%),
    linear-gradient(0deg,
      rgba(250,246,238,0.72),
      rgba(250,246,238,0.02) 45%);
}

/* ── Thai Phrase Card ──────────────────────────────────────────── */
.thai-phrase-card {
  position: absolute;
  z-index: 2;
  left: clamp(20px, 6vw, 80px);
  top: 50%;
  transform: translateY(-50%);
  width: min(320px, 82%);
  background: rgba(255,252,246,0.93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(196,160,89,0.28);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(25,31,28,0.16);
  padding: 22px 22px 14px;
}

.thai-phrase-card h3 {
  font-family: var(--font-serif);
  color: #173f33;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.phrase-row {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid rgba(196,160,89,0.18);
}

.phrase-text { display: flex; flex-direction: column; gap: 2px; }

.phrase-thai {
  color: #173f33;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
}

.phrase-meaning {
  color: rgba(31,38,35,0.55);
  font-size: 0.78rem;
}

.phrase-play {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(196,160,89,0.45);
  background: rgba(255,255,255,0.75);
  color: #176148;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
  flex-shrink: 0;
}

.phrase-play:hover {
  transform: scale(1.06);
  background: #fff;
  box-shadow: 0 8px 24px rgba(25,31,28,0.12);
}

.phrase-play.is-playing {
  box-shadow: 0 0 0 8px rgba(196,160,89,0.15);
  background: #fff;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 860px) {
  .bangkok-showcase__inner {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .bangkok-showcase__copy {
    padding: 36px 28px 16px;
  }
  .bangkok-showcase__visual {
    min-height: 420px;
  }
  .thai-phrase-card {
    left: 24px;
    right: 24px;
    width: auto;
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (max-width: 480px) {
  .bangkok-showcase { padding: 48px 16px; }
  .bangkok-showcase__visual { min-height: 360px; }
}

/* ================================================================
   PROCESS
   ================================================================ */
.process__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 64px;
}
.process__header h2 { margin-bottom: 14px; }
.process__header .label { display: block; }

.process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.process__connector {
  position: absolute;
  top: 28px;
  left: calc(16.67% + 28px);
  right: calc(16.67% + 28px);
  height: 1px;
  background: var(--color-border);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-emerald);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 22px;
}

.process-step__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 10px;
}

.process-step__desc {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.68;
  max-width: 260px;
  margin: 0 auto;
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: start;
}

.contact__text h2 { margin-bottom: 16px; }
.contact__text > p  { margin-bottom: 28px; font-size: 1rem; }

.contact__detail {
  font-size: 0.9rem;
  color: var(--color-text);
  font-weight: 500;
}
.contact__detail a {
  color: var(--color-emerald);
  transition: opacity 0.2s;
}
.contact__detail a:hover { opacity: 0.75; }

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--color-charcoal);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea {
  padding: 12px 15px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--color-text);
  background: var(--color-bg-card);
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-light);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-emerald);
  box-shadow: 0 0 0 3px rgba(27,94,68,0.1);
}

.form-group textarea {
  min-height: 116px;
  resize: vertical;
}

.form__submit { align-self: flex-start; }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--color-charcoal);
  padding: 60px 24px 32px;
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: 10px;
}
.footer__brand-wordmark { display: inline-flex; align-items: baseline; }
.footer__brand-tld { color: var(--color-gold); font-size: 0.9em; letter-spacing: 0; }
.footer__logo-icon-wrap {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1.5px solid var(--color-gold);
  box-shadow: 0 0 0 2px rgba(201,169,110,0.12);
}
.footer__logo-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer__tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  max-width: 340px;
}

.footer__nav-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--color-white); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy { font-size: 0.78rem; color: rgba(255,255,255,0.25); }

.footer__email a {
  font-size: 0.84rem;
  color: var(--color-gold);
  transition: opacity 0.2s;
}
.footer__email a:hover { opacity: 0.75; }

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Tablet: 1024px */
@media (max-width: 1024px) {
  .what__grid        { grid-template-columns: repeat(2, 1fr); }
  .hospitality__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet portrait / large mobile: 768px */
@media (max-width: 768px) {
  .section { padding: 64px 20px; }

  /* Nav */
  .nav__links,
  .nav__cta    { display: none; }
  .nav__toggle { display: flex; }

  /* Hero — mobile stack */
  .hero {
    min-height: unset;
    padding: 56px 20px 52px;
  }
  /* Denser overlay on mobile — text stacks on top of image */
  .hero::after {
    background: rgba(250,246,238,0.93);
  }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__visual,
  .hero-product-visual          { order: -1; }
  .hero-slideshow {
    width: 100%;           /* reset overflow bleed on mobile */
    max-width: 252px;
    margin: 0 auto;
  }
  .hero-slideshow .hero-slide {
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.32))
            drop-shadow(0 4px 12px rgba(0,0,0,0.18));
  }
  .hero__subtitle { max-width: 100%; }
  .hero__proof    { gap: 16px; }

  /* Comparison */
  .comparison__grid { grid-template-columns: 1fr; }

  /* White-label */
  .whitelabel__inner   { grid-template-columns: 1fr; gap: 40px; }
  .whitelabel__visual  { order: -1; }

  /* Bangkok */
  .bkk__inner { grid-template-columns: 1fr; gap: 44px; padding: 64px 20px; }
  .bkk__visual { order: -1; }

  /* Process */
  .process__steps     { grid-template-columns: 1fr; gap: 36px; }
  .process__connector { display: none; }
  .process-step__desc { max-width: 100%; }

  /* Contact */
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }

  /* Footer */
  .footer__top    { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* Mobile: 480px */
@media (max-width: 480px) {
  .what__grid        { grid-template-columns: 1fr; }
  .hospitality__grid { grid-template-columns: 1fr; }

  h1 { font-size: 1.95rem; }
  h2 { font-size: 1.55rem; }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero-slideshow { max-width: 210px; }

  .comparison__card { padding: 24px 20px; }
}

/* ================================================================
   LEGAL DRAWER — Privacy Policy & Terms of Use
   ================================================================ */

/* Footer legal links */
.footer-legal-links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.footer-legal-links a {
  font-size: 12px;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color .2s;
  cursor: pointer;
}
.footer-legal-links a:hover { color: #fff; }
.footer-legal-links a[href^="mailto"] { color: var(--color-gold); }
.footer-legal-links a[href^="mailto"]:hover { color: #fff; }
.footer-legal-sep { width: 1px; height: 12px; background: rgba(255,255,255,.15); }

/* Overlay */
.legal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,18,12,.55);
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.legal-overlay.open { opacity: 1; pointer-events: all; }

/* Drawer */
.legal-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(640px, 100vw);
  background: var(--color-bg);
  z-index: 401;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.22,.68,0,1.08);
  box-shadow: -8px 0 48px rgba(10,18,12,.22);
}
.legal-overlay.open .legal-drawer { transform: translateX(0); }

.legal-drawer-header {
  background: #0F1A13;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.legal-drawer-brand { display: flex; flex-direction: column; gap: 2px; }
.legal-drawer-name {
  font-family: var(--font-sans);
  font-size: 16px; font-weight: 700;
  color: #fff; letter-spacing: 0.2px;
}
.legal-drawer-doc {
  font-family: var(--font-sans);
  font-size: 10px; font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--color-gold);
}
.legal-drawer-close {
  background: none; border: none;
  color: rgba(255,255,255,.45);
  font-size: 22px; line-height: 1;
  cursor: pointer; padding: 6px;
  border-radius: 6px;
  transition: color .2s, background .2s;
  font-family: inherit;
}
.legal-drawer-close:hover { color: #fff; background: rgba(255,255,255,.08); }

.legal-drawer-body {
  overflow-y: auto;
  flex: 1;
  padding: 40px 40px 56px;
  -webkit-overflow-scrolling: touch;
}
.legal-drawer-body::-webkit-scrollbar { width: 4px; }
.legal-drawer-body::-webkit-scrollbar-track { background: var(--color-bg-alt); }
.legal-drawer-body::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 4px; }

.legal-meta {
  font-size: 12px;
  color: var(--color-gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}
.legal-section { margin-bottom: 36px; }
.legal-section h3 {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 600;
  color: var(--color-emerald);
  margin-bottom: 12px;
  line-height: 1.3;
}
.legal-section h3 .legal-num {
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--color-gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.legal-section p {
  font-size: 14px; line-height: 1.8;
  color: #3A3A35; margin-bottom: 12px;
}
.legal-section ul {
  margin: 8px 0 12px 0;
  padding-left: 0; list-style: none;
  display: flex; flex-direction: column; gap: 6px;
}
.legal-section ul li {
  font-size: 14px; line-height: 1.7;
  color: #3A3A35; padding-left: 18px;
  position: relative;
}
.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 5px; height: 1px;
  background: var(--color-gold);
}
.legal-divider { height: 1px; background: var(--color-border); margin: 32px 0; }
.legal-contact-block {
  background: #0F1A13;
  border-radius: 8px;
  padding: 20px 24px;
  margin-top: 12px;
}
.legal-contact-block p { color: rgba(255,255,255,.6) !important; margin: 0; }
.legal-contact-block a { color: var(--color-gold); text-decoration: none; }
.legal-contact-block a:hover { color: #fff; }

@media (max-width: 600px) {
  .legal-drawer-body { padding: 28px 24px 48px; }
  .legal-drawer-header { padding: 18px 24px; }
  .footer-legal-links { gap: 14px; }
}
