/* ============================================================
   SATIT ACADEMIC FAIR 2026 — Official Website Stylesheet
   Literacy Building Community
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS Variables — Satit Brand Pantone 2026 ── */
:root {
  /* ── Brand Core ── */
  --brand-red:      #ff9c4a;   /* สีหลัก */
  --brand-red-dark: #CF3732;   /* สีรอง แดงเข้ม */
  --brand-red-mid:  #D65134;   /* สีรอง */
  --brand-brown:    #572E16;   /* สีรอง น้ำตาล */
  --brand-rust:     #A55D32;   /* สีรอง */
  --brand-orange:   #E27338;   /* สีรอง ส้ม */
  --brand-amber:    #DF9B40;   /* สีรอง เหลืองส้ม */
  --brand-gold:     #EEA841;   /* สีรอง ทอง */
  --brand-peach:    #E8967E;   /* สีรอง ชมพู */
  --brand-blush:    #E9963E;   /* สีรอง */
  --brand-cream:    #E9963E;
  --brand-pink:     #DD8D4F;   /* สีรอง */
  --brand-gray:     #4D4C4D;   /* สีหลัก เทา */

  /* ── Semantic aliases ── */
  --red:          var(--brand-red);
  --red-light:    #ffffff;
  --red-dark:     var(--brand-red-dark);
  --orange:       var(--brand-orange);
  --gold:         var(--brand-gold);
  --gray-brand:   var(--brand-gray);

  /* ── Dark bases (nav/hero/footer — ใช้เทาเข้มจาก brand) ── */
  --navy:       #E27338;   /* แทน navy ด้วย dark warm */
  --navy-mid:   #E9963E;
  --navy-light: #D65134;

  /* ── Light sections ── */
  --bg-light:   #FDF5F0;   /* warm cream */
  --bg-white:   #FFFFFF;
  --bg-soft:    #FAF0EB;   /* warm peach-cream */

  /* ── Text ── */
  --text-dark:  #2A1A1A;
  --text-mid:   #4D2E2E;
  --text-body:  #5C3A2E;

  /* ── Gradient shortcuts ── */
  --grad-brand:      linear-gradient(135deg, #F10001 0%, #E27338 50%, #EEA841 100%);
  --grad-brand-v:    linear-gradient(180deg, #F10001 0%, #E27338 60%, #EEA841 100%);
  --grad-dark:       linear-gradient(135deg, #2A1A1A 0%, #4D2020 100%);

  --font-th: 'Noto Sans Thai', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 48px;

  --shadow-sm:    0 2px 12px rgba(241,0,1,0.08);
  --shadow-md:    0 8px 32px rgba(241,0,1,0.12);
  --shadow-lg:    0 20px 60px rgba(241,0,1,0.15);
  --shadow-red:   0 8px 28px rgba(241,0,1,0.32);
  --shadow-card:  0 4px 24px rgba(80,20,10,0.10);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-th);
  background: var(--bg-light);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 18px 48px;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.4s ease;
}

.nav.scrolled {
  background: rgba(255, 78, 24, 0.493);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 48px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

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

.nav-logo-badge {
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  border-radius: 6px;
  text-transform: uppercase;
}

.nav-logo-text {
  font-weight: 700; font-size: 13px;
  color: rgba(255,255,255,0.92);
  line-height: 1.4;
}

.nav-menu { display: flex; align-items: center; gap: 32px; }


.nav-menu {
  background: rgba(20,5,5,0.97) !important;  /* dark red brand */
  backdrop-filter: blur(20px) !important;
  border-bottom: 2px solid var(--brand-red) !important;
}

/* Desktop — ซ่อน hamburger, แสดง menu ปกติ */
@media (min-width: 769px) {
  .nav-hamburger { display: none !important; }
  .nav-menu {
    display: flex !important;
    position: static !important;
    background: transparent !important;
    flex-direction: row !important;
    padding: 0 !important;
    border: none !important;
    backdrop-filter: none !important;
  }
}

/* Mobile/Tablet — ซ่อน menu, แสดง hamburger */
@media (max-width: 768px) {
  .nav-hamburger { display: flex !important; }
  .nav-menu {
    display: none;
    position: fixed;
    top: 60px; left: 0; right: 0;
    flex-direction: column !important;
    background: rgba(20,5,5,0.97) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 2px solid var(--brand-red) !important;
    padding: 24px 32px !important;
    gap: 20px !important;
    z-index: 800 !important;
  }
  .nav-menu.open { display: flex !important; }
}

.nav-menu a {
  font-weight: 500; font-size: 14px;
  color: rgba(255,255,255,0.78);
  position: relative; transition: color 0.25s;
}

.nav-menu a::after {
  content: ''; position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--brand-gold);
}

.nav-menu a:hover { color: #fff; }
.nav-menu a:hover::after { width: 100%; }

.nav-cta {
  background: var(--red) !important;
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700 !important;
  box-shadow: var(--shadow-red);
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(241,0,1,0.40) !important;
}

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
}
.nav-hamburger span {
  width: 24px; height: 2px; background: #fff;
  border-radius: 2px; transition: all 0.3s;
}

/* ============================================================
   HERO — Literacy Building Community
   ============================================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: transparent; /* ← เอาสีออก รูปเป็น bg แทน */
}

/* ── Background glow blobs ── */
.hero-bg { position: absolute; inset: 0; overflow: hidden; }

.glow {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.glow-red  { width: 700px; height: 700px; background: rgba(241,0,1,0.28);   top: -200px; right: -120px; }
.glow-blue { width: 550px; height: 550px; background: rgba(207,55,50,0.18);  bottom: -100px; left: -100px; }
.glow-teal { width: 400px; height: 400px; background: rgba(226,115,56,0.12); top: 35%; right: 28%; }

/* ── SVG Network ── */
.hero-network {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

/* ── Dot grid ── */
.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(241,0,1,0.12) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

/* ── Floating pills — removed ── */


/* ── Hero layout ── */
.hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: 1240px;
  margin: 0 auto;
  padding: 130px 48px 90px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px; align-items: center;
}

/* ── Left column ── */
.hero-left {}

.hero-edition {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50px; padding: 7px 18px;
  margin-bottom: 22px;
  animation: fadeInUp 0.8s ease both;
}
.hero-edition-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-red);
  animation: pulse 2s ease-in-out infinite;
}
.hero-edition span {
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.78); letter-spacing: 1px;
}

/* Concept label with lines */
.hero-concept-label {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
  animation: fadeInUp 0.8s ease 0.08s both;
}
.hcl-line {
  flex: 1; height: 1px; max-width: 40px;
  background: linear-gradient(90deg, transparent, rgba(238,168,65,0.7));
}
.hcl-line:last-child {
  background: linear-gradient(90deg, rgba(238,168,65,0.7), transparent);
}
.hcl-text {
  font-size: 12px; font-weight: 700;
  color: var(--brand-gold); letter-spacing: 1.5px;
  text-transform: uppercase; white-space: nowrap;
}

/* Main title */
.hero-title-main {
  font-weight: 900;
  font-size: clamp(50px, 7vw, 90px);
  line-height: 1.0; letter-spacing: -1.5px;
  margin-bottom: 22px;
  animation: fadeInUp 0.8s ease 0.15s both;
}
.word-satit    { color: var(--brand-red); }
.word-academic { color: #FFFFFF; }
.word-fair     { color: var(--brand-gold); }
.word-year     { color: var(--brand-orange); }

/* Thai tagline */
.hero-tagline {
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease 0.22s both;
}
.hero-tagline-th {
  font-weight: 800; font-size: clamp(16px, 2vw, 22px);
  color: rgba(255,255,255,0.92); line-height: 1.45;
  margin-bottom: 4px;
}
.hero-tagline-th span { color: var(--brand-gold); }
.hero-tagline-en {
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.45); letter-spacing: 0.3px;
}

/* Zone badges row */
.hero-zones-row {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap; margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.3s both;
}
.hzr-label {
  font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,0.38);
  text-transform: uppercase; letter-spacing: 1.5px;
  white-space: nowrap;
}
.hzr-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.hzr-badge {
  font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 50px;
  border: 1px solid;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.5px;
}

/* Buttons */
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.38s both;
}

.btn-primary {
  background: var(--red); color: #fff;
  font-weight: 700; font-size: 15px;
  padding: 14px 30px; border-radius: 50px;
  border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 28px rgba(241,0,1,0.38); transition: all 0.3s;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(192,57,43,0.45);
  background: var(--red-light);
}

.btn-secondary {
  background: rgba(255,255,255,0.07); color: #fff;
  font-weight: 600; font-size: 15px;
  padding: 14px 30px; border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  backdrop-filter: blur(8px); transition: all 0.3s;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-3px);
}

/* ── Right: Info card ── */
.hero-right { animation: fadeInRight 0.9s ease 0.2s both; }

.hero-info-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}

/* Rainbow top border */
.hero-info-card::before {
  content: ''; display: block; height: 3px;
  background: linear-gradient(90deg, #F10001, #E27338, #EEA841);
}

/* Card header */
.hic-header {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.hic-logo-img {
  width: 52px; height: 52px;
  object-fit: contain; flex-shrink: 0;
  filter: brightness(1.05);
}

.hic-event-name {
  font-weight: 900; font-size: 13px;
  color: #fff; letter-spacing: 1px;
}
.hic-event-edition {
  font-size: 11px; font-weight: 500;
  color: rgba(255,255,255,0.42); margin-top: 2px;
}

/* Info items */
.info-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.055);
}

.info-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0;
}
.info-icon.red    { background: rgba(192,57,43,0.22); }
.info-icon.yellow { background: rgba(230,168,0,0.22); }
.info-icon.green  { background: rgba(39,174,96,0.22); }
.info-icon.teal   { background: rgba(0,151,167,0.22); }

