:root {
  --navy: #0A1D3F;
  --navy-2: #0E2450;
  --navy-deep: #071630;
  --gold: #C6A45C;
  --gold-light: #E5C989;
  --red: #C8102E;
  --red-dark: #A50D26;
  --ivory: #FAF8F5;
  --ivory-card: #FFFFFF;
  --ink: #0A1D3F;
  --grey: #5B6478;
  --light-grey: #E2E8F0;
  
  /* Motion Tokens */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --motion-duration: 0.85s;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  font-family: 'Noto Sans Thai', sans-serif;
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.serif { font-family: 'Playfair Display', serif; }
.thserif { font-family: 'Noto Serif Thai', serif; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

.eyebrow {
  font-size: 12.5px;
  letter-spacing: .26em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red);
}

.btn-red {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: .08em;
  padding: 14px 24px;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease-out-expo), 
              box-shadow 0.25s var(--ease-out-expo), 
              background 0.2s ease;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  white-space: nowrap;
}
.btn-red:hover { 
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(200, 16, 46, 0.32);
}

.btn-gold {
  display: inline-block;
  background: linear-gradient(120deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: .08em;
  padding: 15px 28px;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease-out-expo), 
              box-shadow 0.25s var(--ease-out-expo), 
              filter 0.2s ease;
  border: none;
  cursor: pointer;
  border-radius: 2px;
}
.btn-gold:hover { 
  filter: brightness(1.07);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(198, 164, 92, 0.35);
}

.gold-rule {
  width: 64px;
  height: 2px;
  background: var(--gold);
  position: relative;
  margin: 18px 0;
}
.gold-rule::after {
  content: "";
  position: absolute;
  right: -10px;
  top: -3px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid rgba(10,29,63,.08);
  box-shadow: 0 1px 14px rgba(7,22,48,.07);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
  position: relative;
}
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-logo { display: block; width: 138px; max-width: 100%; height: auto; max-height: 84px; }

.desktop-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  color: #3A4560;
  text-transform: uppercase;
}
.desktop-nav-links a { color: inherit; transition: color .15s; }
.desktop-nav-links a:hover { color: var(--red); }

.menu-trigger-btn {
  background: #fff;
  border: 1px solid var(--light-grey);
  width: 38px;
  height: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  border-radius: 4px;
  transition: border-color 0.2s;
  flex: none;
}
.menu-trigger-btn:hover { border-color: var(--gold); }
.menu-trigger-btn span {
  display: block;
  width: 16px;
  height: 2px;
  background-color: var(--navy);
  transition: all 0.3s;
}

.mega-menu-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 16px;
  right: 16px;
  background: #fff;
  border: 1px solid var(--light-grey);
  box-shadow: 0 20px 40px rgba(7,22,48,0.15);
  padding: 24px;
  z-index: 1100;
  border-radius: 0 0 8px 8px;
  animation: dropdownFade .25s ease forwards;
}
.mega-menu-dropdown.active { display: block; }

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 30px;
  max-width: 900px;
  margin: 0 auto;
}
.mega-col { display: flex; flex-direction: column; gap: 12px; }
.mega-col a {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .05em;
  padding-bottom: 6px;
  border-bottom: 1px solid #F1F3F5;
  transition: color 0.2s, padding-left 0.2s;
}
.mega-col a:hover { color: var(--red); padding-left: 4px; border-bottom-color: var(--gold-light); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.lang-switcher-wrapper { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--navy); flex: none; }
.switch-label { cursor: pointer; transition: color 0.2s; }
.switch-label.active { color: var(--red); }
.switch { position: relative; display: inline-block; width: 36px; height: 18px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; inset: 0; background-color: var(--navy); transition: .3s; border-radius: 18px; }
.slider:before { position: absolute; content: ""; height: 12px; width: 12px; left: 3px; bottom: 3px; background-color: white; transition: .3s; border-radius: 50%; }
input:checked + .slider { background-color: var(--red); }
input:checked + .slider:before { transform: translateX(18px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-2) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 420px at 82% 18%, rgba(198,164,92,.16), transparent 65%);
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 56px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 92px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 56px;
  line-height: 1.14;
  margin: 0 0 22px;
}
.hero h1 .commit { color: var(--gold-light); }
.hero p.lead {
  font-size: 16.5px;
  line-height: 1.85;
  color: #C4CCDE;
  max-width: 540px;
  margin: 22px 0 34px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(198,164,92,.55);
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 26px;
}
.hero-photo { position: relative; }
.hero-photo .frame { position: absolute; inset: -14px 14px 14px -14px; border: 1px solid rgba(198,164,92,.5); }
.hero-photo .slash {
  position: absolute;
  left: -52px;
  top: -40px;
  bottom: -40px;
  width: 26px;
  background: linear-gradient(180deg, var(--gold), var(--gold-light));
  transform: skewX(-8deg);
  opacity: .9;
}
.hero-photo .slash.red { left: -30px; width: 14px; background: var(--red); }

