@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+Thai:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap");

body.rde-landing-page #main {
  max-width: none;
  margin-bottom: 0;
  background: #fffdf8;
  box-shadow: none;
}

.rde-topbar {
  padding: 8px 20px;
  color: #fff;
  background: #17352b;
  font-family: "DM Sans", "Noto Sans Thai", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.rde-topbar span { color: #d8ec9d; }

.rde-site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  width: 100%;
  min-width: 280px;
  border-bottom: 1px solid rgba(23, 53, 43, .1);
  background: rgba(255, 253, 248, .93);
  backdrop-filter: blur(16px);
}

.rde-shell-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.rde-shell-nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 30px;
}

.rde-shell-brand {
  display: flex;
  width: 152px;
  flex: 0 0 152px;
  align-items: center;
}

.rde-shell-brand img {
  display: block;
  width: 100%;
  height: 48px;
  object-fit: contain;
}

.rde-main-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-left: auto;
  font-family: "DM Sans", "Noto Sans Thai", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.rde-main-nav a {
  color: #17352b;
  text-decoration: none;
  transition: color .2s ease;
}

.rde-main-nav a:hover { color: #8bb900; }
.rde-nav-actions { display: flex; align-items: center; gap: 8px; }

.rde-nav-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: #365e4b;
  font-family: Arial, sans-serif;
  font-size: 21px;
  line-height: 1;
  text-decoration: none;
  transition: background .2s ease;
}

.rde-nav-icon:hover { background: rgba(139, 185, 0, .12); }

.rde-lang-switch {
  padding: 7px 10px;
  border: 1px solid rgba(23, 53, 43, .16);
  border-radius: 999px;
  color: #17352b;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.rde-cart-link {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #365e4b;
  font-size: 20px;
  text-decoration: none;
}

.rde-cart-link b {
  position: absolute;
  top: -5px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding-inline: 5px;
  border: 2px solid #fffdf8;
  border-radius: 999px;
  color: #fff;
  background: #ef9c35;
  font-family: "DM Sans", sans-serif;
  font-size: 9px;
  line-height: 16px;
  text-align: center;
}

.rde-menu-toggle {
  display: none;
  padding: 6px;
  border: 0;
  color: #17352b;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.rde-home {
  --rde-ink: #17352b;
  --rde-muted: #65766f;
  --rde-leaf: #365e4b;
  --rde-lime: #8bb900;
  --rde-cream: #f5f0e5;
  --rde-paper: #fffdf8;
  --rde-saffron: #ef9c35;
  --rde-rose: #b95d47;
  --rde-line: rgba(23, 53, 43, .14);
  --rde-shadow: 0 22px 60px rgba(27, 58, 47, .12);
  overflow: hidden;
  color: var(--rde-ink);
  background: var(--rde-paper);
  font-family: "DM Sans", "Noto Sans Thai", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.rde-home[lang="th"] { font-family: "Noto Sans Thai", "DM Sans", sans-serif; }
.rde-home *, .rde-home *::before, .rde-home *::after { box-sizing: border-box; }
.rde-home a { color: inherit; text-decoration: none; }
.rde-home img { display: block; width: 100%; max-width: 100%; }
.rde-home h1, .rde-home h2, .rde-home h3, .rde-home p { margin-top: 0; }
.rde-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.rde-language {
  position: absolute;
  z-index: 5;
  top: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid rgba(23, 53, 43, .22);
  border-radius: 999px;
  background: rgba(255, 253, 248, .84);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.rde-hero {
  position: relative;
  padding: 78px 0 70px;
  background:
    radial-gradient(circle at 18% 16%, rgba(139, 185, 0, .2), transparent 31%),
    linear-gradient(135deg, #f7f1e3, #f0e5cf);
}

.rde-hero::after {
  position: absolute;
  right: -100px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(54, 94, 75, .14);
  border-radius: 50%;
  content: "";
}

.rde-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: 66px;
}

.rde-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--rde-leaf);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.rde-eyebrow::before {
  width: 25px;
  height: 2px;
  background: var(--rde-lime);
  content: "";
}

.rde-home h1 {
  max-width: 690px;
  margin-bottom: 22px;
  font-family: "Playfair Display", "Noto Sans Thai", serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -.045em;
}

.rde-home[lang="th"] h1, .rde-home[lang="th"] h2 { letter-spacing: -.025em; }
.rde-home h1 em { color: var(--rde-lime); font-style: normal; }
.rde-hero-copy > p { max-width: 570px; margin-bottom: 30px; color: var(--rde-muted); font-size: 18px; }

.rde-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rde-btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid var(--rde-ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}

.rde-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(23, 53, 43, .13); }
.rde-btn-primary { color: #fff !important; background: var(--rde-ink); }
.rde-btn-light { border-color: rgba(255, 255, 255, .7); color: var(--rde-ink) !important; background: #fff; }
.rde-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; color: var(--rde-leaf); font-size: 13px; font-weight: 600; }
.rde-trust span::before { margin-right: 7px; color: var(--rde-lime); content: "●"; }

.rde-hero-visual { position: relative; min-height: 550px; }
.rde-hero-image {
  position: absolute;
  inset: 0 0 18px 38px;
  overflow: hidden;
  border-radius: 220px 220px 28px 28px;
  box-shadow: var(--rde-shadow);
}

.rde-hero-image img { height: 100%; object-fit: cover; }
.rde-hero-image::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 47%, rgba(17, 48, 37, .5)); content: ""; }
.rde-stamp {
  position: absolute;
  z-index: 3;
  top: 42px;
  left: -16px;
  display: grid;
  width: 108px;
  height: 108px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--rde-saffron);
  box-shadow: 0 12px 30px rgba(239, 156, 53, .3);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  transform: rotate(-8deg);
}

