:root {
  --ink: #111827;
  --muted: #64748b;
  --soft: #f4f7fb;
  --paper: #ffffff;
  --line: #dfe5ee;
  --line-soft: #ecf0f5;
  --yellow: #ffc400;
  --yellow-dark: #e5a900;
  --green: #12a66a;
  --blue: #0f64d8;
  --navy: #0b1626;
  --radius: 8px;
  --shadow: 0 14px 36px rgba(15, 23, 42, .10);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Inter, Arial, "Noto Sans Thai", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 74px;
  padding: 12px 56px;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
  color: #b98300;
  font-size: 19px;
  font-weight: 850;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
}

.desktop-nav a:hover {
  color: var(--blue);
}

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

.language-menu {
  position: relative;
}

.language-trigger {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7f9fc;
  color: #334155;
}

.language-trigger svg {
  width: 20px;
  height: 20px;
}

.language-options {
  position: absolute;
  z-index: 80;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  min-width: 112px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease;
}

.language-menu.is-open .language-options {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-options button {
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #334155;
  font-weight: 850;
  text-align: left;
}

.language-options button.is-active {
  background: var(--yellow);
  color: #111827;
}

.header-cta,
.primary-btn,
.ghost-btn,
.small-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  font-weight: 900;
  white-space: nowrap;
}

.header-cta {
  min-height: 42px;
  padding: 0 16px;
  background: var(--yellow);
  color: #111827;
  box-shadow: 0 8px 18px rgba(255, 196, 0, .28);
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}

.mobile-panel {
  position: fixed;
  z-index: 39;
  top: 78px;
  left: 14px;
  right: 14px;
  display: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.mobile-panel.is-open {
  display: grid;
}

.mobile-panel a {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line-soft);
  color: #1f2937;
  font-weight: 850;
}

.mobile-panel a:last-child {
  border-bottom: 0;
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 13, 24, .56) 0%, rgba(6, 13, 24, .30) 46%, rgba(6, 13, 24, .03) 100%),
    linear-gradient(180deg, rgba(6, 13, 24, 0) 0%, rgba(6, 13, 24, .08) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  min-height: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 64px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 640px;
  margin: 0;
  color: #fff;
  font-size: 64px;
  line-height: 1.02;
  font-weight: 950;
}

.hero h1,
.hero .hero-text,
.hero .eyebrow {
  text-shadow: 0 2px 18px rgba(0, 0, 0, .46);
}

.hero-text {
  max-width: 600px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: 19px;
  line-height: 1.72;
  font-weight: 650;
}

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

.primary-btn,
.ghost-btn {
  min-height: 52px;
  padding: 0 18px;
  font-size: 17px;
}

.primary-btn {
  background: var(--yellow);
  color: #111827;
  box-shadow: 0 14px 30px rgba(255, 196, 0, .30);
}

.ghost-btn {
  border: 1px solid rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .10);
  color: #fff;
}

.priority-strip {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 40px));
  margin: -54px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.priority-strip article {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.priority-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: var(--radius);
  background: var(--yellow);
  color: #111827;
}

.priority-strip h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.18;
}

.priority-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
  font-weight: 650;
}

.quick-contact,
.inventory-section,
.process-section,
.about-section,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.quick-contact {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(360px, 1.35fr);
  gap: 22px;
  align-items: center;
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.contact-copy h2,
.section-head h2,
.process-section h2,
.about-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: 38px;
  line-height: 1.1;
  font-weight: 950;
}

.contact-copy p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.contact-action {
  min-width: 0;
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
  color: var(--ink);
  text-align: left;
}

.contact-action svg {
  grid-row: 1 / 3;
}

.contact-action span {
  color: #475569;
  font-size: 13px;
  font-weight: 850;
}

.contact-action strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 16px;
  text-overflow: ellipsis;
}

.contact-action.is-phone {
  border-color: transparent;
  background: var(--yellow);
}

.contact-action.is-wechat {
  border-color: rgba(18, 166, 106, .24);
  background: #eaf8f1;
  color: var(--green);
}

.contact-action.is-line {
  border-color: rgba(18, 166, 106, .24);
  background: #effbf5;
  color: var(--green);
}

.business-hours {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 760;
}

.copy-status {
  grid-column: 1 / -1;
  min-height: 18px;
  margin: -10px 0 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

.inventory-section {
  padding-top: 58px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--blue);
  font-weight: 900;
}

