/* components: navbar, hero, cards, tickets, speakers, faq, fab ... */
/* ===== NAVBAR ===== */

nav {

  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  border-bottom: none;
  transition: all 0.3s;
}

nav.scrolled {
 background: rgba(255, 255, 255, 0.97); box-shadow: 0 4px 20px rgba(15,23,42,0.06);
}

/* ═══ NAV โหมดบนวิดีโอ (ยังไม่ scroll) — เมนู + โลโก้สีขาว ═══ */

nav:not(.scrolled) .logo-on-white {
 display: none;
}

nav:not(.scrolled) .logo-on-video {
 display: block !important;
}

nav.scrolled .logo-on-video {
 display: none;
}

nav:not(.scrolled) .nav-links a {
 color: #FFFFFF;
}

nav:not(.scrolled) .nav-links a:hover {
 color: rgba(255,255,255,0.75);
}

nav:not(.scrolled) .hamburger {
 color: #FFFFFF;
}

nav:not(.scrolled) #lang-toggle {
 background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.35);
}

nav:not(.scrolled) #lang-toggle .lt-sep {
 color: rgba(255,255,255,0.5);
}

nav:not(.scrolled) #lang-toggle .lt-th,
nav:not(.scrolled) #lang-toggle .lt-en {
 color: rgba(255,255,255,0.85);
}

nav:not(.scrolled) #lang-toggle .lt-active {
 color: #FFFFFF;
}

.nav-inner {

  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 2rem; gap: 1rem;
}

.nav-logo {

  text-decoration: none; display: flex; align-items: center;
}

.nav-logo img {

  height: 72px; width: auto;
}

.nav-links {
 display: flex; gap: 2rem; list-style: none;
}

.nav-links a {

  color: var(--gray); text-decoration: none; font-size: 0.9rem;
  transition: color 0.3s; font-weight: 500;
}

.nav-links a:hover {
 color: var(--white);
}

.nav-cta {

  background: var(--purple); color: white !important;
  padding: 0.5rem 1.2rem; border-radius: 8px;
  font-weight: 600; transition: all 0.3s;
}

.nav-cta:hover {
 background: #16296B; transform: translateY(-1px);
}

.nav-right {
 display: flex; align-items: center; gap: 0.8rem; flex-shrink: 0;
}

.hamburger {
 display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer;
}

.nav-lang-item {
 display: flex; align-items: center;
}

/* ===== LANG TOGGLE ===== */

#lang-toggle {

  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 20px;
  padding: 0.28rem 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-en);
  letter-spacing: 0.8px;
  transition: all 0.2s;
  flex-shrink: 0;
  line-height: 1;
}

#lang-toggle:hover {
 background: rgba(30,58,138,0.1); border-color: rgba(30,58,138,0.3);
}

#lang-toggle .lt-sep {
 color: rgba(15,23,42,0.25); font-weight: 300;
}

#lang-toggle .lt-th {
 color: rgba(15,23,42,0.5);
}

#lang-toggle .lt-en {
 color: rgba(15,23,42,0.5);
}

#lang-toggle .lt-active {
 color: var(--white);
}

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

.hero {

  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 8rem 2rem 4rem;
  position: relative; overflow: hidden;
  background: linear-gradient(rgba(6,10,28,0.45), rgba(6,10,28,0.58)),
              url('/hero-bg.webp') center/cover no-repeat;
}

.hero-content {
 position: relative; z-index: 1; max-width: 900px;
}