.info-label {
  font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,0.40);
  text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 3px;
}
.info-value {
  font-weight: 700; font-size: 14px;
  color: rgba(255,255,255,0.92); line-height: 1.45;
}

/* Stat strip at bottom */
.hic-stats {
  display: flex; align-items: center; justify-content: space-around;
  padding: 16px 24px;
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.hic-stat { text-align: center; }
.hic-stat-num {
  font-weight: 900; font-size: 22px;
  color: var(--brand-gold); line-height: 1.1;
}
.hic-stat-label {
  font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,0.38);
  text-transform: uppercase; letter-spacing: 1px;
}
.hic-divider {
  width: 1px; height: 32px;
  background: rgba(255,255,255,0.08);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: fadeIn 1s ease 1.2s both;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.scroll-text {
  font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,0.30);
  letter-spacing: 2px; text-transform: uppercase;
}

/* Animations */
@keyframes float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  40%  { transform: translateY(-18px) rotate(4deg); }
  70%  { transform: translateY(8px) rotate(-2deg); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.45; transform:scale(0.7); }
}

/* ============================================================
   COLOR BAND
   ============================================================ */
.color-band {
  height: 5px;
  background: linear-gradient(90deg,
    #F10001 0%, #CF3732 20%, #E27338 40%,
    #DF9B40 60%, #EEA841 80%, #F10001 100%);
}

/* ============================================================
   SECTION UTILS
   ============================================================ */
.section { padding: 96px 48px; max-width: 1200px; margin: 0 auto; }
.section-full { overflow: hidden; }

.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 14px;
}
.section-tag.light { color: var(--brand-red); }
.section-tag.light::before { content: ''; width: 22px; height: 2px; background: var(--brand-red); border-radius: 2px; }
.section-tag.dark  { color: var(--brand-gold); }
.section-tag.dark::before  { content: ''; width: 22px; height: 2px; background: var(--brand-gold); border-radius: 2px; }

.section-title { font-weight: 900; font-size: clamp(30px, 4.5vw, 50px); line-height: 1.12; margin-bottom: 14px; }
.section-title.on-light { color: var(--text-dark); }
.section-title.on-light span { color: var(--brand-red); }
.section-title.on-dark  { color: #fff; }
.section-title.on-dark span { color: var(--brand-gold); }

.section-subtitle { font-size: 16px; line-height: 1.75; max-width: 560px; }
.section-subtitle.on-light { color: var(--text-body); }
.section-subtitle.on-dark  { color: rgba(255,255,255,0.55); }

/* ============================================================
   ABOUT — White / Light
   ============================================================ */
.about-section { background: var(--bg-white); }

/* ============================================================
   ABOUT HISTORY REDESIGN
   ============================================================ */
/* 
.about-history-section {
  background:
    radial-gradient(circle at top left, rgba(241,0,1,0.04), transparent 20%),
    linear-gradient(180deg, #f8fbff 0%, #f3f7fd 100%);
}

.about-history-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
} */

.about-history-section .section {
  max-width: 100% !important;
  padding-left: 40px;
  padding-right: 40px;
}

.about-history-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
  max-width: 100%;
}

.about-history-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* .history-main-card {
  background: #fff;
  border: 1px solid rgba(15,30,58,0.08);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(14, 32, 70, 0.10);
} */
/* 
.history-image-wrap {
  position: relative;
  height: 340px;
  overflow: hidden;
} */
/* 
.history-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-image-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9,21,38,0.08) 0%, rgba(9,21,38,0.42) 100%);
} */

/* .history-floating-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 18px;
  background: rgba(11,22,41,0.72);
  backdrop-filter: blur(12px);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}

.history-badge-number {
  font-size: 32px;
  line-height: 1;
  font-weight: 900;
  color: #fff;
} */
/* 
.history-badge-text {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
}

.history-card-content {
  padding: 26px 28px 28px;
}

.history-mini-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--brand-orange);
  margin-bottom: 10px;
}

.history-card-title {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.history-card-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-body);
} */

.history-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.history-stat-card {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(15,30,58,0.08);
  border-radius: 20px;
  padding: 22px 14px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(14, 32, 70, 0.06);
  transition: all 0.25s ease;
}

.history-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(14, 32, 70, 0.10);
}

.history-stat-number {
  font-size: 38px;
  line-height: 1;
  font-weight: 900;
  color: var(--brand-red);
  margin-bottom: 6px;
}

.history-stat-label {
  font-size: 13px;
  color: var(--text-body);
  font-weight: 600;
}

.about-history-text p {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.95;
  margin-bottom: 18px;
}

.about-history-text p strong {
  color: var(--text-dark);
  font-weight: 800;
}

.history-feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.history-feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 18px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(15,30,58,0.08);
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(80,20,10,0.06);
}

.history-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(241,0,1,0.08), rgba(224,48,32,0.10));
  font-size: 20px;
  flex-shrink: 0;
}

.history-feature-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.history-feature-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body);
}

