:root {
  --orange: #f36b21;
  --orange-dark: #d94f08;
  --ink: #171717;
  --muted: #676767;
  --line: #e8e5e1;
  --cream: #f8f6f2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Arial, "Noto Sans Thai", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  height: 84px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.95);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--orange); color: white; font-size: 27px; font-weight: 900;
  border-radius: 4px;
}
.brand strong { display: block; font-size: 25px; line-height: .9; letter-spacing: .04em; }
.brand small { font-size: 8px; letter-spacing: .18em; font-weight: 700; }
nav { display: flex; gap: 36px; font-size: 14px; font-weight: 700; }
nav a:hover { color: var(--orange); }
.header-cta { color: var(--orange-dark); font-weight: 800; font-size: 14px; }

.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
}
.hero-copy { padding: 9vh 6vw 5vh; display: flex; flex-direction: column; justify-content: center; }
.eyebrow {
  margin: 0 0 18px; color: var(--orange-dark); font-size: 12px;
  letter-spacing: .18em; font-weight: 900;
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(45px, 5.2vw, 82px); line-height: 1.08; letter-spacing: -.045em; margin-bottom: 28px; }
h1 span { display: block; color: var(--orange); }
.hero-lead { max-width: 610px; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; gap: 12px; margin: 24px 0 50px; flex-wrap: wrap; }
.button {
  min-height: 50px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 4px; font-weight: 800; transition: transform .2s, background .2s;
}
.button:hover { transform: translateY(-2px); }
.primary { background: var(--orange); color: #fff; }
.primary:hover { background: var(--orange-dark); }
.secondary { border: 1px solid #cfcac4; }
.hero-proof { padding-top: 28px; border-top: 1px solid var(--line); display: flex; gap: 48px; }
.hero-proof div { display: flex; flex-direction: column; }
.hero-proof strong { font-size: 17px; }
.hero-proof span { font-size: 12px; color: var(--muted); }
.hero-visual { position: relative; min-height: 650px; overflow: hidden; background: var(--cream); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.visual-note {
  position: absolute; right: 24px; bottom: 24px; background: white; padding: 12px 16px;
  border-radius: 4px; display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 800;
  box-shadow: 0 10px 35px rgba(0,0,0,.12);
}
.pulse { width: 8px; height: 8px; background: #25a55f; border-radius: 50%; box-shadow: 0 0 0 5px rgba(37,165,95,.15); }

.trust-strip {
  padding: 18px 5vw; color: white; background: var(--ink);
  display: flex; justify-content: space-between; gap: 24px; font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.trust-strip span::before { content: "•"; color: var(--orange); margin-right: 12px; }
.section { padding: 110px 6vw; }
.section-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 80px; align-items: end; margin-bottom: 52px; }
h2 { font-size: clamp(36px, 4.1vw, 62px); line-height: 1.1; letter-spacing: -.04em; margin-bottom: 0; }
.section-heading > p { color: var(--muted); margin: 0; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.product-card { border: 1px solid var(--line); background: #fff; overflow: hidden; }
.product-image { height: 390px; overflow: hidden; background: var(--cream); }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-fort img { object-position: 13% center; }
.product-smart img { object-position: center 77%; }
.product-copy { padding: 34px; }
.product-tag { color: var(--orange-dark); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.product-copy h3 { font-size: 34px; margin-bottom: 12px; }
.product-copy > p:not(.product-tag) { color: var(--muted); max-width: 610px; }
.product-copy ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 24px 0 30px; }
.product-copy li { padding: 7px 11px; background: var(--cream); font-size: 12px; font-weight: 700; }
.product-copy a { color: var(--orange-dark); font-weight: 800; }
.product-copy a span { margin-left: 8px; }

.service-section { background: var(--cream); display: grid; grid-template-columns: .7fr 1.3fr; gap: 10vw; }
.service-intro > p:last-child { color: var(--muted); max-width: 370px; margin-top: 28px; }
.service-list { border-top: 1px solid #d9d4cc; }
.service-list article { display: grid; grid-template-columns: 70px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid #d9d4cc; }
.service-list article > span { color: var(--orange); font-size: 13px; font-weight: 900; }
.service-list h3 { font-size: 22px; margin-bottom: 5px; }
.service-list p { color: var(--muted); margin: 0; }

.smart-section {
  background: var(--orange); color: white; display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 10vw; align-items: center; overflow: hidden;
}
.smart-section .eyebrow { color: #fff; opacity: .8; }
.smart-copy > p:not(.eyebrow) { max-width: 600px; margin: 30px 0; font-size: 18px; color: rgba(255,255,255,.85); }
.smart-features { display: flex; gap: 8px; flex-wrap: wrap; }
.smart-features span { border: 1px solid rgba(255,255,255,.55); padding: 8px 12px; border-radius: 99px; font-size: 12px; }
.phone-demo {
  width: min(310px, 100%); height: 530px; margin: 0 auto -175px; padding: 30px 24px;
  background: #fff; color: var(--ink); border: 10px solid #202020; border-radius: 42px 42px 0 0;
  text-align: center; box-shadow: 0 40px 80px rgba(118,43,0,.35);
}
.phone-top { display: flex; justify-content: center; gap: 4px; margin-bottom: 40px; }
.phone-top i { width: 4px; height: 4px; border-radius: 50%; background: #ddd; }
.phone-demo > p { font-size: 13px; color: var(--muted); }
.gate-icon { width: 120px; height: 105px; margin: 35px auto 18px; border: 8px solid var(--orange); border-bottom: 0; padding: 17px 12px 0; display: flex; gap: 5px; }
.gate-icon span { flex: 1; background: repeating-linear-gradient(90deg,#ddd 0 4px,#fff 4px 8px); border: 1px solid #ddd; }
.phone-demo strong { display: block; font-size: 22px; }
.phone-demo button { margin: 30px 0 16px; border: 0; background: var(--orange); color: #fff; padding: 14px 28px; border-radius: 99px; font-weight: 800; }
.phone-demo small { display: block; color: #25a55f; }

.about-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 10vw; align-items: center; }
.about-number {
  color: var(--orange); font-size: clamp(150px, 21vw, 330px); line-height: .8; font-weight: 900;
  letter-spacing: -.1em; position: relative;
}
.about-number::after { content: "+"; font-size: .25em; position: absolute; top: 0; }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 18px; margin: 28px 0; }
.about-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.about-badges span { background: var(--cream); padding: 9px 13px; font-size: 12px; font-weight: 700; }

.cta-section {
  margin: 0 3vw; padding: 75px 5vw; background: var(--orange); color: #fff;
  display: flex; align-items: end; justify-content: space-between; gap: 30px;
}
.cta-section .eyebrow { color: #fff; opacity: .8; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.dark { background: var(--ink); color: #fff; }
.light { background: #fff; color: var(--ink); }
footer {
  padding: 60px 5vw 35px; display: grid; grid-template-columns: .8fr 1.4fr .8fr;
  gap: 40px; align-items: end; font-size: 12px; color: var(--muted);
}
footer p { margin-bottom: 4px; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; font-weight: 800; color: var(--ink); }

@media (max-width: 900px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 70px 6vw 55px; }
  .hero-visual { min-height: 590px; }
  .hero-proof { gap: 22px; flex-wrap: wrap; }
  .trust-strip { overflow-x: auto; justify-content: flex-start; white-space: nowrap; }
  .section { padding: 80px 6vw; }
  .section-heading, .service-section, .smart-section, .about-section { grid-template-columns: 1fr; gap: 50px; }
  .product-grid { grid-template-columns: 1fr; }
  .phone-demo { margin-bottom: -150px; }
  .cta-section { flex-direction: column; align-items: flex-start; }
  footer { grid-template-columns: 1fr; }
  .footer-contact { align-items: flex-start; }
}

@media (max-width: 560px) {
  .site-header { height: 72px; padding: 0 4vw; }
  .brand-mark { width: 36px; height: 36px; }
  .brand strong { font-size: 21px; }
  .header-cta { font-size: 11px; }
  .hero-copy { padding-top: 55px; }
  .hero-lead { font-size: 17px; }
  .hero-visual { min-height: 500px; }
  .hero-proof { display: grid; grid-template-columns: 1fr 1fr; }
  .section-heading { gap: 25px; }
  .product-image { height: 300px; }
  .product-copy { padding: 25px; }
  .cta-section { margin: 0; padding: 60px 6vw; }
  .cta-actions, .cta-actions .button { width: 100%; }
}

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