/* ================================================
   GRANVIA PROTECT — Main Stylesheet
   Design: Navy Blue (#1a2744) + Gold (#c9a84c)
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
/*
font-family: "Kanit", sans-serif;
font-family: "Playfair Display", serif;
font-family: "Avenir", serif;
*/

@font-face {
  font-family: 'Avenir';
  src: url('fonts/Avenir-Light.woff2') format('woff2'),
       url('fonts/Avenir-Light.woff') format('woff'),
       url('fonts/Avenir-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir';
  src: url('fonts/Avenir-Book.woff2') format('woff2'),
       url('fonts/Avenir-Book.woff') format('woff'),
       url('fonts/Avenir-Book.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir';
  src: url('fonts/Avenir-Regular.woff2') format('woff2'),
       url('fonts/Avenir-Regular.woff') format('woff'),
       url('fonts/Avenir-Regular.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir';
  src: url('fonts/Avenir-Heavy.woff2') format('woff2'),
       url('fonts/Avenir-Heavy.woff') format('woff'),
       url('fonts/Avenir-Heavy.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir';
  src: url('fonts/Avenir-Black.woff2') format('woff2'),
       url('fonts/Avenir-Black.woff') format('woff'),
       url('fonts/Avenir-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- CSS Variables ---------- */
:root {
  --navy:        #1a2744;
  --navy-light:  #243259;
  --navy-dark:   #111b33;
  --gold:        #ca9968;
  --gold-light:  #d4b46a;
  --gold-dark:   #a8883a;
  --white:       #ffffff;
  --off-white:   #f8f8f6;
  --gray-100:    #f4f4f4;
  --gray-200:    #e8e8e8;
  --gray-400:    #999999;
  --gray-600:    #666666;
  --text-dark:   #1a1a1a;
  --text-body:   #444444;
  --bg-blue:     #132339;

  --font-body:   'Avenir', 'Kanit', sans-serif;
  --font-en:     'Avenir', sans-serif;
  --font-th:     'Kanit', sans-serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:   0 6px 24px rgba(0,0,0,0.12);
  --shadow-md-white: 0 6px 24px rgba(255,255,255,0.12);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.18);
  --transition:  0.3s ease;

  --container:   1200px;
  --section-py:  80px;

  --gradient-hero: linear-gradient(180deg, hsl(215 55% 15% / .4) 0%, hsl(215 50% 23% / .5) 100%);
  
  --gp-card: 215 45% 20%;
  --card: rgba(28, 47, 74, .85);

  --card-hover: rgba(28, 47, 74, 1);



    --background: 0 0% 100%;
    --foreground: 215 25% 20%;

    --card-foreground: 215 25% 20%;
    --popover: 0 0% 100%;
    --popover-foreground: 215 25% 20%;
    --primary: 215 50% 23%;
    --primary-foreground: 0 0% 100%;
    --secondary: 210 20% 96%;
    --secondary-foreground: 215 50% 23%;
    --muted: 210 20% 96%;
    --muted-foreground: 215 15% 50%;
    --accent: 30 48% 60%;
    --accent-foreground: 215 50% 15%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;
    --border: 214 20% 90%;
    --input: 214 20% 90%;
    --ring: 215 50% 23%;
    --radius: .5rem;
    /*--navy: 215 50% 23%;
    --navy-dark: 215 55% 15%;
    --navy-light: 215 40% 35%;
    --gold: 30 48% 60%;
    --gold-light: 30 50% 70%;
    --gold-dark: 30 50% 50%;*/
    --cream: 40 30% 97%;
    --slate: 215 15% 50%;
    --shadow-soft: 0 4px 20px -4px hsl(215 50% 23% / .1);
    --shadow-medium: 0 8px 30px -8px hsl(215 50% 23% / .15);
    --shadow-strong: 0 12px 40px -12px hsl(215 50% 23% / .2);
    --shadow-gold: 0 4px 20px -4px hsl(30 48% 60% / .3);
    --gradient-navy: linear-gradient(135deg, hsl(215 55% 15%) 0%, hsl(215 50% 23%) 100%);
    --gradient-gold: linear-gradient(135deg, hsl(30 48% 60%) 0%, hsl(30 50% 70%) 100%);
    --gradient-hero: linear-gradient(180deg, hsl(215 55% 15% / .9) 0%, hsl(215 50% 23% / .7) 100%);
    --sidebar-background: 0 0% 98%;
    --sidebar-foreground: 240 5.3% 26.1%;
    --sidebar-primary: 240 5.9% 10%;
    --sidebar-primary-foreground: 0 0% 98%;
    --sidebar-accent: 240 4.8% 95.9%;
    --sidebar-accent-foreground: 240 5.9% 10%;
    --sidebar-border: 220 13% 91%;
    --sidebar-ring: 217.2 91.2% 59.8%;

}

.shadow-strong {
    --tw-shadow: var(--shadow-strong);
    --tw-shadow-colored: var(--shadow-strong);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body.admin-bar .site-header,
body.admin-bar .main-content {
    padding-top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .site-header,
    body.admin-bar .main-content {
        padding-top: 46px;
    }
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-th);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  color: var(--white);
}

body.lang-th h1 [data-lang="th"],
body.lang-th h2 [data-lang="th"],
body.lang-th h3 [data-lang="th"],
body.lang-th h4 [data-lang="th"] {
  font-family: var(--font-th);
  font-weight: 400;
}

body.lang-en h1 [data-lang="en"],
body.lang-en h2 [data-lang="en"],
body.lang-en h3 [data-lang="en"],
body.lang-en h4 [data-lang="en"] {
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 1px;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.seo-hidden {display: none !important;}
.error404 {background: var(--gradient-navy)!important;}

/* ---------- Container ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.container--wide { max-width: 1400px; }
.container--narrow { max-width: 860px; }

.img-fluid {max-width: 100%; height: auto;}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  white-space: nowrap;
  justify-content: center;
}

.btn--primary {
  background: var(--gold);
  color: var(--white);
  border: 4px solid var(--gold);
}
.btn--primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn--outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn--ghost:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ---------- Section Label ---------- */
.section-label {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  font-family: var(--font-th);
}

/* ---------- Section Heading ---------- */
.section-heading {
  margin-bottom: 16px;
  line-height: 1.35;
}
.section-heading + .section-desc {
  color: var(--gray-100);
  max-width: 800px;
  margin: 0 auto 48px;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 200;
}

/* ---------- Grid Utilities ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr);}

/* ---------- Card ---------- */
.card {
  background: var(--card);
  border: 0.25px solid rgba(46, 67, 96, 1);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all var(--transition);
}
.card:hover {
  background: var(--card-hover);
  box-shadow: var(--shadow-md-white);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.card__icon {
  width: 56px;
  height: 56px;
  background: rgba(201,168,76,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 1.1rem;
}

.card__title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  text-align: left;
}

.card__desc {
  font-family: var(--font-th);
  font-weight: 200;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--gray-200);
  text-align: left;
}

#solutions .card_block {position: relative;}

#solutions .card__title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* ================================================
   HEADER / NAVIGATION
   ================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition);
  padding: 0;
}

.site-header.scrolled {
  background: var(--gradient-navy)!important;
  box-shadow: var(--shadow-md-white);
}

.site-header.hero-overlay {
  background: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 115px;
  gap: 24px;
  transition: height var(--transition);
}

.header-inner .header-right .btn {padding: 5px 10px;}


.site-header.scrolled .header-inner {
  height: 72px;
}

.header-inner img {max-width: 175px;}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo img {
  height: 44px;
  width: auto;
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  align-items: center;
  text-transform: uppercase;
}

.logo-name {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.08em;
}

.logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px;
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.88);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
  background: rgba(255,255,255,0.05);
}

.nav-link svg {
  width: 12px;
  height: 12px;
  opacity: 0.7;
  transition: transform var(--transition);
}

.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 225px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
}

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

.nav-dropdown a {
  display: block;
  padding: 9px;
  font-size: 0.88rem;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-dropdown a:hover {
  background: var(--gray-100);
  color: var(--navy);
  padding-left: 20px;
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
}

.lang-switcher a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
  letter-spacing: 0.05em;
}

.lang-switcher a:hover,
.lang-switcher a.active {
  color: var(--gold);
}

.lang-divider {
  color: rgba(255,255,255,0.3);
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  /*gap: 5px;*/
  /*padding: 6px;*/
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ================================================
   HERO SECTION
   ================================================ */

/* ===== Hero Container ===== */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  /* padding-top: 72px; */
}

/* ===== Background ===== */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    135deg,
    var(--navy-dark) 0%,
    var(--navy) 60%,
    #1e3060 100%
  );
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.18;

  background-image: url('assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}

/* ===== Slider ===== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 1;

  visibility: hidden;
  opacity: 0;

  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  transition:
    opacity .6s ease,
    visibility .6s ease;
}

.hero-slide.active {
  z-index: 2;
  visibility: visible;
  opacity: 1;
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background-image: var(--gradient-hero);
}

/* ===== Content ===== */
.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(85%, 980px);
  height: 100vh;
  margin: auto;
  padding-right: 25%;
  color: #fff;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-bottom: 24px;
  padding: 6px 14px;

  border: 1px solid rgba(201, 168, 76, .3);
  border-radius: 20px;
  background: rgba(201, 168, 76, .15);

  color: var(--gold);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-title {
  margin-bottom: 20px;

  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
}

.hero-title .accent {
  color: var(--gold);
}

.hero-subtitle {
  margin-bottom: 36px;
  color: rgba(255, 255, 255, .75);
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 200;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-actions .btn {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

/* ===== Navigation ===== */
.hero-dots {
  position: absolute;
  left: calc((100vw - 1200px) / 2 + 115px);
  bottom: 150px;
  z-index: 20;

  display: flex;
  gap: 12px;
}

.hero-dot {
  width: 26px;
  height: 4px;

  cursor: pointer;

  border-radius: 2px;
  background: rgba(255, 255, 255, .3);

  transition: all var(--transition);
}

.hero-dot.active {
  width: 45px;
  background: var(--gold);
}

/* ================================================
   STATS BAR
   ================================================ */
.stats-bar {
  background: var(--white);
  padding: 0;
}

.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--gray-200);
  margin: 4em 0;
  border-radius: .75rem;
}

.stat-item {
  padding: 28px 32px;
  text-align: center;
  border-right: 1px solid var(--gray-200);
  transition: background var(--transition);
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--gray-100); }

