:root {
  --bg: #f5efe3;
  --bg-soft: #fbf7ef;
  --surface: rgba(255, 251, 245, 0.88);
  --surface-strong: #fffdf9;
  --surface-dark: #14362c;
  --surface-dark-2: #0d261f;
  --primary: #1f4c3d;
  --primary-2: #2f6b57;
  --primary-soft: rgba(31, 76, 61, 0.1);
  --accent: #d5a84f;
  --accent-2: #efcb82;
  --text: #1a2420;
  --text-soft: #57655f;
  --line: rgba(31, 76, 61, 0.12);
  --line-strong: rgba(31, 76, 61, 0.2);
  --success: #0f8f67;
  --danger: #b64c4c;
  --shadow: 0 20px 60px rgba(18, 46, 38, 0.14);
  --shadow-soft: 0 12px 36px rgba(18, 46, 38, 0.09);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans Thai", "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(213, 168, 79, 0.18), transparent 26%),
    radial-gradient(circle at 90% 12%, rgba(47, 107, 87, 0.14), transparent 22%),
    linear-gradient(180deg, #f7f0e4 0%, #f4efe8 38%, #f1f5ec 100%);
  color: var(--text);
  line-height: 1.6;
}

body.admin-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.noscript-banner {
  padding: 14px 20px;
  background: #fff1d8;
  color: #4c3210;
  text-align: center;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(250, 245, 236, 0.82);
  border-bottom: 1px solid rgba(31, 76, 61, 0.08);
}

.header-inner {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(31, 76, 61, 0.14), rgba(213, 168, 79, 0.18));
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-mark img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand-copy {
  min-width: 0;
}

.brand-name {
  font-family: "Noto Serif Thai", serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-tagline {
  font-size: 0.9rem;
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-cluster {
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--primary-2));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.24s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--primary);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(31, 76, 61, 0.08);
}

.language-switch button {
  border: 0;
  background: transparent;
  color: var(--text-soft);
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  min-width: 56px;
}

.language-switch button.is-active {
  background: var(--primary);
  color: #fff;
}

.primary-link,
.ghost-link,
.pill-button,
.primary-btn,
.ghost-btn,
.mini-btn,
.inline-btn {
  border-radius: 999px;
  border: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.primary-link,
.pill-button,
.primary-btn,
.inline-btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 16px 30px rgba(31, 76, 61, 0.18);
}

.ghost-link,
.ghost-btn,
.inline-btn.ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--primary);
  border: 1px solid rgba(31, 76, 61, 0.12);
}

.primary-link,
.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  font-weight: 700;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  font-size: 0.92rem;
  font-weight: 800;
}

.ghost-link:hover,
.primary-link:hover,
.pill-button:hover,
.primary-btn:hover,
.ghost-btn:hover,
.mini-btn:hover,
.inline-btn:hover {
  transform: translateY(-1px);
}

.ghost-btn,
.primary-btn {
  padding: 11px 16px;
  font-weight: 700;
}

.mini-btn {
  padding: 9px 14px;
  background: rgba(31, 76, 61, 0.08);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.inline-btn {
  padding: 12px 18px;
  font-weight: 700;
}

.danger-btn {
  color: var(--danger);
  border-color: rgba(182, 76, 76, 0.2);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(31, 76, 61, 0.12);
  background: rgba(255, 255, 255, 0.84);
  position: relative;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.menu-toggle span {
  top: 22px;
}

.menu-toggle::before {
  top: 16px;
}

.menu-toggle::after {
  top: 28px;
}

.menu-toggle.is-open span {
  opacity: 0;
}

.menu-toggle.is-open::before {
  top: 22px;
  transform: rotate(45deg);
}

.menu-toggle.is-open::after {
  top: 22px;
  transform: rotate(-45deg);
}

.hero-section {
  width: min(calc(100% - 32px), var(--container));
  margin: 28px auto 0;
  padding: 34px;
  border-radius: 42px;
  background:
    linear-gradient(120deg, rgba(11, 36, 29, 0.92) 0%, rgba(21, 61, 49, 0.86) 52%, rgba(213, 168, 79, 0.18) 100%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  color: #fff7ee;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-section::before {
  width: 320px;
  height: 320px;
  top: -100px;
  right: -70px;
  background: radial-gradient(circle, rgba(239, 203, 130, 0.34), transparent 68%);
}

.hero-section::after {
  width: 240px;
  height: 240px;
  left: -80px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(94, 174, 135, 0.2), transparent 66%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: center;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  font-weight: 700;
  color: #f3ddad;
  backdrop-filter: blur(8px);
}

.hero-copy h1,
.section-heading h2,
.split-copy h2,
.cta-card h3,
.b2b-card h3,
.footer-cta h3 {
  font-family: "Noto Serif Thai", serif;
  line-height: 1.08;
}

.hero-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.35rem, 5vw, 4.75rem);
  color: #fffdf9;
}

.hero-copy .hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 247, 238, 0.82);
  margin-bottom: 16px;
}

