:root {
  --ink: #120f0e;
  --muted: #6d625a;
  --paper: #fffaf2;
  --panel: #ffffff;
  --line: #ead9c6;
  --red: #e81927;
  --red-dark: #a90f18;
  --gold: #ffc928;
  --gold-soft: #fff1b8;
  --green: #0f8b5f;
  --blue: #2158d6;
  --shadow: 0 22px 60px rgba(40, 24, 12, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Tahoma", "Noto Sans Thai", Arial, sans-serif;
  line-height: 1.72;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 201, 40, 0.22), transparent 26rem),
    linear-gradient(180deg, #fff7e6 0%, #ffffff 42%, #fff8ea 100%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(234, 217, 198, 0.86);
  background: rgba(255, 250, 242, 0.94);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  flex: 0 0 auto;
  width: 178px;
}

.brand img {
  width: 100%;
  height: auto;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  padding: 10px 13px;
  border-radius: 999px;
  color: #382a22;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--red);
  background: #fff0d1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 14px 28px rgba(232, 25, 39, 0.28);
}

.btn-secondary {
  color: #241a12;
  background: linear-gradient(135deg, var(--gold), #ffe46a);
  box-shadow: 0 14px 28px rgba(255, 201, 40, 0.26);
}

.btn-line {
  color: #fff;
  background: var(--green);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.section.tight {
  padding: 50px 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-weight: 900;
}

.hero {
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 78px);
  margin: 0 auto;
  padding: 46px 0 34px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 36px;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.08;
}

.hero-copy p,
.page-hero p {
  margin: 20px 0 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions,
.cta-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.stat-strip {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stat {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.stat strong {
  display: block;
  font-size: 24px;
  color: var(--red);
  line-height: 1.2;
}

.section-head {
  max-width: 790px;
  margin-bottom: 30px;
}

.section-head h2,
.feature h2,
.article h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.18;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

.grid.four {
  grid-template-columns: repeat(4, 1fr);
}

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

.card,
.article-card,
.promo-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(40, 24, 12, 0.08);
}

.card-body {
  padding: 22px;
}

.card h3,
.article-card h3,
.promo-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.32;
}

.card p,
.article-card p,
.promo-card p {
  margin: 0;
  color: var(--muted);
}

.feature {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: center;
}

.feature.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.feature img,
.page-hero img,
.article img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature p,
.article p,
.article li {
  color: #3f342d;
  font-size: 17px;
}

.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 34px;
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  align-items: center;
  gap: 32px;
}

.page-hero.simple {
  display: block;
  max-width: 970px;
}

.highlight-band {
  background: linear-gradient(135deg, #1f1712, #38170d 45%, #151515);
  color: #fff;
}

.highlight-band .section-head p,
.highlight-band .card p {
  color: rgba(255, 255, 255, 0.72);
}

.highlight-band .card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.highlight-band .eyebrow,
.highlight-band .card h3 {
  color: var(--gold);
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 58px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #1b130e;
  background: var(--gold);
  font-weight: 900;
}

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

.article-card {
  display: grid;
  grid-template-columns: 190px 1fr;
}

.article-card img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}

.article-card a {
  color: var(--red);
  font-weight: 900;
}

.article {
  max-width: 940px;
  margin: 42px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.article h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.article h3 {
  margin: 26px 0 8px;
  font-size: 23px;
}

.article img {
  width: 100%;
  margin: 22px 0 18px;
}

.promo-ribbon {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #241a12;
  background: var(--gold-soft);
  font-weight: 900;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.footer {
  border-top: 1px solid var(--line);
  background: #16110e;
  color: #fff;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer img {
  width: 156px;
  margin-bottom: 12px;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.32));
}

.footer p {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
}

.floating-cta {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 45;
  width: min(720px, calc(100% - 24px));
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

@media (max-width: 980px) {
  .nav {
    flex-wrap: wrap;
    min-height: auto;
    padding: 12px 0;
  }

  .brand {
    width: 150px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-links {
    order: 4;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    border-radius: 8px;
    background: #fff;
  }

  .nav-actions {
    display: none;
  }

  .hero,
  .page-hero,
  .feature,
  .feature.reverse,
  .grid.two,
  .grid.three,
  .grid.four,
  .contact-box,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .feature.reverse .feature-copy {
    order: -1;
  }

  .blog-list {
    grid-template-columns: 1fr;
  }

  .floating-cta {
    display: grid;
  }
}

@media (max-width: 640px) {
  .section,
  .page-hero,
  .hero {
    width: min(100% - 22px, 1180px);
  }

  .section {
    padding: 54px 0;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 36px;
  }

  .hero-actions,
  .cta-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .stat-strip {
    grid-template-columns: 1fr;
  }

  .article-card {
    grid-template-columns: 1fr;
  }

  .article-card img {
    height: 220px;
  }

  .footer-inner {
    padding-bottom: 88px;
  }
}