.stat-number {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  font-family: var(--font-body);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.5rem;
}

/* ================================================
   ABOUT SECTION
   ================================================ */
.about-section {
  padding: var(--section-py) 0;
  background: var(--bg-blue);
}

.about-section .text-center { text-align: center; }

.about-cards {
  margin-top: 48px;
}

.about-cards svg {width: 36px; height: 36px;}

/* ================================================
   POSITIONING SECTION
   ================================================ */
.positioning-section {
  padding: var(--section-py) 0;
  background: var(--gradient-navy);
}

.positioning-section .text-center { text-align: center; }

.positioning-quote {
  text-align: center;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  font-family: var(--font-body);
  margin-bottom: 48px;
  line-height: 1.2;
}

/* Positioning Chart */
.positioning-chart-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 0;
}

.chart-header {
  background: var(--navy);
  padding: 16px 24px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  font-family: var(--font-body);
}

.positioning-chart {
  position: relative;
  width: 100%;
  padding-bottom: 50%;
  background: var(--white);
}

.positioning-chart canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ================================================
   WHY GRANVIA SECTION
   ================================================ */
.why-section {
  padding: var(--section-py) 0;
  background: var(--gradient-navy);
}

.why-section .section-label { color: var(--gold-light); }
.why-section .section-heading { color: var(--white); }
.why-section .section-desc { color: rgba(255,255,255,0.65); }

