:root {
  --navy: #082e81;
  --deep: #052466;
  --blue: #1249a5;
  --red: #e5140d;
  --pale: #edf5ff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  font-family: Kanit, "Noto Sans Thai", sans-serif;
  color: #253142;
  font-weight: 400;
}
a {
  text-decoration: none;
}
.container-xl {
  max-width: 1320px;
}
.site-header {
  background: #fff;
  box-shadow: 0 1px 3px #061c4014;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  white-space: normal;
}
.brand-mark {
  display: grid;
  place-items: center;
  font-size: 34px;
  color: #f01410;
  line-height: 1;
}
.brand strong {
  font-size: 21px;
  letter-spacing: -0.6px;
}
.brand small {
  display: block;
  font-size: 9px;
  line-height: 1.1;
  color: #244076;
}
.brand-separator {
  font-weight: 300;
  padding: 0 4px;
}
.navbar-nav .nav-link {
  font-size: 16px;
  color: var(--navy);
  font-weight: 500;
  padding: 20px 4px !important;
  border-bottom: 3px solid transparent;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--navy);
  border-bottom-color: var(--red);
}
.nav-phone {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.nav-phone i {
  background: var(--navy);
  color: white;
  border-radius: 50%;
  padding: 9px;
}
.btn {
  font-weight: 500;
  border-radius: 5px;
}
.btn-danger {
  background: var(--red);
  border-color: var(--red);
}
.btn-danger:hover {
  background: #b80c06;
  border-color: #b80c06;
}
.btn-primary {
  background: var(--navy);
  border-color: var(--navy);
}
.btn-outline-primary {
  border-color: var(--blue);
  color: var(--blue);
}
.btn-quote {
  padding: 11px 24px;
}
.hero {
  background-image: url("https://www.xn--r3cqdh2bc5k4d.net/assets/img/home/home-hero.webp");
  background-position: center right;
  background-size: cover;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 390px;
  position: relative;
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 45px 25px 48px 0;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  mask-image: linear-gradient(90deg, transparent, #000 28%);
}
.home-hero .hero-grid {
  min-height: 400px;
}
.service-hero {
  background-image: url("https://www.xn--r3cqdh2bc5k4d.net/assets/img/service/service-hero.webp");
  background-position: center;
  background-size: cover;
}
.service-hero .hero-grid {
  min-height: 330px;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.4px;
  font-weight: 600;
  color: #3867ad;
  display: block;
  margin-bottom: 6px;
}
.hero h1 {
  color: var(--navy);
  font-weight: 700;
  font-size: clamp(29px, 3vw, 43px);
  line-height: 1.18;
  margin: 7px 0 16px;
}
.hero p {
  max-width: 700px;
  line-height: 1.7;
}
.service-hero .hero-copy {
  grid-column: 1/3;
  max-width: 58%;
}
.service-hero .hero-photo {
  width: 54%;
}
.service-hero h1 {
  font-size: clamp(27px, 2.6vw, 39px);
}
.breadcrumbs {
  color: #7a899e;
  font-size: 12px;
  margin-bottom: 15px;
}
.breadcrumbs a {
  color: #7a899e;
}
.trust-strip {
  background: #edf5ff;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px 0;
}
.trust-grid > div {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
  font-weight: 500;
  color: #102d73;
}
.trust-grid i {
  font-size: 27px;
  color: #174aa8;
}
.section {
  padding: 38px 0;
}
.section h2 {
  color: var(--navy);
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 700;
  line-height: 1.28;
  margin-bottom: 15px;
}
.section p {
  line-height: 1.75;
}
.section-img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-radius: 5px;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}
.feature-grid > div {
  background: #eff6ff;
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-template-rows: auto auto;
  padding: 12px;
  border-radius: 5px;
  align-items: center;
}
.feature-grid i {
  grid-row: span 2;
  color: #2456a8;
  font-size: 24px;
}
.feature-grid b {
  font-size: 15px;
  color: #082e81;
}
.feature-grid small {
  font-size: 11px;
  color: #536275;
}
.text-link {
  color: var(--navy);
  font-weight: 600;
}
.text-link:hover {
  text-decoration: underline;
}
.product-section,
.soft-section,
.faq-section,
.service-page-section {
  background: #edf5ff;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.section-heading h2 small {
  font-size: 12px;
  color: #4f6387;
  font-weight: 400;
}
.product-filters {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.brand-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.filter-btn {
  background: transparent;
  color: #123b84;
  border: 0;
  font-size: 12px;
  padding: 8px 10px;
  font-weight: 500;
  border-radius: 4px;
}
.filter-btn.active {
  background: #0b3287;
  color: #fff;
}
.filter-btn:hover:not(.active) {
  background: #dbeaff;
}
.subcategory-filter {
  width: 180px;
  font-size: 12px;
}
.product-card {
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px #0034770d;
  background: #fff;
  height: 100%;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px #00347720;
}
.product-card img {
  width: 100%;
  object-fit: contain;
  background: #f4f5f7;
}
.product-card-content {
  padding: 12px;
}
.product-card .brand-label {
  font-size: 11px;
  color: #2d60af;
  font-weight: 700;
  text-transform: uppercase;
}
.product-card h3 {
  font-size: 15px;
  color: #0b2f76;
  line-height: 1.3;
  font-weight: 700;
  margin: 3px 0 7px;
  min-height: 39px;
  overflow-wrap: anywhere;
}
.product-card small {
  color: #68778b;
  font-size: 12px;
  display: block;
  min-height: 18px;
}
.product-card .text-link {
  font-size: 12px;
  display: inline-block;
  margin-top: 9px;
}
.pagination-holder {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 20px;
}
.pagination-holder button {
  border: 1px solid #dae6f7;
  background: white;
  border-radius: 3px;
  padding: 6px 12px;
  color: var(--blue);
}
.pagination-holder button.active {
  background: var(--navy);
  color: white;
}
.pagination-holder button:disabled {
  opacity: 0.4;
}
.burner-about .section-img {
  height: 280px;
}
.check-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 500;
}
.check-row i {
  color: var(--red);
  margin-right: 5px;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.brand-grid > div {
  border: 1px solid #cce0f8;
  padding: 17px 7px;
  text-align: center;
  border-radius: 5px;
  color: var(--navy);
}
.brand-grid b {
  font-size: 18px;
  display: block;
}
.brand-grid small {
  display: block;
  color: #65778e;
}
.number-list {
  list-style: none;
  counter-reset: num;
  padding: 0;
}
.number-list li {
  counter-increment: num;
  margin-bottom: 8px;
}
.number-list li:before {
  content: counter(num);
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin-right: 12px;
  font-size: 14px;
}
.service-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.service-mini-grid a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px;
  border: 1px solid #d6e3f3;
  color: var(--navy);
  font-weight: 600;
  border-radius: 5px;
  font-size: 14px;
}
.service-mini-grid a:hover {
  background: #eaf3ff;
}
.service-mini-grid i {
  font-size: 22px;
}
.accordion-item {
  border: 0;
  margin-bottom: 7px;
  border-radius: 4px !important;
  overflow: hidden;
}
.accordion-button {
  font-size: 15px;
  color: var(--navy);
  font-weight: 500;
  padding: 13px 16px;
}
.accordion-button:not(.collapsed) {
  background: #fff;
  color: var(--navy);
  box-shadow: none;
}
.accordion-body {
  color: #4b5969;
  font-size: 14px;
}
.service-intro {
  align-items: end;
}
.service-intro > p {
  max-width: 650px;
  margin: 0;
}
.service-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px #002d7010;
  transition: transform 0.25s;
}
.service-card:hover {
  transform: translateY(-5px);
}
.service-card > img {
  width: 100%;
  height: 175px;
  object-fit: cover;
}
.service-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 235px;
}
.service-card-title {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 12px;
}
.service-icon {
  background: #e4f0ff;
  min-width: 54px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--blue);
  border-radius: 12px;
  font-size: 28px;
}
.service-number {
  font-weight: 700;
  color: var(--navy);
  font-size: 15px;
}
.service-card h3 {
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  margin: 2px 0;
}
.service-card small {
  font-size: 13px;
  color: #39465a;
}
.service-card p {
  font-size: 15px;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 14px;
}
.service-card .text-link {
  font-size: 15px;
}
.service-page-section {
  padding-top: 28px;
  padding-bottom: 36px;
}
.service-bottom-cta,
.footer-cta {
  background:
    linear-gradient(90deg, #052b78db, #042466ed),
    url("../img/home-factory.webp") center/cover;
  color: white;
}
.service-bottom-cta h2,
.footer-cta h2 {
  font-size: 25px;
  font-weight: 700;
  margin: 0;
}
.service-bottom-cta p,
.footer-cta p {
  margin: 5px 0 0;
  font-size: 17px;
}
.cta-icon {
  font-size: 38px;
  background: #0d4db9;
  border-radius: 50%;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
}
.footer-cta {
  margin-top: 0;
}
.footer-cta .contact-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 310px;
}
.footer-cta a {
  color: #fff;
}
.footer-cta .btn {
  font-size: 13px;
}
.footer-base {
  background: #05215c;
  color: #d4e3fb;
}
.footer-base a {
  display: block;
  color: #d4e3fb;
  font-size: 14px;
  margin: 3px 0;
}
.footer-base h3 {
  font-size: 17px;
  color: #fff;
}
.footer-brand {
  font-size: 27px;
  font-weight: 800;
  color: white;
}
.footer-brand span {
  font-size: 15px;
}
.footer-bottom {
  border-top: 1px solid #ffffff29;
  font-size: 12px;
  color: #a9b9d1;
}
@media (max-width: 991px) {
  .navbar-nav .nav-link {
    padding: 10px 4px !important;
  }
  .navbar-collapse {
    padding: 12px 0;
  }
  .nav-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 16px;
  }
  .hero-photo {
    width: 60%;
    opacity: 0.52;
  }
  .service-hero .hero-copy {
    max-width: 70%;
  }
  .hero-grid {
    min-height: 355px;
  }
  .brand strong {
    font-size: 18px;
  }
  .brand-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767px) {
  .hero-grid,
  .home-hero .hero-grid,
  .service-hero .hero-grid {
    min-height: 450px;
    display: block;
  }
  .hero-copy,
  .service-hero .hero-copy {
    max-width: 100%;
    padding: 34px 0 42px;
  }
  .hero-photo,
  .service-hero .hero-photo {
    width: 100%;
    opacity: 0.19;
    mask-image: none;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero p {
    font-size: 14px;
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .trust-grid > div {
    font-size: 12px;
  }
  .section {
    padding: 30px 0;
  }
  .section-img {
    height: 220px;
  }
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card > img {
    height: 190px;
  }
  .service-card-body {
    min-height: 0;
  }
  .service-intro > p {
    font-size: 14px;
  }
  .brand-buttons {
    gap: 1px;
  }
  .filter-btn {
    font-size: 11px;
    padding: 7px;
  }
  .product-card img {
    height: 110px;
  }
  .product-card h3 {
    font-size: 12px;
  }
  .product-card-content {
    padding: 9px;
  }
  .product-card .brand-label {
    font-size: 10px;
  }
  .service-bottom-cta h2,
  .footer-cta h2 {
    font-size: 22px;
  }
  .service-bottom-cta p,
  .footer-cta p {
    font-size: 14px;
  }
  .service-mini-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-mini-grid a {
    font-size: 12px;
    padding: 10px;
  }
  .brand strong {
    font-size: 15px;
  }
  .brand small {
    font-size: 8px;
  }
  .brand-mark {
    font-size: 28px;
  }
}
@media (max-width: 370px) {
  .brand strong {
    font-size: 13px;
  }
  .brand-grid {
    grid-template-columns: 1fr 1fr;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* Product catalog: all CSV products are visible, grouped by brand and subcategory. */
.product-brand-group {
  margin: 26px 0 36px;
}
.product-brand-heading {
  font-size: 23px !important;
  color: #082e81;
  margin-bottom: 12px !important;
  padding-bottom: 9px;
  border-bottom: 2px solid #cadff8;
}
.product-brand-heading span,
.product-category-heading span {
  font-size: 13px;
  font-weight: 400;
  color: #577099;
}
.product-category-group {
  margin: 16px 0 27px;
}
.product-category-heading {
  font-size: 17px;
  color: #173f83;
  font-weight: 600;
  margin: 0 0 14px;
}
.product-category-group .row {
  margin-bottom: 3px;
}
@media (max-width: 767px) {
  .product-brand-heading {
    font-size: 19px !important;
  }
  .product-category-heading {
    font-size: 15px;
  }
}

/* Reference design: horizontal brand tabs + category dropdown; every matching product is shown, without pagination. */
.catalog-heading {
  align-items: flex-end;
  gap: 12px;
}
.catalog-heading h2 {
  flex: 0 1 auto;
}
.catalog-heading .product-filters {
  margin-left: auto;
  justify-content: flex-end;
  gap: 12px;
}
.catalog-heading .brand-buttons {
  gap: 3px;
}
.catalog-heading .filter-btn {
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.catalog-select-label {
  font-size: 11px;
  color: #566983;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}
.catalog-grid {
  align-items: stretch;
}
.catalog-item[hidden] {
  display: none !important;
}
.catalog-empty {
  text-align: center;
  padding: 25px;
  color: #526889;
}
@media (max-width: 1100px) {
  .catalog-heading .product-filters {
    margin-left: 0;
    justify-content: flex-start;
    width: 100%;
  }
}
@media (max-width: 767px) {
  .catalog-heading .brand-buttons {
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 5px;
    scrollbar-width: thin;
  }
  .catalog-heading .product-filters {
    display: block;
  }
  .catalog-select-label {
    margin-top: 8px;
  }
  .catalog-heading .subcategory-filter {
    max-width: 190px;
  }
}