/* responsive */
@media (max-width: 1024px) {
  .about-history-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .history-image-wrap {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .history-image-wrap {
    height: 240px;
  }

  .history-card-content {
    padding: 22px 20px 22px;
  }

  .history-floating-badge {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 10px 14px;
  }

  .history-badge-number {
    font-size: 26px;
  }

  .history-stats-row {
    grid-template-columns: 1fr;
  }

  .about-history-text p {
    font-size: 15px;
    line-height: 1.85;
  }
}

/* ============================================================
   MARQUEE — Navy
   ============================================================ */
.marquee-section {
  background: var(--navy); padding: 18px 0;
  overflow: hidden; white-space: nowrap;
}
.marquee-inner { display: inline-flex; animation: marquee 22s linear infinite; }
.marquee-item {
  font-weight: 700; font-size: 12px; letter-spacing: 3px;
  color: rgba(255,255,255,0.65); padding: 0 40px;
  border-right: 1px solid rgba(255,255,255,0.10);
  text-transform: uppercase;
}
.marquee-item:last-child { border-right: none; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   ZONES — Light Soft
   ============================================================ */
.zones-section { background: var(--bg-soft); }

.zones-header { text-align: center; margin-bottom: 56px; }

.zones-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

.zone-card {
  border-radius: 22px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid transparent;
  color: #fff;
  transition: all 0.38s cubic-bezier(0.23, 1, 0.32, 1);
}
.zone-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 28px 64px rgba(255, 220, 24, 0.25); }

.zone-card.z1 { background: linear-gradient(145deg, #90c4db 0%, #86b7cc 100%); border-color: rgba(0, 185, 241, 0.25); }
.zone-card.z2 { background: linear-gradient(145deg, #e03d2c 0%, #d4532d 100%); border-color: rgba(239,83,80,0.35); }
.zone-card.z3 { background: linear-gradient(145deg, #009bb1 0%, #20a2b5 100%); border-color: rgba(0,151,167,0.35); }
.zone-card.z4 { background: linear-gradient(145deg, #0daf81 0%, #0cb485 100%); border-color: rgba(76, 175, 153, 0.35); }
.zone-card.z5 { background: linear-gradient(145deg, #5352fd 0%, #717bfd 100%); border-color: rgba(126,87,194,0.35); }
.zone-card.z-special { background: linear-gradient(145deg, #E65100 0%, #BF360C 100%); border-color: rgba(255,112,67,0.35); }

.zone-number {
  position: absolute; top: 16px; right: 20px;
  font-weight: 900; font-size: 72px;
  color: rgba(255,255,255,0.06); line-height: 1;
}

.zone-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px; transition: transform 0.3s;
}
.zone-card:hover .zone-icon { transform: scale(1.1) rotate(-5deg); }

.zone-area {
  display: inline-block; font-size: 10px; font-weight: 700;
  color: rgba(255,255,255,0.42); text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 8px;
}

.zone-title-th { font-weight: 800; font-size: 17px; color: #fff; line-height: 1.35; margin-bottom: 5px; }
.zone-title-en { font-size: 11px; color: rgba(255,255,255,0.38); margin-bottom: 18px; font-style: italic; }

.zone-features { display: flex; flex-wrap: wrap; gap: 7px; }
.zone-feature {
  font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 50px;
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.09);
}

/* ── Zone Card KV Header ── */
.zc-kv-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
  flex-shrink: 0;
}

.zc-kv-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 0.55s cubic-bezier(0.23,1,0.32,1);
}
.zone-card:hover .zc-kv-img { transform: scale(1.07); }

/* Gradient fade ด้านล่างให้ blend กับ card */
.zc-kv-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.08) 0%,
    rgba(0,0,0,0.18) 50%,
    rgba(255, 255, 255, 0.37) 100%
  );
}

/* เลขทับรูป */
.zc-kv-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-weight: 900;
  font-size: 64px;
  line-height: 1;
  color: rgba(255,255,255,0.22);
  letter-spacing: -3px;
  pointer-events: none;
  /* outline text effect */
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.35);
  text-shadow:
    0 4px 24px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,255,255,0.05);
}

/* Content ใต้รูป */
.zc-content {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ปรับ z1 ให้ไม่มี padding-top เยอะ (รูปอยู่ข้างบนแล้ว) */
.zone-card.z1 {
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* ให้ cta อยู่ล่างสุด */
.z1 .zone-card-cta {
  margin-top: 10px;
}

.zone-card.z2 {
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* ให้ cta อยู่ล่างสุด */
.z2 .zone-card-cta {
  margin-top: 10px;
}


.zone-card.z3 {
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* ให้ cta อยู่ล่างสุด */
.z3 .zone-card-cta {
  margin-top: 10px;
}

.zone-card.z4 {
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* ให้ cta อยู่ล่างสุด */
.z4 .zone-card-cta {
  margin-top: 10px;
}


.zone-card.z5 {
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* ให้ cta อยู่ล่างสุด */
.z5 .zone-card-cta {
  margin-top: 10px;
}


/* ============================================================
   RED DIVIDER BAND
   ============================================================ */
.red-band {
  background: var(--red); padding: 16px 0;
  overflow: hidden; white-space: nowrap;
}
.red-band .marquee-inner { animation-duration: 18s; }
.red-band .marquee-item { color: rgba(255,255,255,0.85); border-right-color: rgba(255,255,255,0.18); }

/* ============================================================
   AUDIENCE — White
   ============================================================ */
.audience-section { background: var(--bg-white); }

.audience-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; margin-top: 48px;
}

.audience-card {
  text-align: center; padding: 36px 18px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  border: 1px solid rgba(11,22,41,0.06);
  transition: all 0.35s; position: relative; overflow: hidden;
}
.audience-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 4px;
  transform: scaleX(0); transition: transform 0.35s;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.audience-card.a1::after { background: var(--brand-red); }
.audience-card.a2::after { background: var(--brand-orange); }
.audience-card.a3::after { background: var(--brand-amber); }
.audience-card.a4::after { background: var(--brand-rust); }

.audience-card:hover {
  background: #fff; box-shadow: var(--shadow-md); transform: translateY(-5px);
}
.audience-card:hover::after { transform: scaleX(1); }

.audience-emoji { font-size: 44px; margin-bottom: 14px; display: block; }
.audience-title { font-weight: 800; font-size: 16px; color: var(--text-dark); margin-bottom: 8px; }
.audience-desc  { font-size: 13px; color: var(--text-body); line-height: 1.65; }

/* ============================================================
   TIMELINE — Dark Navy
   ============================================================ */
.timeline-section { background: var(--navy); position: relative; }

.timeline-scroll {
  display: flex; overflow-x: auto;
  padding: 32px 0 20px; gap: 0;
  scrollbar-width: none; -ms-overflow-style: none;
  position: relative;
}
.timeline-scroll::-webkit-scrollbar { display: none; }
.timeline-scroll::before {
  content: ''; position: absolute;
  top: 60px; left: 0; right: 0; height: 2px;
  background: rgba(255,255,255,0.07);
}

.timeline-item { flex: 0 0 160px; text-align: center; padding: 16px 12px; position: relative; }
.timeline-month { font-weight: 900; font-size: 44px; color: rgba(255,255,255,0.04); line-height: 1; margin-bottom: 10px; }
.timeline-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--navy); border: 2px solid rgba(255,255,255,0.16);
  margin: 0 auto 14px; position: relative; z-index: 2; transition: all 0.3s;
}
.timeline-item.done .timeline-dot {
  background: var(--brand-orange); border-color: var(--brand-orange);
  box-shadow: 0 0 12px rgba(226,115,56,0.55);
}
.timeline-item.active .timeline-dot {
  background: var(--brand-red); border-color: var(--brand-red);
  box-shadow: 0 0 18px rgba(241,0,1,0.65);
  transform: scale(1.35);
}
.timeline-desc { font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.35); line-height: 1.6; }
.timeline-item.done  .timeline-desc { color: rgba(255,255,255,0.52); }
.timeline-item.active .timeline-desc { color: rgba(255,255,255,0.88); }

/* ============================================================
   VENUE — Light
   ============================================================ */
.venue-section { background: var(--bg-soft); }

.venue-content { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.venue-visual {
  border-radius: var(--radius-lg); overflow: hidden;
  height: 380px;
  background: linear-gradient(145deg, #3D1010 0%, #5A2020 100%);
  border: 1px solid rgba(11,22,41,0.10);
  display: flex; align-items: flex-end; padding: 36px;
  position: relative; box-shadow: var(--shadow-lg);
}

.venue-visual-grid {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent, transparent 44px, rgba(255,255,255,0.022) 44px, rgba(255,255,255,0.022) 45px),
    repeating-linear-gradient(0deg,   transparent, transparent 44px, rgba(255,255,255,0.022) 44px, rgba(255,255,255,0.022) 45px);
}
.venue-visual::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(241,0,1,0.15) 0%, transparent 70%);
}

.venue-label { position: relative; z-index: 2; }
.venue-label-top { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.42); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }
.venue-label-main { font-weight: 900; font-size: 26px; color: #fff; line-height: 1.25; }
.venue-label-sub  { font-size: 14px; font-weight: 600; color: var(--brand-gold); margin-top: 6px; }

.venue-details { display: flex; flex-direction: column; gap: 16px; }

.venue-detail-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px; background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(11,22,41,0.07);
  box-shadow: var(--shadow-sm); transition: all 0.3s;
}
.venue-detail-item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }

.venue-detail-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.venue-detail-icon.red    { background: #FFF0F0; }
.venue-detail-icon.yellow { background: #FFFBE6; }
.venue-detail-icon.teal   { background: #E8F8FA; }

.venue-detail-label { font-size: 11px; font-weight: 600; color: var(--text-body); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 3px; }
.venue-detail-value { font-weight: 700; font-size: 16px; color: var(--text-dark); line-height: 1.45; }

/* ============================================================
   CTA — Deep Red
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, #F10001 0%, #CF3732 35%, #A55D32 70%, #E27338 100%);
  position: relative; overflow: hidden;
  text-align: center; padding: 100px 48px;
}
.cta-section::before {
  content: ''; position: absolute; top: -40%; right: -8%;
  width: 700px; height: 700px; border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.cta-section::after {
  content: ''; position: absolute; bottom: -50%; left: -5%;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(0,0,0,0.10);
}

.cta-inner { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }

.cta-label { font-size: 11px; font-weight: 700; letter-spacing: 4px; color: rgba(255,255,255,0.45); text-transform: uppercase; margin-bottom: 18px; }
.cta-title { font-weight: 900; font-size: clamp(34px, 5.5vw, 60px); color: #fff; line-height: 1.12; margin-bottom: 18px; }
.cta-subtitle { font-size: 17px; color: rgba(255,255,255,0.70); margin-bottom: 40px; line-height: 1.7; }

.btn-white {
  background: #fff; color: var(--red);
  font-weight: 800; font-size: 16px;
  padding: 16px 44px; border-radius: 50px;
  border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  transition: all 0.3s;
}
.btn-white:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.28); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #1A0808; padding: 60px 48px 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 56px; padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 28px;
}

.footer-logo-text { font-weight: 900; font-size: 20px; color: #fff; letter-spacing: 1px; margin-bottom: 8px; }
.footer-logo-sub  { font-size: 13px; color: rgba(255,255,255,0.36); margin-bottom: 18px; line-height: 1.7; }
.footer-schools   { font-size: 12px; color: rgba(255,255,255,0.25); line-height: 2; }

.footer-col-title { font-weight: 700; font-size: 13px; color: rgba(255,255,255,0.68); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.38); transition: color 0.25s; }
.footer-links a:hover { color: var(--brand-gold); }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.20); }
.footer-copy a { color: rgba(255,255,255,0.32); }
.footer-copy a:hover { color: #fff; }

.color-dots { display: flex; gap: 7px; }
.color-dot  { width: 10px; height: 10px; border-radius: 50%; }

/* ============================================================
   ZONE CARD — CTA hint
   ============================================================ */
.zone-card { cursor: pointer; }
.zone-card-cta {
  margin-top: 18px; font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,0.38); letter-spacing: 0.5px;
  transition: color 0.25s, transform 0.25s; display: inline-block;
}
.zone-card:hover .zone-card-cta { color: rgba(255,255,255,0.82); transform: translateX(4px); }

/* ============================================================
   ZONE MODAL — Grand 2-column
   ============================================================ */
:root { --current-accent: #F10001; }

.zmodal-backdrop {
  position: fixed; inset: 0; z-index: 9000;
  /* background: rgba(4,8,18,0.82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%); */
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.zmodal-backdrop.open { opacity: 1; pointer-events: all; }

.zmodal {
  background: rgba(236, 236, 236, 0.78);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 28px;
  width: 100%; max-width: 980px;
  max-height: 90vh;
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
  transform: translateY(32px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.175,0.885,0.32,1.15);
}
.zmodal-backdrop.open .zmodal { transform: translateY(0) scale(1); }

/* Close */
.zmodal-close {
  position: absolute; top: 18px; right: 18px; z-index: 20;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer; color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.zmodal-close:hover { background: rgba(255,255,255,0.20); color: #fff; transform: scale(1.08) rotate(90deg); }

/* ── Hero Header ── */
.zmodal-hero {
  position: relative; overflow: hidden;
  padding: 34px 36px 28px;
  border-radius: 28px 28px 0 0;
  flex-shrink: 0;
}
.zmodal-hero-glow {
  position: absolute; inset: 0; pointer-events: none;
}
.zmodal-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: rgba(255,255,255,0.10);
}
.zmodal-hero-content { position: relative; z-index: 2; }

.zmodal-badge-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.zmodal-num-badge {
  font-weight: 900; font-size: 13px; letter-spacing: 1px;
  background: rgba(255,255,255,0.15); color: #fff;
  padding: 4px 12px; border-radius: 50px;
}
.zmodal-area-badge {
  font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,0.55); letter-spacing: 0.5px;
}

.zmodal-hero-icon {
  font-size: 40px; margin-bottom: 10px; display: block; line-height: 1;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}
.zmodal-hero-title {
  font-weight: 900; font-size: 22px; color: #fff; line-height: 1.3; margin-bottom: 5px;
}
.zmodal-hero-en {
  font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.52); letter-spacing: 0.3px;
}
.zmodal-logo {
  position: absolute; right: 52px; top: 50%;
  transform: translateY(-50%);
  height: 54px; width: auto; object-fit: contain;
  opacity: 0.88; filter: brightness(1.1) drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

/* ── Body 2 columns ── */
.zmodal-body {
  display: grid; grid-template-columns: 1fr 1fr;
  overflow: hidden; flex: 1; min-height: 0;
}

/* LEFT */
.zmodal-left {
  display: flex; flex-direction: column;
  border-right: 1px solid rgba(255,255,255,0.07);
  overflow-y: auto; max-height: 62vh;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.1) transparent;
}

/* RIGHT */
.zmodal-right {
  display: flex; flex-direction: column;
  padding: 22px 20px 20px;
  overflow-y: auto; max-height: 62vh;
  background: rgba(0,0,0,0.15);
}

/* Section labels */
.zmodal-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase; letter-spacing: 1.8px;
  padding: 18px 22px 10px;
}
.zmodal-label-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
}
.zmodal-right .zmodal-label { padding: 0 0 12px; }

/* Concept */
.zmodal-concept-block {
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding-bottom: 4px;
}
.zmodal-concept-text {
  font-size: 13.5px; color: rgba(0, 0, 0, 0.65);
  line-height: 1.85; padding: 0 22px 20px;
}

/* Tabs */
.zmodal-tabs {
  display: flex; border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(0,0,0,0.15); flex-shrink: 0;
}
.ztab {
  flex: 1; padding: 13px 6px;
  background: none; border: none; border-bottom: 2px solid transparent;
  font-family: var(--font-th); font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,0.38); cursor: pointer;
  transition: all 0.22s; white-space: nowrap;
}
.ztab:hover { color: rgba(255,255,255,0.72); }
.ztab.active {
  color: #181818;
  border-bottom-color: var(--current-accent);
  background: rgba(255,255,255,0.04);
}

/* Tab body */
.zmodal-tab-body { flex: 1; overflow-y: auto; }
.ztab-content { display: none; }
.ztab-content.active { display: block; }

.zitem {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 15px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.18s;
}
.zitem:last-child { border-bottom: none; }
.zitem:hover { background: rgba(255,255,255,0.04); }
.zitem-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.zitem-title { font-weight: 700; font-size: 13.5px; color: #1b1b1b; margin-bottom: 4px; }
.zitem-desc  { font-size: 12px; color: rgba(3, 3, 3, 0.48); line-height: 1.65; }
.ztab-empty  { padding: 32px 22px; font-size: 13px; color: rgba(26, 26, 26, 0.2); text-align: center; }

/* Floor plan */
.zmodal-floorplan {
  flex: 1; border-radius: 16px; overflow: hidden;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.07);
  min-height: 240px;
  display: flex; align-items: stretch;
}
.zmodal-floorplan-legend {
  display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px;
}
.zlegend-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; color: rgba(255,255,255,0.48); font-weight: 500;
}
.zlegend-dot { width: 9px; height: 9px; border-radius: 3px; flex-shrink: 0; }

/* Responsive */
@media (max-width: 700px) {
  .zmodal { max-width: 100%; border-radius: 20px; }
  .zmodal-body { grid-template-columns: 1fr; }
  .zmodal-right { border-top: 1px solid rgba(255,255,255,0.07); max-height: 280px; }
  .zmodal-left { max-height: 50vh; }
  .zmodal-logo { height: 38px; right: 48px; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp   { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInRight{ from { opacity:0; transform:translateX(36px); } to { opacity:1; transform:translateX(0); } }
@keyframes fadeIn     { from { opacity:0; } to { opacity:1; } }

.reveal { opacity:0; transform:translateY(36px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 44px; }
  .hero-right { order: -1; }
  .hero-info-card { max-width: 480px; }
  .about-grid { grid-template-columns: 1fr; }
  .zones-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .venue-content { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .section { padding: 64px 20px; }
  .hero-content { padding: 110px 20px 60px; }
  .zones-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-section { padding: 72px 20px; }
}

.nav-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.1);
  transition: opacity 0.3s;
}

/* ============================================================
   HERO FUTURISTIC REDESIGN
   ============================================================ */

.hero-futuristic {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 18%, rgba(30, 80, 180, 0.18), transparent 24%),
    radial-gradient(circle at 70% 75%, rgba(224, 48, 32, 0.16), transparent 18%),
    radial-gradient(circle at 85% 30%, rgba(72, 78, 255, 0.14), transparent 22%),
    linear-gradient(135deg, #030816 0%, #07142b 38%, #081c3e 70%, #040a18 100%);
}

.hero-content-futuristic {
  grid-template-columns: 1.02fr 0.98fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 3;
}

.hero-left-futuristic {
  max-width: 620px;
}

.hero-brand-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
}

.hero-main-logo {
  width: 86px;
  height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35));
}

.hero-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-brand-name {
  font-size: 3rem;
  line-height: 0.95;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
}

.hero-brand-sub {
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.82);
}

