@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;500;600;700&family=Roboto+Condensed:wght@400;600;700&display=swap');
:root {
  --orange: #f4a900;
  --orange-dark: #d58c00;
  --navy: #0b2b49;
  --dark: #151515;
  --text: #42464b;
  --muted: #707780;
  --line: #e4e6e8;
  --soft: #f5f6f7;
  --white: #fff;
  --shadow: 0 12px 30px rgba(7, 27, 45, .1)
}
* {
  box-sizing: border-box
}
html {
  scroll-behavior: smooth
}
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Noto Sans Thai", Arial, sans-serif;
  line-height: 1.7
}
img {
  max-width: 100%;
  height: auto;
  display: block
}
a {
  color: inherit;
  text-decoration: none
}
.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  background: #fff;
  padding: 10px 16px;
  z-index: 1000
}
.skip-link:focus {
  top: 10px
}
.topbar {
  background: #f3f3f3;
  border-bottom: 1px solid #e7e7e7;
  font-size: 12px;
  color: #555
}
.topbar-inner {
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between
}
.topbar-inner div {
  display: flex;
  gap: 22px
}
.topbar strong {
  color: #9d6d00
}
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 3px 14px rgba(0, 0, 0, .08)
}
.header-main {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px
}
.brand img {
  width: 200px;
  height: auto
}
.main-nav {
  display: flex;
  align-items: stretch;
  gap: 2px
}
.main-nav > a, .has-submenu > a {
  display: flex;
  align-items: center;
  padding: 35px 12px 31px;
  border-bottom: 4px solid transparent;
  font-family: "Roboto Condensed", "Noto Sans Thai", sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase
}
.main-nav a:hover, .main-nav a.active {
  color: #9a6a00;
  border-bottom-color: var(--orange)
}
.has-submenu {
  position: relative
}
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 320px;
  padding: 8px 0;
  background: #1c1c1c;
  color: #fff;
  box-shadow: var(--shadow)
}
.submenu a {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  border-left: 3px solid transparent
}
.submenu a:hover {
  background: #282828;
  border-left-color: var(--orange);
  color: #fff
}
.has-submenu:hover .submenu, .has-submenu:focus-within .submenu {
  display: block
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px
}
.menu-toggle span:not(.sr-only) {
  display: block;
  width: 27px;
  height: 2px;
  background: #111;
  margin: 5px
}
.hero {
  height: 580px;
  position: relative;
  background: #111;
  color: #fff;
  overflow: hidden
}
.slides, .slide {
  position: absolute;
  inset: 0
}
.slide {
  opacity: 0;
  visibility: hidden;
  background-size: cover;
  background-position: center;
  transition: opacity .65s ease
}
.slide.active {
  opacity: 1;
  visibility: visible
}
.slide-content {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column
}
.eyebrow, .section-kicker {
  font-family: "Roboto Condensed", sans-serif;
  letter-spacing: .16em;
  font-weight: 700;
  color: var(--orange);
  font-size: 13px;
  margin: 0 0 12px
}
.slide h1 {
  font-family: "Roboto Condensed", "Noto Sans Thai", sans-serif;
  font-size: 54px;
  line-height: 1.08;
  max-width: 650px;
  margin: 0 0 18px;
  text-shadow: 0 2px 16px #000
}
.slide p:not(.eyebrow) {
  font-size: 18px;
  max-width: 650px;
  margin: 0 0 28px
}
.hero-actions {
  display: flex;
  gap: 12px
}
.btn {
  display: inline-flex;
  min-height: 48px;
  padding: 0 23px;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  font-family: "Roboto Condensed", "Noto Sans Thai", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: .2s
}
.btn-primary {
  background: var(--orange);
  color: #161616
}
.btn-primary:hover {
  background: #ffc52f;
  transform: translateY(-1px)
}
.btn-outline {
  border-color: #fff;
  color: #fff
}
.btn-outline:hover {
  background: #fff;
  color: #111
}
.slide-prev, .slide-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 45px;
  height: 55px;
  border: 1px solid rgba(255, 255, 255, .7);
  background: rgba(0, 0, 0, .3);
  color: #fff;
  font-size: 34px
}
.slide-prev {
  left: 24px
}
.slide-next {
  right: 24px
}
.section {
  padding: 78px 0
}
.section-soft {
  background: var(--soft)
}
.section h2, .cta h2, .prose h1, .prose h2 {
  font-family: "Roboto Condensed", "Noto Sans Thai", sans-serif;
  color: #202327;
  line-height: 1.25
}
.section > .container > h2, .intro h2 {
  font-size: 37px;
  margin: 0 0 36px
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.6fr .7fr;
  gap: 70px
}
.intro-grid > div {
  font-size: 17px
}
.intro-grid aside {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px 16px;
  border-left: 5px solid var(--orange);
  padding: 10px 0 10px 28px
}
.intro-grid strong {
  font: 700 38px/1 "Roboto Condensed";
  color: var(--navy)
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  transition: .25s
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow)
}
.service-card img {
  width: 100%;
  height: 210px;
  object-fit: cover
}
.service-body {
  padding: 22px
}
.service-body h3 {
  font-family: "Roboto Condensed", "Noto Sans Thai";
  font-size: 21px;
  line-height: 1.35;
  margin: 0 0 10px;
  color: #202327
}
.service-body p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 16px
}
.read-more {
  font: 700 12px "Roboto Condensed";
  color: #9b6c00
}
.cta {
  background: linear-gradient(90deg, rgba(7, 33, 57, .96), rgba(7, 33, 57, .86)), url('../images/slides/slide-3.jpg') center/cover;
  color: #fff;
  padding: 55px 0
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px
}
.cta h2 {
  color: #fff;
  margin: 0;
  font-size: 29px
}
.page-hero {
  padding: 70px 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .8), rgba(0, 0, 0, .35)), url('../images/slides/slide-2.jpg') center/cover;
  color: #fff
}
.page-hero p {
  color: var(--orange);
  font: 700 13px "Roboto Condensed";
  letter-spacing: .16em
}
.page-hero h1 {
  font: 700 46px/1.2 "Roboto Condensed", "Noto Sans Thai";
  margin: 5px 0
}
.prose {
  max-width: 900px
}
.prose h2 {
  margin-top: 38px
}
.prose p, .prose li {
  font-size: 16px
}
.prose .lead {
  font-size: 21px;
  color: #333
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, .7fr);
  gap: 55px
}
.detail-grid aside img {
  width: 100%;
  max-height: 360px;
  object-fit: cover
}
.contact-box {
  background: var(--navy);
  color: #fff;
  padding: 25px
}
.contact-box h2 {
  color: #fff;
  font-size: 22px
}
.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px
}
.map {
  margin-top: 25px;
  border: 1px solid var(--line)
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}
.contact-form label {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 600
}
.contact-form label:nth-last-of-type(1) {
  grid-column: 1/-1
}
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid #cfd3d7;
  padding: 12px;
  font: inherit;
  background: #fff
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 3px solid rgba(244, 169, 0, .2);
  border-color: var(--orange)
}
.contact-form button {
  justify-self: start
}
.alert {
  padding: 14px 17px;
  margin-bottom: 18px
}
.alert.success {
  background: #e6f7ed;
  color: #176438
}
.alert.error {
  background: #feeaea;
  color: #8c1c1c
}
.site-footer {
  background: #17191c;
  color: #acb0b5;
  padding-top: 55px;
  font-size: 14px
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .65fr 1fr 1fr;
  gap: 45px
}
.footer-grid section {
  display: flex;
  flex-direction: column;
  align-items: flex-start
}
.footer-grid h2 {
  color: #fff;
  font: 700 18px "Roboto Condensed";
  border-bottom: 2px solid var(--orange);
  padding-bottom: 10px;
  margin: 0 0 18px
}
.footer-grid a {
  margin: 3px 0
}
.footer-grid a:hover {
  color: var(--orange)
}
.footer-logo {
  width: 200px;
  margin-bottom: 15px
}
.copyright {
  border-top: 1px solid #303236;
  margin-top: 45px;
  padding: 18px 0;
  font-size: 12px
}
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 32px
}
.category-filter a {
  padding: 8px 15px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600
}
.category-filter a:hover, .category-filter a.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #171717
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px
}
.article-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 26px;
  transition: .25s
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow)
}
.article-card h2 {
  font-size: 22px;
  margin: 5px 0 12px
}
.article-card > p:not(.article-meta) {
  font-size: 14px;
  color: var(--muted)
}
.article-meta, .article-date {
  color: #9a6a00;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em
}
.article-content img {
  margin: 24px auto;
  max-width: 100%;
  height: auto
}
.article-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto
}
.article-content iframe {
  max-width: 100%
}
@media(max-width:1000px) {
  .topbar-inner > span {
    display: none
  }
  .header-main {
    min-height: 78px
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #171717;
    color: #fff;
    padding: 10px 20px;
    max-height: 75vh;
    overflow: auto
  }
  .main-nav.open {
    display: block
  }
  .main-nav > a, .has-submenu > a {
    display: block;
    padding: 13px 5px;
    border-bottom: 1px solid #333
  }
  .submenu {
    display: block;
    position: static;
    width: auto;
    box-shadow: none;
    padding-left: 12px;
    background: #202020
  }
  .menu-toggle {
    display: block
  }
  .hero {
    height: 360px
  }
  .slide h1 {
    font-size: 42px
  }
  .service-grid, .article-grid {
    grid-template-columns: repeat(2, 1fr)
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}
@media(max-width:680px) {
  .container {
    width: min(100% - 28px, 1180px)
  }
  .topbar-inner {
    justify-content: flex-end
  }
  .topbar-inner div {
    gap: 10px
  }
  .topbar strong {
    display: none
  }
  .brand img {
    width: 155px
  }
  .hero {
    height: 360px
  }
  .slide-content {
    padding-right: 45px
  }
  .slide h1 {
    font-size: 34px
  }
  .slide p:not(.eyebrow) {
    font-size: 15px
  }
  .slide-prev {
    left: 5px
  }
  .slide-next {
    right: 5px
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start
  }
  .section {
    padding: 55px 0
  }
  .section > .container > h2, .intro h2 {
    font-size: 29px
  }
  .intro-grid, .detail-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px
  }
  .service-grid, .article-grid {
    grid-template-columns: 1fr
  }
  .cta-inner {
    align-items: flex-start;
    flex-direction: column
  }
  .footer-grid {
    grid-template-columns: 1fr
  }
  .contact-form {
    grid-template-columns: 1fr
  }
  .contact-form label:nth-last-of-type(1) {
    grid-column: auto
  }
  .page-hero h1 {
    font-size: 35px
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important
  }
}
/* Legacy BTCL header, navigation and footer */
.legacy-container {
  width: min(1660px, calc(100% - 56px));
  margin-inline: auto
}
.site-header {
  position: relative;
  top: auto;
  box-shadow: none;
  background: #fff
}
.header-main {
  min-height: 193px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px
}
.brand {
  flex: 0 0 auto
}
.brand img {
  width: 300px;
  height: auto
}
.header-contact {
  display: flex;
  align-items: center;
  gap: 80px;
  color: #061b32;
  font-family: Georgia, "Times New Roman", serif
}
.header-contact-item {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 25px;
  line-height: 1.55;
  white-space: nowrap
}
.header-contact-item svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: #0b2b49;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto
}
.header-contact-item div {
  display: flex;
  flex-direction: column
}
.mobile-hotline {
  display: none
}
.header-contact-item strong {
  font-weight: 400
}
.header-contact-item a:hover {
  color: #b77d00
}
.nav-bar {
  background: #0d2f6b;
  color: #fff
}
.main-nav {
  display: flex;
  align-items: stretch;
  justify-content: left;
  gap: 0
}
.main-nav > a, .has-submenu > a {
  min-height: 52px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  border: 0;
  border-left: 1px solid rgba(0, 0, 0, .2);
  border-bottom: 0;
  font-family: "Roboto Condensed", "Noto Sans Thai", sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff
}
.main-nav > div:last-of-type + a, .main-nav > a:last-child {
  border-right: 1px solid rgba(0, 0, 0, .2)
}
.main-nav a:hover, .main-nav a.active {
  color: #fff;
  background: #153b7d;
  border-bottom-color: transparent
}
.nav-caret {
  width: 0;
  height: 0;
  margin-left: 12px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid currentColor
}
.submenu {
  top: 100%;
  width: 360px;
  padding: 8px 0;
  background: #102b59;
  border-top: 3px solid var(--orange);
  z-index: 20
}
.submenu a {
  padding: 11px 20px;
  font-size: 14px;
  border-left: 3px solid transparent
}
.submenu a:hover {
  background: #183d77
}
.submenu-knowledge {
  width: 280px
}
.hero {
  height: 360px
}
.slide-prev, .slide-next {
  width: 36px;
  height: 66px;
  border: 4px solid #fff;
  background: rgba(0, 0, 0, .16);
  font-size: 56px;
  line-height: 1
}
.slide-prev {
  left: 30px
}
.slide-next {
  right: 30px
}
.site-footer {
  position: relative;
  padding-top: 0;
  background: linear-gradient(90deg, rgba(15, 42, 99, .92), rgba(15, 42, 99, .95)), url('../images/legacy-home/footer-bg.jpg') center/cover;
  color: #fff;
  font-family: Georgia, "Times New Roman", "Noto Sans Thai", serif;
  font-size: 14px
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 46, 111, .15), rgba(5, 38, 96, .5));
  pointer-events: none
}
.footer-grid, .copyright, .back-to-top {
  position: relative;
  z-index: 1
}
.footer-grid {
  width: min(1290px, calc(100% - 56px));
  display: grid;
  grid-template-columns: .7fr 1.25fr 1fr;
  gap: 100px;
  padding-top: 105px;
  padding-bottom: 90px
}
.footer-grid section {
  display: flex;
  flex-direction: column;
  align-items: flex-start
}
.footer-grid h2 {
  margin: 0 0 34px;
  padding: 0;
  border: 0;
  color: #fff;
  font: 400 48px/1.2 Georgia, "Times New Roman", serif;
  text-transform: none
}
.footer-grid a {
  margin: 3px 0;
  line-height: 1.45
}
.footer-grid a:hover {
  color: #ffd028
}
.footer-contact address {
  margin: 0 0 20px;
  font-style: normal;
  line-height: 1.55
}
.footer-contact address strong {
  font-weight: 700
}
.back-to-top {
  position: absolute;
  right: 34px;
  bottom: 200px;
  width: 44px;
  height: 44px;
  border: 5px solid #ffcf00;
  border-radius: 50%;
  display: grid;
  place-items: center
}
.back-to-top span {
  width: 27px;
  height: 27px;
  border-left: 5px solid #ffcf00;
  border-top: 5px solid #ffcf00;
  transform: translateY(8px) rotate(45deg)
}
.back-to-top:hover {
  background: rgba(255, 207, 0, .12)
}
.copyright {
  margin-top: 0;
  padding: 44px 0 43px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #0d2762;
  font-size: 12px;
  text-align: center
}
.copyright .legacy-container {
  display: grid;
  gap: 8px
}
/* Original Joomla home composition */
.legacy-slider .slide {
  background-size: cover;
  background-position: center
}
.legacy-content-container {
  width: min(1170px, calc(100% - 40px));
  margin-inline: auto
}
.legacy-home-intro {
  padding: 64px 0 20px;
  background: #fff;
  color: #000;
  font-family: "Book Antiqua", Palatino, "Palatino Linotype", "Noto Sans Thai", serif
}
.legacy-home-intro h1, .legacy-home-intro h2, .legacy-solutions h3 {
  color: #000;
  font-family: "Book Antiqua", Palatino, "Palatino Linotype", "Noto Sans Thai", serif;
  font-weight: 400
}
.legacy-home-intro h1 {
  font-size: 28px;
  line-height: 1.4;
  margin: 0 0 27px
}
.legacy-home-intro h2 {
  font-size: 24px;
  line-height: 1.45;
  margin: 42px 0 34px
}
.legacy-home-intro p, .legacy-solutions p {
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 25px;
  text-align: left
}
.legacy-home-intro a, .legacy-solutions h3 a {
  color: #0000d8
}
.legacy-home-intro a:hover, .legacy-solutions h3 a:hover {
  text-decoration: underline
}
.legacy-solutions {
  padding: 22px 0 80px;
  background: #fff;
  color: #000;
  font-family: "Book Antiqua", Palatino, "Palatino Linotype", "Noto Sans Thai", serif
}
.legacy-solutions .legacy-content-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
  align-items: start
}
.legacy-solution-row {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  border: 0
}
.legacy-solution-row h3 {
  font-size: clamp(23px, 1.65vw, 31px);
  line-height: 1.3;
  margin: 0 0 18px
}
.legacy-solution-row img {
  order: 1;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 1.48 / 1;
  object-fit: cover;
  object-position: center;
  margin: 0 0 36px
}
.legacy-solution-row div,
.legacy-solution-row:nth-child(even) div {
  order: 2
}
.legacy-solution-row:nth-child(even) img {
  order: 1
}
.legacy-solutions .legacy-solution-row p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 22px
}
.legacy-home-cta {
  padding: 78px 0;
  background: linear-gradient(rgba(15, 42, 99, .88), rgba(15, 42, 99, .88)), url('../images/legacy-home/call-to-action-bg.jpg') center/cover;
  text-align: center
}
.legacy-home-cta h2 {
  margin: 0;
  color: #fff;
  font: 400 34px/1.5 "Book Antiqua", Palatino, "Palatino Linotype", serif
}
.legacy-home-cta h2 span {
  color: #fbca00
}
.home-partners {
  padding: 50px 0 80px;
  background: #fff;
  color: #000;
  font-family: "Book Antiqua", Palatino, "Palatino Linotype", "Noto Sans Thai", serif
}
.home-partners h2 {
  margin: 0 0 38px;
  color: #000;
  font: 400 24px/1.4 "Book Antiqua", Palatino, "Palatino Linotype", "Noto Sans Thai", serif
}
.home-partners-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 38px 30px;
  align-items: center
}
.home-partner-item {
  min-width: 0;
  min-height: 90px;
  display: grid;
  place-items: center;
  padding: 16px;
  background: #fff
}
.home-partner-item a {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center
}
.home-partner-item img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 70px;
  object-fit: contain;
  transition: opacity .2s ease, transform .2s ease
}
.home-partner-item a:hover img {
  opacity: .78;
  transform: translateY(-2px)
}
@media(max-width:1600px) {
  .legacy-container {
    width: min(1320px, calc(100% - 44px))
  }
  .header-main {
    min-height: 160px
  }
  .brand img {
    width: 220px
  }
  .header-contact {
    gap: 45px
  }
  .header-contact-item {
    font-size: 20px;
    gap: 16px
  }
  .header-contact-item svg {
    width: 45px;
    height: 45px
  }
  .main-nav > a, .has-submenu > a {
    min-height: 52px;
    padding: 0 20px;
    font-size: 15px
  }
  .footer-grid {
    gap: 65px
  }
  .footer-grid h2 {
    font-size: 26px
  }
}
@media(max-width:1100px) {
  .header-main {
    min-height: 120px
  }
  .brand img {
    width: 210px
  }
  .header-contact {
    gap: 25px
  }
  .header-contact-item {
    font-size: 16px
  }
  .header-contact-item svg {
    width: 38px;
    height: 38px
  }
  .nav-bar {
    position: relative
  }
  .menu-toggle {
    display: block;
    margin-left: auto
  }
  .menu-toggle span:not(.sr-only) {
    background: #0d2f6b
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 75vh;
    overflow: auto;
    padding: 8px 22px;
    background: #0d2f6b;
    z-index: 50
  }
  .main-nav.open {
    display: block
  }
  .main-nav > a, .has-submenu > a {
    min-height: auto;
    display: block;
    padding: 14px 8px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    font-size: 17px;
    white-space: normal
  }
  .nav-caret {
    display: inline-block
  }
  .submenu {
    display: block;
    position: static;
    width: auto;
    padding: 4px 0 7px 14px;
    background: #102b59;
    border-top: 0;
    box-shadow: none
  }
  .submenu-knowledge {
    width: auto
  }
  .hero {
    height: 300px
  }
  .footer-grid {
    grid-template-columns: .7fr 1.2fr 1fr;
    gap: 35px;
    padding-top: 72px
  }
  .footer-grid h2 {
    font-size: 32px
  }
  .site-footer {
    font-size: 17px
  }
  .legacy-home-intro h2 {
    font-size: 29px
  }
  .legacy-content-container {
    width: min(100% - 44px, 1170px)
  }
  .legacy-solutions .legacy-content-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 30px
  }
  .legacy-solution-row img {
    margin-bottom: 28px
  }
  .home-partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px
  }
}
@media(max-width:760px) {
  .legacy-container {
    width: min(100% - 28px, 1660px)
  }
  .header-main {
    min-height: 92px;
    gap: 16px
  }
  .brand img {
    width: 170px
  }
  .header-contact {
    display: none
  }
  .header-address {
    display: none
  }
  .header-phone svg {
    display: none
  }
  .header-phone {
    font-family: "Noto Sans Thai", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.35
  }
  .header-phone strong {
    display: none
  }
  .mobile-hotline {
    display: flex;
    margin-left: auto;
    flex-direction: column;
    align-items: flex-end;
    color: #0d2f6b;
    font-family: "Roboto Condensed", "Noto Sans Thai", sans-serif;
    font-size: 13px;
    line-height: 1.2
  }
  .mobile-hotline span {
    color: #6a7077;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em
  }
  .mobile-hotline strong {
    font-size: 16px
  }
  .menu-toggle {
    margin-left: 0
  }
  .nav-bar {
    height: 6px
  }
  .main-nav {
    top: 6px
  }
  .hero {
    height: 430px
  }
  .slide h1 {
    font-size: 34px
  }
  .slide-prev, .slide-next {
    width: 50px;
    height: 62px;
    border-width: 2px;
    font-size: 36px
  }
  .slide-prev {
    left: 8px
  }
  .slide-next {
    right: 8px
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 60px;
    padding-bottom: 110px
  }
  .footer-grid h2 {
    margin-bottom: 18px;
    font-size: 31px
  }
  .site-footer {
    font-size: 16px
  }
  .back-to-top {
    right: 24px;
    bottom: 105px;
    width: 62px;
    height: 62px;
    border-width: 4px
  }
  .back-to-top span {
    width: 20px;
    height: 20px;
    border-width: 4px
  }
  .copyright {
    padding: 28px 0;
    font-size: 14px
  }
  .legacy-home-intro {
    padding-top: 45px
  }
  .legacy-home-intro h1 {
    font-size: 22px
  }
  .legacy-home-intro h2 {
    font-size: 26px
  }
  .legacy-home-intro p, .legacy-solutions p {
    font-size: 15px
  }
  .legacy-content-container {
    width: min(100% - 28px, 1170px)
  }
  .legacy-solutions {
    padding: 10px 0 55px
  }
  .legacy-solutions .legacy-content-container {
    grid-template-columns: 1fr;
    gap: 48px
  }
  .legacy-solution-row {
    padding: 0
  }
  .legacy-solution-row div, .legacy-solution-row:nth-child(even) div {
    order: 2
  }
  .legacy-solution-row img, .legacy-solution-row:nth-child(even) img {
    order: 1;
    width: 100%;
    max-width: none;
    margin-bottom: 24px
  }
  .legacy-solution-row h3 {
    font-size: 24px;
    margin-bottom: 14px
  }
  .legacy-solutions .legacy-solution-row p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 18px
  }
  .legacy-home-cta {
    padding: 55px 0
  }
  .legacy-home-cta h2 {
    font-size: 25px
  }
  .home-partners {
    padding: 45px 0 55px
  }
  .home-partners h2 {
    margin-bottom: 25px;
    font-size: 24px
  }
  .home-partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px
  }
  .home-partner-item {
    min-height: 78px;
    padding: 10px
  }
}
@media(max-width:420px) {
  .header-phone {
    display: none
  }
  .mobile-hotline strong {
    font-size: 15px
  }
  .brand img {
    width: 160px
  }
  .hero {
    height: 390px
  }
  .slide-content {
    padding-left: 24px;
    padding-right: 50px
  }
  .slide h1 {
    font-size: 29px
  }
  .home-partners-grid {
    grid-template-columns: 1fr
  }
}