.hero-copy .hero-description {
  max-width: 620px;
  font-size: 1rem;
  color: rgba(255, 247, 238, 0.76);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-badge {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 247, 238, 0.88);
  font-size: 0.9rem;
}

.hero-note {
  margin-top: 18px;
  color: rgba(255, 247, 238, 0.72);
  font-size: 0.96rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-visual-card {
  position: absolute;
  inset: 24px 24px 60px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
}

.hero-visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 24, 19, 0.12), rgba(8, 24, 19, 0.42));
}

.hero-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-card {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 251, 245, 0.95);
  color: var(--text);
  box-shadow: var(--shadow);
}

.spotlight-image {
  margin: 0 auto 18px;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(213, 168, 79, 0.26), transparent 38%),
    linear-gradient(180deg, #fff5de 0%, #f4ecdd 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.spotlight-image img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(16, 37, 30, 0.18));
}

.spotlight-card .mini-kicker {
  color: var(--primary-2);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.spotlight-card h3 {
  margin: 8px 0 10px;
  font-size: 1.35rem;
}

.spotlight-card p {
  margin: 0;
  color: var(--text-soft);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 16px;
}

.price-row strong {
  font-size: 1.6rem;
  color: var(--primary);
}

.price-row span {
  color: var(--text-soft);
}

.metrics-grid,
.benefit-grid,
.product-grid,
.testimonial-grid,
.experience-grid,
.channel-grid,
.faq-grid {
  width: min(calc(100% - 32px), var(--container));
  margin: 26px auto 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.metric-card {
  background: rgba(255, 252, 246, 0.72);
  border: 1px solid rgba(31, 76, 61, 0.08);
  border-radius: 26px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.metric-card strong {
  display: block;
  font-family: "Noto Serif Thai", serif;
  font-size: 2rem;
  color: var(--primary);
}

.metric-card span {
  color: var(--text-soft);
}

.section-shell {
  width: min(calc(100% - 32px), var(--container));
  margin: 96px auto 0;
}

.section-heading {
  max-width: 720px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(31, 76, 61, 0.08);
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 16px 0 12px;
  font-size: clamp(2rem, 4.1vw, 3.1rem);
  color: var(--primary);
}

.section-heading p {
  color: var(--text-soft);
  font-size: 1rem;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.benefit-card {
  padding: 26px 22px;
  border-radius: 26px;
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid rgba(31, 76, 61, 0.08);
  box-shadow: var(--shadow-soft);
}

.benefit-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(213, 168, 79, 0.22), rgba(31, 76, 61, 0.12));
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.benefit-card h3,
.product-card h3,
.testimonial-card h3,
.faq-item summary {
  margin: 16px 0 10px;
  font-size: 1.08rem;
}

.benefit-card p,
.product-card p,
.testimonial-card p,
.faq-item p,
.split-copy p,
.cta-card p,
.b2b-card p,
.footer-column p,
.footer-column li {
  color: var(--text-soft);
}

.story-card {
  width: min(calc(100% - 32px), var(--container));
  margin: 28px auto 0;
  padding: 28px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(251, 246, 237, 0.84));
  border: 1px solid rgba(31, 76, 61, 0.08);
  box-shadow: var(--shadow-soft);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 28px;
  align-items: center;
}

.story-visual {
  position: relative;
  min-height: 460px;
}

.story-visual .main-photo {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.story-visual .inset-photo {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(44%, 240px);
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  border: 8px solid rgba(255, 252, 246, 0.96);
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.split-copy {
  padding: 8px 0;
}

.split-copy h2 {
  margin: 14px 0 16px;
  font-size: clamp(2rem, 3.8vw, 3rem);
  color: var(--primary);
}

.split-copy p + p {
  margin-top: 12px;
}

.highlight-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(31, 76, 61, 0.06);
}

.highlight-dot {
  width: 12px;
  height: 12px;
  margin-top: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary-2));
  flex-shrink: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 252, 247, 0.92);
  border: 1px solid rgba(31, 76, 61, 0.08);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(213, 168, 79, 0.26), transparent 30%),
    linear-gradient(180deg, #fff4dd 0%, #f0e6d7 100%);
  display: grid;
  place-items: center;
}

