/* R.E. Enterprise — bold editorial drain co. */

:root {
  --bg: #FAFAF7;
  --bg-soft: #F1F0E9;
  --ink: #0A0A0A;
  --ink-soft: #2B2B28;
  --mute: #6B6B66;
  --rule: #1A1A18;
  --rule-soft: #D9D7CE;
  --paper: #FFFFFF;
  --accent: #f26e23; /* signal orange */
  --accent-ink: #0A0A0A;
  --max: 1480px;
}

html[data-theme="dark"] {
  --bg: #0B0B0A;
  --bg-soft: #161613;
  --ink: #F5F4EE;
  --ink-soft: #D7D5CB;
  --mute: #8A8A82;
  --rule: #F5F4EE;
  --rule-soft: #2A2A26;
  --paper: #141412;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo', 'IBM Plex Sans Thai', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* Typography */
.display {
  font-family: 'Archivo Black', 'IBM Plex Sans Thai', sans-serif;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.88;
  text-transform: uppercase;
}
html[lang="th"] .display {
  font-family: 'IBM Plex Sans Thai', 'Archivo Black', sans-serif;
  letter-spacing: -0.015em;
  line-height: 0.95;
  font-weight: 700;
  text-transform: none;
}
.mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-feature-settings: "ss01";
}
.serial {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}

/* Layout primitives */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.rule { border: 0; border-top: 1px solid var(--rule); height: 0; margin: 0; }
.rule-soft { border: 0; border-top: 1px solid var(--rule-soft); height: 0; margin: 0; }

/* Utility bar */
.ubar {
  background: var(--ink);
  color: var(--bg);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ubar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  gap: 24px;
}
.ubar .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ubar .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(242,110,35,0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(242,110,35,0); }
  100% { box-shadow: 0 0 0 0 rgba(242,110,35,0); }
}
.ubar-right { display: flex; gap: 18px; align-items: center; }
.ubar a:hover { color: var(--accent); }
.ubar .sep { opacity: 0.4; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-family: 'Archivo Black', sans-serif;
  font-size: 22px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.logo-mark img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
html[data-theme="dark"] .logo-mark img { filter: invert(1); }
.nav-links { display: flex; gap: 28px; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.nav-links a { position: relative; }
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 11px 18px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid var(--ink);
  transition: transform .15s ease;
}
.nav-cta:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--ink); }

/* Hero */
.hero {
  padding: 56px 0 32px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.hero-eyebrow {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(72px, 13vw, 220px);
  margin: 0;
}
.hero-title .accent { color: var(--accent); font-style: italic; font-family: 'Archivo Black'; }
html[lang="th"] .hero-title { font-size: clamp(54px, 9.5vw, 160px); }

.hero-row2 {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.hero-lede {
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.25;
  max-width: 30ch;
  font-weight: 500;
  text-wrap: balance;
  white-space: pre-line;
}
.hero-actions {
  display: grid;
  gap: 12px;
  justify-self: end;
  min-width: 320px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--rule);
  background: var(--bg);
  color: var(--ink);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  transition: all .15s ease;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn.primary { background: var(--accent); border-color: var(--ink); }
.btn.primary:hover { background: var(--ink); color: var(--bg); }
.btn .arrow { font-family: 'JetBrains Mono', monospace; }
.btn .num { font-family: 'JetBrains Mono', monospace; font-size: 14px; opacity: 0.7; }

/* Contact-first hero variant */
.hero.contact-first .hero-title { font-size: clamp(56px, 9vw, 156px); margin-top: 16px; }
html[lang="th"] .hero.contact-first .hero-title { font-size: clamp(44px, 7vw, 120px); }

.contact-bars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--ink);
  margin-bottom: 40px;
}
.contact-bar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 32px;
  min-height: 180px;
  position: relative;
  overflow: hidden;
  color: var(--ink);
  transition: transform .15s ease;
}
.contact-bar:hover { transform: scale(1.005); }
.contact-bar.phone { background: var(--accent); }
.contact-bar.line  { background: #06C755; color: #fff; border-left: 1px solid var(--ink); }
.contact-bar .cb-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}
.contact-bar .cb-top .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.contact-bar .cb-top .ldot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink);
  animation: pulse-small 1.8s infinite;
}
.contact-bar.line .cb-top .ldot { background: #fff; }
@keyframes pulse-small {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.contact-bar .cb-main {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(34px, 4.6vw, 64px);
  letter-spacing: -0.035em;
  line-height: 0.95;
  text-transform: uppercase;
}
html[lang="th"] .contact-bar .cb-main { font-family: 'IBM Plex Sans Thai', sans-serif; font-weight: 700; text-transform: none; line-height: 1.05; font-size: clamp(28px, 3.8vw, 52px); }
.contact-bar .cb-bot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.contact-bar .cb-arrow {
  font-family: 'Archivo Black', sans-serif;
  font-size: 40px;
  line-height: 1;
}

@media (max-width: 760px) {
  .contact-bars { grid-template-columns: 1fr; }
  .contact-bar.line { border-left: 0; border-top: 1px solid var(--ink); }
  .contact-bar { min-height: 140px; padding: 20px 22px; }
}

/* Hero badge */
.hero-badge {
  position: absolute;
  right: 28px;
  top: 80px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: 'Archivo Black', sans-serif;
  font-size: 28px;
  line-height: 0.9;
  letter-spacing: -0.02em;
  transform: rotate(-8deg);
  border: 1px solid var(--ink);
  z-index: 2;
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50%      { transform: rotate(-6deg) translateY(-8px); }
}
.hero-badge small {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-top: 6px;
  text-transform: uppercase;
}

/* Marquee */
.marquee {
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-family: 'Archivo Black', sans-serif;
  font-size: 48px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.marquee-track .star { color: var(--accent); font-size: 28px; transform: translateY(-4px); }
/* Logo marquee variant */
.marquee-wrap { display: flex; flex-direction: column; align-items: stretch; }
.marquee-eyebrow { text-align: center; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); padding: 20px 0 14px; }
.marquee-logos { background: var(--ink); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 0; height: 160px; display: flex; align-items: center; }
.marquee-logos .marquee-track { font-size: 0; gap: 80px; will-change: transform; }
.marquee-logos .marquee-track .star { font-size: 20px; color: var(--accent); transform: translateY(-2px); }
.marquee-logo { display: flex; align-items: center; height: 152px; }
.marquee-logo img { height: 152px; width: auto; max-width: 320px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.8; transition: opacity 0.2s; }
.marquee-logo img:hover { opacity: 1; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Section header */
.section { padding-top: 96px; padding-bottom: 96px; border-top: 1px solid var(--rule); }
.section-head {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 32px;
  align-items: start;
  margin-bottom: 56px;
}
.section-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding-top: 6px;
}
.section-title {
  font-size: clamp(48px, 7vw, 96px);
  margin: 0;
}
.section-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  text-align: right;
  padding-top: 12px;
  max-width: 180px;
}

/* Services */
.services {
  display: grid;
  grid-template-columns: 80px 1fr;
}
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 2fr 200px;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--rule-soft);
  align-items: center;
  cursor: pointer;
  transition: background .2s ease, padding .2s ease;
}
.service-row:hover {
  background: var(--bg-soft);
  padding-left: 16px; padding-right: 16px;
  margin-left: -16px; margin-right: -16px;
}
.service-row:hover .service-name { color: var(--accent); }
.service-row:hover .arrow-cell { transform: translateX(8px); }
.service-num { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--mute); }
.service-name {
  font-family: 'Archivo Black', 'IBM Plex Sans Thai', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.0;
  text-transform: uppercase;
}
html[lang="th"] .service-name { text-transform: none; font-family: 'IBM Plex Sans Thai', sans-serif; font-weight: 700; }
.service-desc { color: var(--ink-soft); font-size: 15px; max-width: 48ch; }
.arrow-cell {
  font-family: 'JetBrains Mono', monospace;
  font-size: 32px;
  text-align: right;
  transition: transform .2s ease;
}