.why-section .text-center { text-align: center; }

.why-card {
  background: var(--white);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  transition: all var(--transition);
}
.why-card:hover {
  box-shadow: var(--shadow-md-white);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.why-card:hover .card__icon {
  background: rgba(201,168,76,0.15);
}

.why-card .card__title,
.why-card .card__desc { color: rgb(26 60 90 / var(--tw-text-opacity, 1)); text-align: center;}

.why-card .card__title {font-weight: 600;}
.why-card .card__desc {font-weight: 300;}

/* ================================================
   INDUSTRIES SECTION
   ================================================ */
.industries-section {
  padding: var(--section-py) 0;
  background: var(--gradient-navy);
}

.industries-section .section-label { color: var(--gold-light); }
.industries-section .section-heading { color: var(--white); }
.industries-section .section-desc { color: rgba(255,255,255,0.65); }

.industries-section .text-center { text-align: center; }

.industries-card {
  position: relative;
  padding: 20px 10px;
  transition: all var(--transition);
}

.industries-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 1.5px;
  height: 80%;
  background: var(--navy);
}

/*.industries-card:hover {
  box-shadow: var(--shadow-md-white);
  border-color: var(--gold);
  transform: translateY(-4px);
}*/

.industries-block {
  background: var(--white);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  margin-top: 3em;
  margin-bottom: 1em;
}

