:root {
  --ink: #22272f;
  --muted: #6a7078;
  --line: #d7d9dc;
  --paper: #f7f7f8;
  --white: #ffffff;
  --red: #c91f2d;
  --red-dark: #981722;
  --charcoal: #343a40;
  --silver: #c9cdd1;
  --steel: #eceeef;
  --accent: #c91f2d;
  --shadow: 0 22px 60px rgba(36, 41, 47, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", "Noto Sans Thai", system-ui, sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 12px clamp(20px, 4vw, 64px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(242, 243, 244, 0.96) 100%);
  border-bottom: 1px solid rgba(215, 217, 220, 0.92);
  backdrop-filter: blur(18px);
}

.site-header::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--red-dark), var(--red), var(--silver), var(--red));
}

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

.brand-logo {
  width: 132px;
  height: 60px;
  object-fit: contain;
  padding: 4px 6px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f2f3 100%);
  border: 1px solid rgba(201, 31, 45, 0.1);
  border-radius: 4px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.6vw, 30px);
  color: #344054;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a:hover {
  color: var(--red);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: #eceeef;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-button {
  min-width: 42px;
  height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: #4d535a;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.language-button.is-active {
  color: white;
  background: linear-gradient(180deg, var(--red), var(--red-dark));
  box-shadow: 0 6px 14px rgba(201, 31, 45, 0.18);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.header-cta,
.button.primary {
  color: white;
  background: linear-gradient(180deg, var(--red), var(--red-dark));
  box-shadow: 0 8px 20px rgba(201, 31, 45, 0.22);
}

.button.secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.button.full {
  width: 100%;
  margin-top: 10px;
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
  background: #24272c;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(21, 23, 27, 0.96) 0%, rgba(36, 39, 44, 0.76) 34%, rgba(36, 39, 44, 0.18) 72%),
    linear-gradient(0deg, rgba(152, 23, 34, 0.18), rgba(21, 23, 27, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 96px);
  padding-top: 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.quality-section h2,
.contact-section h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(44px, 6.2vw, 84px);
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 1.7vw, 20px);
}

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

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: white;
  border-bottom: 1px solid var(--line);
}

.metrics article {
  min-height: 132px;
  padding: 28px clamp(20px, 3vw, 42px);
  border-right: 1px solid var(--line);
}

.metrics article:last-child {
  border-right: 0;
}

.metrics strong {
  display: block;
  color: var(--red);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 600;
}

.section {
  padding: clamp(72px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

section[id] {
  scroll-margin-top: 104px;
}

.section-heading {
  display: block;
  max-width: 900px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading.compact {
  display: block;
  max-width: 860px;
  margin-bottom: 34px;
}

.section h2,
.quality-section h2,
.contact-section h2 {
  font-size: clamp(32px, 4vw, 52px);
}

.section-heading h2 {
  margin-left: auto;
  margin-right: auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(32px, 5vw, 74px);
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}

.intro-copy {
  color: #384556;
  font-size: 18px;
}

.intro-copy p {
  margin: 0 0 20px;
}

.company-card {
  background: white;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  box-shadow: var(--shadow);
}

.company-card dl {
  margin: 0;
}

.company-card div {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.company-card div:last-child {
  border-bottom: 0;
}

.company-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.company-card dd {
  margin: 6px 0 0;
  font-weight: 700;
}

.product-band {
  background: linear-gradient(180deg, #f0f1f2 0%, #fafafa 100%);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto;
  background: var(--line);
  border: 1px solid var(--line);
}

.product-grid article {
  min-height: 250px;
  padding: 30px;
  background: white;
}

.product-grid span {
  color: var(--red);
  font-weight: 800;
}

.product-grid h3,
.timeline h3,
.contact-card h3 {
  margin: 18px 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.product-grid p,
.timeline p,
.contact-card p {
  margin: 0;
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.timeline article {
  min-height: 300px;
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
}

.timeline strong {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: white;
  background: var(--red);
}

.quality-section {
  padding: clamp(70px, 8vw, 110px) clamp(20px, 5vw, 72px);
  color: white;
  background:
    linear-gradient(90deg, rgba(152, 23, 34, 0.78), rgba(52, 58, 64, 0.96)),
    #343a40;
}

.quality-inner {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: clamp(34px, 5vw, 80px);
  max-width: 1180px;
  margin: 0 auto;
}

.quality-copy {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.quality-copy p {
  margin: 0 0 24px;
}

.quality-copy ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.market-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.market-row span {
  display: grid;
  place-items: center;
  min-height: 94px;
  background: white;
  border: 1px solid var(--line);
  color: var(--red-dark);
  font-size: 18px;
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: clamp(32px, 6vw, 86px);
  padding: clamp(72px, 8vw, 112px) clamp(20px, 5vw, 72px);
  background: white;
}

.contact-copy {
  max-width: 720px;
}

.contact-copy p:last-child {
  max-width: 630px;
  color: var(--muted);
  font-size: 18px;
}

.contact-card {
  align-self: start;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  box-shadow: var(--shadow);
}

.contact-card h3 {
  margin-top: 0;
}

.contact-card a:not(.button) {
  display: block;
  margin-top: 14px;
  color: var(--red-dark);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: #24272c;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: white;
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
  }

  .header-cta {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(21, 23, 27, 0.96), rgba(36, 39, 44, 0.68));
  }

  .metrics,
  .product-grid,
  .timeline,
  .market-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading,
  .intro-grid,
  .quality-inner,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .company-card,
  .contact-card {
    max-width: 560px;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 70px;
    padding: 12px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 108px;
    height: 50px;
  }

  .brand strong,
  .brand small {
    display: none;
  }

  .language-switcher {
    margin-left: auto;
  }

  .language-button {
    min-width: 38px;
    height: 32px;
    padding: 0 10px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin-left: 18px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .metrics,
  .product-grid,
  .timeline,
  .market-row {
    grid-template-columns: 1fr;
  }

  .metrics article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-grid article,
  .timeline article {
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