.hero-mini-badge {
  margin-bottom: 18px;
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
}

/* .hero-mini-badge span {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  margin-left: 6px;
  background: linear-gradient(135deg, #fffc35 0%, #8d7dff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
          background-clip: text;
          color: transparent;
} */

.hero-mini-badge span {
  background: none;
  -webkit-text-fill-color: unset;
  color: #ffffff;
  font-size: 40px;
  font-weight: 900;
  text-shadow:
    0 0 16px rgba(255, 255, 255, 0.9),
    0 0 40px rgba(255, 255, 255, 0.5),

}


.hero-title-poster {
  margin-bottom: 18px;
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -2px;
}

.hero-title-poster .line-1,
.hero-title-poster .line-2,
.hero-title-poster .line-3 {
  font-size: clamp(3.8rem, 8vw, 6.5rem);
  color: #fff;
}

.hero-title-poster .line-3 {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.hero-title-poster .line-3 strong {
  font-weight: 900;
  background: linear-gradient(135deg, #F10001 0%, #E27338 50%, #EEA841 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
          background-clip: text;
          color: transparent;
  text-shadow: 0 0 24px rgba(99, 122, 255, 0.15);
}

.hero-concept-line {
  width: 88px;
  height: 4px;
  border-radius: 999px;
  margin: 22px 0 16px;
  background: linear-gradient(90deg, #F10001 0%, #E27338 60%, #EEA841 100%);
  box-shadow: 0 0 20px rgba(125, 124, 255, 0.3);
}

.hero-subtitle-poster {
  font-size: 1.15rem;
  letter-spacing: 7px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 26px;
}

.hero-desc-poster {
  font-size: 1.6rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  margin-bottom: 34px;
}

.hero-actions-futuristic {
  gap: 16px;
}

.btn-primary-futuristic {
  background: linear-gradient(135deg, #c92c2c 0%, #e64a32 100%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 14px 36px rgba(201, 44, 44, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.22);
}

.btn-primary-futuristic:hover {
  background: linear-gradient(135deg, #db382e 0%, #f45f3f 100%);
}

.btn-secondary-futuristic {
  background: rgba(11, 22, 41, 0.34);
  border: 1px solid rgba(130, 170, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

/* right panel */
.hero-right-futuristic {
  display: flex;
  justify-content: flex-end;
}

.hero-info-panel {
  width: 100%;
  max-width: 560px;
  position: relative;
  border-radius: 34px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,84,84,0.9), rgba(72,132,255,0.9));
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(52, 103, 255, 0.18);
}

.hero-info-panel-inner {
  border-radius: 33px;
  padding: 30px 32px;
  background:
    linear-gradient(180deg, rgba(7,15,33,0.96) 0%, rgba(7,16,38,0.92) 100%);
  backdrop-filter: blur(18px);
  min-height: 100%;
}

.hero-info-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 24px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hero-info-logo {
  width: 86px;
  height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.35));
}

.hero-info-title {
  font-size: 3rem;
  line-height: 0.95;
  font-weight: 900;
  color: #fff;
  letter-spacing: 4px;
}

.hero-info-subtitle {
  font-size: 1.1rem;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.84);
}

.hero-info-list {
  display: flex;
  flex-direction: column;
}

.hero-info-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hero-info-row:last-child {
  border-bottom: none;
}

.hero-info-icon {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.hero-info-row.red .hero-info-icon {
  background: radial-gradient(circle at 30% 30%, rgba(201,44,44,0.4), rgba(120,10,20,0.28));
}
.hero-info-row.blue .hero-info-icon {
  background: radial-gradient(circle at 30% 30%, rgba(61,110,255,0.34), rgba(16,40,120,0.25));
}
.hero-info-row.purple .hero-info-icon {
  background: radial-gradient(circle at 30% 30%, rgba(146,79,255,0.34), rgba(54,28,110,0.24));
}
.hero-info-row.cyan .hero-info-icon {
  background: radial-gradient(circle at 30% 30%, rgba(0,220,220,0.25), rgba(0,78,110,0.22));
}

.hero-info-text {
  padding-left: 22px;
  border-left: 1px solid rgba(255,255,255,0.12);
}

.hero-info-label {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.hero-info-row.red .hero-info-label { color: #ff4d4d; }
.hero-info-row.blue .hero-info-label { color: #4f88ff; }
.hero-info-row.purple .hero-info-label { color: #c86bff; }
.hero-info-row.cyan .hero-info-label { color: #21d8ff; }

.hero-info-value {
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
}

/* extra bg details */
.hero-orbit {
  position: absolute;
  border: 1px solid rgba(241,0,1,0.12);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit-1 {
  width: 520px;
  height: 520px;
  left: -140px;
  top: -120px;
}

.hero-orbit-2 {
  width: 420px;
  height: 420px;
  left: -90px;
  top: -70px;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent 96%, rgba(255,255,255,0.025) 100%),
    linear-gradient(90deg, transparent 96%, rgba(255,255,255,0.02) 100%);
  background-size: 100% 120px, 120px 100%;
  pointer-events: none;
  opacity: 0.35;
}

.hero-bottom-glow {
  position: absolute;
  left: 0; right: 0; bottom: -80px;
  height: 220px;
  background:
    radial-gradient(circle at 25% 30%, rgba(238,168,65,0.30), transparent 18%),
    radial-gradient(circle at 50% 40%, rgba(241,0,1,0.40), transparent 18%),
    linear-gradient(180deg, rgba(226,115,56,0.05) 0%, rgba(241,0,1,0.20) 100%);
  filter: blur(12px);
  opacity: 0.85;
  pointer-events: none;
}

/* responsive */
@media (max-width: 1200px) {
  .hero-info-title {
    font-size: 2.4rem;
  }

  .hero-info-value {
    font-size: 1.25rem;
  }

  .hero-desc-poster {
    font-size: 1.3rem;
  }
}

@media (max-width: 1024px) {
  .hero-content-futuristic {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-right-futuristic {
    justify-content: flex-start;
  }

  .hero-info-panel {
    max-width: 100%;
  }

  .hero-brand-name,
  .hero-info-title {
    font-size: 2.2rem;
  }

  .hero-brand-sub,
  .hero-info-subtitle {
    letter-spacing: 2px;
  }
}

@media (max-width: 768px) {
  .hero-content-futuristic {
    padding-top: 120px;
  }

  .hero-brand-top {
    margin-bottom: 24px;
  }

  .hero-main-logo,
  .hero-info-logo {
    width: 62px;
    height: 62px;
  }

  .hero-brand-name,
  .hero-info-title {
    font-size: 1.7rem;
    letter-spacing: 1px;
  }

  .hero-brand-sub,
  .hero-info-subtitle {
    font-size: 0.9rem;
    letter-spacing: 1.5px;
  }

  .hero-mini-badge {
    font-size: 0.95rem;
  }

  .hero-mini-badge span {
    font-size: 1.7rem;
  }

  .hero-title-poster .line-1,
  .hero-title-poster .line-2,
  .hero-title-poster .line-3 {
    font-size: clamp(2.8rem, 12vw, 4.4rem);
  }

  .hero-subtitle-poster {
    font-size: 0.88rem;
    letter-spacing: 3px;
  }

  .hero-desc-poster {
    font-size: 1.05rem;
    line-height: 1.7;
  }

  .hero-info-panel-inner {
    padding: 22px 20px;
  }

  .hero-info-head {
    gap: 12px;
    padding-bottom: 18px;
  }

  .hero-info-row {
    grid-template-columns: 64px 1fr;
    gap: 14px;
    padding: 18px 0;
  }

  .hero-info-icon {
    width: 56px;
    height: 56px;
    font-size: 1.35rem;
  }

  .hero-info-text {
    padding-left: 14px;
  }

  .hero-info-label {
    font-size: 1.08rem;
  }

  .hero-info-value {
    font-size: 1rem;
  }
}

/* ===== HERO CENTER DESIGN ===== */

.hero-content-centered {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 120px;
}

.hero-center {
  max-width: 900px;
}

/* LOGO ใหญ่ */
.hero-logo-main {
  margin-bottom: 30px;
}

.hero-logo-main img {
  width: 700px;   /* 🔥 ปรับตรงนี้ได้ */
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
  transition: transform 0.4s ease;
}

.hero-logo-main img:hover {
  transform: scale(1.05);
}

/* badge */
.hero-mini-badge {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: rgba(255,255,255,0.9);
}

.hero-mini-badge span {
  font-size: 40px;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff, #ff9d69, #EEA841);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* title */
.hero-title-poster.center {
  margin-bottom: 20px;
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -2px;
}

.hero-title-poster.center div {
  font-size: clamp(48px, 6vw, 80px);
  color: #ffffff;
  text-shadow: 0 8px 30px rgba(0,0,0,0.28);
}

/* .hero-title-poster.center .year {
  background: linear-gradient(135deg, #F10001 0%, #E27338 50%, #EEA841 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
          background-clip: text;
          color: transparent;
  text-shadow: none;
} */

/* .hero-title-poster.center .year {
  background: none;
  -webkit-text-fill-color: unset;
  color: #4D4C4D;
  text-shadow:
    0 0 30px rgba(77,76,77,0.8),
    0 0 60px rgba(77,76,77,0.4),
    2px 2px 0px rgba(0,0,0,0.3);
  font-weight: 900;
} */

.hero-title-poster.center .year {
  background: none;
  -webkit-text-fill-color: unset;
  color: #ffb936;
  text-shadow:
    0 0 20px rgba(255, 112, 55, 0.8),
    0 0 50px rgba(255, 180, 119, 0.4),
    0 2px 8px rgba(0,0,0,0.5);
  font-weight: 900;
}


/* line */
.hero-line-center {
  width: 80px; height: 4px;
  margin: 20px auto;
  border-radius: 10px;
  background: linear-gradient(90deg, #F10001, #E27338, #EEA841);
}

/* subtitle */
.hero-subtitle-center {
  letter-spacing: 6px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 25px;
  color: rgba(255,255,255,0.8);
}

/* desc */
.hero-desc-center {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 35px;
  color: rgba(255,255,255,0.85);
}

/* ปุ่ม */
.hero-actions.center {
  justify-content: center;
}

/* ===== ABOUT VISUAL MODERN ===== */

.history-visual-modern {
  position: relative;
  min-height: 520px;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(135deg, #2A0808 0%, #3D1010 45%, #521818 100%);
  box-shadow: 0 24px 60px rgba(14, 32, 70, 0.14);
}

.history-visual-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.04), transparent 35%),
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 18%),
    radial-gradient(circle at 80% 30%, rgba(241,0,1,0.15), transparent 20%),
    radial-gradient(circle at 70% 80%, rgba(224,48,32,0.18), transparent 18%);
}

.history-visual-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,16,38,0.06) 0%, rgba(7,16,38,0.36) 100%);
}

.history-chip {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 3;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  backdrop-filter: blur(10px);
}

.history-highlight-card {
  position: absolute;
  left: 24px;
  bottom: 150px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 22px;
  background: rgba(10, 20, 40, 0.72);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.22);
}

.history-highlight-number {
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
  color: #fff;
}

.history-highlight-text {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
}

.history-floating-panel {
  position: absolute;
  z-index: 3;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(14px);
  max-width: 260px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.panel-one {
  top: 84px;
  right: 24px;
}

.panel-two {
  top: 190px;
  right: 40px;
}

.history-panel-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.16);
  font-size: 20px;
  flex-shrink: 0;
}

.history-panel-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.history-panel-desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
}

.history-visual-content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  padding: 28px 28px;
  border-radius: 24px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 18px 40px rgba(7,16,38,0.16);
}

.history-visual-content h3 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.history-visual-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-body);
  margin: 0;
}