.industries-card .card__icon {
  margin-left: auto;
  margin-right: auto;
  background: transparent;
  margin-bottom: 10px;
  min-height: 60px;
}

/*.industries-card:hover .card__icon {
  background: rgba(201,168,76,0.15);
}*/

.industries-card .card__title,
.industries-card .card__desc { color: rgb(26 60 90 / var(--tw-text-opacity, 1)); text-align: center;}

.industries-card .card__title {font-weight: 500; font-family: var(--font-th)!important; font-size: 1rem; line-height: 1.25; min-height: 34px;}
body.lang-en .industries-card h3 [data-lang="en"] {font-family: var(--font-th)!important; font-weight: 500; letter-spacing: unset;}
.industries-card .card__desc {font-weight: 300; line-height: 1.25;}

.industries-card:nth-child(1) .card__icon {width: 75.15px; height: auto;}

#industries .and-more {font-size: 20px; margin: 1.5em auto 0; width: fit-content; font-family: var(--font-th)!important; color: #FFF; font-weight: 400;}

@media (max-width: 768px) {
  .industries-card:nth-child(2)::after,
  .industries-card:nth-child(4)::after,
  .industries-card:last-child::after {
    display: none;
  }
}

/* ================================================
   BUSINESS OVERVIEW
   ================================================ 
.overview-section {
  padding: var(--section-py) 0;
  background: var(--white);
}

.overview-section .text-center { text-align: center; }

.overview-stats {
  margin-bottom: 64px;
}

.overview-section .card__icon {
  background: transparent;
}

/* ================================================
   PRODUCTS SECTION
   ================================================ */
.products-section {
  padding: var(--section-py) 0;
  background: var(--off-white);
}

.products-section .text-center { text-align: center; }

/* Product Tabs */
.product-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: var(--shadow-sm);
}

.product-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition);
  flex: 1;
  min-width: 100px;
  text-align: center;
}

.product-tab:hover { color: var(--navy); background: var(--gray-100); }