.ph {
  background: linear-gradient(160deg, #12294F, #0A1D3F 70%);
  border: 1px solid rgba(198,164,92,.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #8FA0C4;
}
.ph.visual { display: block; overflow: hidden; position: relative; margin: 0; padding: 0; }
.ph.visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,22,48,0), rgba(7,22,48,.18));
  pointer-events: none;
}
.ph.visual img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.96) contrast(1.04); }
.hero-visual img { object-position: center center; }

.hero-card {
  position: absolute;
  left: -24px;
  bottom: 30px;
  background: #fff;
  color: var(--navy);
  padding: 16px 22px;
  box-shadow: 0 14px 40px rgba(7,22,48,.4);
  display: flex;
  align-items: center;
  gap: 13px;
  animation: subtleFloat 5s ease-in-out infinite;
}

@keyframes subtleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-card .ic {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 19px;
  flex: none;
}
.hero-stats {
  display: flex;
  gap: 26px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero-stats .v { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--gold-light); }
.hero-stats .l { font-size: 12px; color: #9AA6C2; margin-top: 3px; }
.hero-stats .div { width: 1px; background: rgba(255,255,255,.14); }

/* ===== 4 PILLARS ===== */
.pillars { background: #fff; padding: 72px 0 68px; border-bottom: 1px solid rgba(10,29,63,.07); }
.pillars .grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pillar { 
  padding: 10px 30px; 
  text-align: center; 
  border-left: 1px solid rgba(10,29,63,.1); 
  transition: transform 0.35s var(--ease-out-expo);
}
.pillar:hover { transform: translateY(-4px); }
.pillar:first-child { border-left: none; }
.pillar .ic { color: var(--gold); margin-bottom: 16px; display: flex; justify-content: center; }
.pillar h3 { font-size: 15px; font-weight: 700; letter-spacing: .12em; color: var(--navy); margin: 0 0 6px; text-transform: uppercase; }
.pillar .th { font-size: 14.5px; font-weight: 600; color: #2A3552; margin-bottom: 8px; }
.pillar p { font-size: 13.5px; line-height: 1.75; color: var(--grey); margin: 0; }

/* ===== STRIP BAR ===== */
.strip-bar {
  background: var(--navy-deep);
  color: #fff;
  padding: 30px 0;
  border-top: 1px solid rgba(198,164,92,.3);
  border-bottom: 1px solid rgba(198,164,92,.3);
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.strip-item {
  padding: 0 20px;
  border-left: 1px solid rgba(255,255,255,.12);
}
.strip-item:first-child { border-left: none; }
.strip-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 5px;
  letter-spacing: .02em;
}
.strip-item p {
  font-size: 12px;
  color: #8FA0C4;
  line-height: 1.5;
  margin: 0;
}

/* ===== MISSION ===== */
.mission { background: var(--ivory); padding: 96px 0; }
.mission .wrap { 
  display: grid; 
  grid-template-columns: 1.05fr .95fr; 
  gap: 56px; 
  align-items: center; 
}
.mission h2 { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 600; color: var(--navy); margin: 0 0 14px; }
.mission h2 em { color: var(--red); font-style: italic; }

.mcard { 
  background: #fff; 
  border: 1px solid rgba(10,29,63,.08); 
  padding: 24px 26px; 
  display: flex; 
  gap: 18px; 
  align-items: flex-start; 
  margin-top: 18px; 
  box-shadow: 0 6px 24px rgba(7,22,48,.05); 
  transition: transform 0.35s var(--ease-out-expo);
}
.mcard:hover { transform: translateY(-4px); }
.mcard .ic { 
  width: 52px; 
  height: 52px; 
  border-radius: 50%; 
  background: var(--navy); 
  color: var(--gold); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  flex: none; 
}
.mcard .ic svg { stroke: var(--gold); }
.mcard h4 { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: var(--navy); }
.mcard p { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--grey); }

.mcard-summary {
  background: #fff;
  border: 1px solid rgba(10,29,63,.08);
  padding: 20px 26px;
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  box-shadow: 0 6px 24px rgba(7,22,48,.05);
}
.mcard-summary .ic-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.mcard-summary .ic-arrow svg { stroke: var(--gold); }
.mcard-summary h4 { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: var(--navy); letter-spacing: .02em; }
.mcard-summary p { margin: 0; font-size: 13.5px; color: var(--grey); }

.mission .photos { display: grid; gap: 18px; }
.mission .photos .ph { 
  height: 220px; 
  border: 1px solid rgba(10,29,63,.1);
  box-shadow: 0 6px 20px rgba(7,22,48,.08);
}
.mission .photos .ph img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  object-position: center; 
  display: block; 
}

/* ===== TRUSTED & AWARDS ===== */
.trusted {
  background: linear-gradient(155deg, var(--navy-deep), var(--navy) 60%, var(--navy-2));
  color: #fff;
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.trusted .inner { position: relative; text-align: center; max-width: 900px; margin: 0 auto; }
.trusted h2 { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 30px; letter-spacing: .06em; margin: 0; text-transform: uppercase; }
.trusted h2 .big { display: block; font-size: 52px; font-weight: 700; color: var(--gold-light); letter-spacing: .08em; margin: 6px 0; }
.trusted .rule { width: 120px; height: 2px; background: var(--gold); margin: 22px auto 46px; position: relative; }
.trusted .rule::after { content: ""; position: absolute; left: 50%; top: -3px; width: 8px; height: 8px; background: var(--gold); transform: translateX(-50%) rotate(45deg); }

.tstats { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 56px; }
.tstat { padding: 0 28px; border-left: 1px solid rgba(255,255,255,.15); text-align: center; }
.tstat:first-child { border-left: none; }
.tstat .ic { color: var(--gold); margin-bottom: 14px; display: flex; justify-content: center; }
.tstat .v { font-family: 'Playfair Display', serif; font-size: 46px; font-weight: 700; color: #E8394F; line-height: 1; }
.tstat .l { font-size: 14px; color: #C4CCDE; margin-top: 10px; line-height: 1.6; }

.awards-h {
  font-size: 13px;
  letter-spacing: .22em;
  color: var(--gold-light);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
}
.awards-h::before, .awards-h::after { content: ""; width: 70px; height: 1px; background: rgba(198,164,92,.5); }
.awards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.award { 
  border: 1px solid rgba(198,164,92,.45); 
  background: rgba(255,255,255,.03); 
  padding: 26px 16px; 
  text-align: center; 
  transition: transform 0.35s var(--ease-out-expo);
}
.award:hover { transform: translateY(-4px); }
.award .laurel { color: var(--gold); font-size: 22px; margin-bottom: 8px; }
.award .n { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--gold-light); letter-spacing: .04em; }
.award .d { font-size: 12.5px; color: #9AA6C2; margin-top: 8px; line-height: 1.6; }

/* ===== ABOUT US ===== */
.about { background: #fff; padding: 96px 0; }
.about .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.about h2 { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 600; color: var(--navy); margin: 0 0 20px; line-height: 1.2; }
.about h2 em { color: var(--red); font-style: italic; }
.about p.lead { font-size: 16px; line-height: 1.9; color: #4A5470; margin: 0 0 26px; }
.about .photo { position: relative; }
.about .photo .bg { position: absolute; inset: 16px -16px -16px 16px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.about .photo .ph { position: relative; height: 440px; }

/* ===== CEO SECTION ===== */
.ceo { background: var(--ivory); padding: 96px 0; }
.ceo .head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.ceo .head h2 { font-family: 'Noto Serif Thai', serif; font-size: 38px; font-weight: 700; color: var(--navy); margin: 12px 0 0; }
.ceo .grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.ceo .photo { position: relative; }
.ceo .photo .frame { position: absolute; inset: -14px 14px 14px -14px; border: 1px solid rgba(198,164,92,.6); }
.ceo .photo .ph { position: relative; height: 520px; }
.ceo .name-card {
  background: var(--navy);
  color: #fff;
  padding: 22px 26px;
  margin: -46px 22px 0;
  position: relative;
  box-shadow: 0 16px 40px rgba(7,22,48,.25);
}
.ceo .name-card .nm { font-family: 'Noto Serif Thai', serif; font-size: 19px; font-weight: 700; }
.ceo .name-card .rl { font-size: 12.5px; color: var(--gold-light); letter-spacing: .06em; margin-top: 6px; line-height: 1.7; }
.ceo h3.nm { font-family: 'Noto Serif Thai', serif; font-size: 28px; font-weight: 700; color: var(--navy); margin: 0 0 6px; }
.ceo .role { font-size: 14px; font-weight: 700; color: var(--red); letter-spacing: .04em; margin-bottom: 4px; }
.ceo .role2 { font-size: 13.5px; color: #8A6F3C; font-weight: 600; margin-bottom: 22px; }
.ceo p.bio { font-size: 15px; line-height: 1.95; color: #3A4560; margin: 0 0 16px; text-align: justify; }

/* ===== แก้ไขกรอบสี่เหลี่ยม B-W-H-L ให้แสดงผลกรอบเดี่ยวสวยงาม (ตามรูปที่ 3) ===== */
.bwhl { 
  display: flex; 
  gap: 10px; 
  flex-wrap: wrap; 
  margin: 22px 0 30px; 
}
.bwhl span { 
  border: 1px solid var(--gold); 
  background: #fff; 
  color: #8A6F3C; 
  font-weight: 700; 
  font-size: 13px; 
  letter-spacing: .12em; 
  padding: 9px 18px; 
  text-transform: uppercase; 
  display: inline-block;
}

/* บังคับซ่อนและแสดงให้ตรงตามสวิตช์ภาษา ไม่ให้แสดงผลปนกัน */
body:not(.lang-en) .bwhl span[lang="en"] {
  display: none !important;
}
body.lang-en .bwhl span[lang="th"] {
  display: none !important;
}
body.lang-en .bwhl span[lang="en"] {
  display: inline-block !important;
}

/* ===== OUR TEAM ===== */
.team-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-2) 100%);
  color: #fff;
  padding: 70px 0;
  position: relative;
}
.team-hero .eyebrow { color: var(--gold-light); font-size: 12px; letter-spacing: .24em; margin-bottom: 12px; }
.team-hero h1 { font-family: 'Playfair Display', serif; font-size: 46px; font-weight: 600; margin: 0 0 16px; letter-spacing: .02em; }
.team-hero p { font-size: 15px; color: #C4CCDE; max-width: 700px; margin: 0; line-height: 1.8; }

.team-grid-section { background: var(--ivory); padding: 80px 0 96px; }
.team-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  border-bottom: 1px solid rgba(10,29,63,0.1);
  padding-bottom: 24px;
}
.team-section-title .eyebrow { margin-bottom: 6px; }
.team-section-title h2 { font-family: 'Noto Serif Thai', serif; font-size: 32px; font-weight: 700; color: var(--navy); margin: 0; line-height: 1.3; }
.team-section-desc { max-width: 480px; font-size: 14px; color: var(--grey); line-height: 1.7; margin: 0; }

.team-vertical-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.team-vertical-card {
  background: #fff;
  border: 1px solid rgba(10,29,63,0.08);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(7,22,48,0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo);
}
.team-vertical-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(7, 22, 48, 0.12);
}
.team-vertical-img { width: 100%; height: 320px; background: #f0f3f8; overflow: hidden; }
.team-vertical-img img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  object-position: top center; 
  display: block; 
  transition: transform 0.6s var(--ease-out-expo);
}
.team-vertical-card:hover .team-vertical-img img { transform: scale(1.04); }
.team-vertical-body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.team-vertical-body h4 { font-family: 'Noto Serif Thai', serif; font-size: 18px; font-weight: 700; color: var(--navy); margin: 0 0 4px; }
.team-vertical-role { font-size: 11.5px; font-weight: 700; color: var(--red); text-transform: uppercase; margin-bottom: 12px; letter-spacing: .04em; }
.team-vertical-desc { font-size: 12.5px; color: var(--grey); line-height: 1.7; margin: 0; }

/* ===== TRUSTED BY CLIENTS ===== */
.tby {
  background: var(--navy-deep);
  border-top: 1px solid rgba(198,164,92,.4);
  border-bottom: 1px solid rgba(198,164,92,.4);
  padding: 34px 0;
}
.tby .h { color: var(--gold-light); font-size: 13px; letter-spacing: .24em; font-weight: 700; text-align: center; text-transform: uppercase; margin-bottom: 26px; }
.row { display: flex; justify-content: center; flex-wrap: wrap; }
.tby .it { display: flex; align-items: center; gap: 12px; padding: 6px 34px; border-left: 1px solid rgba(255,255,255,.14); }
.tby .it:first-child { border-left: none; }
.tby .ic { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: flex; align-items: center; justify-content: center; flex: none; }
.tby .t { color: #E6E9F2; font-size: 13.5px; font-weight: 600; line-height: 1.45; }
.tby .t small { display: block; color: #8FA0C4; font-weight: 400; font-size: 11.5px; }

/* ===== PARTNERS ===== */
.partners-sec { background: #fff; padding: 80px 0; text-align: center; }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 30px; align-items: center; }
.partner-card { 
  background: #fff; 
  border: 1px solid var(--light-grey); 
  padding: 24px 20px; 
  text-align: center; 
  border-radius: 4px; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.02); 
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo), border-color 0.35s ease;
}
.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(7, 22, 48, 0.06);
  border-color: var(--gold);
}
.partner-card img { max-height: 90px; width: auto; margin: 0 auto; }

/* ===== NEWS & ACTIVITIES ===== */
.news-activities-sec { background: var(--ivory); padding: 96px 0; }
.news-activities-header { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.news-activities-header h2 { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 700; color: var(--navy); margin: 10px 0 12px; }
.news-activities-header p { font-size: 14.5px; color: var(--grey); line-height: 1.6; }

.news-zigzag-list { display: flex; flex-direction: column; gap: 64px; max-width: 1050px; margin: 0 auto; }
.news-zigzag-item { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.news-zigzag-item:nth-child(even) { direction: rtl; }
.news-zigzag-item:nth-child(even) > * { direction: ltr; }
.news-zigzag-img { border-radius: 6px; overflow: hidden; box-shadow: 0 10px 30px rgba(7,22,48,0.1); border: 1px solid rgba(10,29,63,0.08); background: #0A1D3F; }
.news-zigzag-img img { width: 100%; height: 280px; object-fit: cover; display: block; }
.news-zigzag-content h3 { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--navy); margin: 0 0 14px; line-height: 1.3; }
.news-zigzag-content p { font-size: 14.5px; color: var(--grey); line-height: 1.8; margin: 0; }

/* ===== Q&A ACCORDION ===== */
.qa-accordion-list { max-width: 850px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.qa-item { background: #fff; border: 1px solid var(--light-grey); border-radius: 8px; overflow: hidden; box-shadow: 0 3px 10px rgba(0,0,0,0.02); transition: border-color 0.3s; }
.qa-item.active { border-color: var(--gold); }
.qa-header { padding: 18px 24px; font-weight: 700; font-size: 15px; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; user-select: none; }
.qa-icon { font-size: 13px; color: var(--red); transition: transform 0.3s ease; }
.qa-item.active .qa-icon { transform: rotate(180deg); }
.qa-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; background: #FDFCF9; font-size: 14px; color: var(--grey); line-height: 1.75; padding: 0 24px; }
.qa-item.active .qa-body { padding: 16px 24px; border-top: 1px solid var(--light-grey); }

/* ===== CONSULTATION FORM ===== */
.consult { background: var(--ivory); padding: 96px 0; border-top: 1px solid rgba(10,29,63,.06); }
.consult .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.consult h2 { font-family: 'Noto Serif Thai', serif; font-size: 38px; font-weight: 700; color: var(--navy); margin: 12px 0 18px; line-height: 1.4; }
.consult p.lead { font-size: 15.5px; line-height: 1.9; color: #4A5470; margin: 0 0 30px; }
.cinfo { display: flex; flex-direction: column; gap: 16px; font-size: 14.5px; }
.cinfo .r { display: flex; align-items: center; gap: 14px; color: #3A4560; }
.cinfo .ic { width: 40px; height: 40px; border: 1px solid var(--gold); color: #8A6F3C; display: flex; align-items: center; justify-content: center; flex: none; }

.form { background: #fff; padding: 42px 40px; box-shadow: 0 24px 60px rgba(7,22,48,.12); border-top: 3px solid var(--red); }
.form h3 { font-family: 'Noto Serif Thai', serif; font-size: 23px; font-weight: 700; margin: 0 0 22px; color: var(--navy); }
.form label { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 600; color: #3A4560; margin-bottom: 15px; }
.form input, .form select { width: 100%; border: 1px solid rgba(10,29,63,.22); padding: 12px 14px; font-size: 15px; font-family: 'Noto Sans Thai', sans-serif; color: var(--ink); outline: none; background: #fff; }
.form input:focus, .form select:focus { border-color: var(--gold); }
.form button.btn-submit-lead { width: 100%; background: var(--red); color: #fff; border: none; padding: 15px; font-size: 15px; font-weight: 700; font-family: 'Noto Sans Thai', sans-serif; cursor: pointer; letter-spacing: .06em; text-transform: uppercase; transition: background .2s; }
.form button.btn-submit-lead:hover { background: var(--red-dark); }
.form button.btn-submit-lead:disabled { background: #A0AEC0; cursor: not-allowed; }
.form .note { font-size: 11.5px; color: #8A93A8; text-align: center; margin-top: 12px; }

/* ===== CTA BANNER ===== */
.cta { background: linear-gradient(120deg, var(--navy-deep), var(--navy) 70%, var(--navy-2)); border-top: 2px solid var(--gold); padding: 52px 0; color: #fff; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta h2 { font-family: 'Playfair Display', serif; font-size: 34px; font-weight: 600; margin: 0; line-height: 1.3; }
.cta h2 em { color: var(--gold-light); font-style: italic; }
.cta p { font-size: 14.5px; color: #C4CCDE; margin: 10px 0 0; max-width: 460px; line-height: 1.8; }

/* ===== FOOTER ===== */
.footer { background: #fff; border-top: 1px solid rgba(10,29,63,.1); padding: 34px 0; }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer .contact { display: flex; gap: 34px; flex-wrap: wrap; font-size: 14px; color: #3A4560; }
.footer .contact .r { display: flex; align-items: center; gap: 9px; }
.footer .contact .ic { color: var(--gold); font-size: 16px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; transition: background .2s; }
.socials a:hover { background: var(--red); color: #fff; }
.footer .base { text-align: center; font-size: 12px; color: #8A93A8; margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(10,29,63,.07); }

/* POPUP MODAL */
.popup-modal { display: none; position: fixed; inset: 0; background: rgba(6, 19, 41, 0.75); backdrop-filter: blur(4px); z-index: 9999; align-items: center; justify-content: center; padding: 20px; }
.popup-modal.active { display: flex; }
.popup-modal-content { background: #fff; border-radius: 8px; max-width: 650px; width: 100%; box-shadow: 0 20px 50px rgba(0,0,0,0.3); position: relative; overflow: hidden; }
.popup-modal-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 26px; color: var(--grey); cursor: pointer; z-index: 10; }

/* Language Display System */
[lang="en"] { display: none !important; }
body.lang-en [lang="th"] { display: none !important; }
body.lang-en [lang="en"] { display: inline !important; }
body.lang-en div[lang="en"], body.lang-en p[lang="en"], body.lang-en h1[lang="en"], body.lang-en h2[lang="en"], body.lang-en h3[lang="en"] { display: block !important; }

/* =====================================================
   ADVANCED MOTION & SCROLL REVEAL STYLES
   ===================================================== */
.motion-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--motion-duration) var(--ease-out-expo), 
              transform var(--motion-duration) var(--ease-out-expo);
  will-change: opacity, transform;
}

.motion-reveal.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.motion-reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity var(--motion-duration) var(--ease-out-expo), 
              transform var(--motion-duration) var(--ease-out-expo);
  will-change: opacity, transform;
}

.motion-reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity var(--motion-duration) var(--ease-out-expo), 
              transform var(--motion-duration) var(--ease-out-expo);
  will-change: opacity, transform;
}

.motion-reveal-left.is-visible,
.motion-reveal-right.is-visible {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

.motion-reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity var(--motion-duration) var(--ease-out-expo), 
              transform var(--motion-duration) var(--ease-out-expo);
  will-change: opacity, transform;
}

.motion-reveal-scale.is-visible {
  opacity: 1 !important;
  transform: scale(1) !important;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero .wrap, .about .wrap, .ceo .grid, .consult .wrap { grid-template-columns: 1fr; }
  .team-vertical-grid { grid-template-columns: repeat(2, 1fr); }
  .team-section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .pillars .grid { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .pillar:nth-child(3) { border-left: none; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .strip-item:nth-child(3) { border-left: none; }
  .tstats { grid-template-columns: 1fr; gap: 34px; }
  .tstat { border-left: none; border-top: 1px solid rgba(255,255,255,.15); padding-top: 30px; }
  .tstat:first-child { border-top: none; padding-top: 0; }
  .awards { grid-template-columns: repeat(2, 1fr); }
  
  .desktop-nav-links { display: none !important; }
  .news-zigzag-item, .news-zigzag-item:nth-child(even) { grid-template-columns: 1fr; direction: ltr; gap: 24px; }
}

@media (max-width: 640px) {
  .wrap { padding-left: 12px; padding-right: 12px; }
  .nav .wrap { padding-left: 8px; padding-right: 8px; gap: 6px; }
  
  .brand-logo { width: 78px; max-height: 40px; }
  
  .nav-actions { gap: 6px; margin-left: auto; }
  
  .menu-trigger-btn { 
    width: 34px; 
    height: 32px; 
    padding: 0; 
  }
  .menu-trigger-btn span { width: 14px; }
  
  .lang-switcher-wrapper { gap: 4px; font-size: 10px; }
  .switch { width: 32px; height: 16px; }
  .slider:before { height: 10px; width: 10px; left: 3px; bottom: 3px; }
  input:checked + .slider:before { transform: translateX(16px); }
  
  .btn-red { 
    font-size: 10px; 
    padding: 7px 9px; 
    letter-spacing: 0;
  }
  
  .team-vertical-grid { grid-template-columns: 1fr; }
  .form { padding: 32px 16px; }
  .awards { grid-template-columns: 1fr; }
  .news-zigzag-img img { height: 210px; }
}