/* Stats / strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: 56px 28px;
  border-left: 1px solid var(--rule-soft);
}
.stat:first-child { border-left: 0; }
.stat-num {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(64px, 8vw, 120px);
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.stat-num .accent { color: var(--accent); }
.stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 12px;
}

/* Distributor strip */
.dist {
  background: var(--ink);
  color: var(--bg);
  padding: 0;
}
.dist-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  min-height: 480px;
}
.dist-left {
  padding: 80px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.dist-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--bg);
  padding: 8px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  align-self: flex-start;
}
.dist-badge .dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.dist-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(40px, 5.5vw, 80px);
  letter-spacing: -0.03em;
  line-height: 0.9;
  text-transform: uppercase;
  margin: 24px 0;
}
html[lang="th"] .dist-title { font-family: 'IBM Plex Sans Thai', sans-serif; font-weight: 700; text-transform: none; line-height: 1.0; }
.dist-sub {
  max-width: 50ch;
  color: #C9C7BC;
  font-size: 16px;
  line-height: 1.55;
}
.dist-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 24px;
  margin-top: 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.dist-list span { padding: 6px 0; border-top: 1px solid #2A2A26; }
.dist-list a { padding: 6px 0; border-top: 1px solid #2A2A26; text-decoration: none; color: inherit; transition: color .15s; }
.dist-list a:hover { color: var(--accent); }

.dist-right {
  background: var(--accent);
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  border-left: 1px solid var(--bg);
  position: relative;
  overflow: hidden;
}
.dist-cards { display: grid; gap: 12px; }
.dist-card {
  background: var(--bg);
  color: var(--ink);
  text-decoration: none;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--ink);
}
.dist-card .dist-card-img {
  width: 64px; height: 64px;
  flex-shrink: 0;
  background: var(--bg-soft);
  border: 1px solid var(--rule-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.dist-card .dist-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}
  background:
    repeating-linear-gradient(45deg, var(--rule-soft) 0 4px, transparent 4px 10px),
    var(--bg-soft);
  border: 1px solid var(--rule-soft);
}
.dist-card .nm {
  font-family: 'Archivo Black', sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.dist-card .pr {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--mute);
  margin-top: 2px;
}
.dist-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  background: var(--ink);
  color: var(--bg);
  font-family: 'Archivo Black', sans-serif;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  justify-self: start;
  margin-top: 32px;
  border: 1px solid var(--ink);
}
.dist-cta:hover { background: var(--bg); color: var(--ink); }