.product-tab.active {
  background: var(--gold);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.product-tab svg { width: 24px; height: 24px; }

/* Product Panel */
.product-panel {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  display: none;
}

.product-panel.active { display: flex; gap: 40px; align-items: flex-start; }

.product-panel__left { flex: 1; }
.product-panel__right { flex: 1.2; }

.product-panel__icon {
  width: 52px;
  height: 52px;
  background: rgba(201,168,76,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.product-panel h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.product-panel p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

.product-highlights {
  margin-bottom: 8px;
}

.product-highlights h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 14px;
  font-family: var(--font-body);
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: var(--text-body);
}

.highlight-item::before {
  content: '';
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* ================================================
   SOLUTIONS SECTION
   ================================================ */
.solutions-section {
  padding: var(--section-py) 0;
  background: var(--gradient-navy);
}

.solutions-section .text-center { text-align: center; }

.solutions-card {
  background: var(--gradient-navy);
  border: 1px solid #2e4360;
  border-radius: 0 0 12px 12px;
  padding: 0;
  transition: all var(--transition);

  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.solutions-card:hover {
  box-shadow: var(--shadow-md-white);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.solutions-card .card__title {color: var(--gold); font-size: 1.15rem; width: 100%; text-align: center;}
.solutions-card .card__desc {text-align: left; line-height: 1.25; padding: 20px 25px;}
.solutions-card .card__desc strong {color: var(--white); font-size: 0.9rem;}
.solutions-card .card__desc span {color: var(--gray-200); font-size: 0.8rem;}
.solutions-card .card__desc em {color: var(--gold); padding-right: 8px;}

/* Card 1 */
/*.solutions-card:nth-child(1) {
    background-image:
        linear-gradient(rgba(17, 35, 59, 0.88), rgba(17, 35, 59, 0.88)),
        url('../images/bg/bg-solutions-1.jpg');
}*/

/* Card 2 */
/*.solutions-card:nth-child(2) {
    background-image:
        linear-gradient(rgba(17, 35, 59, 0.88), rgba(17, 35, 59, 0.88)),
        url('../images/bg/bg-solutions-2.jpg');
}*/

/* Card 3 */
/*.solutions-card:nth-child(3) {
    background-image:
        linear-gradient(rgba(17, 35, 59, 0.88), rgba(17, 35, 59, 0.88)),
        url('../images/bg/bg-solutions-3.jpg');
}*/

.solutions-access {display: flex; justify-content: center; margin: 3em 0 0;}

/* ================================================
   CTA BANNER
   ================================================ */
.cta-section {
  padding: 80px 0;
  background-image: var(--gradient-navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/*.cta-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 60px solid rgba(201,168,76,0.08);
  pointer-events: none;
}*/

/*.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 40px solid rgba(201,168,76,0.06);
  pointer-events: none;
}*/

.cta-section h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 0 auto 36px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn--phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.25);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
}

.btn--phone:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-4px);
}

.btn-get-quote {
  width: fit-content;
  min-width: 200px;
}

.btn-readmore {border: 1px solid #796b5b; color: var(--gold); font-size: 16px; font-weight: 300; text-align: center; display: block; transition: all var(--transition); width: fit-content; border-radius: 5px; padding: 0 15px; margin: 0 auto 1.5em;}
.btn-readmore:hover {border: 1px solid var(--gold); transform: translateY(-5px);}


  

  

/* ================================================
   PARTNERS SECTION
   ================================================ */
.partners-section {
  padding: var(--section-py) 0;
  background: var(--gradient-navy);
}

.partners-section .text-center { text-align: center; }

.partners-intro {
  text-align: center;
  color: var(--gray-100);
  max-width: 800px;
  margin: 0 auto 48px;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 200;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.partner-logo {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 10px;

  flex: 0 0 calc((100% - (25px * 4)) / 5);
  display: flex;
  align-items: center;
  justify-content: center;

  transition: all var(--transition);
  /*filter: grayscale(100%);*/
  /*opacity: 0.9;*/
}

.partner-logo img {
  max-width: 100%;
  height: auto;
  display: block;
}

.partner-logo:hover {
  filter: contrast(1.08) saturate(1.12) brightness(1.02);
  opacity: 1;
  box-shadow: var(--shadow-sm);
  border-color: var(--gold-light);
  transform: translateY(-5px);
}

.partner-logo span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-600);
  text-align: center;
  line-height: 1.3;
}

/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonials-section {
  padding: var(--section-py) 0;
  background: var(--gradient-navy);
}

.testimonials-section .text-center { text-align: center; }

.testimonial-slider {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
}

.testimonial-container {
  position: relative;
  background: hsl(var(--gp-card));
  border-radius: var(--radius-lg);
  padding: 26px 40px 48px;
  margin-top: 4em;
  border: 1px solid #2e4360;
  box-shadow: var(--shadow-md-white);
}

.testimonial-card {
  position: absolute;
  inset: 0;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity 0.75s ease;

  text-align: center;
}

.testimonial-card.active {
  position: relative;

  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.testimonial-quote-icon {
  width: 52px;
  height: 52px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -52px auto 20px;
  font-size: 1.4rem;
  font-family: Georgia, serif;
  color: var(--navy);
  font-weight: 800;
  line-height: 1;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 1.2rem;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--white);
  line-height: 1.95;
  font-style: italic;
  margin-bottom: 28px;
  min-height: 85px;
  padding: 0 3em;
}

.testimonial-author strong {
  display: block;
  font-weight: 500;
  color: var(--white);
  font-size: 1rem;
}

.testimonial-author span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--white);
}

/* Slider Controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.slider-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gray-400);
  /*background: var(--white);*/
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--white);
  font-size: 0.85rem;
}

.slider-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.slider-dots {
  display: flex;
  gap: 6px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-400);
  cursor: pointer;
  transition: all var(--transition);
}

.slider-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* ================================================
   CONTACT SECTION
   ================================================ */
.contact-section {
  padding: var(--section-py) 0;
  background: var(--gradient-navy);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--white);
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-item__icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: rgba(201,168,76,0.12);
  border-radius: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.95rem;
  margin-top: 2px;
}