@media (max-width: 768px) {
  .history-visual-modern {
    min-height: 520px;
  }

  .panel-one,
  .panel-two {
    position: static;
    max-width: none;
    margin: 12px 16px 0;
  }

  .history-floating-panel {
    display: none;
  }

  .history-highlight-card {
    left: 16px;
    bottom: 158px;
    padding: 14px 16px;
  }

  .history-highlight-number {
    font-size: 32px;
  }

  .history-highlight-text {
    font-size: 13px;
  }

  .history-visual-content {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 22px 20px;
  }

  .history-visual-content h3 {
    font-size: 26px;
  }
}

/* ===== ABOUT IMAGE ONLY ===== */

.about-image-only {
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 60px rgba(14, 32, 70, 0.12);
  border: 1px solid rgba(0,0,0,0.06);

}

.about-image-only img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.about-image-only:hover img {
  transform: scale(1.03);
}
/* ============================================================
   FLOOR PLAN IMAGE + MAP LIGHTBOX
   ============================================================ */

/* รูป map ใน modal panel */
.zmodal-floorplan {
  position: relative;
}

.zfp-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
  border-radius: 14px;
  transition: transform 0.35s cubic-bezier(0.23,1,0.32,1),
              box-shadow 0.35s;
}
.zfp-img:hover {
  transform: scale(1.025);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}

/* ซ่อน legend (ไม่ใช้แล้ว) */
.zmodal-floorplan-legend { display: none !important; }

/* ── Map Lightbox ── */
.map-lightbox {
  position: fixed; inset: 0;
  z-index: 10000;
  background: rgba(6,2,2,0.92);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.map-lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.map-lightbox-inner {
  position: relative;
  max-width: 92vw;
  max-height: 90vh;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 48px 100px rgba(0,0,0,0.72);
  animation: lightboxIn 0.32s cubic-bezier(0.175,0.885,0.32,1.2) both;
}

@keyframes lightboxIn {
  from { transform: scale(0.88); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.map-lightbox-inner img {
  display: block;
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 20px;
  user-select: none;
}

.map-lightbox-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 10;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.20);
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.22s;
  font-size: 14px;
}
.map-lightbox-close:hover {
  background: rgba(255,255,255,0.24);
  color: #fff;
  transform: scale(1.1) rotate(90deg);
}

/* QSNCC Background Image */
.venue-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  z-index: 0;
  transition: transform 0.6s cubic-bezier(0.23,1,0.32,1);
}
.venue-visual:hover .venue-bg-img {
  transform: scale(1.04);
}

.venue-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(24,5,5,0.72) 0%,
    rgba(40,10,10,0.55) 50%,
    rgba(20,5,5,0.75) 100%
  );
}

/* ให้ทุก element ใน venue-visual อยู่เหนือรูป */
.venue-visual .venue-visual-grid,
.venue-visual .venue-label,
.venue-visual svg {
  position: relative;
  z-index: 2;
}

/* Hero Background Image */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  /* object-position: center 70%;   */
  z-index: 0;
  display: block;
  transition: transform 8s ease;
}
.hero:hover .hero-bg-img {
  transform: scale(1.04);
}