.hero h1 {

  font-family: var(--font-en), var(--font-th); font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 700; line-height: 1.1;
  background: linear-gradient(135deg, #FFFFFF 25%, #93C5FD);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero h1 span {

  background: linear-gradient(135deg, #60A5FA, #2DD4BF);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-sub {

  font-size: clamp(1.25rem, 3vw, 1.9rem);
  color: #E2E8F0;
  font-weight: 600;
  line-height: 1.5;
  max-width: 840px; margin: 0 auto 2rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-sub .hl {

  background: linear-gradient(135deg, #60A5FA, #2DD4BF);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.hero-date {

  font-family: var(--font-en); font-size: 1.1rem;
  color: #67E8F9; font-weight: 600;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-date svg {
 vertical-align: middle; margin-right: 0.3rem;
}

/* Hero urgent line — "อีก 2 สัปดาห์… เจอกัน!" (แทน countdown เดิม) */

.hero-urgent {
  display: inline-block; max-width: 100%;
  font-family: var(--font-en), var(--font-th);
  font-size: clamp(1.6rem, 4.4vw, 2.7rem);
  font-weight: 800; line-height: 1.3; letter-spacing: 0.4px;
  color: #FFFFFF;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(252, 211, 77, 0.5);
  border-radius: 999px;
  padding: 0.55rem 1.5rem;
  margin: 0 0 2.4rem;
  text-shadow: 0 4px 22px rgba(2, 8, 32, 0.5);
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-urgent .hl-u {
  background: linear-gradient(135deg, #FCD34D, #F59E0B);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.hero-btns {

  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.5s both;
}

/* ปุ่มบนพื้นน้ำเงินกรมท่า */

.hero .btn-primary {
 background: #FFFFFF; color: #16296B; box-shadow: 0 4px 24px rgba(255,255,255,0.18);
}

.hero .btn-primary:hover {
 box-shadow: 0 8px 30px rgba(255,255,255,0.28);
}

.hero .btn-outline {
 border-color: rgba(255,255,255,0.45); color: #FFFFFF;
}

.hero .btn-outline:hover {
 border-color: #FFFFFF; background: rgba(255,255,255,0.1); color: #FFFFFF;
}

.btn {

  padding: 0.9rem 2rem; border-radius: 10px; font-size: 1rem;
  font-weight: 600; text-decoration: none; transition: all 0.3s;
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-th);
}

.btn-primary {

  background: linear-gradient(135deg, var(--purple), #16296B);
  color: white; box-shadow: 0 4px 20px var(--purple-glow);
}

.btn-primary:hover {
 transform: translateY(-2px); box-shadow: 0 8px 30px var(--purple-glow);
}

.btn-outline {

  border: 1px solid var(--gray-dark); color: var(--white);
  background: transparent;
}

.btn-outline:hover {
 border-color: var(--purple); background: rgba(30,58,138,0.08);
}

/* ===== FAQ ===== */

.faq-list {
 max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.85rem;
}

.faq-item {
 background: var(--bg-card); border: 1px solid var(--gray-dark); border-radius: 14px; transition: border-color .25s, box-shadow .25s;
}

.faq-item[open] {
 border-color: var(--purple); box-shadow: 0 10px 30px rgba(30,58,138,0.10);
}

.faq-item summary {
 cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.3rem; font-weight: 600; font-size: 1.02rem; color: var(--white); font-family: var(--font-th);
}

.faq-item summary::-webkit-details-marker {
 display: none;
}

.faq-item summary::marker {
 content: '';
}

.faq-item .faq-icon {
 flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: rgba(30,58,138,0.08); color: var(--purple); display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; line-height: 1; transition: transform .25s, background .25s, color .25s;
}

.faq-item[open] summary .faq-icon {
 transform: rotate(45deg); background: var(--purple); color: #fff;
}

.faq-item .faq-a {
 padding: 0 1.3rem 1.15rem; color: var(--gray); font-size: 0.97rem; line-height: 1.8;
}

.faq-item .faq-a a {
 color: var(--purple-light); font-weight: 600; text-decoration: none;
}

.faq-item .faq-a a:hover {
 text-decoration: underline;
}

/* ===== TICKETS ===== */

.ticket-grid {
 display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1240px; margin: 0 auto; align-items: stretch;
}

.ticket-card {
 background: var(--bg-card); border: 1px solid var(--gray-dark); border-radius: 20px; padding: 2.2rem 1.8rem 2rem; display: flex; flex-direction: column; position: relative; transition: all .3s;
}

.ticket-card:hover {
 transform: translateY(-4px); box-shadow: 0 16px 40px rgba(30,58,138,0.12); border-color: var(--purple);
}

.ticket-card .t-badge {
 position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #F59E0B, #D97706); color: #fff; font-size: .75rem; font-weight: 700; padding: .32rem 1.1rem; border-radius: 30px; letter-spacing: .5px; white-space: nowrap; box-shadow: 0 6px 16px rgba(217,119,6,.35);
}

.ticket-card .t-name {
 font-size: 1.15rem; font-weight: 700; margin-bottom: .3rem;
}

.ticket-card .t-price {
 font-family: var(--font-en); font-size: 1.9rem; font-weight: 700; color: var(--purple); margin-bottom: .9rem; line-height: 1.2;
}

.ticket-card .t-price.t-price-sm {
 font-size: 1.3rem;
}

.ticket-card .t-price small {
 font-size: .9rem; font-weight: 500; color: var(--gray);
}









.ticket-card .t-perks {
 list-style: none; margin: 0 0 1.3rem; padding: 0; display: grid; gap: 0.3rem; text-align: left; font-size: 0.9rem; line-height: 1.5;
}

.ticket-card .t-perks li {
 display: flex; gap: 0.5rem; align-items: flex-start;
}

.ticket-card .t-perks .tick {
 color: var(--purple); font-weight: 700; flex-shrink: 0;
}

.ticket-card.t-featured .t-perks {
 color: rgba(255,255,255,0.9);
}

.ticket-card.t-featured .t-perks .tick {
 color: #FBBF24;
}

.ticket-card .t-desc {
 color: var(--gray); font-size: .92rem; line-height: 1.75; flex: 1; margin-bottom: 1.5rem;
}

.ticket-card .t-cta {
 display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, var(--purple), #16296B); color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; padding: .8rem 1.6rem; border-radius: 10px; transition: all .3s;
}

.ticket-card .t-cta:hover {
 transform: translateY(-2px); box-shadow: 0 8px 24px var(--purple-glow);
}

.ticket-card.t-featured {
 background: linear-gradient(160deg, #0F172A, #1E3A8A); border-color: transparent;
}

.ticket-card.t-featured .t-name {
 color: #fff;
}

.ticket-card.t-featured .t-price {
 color: #FBBF24;
}

.ticket-card.t-featured .t-price small {
 color: rgba(255,255,255,.65);
}

.ticket-card.t-featured .t-desc {
 color: rgba(255,255,255,.82);
}

.ticket-card.t-featured .t-cta {
 background: linear-gradient(135deg, #F59E0B, #D97706); color: #0F172A;
}

.ticket-card.t-featured .t-cta:hover {
 box-shadow: 0 8px 24px rgba(245,158,11,.35);
}

.ticket-card .t-sub {
 font-size: .9rem; font-weight: 600; color: var(--gray); margin: -0.1rem 0 .7rem;
}

.ticket-card.t-featured .t-sub {
 color: rgba(255,255,255,0.78);
}

.ticket-card .t-vb {
 display: inline-block; background: linear-gradient(135deg, #F59E0B, #D97706); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .5px; padding: .28rem .95rem; border-radius: 30px; margin-bottom: .8rem;
}

/* ป้ายรอง (เช่น VIP LOUNGE) — กรอบทอง พื้นโปร่ง ไม่แย่งซีนป้ายหลัก */
.ticket-card .t-vb-alt {
 background: transparent; color: #FBBF24; border: 1px solid rgba(245,158,11,.6); margin-left: .35rem;
}

.ticket-card .t-cta-block {
 width: 100%; border: none; cursor: pointer; font-family: inherit; font-size: .95rem;
}

button.t-cta {
 font-family: inherit;
}

/* Modal เลือกวัน (1-Day Pass) */

.day-modal {
 position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center; padding: 1.2rem; background: rgba(2,8,23,0.62); backdrop-filter: blur(4px);
}

.day-modal[hidden] {
 display: none;
}

.day-modal-card {
 background: #fff; border-radius: 20px; max-width: 540px; width: 100%; padding: 1.8rem; box-shadow: 0 24px 70px rgba(2,8,23,0.4); max-height: 88vh; overflow-y: auto;
}

.day-modal-head {
 display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.1rem;
}

.day-modal-head h3 {
 font-size: 1.3rem; color: var(--white); margin: 0; line-height: 1.4;
}

.day-modal-close {
 background: none; border: none; font-size: 1.7rem; line-height: 1; color: var(--gray); cursor: pointer; padding: .1rem .45rem; border-radius: 8px;
}

.day-modal-close:hover {
 color: var(--purple);
}

.day-opt {
 display: flex; align-items: center; justify-content: space-between; gap: .9rem; border: 1px solid var(--gray-dark); border-radius: 14px; padding: .75rem 1rem; margin-bottom: .7rem;
}

.day-opt-txt {
 font-weight: 600; color: var(--white); font-size: .95rem;
}

.day-opt-btn {
 display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(135deg, var(--purple), #16296B); color: #fff; text-decoration: none; font-weight: 600; font-size: .85rem; padding: .6rem 1.15rem; border-radius: 10px; white-space: nowrap; transition: all .3s;
}

.day-opt-btn:hover {
 transform: translateY(-1px); box-shadow: 0 8px 20px var(--purple-glow);
}

/* ===== ABOUT ===== */

#about {

  position: relative;
  background: #02081A url('/forum-bg.webp') center/cover no-repeat;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#about::before {

  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(2,8,26,0.86) 0%, rgba(2,8,26,0.58) 40%, rgba(2,8,26,0.22) 72%, rgba(2,8,26,0.55) 100%);
}

#about .container {
 position: relative; z-index: 2; width: 100%;
}

#about .fwz-content {
 max-width: 680px; text-align: left; color: #FFFFFF;
}

#about .fwz-content .section-label {
 color: #93C5FD;
}

#about .fwz-content .section-title {
 color: #FFFFFF;
}

#about .fwz-content p {
 color: #E2E8F0; font-size: 1.08rem; line-height: 1.9; margin: 1.6rem 0 0;
}

#about .fwz-content .fwz-btns {
 margin-top: 2rem; display: flex; gap: .9rem; flex-wrap: wrap;
}

#about .fwz-cta {
 display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: linear-gradient(135deg, #F59E0B, #D97706); color: #0F172A; font-weight: 700; font-size: 1rem; padding: .95rem 2.2rem; border-radius: 12px; text-decoration: none; box-shadow: 0 10px 30px rgba(217,119,6,.35); transition: all .3s;
}

#about .fwz-cta:hover {
 transform: translateY(-2px); box-shadow: 0 14px 36px rgba(217,119,6,.5);
}

/* About: สรุป 2 โซน (Free Zone / Masterclass Zone) — ให้เห็นว่ามี Free Zone ด้วย ไม่ใช่มีแต่ Masterclass */
#about .fwz-zones {
  list-style: none;
  margin: 1.5rem 0 1.1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

#about .fwz-zones li {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem;
  padding-left: 1.15rem;
}