/* Calculator */
.calc {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.calc-controls {
  display: grid;
  gap: 36px;
}
.calc-field { display: grid; gap: 12px; }
.calc-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  display: flex;
  justify-content: space-between;
}
.calc-label .val { color: var(--ink); }
.opt-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 8px;
}
.opt {
  padding: 14px 12px;
  border: 1px solid var(--rule-soft);
  background: var(--bg);
  color: var(--ink);
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  transition: all .15s ease;
}
.opt:hover { border-color: var(--ink); }
.opt[aria-selected="true"] {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.opt .num { display: block; font-size: 22px; font-family: 'Archivo Black', sans-serif; letter-spacing: -0.02em; margin-bottom: 4px; text-transform: none; }
.opt[aria-selected="true"] .num { color: var(--accent); }

.calc-output {
  background: var(--ink);
  color: var(--bg);
  padding: 40px;
  border: 1px solid var(--ink);
  position: sticky;
  top: 100px;
}
.calc-output .head {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8A8A82;
  display: flex; justify-content: space-between;
  margin-bottom: 24px;
}
.calc-output .price {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(56px, 7vw, 96px);
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.calc-output .price .cur { font-size: 0.4em; vertical-align: 0.5em; color: var(--accent); font-style: italic; }
.calc-output .price .range { color: #8A8A82; font-size: 0.4em; }
.calc-output .meta {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #2A2A26;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
}
.calc-output .meta .k { color: #8A8A82; }
.calc-output .note {
  margin-top: 20px;
  font-size: 14px;
  color: #C9C7BC;
  font-family: 'JetBrains Mono', monospace;
  line-height: 1.5;
}
.calc-output .send {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  background: var(--accent);
  color: var(--ink);
  padding: 18px 22px;
  font-family: 'Archivo Black', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 14px;
  width: 100%;
  border: 0;
}
.calc-output .send:hover { background: var(--bg); }

/* Gallery */
.gal {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.gal-item {
  background: var(--bg-soft);
  border: 1px solid var(--rule-soft);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.gal-item.lg { grid-column: span 7; aspect-ratio: 7/4.2; }
.gal-item.md { grid-column: span 5; aspect-ratio: 5/4.2; }
.gal-item.sm { grid-column: span 4; aspect-ratio: 4/3.6; }
.gal-img {
  position: absolute; inset: 0;
  display: flex;
  align-items: stretch;
}
.gal-before, .gal-after {
  flex: 1;
  position: relative;
  background: repeating-linear-gradient(45deg, rgba(0,0,0,0.05) 0 6px, transparent 6px 14px);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gal-before { background-color: #B8A88A; color: #2B2B28; }
.gal-after  { background-color: #4A6B5A; color: #F5F4EE; }
.gal-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 4px 8px;
}
.gal-after .gal-tag { background: var(--accent); color: var(--ink); }
.gal-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: #fff;
  pointer-events: none;
}
.gal-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: 22px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
}
html[lang="th"] .gal-title { font-family: 'IBM Plex Sans Thai', sans-serif; font-weight: 700; text-transform: none; font-size: 18px; }
.gal-sub { font-family: 'JetBrains Mono', monospace; font-size: 13px; opacity: 0.85; margin-top: 4px; }
.gal-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  background: var(--accent);
  color: var(--ink);
  padding: 5px 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Reviews */
.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.review {
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: 40px;
  position: relative;
}
.review-quote {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-wrap: pretty;
  margin: 0 0 32px;
}
.review-quote::before {
  content: "“";
  display: block;
  font-family: 'Archivo Black', sans-serif;
  color: var(--accent);
  font-size: 80px;
  line-height: 0.8;
  margin-bottom: 8px;
}
.review-meta {
  display: flex; justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--rule-soft);
}
.review-name {
  font-family: 'Archivo Black', sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.review-stars { color: var(--accent); letter-spacing: 4px; font-size: 14px; }
.review-source { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--mute); text-transform: uppercase; letter-spacing: 0.08em; }

/* Clients */
.clients {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 0;
}
.client {
  border: 1px solid var(--rule-soft);
  margin: -1px 0 0 -1px;
  aspect-ratio: 5/3;
  display: grid;
  place-items: center;
  padding: 0;
  transition: background .2s ease;
}
.client img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter .2s ease, opacity .2s ease;
}
.client:hover { background: var(--bg-soft); }
.client:hover img { filter: grayscale(0); opacity: 1; }
html[data-theme="dark"] .client img { filter: grayscale(1) invert(1) brightness(1.4); }
html[data-theme="dark"] .client:hover img { filter: invert(1) brightness(1.4); }

/* Contact */
.contact {
  background: var(--ink);
  color: var(--bg);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 96px 0;
  align-items: start;
}
.contact-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(56px, 8vw, 120px);
  letter-spacing: -0.04em;
  line-height: 0.88;
  text-transform: uppercase;
  margin: 0;
}
html[lang="th"] .contact-title { font-family: 'IBM Plex Sans Thai', sans-serif; font-weight: 700; text-transform: none; line-height: 1.25; }
.contact-title .accent { color: var(--accent); font-style: italic; white-space: nowrap; }
.contact-card {
  border: 1px solid var(--bg);
  padding: 32px;
  display: grid;
  gap: 20px;
}
.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #2A2A26;
}
.contact-row:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-row .k { font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: #8A8A82; }
.contact-row .v { font-family: 'Archivo Black', sans-serif; font-size: 20px; letter-spacing: -0.01em; }
.contact-actions { display: grid; gap: 12px; margin-top: 8px; }
.cbtn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo Black', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 16px;
  border: 1px solid var(--bg);
  transition: all .15s ease;
}
.cbtn:hover { background: var(--accent); color: var(--ink); }
.cbtn.line { background: #06C755; color: #fff; }
.cbtn.line:hover { background: var(--accent); color: var(--ink); }

/* Footer */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--rule);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
}
.footer h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.footer li a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-soft);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.footer-bottom .accent { color: var(--accent); }
.footer-mega {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(80px, 16vw, 280px);
  letter-spacing: -0.04em;
  line-height: 0.85;
  margin-top: 24px;
  text-transform: uppercase;
  color: var(--ink);
}
.footer-mega .accent { color: var(--accent); font-style: italic; }