.contact-item__icon svg {width: 30px; height: 28px;}

.contact-item__content strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 3px;
  font-family: var(--font-body);
}

.contact-item__content span,
.contact-item__content a {
  font-size: 0.95rem;
  color: var(--white);
}

.contact-item__content a:hover { color: var(--gold); }

.contact-item__content a {font-weight: 300;}

/* Contact Form */
.contact-form-wrapper {
  background-color: hsl(var(--card));
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  border: 1px solid #2e4360;
  box-shadow: var(--shadow-md-white);
}

.contact-form-wrapper h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
  color: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #2e4360;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--gray-100);
  background: #132339;
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select { appearance: none; cursor: pointer; }

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-200);
  font-size: 0.88rem;
}

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  background: var(--gradient-navy);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-name { font-size: 1.1rem; }

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 24px;
}

.footer-brand .footer-partner-item {margin-top: 20px;}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: .5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transition: all var(--transition);
}

.social-link svg {width: 24px; height: 24px;}

.social-link:hover {
  background: rgba(202, 153, 104, .25);
  color: var(--white);
  border-color: var(--gold);
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 10px;
  font-family: var(--font-body);
}

.footer-col ul li {
  margin-bottom: 5px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
  font-weight: 300;
}

.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
}

.footer-bottom a {
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--white); }

.footer-bottom-links {
  display: flex;
  gap: 20px;
  font-weight: 300;
}

/* ================================================
   SCROLL TO TOP
   ================================================ */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 900;
  box-shadow: var(--shadow-md);
  font-size: 1rem;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
}

/* ================================================
   UTILITIES
   ================================================ */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }
.text-muted { color: var(--gray-600); }
.mb-0 { margin-bottom: 0 !important; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.w-full { width: 100%; }

/* ================================================
   LANGUAGE CONTENT VISIBILITY
   ================================================ */
[data-lang]{
    display:none;
}

body.lang-th [data-lang="th"]{
    display:inline;
}

body.lang-en [data-lang="en"]{
    display:inline;
}

body.lang-th div[data-lang="th"],
body.lang-th p[data-lang="th"],
body.lang-th h1[data-lang="th"],
body.lang-th h2[data-lang="th"],
body.lang-th h3[data-lang="th"]{
    display:block;
}

body.lang-en div[data-lang="en"],
body.lang-en p[data-lang="en"],
body.lang-en h1[data-lang="en"],
body.lang-en h2[data-lang="en"],
body.lang-en h3[data-lang="en"]{
    display:block;
}

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes countUp {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease both;
}

.fade-delay-1 { animation-delay: 0.1s; }
.fade-delay-2 { animation-delay: 0.2s; }
.fade-delay-3 { animation-delay: 0.3s; }
.fade-delay-4 { animation-delay: 0.4s; }

/* Intersection observer */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  :root { --section-py: 60px; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .product-panel.active { flex-direction: column; }
  .partner-logo {flex-basis: calc((100% - (16px * 3)) / 4);}
}

@media (max-width: 768px) {
  :root { --section-py: 48px; }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    transform: translateY(-110%);
    transition: transform var(--transition);
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .main-nav.open { transform: translateY(0); }

  .nav-link { padding: 12px 20px; font-size: 0.95rem; }
  .nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,0.05); }
  .nav-dropdown a { color: rgba(255,255,255,0.8); }
  .nav-dropdown a:hover { background: rgba(255,255,255,0.08); color: var(--white); }

  .nav-toggle { display: flex; }

  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .stat-item:nth-child(2n) { border-right: none; }

  .grid-6 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); gap: 10px;}
  .partner-logo {flex-basis: calc((100% - (10px)) / 2);}

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
  .form-row { grid-template-columns: 1fr; }

  .product-tabs { overflow-x: auto; flex-wrap: nowrap; }
  .product-tab { min-width: 80px; font-size: 0.76rem; }
}

@media (max-width: 480px) {
  :root { --section-py: 40px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 20px;}
  .stat-item { border-right: none; }
  .contact-form-wrapper { padding: 24px 20px; }
  .footer-partner {padding: 30px 0;}
  .footer-col ul li {margin-bottom: 0; line-height: 1.35;}
  .footer-bottom p {margin-bottom: 0;}
  .site-footer {padding: 40px 0 20px;}
}