#about .fwz-zones li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22D3EE;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.65);
}

#about .fwz-zones .fz-k {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  color: #67E8F9;
  white-space: nowrap;
}

#about .fwz-zones .fz-v {
  color: #E2E8F0;
  font-size: 0.98rem;
  line-height: 1.7;
}

#about .fwz-content p.fz-more { margin: 0 0 0.2rem; }

#about .fz-more a {
  color: #93C5FD;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(147, 197, 253, 0.4);
  padding-bottom: 1px;
  transition: color 0.3s, border-color 0.3s;
}

#about .fz-more a:hover {
  color: #FFFFFF;
  border-bottom-color: #FFFFFF;
}

.about-grid {
 display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}

.about-features {
 display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2rem;
}

.feature-card {

  background: var(--bg-card); border: 1px solid var(--gray-dark);
  border-radius: 12px; padding: 1.5rem;
  transition: all 0.3s;
}

.feature-card:hover {
 border-color: var(--purple); transform: translateY(-3px);
}

.feature-icon {

  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 0.8rem;
}

.feature-card h4 {
 font-size: 1rem; margin-bottom: 0.3rem;
}

.feature-card p {
 font-size: 0.85rem; color: var(--gray);
}

/* ===== HIGHLIGHTS ===== */

#highlights {
 background: var(--bg-section);
}

.highlights-grid {
 display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}

.highlight-card {

  background: var(--bg-card); border: 1px solid var(--gray-dark);
  border-radius: 16px; padding: 1.5rem; transition: all 0.3s;
  aspect-ratio: 16 / 9; /* การ์ดสูงเท่ากับอัตราส่วนรูปพื้นหลัง */
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-end; text-align: left;
}

.highlight-card:hover {
 border-color: var(--purple); transform: translateY(-3px);
}

.highlight-icon {

  font-size: 2rem; margin-bottom: 1rem;
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  background: rgba(30,58,138,0.08); border-radius: 12px;
}

.highlight-card h3 {
 font-size: 1.1rem; margin-bottom: 0.5rem;
}

.highlight-card p {
 font-size: 0.9rem; color: var(--gray);
}

/* ===== SPEAKERS ===== */

#speakers {

  background: #010105; /* สีเดียวกับพื้นหลังรูป speaker RGB(1,0,5) */
}

#speakers .section-label {
 color: #93C5FD;
}

/* หัว label บนพื้นมืด */

#speakers .section-title {
 color: #FFFFFF;
}

/* หัวข้อ FEATURED SPEAKERS */

#speakers .spk-head {
 text-align: center; margin-bottom: 2.5rem;
}

#speakers .spk-count-badge {
 box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

#speakers .spk-cta-sub {
 color: #94A3B8;
}

/* ตัวเล็กใต้ปุ่ม */

.spk-count-badge {

  display: inline-flex; align-items: center; gap: 0.7rem;
  background: var(--purple); color: #fff; border-radius: 30px;
  padding: 0.45rem 1.5rem; font-family: var(--font-en);
  font-size: 0.85rem; font-weight: 700; letter-spacing: 1.5px; margin-bottom: 0.5rem;
  box-shadow: 0 8px 24px rgba(30,58,138,0.25);
}

.spk-count-badge small {
 font-weight: 400; opacity: 0.8; letter-spacing: 0.5px; font-size: 0.68rem;
}

.spk-grid {

  display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 1.3rem; max-width: 1160px; margin: 0 auto 2.4rem;
}

.spk-card {

  background: #010105; border: 1px solid rgba(255,255,255,0.10); border-radius: 18px;
  padding: 1.2rem 1.2rem 1.3rem; text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45); transition: all 0.3s;
  display: flex; flex-direction: column; align-items: center;
}

.spk-card:hover {
 transform: translateY(-5px); box-shadow: 0 16px 38px rgba(0,0,0,0.6); border-color: rgba(147,197,253,0.55);
}

.spk-photo {

  position: relative; width: 100%; border-radius: 14px;
  overflow: hidden; margin-bottom: 0.9rem;
}