/* LINE widget */
.line-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.line-bubble {
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 16px 20px;
  max-width: 280px;
  font-size: 14px;
  line-height: 1.4;
  position: relative;
  transform-origin: bottom right;
  animation: bubble-in .4s ease forwards;
  box-shadow: 6px 6px 0 var(--ink);
}
@keyframes bubble-in {
  0% { opacity: 0; transform: translateY(10px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.line-bubble .meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 6px;
}
.line-bubble .close {
  position: absolute;
  top: 6px; right: 8px;
  background: none; border: 0;
  font-size: 16px;
  color: var(--mute);
}
.line-fab {
  width: 64px; height: 64px;
  background: #06C755;
  border: 1px solid var(--ink);
  color: #fff;
  display: grid; place-items: center;
  font-family: 'Archivo Black', sans-serif;
  font-size: 16px;
  letter-spacing: -0.02em;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform .15s ease;
  cursor: pointer;
}
.line-fab:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }

/* ============================================================ */
/* TOOLS PAGE                                                   */
/* ============================================================ */

/* Tools Hero */
.thero {
  padding: 56px 0 0;
}
.thero-eyebrow {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 32px;
}
.thero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: end;
  border-top: 1px solid var(--rule);
  padding-top: 48px;
}
.thero-img {
  position: relative;
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg) 100%);
  border: 1px solid var(--rule);
  display: grid;
  place-items: center;
  padding: 40px;
}
.thero-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.18));
}
.thero-tag {
  position: absolute;
  top: -1px; left: -1px;
  background: var(--accent);
  color: var(--ink);
  padding: 10px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.thero-tag .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--ink);
}
.thero-price-tag {
  position: absolute;
  bottom: -1px; right: -1px;
  background: var(--ink);
  color: var(--bg);
  padding: 18px 22px;
  font-family: 'Archivo Black', sans-serif;
  font-size: 24px;
  letter-spacing: -0.02em;
  border: 1px solid var(--ink);
}
.thero-price-tag .cur { color: var(--accent); font-style: italic; font-size: 0.65em; vertical-align: 0.2em; margin-right: 4px; }
.thero-price-tag small { display: block; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.1em; color: #8A8A82; font-weight: 400; margin-top: 4px; font-style: normal; }

.thero-info {
  padding-bottom: 0;
}
.thero-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.thero-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(64px, 9vw, 144px);
  letter-spacing: -0.04em;
  line-height: 0.88;
  text-transform: uppercase;
  margin: 0;
}
html[lang="th"] .thero-title { font-family: 'Archivo Black', sans-serif; }
.thero-title .accent { color: var(--accent); font-style: italic; }
.thero-sub {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.4;
  max-width: 36ch;
  color: var(--ink-soft);
  margin: 32px 0 0;
  text-wrap: pretty;
}
.thero-specs {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}
.thero-specs-head {
  grid-column: span 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 4px;
}
.thero-spec {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-top: 1px solid var(--rule-soft);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}
.thero-spec .k { color: var(--mute); text-transform: uppercase; letter-spacing: 0.06em; }
.thero-spec .v { color: var(--ink); font-weight: 500; text-align: right; }
.thero-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}
.thero-cta {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  font-family: 'Archivo Black', sans-serif;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: #06C755;
  color: #fff;
  transition: transform .15s ease;
}
.thero-cta:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.thero-cta.secondary {
  background: var(--bg);
  color: var(--ink);
}
.thero-cta.secondary:hover { background: var(--ink); color: var(--bg); }

/* Catalog grid */
.catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.pcard {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--bg);
  transition: background .2s ease;
}
@media (hover: hover) { .pcard:hover { background: var(--bg-soft); } }
.pcard-img {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--paper);
  padding: 32px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--rule-soft);
}
.pcard-img img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  transition: transform .3s ease;
}
@media (hover: hover) { .pcard:hover .pcard-img img { transform: scale(1.04); } }
.pcard-tags {
  position: absolute;
  top: 16px; left: 16px;
  display: flex; gap: 6px;
}
.pcard-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--rule);
}
.pcard-tag.best { background: var(--accent); border-color: var(--ink); color: var(--ink); }
.pcard-tag.stock { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pcard-cat {
  position: absolute;
  top: 16px; right: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.pcard-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}
.pcard-sku {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.pcard-name {
  font-family: 'Archivo Black', sans-serif;
  font-size: 26px;
  letter-spacing: -0.025em;
  line-height: 1.0;
  text-transform: uppercase;
}
.pcard-tagline {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.45;
  flex: 1;
}
.pcard-foot {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid var(--rule-soft);
}
.pcard-price {
  font-family: 'Archivo Black', sans-serif;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.pcard-price .cur { color: var(--accent); font-style: italic; font-size: 0.6em; vertical-align: 0.3em; margin-right: 2px; }
.pcard-price small { display: block; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.08em; color: var(--mute); font-weight: 400; text-transform: uppercase; margin-top: 2px; font-style: normal; }
.pcard-price.tba {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.pcard-cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--ink);
  transition: all .15s ease;
}
.pcard-cta:hover { background: var(--ink); color: var(--bg); }

/* Filter strip */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.filter-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 16px;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--rule-soft);
  cursor: pointer;
  transition: all .15s ease;
}
.filter-chip:hover { border-color: var(--ink); }
.filter-chip[aria-selected="true"] {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.filter-chip .count { opacity: 0.6; margin-left: 8px; }

/* Match / recommender */
.match {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.match-controls { display: grid; gap: 32px; }
.match-rec {
  background: var(--ink);
  color: var(--bg);
  padding: 0;
  position: sticky;
  top: 100px;
  border: 1px solid var(--ink);
  min-height: 480px;
  display: flex;
  flex-direction: column;
}
.match-rec-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid #2A2A26;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8A8A82;
}
.match-rec-head .ldot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse-small 1.8s infinite;
}
.match-rec-img {
  flex: 1;
  background: var(--paper);
  padding: 40px;
  display: grid; place-items: center;
  position: relative;
  min-height: 240px;
}
.match-rec-img img { max-width: 100%; max-height: 280px; object-fit: contain; }
.match-rec-info {
  padding: 28px 32px;
  background: var(--ink);
  display: grid;
  gap: 16px;
}
.match-rec-name {
  font-family: 'Archivo Black', sans-serif;
  font-size: 32px;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  line-height: 1;
}
.match-rec-tagline { color: #C9C7BC; font-size: 14px; line-height: 1.5; }
.match-rec-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #2A2A26;
}
.match-rec-price {
  font-family: 'Archivo Black', sans-serif;
  font-size: 22px;
}
.match-rec-price .cur { color: var(--accent); font-style: italic; font-size: 0.7em; vertical-align: 0.2em; margin-right: 2px; }
.match-rec-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 8px;
}
.match-rec-empty {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 60px 40px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: #8A8A82;
  line-height: 1.6;
}

