:root {
  --blue: #0b5cab;
  --hero-blue: #064b85;
  --blue-dark: #053e74;
  --heading: #073f73;
  --heading-soft: #0b5cab;
  --body-soft: #50627a;
  --cyan: #19a7ce;
  --red: #ec1c24;
  --ink: #162238;
  --muted: #667085;
  --line: #e6edf5;
  --soft: #f5f8fb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(15, 35, 68, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", "LINE Seed Sans TH", "Anuphan", "IBM Plex Sans Thai", "Noto Sans Thai", "Prompt", system-ui, sans-serif;
  background: var(--white);
}

h1,
h2,
h3 {
  color: var(--heading);
  font-family: "Montserrat", "LINE Seed Sans TH", "Anuphan", "IBM Plex Sans Thai", "Noto Sans Thai", sans-serif;
}

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.topbar {
  color: #dbeafe;
  background: var(--blue-dark);
  font-size: 13px;
}

.topbar__inner,
.dealer-links,
.social-links,
.navbar__inner,
.hero__actions,
.dealer-cta__inner,
.dealer-cta__actions,
.language-switch,
.language-button {
  display: flex;
  align-items: center;
}

.topbar__inner {
  justify-content: flex-end;
  min-height: 38px;
  gap: 16px;
}

.social-links,
.dealer-links {
  gap: 14px;
  flex-wrap: wrap;
}