.spk-photo .spk-initials {

  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-size: 2.3rem; font-weight: 700;
  color: rgba(255,255,255,0.92); letter-spacing: 1px;
}

.spk-photo img {

  position: relative; display: block; width: 100%; height: auto;
  object-fit: cover; object-position: center top;
}

.spk-name {
 font-weight: 700; color: #FFFFFF; font-size: 0.95rem; line-height: 1.45;
}

.spk-title {
 font-size: 0.76rem; color: #CBD5E1; margin-top: 0.3rem; line-height: 1.55;
}

.spk-company {

  font-size: 0.72rem; color: #93C5FD; font-weight: 600;
  margin-top: 0.35rem; letter-spacing: 0.3px; line-height: 1.4;
}

/* การ์ดประกาศเพิ่มเติม (ธีมมืด) */











/* มือถือ: 2 คอลัมน์ */

.spk-cta {
 text-align: center;
}

.spk-cta .btn {
 font-family: var(--font-en); letter-spacing: 1.2px;
}

.spk-cta-sub {
 font-size: 0.75rem; color: var(--gray); margin-top: 0.7rem; letter-spacing: 1px; font-weight: 700;
}

/* ===== VENUE ===== */

#venue {

  background:
    linear-gradient(rgba(247,249,252,0.9), rgba(247,249,252,0.94)),
    url('/about-bg.jpg') center/cover no-repeat fixed;
}

.venue-grid {
 display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}

.venue-map {

  background: var(--bg-card); border: 1px solid var(--gray-dark);
  border-radius: 16px; overflow: hidden; height: 350px;
}

.venue-map iframe {
 width: 100%; height: 100%; border: none; filter: grayscale(0.5) brightness(0.8);
}

.venue-details h3 {
 font-size: 1.5rem; margin-bottom: 1rem;
}

.venue-info-row {

  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.6rem 0; color: var(--gray); font-size: 0.95rem;
}

.venue-info-row span:first-child {
 font-size: 1.2rem;
}

.venue-features {

  display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: 1.5rem;
}

.vf {

  background: var(--bg-card); border: 1px solid var(--gray-dark);
  border-radius: 10px; padding: 1rem; text-align: center;
}

.vf-num {
 font-family: var(--font-en); font-size: 1.3rem; font-weight: 700; color: var(--teal);
}

.vf-label {
 font-size: 0.8rem; color: var(--gray);
}

/* ===== MEETUP ===== */

#meetup {
 background: var(--bg-section);
}

.meetup-banner {

  background: linear-gradient(135deg, rgba(30,58,138,0.08), rgba(8,145,178,0.06));
  border: 1px solid rgba(30,58,138,0.18);
  border-radius: 20px; padding: 3rem; text-align: center;
}

.meetup-banner h3 {
 font-size: 1.8rem; margin-bottom: 0.5rem;
}

.meetup-banner h3 a {
 color: inherit; text-decoration: none; transition: color 0.3s;
}

.meetup-banner h3 a:hover {
 color: var(--purple-light);
}

.meetup-banner p {
 color: var(--gray); margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto;
}

.meetup-months {
 display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}

.month-pill {

  background: var(--bg-card); border: 1px solid var(--gray-dark);
  padding: 0.6rem 1.2rem; border-radius: 10px;
  font-size: 0.9rem; transition: all 0.3s; cursor: pointer;
  color: var(--white); text-decoration: none;
}

.month-pill:hover {
 border-color: var(--purple);
}

.month-pill.active {
 background: linear-gradient(135deg, #F59E0B, #D97706); border-color: transparent;
 color: #0F172A; font-weight: 600; box-shadow: 0 4px 14px rgba(217,119,6,0.25);
}

.meetup-cta-link {

  display: inline-flex; align-items: center; gap: 8px;
  background: var(--purple); color: white; text-decoration: none;
  padding: 0.6rem 1.5rem; border-radius: 10px;
  font-weight: 600; font-size: 0.9rem; transition: all 0.3s;
  margin-top: 1.5rem;
}

.meetup-cta-link:hover {
 background: #16296B; transform: translateY(-2px);
}

/* ===== REGISTER ===== */



















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





/* ===== CONTACT ===== */

#contact {
 background: var(--bg-section);
}

.contact-grid {
 display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}

.contact-card {

  background: var(--bg-card); border: 1px solid var(--gray-dark);
  border-radius: 16px; padding: 2rem; text-align: center;
  transition: all 0.3s;
}

.contact-card:hover {
 border-color: var(--purple); transform: translateY(-3px);
}

.contact-email {

  color: var(--teal); text-decoration: none; font-size: 0.85rem;
  transition: color 0.3s;
}

.contact-email:hover {
 color: var(--purple);
}

/* ===== FOOTER (navy dark — ไฮไลต์ของธีม) ===== */

footer {

  background: #0F172A; border-top: 1px solid #1E293B;
  padding: 3rem 2rem 1.5rem; text-align: center;
}

.footer-logo {

  font-family: var(--font-en); font-size: 1.5rem; font-weight: 700;
  background: linear-gradient(135deg, #A78BFA, #22D3EE);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.footer-links {
 display: flex; gap: 2rem; justify-content: center; margin-bottom: 1.5rem; flex-wrap: wrap;
}

.footer-links a {
 color: #94A3B8; text-decoration: none; font-size: 0.9rem; transition: color 0.3s;
}

.footer-links a:hover {
 color: #FFFFFF;
}

.footer-copy {
 color: #64748B; font-size: 0.8rem;
}

/* ===== FLOATING PARTICLES ===== */

.particles {

  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none; overflow: hidden;
}

.particle {

  position: absolute; border-radius: 50%;
  background: #60A5FA; opacity: 0.28;
  animation: float 8s infinite ease-in-out;
}

@keyframes float {

  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-22px); }
}

/* ===== AI ลูกเล่นพื้นหลัง hero ===== */

.ai-orb {

  position: absolute; border-radius: 50%; filter: blur(70px);
  opacity: 0.55; pointer-events: none;
}

.ai-orb-1 {

  width: 440px; height: 440px; background: rgba(59,130,246,0.30);
  top: -140px; right: -100px; animation: orbFloat 16s infinite ease-in-out;
}

.ai-orb-2 {

  width: 400px; height: 400px; background: rgba(34,211,238,0.22);
  bottom: -120px; left: -80px; animation: orbFloat 20s infinite ease-in-out reverse;
}