/* Moat */
.moat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.moat-item {
  padding: 40px 32px 32px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.moat-item:last-child { border-right: 0; }
.moat-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.moat-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: 22px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 16px;
}
html[lang="th"] .moat-title { text-transform: none; font-family: 'IBM Plex Sans Thai', sans-serif; font-weight: 700; }
.moat-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }

/* Order steps */
.order {
  background: var(--ink);
  color: var(--bg);
  padding: 96px 0;
}
.order-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  align-items: start;
}
.order-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(48px, 7vw, 96px);
  letter-spacing: -0.04em;
  line-height: 0.88;
  text-transform: uppercase;
  margin: 0;
}
html[lang="th"] .order-title { font-family: 'IBM Plex Sans Thai', sans-serif; font-weight: 700; text-transform: none; line-height: 1.0; }
.order-title .accent { color: var(--accent); font-style: italic; }
.order-steps {
  display: grid;
  gap: 0;
}
.order-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid #2A2A26;
  align-items: baseline;
}
.order-step:last-child { border-bottom: 1px solid #2A2A26; }
.order-step-num {
  font-family: 'Archivo Black', sans-serif;
  font-size: 56px;
  color: var(--accent);
  line-height: 0.9;
}
.order-step-content { display: grid; gap: 8px; }
.order-step-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: 24px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
html[lang="th"] .order-step-title { font-family: 'IBM Plex Sans Thai', sans-serif; font-weight: 700; text-transform: none; }
.order-step-desc { color: #C9C7BC; font-size: 15px; line-height: 1.5; }
.order-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: #06C755;
  color: #fff;
  font-family: 'Archivo Black', sans-serif;
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid #fff;
  margin-top: 32px;
  min-width: 360px;
  transition: transform .15s ease;
}
.order-cta:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--bg); }

@media (max-width: 900px) {
  .thero-grid { grid-template-columns: 1fr; }
  .catalog { grid-template-columns: 1fr; }
  .match { grid-template-columns: 1fr; }
  .match-rec { position: relative; top: 0; }
  .moat-grid { grid-template-columns: 1fr 1fr; }
  .moat-item:nth-child(odd) { border-right: 1px solid var(--rule); }
  .moat-item:nth-child(even) { border-right: 0; }
  .order-grid { grid-template-columns: 1fr; }
  .order-cta { min-width: 0; width: 100%; }
}
@media (max-width: 700px) {
  .moat-grid { grid-template-columns: 1fr; }
  .moat-item { border-right: 0 !important; }
  .catalog { grid-template-columns: 1fr !important; }
  /* Catalog cards — full width on phone */
  .wrap { padding: 0 16px; }
  .pcard-img { aspect-ratio: 16/9; padding: 20px 40px; }
  .pcard-body { padding: 20px; gap: 10px; }
  .pcard-name { font-size: 24px; }
  .pcard-price { font-size: 26px; }
  .pcard-foot { flex-wrap: wrap; gap: 10px; align-items: center; }
  .pcard-cta { flex-shrink: 0; }
  /* Filters: scrollable row on mobile */
  .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; }
  .filter-chip { flex-shrink: 0; scroll-snap-align: start; }
}
@media (min-width: 900px) and (max-width: 1100px) {
  .catalog { grid-template-columns: 1fr 1fr; }
}

