:root {
  --home-ink: #14233b;
  --home-muted: #5b6b82;
  --home-blue: #0879b9;
  --home-green: #08a848;
  --home-paper: #f4f7fb;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  color: var(--home-ink) !important;
  background: #fff !important;
  font-family: Tahoma, Arial, sans-serif !important;
}

p {
  color: var(--home-muted);
}

.sub-header {
  position: relative;
  z-index: 1001;
  min-height: 36px;
  background: #10233d;
}

.sub-header .left-content p {
  padding: 7px 0;
  color: #e7eff8;
  font-size: 12px;
}

.sub-header .right-icons {
  padding: 4px 0;
}

.header-area {
  top: 36px;
  background: rgba(16, 35, 61, .62);
  backdrop-filter: blur(12px);
}

.header-area .main-nav .logo {
  display: flex;
  align-items: center;
  height: 76px;
  line-height: 1;
}

.header-area .main-nav .logo img {
  width: 178px;
  max-height: 62px;
  object-fit: contain;
}

.header-area .main-nav .nav {
  margin-top: 18px;
}

.header-area .main-nav .nav li {
  padding-left: 12px;
  padding-right: 12px;
}

.header-area .main-nav .nav li a {
  font-size: 14px;
  letter-spacing: 0;
}

.background-header {
  z-index: 1002;
  height: 70px !important;
  background: rgba(255, 255, 255, .97) !important;
  backdrop-filter: blur(12px);
}

.background-header .main-nav .logo {
  height: 70px;
  line-height: 1;
}

.background-header .main-nav .logo img {
  max-height: 54px;
}

.background-header .main-nav .nav {
  margin-top: 15px !important;
}

.home-video-region {
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-height: 0;
  background: linear-gradient(180deg, #bfe3ff 0%, #e8f4ff 60%, #ffffff 100%);
}

.home-video-region > #bg-video {
  min-height: 100%;
  object-position: center;
  filter: saturate(.9);
}

.home-video-region > .main-banner {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  overflow: visible;
}

.home-video-region > .services {
  flex: 0 0 auto;
}

.main-banner .video-overlay {
  background: linear-gradient(90deg, rgba(8, 22, 42, .22) 0%, rgba(8, 22, 42, .10) 45%, rgba(8, 22, 42, .02) 100%);
}

.main-banner .caption {
  top: 42%;
  transform: translateY(-50%);
  max-width: 760px;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: #b8e9ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
}

.main-banner .caption h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -.025em;
  text-shadow: 0 2px 6px rgba(0,0,0,.45);
}

.main-banner .caption h1 em {
  color: #7dd3fc;
  font-style: normal;
}

.main-banner .caption p {
  max-width: 600px;
  margin: 0;
  color: #eff6ff;
  font-size: 17px;
  line-height: 1.85;
  text-shadow: 0 1px 3px rgba(0,0,0,.55);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.hero-actions a,
.factory-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}

.hero-actions a:hover,
.factory-cta:hover {
  transform: translateY(-2px);
}

.hero-primary,
.factory-cta {
  background: var(--home-green);
  color: #fff;
}

.hero-primary:hover,
.factory-cta:hover {
  background: #078c3d;
  color: #fff;
}