.ai-orb-3 {

  width: 240px; height: 240px; background: rgba(147,197,253,0.20);
  top: 45%; left: 12%; animation: orbFloat 13s infinite ease-in-out 2s;
}

@keyframes orbFloat {

  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(34px, -46px) scale(1.1); }
}

/* Neural network SVG */

.nn {

  position: absolute; right: -40px; bottom: -30px; width: 560px; height: auto;
  opacity: 0.85; pointer-events: none;
}

.nn line {
 stroke: rgba(147,197,253,0.20); stroke-width: 1;
}

.nn .nn-node {
 animation: nodePulse 3.2s infinite ease-in-out;
}

.nn .nn-node:nth-child(odd) {
 animation-delay: 0.6s;
}

.nn .nn-node:nth-child(3n) {
 animation-delay: 1.4s;
}

@keyframes nodePulse {

  0%, 100% { opacity: 0.25; }
  50% { opacity: 1; }
}

@keyframes fadeInUp {

  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes popIn {

  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ===== RESPONSIVE ===== */

/* ===== SCROLL ANIMATIONS ===== */

.reveal {

  opacity: 0; transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

#eh-ai-fab {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
  background: linear-gradient(135deg, #C96442, #a8522f);
  color: #fff; padding: 0.75rem 1.4rem; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  box-shadow: 0 4px 20px rgba(201,100,66,0.45);
  font-family: 'Noto Sans Thai', sans-serif;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex; align-items: center; gap: 0.4rem;
}
#eh-ai-fab:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 28px rgba(201,100,66,0.65);
}

/* hover/focus แทน inline handlers (Phase 2) */
.hover-rise:hover, .hover-rise:focus-visible { transform: translateY(-2px); }
.social-ico { width: 40px; height: 40px; border-radius: 50%; background: rgba(30,58,138,.08); display: inline-flex; align-items: center; justify-content: center; color: var(--purple); transition: all .2s; text-decoration: none; }
.social-ico:hover, .social-ico:focus-visible { background: #1E3A8A; color: #FFFFFF; }

/* Phase 2: ย้าย inline style → class */
.meetup-video { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; background: #000; }
.hero-logo { height: 120px; width: auto; margin-bottom: 1.5rem; }
.logo-on-video { display: none; }
.org-logo-wrap { display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; }

/* ซ่อน section HIGHLIGHTS + ลิงก์ที่ชี้ไป (ตามคำสั่ง 9 ก.ย.) — ย้อนได้โดยลบ block นี้ */
#highlights { display: none; }
a[href="#highlights"] { display: none; }
.nav-links li:has(a[href="#highlights"]) { display: none; }

/* ===== TICKETS layout 3+3 (Phase: 2026-09-15) ===== */
/* 6 การ์ด เรียง 3 คอลัมน์ 2 แถว — VIP การ์ดปกติในแถวบน */
.ticket-card.t-vipcard {
  grid-column: auto;
  max-width: none;
  background: linear-gradient(160deg, #0F172A, #1E1B4B);
  border: 1px solid rgba(245, 158, 11, 0.55);
}
.ticket-card.t-vipcard .t-name { color: #fff; }
.ticket-card.t-vipcard .t-perks { color: rgba(255,255,255,0.9); }
.ticket-card.t-vipcard .t-perks .tick { color: #FBBF24; }
.ticket-card.t-vipcard .t-price { color: #FBBF24; }
.ticket-card.t-vipcard .t-desc { color: rgba(255,255,255,0.82); }
.ticket-card.t-vipcard .t-cta { background: linear-gradient(135deg, #F59E0B, #D97706); color: #0F172A; }
.ticket-card.t-vipcard .t-cta:hover { box-shadow: 0 8px 24px rgba(245,158,11,0.35); }

/* ── ปุ่มซื้อบัตรที่ยังไม่เปิดขาย — สีเทา กดไม่ได้ (เจ้าของงานสั่ง 17 ก.ย. 2569) ── */
.ticket-card .t-cta.is-disabled,
.ticket-card.t-featured .t-cta.is-disabled,
.ticket-card.t-vipcard .t-cta.is-disabled,
button.t-cta.is-disabled,
#about .fwz-cta.is-disabled,
.day-opt-btn.is-disabled {
  background: #E2E8F0 !important;
  background-image: none !important;
  color: #94A3B8 !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  transform: none !important;
}

/* ===== MASTERCLASS & WORKSHOP — preview บนหน้าแรก (ลิงก์ไป /agenda/) ===== */
/* แทนการโชว์ตาราง Day 1 บนหน้าแรก: สรุป 2 programme + CTA ไปหน้าตารางเต็ม */

.mc-head { max-width: 860px; margin: 0 auto 2.4rem; text-align: center; }
.mc-head .mc-title { margin-bottom: 0.7rem; }

.mc-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  max-width: 900px;
  margin: 0 auto;
}

.mc-prev-card {
  background: var(--bg-card);
  border: 1px solid var(--gray-dark);
  border-top: 3px solid var(--purple-light);
  border-radius: 16px;
  padding: 1.5rem 1.4rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.mc-prev-card.mc-prev-ws { border-top-color: var(--gold); }

.mc-prev-name {
  font-family: var(--font-en);
  font-size: 1.15rem;
  color: var(--purple);
  margin: 0 0 0.5rem;
}

.mc-prev-line { color: var(--white); font-size: 0.98rem; line-height: 1.6; margin: 0 0 0.4rem; }
.mc-prev-count { font-family: var(--font-en); font-size: 0.9rem; color: var(--gray); margin: 0 0 0.6rem; }

.mc-prev-days {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.mc-day-link {
  font-family: var(--font-en);
  font-size: 0.86rem;
  letter-spacing: 0.4px;
  color: var(--purple);
  background: rgba(30, 58, 138, 0.06);
  border: 1px solid rgba(30, 58, 138, 0.16);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.mc-day-link:hover { background: rgba(30, 58, 138, 0.12); border-color: var(--purple-light); }
.mc-day-link:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

.mc-prev-card.mc-prev-ws .mc-day-link { color: #92400E; background: rgba(217, 119, 6, 0.09); border-color: rgba(217, 119, 6, 0.28); }
.mc-prev-card.mc-prev-ws .mc-day-link:hover { background: rgba(217, 119, 6, 0.16); border-color: var(--gold); }

.mc-prev-note { margin: 0.7rem 0 0; font-size: 0.84rem; line-height: 1.55; color: var(--gray); }

.mc-cta-preview { justify-content: center; margin-top: 2.2rem; }

/* ===== ARTWORK GALLERY (การ์ด 2 ใบ → lightbox ภาพกำหนดการ) ===== */
/* วางหลังการ์ดสรุป Masterclass/Workshop และก่อน CTA หลัก — ไม่มีเส้น accent, ไม่กระทบ section อื่น */

.mc-gallery { max-width: 900px; margin: 2.8rem auto 0; }
.mc-gallery-title {
  font-family: var(--font-en);
  font-size: 1.05rem;
  color: var(--purple);
  text-align: center;
  letter-spacing: 0.3px;
  margin: 0 0 0.35rem;
}
.mc-gallery-sub { text-align: center; color: var(--gray); font-size: 0.92rem; line-height: 1.6; margin: 0 0 1.3rem; }
.mc-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }

.mc-gcard {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  background: var(--bg-card);
  border: 1px solid var(--gray-dark);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  font: inherit;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.mc-gcard:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12); border-color: var(--purple-light); }
.mc-gcard:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.mc-gcard-thumb { position: relative; display: block; background: #0B1A3A; }
.mc-gcard-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
}
.mc-gcard-badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #FFFFFF;
  background: rgba(2, 8, 23, 0.72);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
}
.mc-gcard-body { display: block; padding: 0.95rem 1.05rem 1.1rem; }
.mc-gcard-name { display: block; font-family: var(--font-en); font-weight: 700; font-size: 1.02rem; color: var(--purple); }
.mc-gcard-hint { display: block; color: var(--gray); font-size: 0.88rem; line-height: 1.5; margin-top: 0.3rem; }
.mc-gcard-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(30, 58, 138, 0.22);
  border-radius: 10px;
  background: rgba(30, 58, 138, 0.06);
  color: var(--purple);
  font-weight: 600;
  font-size: 0.9rem;
}
.mc-gcard:hover .mc-gcard-cta { background: rgba(30, 58, 138, 0.12); border-color: var(--purple-light); }

/* lightbox */
.mc-lb { position: fixed; inset: 0; z-index: 1200; background: rgba(2, 8, 23, 0.94); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.mc-lb[hidden] { display: none; }
.mc-lb-card { background: #FFFFFF; border-radius: 14px; width: min(96vw, 1100px); max-height: 94vh; display: flex; flex-direction: column; overflow: hidden; }
.mc-lb-head { display: flex; align-items: center; gap: 0.7rem; padding: 0.55rem 0.7rem 0.55rem 1rem; border-bottom: 1px solid var(--gray-dark); }
.mc-lb-title { font-family: var(--font-en); font-size: 1rem; color: var(--purple); margin: 0; }
.mc-lb-counter { font-family: var(--font-en); font-size: 0.9rem; color: var(--gray); margin-left: auto; }
.mc-lb-btn {
  width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--gray-dark); background: #FFFFFF; color: var(--purple);
  font-size: 1.05rem; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.mc-lb-btn:hover { background: rgba(30, 58, 138, 0.06); border-color: var(--purple-light); }
.mc-lb-body { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; background: #F1F5F9; padding: 0.6rem 0.5rem; }
.mc-lb-img { display: block; max-width: 100%; max-height: 76vh; width: auto; height: auto; object-fit: contain; }
.mc-lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--gray-dark); background: rgba(255, 255, 255, 0.95); color: var(--purple);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.mc-lb-nav:hover { background: #FFFFFF; border-color: var(--purple-light); }
.mc-lb-prev { left: 0.5rem; }
.mc-lb-next { right: 0.5rem; }
.mc-lb-foot { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; padding: 0.55rem 0.8rem 0.55rem 1rem; border-top: 1px solid var(--gray-dark); }
.mc-lb-day { font-size: 0.9rem; font-weight: 600; color: var(--purple); }
.mc-lb-full { margin-left: auto; min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; font-size: 0.92rem; color: var(--purple-light); text-decoration: none; }
.mc-lb-full:hover { text-decoration: underline; }
.mc-lb :focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .mc-gcard, .mc-gcard-cta { transition: none; }
  .mc-gcard:hover { transform: none; }
}

/* ===== MASTERCLASS WORKSHOP (Day 1 agenda) ===== */
/* พื้นหลังขาวล้วนตามข้อกำหนด — accent Navy/Blue/Cyan เฉพาะ typography, border, button, decorative */

#masterclass {
  position: relative;
  background: #FFFFFF;
  border-top: 1px solid rgba(30, 58, 138, 0.10);
  border-bottom: 1px solid rgba(30, 58, 138, 0.12);
  padding: 7rem 2rem; /* desktop ~112px */
  overflow: hidden;
}

.mc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr);
  grid-template-areas: "media body";
  gap: clamp(2rem, 4vw, 3.4rem);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.mc-media { grid-area: media; position: relative; display: flex; justify-content: center; }
.mc-body { grid-area: body; max-width: 560px; }

/* glow ฟ้าอ่อนหลังภาพ — โปร่งใสต่ำ ไม่ทำให้พื้นหลัง section เปลี่ยนจากสีขาว */
.mc-glow {
  position: absolute;
  inset: 6% 8%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(59, 130, 246, 0.20), rgba(8, 145, 178, 0.10) 62%, rgba(255, 255, 255, 0) 100%);
  filter: blur(28px);
  pointer-events: none;
}

.mc-figure { position: relative; z-index: 1; margin: 0; width: 100%; max-width: 620px; }

.mc-thumb {
  display: block;
  width: 100%;
  padding: 0.5rem;
  background: #FFFFFF;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
  cursor: zoom-in;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.mc-thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.38);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.14);
}

/* ไม่ crop: width 100% + height auto (ไม่ใช้ object-fit / ความสูงตายตัว) */
.mc-thumb img { display: block; width: 100%; height: auto; border-radius: 8px; }

/* เส้น accent ใต้ eyebrow: เอาออกตามคำสั่ง (ผลเฉพาะ Section Masterclass & Workshop — ไม่แตะ style ของ section อื่น) */
.mc-eyebrow { margin-bottom: 0.85rem; }

.mc-title { color: var(--purple); letter-spacing: 0.2px; }

.mc-desc { color: var(--gray); font-size: 1.02rem; line-height: 1.75; margin: 0 0 1.4rem; }

.mc-info {
  border: 1px solid rgba(37, 99, 235, 0.20);
  border-left: 3px solid var(--teal);
  border-radius: 10px;
  padding: 1rem 1.15rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.045), rgba(8, 145, 178, 0.03));
}

.mc-info-day { font-family: var(--font-en); font-weight: 700; color: var(--purple); letter-spacing: 1.4px; }
.mc-info-line { font-family: var(--font-en); font-weight: 600; color: var(--white); font-size: 1.02rem; letter-spacing: 0.6px; margin-top: 0.15rem; }
.mc-info-venue { color: var(--gray); font-size: 0.95rem; margin-top: 0.5rem; }

.mc-topics-label {
  font-family: var(--font-en);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.7rem;
}

.mc-topics { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }

.mc-chip {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #0E7490;
  background: rgba(8, 145, 178, 0.07);
  border: 1px solid rgba(8, 145, 178, 0.32);
  border-radius: 999px;
  padding: 0.42rem 0.85rem;
}

.mc-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.mc-btn { font-family: var(--font-en); letter-spacing: 1.1px; font-size: 0.95rem; }
.mc-btn.btn-outline { border-color: rgba(37, 99, 235, 0.42); color: var(--purple); }
.mc-btn.btn-outline:hover { border-color: var(--purple); background: rgba(30, 58, 138, 0.06); }

/* เชื่อมกับ Speakers section ที่ตามมา — ปรับเฉพาะ spacing ด้านบน */
#masterclass + #speakers { padding-top: 4.25rem; }

/* Lightbox ดู Agenda Day 1 ขนาดใหญ่ — ใช้ pattern เดียวกับ .day-modal */
.mc-lightbox {
  position: fixed; inset: 0; z-index: 600; display: flex; align-items: center; justify-content: center;
  padding: 1.2rem; background: rgba(2, 8, 23, 0.72); backdrop-filter: blur(4px);
}

.mc-lightbox[hidden] { display: none; }

.mc-lightbox-card {
  display: flex; flex-direction: column;
  background: #fff; border-radius: 18px; width: min(94vw, 760px); max-height: 92vh; overflow: hidden;
  box-shadow: 0 24px 70px rgba(2, 8, 23, 0.45);
}

.mc-lightbox-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.95rem 1.2rem; border-bottom: 1px solid var(--gray-dark); }
.mc-lightbox-head h3 { margin: 0; font-size: 1.05rem; color: var(--purple); font-family: var(--font-en); letter-spacing: 0.6px; }

.mc-lightbox-close { background: none; border: none; font-size: 1.7rem; line-height: 1; color: var(--gray); cursor: pointer; padding: 0.1rem 0.45rem; border-radius: 8px; }
.mc-lightbox-close:hover { color: var(--purple); }

/* รองรับ scroll เมื่อภาพสูงเกิน viewport */
.mc-lightbox-body { overflow: auto; -webkit-overflow-scrolling: touch; padding: 1rem; }
.mc-lightbox-body img { display: block; width: 100%; height: auto; border-radius: 8px; }

/* ===== ZONES OVERVIEW (Free Zone / Masterclass Zone) ===== */

#zones {
  background: var(--bg-dark); /* #F7F9FC — โทนเดียวกับ section อื่น ไม่ใช่ dark/gradient เข้ม */
  padding: 7rem 2rem;
}

.zn-head { max-width: 880px; margin: 0 auto 2.6rem; text-align: center; }
.zn-title { margin-bottom: 0.8rem; color: var(--purple); }
.zn-desc { color: var(--gray); font-size: 1.03rem; line-height: 1.75; margin: 0; }

.zn-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
  max-width: 1120px;
  margin: 0 auto;
  align-items: stretch;
}

.zn-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--gray-dark);
  border-radius: 16px;
  padding: 1.7rem 1.5rem;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