.form-message.success {color: #2db35e;}



  .footer-partner {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 30px;
  }
  .footer-partner-item {display: grid; grid-template-columns: 75px auto; gap: 10px; align-items: center;}
  .footer-partner-item .image {}
  .footer-partner-item .desc {font-family: var(--font-th); font-weight: 300; line-height: 1.35; font-size: 14px; color: rgba(255, 255, 255, .6);}
  .footer-partner-item .desc a:hover {color: rgba(255, 255, 255, 1);}

body.privacy-policy {background: var(--gradient-navy); color: #FFF;}

.privacy-policy{
    line-height:1.9;
    font-size:14px;
}

.privacy-policy h2{
    font-size:24px;
    font-weight:500;
    margin-bottom:35px;
    padding-bottom:15px;
    border-bottom:3px solid var(--gold);
}

.privacy-policy h3{
    font-size:20px;
    margin-top:45px;
    margin-bottom:18px;
    font-weight:500;
}

.privacy-policy p{
    margin-bottom:14px;
    font-weight: 400;
}

.privacy-policy ul{
    margin:15px 0 20px 25px;
}

.privacy-policy li{
    margin-bottom:10px;
}

.privacy-contact{
    margin-top:25px;
    padding:25px;
    background:var(--navy-dark);
    border-left:4px solid var(--gold);
    border-radius:6px;
}

.privacy-contact p{
    margin-bottom:14px;
}

@media(max-width:768px){

    .privacy-policy h2{
        font-size:20px;
    }

    .privacy-policy h3{
        font-size:18px;
    }

}


/* ======================================================
   MOBILE HEADER
====================================================== */

@media (max-width:991px){

.site-header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index: 10002;
}

.header-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

/* Logo */

.custom-logo-link,
.site-logo__text{
    flex:0 0 auto;
    z-index:1;
}

/* Hide desktop button */

.btn-get-quote{
    display:none;
}

/* Language */

.lang-switcher{
    display:none;
}

/* Hamburger */

.nav-toggle{
    width:36px;
    height:36px;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    gap:6px;

    background:none;
    border:none;
    cursor:pointer;

    z-index:10002;
}

.nav-toggle span{

    width:24px;
    height:2px;

    background:#fff;

    transition:.35s;
}

/* Hamburger Animation */

.nav-toggle.active span:nth-child(1){

    transform:
        translateY(8px)
        rotate(45deg);

}

.nav-toggle.active span:nth-child(2){

    opacity:0;

}

.nav-toggle.active span:nth-child(3){

    transform:
        translateY(-8px)
        rotate(-45deg);

}

/* =========================================
   Mobile Menu
========================================= */

.main-nav{
    position:fixed;
    top:0;
    left: 0;
    width: 100%;
    max-width:380px;
    height:100vh;
    background:#0e2237;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    padding: 100px 0 40px;
    gap:28px;
    transition:.35s ease;
    z-index:10001;
    overflow:auto;
    transform:translateX(-100%);
    transition:transform .35s ease;
}

/* Open */
.main-nav.open{

    transform:translateX(0);

}

.main-nav .nav-link{

    color:#fff;

    font-size:20px;

    width:100%;

    padding-bottom:12px;

    border-bottom:1px solid rgba(255,255,255,.12);

}

/* Overlay */

.menu-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.55);

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:10000;

}

.menu-overlay.show{

    opacity:1;

    visibility:visible;

}

body.menu-open{

    overflow:hidden;

}

}

/* ======================================================
   DESKTOP
====================================================== */

@media(min-width:992px){

  .nav-toggle{
      display:none;
  }

}

@media (max-width:991px){

.header-right{
    display:flex;
    align-items:center;
    gap:8px;
}

/* ซ่อน CTA */
.btn-get-quote{
    display:none;
}

/* แสดง Language */
.lang-switcher{
    display:flex;
    align-items:center;
    gap:6px;

    font-size:14px;
    

    z-index:10002;
}

.lang-switcher a{
    color:#fff;
    text-decoration:none;
    transition:.3s;
}

.lang-switcher a.active{
    color:var(--gold);
}

.lang-switcher .separator{
    opacity:.45;
}

}