/* Overlay ทับรูป ให้เนื้อหาอ่านได้ คุมโทนสีแดงเข้ม */
.hero-bg-img-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(253, 132, 52, 0.55) 20%,   /* ← ลดลงจาก 0.78 */
    rgba(255, 123, 71, 0.4) 40%,  /* ← ลดลงจาก 0.65 */
    rgba(255, 65, 40, 0.6) 100%  /* ← ลดลงจาก 0.80 */
  );
}

/* ให้ glow, orbit, network, dots ทุกอย่างอยู่เหนือรูป */
.hero-bg .glow,
.hero-bg .hero-orbit,
.hero-bg .hero-grid-lines,
.hero-bg .hero-network,
.hero-bg .hero-dots,
.hero-bg .hero-bottom-glow {
  position: absolute;
  z-index: 2;
}

/* content อยู่สูงสุด */
.hero-content {
  position: relative;
  z-index: 3;
}

.hero-scroll-hint {
  position: absolute;
  z-index: 3;
}

/* imghero.png — ทับบน bg1.png อยู่ใต้ overlay และเส้น */
.hero-bg-img-top {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  z-index: 1;   /* สูงกว่า bg-img (z:0) แต่ต่ำกว่า overlay (z:2) */
  display: block;
  mix-blend-mode: screen; /* ← ผสมกับรูปล่างสวยขึ้น ลองเปลี่ยนเป็น multiply/overlay/lighten */
    opacity: 0.85;  /* ← เพิ่มขึ้น ลองปรับ 0.9 หรือ 1 ถ้าอยากเต็ม */

}


/* ── Music Player ── */
.music-player {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 8000;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(20, 6, 6, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(241,0,1,0.25);
  border-radius: 60px;
  padding: 10px 18px 10px 10px;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.05);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  cursor: default;
}
.music-player.show {
  opacity: 1;
  transform: translateY(0);
}

.music-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--brand-red);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 4px 14px rgba(241,0,1,0.4);
}
.music-btn:hover {
  transform: scale(1.1);
  background: #FF1A1A;
}

.music-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 130px;
}

.music-title {
  font-family: var(--font-th);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.80);
  white-space: nowrap;
  letter-spacing: 0.3px;
}

/* Animated equalizer dots */
.music-icon {
  display: block;
  transition: all 0.2s;
}

/* Progress bar */
.music-bar {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  overflow: hidden;
}
.music-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #F10001, #EEA841);
  border-radius: 10px;
  transition: width 0.5s linear;
}


/* ── Cookie Banner ── */
.cookie-banner {
  position: fixed;
  bottom: -120px;
  left: 50%; transform: translateX(-50%);
  z-index: 9000;
  width: calc(100% - 48px);
  max-width: 860px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
  background: rgba(20, 6, 6, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(241,0,1,0.25);
  border-radius: 20px;
  padding: 18px 24px;
  box-shadow: 0 -4px 40px rgba(0,0,0,0.3);
  transition: bottom 0.5s cubic-bezier(0.23,1,0.32,1),
              opacity 0.5s ease;
  opacity: 0;
}
.cookie-banner.show {
  bottom: 24px;
  opacity: 1;
}
.cookie-banner.hide {
  bottom: -120px;
  opacity: 0;
  pointer-events: none;
}

.cookie-left {
  display: flex; align-items: center; gap: 14px; flex: 1;
}
.cookie-icon { font-size: 28px; flex-shrink: 0; }

.cookie-title {
  font-family: var(--font-th);
  font-weight: 700; font-size: 14px;
  color: #fff; margin-bottom: 3px;
}
.cookie-desc {
  font-family: var(--font-th);
  font-size: 12px; color: rgba(255,255,255,0.50);
  line-height: 1.5;
}

.cookie-btns {
  display: flex; gap: 10px; flex-shrink: 0;
}
.cookie-accept {
  font-family: var(--font-th);
  font-weight: 700; font-size: 13px;
  padding: 10px 24px; border-radius: 50px;
  background: var(--brand-red); color: #fff;
  border: none; cursor: pointer;
  box-shadow: 0 4px 16px rgba(241,0,1,0.35);
  transition: all 0.22s;
  white-space: nowrap;
}
.cookie-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(241,0,1,0.45);
}
.cookie-decline {
  font-family: var(--font-th);
  font-weight: 600; font-size: 13px;
  padding: 10px 20px; border-radius: 50px;
  background: transparent;
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer; transition: all 0.22s;
  white-space: nowrap;
}
.cookie-decline:hover {
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.25);
}

@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .cookie-btns { width: 100%; }
  .cookie-accept, .cookie-decline { flex: 1; text-align: center; }
}


/* ── Logo Band ── */
.logo-band {
  width: 100%;
  background: rgba(255,255,255,0.97);
  border-top: 3px solid var(--brand-red);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

/* Fade edges */
.logo-band::before,
.logo-band::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.logo-band::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255,255,255,1), transparent);
}
.logo-band::after {
  right: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,1));
}

.logo-band-inner {
  width: 100%;
  overflow: hidden;
}

.logo-band-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: logoBandScroll 28s linear infinite;
}
.logo-band-track:hover {
  animation-play-state: paused;
}

@keyframes logoBandScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.lb-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  border-right: 1px solid rgba(0,0,0,0.07);
  flex-shrink: 0;
}
.lb-item:last-child { border-right: none; }

.lb-item img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%) contrast(1.05);
  opacity: 0.85;
  transition: all 0.3s ease;
  display: block;
}
.lb-item:hover img {
  filter: grayscale(0%) contrast(1.1);
  opacity: 1;
  transform: scale(1.08);
}


/* ============================================================
   VENUE — Hero Image + Cards Redesign
   ============================================================ */
.venue-section { background: var(--bg-soft); }

.venue-hero-img {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 20px 60px rgba(80,20,10,0.18);
}

.venue-hero-img img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transition: transform 0.7s cubic-bezier(0.23,1,0.32,1);
  filter: brightness(1.05) contrast(1.05) saturate(1.08);
}
.venue-hero-img:hover img { transform: scale(1.03); }

.venue-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(18,5,5,0.55) 0%,
    rgba(18,5,5,0.10) 50%,
    transparent 100%
  );
  display: flex; align-items: flex-end;
  padding: 28px 32px;
}

.venue-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(241,0,1,0.88);
  backdrop-filter: blur(10px);
  color: #fff;
  font-family: var(--font-th);
  font-weight: 700; font-size: 14px;
  padding: 10px 22px; border-radius: 50px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 20px rgba(241,0,1,0.35);
}

.venue-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.venue-card {
  background: var(--bg-white);
  border-radius: 18px;
  padding: 22px 20px;
  border: 1px solid rgba(80,20,10,0.07);
  box-shadow: 0 2px 16px rgba(80,20,10,0.07);
  transition: all 0.3s ease;
  display: flex; flex-direction: column; gap: 8px;
}
.venue-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(80,20,10,0.12);
  border-color: rgba(241,0,1,0.15);
}

.venue-card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 4px;
}

.venue-card-label {
  font-family: var(--font-th);
  font-size: 11px; font-weight: 700;
  color: var(--text-body);
  text-transform: uppercase; letter-spacing: 1px;
}

.venue-card-value {
  font-family: var(--font-th);
  font-weight: 700; font-size: 15px;
  color: var(--text-dark); line-height: 1.5;
}
.venue-card-value small {
  font-size: 12px; font-weight: 500;
  color: var(--text-body);
  display: block; margin-top: 2px;
}

@media (max-width: 900px) {
  .venue-cards { grid-template-columns: repeat(2, 1fr); }
  .venue-hero-img img { height: 320px; }
}
@media (max-width: 540px) {
  .venue-cards { grid-template-columns: 1fr; }
  .venue-hero-img img { height: 220px; }
  .venue-hero-badge { font-size: 12px; padding: 8px 16px; }
}

.venue-info-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-white);
  border-radius: 20px;
  padding: 28px 36px;
  border: 1px solid rgba(80,20,10,0.07);
  box-shadow: 0 4px 24px rgba(80,20,10,0.07);
  gap: 8px;
  flex-wrap: wrap;
}

.vi-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 180px;
}

.vi-icon {
  font-size: 24px;
  flex-shrink: 0;
  opacity: 0.85;
}

.vi-label {
  font-family: var(--font-th);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-body);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.vi-value {
  font-family: var(--font-th);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.45;
}

.vi-divider {
  width: 1px;
  height: 44px;
  background: rgba(80,20,10,0.10);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .venue-info-strip { flex-direction: column; align-items: flex-start; padding: 24px; }
  .vi-divider { width: 100%; height: 1px; }
}

/* ============================================================
   REGISTER PAGE — Standalone styles (register.html only)
   ไม่ conflict กับ style.css หลัก ทุก class prefix ด้วย .rg-
   ============================================================ */

/* ── Page background ── */
body.register-page {
  background: #F7EDE5;
  font-family: 'Noto Sans Thai', sans-serif;
}