/* accent เชิง decorative: Free = cyan · Masterclass = navy */
.zn-card-free { border-top: 3px solid var(--teal); }
.zn-card-mc { border-top: 3px solid var(--purple); }

.zn-name {
  font-size: 1.12rem;
  line-height: 1.45;
  color: var(--purple);
  margin: 0 0 0.95rem;
}

.zn-list > ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }

.zn-list > ul > li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--white);
  font-size: 0.96rem;
  line-height: 1.6;
}

.zn-list > ul > li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 700;
}

/* 3 วิธีเข้างาน Free Zone — ลำดับเลข */
.zn-list ol { list-style: none; margin: 0.55rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; counter-reset: znstep; }

.zn-list ol > li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--gray);
  font-size: 0.93rem;
  line-height: 1.55;
  counter-increment: znstep;
}

.zn-list ol > li::before {
  content: counter(znstep);
  position: absolute;
  left: 0;
  top: 0.08rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: rgba(8, 145, 178, 0.10);
  color: #0E7490;
  font-family: var(--font-en);
  font-size: 0.74rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zn-actions { margin-top: auto; padding-top: 1.3rem; display: flex; flex-direction: column; gap: 0.6rem; align-items: flex-start; }

.zn-cta { font-family: var(--font-en); letter-spacing: 0.8px; min-height: 46px; justify-content: center; }

.zn-note { margin: 0; font-size: 0.85rem; line-height: 1.6; color: var(--gray); }

/* ===== GETTING TO THE EVENT (การเดินทางมางาน) — accordion ===== */

.gt-head { max-width: 820px; margin: 0 auto 2.4rem; text-align: center; }

.gt-lead { color: var(--gray); font-size: 1.03rem; line-height: 1.75; margin: 0 0 0.55rem; }

.gt-meta { color: var(--purple); font-size: 0.92rem; font-weight: 600; line-height: 1.6; margin: 0; }

.gt-accs { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.85rem; }

/* Accordion card — ภาษาเดียวกับ .faq-item (details/summary) ไม่ใช้ glassmorphism/gradient ใหม่ */
.gt-acc {
  background: var(--bg-card);
  border: 1px solid var(--gray-dark);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  transition: border-color .25s, box-shadow .25s;
}

.gt-acc:hover { border-color: rgba(30, 58, 138, 0.35); }

.gt-acc[open] {
  border-color: var(--purple);
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.10);
}