.inventory-tools {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.inventory-tools button {
  min-width: 76px;
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #475569;
  font-weight: 900;
}

.inventory-tools button.is-active {
  background: var(--navy);
  color: var(--yellow);
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.empty-vehicles {
  grid-column: 1 / -1;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--muted);
  font-weight: 800;
}

.vehicle-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}

.vehicle-media {
  position: relative;
  display: grid;
  place-items: center;
  height: 255px;
  overflow: hidden;
  background: #eef3f8;
}

.vehicle-media > img[data-main-image] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.vehicle-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  border-radius: 6px;
  background: var(--yellow);
  color: #111827;
  font-size: 12px;
  font-weight: 950;
}

.vehicle-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.vehicle-body h3 {
  margin: 0;
  color: #111827;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 950;
}

.vehicle-body p {
  margin: 0;
  color: #64748b;
  line-height: 1.58;
  font-weight: 680;
}

.vehicle-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vehicle-meta span {
  padding: 5px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 850;
}

.vehicle-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}

.vehicle-price strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.1;
}

.vehicle-price span {
  color: #7b8797;
  font-size: 12px;
  font-weight: 800;
}

.vehicle-price .is-secondary {
  margin-top: 4px;
}

.vehicle-price .is-secondary strong {
  color: #526071;
  font-size: 15px;
}

.vehicle-price .is-secondary span {
  font-size: 11px;
}

.small-btn {
  min-height: 40px;
  padding: 0 14px;
  background: var(--blue);
  color: #fff;
}

.vehicle-thumbs {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 14px 12px;
  border-top: 1px solid var(--line-soft);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.vehicle-thumbs button {
  flex: 0 0 62px;
  width: 62px;
  height: 50px;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  background: #edf2f7;
}

.vehicle-thumbs button.is-active {
  border-color: var(--blue);
}

.vehicle-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.support-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 54px;
  background: #14243a;
  color: #fff;
}

.support-strip article {
  min-height: 130px;
  padding: 22px;
  background: var(--navy);
}

.support-strip svg {
  color: var(--yellow);
}

.support-strip h3 {
  margin: 12px 0 6px;
  font-size: 20px;
}

.support-strip p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  line-height: 1.5;
  font-weight: 650;
}

.process-section {
  padding-top: 64px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-grid article {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.process-grid span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--yellow-dark);
  font-size: 34px;
  line-height: 1;
  font-weight: 950;
}

.process-grid h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
  font-weight: 650;
}

.about-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: center;
  margin-top: 64px;
  margin-bottom: 50px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.about-image-section {
  display: block;
  overflow: hidden;
  padding: 0;
  background: #07101f;
}

.about-image-section picture {
  display: block;
}

.about-section img {
  width: 100%;
  aspect-ratio: 1.3;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-image-section img {
  display: block;
  width: 100%;
  aspect-ratio: 1672 / 941;
  border-radius: 0;
  object-fit: cover;
}

.about-section p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
  font-weight: 650;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 36px;
  color: var(--muted);
}

.site-footer strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.site-footer a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--blue);
}

.mobile-quickbar {
  display: none;
}