/* responsive */
@media (max-width: 900px) {
  .hero-row2 { grid-template-columns: 1fr; }
  .hero-actions { justify-self: stretch; min-width: 0; }
  .hero-badge { width: 120px; height: 120px; font-size: 18px; right: 16px; top: 60px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .section-head { grid-template-columns: 1fr; gap: 12px; }
  .section-kicker { text-align: left; max-width: none; }
  .service-row { grid-template-columns: 40px 1fr; gap: 12px; }
  .service-row > :nth-child(3), .service-row > :nth-child(4) { grid-column: 2; }
  /* Fix overflow: grid children must not expand beyond 1fr */
  .service-row > * { min-width: 0; }
  /* Kill hover negative-margin on touch — it causes horizontal scroll */
  .service-row:hover { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
  /* Tag cell: clip & right-align safely */
  .service-row > :nth-child(4) { overflow: hidden; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--rule-soft); }
  .stat:nth-child(odd) { border-right: 1px solid var(--rule-soft); }
  .dist-inner { grid-template-columns: 1fr; }
  .dist-left, .dist-right { padding: 40px 24px; }
  .calc { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .clients { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gal-item.lg, .gal-item.md, .gal-item.sm { grid-column: span 12; aspect-ratio: 16/10; }
}


/* ── Product detail page ──────────────────────────────── */
.ppage { padding-bottom: 120px; }

.ppage-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  flex-wrap: wrap;
  gap: 12px;
}
.ppage-back {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0;
  transition: opacity .15s;
}
.ppage-back:hover { opacity: .5; }
.ppage-nav-tags {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ppage-nav-sku {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}

.ppage-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-top: 64px;
  padding-bottom: 72px;
  align-items: start;
}
.ppage-img {
  aspect-ratio: 1;
  background: var(--bg-soft);
  border: 1px solid var(--rule-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ppage-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 48px;
}
.ppage-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 16px;
}
.ppage-name {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(32px, 4vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 20px;
}
.ppage-tagline {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 16px;
}
.ppage-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--mute);
  margin: 0 0 40px;
}
.ppage-price-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.ppage-price {
  font-family: 'Archivo Black', sans-serif;
  font-size: 36px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.ppage-price .cur { font-size: 22px; opacity: .55; margin-right: 2px; }
.ppage-price small {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  margin-left: 10px;
}
.ppage-price.tba {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}
.ppage-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 28px;
  transition: opacity .15s;
}
.ppage-cta:hover { opacity: .85; }

.ppage-specs {
  border-top: 1px solid var(--rule);
  padding-top: 48px;
}
.ppage-specs-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 24px;
}
.ppage-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.ppage-spec {
  border: 1px solid var(--rule-soft);
  margin: -1px 0 0 -1px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ppage-spec .k {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.ppage-spec .v {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 900px) {
  .ppage-hero { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 480px) {
  .ppage-name { font-size: 32px; }
  .ppage-price { font-size: 28px; }
}

/* ── Calculator location inputs ──────────────────────────── */
.calc-addr-row {
  display: flex;
}
.calc-addr-input {
  flex: 1;
  min-width: 0;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-right: none;
  color: var(--ink);
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .15s;
}
.calc-addr-input::placeholder { color: var(--mute); opacity: .7; }
.calc-addr-input:focus { border-color: var(--ink); }
html[data-theme="dark"] .calc-addr-input { background: var(--bg-soft); }
.opt-sm {
  flex-shrink: 0;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .15s;
}
.opt-sm:hover { opacity: .75; }
.opt-sm:disabled { opacity: .35; cursor: default; }
.calc-gps-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mute);
  padding: 10px 0 4px;
  text-align: left;
  display: block;
  transition: color .15s;
}
.calc-gps-btn:hover { color: var(--ink); }
.calc-geo-err {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #e55;
  margin-top: 6px;
  letter-spacing: 0.02em;
}

/* ── Pipe length slider ──────────────────────────────── */
.pipe-slider-wrap { padding: 4px 0 0; }
.pipe-slider {
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(to right,
    var(--accent) var(--pfill, 0%),
    var(--rule) var(--pfill, 0%)
  );
  outline: none;
  cursor: pointer;
  margin: 14px 0 8px;
  border-radius: 0;
}
.pipe-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  background: var(--ink);
  border: 3px solid var(--bg);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--ink);
  cursor: grab;
  transition: transform .1s;
}
.pipe-slider::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }
.pipe-slider::-moz-range-thumb {
  width: 14px; height: 14px;
  background: var(--ink);
  border: none;
  border-radius: 50%;
  cursor: grab;
}
.pipe-ticks {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--mute);
  letter-spacing: 0;
  padding: 0 0 4px;
  transition: color .15s;
}