.rde-origin {
  position: absolute;
  z-index: 3;
  right: -18px;
  bottom: 0;
  width: 215px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 22px;
  background: rgba(255, 253, 248, .93);
  box-shadow: 0 18px 45px rgba(23, 53, 43, .18);
  backdrop-filter: blur(12px);
}

.rde-origin b { display: block; margin-bottom: 4px; font-size: 16px; }
.rde-origin span { color: var(--rde-muted); font-size: 12px; }
.rde-section { padding: 100px 0; }
.rde-section-soft { background: #f0eadc; }
.rde-kicker { margin-bottom: 8px; color: var(--rde-lime); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.rde-section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.rde-home h2 {
  max-width: 680px;
  margin-bottom: 0;
  font-family: "Playfair Display", "Noto Sans Thai", serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.13;
}

.rde-text-link { padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 700; white-space: nowrap; }
.rde-category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rde-category {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 22px;
  color: #fff !important;
  background: var(--rde-ink);
}

.rde-category img { height: 100%; object-fit: cover; transition: transform .45s ease; }
.rde-category:hover img { transform: scale(1.04); }
.rde-category::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 41, 33, .05) 35%, rgba(18, 41, 33, .88)); content: ""; }
.rde-category-copy { position: absolute; z-index: 2; right: 24px; bottom: 22px; left: 24px; }
.rde-category h3 { margin-bottom: 3px; color: #fff; font-size: 21px; }
.rde-category p { margin: 0; color: rgba(255, 255, 255, .78); font-size: 13px; }

.rde-picks { display: grid; grid-template-columns: 1.12fr .88fr; gap: 20px; }
.rde-pick-stack { display: grid; gap: 20px; }
.rde-pick {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: 24px;
  background: #dce4d5;
}

.rde-pick-large { min-height: 580px; }
.rde-pick img { height: 100%; object-fit: cover; transition: transform .45s ease; }
.rde-pick:hover img { transform: scale(1.025); }
.rde-pick-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(16, 43, 34, .78)); }
.rde-pick-copy { position: absolute; right: 28px; bottom: 26px; left: 28px; color: #fff; }
.rde-pick-copy span { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.rde-pick-copy h3 { margin: 7px 0 0; color: #fff; font-size: 25px; }

.rde-services { display: grid; grid-template-columns: .84fr 1.16fr; gap: 28px; }
.rde-service-intro { padding: 44px; border-radius: 28px; color: #fff; background: var(--rde-ink); }
.rde-service-intro h2 { margin-bottom: 18px; color: #fff; font-size: 44px; }
.rde-service-intro p { margin-bottom: 28px; color: rgba(255, 255, 255, .7); }
.rde-service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rde-service {
  display: block;
  padding: 29px;
  border: 1px solid var(--rde-line);
  border-radius: 22px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.rde-service:hover { transform: translateY(-3px); box-shadow: var(--rde-shadow); }
.rde-service-no { display: block; margin-bottom: 26px; color: var(--rde-saffron); font-size: 13px; font-weight: 700; }
.rde-service h3 { margin-bottom: 8px; color: var(--rde-ink); font-size: 18px; }
.rde-service p { margin: 0; color: var(--rde-muted); font-size: 14px; }

.rde-story {
  padding: 100px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(19, 51, 40, .94), rgba(19, 51, 40, .48)),
    url("/images/landing/thai-highlands.jpg") center/cover;
}

.rde-story-copy { max-width: 640px; }
.rde-story h2 { margin-bottom: 22px; color: #fff; font-size: clamp(42px, 5vw, 66px); }
.rde-story p { color: rgba(255, 255, 255, .8); font-size: 17px; }
.rde-stats { display: flex; gap: 44px; margin: 34px 0; }
.rde-stat b { display: block; color: #d8ec9d; font-family: "Playfair Display", serif; font-size: 36px; line-height: 1; }
.rde-stat span { color: rgba(255, 255, 255, .7); font-size: 12px; }

.rde-editorial { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.rde-article {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  border-radius: 24px;
  background: #f0d7ae;
}

.rde-article img { height: 100%; object-fit: cover; }
.rde-article::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(16, 43, 34, .84)); content: ""; }
.rde-article-copy { position: absolute; z-index: 2; right: 30px; bottom: 28px; left: 30px; color: #fff; }
.rde-article-copy span { font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.rde-article-copy h3 { max-width: 540px; margin: 7px 0 0; color: #fff; font-family: "Playfair Display", "Noto Sans Thai", serif; font-size: 29px; line-height: 1.25; }

.rde-cta { padding: 68px 0; color: #fff; background: var(--rde-saffron); }
.rde-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.rde-cta h2 { max-width: 760px; color: #fff; font-size: clamp(36px, 4vw, 52px); }
.rde-legacy-admin { padding: 20px; border: 3px dashed #c00; opacity: .45; }

.rde-site-footer {
  width: 100%;
  padding: 72px 0 30px;
  color: #fff;
  background: #102b22;
  font-family: "DM Sans", "Noto Sans Thai", sans-serif;
  font-size: 14px;
  line-height: 1.65;
}

.rde-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 48px;
}

.rde-footer-brand img {
  display: block;
  width: 150px;
  height: 50px;
  margin-bottom: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.rde-footer-brand p {
  max-width: 330px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .6);
  font-size: 13px;
}

.rde-footer-contact {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(216, 236, 157, .65);
  color: #d8ec9d;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.rde-site-footer h4 {
  margin: 0 0 16px;
  color: #d8ec9d;
  font-size: 13px;
  font-weight: 700;
}

.rde-footer-links { display: grid; gap: 10px; }
.rde-footer-links a {
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  text-decoration: none;
  transition: color .2s ease;
}

.rde-footer-links a:hover { color: #fff; }
.rde-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .45);
  font-size: 11px;
}

.rde-footer-bottom a { color: inherit; text-decoration: none; }
.rde-footer-admin { margin: 30px auto 0; padding: 15px; border: 3px dashed #c00; opacity: .45; }

@media (max-width: 980px) {
  .rde-main-nav {
    position: absolute;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 22px;
    border: 1px solid rgba(23, 53, 43, .14);
    border-radius: 18px;
    background: #fffdf8;
    box-shadow: 0 22px 60px rgba(27, 58, 47, .12);
  }

  .rde-main-nav.is-open { display: grid; }
  .rde-menu-toggle { display: block; }
  .rde-hero-grid { grid-template-columns: 1fr; }
  .rde-hero-copy { text-align: center; }
  .rde-hero-copy > p { margin-inline: auto; }
  .rde-actions, .rde-trust { justify-content: center; }
  .rde-hero-visual { width: min(620px, 100%); margin-inline: auto; }
  .rde-category-grid { grid-template-columns: repeat(2, 1fr); }
  .rde-services { grid-template-columns: 1fr; }
  .rde-footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .rde-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .rde-topbar { font-size: 11px; }
  .rde-shell-container { width: min(100% - 28px, 1180px); }
  .rde-shell-nav { min-height: 66px; gap: 8px; }
  .rde-shell-brand { width: 120px; flex-basis: 120px; }
  .rde-main-nav { top: 66px; right: 14px; left: 14px; }
  .rde-nav-icon { display: none; }
  .rde-cart-link { width: 38px; height: 38px; }
  .rde-container { width: min(100% - 28px, 1180px); }
  .rde-language { top: 14px; right: 14px; }
  .rde-hero { padding-top: 72px; }
  .rde-home h1 { font-size: 46px; }
  .rde-hero-visual { min-height: 430px; }
  .rde-hero-image { left: 0; }
  .rde-stamp { left: 0; width: 92px; height: 92px; }
  .rde-origin { right: 4px; }
  .rde-section { padding: 72px 0; }
  .rde-section-head { display: block; }
  .rde-section-head .rde-text-link { display: inline-block; margin-top: 18px; }
  .rde-category-grid, .rde-picks, .rde-service-grid, .rde-editorial { grid-template-columns: 1fr; }
  .rde-category { min-height: 280px; }
  .rde-pick-large, .rde-pick { min-height: 330px; }
  .rde-service-intro { padding: 32px; }
  .rde-service-intro h2 { font-size: 36px; }
  .rde-stats { gap: 22px; }
  .rde-cta-inner { display: block; }
  .rde-cta .rde-btn { margin-top: 25px; }
  .rde-footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .rde-footer-brand { grid-column: 1 / -1; }
  .rde-footer-bottom { display: block; }
  .rde-footer-bottom span { display: block; margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .rde-home *, .rde-home *::before, .rde-home *::after { scroll-behavior: auto !important; transition: none !important; }
}
