:root {
  --ink: #071321;
  --ink-soft: #102338;
  --paper: #f4f6f7;
  --white: #ffffff;
  --orange: #eb671a;
  --orange-dark: #c94b06;
  --mint: #82dccb;
  --muted: #66727f;
  --line: #dce2e6;
  --radius: 14px;
  font-family: Inter, "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link { position: fixed; left: 12px; top: -60px; z-index: 20; padding: 10px 14px; background: white; border-radius: 6px; }
.skip-link:focus { top: 12px; }

.site-header {
  width: min(1380px, calc(100% - 48px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border: 3px solid var(--orange);
  font-weight: 900;
  transform: rotate(45deg);
}
.brand-mark::first-letter { transform: rotate(-45deg); }
.brand > span:last-child { display: grid; line-height: 1.05; }
.brand strong { letter-spacing: .08em; font-size: 15px; }
.brand small { color: var(--muted); letter-spacing: .11em; font-size: 9px; margin-top: 5px; }

nav { display: flex; align-items: center; gap: 24px; }
nav a { text-decoration: none; font-weight: 700; font-size: 14px; }
.nav-cta { padding: 11px 18px; color: white; background: var(--orange); border-radius: 7px; }

main { width: min(1380px, calc(100% - 48px)); margin: 0 auto; }

.hero {
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, .98fr);
  overflow: hidden;
  color: white;
  background: var(--ink);
  border-radius: var(--radius);
}
.hero-copy { align-self: center; padding: 76px 32px 72px 64px; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 18px; color: var(--mint); letter-spacing: .18em; font-size: 12px; font-weight: 900; }
.eyebrow.dark { color: var(--orange-dark); }
.hero h1 { margin: 0; max-width: 700px; font-size: clamp(48px, 5vw, 78px); line-height: .98; letter-spacing: -.04em; }
.hero h1 span { color: var(--orange); }
.hero-lead { max-width: 620px; margin: 30px 0 0; color: #dce3e9; font-size: 19px; line-height: 1.7; }
.hero-en { color: #8795a3; font-size: 14px; letter-spacing: .04em; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.button { min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; border: 1px solid transparent; border-radius: 7px; cursor: pointer; text-decoration: none; font-weight: 800; }
.button.primary { color: white; background: var(--orange); }
.button.primary:hover { background: var(--orange-dark); }
.button.secondary { color: white; border-color: #74808b; background: transparent; }
.hero-points { display: flex; flex-wrap: wrap; gap: 20px; margin: 34px 0 0; padding: 0; list-style: none; color: #bfc9d1; font-size: 13px; }
.hero-points li::before { content: "✓"; margin-right: 8px; color: var(--mint); font-weight: 900; }
.hero-media { min-width: 0; margin: 0; position: relative; overflow: hidden; }
.hero-media::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 30%; background: linear-gradient(90deg, var(--ink), transparent); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 53% 46%; }

.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin: 14px 0 0; background: white; border: 1px solid var(--line); border-radius: 10px; }
.proof-strip div { display: grid; gap: 5px; padding: 22px 26px; border-right: 1px solid var(--line); }
.proof-strip div:last-child { border-right: 0; }
.proof-strip strong { font-size: 11px; color: var(--orange-dark); letter-spacing: .08em; }
.proof-strip span { font-size: 13px; font-weight: 700; }

.section { padding: 96px 0 82px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 32px; }
.section-heading h2, .capabilities h2, .rfq-section h2 { max-width: 760px; margin: 0; font-size: clamp(32px, 4vw, 54px); line-height: 1.12; letter-spacing: -.03em; }
.section-heading > p { max-width: 440px; margin: 0; color: var(--muted); line-height: 1.7; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product-card { min-width: 0; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 11px; }
.product-card img { width: 100%; height: 280px; object-fit: cover; object-position: center 30%; background: #eee; }
.product-card:nth-child(1) img { object-position: center 50%; }
.product-card:nth-child(3) img { object-position: 17% 10%; }
.product-card:nth-child(4) img { object-position: 72% 36%; }
.product-card:nth-child(5) img { object-position: center 82%; }
.product-card > div { padding: 22px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 14px; }
.product-card span { grid-row: 1 / 3; color: var(--orange); font-size: 12px; font-weight: 900; }
.product-card h3 { margin: 0; font-size: 19px; }
.product-card p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.product-card button { grid-column: 3; grid-row: 1 / 3; align-self: stretch; border: 0; border-left: 1px solid var(--line); padding-left: 16px; color: var(--orange-dark); background: transparent; cursor: pointer; font-size: 12px; font-weight: 800; }
.product-card:has(button:hover) { border-color: #e9a57f; }

.capabilities { margin-bottom: 96px; padding: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; color: white; background: var(--ink); border-radius: var(--radius); }
.capabilities-copy > p:not(.eyebrow) { max-width: 600px; color: #bec9d2; line-height: 1.75; }
.buyer-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.buyer-tags span { padding: 8px 12px; border: 1px solid #516071; border-radius: 999px; color: #dce4ea; font-size: 12px; }
.capability-list { display: grid; align-content: center; }
.capability-list article { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid #334254; }
.capability-list article:last-child { border-bottom: 0; }
.capability-list article > span { width: 44px; height: 44px; display: grid; place-items: center; background: var(--orange); border-radius: 50%; font-weight: 900; }
.capability-list h3 { margin: 0 0 4px; }
.capability-list p { margin: 0; color: #aebac4; }

.rfq-section { margin: 0 0 96px; padding: 64px; display: grid; grid-template-columns: .72fr 1.28fr; gap: 64px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.rfq-intro > p:not(.eyebrow) { color: var(--muted); line-height: 1.75; }
.evidence-note { margin-top: 34px; padding: 18px; display: grid; gap: 7px; border-left: 4px solid var(--orange); background: #fff6ef; }
.evidence-note span { color: #745a49; font-size: 13px; line-height: 1.6; }
.rfq-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rfq-form label { display: grid; gap: 8px; font-size: 13px; font-weight: 800; }
.rfq-form b { color: var(--orange); }
.rfq-form input, .rfq-form select, .rfq-form textarea { width: 100%; min-height: 48px; padding: 12px 13px; color: var(--ink); border: 1px solid #cad2d9; border-radius: 6px; background: white; font-weight: 500; }
.rfq-form textarea { resize: vertical; }
.rfq-form .wide { grid-column: 1 / -1; }
.form-actions { display: flex !important; align-items: center; gap: 16px; }
.form-actions span { color: var(--muted); font-size: 12px; font-weight: 600; }
.rfq-result { grid-column: 1 / -1; margin-top: 8px; padding: 26px; border: 1px solid #a8dacf; background: #f0fbf8; border-radius: 10px; }
.rfq-result[hidden] { display: none; }
.rfq-result h3 { margin: 0 0 14px; }
.rfq-result pre { white-space: pre-wrap; font: inherit; line-height: 1.7; }
.button.copy { color: var(--ink); border-color: #a4b0b9; background: white; }
.copy-state { display: inline-block; margin-left: 12px; color: #14705e; font-size: 13px; font-weight: 700; }

footer { width: min(1380px, calc(100% - 48px)); margin: 0 auto 28px; padding: 32px 0; display: grid; grid-template-columns: 1fr 1.5fr auto; align-items: center; gap: 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
footer p { line-height: 1.6; }
footer > a { font-weight: 800; text-decoration: none; }

:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 62px 44px 40px; }
  .hero-media { height: 580px; }
  .hero-media::after { inset: 0 0 auto 0; width: 100%; height: 22%; background: linear-gradient(180deg, var(--ink), transparent); }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .proof-strip div:nth-child(2) { border-right: 0; }
  .proof-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .capabilities, .rfq-section { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 640px) {
  .site-header, main, footer { width: min(100% - 24px, 1380px); }
  .site-header { min-height: 68px; }
  .brand small { display: none; }
  .brand-mark { width: 34px; height: 34px; }
  nav { gap: 12px; }
  nav > a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 10px 12px; font-size: 12px; }
  .hero { min-height: 0; }
  .hero-copy { padding: 42px 24px 28px; }
  .hero h1 { font-size: 44px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: stretch; }
  .button { padding: 0 16px; }
  .hero-points { display: grid; gap: 10px; }
  .hero-media { height: 430px; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-strip div:last-child { border-bottom: 0; }
  .section { padding: 68px 0 56px; }
  .section-heading { display: grid; gap: 16px; }
  .section-heading h2, .capabilities h2, .rfq-section h2 { font-size: 34px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card img { height: 250px; }
  .capabilities, .rfq-section { margin-bottom: 68px; padding: 34px 22px; }
  .rfq-form { grid-template-columns: 1fr; }
  .rfq-form .wide { grid-column: auto; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .rfq-result { grid-column: auto; }
  footer { grid-template-columns: 1fr; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