.product-media img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(16, 37, 30, 0.12));
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(20, 54, 44, 0.84);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.product-topline {
  color: var(--primary-2);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-card h3 {
  margin: 2px 0 4px;
  color: var(--primary);
}

.product-size {
  font-size: 0.95rem;
  color: var(--text-soft);
}

.product-pricing {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.product-pricing strong {
  font-size: 1.45rem;
  color: var(--primary);
}

.product-pricing del {
  color: rgba(87, 101, 95, 0.7);
}

.feature-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 10px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.feature-list li::before {
  content: "•";
  color: var(--accent);
  font-weight: 900;
}

.cta-strip {
  width: min(calc(100% - 32px), var(--container));
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
}

.cta-card,
.contact-qr-card {
  border-radius: 28px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.92), rgba(247, 241, 231, 0.88));
  border: 1px solid rgba(31, 76, 61, 0.08);
  box-shadow: var(--shadow-soft);
}

.cta-card h3,
.contact-qr-card h3,
.b2b-card h3,
.footer-cta h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  color: var(--primary);
}

.contact-qr-card img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin: 14px auto 0;
  border-radius: 18px;
  background: #fff;
  padding: 10px;
}

.contact-qr-card .line-id {
  margin-top: 16px;
  font-weight: 800;
  color: var(--primary);
  text-align: center;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.experience-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(31, 76, 61, 0.08);
  box-shadow: var(--shadow-soft);
}

.experience-card .icon {
  font-size: 1.8rem;
}

.experience-card h3 {
  margin: 14px 0 10px;
  color: var(--primary);
}

.b2b-panel {
  width: min(calc(100% - 32px), var(--container));
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 18px;
}

.b2b-card {
  border-radius: 30px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(20, 54, 44, 0.96), rgba(47, 107, 87, 0.92));
  color: #fff7ef;
  box-shadow: var(--shadow);
}

.b2b-card h3,
.b2b-card p,
.b2b-card li,
.b2b-card label {
  color: inherit;
}

.b2b-card p {
  color: rgba(255, 247, 239, 0.75);
}

.b2b-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.b2b-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.b2b-item .icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  font-size: 1.25rem;
}

.b2b-item strong {
  display: block;
  margin-bottom: 4px;
}

.quote-form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.quote-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quote-form label {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
}

.quote-form input,
.quote-form textarea,
.quote-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: rgba(255, 247, 239, 0.48);
}

.quote-form textarea {
  min-height: 120px;
  resize: vertical;
}

.quote-help {
  font-size: 0.9rem;
  color: rgba(255, 247, 239, 0.68);
}

.quote-card {
  border-radius: 30px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(247, 241, 231, 0.88));
  border: 1px solid rgba(31, 76, 61, 0.08);
  box-shadow: var(--shadow-soft);
}