/* visual emphasis เล็กน้อยสำหรับวิธีที่แนะนำ (MRT) */
.gt-acc-rec { border-color: rgba(30, 58, 138, 0.30); }
.gt-acc-rec .gt-ico { background: rgba(30, 58, 138, 0.12); }

.gt-acc-head {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 1.05rem 1.25rem; cursor: pointer; list-style: none;
}

.gt-acc-head::-webkit-details-marker { display: none; }
.gt-acc-head::marker { content: ''; }

.gt-acc[open] .gt-acc-head { background: rgba(30, 58, 138, 0.03); border-radius: 15px 15px 0 0; }

.gt-ico {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 11px;
  background: rgba(30, 58, 138, 0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; line-height: 1;
}

.gt-acc-title { flex: 1 1 auto; min-width: 0; font-size: 1.02rem; font-weight: 700; line-height: 1.45; color: var(--white); }

.gt-acc[open] .gt-acc-title { color: var(--purple); }

.gt-badge {
  flex: 0 0 auto; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.3px;
  padding: 0.22rem 0.65rem; border-radius: 30px; white-space: nowrap;
  background: rgba(30, 58, 138, 0.10); color: var(--purple);
}

.gt-acc-rec .gt-badge { background: var(--purple); color: #FFFFFF; }

.gt-chev {
  flex: 0 0 auto; width: 9px; height: 9px; margin-left: 0.3rem;
  border-right: 2px solid var(--gray); border-bottom: 2px solid var(--gray);
  transform: rotate(45deg); transition: transform .25s ease, border-color .25s ease;
}

.gt-acc[open] .gt-chev { transform: rotate(-135deg); border-color: var(--purple); }

.gt-acc-body { padding: 0 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 0.85rem; }

.gt-acc-body > * { margin: 0; }

.gt-text { color: var(--gray); font-size: 0.96rem; line-height: 1.7; }

/* ข้อความเน้น (Exit 3 → Challenger) */
.gt-hl {
  padding: 0.7rem 0.9rem; border-left: 3px solid var(--purple); border-radius: 0 10px 10px 0;
  background: rgba(30, 58, 138, 0.06); color: var(--white); font-size: 0.95rem; font-weight: 600; line-height: 1.65;
}

/* mini route / step indicator (PK10 → SP → MT01/MT02 → ทางออก 3) */
.gt-route { position: relative; list-style: none; padding: 0.2rem 0 0.2rem 1.7rem; }

.gt-route::before {
  content: ""; position: absolute; left: 0.42rem; top: 0.9rem; bottom: 0.9rem;
  width: 2px; background: var(--gray-dark); border-radius: 2px;
}

.gt-step { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem; padding: 0.35rem 0; }

.gt-step::before {
  content: ""; position: absolute; left: -1.6rem; top: 50%; transform: translateY(-50%);
  width: 12px; height: 12px; border-radius: 50%; background: var(--bg-card); border: 2px solid var(--purple);
}

.gt-step-last::before { background: var(--purple); }

.gt-step-k {
  flex: 0 0 auto; font-family: var(--font-en); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.3px;
  color: var(--purple); background: rgba(30, 58, 138, 0.08); border-radius: 8px; padding: 0.2rem 0.6rem;
}

.gt-step-v { flex: 1 1 12ch; min-width: 0; color: var(--white); font-size: 0.94rem; line-height: 1.5; }

/* bullet list (จุดขึ้นรถตู้) */
.gt-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.4rem; }

.gt-list li { position: relative; padding-left: 1.4rem; color: var(--white); font-size: 0.95rem; line-height: 1.6; }

.gt-list li::before { content: "•"; position: absolute; left: 0.35rem; color: var(--purple); font-weight: 700; }

.gt-note {
  padding: 0.7rem 0.85rem; border-radius: 10px;
  background: rgba(30, 58, 138, 0.04);
  color: var(--gray); font-size: 0.9rem; line-height: 1.65;
}

.gt-warn {
  padding: 0.7rem 0.85rem;
  border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0;
  background: rgba(217, 119, 6, 0.10);
  color: var(--white); font-size: 0.9rem; line-height: 1.65; font-weight: 600;
}

/* secondary action ภายใน card — ไม่แย่งความเด่นจากข้อมูลหลัก */
.gt-inline { font-size: 0.94rem; }

.gt-inline a { color: var(--purple-light); font-weight: 600; text-decoration: none; }

.gt-inline a:hover, .gt-inline a:focus-visible { text-decoration: underline; }

.gt-cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.2rem; }