/* ── Leaflet map ─────────────────────────────────────── */
.calc-map {
  height: 280px;
  margin-top: 14px;
  border: 1px solid var(--rule);
  position: relative;
  z-index: 0;
}
.calc-map-hint {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--mute);
  margin-top: 8px;
  text-align: center;
}
.map-pin-co {
  width: 18px; height: 18px;
  background: var(--accent, #f26e23);
  border: 2.5px solid #fff;
  border-radius: 3px;
  transform: rotate(45deg);
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.map-pin-cust {
  width: 22px; height: 22px;
  background: #1a56db;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
  cursor: grab;
}
html[data-theme="dark"] .map-pin-co { border-color: var(--ink); }
html[data-theme="dark"] .map-pin-cust { border-color: #222; }


/* ══════════════════════════════════════════════════════════ */
/* MOBILE RESPONSIVE ADDITIONS                               */
/* ══════════════════════════════════════════════════════════ */

/* ── Utility bar: hide phone link on phones (it's in nav CTA) ── */
@media (max-width: 540px) {
  .ubar-right a[href^="tel"],
  .ubar-right a[href^="tel"] + .sep { display: none; }
  .ubar-inner { gap: 12px; }
}

/* ── Nav: shrink on very narrow screens ── */
@media (max-width: 420px) {
  .nav-inner { height: 60px; }
  .logo { font-size: 15px; gap: 7px; }
  .logo-mark { width: 30px; height: 30px; }
  .nav-cta { padding: 8px 10px; font-size: 12px; gap: 6px; }
  .nav-cta span:last-child { display: none; }
}
@media (max-width: 330px) {
  .logo > span:last-child { display: none; }
}

/* ── Nav hamburger & mobile menu ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 36px; height: 36px;
  background: none;
  border: 1px solid var(--rule);
  cursor: pointer;
  padding: 10px 8px;
  flex-shrink: 0;
  transition: background .15s, border-color .15s;
}
.nav-hamburger span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: transform .22s ease, opacity .22s ease;
  transform-origin: center;
}
.nav-hamburger.open { background: var(--ink); border-color: var(--ink); }
.nav-hamburger.open span { background: var(--bg); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(5.75px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-5.75px) rotate(-45deg); }
@media (max-width: 760px) { .nav-hamburger { display: flex; } }

.nav-mobile-menu {
  background: var(--bg);
  border-bottom: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
  animation: menu-drop .18s ease;
}
@keyframes menu-drop {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-mobile-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid var(--rule-soft);
  color: var(--ink);
  transition: background .1s;
}
.nav-mobile-menu a:hover, .nav-mobile-menu a:active { background: var(--bg-soft); }
.nav-mobile-menu .nav-mobile-cta {
  background: var(--accent);
  color: var(--ink);
  border-bottom: none;
  font-family: 'Archivo Black', sans-serif;
  font-size: 14px;
}
.nav-mobile-menu .nav-mobile-cta:hover { opacity: .9; background: var(--accent) !important; }
html[data-theme="dark"] .nav-mobile-menu { background: var(--bg); border-color: var(--rule); }

/* ── Catalog: 2-column on tablet only (700–900px), single column on phones ── */
@media (min-width: 700px) and (max-width: 900px) {
  .catalog { grid-template-columns: 1fr 1fr !important; }
}

/* ── Option rows: max 2 columns on small screens ──
   Overrides inline style={{ gridTemplateColumns }} from JSX */
@media (max-width: 540px) {
  .opt-row { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ── Small phone: ≤ 480px ── */
@media (max-width: 480px) {

  /* Layout — extra breathing room on narrow phones */
  .wrap { padding: 0 24px; }
  .section { padding-top: 44px; padding-bottom: 44px; }
  .section-head { margin-bottom: 24px; gap: 8px; }
  /* Section number indent */
  .section-num { padding-left: 2px; letter-spacing: 0.04em; }

  /* Hero */
  .hero-badge { width: 88px; height: 88px; font-size: 16px; right: 8px; top: 52px; }
  .contact-bar { padding: 18px 18px; }

  /* Services */
  .service-row { padding: 20px 0; }

  /* Stats — shrink number so "10,000" fits in a 50% column */
  .stat-num { font-size: clamp(30px, 9vw, 44px); }
  .stats { overflow: hidden; }
  .stat { padding: 24px 14px; }

  /* Distributor */
  .dist-left { padding: 36px 20px; }
  .dist-right { padding: 28px 20px; }
  .dist-list { grid-template-columns: 1fr; }
  .dist-card { padding: 12px; gap: 10px; }
  .dist-card .dist-card-img { width: 48px; height: 48px; }
  .dist-cta { margin-top: 20px; }

  /* Calculator */
  .calc { gap: 0; }
  .calc-controls { padding: 0 4px; }
  .calc-output {
    position: static;
    padding: 28px 24px;
    margin-top: 32px;
  }
  .calc-output .price { font-size: clamp(48px, 12vw, 72px); }
  .calc-output .meta { gap: 8px; font-size: 13px; }
  .calc-map { height: 220px; }

  /* Reviews */
  .review { padding: 24px 18px; }

  /* Clients: keep at 2 cols */
  .clients { grid-template-columns: repeat(2, 1fr); }

  /* Contact section */
  .contact-inner { padding: 40px 0 !important; }
  .contact-title { font-size: 52px !important; }
  .contact-card { padding: 20px 18px; }
  .contact-row .v { font-size: 16px; }
  .cbtn { padding: 18px 16px; font-size: 14px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr !important; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-mega { font-size: 44px; overflow: hidden; }

  /* ── Tools page ── */

  /* Tools hero — prevent title overflow on narrow screens */
  .thero-title { font-size: 52px !important; line-height: 0.92; }
  .thero-img { padding: 24px; }
  .thero-price-tag { font-size: 18px; padding: 12px 14px; }
  .thero-actions { flex-direction: column; }
  .thero-cta { width: 100%; box-sizing: border-box; }

  /* Product detail */
  .ppage-hero { gap: 24px; padding-top: 32px; padding-bottom: 36px; }
  .ppage-img img { padding: 24px; }
  .ppage-name { font-size: 28px !important; }
  .ppage-price-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ppage-cta { width: 100%; box-sizing: border-box; justify-content: center; }
  .ppage-specs { padding-top: 28px; }
  .ppage-nav { flex-wrap: wrap; gap: 8px; padding: 14px 0; }
  .ppage-nav-tags { flex-wrap: wrap; gap: 6px; }

  /* Order steps */
  .order { padding: 56px 0; }
  .order-step { grid-template-columns: 48px 1fr; gap: 14px; padding: 20px 0; }
  .order-step-num { font-size: 40px; }

  /* LINE widget */
  .line-widget { right: 14px; bottom: 14px; }
  .line-bubble { max-width: 240px; font-size: 13px; }
  .line-fab { width: 52px; height: 52px; font-size: 13px; box-shadow: 4px 4px 0 var(--ink); }
}
/* Override leaflet popup for dark mode */
html[data-theme="dark"] .leaflet-popup-content-wrapper,
html[data-theme="dark"] .leaflet-popup-tip { background: var(--bg-soft); color: var(--ink); }

/* ============================================================ */
/* PRICING PAGE                                                  */
/* ============================================================ */

.pr-hero {
  padding: 56px 0 72px;
  border-bottom: 1px solid var(--rule);
}
.pr-eyebrow {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 28px;
}
.pr-hero-title {
  font-size: clamp(56px, 10vw, 160px);
  margin: 0 0 0;
  line-height: 0.88;
}
.pr-hero-sub {
  font-size: clamp(18px, 2vw, 26px);
  color: var(--ink-soft);
  max-width: 52ch;
  margin-top: 32px;
  line-height: 1.4;
  font-weight: 500;
  text-wrap: pretty;
}
.pr-starting {
  display: inline-flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 40px;
  padding: 28px 36px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
}
.pr-starting-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8A8A82;
}
.pr-starting-price {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(48px, 7vw, 96px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
}
.pr-starting-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #8A8A82;
  letter-spacing: 0.04em;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pr-starting-note::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Sections */
.pr-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--rule);
}
.pr-section-head {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 48px;
}
.pr-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--mute);
  letter-spacing: 0.08em;
  padding-top: 6px;
}
.pr-section-title {
  font-size: clamp(36px, 5vw, 72px);
  margin: 0;
  line-height: 0.92;
}

/* Slot table */
.slot-table {
  display: grid;
  gap: 0;
  border: 1px solid var(--rule);
}
.slot-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 28px 32px;
  border-bottom: 1px solid var(--rule-soft);
  gap: 32px;
  transition: background .15s;
}
.slot-row:last-child { border-bottom: 0; }
.slot-row:hover { background: var(--bg-soft); }
.slot-row.highlight { background: var(--ink); color: var(--bg); }
.slot-row.highlight:hover { background: var(--ink-soft); }
.slot-label {
  font-family: 'Archivo Black', 'IBM Plex Sans Thai', sans-serif;
  font-size: clamp(20px, 2.5vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.0;
  text-transform: uppercase;
}
html[lang="th"] .slot-label { text-transform: none; font-family: 'IBM Plex Sans Thai', sans-serif; font-weight: 700; }
.slot-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--mute);
  margin-top: 4px;
  letter-spacing: 0.04em;
}
.slot-row.highlight .slot-sub { color: #8A8A82; }
.slot-price {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}
.slot-price .cur { color: var(--accent); font-style: italic; font-size: 0.55em; vertical-align: 0.3em; margin-right: 4px; }
.slot-row.highlight .slot-price .cur { color: var(--accent); }
.slot-price-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
  margin-top: 4px;
}
.slot-row.highlight .slot-price-note { color: #8A8A82; }

/* Point system */
.point-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
}
.point-cell {
  padding: 40px 36px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.point-cell:nth-child(even) { border-right: 0; }
.point-cell:nth-last-child(-n+2) { border-bottom: 0; }
.point-n {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--accent);
}
.point-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 10px;
}
.point-desc {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-top: 10px;
}