.hero-secondary {
  border: 1px solid rgba(255, 255, 255, .65);
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.hero-secondary:hover {
  background: rgba(255, 255, 255, .2);
  color: #fff;
}

.home-video-region > .services {
  position: absolute !important;
  top: auto;
  bottom: 22px;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.services .item {
  padding: 10px !important;
  background: transparent;
}

.services .item .icon {
  width: min(100%, 290px);
  height: 170px;
  margin: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 16px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 12px 32px rgba(3, 15, 31, .25);
}

.services .item .icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.services .owl-nav .owl-prev {
  left: -22px;
}

.services .owl-nav .owl-next {
  right: -22px;
}

section.upcoming-meetings,
section.apply-now,
section.our-courses,
section.contact-us {
  background: var(--home-paper);
  background-image: none;
  background-attachment: scroll;
}

section.upcoming-meetings {
  padding: 68px 0 72px !important;
}

section.upcoming-meetings .section-heading h2,
.apply-now .section-heading h2,
.our-courses .section-heading h2 {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  color: var(--home-ink);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.3;
  text-transform: none;
}

section.upcoming-meetings .categories {
  height: 100%;
  margin-right: 22px;
  padding: 24px;
  border: 1px solid #e0e8f1;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(20, 35, 59, .06);
}

section.upcoming-meetings .categories h4 {
  margin-bottom: 16px;
  padding-bottom: 14px;
  color: var(--home-ink);
  font-size: 17px;
}

section.upcoming-meetings .categories ul li {
  width: 100%;
}

.categories table {
  overflow: hidden;
  border-collapse: collapse;
  border-radius: 10px;
  font-size: 13px;
}

.categories table td {
  padding: 5px 8px;
  border: 1px solid #dbe4ef;
  color: var(--home-ink);
  text-align: center;
}

.categories table tr:first-child td {
  background: #e4f2fb !important;
  font-weight: 800;
}

.categories table tr:not(:first-child) td {
  background: #fff !important;
}

.categories iframe {
  min-height: 410px !important;
  margin-top: 12px;
  border-radius: 12px;
  background: #fff;
}

.meeting-item {
  height: calc(100% - 18px);
  margin-bottom: 18px !important;
  overflow: hidden;
  border: 1px solid #e0e8f1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(20, 35, 59, .06);
}

.meeting-item .thumb iframe {
  aspect-ratio: 16 / 9;
  height: auto;
}

.meeting-item .thumb .price {
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(16, 35, 61, .86);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.meeting-item .down-content {
  min-height: 66px;
  padding: 15px 17px !important;
  border-radius: 0;
}

.meeting-item .down-content h4 {
  margin: 0;
  color: var(--home-ink);
  font-size: 15px;
  line-height: 1.6;
}

section.apply-now {
  padding: 70px 0 !important;
}

section.apply-now .item {
  margin-bottom: 16px !important;
  padding: 14px !important;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: rgba(16, 35, 61, .55);
}

section.apply-now .item img {
  max-height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

.accordions {
  margin-left: 18px;
  padding: 18px 22px !important;
  border: 1px solid #e0e8f1;
  box-shadow: 0 12px 32px rgba(20, 35, 59, .06);
}

.accordion-head {
  padding: 15px 8px;
  color: var(--home-ink);
  font-size: 16px;
}

.accordion-head h1,
.accordion-head h2,
.accordion-head h3 {
  color: inherit;
  font-size: inherit;
}

.accordion-head.is-open {
  color: var(--home-blue);
}

.accordion-body > .content {
  padding: 0 8px 14px;
}

.accordion-body p {
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.8;
}

section.our-courses {
  padding: 70px 0 !important;
}

.gt-showcase-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gt-showcase-card {
  border: 1px solid #e0e8f1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(20, 35, 59, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.gt-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20, 35, 59, .12);
}

.gt-showcase-thumb {
  height: 200px;
  background: #edf3f8;
}

.gt-showcase-body {
  padding: 14px 16px 16px;
}

.gt-showcase-name {
  min-height: 48px;
  margin-bottom: 10px;
  color: var(--home-ink);
  font-size: 14px;
  line-height: 1.6;
}

.gt-showcase-meta {
  margin: 0;
}

.gt-showcase-badge {
  border-color: #e0e8f1;
  background: #f4f7fb;
  color: var(--home-muted);
}

.gt-showcase-toolbar {
  justify-content: center;
  margin-top: 24px;
}

.gt-showcase-toolbar a {
  border: 0;
  background: var(--home-blue);
}

.gt-showcase-toolbar a:hover {
  background: #08699f;
}

.gt-showcase-empty {
  grid-column: 1 / -1;
  border-color: #d4e1ef;
  background: #fff;
  color: var(--home-muted);
}

section.our-facts {
  padding: 58px 0;
  background: #10233d;
  background-image: linear-gradient(120deg, #10233d, #164467);
}

.factory-intro {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 40px;
}

.factory-eyebrow {
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.factory-intro h2 {
  margin: 12px 0;
  color: #fff;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.35;
}

.factory-intro p {
  max-width: 620px;
  margin: 0;
  color: #d9e6f2;
  line-height: 1.8;
}

.factory-cta {
  margin-top: 20px;
}

.factory-video {
  display: flex;
  min-height: 190px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 18px;
  background: linear-gradient(rgba(8,22,42,.25), rgba(8,22,42,.65)), url("../images/video-item-bg.jpg") center / cover;
  color: #fff;
  font-weight: 800;
}

.factory-video:hover {
  color: #fff;
  background-image: linear-gradient(rgba(8,22,42,.1), rgba(8,22,42,.55)), url("../images/video-item-bg.jpg");
}

.factory-video img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

section.contact-us {
  padding: 66px 0 0 !important;
}

.map-card {
  overflow: hidden;
  border: 1px solid #e0e8f1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(20, 35, 59, .06);
}

.map-card h2 {
  margin: 0;
  padding: 18px 20px 12px;
  color: var(--home-ink);
  font-size: 21px;
  font-weight: 900;
}

.map-card iframe {
  min-height: 320px;
}

section.contact-us .right-info {
  height: 100%;
  padding: 24px !important;
  border-radius: 18px;
  background: #10233d;
}

section.contact-us .right-info ul li {
  display: block;
  margin-bottom: 16px !important;
  padding-bottom: 16px !important;
  border-bottom-color: rgba(255,255,255,.15);
}

section.contact-us .right-info ul li h6 {
  margin-bottom: 5px;
  color: #9cc9e5;
  font-size: 12px;
}

section.contact-us .right-info ul li span,
section.contact-us .right-info ul li {
  color: #fff;
  font-size: 14px;
  line-height: 1.7;
}

section.contact-us .right-info a {
  color: #fff;
}

section.contact-us .right-info a:hover {
  color: #7dd3fc;
}

.footer {
  margin-top: 38px;
  padding: 16px 12px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.footer p {
  color: #cbd8e6;
  font-size: 12px;
  text-transform: none;
}

.gt-chatbot__toggle {
  background: var(--home-blue);
}

@media (max-width: 991px) {
  .header-area .main-nav .nav li {
    padding: 0 8px;
  }

  .main-banner .caption {
    max-width: 620px;
  }

  .services .item .icon {
    height: 145px;
  }

  section.upcoming-meetings .categories {
    margin: 0 0 22px;
  }

  .accordions {
    margin: 18px 0 0;
  }

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

@media (max-width: 767px) {
  html {
    scroll-padding-top: 70px;
  }

  .sub-header .left-content p {
    padding: 5px 0;
    text-align: center;
  }

  .sub-header .right-icons {
    display: none;
  }

  .header-area {
    top: 32px;
    background: rgba(16, 35, 61, .84);
  }

  .header-area .main-nav .logo {
    height: 66px;
  }

  .header-area .main-nav .logo img {
    width: 148px;
    max-height: 52px;
  }

  .header-area .main-nav .menu-trigger {
    top: 16px;
    right: 18px;
  }

  .header-area .main-nav .nav {
    top: 66px;
    width: 100%;
    background: #fff;
  }

  .header-area .main-nav .nav li a {
    color: var(--home-ink) !important;
  }

  .background-header {
    top: 0 !important;
  }

  .home-video-region {
    height: 100vh;
  }

  .home-video-region > .main-banner {
    height: auto;
    flex: 1 1 auto;
  }

  .main-banner .video-overlay {
    background: linear-gradient(180deg, rgba(8,22,42,.18), rgba(8,22,42,.08) 62%, rgba(8,22,42,.02));
  }

  .main-banner .caption {
    top: 21%;
    transform: none;
    max-width: 100%;
  }

  .hero-kicker {
    margin-bottom: 10px;
    font-size: 10px;
  }

  .main-banner .caption h1 {
    margin-bottom: 12px;
    font-size: 34px;
  }

  .main-banner .caption p {
    font-size: 14px;
    line-height: 1.7;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 17px;
  }

  .hero-actions a {
    min-height: 42px;
    padding: 0 15px;
    font-size: 12px;
  }

  .home-video-region > .services {
    bottom: 15px;
  }

  .services .item .icon {
    height: 112px;
    border-radius: 12px;
  }

  .services .owl-nav .owl-prev {
    left: -8px;
  }

  .services .owl-nav .owl-next {
    right: -8px;
  }

  .services .owl-nav .owl-prev:before,
  .services .owl-nav .owl-next:before {
    width: 36px;
    height: 36px;
    line-height: 36px;
    font-size: 19px;
  }

  section.upcoming-meetings,
  section.apply-now,
  section.our-courses,
  section.contact-us {
    padding-top: 46px !important;
    padding-bottom: 48px !important;
  }

  section.upcoming-meetings .section-heading h2,
  .our-courses .section-heading h2 {
    margin-bottom: 20px;
    font-size: 24px;
  }

  section.upcoming-meetings .categories {
    padding: 18px;
  }

  .categories iframe {
    min-height: 360px !important;
  }

  .meeting-item {
    margin-bottom: 16px !important;
  }

  section.apply-now .item {
    padding: 10px !important;
  }

  .accordions {
    padding: 12px 16px !important;
  }

  .gt-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .gt-showcase-thumb {
    height: 142px;
  }

  .gt-showcase-body {
    padding: 10px;
  }

  .gt-showcase-name {
    min-height: 44px;
    font-size: 12px;
  }

  .gt-showcase-meta {
    gap: 4px;
  }

  .gt-showcase-badge {
    padding: 4px 7px;
    font-size: 10px;
  }

  .factory-intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .factory-intro h2 {
    font-size: 26px;
  }

  .factory-video {
    min-height: 140px;
  }

  .map-card h2 {
    font-size: 18px;
  }

  .map-card iframe {
    min-height: 260px;
  }

  section.contact-us .right-info {
    margin-top: 16px;
  }

  .gt-chatbot {
    right: 12px;
    bottom: 12px;
  }

  .gt-chatbot__toggle {
    width: 54px;
    height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* ===== Tent product cards (ดึงจากอัลบั้ม 0087) ===== */
.pt-tent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 10px;
}

.pt-tent-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(2, 6, 23, .08);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}

.pt-tent-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(2, 6, 23, .14);
}

.pt-tent-thumb {
  display: block;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: #f3f4f6;
}

.pt-tent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.pt-tent-card:hover .pt-tent-thumb img {
  transform: scale(1.05);
}

.pt-tent-body {
  padding: 16px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pt-tent-sku {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #0369a1;
  background: #e0f2fe;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  align-self: flex-start;
}

.pt-tent-name {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
}

.pt-tent-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.pt-tent-price-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}

.pt-tent-price-amount {
  font-size: 24px;
  font-weight: 900;
  color: #dc2626;
}

.pt-tent-price-note {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 14px;
}

.pt-tent-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: opacity .2s ease;
}

.pt-tent-cta:hover {
  opacity: .9;
}

.pt-tent-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: #64748b;
  font-size: 15px;
}

.our-courses .section-heading p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 14px;
}

@media (max-width: 768px) {
  .pt-tent-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
  }
  .pt-tent-thumb {
    height: 170px;
  }
  .pt-tent-price-amount {
    font-size: 20px;
  }
}