.quote-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--text-soft);
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.channel-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(31, 76, 61, 0.08);
  box-shadow: var(--shadow-soft);
}

.channel-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(31, 76, 61, 0.08);
  color: var(--primary);
  font-size: 1.4rem;
}

.channel-card h3 {
  margin: 16px 0 8px;
  color: var(--primary);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card {
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(20, 54, 44, 0.96), rgba(31, 76, 61, 0.92));
  color: #fff7ef;
  box-shadow: var(--shadow);
}

.testimonial-card .stars {
  letter-spacing: 0.14em;
  color: var(--accent-2);
}

.testimonial-card p {
  color: rgba(255, 247, 239, 0.74);
}

.testimonial-card .who {
  margin-top: 18px;
}

.testimonial-card .who strong {
  display: block;
  color: #fff;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq-item {
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(31, 76, 61, 0.08);
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 12px 0 0;
}

.footer-wrap {
  width: min(calc(100% - 32px), var(--container));
  margin: 96px auto 34px;
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(20, 54, 44, 0.98), rgba(12, 29, 24, 0.96));
  color: #fff7ef;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 0.62fr));
  gap: 24px;
  padding: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px;
}

.footer-brand strong {
  font-family: "Noto Serif Thai", serif;
  font-size: 1.2rem;
}

.footer-column h4 {
  margin: 0 0 14px;
  color: #fff;
}

.footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-column li,
.footer-column a,
.footer-cta p {
  color: rgba(255, 247, 239, 0.72);
}

.footer-cta {
  margin-top: 20px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  padding: 18px 32px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 247, 239, 0.62);
  font-size: 0.9rem;
}

.admin-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 247, 239, 0.72);
  font-weight: 700;
}

.admin-panel {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  padding-left: min(20vw, 220px);
  background: rgba(8, 15, 12, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 120;
}

.admin-panel.is-open {
  opacity: 1;
  pointer-events: auto;
}

.admin-shell {
  width: min(980px, 100%);
  height: 100%;
  background: #f6f0e4;
  display: flex;
  flex-direction: column;
  box-shadow: -24px 0 70px rgba(8, 15, 12, 0.2);
}

.admin-topbar,
.admin-toolbar {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 252, 246, 0.9);
}

.admin-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.admin-kicker {
  margin: 0 0 4px;
  color: var(--primary-2);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-topbar h2 {
  margin: 0 0 6px;
  font-family: "Noto Serif Thai", serif;
  color: var(--primary);
}

.admin-subtitle,
.admin-toolbar-copy,
.admin-status {
  color: var(--text-soft);
}

.admin-actions,
.admin-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-status {
  min-height: 24px;
  padding: 12px 24px 0;
  font-weight: 600;
}

.admin-status.is-success {
  color: var(--success);
}

.admin-status.is-error {
  color: var(--danger);
}

.admin-body {
  flex: 1;
  overflow: auto;
  padding: 0 24px 40px;
}

#adminForm {
  display: grid;
  gap: 18px;
  padding-top: 18px;
}

.admin-section {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 252, 246, 0.88);
  box-shadow: var(--shadow-soft);
}

.admin-section summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 800;
  color: var(--primary);
}

.admin-section summary::-webkit-details-marker {
  display: none;
}

.admin-section summary::after {
  content: "เปิด";
  font-size: 0.85rem;
  color: var(--text-soft);
}

.admin-section[open] summary::after {
  content: "ปิด";
}

.admin-section-body {
  padding: 0 20px 20px;
  display: grid;
  gap: 20px;
}