/* Exception callout */
.exception-box {
  border: 2px solid var(--ink);
  padding: 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
  background: var(--bg-soft);
}
.exception-icon {
  font-family: 'Archivo Black', sans-serif;
  font-size: 48px;
  line-height: 1;
  color: var(--accent);
  padding-top: 4px;
}
.exception-title {
  font-family: 'Archivo Black', 'IBM Plex Sans Thai', sans-serif;
  font-size: clamp(22px, 3vw, 36px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 16px;
}
html[lang="th"] .exception-title { text-transform: none; font-family: 'IBM Plex Sans Thai', sans-serif; font-weight: 700; }
.exception-body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 72ch;
}
.exception-prices {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.exception-price-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 10px 20px;
  border: 1px solid var(--rule);
  background: var(--paper);
  display: flex;
  gap: 10px;
  align-items: center;
}
.exception-price-pill strong {
  font-family: 'Archivo Black', sans-serif;
  font-size: 22px;
  letter-spacing: -0.02em;
}

/* Travel */
.travel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
}
.travel-cell {
  padding: 40px 36px;
  border-right: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.travel-cell:last-child { border-right: 0; }
.travel-cell.free { background: var(--accent); color: var(--ink); }
.travel-zone {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 16px;
}
.travel-price {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(40px, 5.5vw, 80px);
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.travel-desc {
  font-size: 15px;
  margin-top: 16px;
  opacity: 0.8;
  line-height: 1.5;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* Warranty */
.warranty-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 56px;
  padding: 40px 0;
  border-top: 1px solid var(--rule-soft);
  align-items: start;
}
.warranty-row:first-child { border-top: 0; padding-top: 0; }
.warranty-n {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(56px, 7vw, 96px);
  letter-spacing: -0.04em;
  line-height: 0.88;
  color: var(--accent);
}
.warranty-n span {
  display: block;
  font-size: 0.3em;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.12em;
  color: var(--mute);
  margin-top: 4px;
}
.warranty-title {
  font-family: 'Archivo Black', 'IBM Plex Sans Thai', sans-serif;
  font-size: clamp(22px, 2.8vw, 36px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 14px;
  line-height: 1;
}
html[lang="th"] .warranty-title { text-transform: none; font-family: 'IBM Plex Sans Thai', sans-serif; font-weight: 700; }
.warranty-body {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 66ch;
}
.warranty-excl {
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid var(--rule-soft);
  background: var(--bg-soft);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--mute);
  letter-spacing: 0.02em;
  line-height: 1.6;
  display: inline-flex;
  gap: 10px;
  align-items: flex-start;
}
.warranty-excl::before { content: '↳'; color: var(--accent); flex-shrink: 0; margin-top: 1px; }

/* VAT strip */
.vat-strip {
  background: var(--ink);
  color: var(--bg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 72px;
  border: 1px solid var(--ink);
}
.vat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8A8A82;
  margin-bottom: 8px;
}
.vat-text {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(22px, 3vw, 40px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
}
html[lang="th"] .vat-text { font-family: 'IBM Plex Sans Thai', sans-serif; font-weight: 700; text-transform: none; }
.vat-pct {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(56px, 8vw, 112px);
  letter-spacing: -0.04em;
  line-height: 0.88;
  color: var(--accent);
}

/* CTA section */
.pr-cta {
  padding: 96px 0;
}
.pr-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.pr-cta-title {
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.9;
  margin: 0;
}
.pr-cta-btns {
  display: grid;
  gap: 12px;
}

@media (max-width: 760px) {
  .slot-row { grid-template-columns: 1fr; gap: 12px; }
  .slot-price { text-align: left; }
  .point-grid { grid-template-columns: 1fr; }
  .point-cell { border-right: 0 !important; border-bottom: 1px solid var(--rule) !important; }
  .point-cell:last-child { border-bottom: 0 !important; }
  .exception-box { grid-template-columns: 1fr; gap: 16px; }
  .travel-grid { grid-template-columns: 1fr; }
  .travel-cell { border-right: 0; border-bottom: 1px solid var(--rule); }
  .travel-cell:last-child { border-bottom: 0; }
  .warranty-row { grid-template-columns: 1fr; gap: 16px; }
  .pr-cta-inner { grid-template-columns: 1fr; }
  .vat-strip { flex-direction: column; align-items: flex-start; gap: 16px; }
  .pr-starting { flex-direction: column; gap: 8px; }
}