@media (max-width: 1100px) {
  .site-header {
    padding-left: 28px;
    padding-right: 28px;
  }

  .brand {
    min-width: 0;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

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

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

@media (max-width: 760px) {
  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .site-header {
    min-height: 66px;
    gap: 6px;
    padding: 10px 9px;
  }

  .brand {
    flex: 1 1 auto;
    gap: 6px;
    min-width: 0;
    font-size: 18px;
  }

  .brand span {
    display: block;
    width: auto;
    max-width: none;
    overflow: visible;
    font-size: 18px;
    line-height: 1;
    white-space: nowrap;
  }

  .brand img {
    width: 35px;
    height: 35px;
  }

  .header-cta {
    display: none;
  }

  .header-actions {
    flex: 0 0 auto;
    gap: 4px;
  }

  .language-trigger {
    width: 35px;
    height: 35px;
  }

  .language-trigger svg {
    width: 18px;
    height: 18px;
  }

  .language-options {
    top: calc(100% + 7px);
    min-width: 104px;
  }

  .menu-toggle {
    width: 35px;
    height: 35px;
  }

  .mobile-panel {
    top: 70px;
  }

  .hero {
    min-height: 372px;
  }

  .hero-bg {
    object-position: center top;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(6, 13, 24, .06) 0%, rgba(6, 13, 24, .28) 42%, rgba(6, 13, 24, .62) 100%),
      linear-gradient(90deg, rgba(6, 13, 24, .34) 0%, rgba(6, 13, 24, .04) 100%);
  }

  .hero-content {
    width: calc(100% - 32px);
    min-height: 372px;
    justify-content: flex-end;
    padding: 38px 0 26px;
  }

  h1 {
    max-width: 335px;
    font-size: 34px;
    line-height: 1.05;
  }

  .hero-text {
    max-width: 340px;
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.52;
  }

  .hero-actions {
    width: 100%;
    margin-top: 16px;
  }

  .primary-btn,
  .ghost-btn {
    flex: 1 1 150px;
    min-height: 46px;
    padding: 0 12px;
    font-size: 15px;
  }

  .priority-strip {
    width: 100%;
    margin-top: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .priority-strip article {
    display: block;
    min-height: 0;
    padding: 16px 8px;
    border-left: 0;
    border-right: 1px solid var(--line-soft);
    border-top: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
  }

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

  .priority-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
  }

  .priority-strip h2 {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.2;
  }

  .priority-strip p {
    font-size: 11px;
    line-height: 1.4;
  }

  .quick-contact,
  .inventory-section,
  .process-section,
  .about-section,
  .site-footer {
    width: calc(100% - 28px);
  }

  .quick-contact {
    grid-template-columns: 1fr;
    margin-top: 14px;
    padding: 18px;
  }

  .contact-copy h2,
  .section-head h2,
  .process-section h2,
  .about-section h2 {
    font-size: 31px;
  }

  .contact-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .contact-action {
    min-height: 64px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    justify-items: center;
    gap: 4px;
    padding: 10px 6px;
    text-align: center;
  }

  .contact-action svg {
    grid-row: auto;
  }

  .contact-action strong {
    justify-self: center;
    width: 100%;
    font-size: 11px;
  }

  .inventory-section {
    padding-top: 46px;
  }

  .section-head {
    align-items: flex-start;
    margin-bottom: 14px;
  }

  .view-all {
    display: none;
  }

  .inventory-tools {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .vehicle-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 1px 2px 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .vehicle-card {
    flex: 0 0 82vw;
    scroll-snap-align: start;
  }

  .vehicle-media {
    height: 245px;
  }

  .vehicle-body {
    padding: 14px;
  }

  .vehicle-body h3 {
    font-size: 18px;
  }

  .vehicle-body p {
    font-size: 15px;
  }

  .vehicle-thumbs {
    padding: 8px 12px 12px;
  }

  .support-strip {
    grid-template-columns: 1fr 1fr;
    margin-top: 38px;
  }

  .support-strip article {
    min-height: 116px;
    padding: 16px;
  }

  .support-strip h3 {
    font-size: 17px;
  }

  .process-section {
    padding-top: 48px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .process-grid article {
    min-height: 0;
    padding: 18px;
  }

  .process-grid span {
    margin-bottom: 16px;
    font-size: 28px;
  }

  .about-section {
    grid-template-columns: 1fr;
    margin-top: 48px;
    margin-bottom: 34px;
    padding: 16px;
  }

  .about-image-section {
    padding: 0;
  }

  .about-image-section img {
    aspect-ratio: 4 / 3;
    object-position: left center;
  }

  .site-footer {
    display: grid;
    padding-bottom: 24px;
  }

  .mobile-quickbar {
    position: fixed;
    z-index: 60;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    padding: 7px;
    border: 1px solid rgba(15, 23, 42, .14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 14px 36px rgba(15, 23, 42, .18);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(110%);
    transition: opacity .18s ease, transform .18s ease;
  }

  .mobile-quickbar.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-quickbar a,
  .mobile-quickbar button {
    display: grid;
    place-items: center;
    gap: 4px;
    min-height: 54px;
    border: 0;
    border-radius: 6px;
    background: #f1f5f9;
    color: var(--ink);
    font-size: 12px;
    font-weight: 900;
  }

  .mobile-quickbar a:first-child {
    background: var(--yellow);
  }

  .mobile-quickbar button {
    color: var(--green);
  }
}

@media (max-width: 390px) {
  .vehicle-card {
    flex-basis: 86vw;
  }

  .vehicle-media {
    height: 232px;
  }
}

@media (max-width: 360px) {
  .brand span {
    font-size: 16px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .site-header {
    padding-left: 8px;
    padding-right: 8px;
  }
}