.section-block {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(31, 76, 61, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.section-block h3,
.section-block h4 {
  margin: 0 0 12px;
  color: var(--primary);
}

.section-note {
  margin: -6px 0 14px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label,
.field-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.form-field input,
.form-field textarea,
.form-field select,
.json-editor {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(31, 76, 61, 0.12);
  background: #fffefb;
  padding: 12px 14px;
  color: var(--text);
}

.form-field textarea,
.json-editor {
  min-height: 110px;
  resize: vertical;
}

.translated-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.translated-grid > div,
.image-control {
  display: grid;
  gap: 6px;
}

.translated-grid .lang-badge {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.repeat-list {
  display: grid;
  gap: 14px;
}

.repeat-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(31, 76, 61, 0.08);
  background: rgba(248, 245, 238, 0.9);
}

.repeat-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.repeat-topbar strong {
  color: var(--primary);
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.image-control input[type="file"] {
  padding: 10px 0 0;
  border: 0;
  background: transparent;
}

.upload-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.json-editor {
  min-height: 420px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
  line-height: 1.5;
}

.helper-text {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(12px);
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(20, 54, 44, 0.94);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 160;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-layout,
  .cta-strip,
  .b2b-panel,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-grid,
  .experience-grid,
  .channel-grid,
  .testimonial-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    min-height: 460px;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-cluster {
    gap: 12px;
  }

  .main-nav {
    position: fixed;
    top: 82px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 252, 246, 0.98);
    box-shadow: var(--shadow);
    border: 1px solid rgba(31, 76, 61, 0.08);
  }

  body.menu-open .main-nav {
    display: flex;
  }

  .main-nav a {
    width: 100%;
  }

  .header-actions .pill-button {
    display: none;
  }

  .metrics-grid,
  .benefit-grid,
  .experience-grid,
  .channel-grid,
  .testimonial-grid,
  .faq-grid,
  .product-grid,
  .form-grid,
  .translated-grid,
  .quote-form .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-section,
  .story-card,
  .footer-wrap {
    border-radius: 28px;
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero-section {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-visual-card {
    inset: 18px 18px 54px;
  }

  .footer-bottom,
  .admin-topbar,
  .admin-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-panel {
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  .header-inner {
    width: calc(100% - 24px);
    min-height: 76px;
  }

  .brand-mark {
    width: 58px;
    height: 58px;
  }

  .brand-mark img {
    width: 50px;
    height: 50px;
  }

  .brand-tagline {
    white-space: normal;
  }

  .hero-section,
  .story-card,
  .footer-wrap {
    width: calc(100% - 24px);
  }

  .section-shell,
  .metrics-grid,
  .benefit-grid,
  .product-grid,
  .experience-grid,
  .testimonial-grid,
  .channel-grid,
  .faq-grid,
  .cta-strip,
  .b2b-panel {
    width: calc(100% - 24px);
  }

  .hero-actions,
  .cta-row,
  .admin-actions,
  .admin-toolbar-actions,
  .inline-actions {
    width: 100%;
  }

  .primary-link,
  .ghost-link,
  .pill-button,
  .primary-btn,
  .ghost-btn,
  .inline-btn,
  .mini-btn {
    width: 100%;
    justify-content: center;
  }

  .spotlight-card {
    width: 100%;
  }

  .footer-main,
  .footer-bottom,
  .hero-section,
  .story-card,
  .cta-card,
  .contact-qr-card,
  .b2b-card,
  .quote-card {
    padding: 20px;
  }

  .admin-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .admin-topbar,
  .admin-toolbar {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Premium rice storefront refresh */
:root {
  --bg: #f7f9f4;
  --bg-soft: #ffffff;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-dark: #063d25;
  --surface-dark-2: #032417;
  --primary: #073f27;
  --primary-2: #155c3d;
  --primary-soft: rgba(7, 63, 39, 0.08);
  --accent: #c7982d;
  --accent-2: #e7c574;
  --text: #14241c;
  --text-soft: #5c6860;
  --line: rgba(7, 63, 39, 0.12);
  --line-strong: rgba(7, 63, 39, 0.24);
  --shadow: 0 18px 42px rgba(7, 63, 39, 0.12);
  --shadow-soft: 0 10px 24px rgba(7, 63, 39, 0.08);
  --radius-xl: 10px;
  --radius-lg: 8px;
  --radius-md: 8px;
  --radius-sm: 6px;
  --container: 1240px;
}

body {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbf6 42%, #edf4eb 100%);
  color: var(--text);
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(7, 63, 39, 0.12);
}

.header-inner {
  min-height: 76px;
}

.brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: #f7f8f1;
  border: 1px solid rgba(199, 152, 45, 0.25);
}

.brand-mark img {
  width: 52px;
  height: 52px;
}

.brand-name {
  color: var(--primary);
  font-size: 1.18rem;
}

.brand-tagline {
  font-size: 0.86rem;
}

.main-nav {
  gap: 20px;
}

.main-nav a {
  color: #4f5d54;
  font-size: 0.92rem;
}

.language-switch {
  border-radius: 8px;
  background: #f5f8f3;
}

.language-switch button,
.primary-link,
.ghost-link,
.pill-button,
.primary-btn,
.ghost-btn,
.mini-btn,
.inline-btn {
  border-radius: 8px;
}

.primary-link,
.pill-button,
.primary-btn,
.inline-btn.primary {
  background: var(--primary);
  box-shadow: 0 12px 24px rgba(7, 63, 39, 0.18);
}

.primary-link:hover,
.pill-button:hover,
.primary-btn:hover {
  background: var(--primary-2);
}

.ghost-link,
.ghost-btn,
.inline-btn.ghost {
  background: #ffffff;
  border-color: rgba(7, 63, 39, 0.18);
}

.hero-section.hero-premium {
  width: 100%;
  min-height: min(760px, calc(100vh - 76px));
  margin: 0;
  padding: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  color: #ffffff;
  box-shadow: none;
}

.hero-section.hero-premium::before,
.hero-section.hero-premium::after {
  display: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 36, 23, 0.92) 0%, rgba(3, 36, 23, 0.72) 38%, rgba(3, 36, 23, 0.2) 74%, rgba(3, 36, 23, 0.06) 100%),
    linear-gradient(180deg, rgba(3, 36, 23, 0.18), rgba(3, 36, 23, 0.5));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 72px 0;
}

.hero-copy {
  max-width: none;
}

.hero-content .eyebrow,
.hero-copy .eyebrow {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(231, 197, 116, 0.34);
  color: #f5d88a;
}

.hero-content h1 {
  max-width: 620px;
  margin: 18px 0 12px;
  font-family: "Noto Serif Thai", serif;
  font-size: clamp(3.8rem, 8vw, 7.2rem);
  line-height: 0.98;
  letter-spacing: 0;
  color: #ffffff;
}

.hero-content .hero-subtitle {
  max-width: 720px;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.35rem;
  font-weight: 700;
}

.hero-content .hero-description {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
}

.hero-content .hero-badge {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.hero-content .hero-note {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.76);
}

.premium-metrics {
  margin-top: 0;
  transform: translateY(-34px);
}

.metric-card,
.benefit-card,
.experience-card,
.channel-card,
.testimonial-card,
.faq-item,
.cta-card,
.contact-qr-card,
.quote-card,
.admin-section,
.section-block,
.repeat-card {
  border-radius: 8px;
}

.metric-card {
  background: #ffffff;
  border: 1px solid rgba(7, 63, 39, 0.1);
}

.section-shell {
  margin-top: 72px;
}

.section-kicker {
  border-radius: 6px;
  background: rgba(199, 152, 45, 0.12);
  color: var(--primary);
}

.section-heading h2 {
  max-width: 880px;
}

.campaign-strip {
  width: min(calc(100% - 32px), var(--container));
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.2fr;
  gap: 14px;
  align-items: stretch;
}

.campaign-strip img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(7, 63, 39, 0.12);
  box-shadow: var(--shadow-soft);
  background: #ffffff;
}

.product-band {
  width: min(calc(100% - 32px), var(--container));
  margin: 24px auto 0;
}

.product-band-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(7, 63, 39, 0.16);
}

.product-band-heading span {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.product-band-heading h3 {
  margin: 0;
  color: var(--primary);
  font-family: "Noto Serif Thai", serif;
  font-size: 1.7rem;
}

.signature-products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.selected-products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(7, 63, 39, 0.11);
  box-shadow: var(--shadow-soft);
}

.product-card.is-signature {
  border-top: 4px solid var(--accent);
}

.product-media {
  border-radius: 6px;
  background: #f8faf5;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-badge {
  border-radius: 6px;
  background: var(--primary);
}

.product-topline {
  color: var(--accent);
}

.product-card h3 {
  color: var(--primary);
  margin: 2px 0 8px;
}

.product-facts {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding: 12px;
  border-radius: 6px;
  background: #f6f8f3;
}

.product-facts span {
  display: grid;
  gap: 2px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.product-facts strong {
  color: var(--primary);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.product-pricing strong {
  font-size: 1.36rem;
}

.product-note {
  padding: 10px 12px;
  border-left: 3px solid var(--accent);
  background: rgba(199, 152, 45, 0.08);
  color: var(--primary);
  font-size: 0.9rem;
}

.winning-grid .benefit-card,
.buyer-grid .experience-card,
.strategy-grid .channel-card {
  min-height: 210px;
}

.benefit-icon,
.channel-card .icon,
.experience-card .icon {
  display: none;
}

.b2b-panel {
  align-items: stretch;
}

.b2b-card {
  border-radius: 8px;
  background: var(--primary);
}

.b2b-list {
  gap: 10px;
}

.b2b-item {
  display: grid;
  gap: 4px;
  grid-template-columns: 1fr;
  border-radius: 6px;
}

.b2b-item span {
  color: rgba(255, 255, 255, 0.74);
}

.b2b-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 18px;
}

.quote-form input,
.quote-form textarea,
.quote-form select {
  border-radius: 6px;
}

.testimonial-card {
  background: var(--primary);
}

.faq-item summary {
  margin-top: 0;
}

.footer-wrap {
  border-radius: 8px;
  background: linear-gradient(145deg, #063d25, #021b11);
}

.footer-wrap .footer-brand strong,
.footer-wrap .footer-column h4,
.footer-wrap .footer-cta h3 {
  color: #ffffff;
}

.footer-wrap .footer-brand p,
.footer-wrap .footer-column li,
.footer-wrap .footer-column a,
.footer-wrap .footer-cta p,
.footer-wrap .footer-bottom {
  color: rgba(255, 255, 255, 0.86);
}

.footer-wrap .footer-column a:hover {
  color: #f1cf78;
}

.footer-wrap .footer-cta {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-wrap .footer-cta h3 {
  font-size: 1.35rem;
}

.footer-contact-list li {
  display: grid;
  gap: 3px;
}

.footer-contact-list span {
  color: #f1cf78;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-brand img {
  border-radius: 6px;
}

.footer-cta {
  border-radius: 8px;
}

.admin-shell {
  background: #f8faf5;
}

.admin-topbar,
.admin-toolbar {
  background: #ffffff;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border: 1px solid rgba(7, 63, 39, 0.12);
  border-radius: 6px;
  background: #fffefb;
}

.checkbox-field input {
  width: auto;
}

@media (max-width: 1080px) {
  .campaign-strip,
  .signature-products,
  .selected-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .main-nav {
    border-radius: 8px;
    background: #ffffff;
  }

  .hero-section.hero-premium {
    min-height: 74vh;
    background-position: 62% center;
  }

  .hero-content h1 {
    font-size: clamp(3rem, 18vw, 4.8rem);
  }

  .hero-content .hero-subtitle {
    font-size: 1.12rem;
  }

  .premium-metrics {
    transform: none;
    margin-top: 18px;
  }

  .campaign-strip,
  .signature-products,
  .selected-products {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-section.hero-premium {
    width: 100%;
    padding: 0;
  }

  .hero-content {
    width: calc(100% - 24px);
    padding: 54px 0;
  }

  .hero-content .hero-actions,
  .hero-content .primary-link,
  .hero-content .ghost-link {
    width: 100%;
  }

  .campaign-strip,
  .product-band {
    width: calc(100% - 24px);
  }

  .campaign-strip img {
    min-height: 220px;
  }

  .product-band-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}