.topbar__button {
  padding: 6px 12px;
  color: var(--white);
  background: var(--red);
  border-radius: 4px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.topbar__button--line {
  display: inline-grid;
  width: 30px;
  height: 30px;
  padding: 0;
  place-items: center;
  background: transparent;
  border-radius: 0;
}

.topbar__button--line svg {
  width: 28px;
  height: 28px;
  color: var(--white);
  fill: currentColor;
}

.topbar__button--line text {
  fill: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.topbar__button--line:hover {
  background: transparent !important;
  box-shadow: none !important;
  transform: translateY(-2px);
}

.topbar__button:hover {
  background: #d9151c;
  box-shadow: 0 9px 18px rgba(236, 28, 36, 0.28);
  transform: translateY(-2px);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(237, 247, 255, 0.98), rgba(248, 252, 255, 0.98));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.navbar__inner {
  min-height: 76px;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: max-content;
  transition: transform 180ms ease;
}

.brand:hover {
  transform: translateY(-2px);
}

.brand__wordmark {
  display: block;
  color: #064b85;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  line-height: 1;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.brand__wordmark strong,
.brand__wordmark small {
  display: block;
  font-family: inherit;
  font-weight: 900;
  letter-spacing: 0;
}

.brand__wordmark strong {
  font-size: 28px;
}

.brand__wordmark small {
  color: #064b85;
  font-size: 28px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a,
.nav-dropdown-toggle {
  display: block;
  padding: 28px 10px;
  color: var(--heading);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color 180ms ease, transform 180ms ease, text-shadow 180ms ease;
}

.nav-menu > li > a:hover,
.nav-dropdown-toggle:hover,
.has-dropdown.is-open .nav-dropdown-toggle {
  color: var(--heading-soft);
  text-shadow: 0 8px 18px rgba(11, 92, 171, 0.18);
  transform: translateY(-2px);
}

.language-switch {
  gap: 6px;
  padding: 4px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.language-switch:hover {
  border-color: #c8dff4;
  box-shadow: 0 12px 24px rgba(15, 35, 68, 0.1);
  transform: translateY(-2px);
}

.language-button {
  gap: 6px;
  min-height: 34px;
  padding: 6px 9px;
  color: var(--heading);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.language-button.is-active {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 6px 14px rgba(11, 92, 171, 0.22);
}

.flag {
  display: inline-block;
  width: 22px;
  height: 14px;
  border: 1px solid rgba(16, 24, 40, 0.22);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.18);
}

.flag--th {
  background: linear-gradient(
    to bottom,
    #d01c1f 0 16.66%,
    #ffffff 16.66% 33.32%,
    #241d4f 33.32% 66.68%,
    #ffffff 66.68% 83.34%,
    #d01c1f 83.34% 100%
  );
}

.flag--en {
  background:
    linear-gradient(#3c3b6e 0 54%, transparent 54%) 0 0 / 40% 54% no-repeat,
    repeating-linear-gradient(
      to bottom,
      #b22234 0 7.69%,
      #ffffff 7.69% 15.38%
    );
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  min-width: 430px;
  padding: 10px;
  gap: 4px;
  visibility: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  transition: 160ms ease;
}

.dropdown a {
  padding: 10px 12px;
  color: var(--heading);
  border-radius: 5px;
}

.dropdown a:hover {
  color: var(--heading-soft);
  background: var(--soft);
}

.has-dropdown:hover .dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.has-dropdown.is-open .dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 0;
  aspect-ratio: 1672 / 659;
  overflow: hidden;
  color: var(--ink);
  background: #ffffff;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease;
}

.hero-slide[data-slide-href] {
  cursor: pointer;
}

.hero-slide::before {
  position: absolute;
  top: -28.58%;
  right: 0;
  bottom: -14.29%;
  left: 0;
  content: "";
  background:
    radial-gradient(circle at 78% 48%, transparent 0 18%, rgba(11, 92, 171, 0.08) 18.2% 18.6%, transparent 18.8% 29%, rgba(11, 92, 171, 0.055) 29.2% 29.55%, transparent 29.8% 42%, rgba(11, 92, 171, 0.04) 42.2% 42.45%, transparent 42.8%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.5)),
    radial-gradient(circle at 78% 48%, rgba(25, 167, 206, 0.16), transparent 34%),
    linear-gradient(135deg, #ffffff, #eef6fb);
}

.hero-slide--cctv::before {
  background:
    url("assets/CCTV-Symbol-3.png") center / contain no-repeat,
    #ffffff;
}

.hero-slide--solutions::before {
  background:
    url("assets/SOLUTION - HEADER - PRODUCT DETAIL.png") center / contain no-repeat,
    #ffffff;
}

.hero-slide--lan::before {
  background:
    url("assets/NETWORK -SYMBOL.png") center / contain no-repeat,
    #ffffff;
}

.hero-slide--active-lan::before {
  background:
    url("assets/NETWORK - ACTIVE - SYMBOL.png") center / contain no-repeat,
    #ffffff;
}

.hero-slide--wan::before {
  background:
    url("assets/WIDE AREA NETWORK - PRODUCT DETAIL.png") center / contain no-repeat,
    #ffffff;
}

.hero-slide--pbx::before {
  background:
    url("assets/PABX - Symbol.png") center / contain no-repeat,
    #ffffff;
}

.hero-slide--public-address::before {
  background:
    url("assets/PUBLIC ADDRESS - SYMBOL.png") center / contain no-repeat,
    #ffffff;
}

.hero-slide--electrical::before {
  background:
    url("assets/Electric - SYMBOL.png") center / contain no-repeat,
    #ffffff;
}

.hero-slide--fire::before {
  background:
    url("assets/Fire Alarm-SYMBOL.png") center / contain no-repeat,
    #ffffff;
}

.hero-slide--matv::before {
  background:
    url("assets/MATA - SYMBOL.png") center / contain no-repeat,
    #ffffff;
}

.hero-slide--access-control::before {
  background:
    url("assets/ACCESS CONTROL - SYMBOL.png") center / contain no-repeat,
    #ffffff;
}

.hero-slide--hotel-lock::before {
  background:
    url("assets/Hotel Door Lock - SYMBOL.png") center / contain no-repeat,
    #ffffff;
}



.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: none;
  min-height: 300px;
  grid-template-rows: auto 54px auto;
  align-content: center;
  padding-block: 36px;
}

.hero-slide--pbx .hero__content {
  display: none;
  min-height: auto;
  padding-block: 0;
  transform: translateX(5%);
}

.hero-slide--cctv .hero__content {
  display: block;
  min-height: auto;
  padding-block: 0;
  transform: translateX(5%);
}

.hero-slide--active-lan .hero__content {
  display: block;
  min-height: auto;
  padding-block: 0;
  transform: translateX(5%);
}

.hero-slide--lan .hero__content {
  display: block;
  min-height: auto;
  padding-block: 0;
  transform: translateX(5%);
}

.hero-slide--fire .hero__content {
  display: block;
  min-height: auto;
  padding-block: 0;
  transform: translateX(5%);
}

.hero-slide--electrical .hero__content {
  display: block;
  min-height: auto;
  padding-block: 0;
  transform: translateX(5%);
}

.hero-slide--matv .hero__content {
  display: none;
}

.hero-slide--access-control .hero__content {
  display: none;
}

.hero-slide--hotel-lock .hero__content {
  display: none;
}

.hero-slide .hero__content {
  display: none;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--heading-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #78daf0;
}

.hero h1 {
  max-width: 560px;
  margin: 0;
  color: var(--heading);
  font-size: clamp(28px, 3.3vw, 38px);
  line-height: 1.16;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 520px;
  margin: 12px 0 0;
  color: var(--body-soft);
  font-size: 14px;
  line-height: 1.65;
  overflow: hidden;
}

.hero-slide--pbx h1 {
  max-width: 420px;
  color: #173f73;
  font-family: "Montserrat", "LINE Seed Sans TH", "Anuphan", sans-serif;
  font-size: clamp(24px, 2.1vw, 31px);
  font-weight: 500;
  line-height: 1.22;
}

.hero-slide--pbx .hero-kicker {
  margin: 0 0 18px;
  color: #173f73;
  font-family: "Montserrat", "LINE Seed Sans TH", "Anuphan", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 8px;
  line-height: 1.4;
}

.hero-slide--pbx .hero-pbx-title {
  max-width: 430px;
  color: #073f73;
  font-family: "Montserrat", "LINE Seed Sans TH", "Anuphan", sans-serif;
  font-size: 35px;
  font-weight: 500;
  line-height: 1.05;
}

.hero-slide--pbx .hero-pbx-title::after {
  display: block;
  width: 48px;
  height: 2px;
  margin: 20px 0 24px;
  background: #1f70c9;
  content: "";
}

.hero-slide--pbx .hero-lead {
  max-width: 340px;
  margin: 0;
  color: #4f5f76;
  font-family: "Manrope", "LINE Seed Sans TH", "Anuphan", sans-serif;
  font-size: 18px;
  line-height: 1.45;
}

.hero-slide--pbx .hero-note {
  max-width: 360px;
  margin-top: 24px;
  color: #60718a;
  font-family: "Manrope", "LINE Seed Sans TH", "Anuphan", sans-serif;
  font-size: 13px;
  line-height: 1.65;
}

.hero-mini-row {
  display: flex;
  max-width: 390px;
  align-items: center;
  gap: 0;
  margin-top: 28px;
  color: #50627a;
  font-family: "Manrope", "LINE Seed Sans TH", "Anuphan", sans-serif;
  font-size: 13px;
  line-height: 1.3;
}

.hero-mini-row span {
  position: relative;
  display: block;
  min-width: 90px;
  padding: 0 22px 0 34px;
}

.hero-mini-row span:first-child {
  padding-left: 34px;
}

.hero-mini-row span + span {
  border-left: 1px solid rgba(51, 72, 96, 0.22);
}

.hero-mini-row span::before {
  position: absolute;
  top: 1px;
  left: 8px;
  width: 14px;
  height: 14px;
  border: 2px solid #0b68bd;
  border-radius: 50%;
  content: "";
}

.hero-mini-row span + span::before {
  left: 16px;
}

.hero-slide--fire .hero-kicker {
  max-width: 420px;
  margin: 0;
  color: #d71920;
  font-family: "Montserrat", "LINE Seed Sans TH", "Anuphan", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 6px;
  line-height: 1.5;
}

.hero-slide--electrical .hero-kicker {
  max-width: 420px;
  margin: 0;
  color: #0b68bd;
  font-family: "Montserrat", "LINE Seed Sans TH", "Anuphan", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 6px;
  line-height: 1.5;
}

.hero-slide--cctv .hero-kicker {
  max-width: 460px;
  margin: 0;
  color: #0b68bd;
  font-family: "Montserrat", "LINE Seed Sans TH", "Anuphan", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 6px;
  line-height: 1.5;
}

.hero-slide--active-lan .hero-kicker {
  max-width: 520px;
  margin: 0;
  color: #0b68bd;
  font-family: "Montserrat", "LINE Seed Sans TH", "Anuphan", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 6px;
  line-height: 1.5;
}

.hero-slide--lan .hero-kicker {
  max-width: 520px;
  margin: 0;
  color: #0b68bd;
  font-family: "Montserrat", "LINE Seed Sans TH", "Anuphan", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 6px;
  line-height: 1.5;
}

.hero-slide--matv .hero-kicker {
  max-width: 520px;
  margin: 0;
  color: #0b68bd;
  font-family: "Montserrat", "LINE Seed Sans TH", "Anuphan", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 6px;
  line-height: 1.5;
}

.hero-slide--fire .hero-kicker::after,
.hero-slide--electrical .hero-kicker::after,
.hero-slide--cctv .hero-kicker::after,
.hero-slide--active-lan .hero-kicker::after,
.hero-slide--matv .hero-kicker::after {
  display: block;
  width: 78px;
  height: 2px;
  margin: 16px 0 18px;
  content: "";
}

.hero-slide--fire .hero-kicker::after {
  background: #d71920;
}

.hero-slide--electrical .hero-kicker::after {
  width: 32px;
  background: #0b68bd;
}

.hero-slide--cctv .hero-kicker::after {
  width: 42px;
  background: #0b68bd;
}

.hero-slide--active-lan .hero-kicker::after {
  width: 42px;
  background: #0b68bd;
}

.hero-slide--lan .hero-kicker::after {
  width: 42px;
  background: #0b68bd;
}

.hero-slide--matv .hero-kicker::after {
  width: 42px;
  background: #0b68bd;
}

.hero-slide--fire .hero-fire-title {
  max-width: 430px;
  color: #073f73;
  font-family: "Montserrat", "LINE Seed Sans TH", "Anuphan", sans-serif;
  font-size: 35px;
  font-weight: 500;
  line-height: 0.96;
}

.hero-fire-title span {
  display: block;
}

.hero-fire-title__red {
  color: #c10f18;
}

.hero-slide--fire .hero-fire-title::after {
  display: block;
  width: 32px;
  height: 2px;
  margin: 18px 0 16px;
  background: #d71920;
  content: "";
}

.hero-slide--fire .hero-lead {
  max-width: 420px;
  margin: 0;
  color: #274f83;
  font-family: "Manrope", "LINE Seed Sans TH", "Anuphan", sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
}

.hero-slide--fire .hero-note {
  max-width: 390px;
  margin-top: 14px;
  color: #60718a;
  font-family: "Manrope", "LINE Seed Sans TH", "Anuphan", sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

.hero-feature-row {
  display: flex;
  max-width: 540px;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  color: #334860;
  font-family: "Manrope", "LINE Seed Sans TH", "Anuphan", sans-serif;
  font-size: 10px;
  line-height: 1.25;
}

.hero-feature-row span {
  position: relative;
  display: block;
  padding-left: 30px;
}

.hero-feature-row span + span {
  padding-left: 28px;
  border-left: 1px solid rgba(51, 72, 96, 0.24);
}

.hero-feature-row span::before {
  content: none;
}

.hero-feature-row span + span::before {
  content: none;
}

.hero-feature-row svg,
.hero-mini-row svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero-feature-row span + span svg {
  left: 10px;
}

.hero-feature-row strong {
  display: block;
  color: #173f73;
  font-size: 10px;
  font-weight: 800;
}

.hero-slide--electrical .hero-electric-title {
  max-width: 470px;
  color: #173f73;
  font-family: "Montserrat", "LINE Seed Sans TH", "Anuphan", sans-serif;
  font-size: 35px;
  font-weight: 500;
  line-height: 0.98;
}

.hero-electric-title span {
  display: block;
}

.hero-electric-title__blue {
  color: #0b68bd;
}

.hero-slide--electrical .hero-lead {
  max-width: 520px;
  margin-top: 20px;
  color: #60718a;
  font-family: "Manrope", "LINE Seed Sans TH", "Anuphan", sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

.hero-feature-row--blue span::before {
  border-color: #0b68bd;
}

.hero-slide--cctv .hero-cctv-title {
  max-width: 520px;
  color: #173f73;
  font-family: "Montserrat", "LINE Seed Sans TH", "Anuphan", sans-serif;
  font-size: 35px;
  font-weight: 500;
  line-height: 1.06;
}

.hero-cctv-title span {
  display: block;
}

.hero-cctv-title__blue {
  color: #0b68bd;
}

.hero-slide--cctv .hero-lead {
  max-width: 430px;
  margin-top: 22px;
  color: #334860;
  font-family: "Manrope", "LINE Seed Sans TH", "Anuphan", sans-serif;
  font-size: 17px;
  line-height: 1.45;
}

.hero-tagline {
  max-width: 520px;
  margin-top: 32px;
  color: #0b68bd;
  font-family: "Montserrat", "LINE Seed Sans TH", "Anuphan", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 7px;
  line-height: 1.4;
}

.hero-slide--active-lan .hero-network-title {
  max-width: 570px;
  color: #173f73;
  font-family: "Montserrat", "LINE Seed Sans TH", "Anuphan", sans-serif;
  font-size: 35px;
  font-weight: 500;
  line-height: 1.04;
}

.hero-slide--lan .hero-network-title {
  max-width: 640px;
  color: #173f73;
  font-family: "Montserrat", "LINE Seed Sans TH", "Anuphan", sans-serif;
  font-size: 35px;
  font-weight: 500;
  line-height: 1.04;
}

.hero-slide--matv .hero-matv-title {
  max-width: 560px;
  color: #173f73;
  font-family: "Montserrat", "LINE Seed Sans TH", "Anuphan", sans-serif;
  font-size: 35px;
  font-weight: 500;
  line-height: 1.04;
}

.hero-matv-title span {
  display: block;
}

.hero-matv-title__blue {
  color: #0b68bd;
}

.hero-network-title span {
  display: block;
}

.hero-network-title__blue {
  color: #0b68bd;
}

.hero-slide--active-lan .hero-lead {
  max-width: 430px;
  margin-top: 22px;
  color: #334860;
  font-family: "Manrope", "LINE Seed Sans TH", "Anuphan", sans-serif;
  font-size: 17px;
  line-height: 1.45;
}

.hero-slide--lan .hero-lead {
  max-width: 520px;
  margin-top: 22px;
  color: #334860;
  font-family: "Manrope", "LINE Seed Sans TH", "Anuphan", sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

.hero-slide--matv .hero-lead {
  max-width: 470px;
  margin-top: 22px;
  color: #334860;
  font-family: "Manrope", "LINE Seed Sans TH", "Anuphan", sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

.hero-feature-row--network {
  max-width: 620px;
  gap: 16px;
  margin-top: 32px;
}

.hero-feature-row--network span {
  max-width: 128px;
}

.hero__actions {
  align-self: start;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  box-shadow: 0 12px 24px rgba(15, 35, 68, 0.18);
  transform: translateY(-3px);
}

.button--primary {
  color: var(--white);
  background: var(--red);
}

.button--light {
  color: var(--blue-dark);
  background: var(--white);
}

.button--outline {
  color: var(--blue);
  background: var(--white);
  border-color: #bfd3e8;
}

.slider-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--blue-dark);
  font-size: 34px;
  background: rgba(11, 92, 171, 0.08);
  border: 0;
  border-radius: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  opacity: 0.62;
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.slider-control:hover {
  background: rgba(11, 92, 171, 0.14);
  opacity: 1;
  transform: translateY(-50%) scale(1.06);
}

.slider-control--prev {
  left: 20px;
}

.slider-control--next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.slider-dot {
  width: 28px;
  height: 4px;
  padding: 0;
  background: rgba(11, 92, 171, 0.26);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0.72;
  transition: width 180ms ease, opacity 180ms ease, background 180ms ease, transform 180ms ease;
}

.slider-dot:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.slider-dot.is-active {
  width: 42px;
  background: var(--blue);
  opacity: 0.94;
}

.brand-strip {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(248, 252, 255, 0.98), rgba(237, 247, 255, 0.98));
}

.brand-strip__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.brand-strip a {
  display: grid;
  min-height: 58px;
  place-items: center;
  color: var(--heading);
  font-weight: 800;
  background: linear-gradient(180deg, rgba(237, 247, 255, 0.98), rgba(248, 252, 255, 0.98));
  border: 1px solid #d6e8f7;
  border-radius: 6px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, color 180ms ease;
}

.brand-strip a:hover {
  color: var(--heading-soft);
  border-color: #b9d7f1;
  box-shadow: 0 12px 24px rgba(15, 35, 68, 0.12);
  transform: translateY(-4px);
}

.dealer-cta {
  padding: 42px 0;
  color: var(--white);
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
}

.dealer-cta .eyebrow {
  color: var(--white);
  font-family: "Montserrat", "Manrope", "LINE Seed Sans TH", "Anuphan", "IBM Plex Sans Thai", "Noto Sans Thai", sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
}

.dealer-cta h2,
.dealer-cta p {
  margin: 0;
}

.dealer-cta h2 {
  color: var(--white);
  font-family: "Montserrat", "Manrope", "LINE Seed Sans TH", "Anuphan", "IBM Plex Sans Thai", "Noto Sans Thai", sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
}

.dealer-cta p:not(.eyebrow) {
  margin-top: 6px;
  max-width: 840px;
  min-height: 78px;
  color: #dcecff;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
}

.dealer-cta__inner {
  display: grid;
  min-height: 188px;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}

.dealer-cta__copy {
  min-width: 0;
  transform: translateX(5%);
}

.dealer-cta__actions {
  align-items: center;
  flex-direction: column;
  gap: 12px;
  justify-self: center;
  width: 180px;
  padding-right: 0;
}

.social-icons--cta {
  margin-top: 0;
}

.dealer-cta__actions h3 {
  margin: 0;
  color: var(--white);
  font-size: 18px;
  line-height: 1.35;
}

.social-mobile {
  display: block;
  margin: 0;
  color: #dbeafe;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.dealer-cta__actions .social-link {
  display: block;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.dealer-cta__actions .social-link:hover {
  filter: brightness(1.08);
  transform: translateY(-3px);
}

.section {
  padding: 76px 0;
}

.section--muted {
  background: var(--soft);
}

.section__header {
  margin-bottom: 30px;
}

.section__header h2,
.solution h2 {
  margin: 0;
  color: var(--heading);
  font-size: 38px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  scroll-margin-top: 118px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  border-color: #c8dff4;
  box-shadow: 0 18px 34px rgba(16, 24, 40, 0.12);
  transform: translateY(-5px);
}

.product-card[data-card-href] {
  cursor: pointer;
}

.product-card:target {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(236, 28, 36, 0.14), 0 12px 28px rgba(16, 24, 40, 0.08);
}

.brochure-section {
  scroll-margin-top: 96px;
  padding: 64px 0;
  background: linear-gradient(180deg, #ffffff, #f3f8fc);
  border-top: 1px solid var(--line);
}

.brochure-section__inner {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(440px, 1.08fr);
  gap: 42px;
  align-items: start;
}

.brochure-section__copy h2 {
  margin: 0;
  color: var(--heading);
  font-family: "Montserrat", "Manrope", "LINE Seed Sans TH", "Anuphan", "IBM Plex Sans Thai", "Noto Sans Thai", sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.25;
}

.brochure-title {
  line-height: 1.15;
}

.brochure-section__copy p:not(.eyebrow) {
  color: var(--body-soft);
  font-family: "Manrope", "LINE Seed Sans TH", "Anuphan", "IBM Plex Sans Thai", "Noto Sans Thai", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
}

.brochure-contact-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--heading);
  font-family: "Manrope", "LINE Seed Sans TH", "Anuphan", "IBM Plex Sans Thai", "Noto Sans Thai", sans-serif;
  font-size: 17px;
  font-weight: 700;
  transition: color 180ms ease, transform 180ms ease;
}

.brochure-contact-link:hover {
  color: var(--heading-soft);
  transform: translateY(-2px);
}

.brochure-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.brochure-highlight {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(16, 24, 40, 0.1);
}

.brochure-highlight img {
  display: block;
  width: 100%;
  aspect-ratio: 2048 / 829;
  height: auto;
  max-height: none;
  object-fit: cover;
  object-position: center;
  padding: 0;
  background: #f4f7fb;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.brochure-highlight ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.brochure-highlight li {
  position: relative;
  padding-left: 26px;
  color: var(--heading);
  font-family: "Manrope", "LINE Seed Sans TH", "Anuphan", "IBM Plex Sans Thai", "Noto Sans Thai", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

.brochure-highlight li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--red);
  border-radius: 50%;
}

.product-card__image {
  display: block;
  width: 100%;
  height: 176px;
  margin-bottom: 18px;
  object-fit: contain;
  object-position: center;
  padding: 8px;
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.product-card__image--contain {
  height: 190px;
  padding: 8px;
  object-fit: contain;
  object-position: center;
  background: #f7f9fc;
}

.product-card__image--cover {
  height: 202px;
  padding: 0;
  object-fit: cover;
  object-position: center;
}

.product-card__image--access {
  height: 202px;
  padding: 8px;
}

.product-card__image--fire {
  height: 202px;
  padding: 8px;
  object-fit: contain;
}

.product-card__image--hotel {
  height: 202px;
  padding: 8px;
  background: #f7f9fc;
}

.product-card__image--power {
  height: 202px;
  padding: 8px;
}

.product-card__image--matv {
  height: 202px;
  padding: 8px;
  object-fit: contain;
}

.product-card__image--cover {
  height: 202px;
  padding: 0;
  object-fit: cover;
  object-position: center;
}

.product-card h3,
.event-card h3 {
  margin: 0 0 8px;
  color: var(--heading);
  font-size: 20px;
}

.product-card p,
.event-card p,
.solution p {
  color: var(--body-soft);
  line-height: 1.7;
}

.product-card a,
.event-card a {
  color: var(--heading);
  font-weight: 800;
}

.solution {
  padding: 82px 0;
  background:
    linear-gradient(90deg, rgba(5, 62, 116, 0.94), rgba(11, 92, 171, 0.9)),
    linear-gradient(135deg, #0b5cab, #19a7ce);
}

.solution__inner {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  align-items: center;
  gap: 56px;
}

.solution__visual {
  display: grid;
  min-height: 330px;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 20px);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
}

.solution__visual span {
  display: grid;
  width: 150px;
  height: 150px;
  place-items: center;
  color: var(--white);
  font-size: 58px;
  font-weight: 800;
  background: rgba(236, 28, 36, 0.92);
  border-radius: 50%;
}

.solution h2,
.solution p {
  color: var(--white);
}

.solution p {
  max-width: 620px;
  color: #dbeafe;
}

.event-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.event-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.event-card__date {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 6px;
}

.event-card__date strong,
.event-card__date span {
  line-height: 1;
}

.event-card__date strong {
  font-size: 28px;
}

.event-card__date span {
  margin-top: -12px;
  font-weight: 800;
}

.footer {
  scroll-margin-top: 96px;
  color: #dbeafe;
  background: linear-gradient(135deg, #064b85 0%, #0b61a4 100%);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding: 32px 0 24px;
}

.footer h2,
.footer h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 18px;
  line-height: 1.35;
}

.footer a {
  display: block;
  margin: 9px 0;
  color: #c8d6e6;
}

.social-icons {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 12px 18px;
  margin-top: 12px;
}

.footer__social {
  display: flex;
  width: max-content;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer__social .social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}


.footer .social-link {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.footer .social-link:hover {
  filter: brightness(1.08);
  transform: translateY(-3px);
}

.social-link img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.social-link svg {
  display: block;
  width: 32px;
  height: 32px;
  color: var(--white);
  fill: currentColor;
}

.social-link text {
  fill: #07172d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.footer-address {
  margin: 0 0 14px;
  color: #c8d6e6;
  line-height: 1.7;
}

.footer-address span {
  display: block;
}

.footer__bottom {
  padding: 12px 16px;
  color: #b7c8db;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 980px) {
  .topbar__inner,
  .dealer-cta__inner {
    align-items: flex-start;
  }

  .dealer-cta__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .dealer-cta__copy {
    width: 100%;
    transform: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 12px 16px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .nav-menu.is-open {
    display: block;
  }

  .nav-menu > li > a {
    padding: 12px 0;
  }

  .nav-dropdown-toggle {
    width: 100%;
    padding: 12px 0;
    text-align: left;
  }

  .dropdown {
    position: static;
    display: none;
    grid-template-columns: 1fr;
    min-width: 0;
    padding: 4px 0 8px 12px;
    visibility: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
  }

  .has-dropdown:hover .dropdown,
  .has-dropdown.is-open .dropdown {
    display: grid;
  }

  .brand-strip__grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .solution__inner,
  .brochure-section__inner,
  .event-row {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 28px;
  }

  .footer__grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer__social {
    justify-self: center;
  }

}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    min-height: 520px;
    aspect-ratio: auto;
  }

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

  .slider-control {
    display: none;
  }

  .dealer-cta {
    padding: 28px 0;
  }

  .dealer-cta__inner {
    min-height: 0;
    padding: 28px 22px;
    gap: 24px;
  }

  .dealer-cta .eyebrow,
  .dealer-cta h2 {
    max-width: 100%;
    font-size: clamp(24px, 7vw, 30px);
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .dealer-cta p:not(.eyebrow) {
    max-width: 100%;
    min-height: 0;
    font-size: 14px;
    line-height: 1.65;
    overflow-wrap: anywhere;
  }

  .dealer-cta__actions {
    justify-self: start;
    width: 100%;
  }

  .brand-strip__grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .brochure-section__copy h2 {
    font-size: 30px;
    line-height: 1.18;
  }

  .brochure-section__copy p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.7;
  }

  .brochure-highlight {
    padding: 12px;
  }

  .brochure-highlight li {
    font-size: 14px;
    line-height: 1.5;
  }

}