/* ── Header ── */
.ph {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #EDE0D8;
  padding: 14px 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.ph-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #1A0A00; }
.ph-brand img { height: 36px; width: auto; object-fit: contain; }
.ph-brand-text { font-size: 12px; font-weight: 700; line-height: 1.3; }
.ph-brand-text small { display: block; font-weight: 400; font-size: 11px; color: #8A6A58; }
.ph-back { font-size: 13px; font-weight: 600; color: #8A6A58; text-decoration: none; display: flex; align-items: center; gap: 5px; transition: color .2s; }
.ph-back:hover { color: #E8420A; }

/* ── Hero strip ── */
.rg-hero {
  background: linear-gradient(135deg, #C03200 0%, #E8420A 35%, #F5651A 65%, #E8900A 100%);
  padding: 56px 40px 52px;
  text-align: center;
  position: relative; overflow: hidden;
}
.rg-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,0.04) 25%, transparent 25%),
    linear-gradient(225deg, rgba(255,255,255,0.04) 25%, transparent 25%),
    linear-gradient(45deg,  rgba(255,255,255,0.04) 25%, transparent 25%),
    linear-gradient(315deg, rgba(255,255,255,0.04) 25%, transparent 25%);
  background-size: 60px 60px;
  pointer-events: none;
}
.rg-hero::after {
  content: ''; position: absolute;
  top: -80px; right: -80px;
  width: 360px; height: 360px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}
.rg-hero-tag {
  position: relative; z-index: 2;
  display: inline-block;
  font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,0.60);
  text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 8px;
}
.rg-hero-title {
  position: relative; z-index: 2;
  font-size: clamp(22px,4vw,34px); font-weight: 900;
  color: #fff; margin-bottom: 4px;
}
.rg-hero-sub {
  position: relative; z-index: 2;
  font-size: 13px; color: rgba(255,255,255,0.60);
  font-weight: 500; letter-spacing: 1px; margin-bottom: 32px;
}

/* Steps */
.rg-steps { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; }
.rg-step { display: flex; align-items: center; gap: 8px; }
.rg-step-num {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
  border: 2px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.45);
  background: transparent; transition: all .3s;
}
.rg-step.active .rg-step-num { background: #fff; border-color: #fff; color: #E8420A; box-shadow: 0 0 20px rgba(255,255,255,0.3); }
.rg-step.done  .rg-step-num  { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.5); color: #fff; }
.rg-step-lbl { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.40); }
.rg-step.active .rg-step-lbl { color: #fff; }
.rg-step.done  .rg-step-lbl  { color: rgba(255,255,255,0.65); }
.rg-step-line { width: 44px; height: 1px; background: rgba(255,255,255,0.18); margin: 0 6px; }

/* ── Main wrapper ── */
.rg-main { max-width: 860px; margin: 0 auto; padding: 44px 24px 80px; }

/* ── Card ── */
.rg-card {
  background: #FFFFFF;
  border-radius: 22px;
  border: 1px solid #EDE0D8;
  box-shadow: 0 4px 28px rgba(180,60,0,0.07);
  margin-bottom: 20px;
  overflow: hidden;
  animation: rgCardIn .45s ease both;
}
@keyframes rgCardIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.rg-card:nth-child(2) { animation-delay: .08s; }
.rg-card:nth-child(3) { animation-delay: .16s; }

.rg-card-hd {
  padding: 22px 30px 18px;
  border-bottom: 1px solid #EDE0D8;
  display: flex; align-items: center; gap: 14px;
}
.rg-card-hd-icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.rg-card-hd-title { font-size: 16px; font-weight: 800; color: #1A0A00; }
.rg-card-hd-sub   { font-size: 12px; color: #8A6A58; margin-top: 2px; }
.rg-card-bd { padding: 26px 30px; }

/* ── Zone list ── */
.rg-zones-list { display: flex; flex-direction: column; gap: 10px; }

.rg-zone-row {
  border: 2px solid #EDE0D8;
  border-radius: 16px; overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.rg-zone-row.selected {
  border-color: var(--rg-zc, #ccc);
  box-shadow: 0 4px 20px color-mix(in srgb, var(--rg-zc) 18%, transparent);
}

.rg-zone-trigger {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; cursor: pointer;
  user-select: none; transition: background .2s;
  position: relative;
}
.rg-zone-row.selected .rg-zone-trigger {
  background: color-mix(in srgb, var(--rg-zc) 6%, white);
}
.rg-zone-trigger::before {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--rg-zc, #ccc);
  opacity: 0; transition: opacity .25s;
}
.rg-zone-row.selected .rg-zone-trigger::before { opacity: 1; }

.rg-zone-cb {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid #EDE0D8;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all .22s; background: #fff;
  font-size: 11px; color: transparent;
}
.rg-zone-row.selected .rg-zone-cb {
  background: var(--rg-zc); border-color: var(--rg-zc); color: #fff;
}

.rg-zone-emoji {
  width: 46px; height: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
  background: color-mix(in srgb, var(--rg-zc) 12%, white);
  transition: background .25s;
}

.rg-zone-text { flex: 1; }
.rg-zone-num-lbl { font-size: 10px; font-weight: 700; color: #8A6A58; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 2px; }
.rg-zone-name-th { font-size: 14px; font-weight: 800; color: #1A0A00; line-height: 1.35; }
.rg-zone-name-en { font-size: 10.5px; color: #8A6A58; font-style: italic; margin-top: 2px; }

.rg-zone-arrow {
  font-size: 13px; color: #8A6A58;
  transition: transform .25s, color .25s; flex-shrink: 0;
}
.rg-zone-row.selected .rg-zone-arrow { color: var(--rg-zc); transform: rotate(90deg); }

/* Sub panel */
.rg-zone-sub {
  display: none;
  padding: 0 20px 18px 80px;
  flex-direction: column; gap: 8px;
  border-top: 1px solid #EDE0D8;
  background: color-mix(in srgb, var(--rg-zc) 3%, white);
  animation: rgSubIn .25s ease both;
}
@keyframes rgSubIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.rg-zone-row.selected .rg-zone-sub { display: flex; }

.rg-sub-label {
  font-size: 11px; font-weight: 700; color: #8A6A58;
  text-transform: uppercase; letter-spacing: 1px;
  padding-top: 14px; margin-bottom: 4px;
}
.rg-sub-options { display: flex; flex-wrap: wrap; gap: 8px; }

.rg-sub-opt input { display: none; }
.rg-sub-opt label {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 50px;
  border: 1.5px solid #EDE0D8;
  font-size: 12px; font-weight: 600; color: #8A6A58;
  cursor: pointer; transition: all .2s; background: #fff;
}
.rg-sub-opt input:checked + label {
  border-color: var(--rg-zc);
  background: color-mix(in srgb, var(--rg-zc) 10%, white);
  color: #1A0A00;
}
.rg-sub-opt label::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: #EDE0D8; flex-shrink: 0; transition: background .2s;
}
.rg-sub-opt input:checked + label::before { background: var(--rg-zc); }

.rg-sub-select {
  width: 100%; max-width: 400px;
  padding: 10px 32px 10px 14px;
  border: 1.5px solid #EDE0D8;
  border-radius: 12px;
  font-family: 'Noto Sans Thai', sans-serif; font-size: 13px; font-weight: 500;
  color: #1A0A00; background: #fff;
  outline: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A6A58' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  transition: border-color .2s;
}
.rg-sub-select:focus { border-color: #E8420A; box-shadow: 0 0 0 3px rgba(232,66,10,0.08); }

/* ── Form fields ── */
.rg-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.rg-form-row.rg-full  { grid-template-columns: 1fr; }
.rg-form-row.rg-three { grid-template-columns: 1fr 1fr 1fr; }
.rg-form-group { display: flex; flex-direction: column; gap: 6px; }

.rg-form-lbl { font-size: 11px; font-weight: 700; color: #8A6A58; text-transform: uppercase; letter-spacing: .8px; }
.rg-form-lbl .rg-req { color: #E8420A; margin-left: 2px; }

.rg-input, .rg-select {
  width: 100%; padding: 11px 15px;
  border: 1.5px solid #EDE0D8; border-radius: 11px;
  font-family: 'Noto Sans Thai', sans-serif; font-size: 14px; font-weight: 500;
  color: #1A0A00; background: #fff; outline: none;
  transition: border-color .2s, box-shadow .2s; appearance: none;
}
.rg-input:focus, .rg-select:focus {
  border-color: #E8420A;
  box-shadow: 0 0 0 3px rgba(232,66,10,0.08);
}
.rg-input::placeholder { color: #C4A898; }
.rg-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A6A58' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px; cursor: pointer;
}

/* ── Consent ── */
.rg-consent {
  background: #FFF8F3; border: 1px solid #FFD8C0; border-radius: 14px;
  padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 22px;
}
.rg-consent input[type=checkbox] {
  width: 18px; height: 18px; border-radius: 5px;
  flex-shrink: 0; margin-top: 2px; cursor: pointer;
  accent-color: #E8420A;
}
.rg-consent-text { font-size: 12.5px; color: #8A6A58; line-height: 1.65; }
.rg-consent-text strong { color: #1A0A00; font-weight: 700; }

/* ── Submit ── */
.rg-submit-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}
.rg-submit-note { font-size: 12px; color: #8A6A58; flex: 1; }

.rg-btn-submit {
  background: linear-gradient(135deg, #C03200, #E8420A);
  color: #fff; font-family: 'Noto Sans Thai', sans-serif;
  font-weight: 800; font-size: 15px;
  padding: 15px 42px; border-radius: 50px;
  border: none; cursor: pointer;
  box-shadow: 0 8px 28px rgba(232,66,10,0.32);
  transition: all .25s; display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.rg-btn-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(232,66,10,0.42); }
.rg-btn-submit:active { transform: translateY(0); }

/* ── Success ── */
.rg-success { display: none; text-align: center; padding: 56px 32px; }
.rg-success.show { display: block; }
.rg-suc-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, #FFF0E8, #FFD8C0);
  margin: 0 auto 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  animation: rgPopIn .5s cubic-bezier(.175,.885,.32,1.275) both;
}
@keyframes rgPopIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.rg-suc-title  { font-size: 24px; font-weight: 900; color: #1A0A00; margin-bottom: 8px; }
.rg-suc-sub    { font-size: 14px; color: #8A6A58; line-height: 1.75; margin-bottom: 28px; }
.rg-suc-ref {
  display: inline-block;
  background: #FFF0E8; border: 1px solid #FFCCA8;
  border-radius: 12px; padding: 12px 28px;
  font-size: 14px; font-weight: 700; color: #E8420A;
  letter-spacing: 1px; margin-bottom: 28px;
}
.rg-btn-home {
  display: inline-flex; align-items: center; gap: 8px;
  background: #1A0A00; color: #fff;
  font-family: 'Noto Sans Thai', sans-serif; font-weight: 700; font-size: 14px;
  padding: 13px 32px; border-radius: 50px; text-decoration: none;
  transition: all .25s;
}
.rg-btn-home:hover { background: #E8420A; transform: translateY(-2px); }

/* ── Footer ── */
.rg-footer {
  text-align: center; padding: 20px; font-size: 12px;
  color: #8A6A58; border-top: 1px solid #EDE0D8;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .ph { padding: 12px 18px; }
  .rg-hero { padding: 36px 18px 32px; }
  .rg-main { padding: 28px 14px 56px; }
  .rg-card-bd { padding: 18px; }
  .rg-card-hd { padding: 16px 18px 14px; }
  .rg-form-row, .rg-form-row.rg-three { grid-template-columns: 1fr; }
  .rg-zone-sub { padding-left: 20px; }
  .rg-submit-row { flex-direction: column; align-items: stretch; }
  .rg-btn-submit { width: 100%; justify-content: center; }
  .rg-step-lbl { display: none; }
}


/* ============================================================
   HISTORY PAGE
   ============================================================ */
.hist-hero {
  background: linear-gradient(135deg, #C03200 0%, #E8420A 35%, #F5651A 65%, #E8900A 100%);
  padding: 52px 40px 48px;
  text-align: center;
  position: relative; overflow: hidden;
}
.hist-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,0.04) 25%, transparent 25%),
    linear-gradient(225deg, rgba(255,255,255,0.04) 25%, transparent 25%),
    linear-gradient(45deg,  rgba(255,255,255,0.04) 25%, transparent 25%),
    linear-gradient(315deg, rgba(255,255,255,0.04) 25%, transparent 25%);
  background-size: 60px 60px;
  pointer-events: none;
}
.hist-hero::after {
  content: ''; position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}
.hist-hero-tag {
  position: relative; z-index: 2;
  display: inline-block;
  font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase; letter-spacing: 2.5px;
  margin-bottom: 8px;
}
.hist-hero-title {
  position: relative; z-index: 2;
  font-size: clamp(22px, 4vw, 34px); font-weight: 900;
  color: #fff; margin-bottom: 4px;
}
.hist-hero-sub {
  position: relative; z-index: 2;
  font-size: 13px; color: rgba(255,255,255,0.55);
  font-weight: 500; letter-spacing: 1px;
}

.hist-main {
  max-width: 100%;
  margin: 0 auto;
  padding: 44px 24px 80px;
}

.hist-edition {
  display: flex; align-items: center;
  justify-content: center; gap: 16px;
  margin-bottom: 36px;
}
.hist-edition-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, #EDE0D8);
}
.hist-edition-line.right {
  background: linear-gradient(90deg, #EDE0D8, transparent);
}
.hist-edition-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #E8420A, #E8900A);
  color: #fff; font-size: 13px; font-weight: 800;
  padding: 8px 22px; border-radius: 50px;
  letter-spacing: 0.5px; white-space: nowrap;
}

.hist-img-wrap {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  line-height: 0;
}
.hist-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hist-caption {
  text-align: center;
  margin-top: 20px;
  font-size: 13px; color: #8A6A58; line-height: 1.7;
}
.hist-caption strong { color: #1A0A00; font-weight: 700; }

.hist-back-row { text-align: center; margin-top: 40px; }
.hist-btn-back {
  display: inline-flex; align-items: center; gap: 8px;
  background: #1A0A00; color: #fff;
  font-family: 'Noto Sans Thai', sans-serif;
  font-weight: 700; font-size: 14px;
  padding: 13px 32px; border-radius: 50px;
  text-decoration: none; transition: all 0.25s;
}
.hist-btn-back:hover { background: #E8420A; transform: translateY(-2px); }

@media (max-width: 640px) {
  .hist-hero { padding: 36px 18px 32px; }
  .hist-main { padding: 28px 16px 56px; }
  .hist-img-wrap { border-radius: 14px; }
}



/* ============================================================
   CONCEPT PAGE (concp-)
   ============================================================ */
.concp-hero {
  background: linear-gradient(135deg, #C03200 0%, #E8420A 35%, #F5651A 65%, #E8900A 100%);
  padding: 52px 40px 48px;
  text-align: center;
  position: relative; overflow: hidden;
}
.concp-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,0.04) 25%, transparent 25%),
    linear-gradient(225deg, rgba(255,255,255,0.04) 25%, transparent 25%),
    linear-gradient(45deg,  rgba(255,255,255,0.04) 25%, transparent 25%),
    linear-gradient(315deg, rgba(255,255,255,0.04) 25%, transparent 25%);
  background-size: 60px 60px;
  pointer-events: none;
}
.concp-hero::after {
  content: ''; position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}
.concp-hero-tag {
  position: relative; z-index: 2;
  display: inline-block;
  font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase; letter-spacing: 2.5px;
  margin-bottom: 8px;
}
.concp-hero-title {
  position: relative; z-index: 2;
  font-size: clamp(22px, 4vw, 34px); font-weight: 900;
  color: #fff; margin-bottom: 4px;
}
.concp-hero-sub {
  position: relative; z-index: 2;
  font-size: 13px; color: rgba(255,255,255,0.55);
  font-weight: 500; letter-spacing: 1px;
}

.concp-main {
  max-width: 100%;
  margin: 0 auto;
  padding: 44px 24px 80px;
}

.concp-edition {
  display: flex; align-items: center;
  justify-content: center; gap: 16px;
  margin-bottom: 36px;
}
.concp-edition-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, #EDE0D8);
}
.concp-edition-line.right {
  background: linear-gradient(90deg, #EDE0D8, transparent);
}
.concp-edition-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #E8420A, #E8900A);
  color: #fff; font-size: 13px; font-weight: 800;
  padding: 8px 22px; border-radius: 50px;
  letter-spacing: 0.5px; white-space: nowrap;
}

/* .concp-img-wrap {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  line-height: 0;
}
.concp-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
} */

.concp-img-wrap {
  display: flex;
  flex-direction: row;
  gap: 12px;
  width: 100%;
  line-height: 0;
}

.concp-img-wrap img {
  flex: 1;
  width: 0;          /* ← ให้ flex จัดการ */
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

@media (max-width: 640px) {
  .concp-img-wrap {
    flex-direction: column;
    gap: 12px;
  }
  .concp-img-wrap img {
    width: 100%;
    flex: none;
  }
}

.concp-caption {
  text-align: center;
  margin-top: 20px;
  font-size: 13px; color: #8A6A58; line-height: 1.7;
}
.concp-caption strong { color: #1A0A00; font-weight: 700; }

.concp-back-row { text-align: center; margin-top: 40px; }
.concp-btn-back {
  display: inline-flex; align-items: center; gap: 8px;
  background: #1A0A00; color: #fff;
  font-family: 'Noto Sans Thai', sans-serif;
  font-weight: 700; font-size: 14px;
  padding: 13px 32px; border-radius: 50px;
  text-decoration: none; transition: all 0.25s;
}
.concp-btn-back:hover { background: #E8420A; transform: translateY(-2px); }

@media (max-width: 640px) {
  .concp-hero { padding: 36px 18px 32px; }
  .concp-main { padding: 28px 16px 56px; }
  .concp-img-wrap { border-radius: 14px; }
}

.rg-btn-submit{
    width:auto;
    min-width:220px;
    display:block;
    margin:20px auto 0;
}


/* Student blocks */
.rg-student-block { padding: 4px 0 8px; }

.rg-student-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700;
  color: #1A0A00; margin-bottom: 16px;
}

.rg-student-num {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: #fff;
  flex-shrink: 0;
}

.rg-student-divider {
  height: 1px;
  background: #EDE0D8;
  margin: 16px 0 24px;
}

.zone-card-actions{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:16px;
}

.zone-card-cta,
.zone-card-register{
  flex:1;
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  font-size:13px;
  font-weight:700;
  text-decoration:none;
  transition:all .2s ease;
  box-sizing:border-box;
}

.zone-card-cta{
  background:rgba(0,0,0,.06);
  color:#222;
  border:1px solid rgba(0,0,0,.08);
}

.zone-card-register{
  background:#111;
  color:#fff;
  border:1px solid #111;
}

.zone-card-cta:hover{
  background:rgba(0,0,0,.10);
  transform:translateY(-1px);
}

.zone-card-register:hover{
  background:#000;
  transform:translateY(-1px);
}

@media (max-width:480px){
  .zone-card-actions{
    gap:8px;
  }

  .zone-card-cta,
  .zone-card-register{
    min-height:40px;
    font-size:12px;
    padding:0 8px;
  }
}


.zone-card-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:16px;
  width:100%;
}

.zone-card-actions .zone-card-cta,
.zone-card-actions .zone-card-register{
  width:100%;
  height:44px;
  margin:0;
  padding:0 12px;
  box-sizing:border-box;

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

  border-radius:12px;
  font-size:13px;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
}

.zone-card-actions .zone-card-cta{
  background:rgba(255,255,255,.14);
  color:#111;
  border:1px solid rgba(0,0,0,.12);
}

.zone-card-actions .zone-card-register{
  background:#111;
  color:#fff;
  border:1px solid #111;
}

.rg-card-hd{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

.rg-pdf-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:10px 16px;
  border-radius:12px;
  background:#111;
  color:#fff;
  text-decoration:none;
  font-size:13px;
  font-weight:700;
  white-space:nowrap;
  transition:all .2s ease;
}

.rg-pdf-btn:hover{
  background:#000;
  color:#fff;
  transform:translateY(-1px);
}

@media (max-width:768px){
  .rg-card-hd{
    align-items:stretch;
  }

  .rg-pdf-btn{
    width:100%;
  }
}