.gt-btn { min-height: 48px; }

/* ===== PARTNERS (พันธมิตรของเรา) — square logo cards ===== */

.pt-head { max-width: 820px; margin: 0 auto 2.4rem; text-align: center; }

.pt-lead { color: var(--gray); font-size: 1.03rem; line-height: 1.75; margin: 0; }

.pt-grid {
  display: flex; flex-wrap: wrap; justify-content: center;   /* ไทล์ที่เหลือแถวสุดท้ายจะอยู่กึ่งกลาง */
  gap: 1.2rem;
  max-width: 900px;
  margin: 0 auto;
}

/* ไทล์สี่เหลี่ยมจัตุรัส 1:1 — ทุกใบขนาดเดียวกัน */
.pt-card {
  flex: 0 1 260px;
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  padding: 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--gray-dark);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  transition: border-color .25s, box-shadow .25s;
}

.pt-card:hover { border-color: rgba(30, 58, 138, 0.35); box-shadow: 0 12px 30px rgba(30, 58, 138, 0.10); }

/* logo pad = พื้นรองโลโก้ภายในไทล์ (โครงสร้างเดียวกันทุกใบ)
   ตั้งเป็นโปร่งใส/พื้นขาว เพื่อให้ไฟล์โลโก้ที่มีพื้นหลังขาวทึบ (AiROVA) กลืนกับการ์ดสีขาว
   และไม่กระทบไฟล์ PNG พื้นโปร่งใสอีก 2 ไฟล์ — ไม่แก้สี/ไม่ใส่ filter ที่ตัวโลโก้ทุกกรณี
   (ถ้าอนาคตมีโลโก้สีขาว/สีอ่อน กำหนดพื้น pad เฉพาะไทล์นั้น เช่น .pt-card--onlight .pt-pad { background: var(--purple) }) */
.pt-pad {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 0.9rem;
  border-radius: 12px;
  background: transparent;
}

.pt-pad img { display: block; width: 100%; height: 100%; object-fit: contain; }
