/* ═══════════════════════════════
   CSS VARIABLES & RESET
═══════════════════════════════ */
:root {
  --gold:       #C9A84C;
  --gold-light: #E8C97A;
  --gold-pale:  #F5E6C0;
  --dark:       #0D0902;
  --dark-2:     #160F06;
  --dark-3:     #1E1409;
  --wood:       #2A1800;
  --wood-2:     #381F00;
  --text:       #EDE0C4;
  --text-dim:   #9A8060;
  --text-mid:   #C4B090;
  --border:     rgba(201,168,76,0.22);
  --glow:       rgba(201,168,76,0.15);
  --accent:     #D4881A;
  --green:      #2ECC71;
  --blue:       #3498DB;
  --radius:     2px;
  --tr:         0.3s ease;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Sarabun', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  line-height: 1.7;
}
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: 0.35;
}

/* ═══════════════════════════════
   TYPOGRAPHY HELPERS
═══════════════════════════════ */
.serif { font-family: 'DM Serif Display', serif; }
.mono  { font-family: 'Space Mono', monospace; }
.cinzel { font-family: 'Cinzel', serif; }

/* ═══════════════════════════════
   BUTTONS
═══════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), #8B6914);
  color: var(--dark);
  font-family: 'Sarabun', sans-serif;
  font-weight: 700; font-size: 1rem;
  letter-spacing: 0.05em;
  text-decoration: none; border-radius: var(--radius);
  border: none; cursor: pointer;
  box-shadow: 0 8px 32px rgba(201,168,76,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: all var(--tr); position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; top: -50%; left: -60%;
  width: 40%; height: 200%; background: rgba(255,255,255,0.15);
  transform: skewX(-20deg); transition: left 0.5s;
}
.btn-primary:hover { box-shadow: 0 12px 40px rgba(201,168,76,0.55); transform: translateY(-2px); }
.btn-primary:hover::before { left: 120%; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 1rem 2rem; border: 1px solid var(--border);
  color: var(--gold); font-family: 'Sarabun', sans-serif;
  font-weight: 500; font-size: 1rem;
  text-decoration: none; border-radius: var(--radius);
  background: transparent; cursor: pointer;
  transition: all var(--tr); letter-spacing: 0.05em;
}
.btn-outline:hover { border-color: var(--gold); background: rgba(201,168,76,0.08); color: var(--gold-light); }

/* ═══════════════════════════════
   SECTION HELPERS
═══════════════════════════════ */
.section-tag {
  display: inline-block; padding: 0.25rem 0.75rem;
  border: 1px solid var(--border);
  font-size: 0.68rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem;
  font-family: 'Space Mono', monospace;
}
.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 600; color: var(--gold-pale);
  margin-bottom: 0.75rem;
}
.section-subtitle {
  font-size: 1rem; color: var(--text-dim);
  max-width: 560px; margin: 0 auto; line-height: 1.8;
}
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header--left { text-align: left; }

/* Divider */
.divider { display: flex; align-items: center; gap: 1rem; padding: 0 4rem; }
.divider-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }
.divider-icon { color: var(--gold); font-size: 1rem; opacity: 0.6; }

/* Fade-in */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.75s ease, transform 0.75s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ═══════════════════════════════
   NAVBAR
═══════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 4rem;
  background: linear-gradient(180deg, rgba(13,9,2,0.99) 0%, rgba(13,9,2,0.85) 100%);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  transition: padding var(--tr), box-shadow var(--tr);
}
.navbar.scrolled { padding: 0.65rem 4rem; box-shadow: 0 4px 30px rgba(0,0,0,0.6); }
.nav-logo { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; }
.nav-logo-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--gold), #8B6914);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Cinzel', serif; font-weight: 900; font-size: 1.1rem;
  color: var(--dark); border: 2px solid var(--gold-light);
  box-shadow: 0 0 24px rgba(201,168,76,0.35);
}
.nav-logo-text { font-family: 'Cinzel', serif; font-size: 0.88rem; font-weight: 600; color: var(--gold-light); letter-spacing: 0.04em; line-height: 1.2; }
.nav-logo-sub { font-size: 0.58rem; color: var(--text-dim); letter-spacing: 0.22em; text-transform: uppercase; font-family: 'Space Mono', monospace; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { font-size: 0.88rem; color: var(--gold-pale); text-decoration: none; letter-spacing: 0.05em; transition: color var(--tr); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--tr); }
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  padding: 0.6rem 1.4rem !important;
  background: linear-gradient(135deg, #8B1A1A, #5C0A0A, #3D0000) !important;
  color: #FFD0D0 !important; border-radius: var(--radius) !important;
  font-weight: 700 !important; font-size: 0.85rem !important;
  letter-spacing: 0.06em !important;
  box-shadow: 0 0 20px rgba(139,26,26,0.35), inset 0 1px 0 rgba(255,180,180,0.15);
  border: 1px solid rgba(180,50,50,0.4) !important;
  transition: all 0.25s ease !important;
}
.nav-cta:hover {
  background: linear-gradient(135deg, #A52020, #6E1010, #4A0000) !important;
  box-shadow: 0 0 32px rgba(139,26,26,0.6), inset 0 1px 0 rgba(255,180,180,0.2) !important;
  color: #FFE0E0 !important;
}
.nav-cta::after { display: none !important; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; transition: all var(--tr); }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════
   HERO
═══════════════════════════════ */
.hero {
  min-height: 100vh; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 3rem;
  position: relative; overflow: hidden; padding: 9rem 4rem 5rem;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 65% 50%, rgba(42,24,0,0.92) 0%, transparent 70%),
    radial-gradient(ellipse 50% 70% at 15% 80%, rgba(201,168,76,0.07) 0%, transparent 60%),
    linear-gradient(135deg, #0D0902 0%, #160F06 40%, #1E1409 70%, #0D0902 100%);
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(88deg, transparent 0px, transparent 40px, rgba(201,168,76,0.012) 40px, rgba(201,168,76,0.012) 41px);
}
.hero-content { position: relative; z-index: 2; max-width: 660px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.35rem 1rem; border: 1px solid var(--border);
  font-size: 0.7rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.75rem; background: rgba(201,168,76,0.04);
  font-family: 'Space Mono', monospace;
}
.hero-eyebrow::before { content: '◈'; color: var(--gold); }
.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700; line-height: 1.08;
  color: var(--gold-pale); margin-bottom: 0.6rem;
  text-shadow: 0 2px 50px rgba(201,168,76,0.25);
}
.hero-title span { color: var(--gold); font-style: italic; font-family: 'DM Serif Display', serif; }
.hero-subtitle {
  font-size: clamp(1.2rem, 2.8vw, 1.9rem);
  font-weight: 300; color: var(--text-dim);
  margin-bottom: 1.75rem; letter-spacing: 0.04em;
}
.hero-desc { font-size: 1.05rem; line-height: 1.9; color: var(--text-dim); margin-bottom: 1.75rem; max-width: 540px; }

.hero-pills { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: rgba(201,168,76,0.07); border: 1px solid rgba(201,168,76,0.2);
  font-size: 0.78rem; color: var(--gold-light); border-radius: 2px;
  font-family: 'Space Mono', monospace; letter-spacing: 0.05em;
}
.hero-pill::before { content: '✓'; color: var(--green); font-weight: 700; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.hero-deco { position: relative; z-index: 1; }
.hero-deco-ring {
  width: 440px; height: 440px; border-radius: 50%;
  border: 2px solid rgba(201,168,76,0.18);
  display: flex; align-items: center; justify-content: center;
  position: relative; animation: rotateRing 35s linear infinite;
}
.hero-deco-ring::before, .hero-deco-ring::after { content: ''; position: absolute; border-radius: 50%; border: 1px solid rgba(201,168,76,0.1); }
.hero-deco-ring::before { inset: -22px; }
.hero-deco-ring::after  { inset: -44px; }
@keyframes rotateRing { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.hero-deco-inner {
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(42,24,0,0.97), rgba(13,9,2,0.99));
  border: 3px solid var(--gold);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 0 80px rgba(201,168,76,0.18), inset 0 0 60px rgba(0,0,0,0.6);
  animation: rotateRing 35s linear infinite reverse;
  font-family: 'Cinzel', serif; text-align: center; gap: 0.3rem;
}
.hero-deco-wg {
  font-size: 4.2rem; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), #8B6914);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-deco-corp { font-size: 0.58rem; letter-spacing: 0.32em; color: var(--text-dim); }
.hero-deco-tagline { font-size: 0.5rem; letter-spacing: 0.18em; color: rgba(201,168,76,0.45); margin-top: 0.5rem; }

/* Hero deco as carousel container */
.hero-deco--carousel {
  width: 460px;
  height: 460px;
  transform: none;
  border-radius: 1rem;
  overflow: hidden;
  flex-shrink: 0;
}
.hero-deco--carousel .banner-carousel {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  box-shadow: 0 8px 48px rgba(0,0,0,0.5), 0 0 0 1.5px rgba(201,168,76,0.25);
  aspect-ratio: unset;
}

/* ═══════════════════════════════
   STATS
═══════════════════════════════ */
.stats {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: var(--border);
  margin: 4rem 4rem; border: 1px solid var(--border);
}
.stat-item {
  background: var(--dark-2); padding: 2.25rem 1.5rem; text-align: center;
  position: relative; overflow: hidden; transition: background var(--tr);
}
.stat-item:hover { background: var(--dark-3); }
.stat-item::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 50%; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.stat-num { font-family: 'Cinzel', serif; font-size: 2.6rem; font-weight: 700; color: var(--gold); display: block; text-shadow: 0 0 35px rgba(201,168,76,0.4); }
.stat-label { font-size: 0.85rem; color: var(--text-dim); letter-spacing: 0.05em; margin-top: 0.35rem; }

/* ═══════════════════════════════
   EDUCATION BANNER
═══════════════════════════════ */
.edu-banner {
  padding: 3rem 4rem;
  background: linear-gradient(135deg, rgba(22,15,6,0.98), rgba(30,20,9,0.96));
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.edu-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 120% at 80% 50%, rgba(201,168,76,0.05), transparent);
}
.edu-banner-inner { display: flex; align-items: center; gap: 4rem; position: relative; }
.edu-banner-label {
  flex-shrink: 0; writing-mode: vertical-rl; text-orientation: mixed;
  font-family: 'Space Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold);
  opacity: 0.6;
}
.edu-kpis { display: flex; gap: 2rem; flex-wrap: wrap; flex: 1; }
.edu-kpi { display: flex; flex-direction: column; gap: 0.3rem; }
.edu-kpi-term { font-family: 'Space Mono', monospace; font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); }
.edu-kpi-def { font-size: 0.85rem; color: var(--text-dim); max-width: 180px; line-height: 1.5; }
.edu-kpi-val { font-family: 'Cinzel', serif; font-size: 1.5rem; font-weight: 700; color: var(--gold-light); }

/* ═══════════════════════════════
   SERVICES
═══════════════════════════════ */
.services-section { padding: 5.5rem 4rem; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.service-card {
  background: linear-gradient(135deg, var(--dark-2), var(--wood));
  border: 1px solid var(--border); padding: 2.25rem;
  position: relative; overflow: hidden; transition: all 0.4s; cursor: default;
}
.service-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at top left, rgba(201,168,76,0.09), transparent 60%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.service-card::after { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0; background: linear-gradient(180deg, var(--gold), transparent); transition: height 0.4s; pointer-events: none; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(201,168,76,0.5); }
.service-card:hover::before { opacity: 1; }
.service-card:hover::after  { height: 100%; }
.service-badge { display: inline-block; padding: 0.2rem 0.6rem; background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.2); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; font-family: 'Space Mono', monospace; }
.service-icon { font-size: 2rem; margin-bottom: 0.85rem; display: block; filter: drop-shadow(0 0 10px rgba(201,168,76,0.5)); }
.service-title { font-size: 1.15rem; font-weight: 700; color: var(--gold-pale); margin-bottom: 0.75rem; }
.service-desc { font-size: 0.9rem; line-height: 1.75; color: var(--text-dim); margin-bottom: 1rem; }
.service-learns { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.5rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.service-learns li { font-size: 0.78rem; color: var(--text-mid); display: flex; align-items: flex-start; gap: 0.5rem; }
.service-learns li::before { content: '›'; color: var(--gold); flex-shrink: 0; font-size: 1rem; line-height: 1.2; }

/* ═══════════════════════════════
   PROCESS SECTION
═══════════════════════════════ */
.process-section {
  padding: 5.5rem 4rem;
  background: linear-gradient(135deg, var(--dark-2), var(--wood));
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.process-steps { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; position: relative; margin-top: 1rem; }
.process-steps::before {
  content: ''; position: absolute; top: 28px; left: 10%; right: 10%;
  height: 1px; background: linear-gradient(90deg, transparent, var(--border), var(--gold), var(--border), transparent);
  z-index: 0;
}
.process-step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 1rem; position: relative; z-index: 1; }
.process-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--dark); font-family: 'Space Mono', monospace; font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; border: 2px solid var(--gold-light);
  box-shadow: 0 0 20px rgba(201,168,76,0.3);
}
.process-step-title { font-weight: 700; font-size: 0.9rem; color: var(--gold-pale); margin-bottom: 0.5rem; }
.process-step-desc { font-size: 0.78rem; color: var(--text-dim); line-height: 1.6; }

/* ═══════════════════════════════
   KNOWLEDGE SECTION
═══════════════════════════════ */
.knowledge-section { padding: 5.5rem 4rem; }
.knowledge-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.knowledge-card {
  background: var(--dark-2); border: 1px solid var(--border);
  padding: 2rem; transition: all var(--tr); position: relative; overflow: hidden;
}
.knowledge-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.knowledge-card:hover { border-color: rgba(201,168,76,0.45); transform: translateY(-3px); }
.knowledge-card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.knowledge-card-icon { font-size: 1.75rem; filter: drop-shadow(0 0 8px rgba(201,168,76,0.4)); }
.knowledge-card-title { font-weight: 700; font-size: 1rem; color: var(--gold-pale); }
.knowledge-card-tag { font-family: 'Space Mono', monospace; font-size: 0.6rem; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; margin-top: 0.2rem; }
.knowledge-card-body { font-size: 0.88rem; line-height: 1.8; color: var(--text-dim); margin-bottom: 1.25rem; }
.knowledge-metrics { display: flex; gap: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.knowledge-metric { display: flex; flex-direction: column; gap: 0.15rem; }
.knowledge-metric-val { font-family: 'Cinzel', serif; font-size: 1.3rem; font-weight: 700; color: var(--gold); }
.knowledge-metric-label { font-size: 0.7rem; color: var(--text-dim); letter-spacing: 0.05em; }

/* ═══════════════════════════════
   WHY US
═══════════════════════════════ */
.why-section {
  padding: 5.5rem 4rem;
  background: linear-gradient(135deg, var(--dark-2), var(--wood));
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.why-points { list-style: none; display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.75rem; }
.why-point { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.25rem; background: rgba(201,168,76,0.03); border: 1px solid var(--border); border-left: 3px solid var(--gold); transition: background var(--tr); }
.why-point:hover { background: rgba(201,168,76,0.07); }
.why-point-icon { font-size: 1.35rem; flex-shrink: 0; }
.why-point-text strong { display: block; font-weight: 700; color: var(--gold-pale); font-size: 0.95rem; margin-bottom: 0.3rem; }
.why-point-text span { font-size: 0.85rem; color: var(--text-dim); line-height: 1.6; }

.why-right { display: flex; flex-direction: column; gap: 1.5rem; }
.why-box {
  background: linear-gradient(135deg, rgba(42,24,0,0.8), rgba(13,9,2,0.9));
  border: 1px solid var(--border); padding: 2.5rem 2rem; text-align: center; position: relative;
}
.why-box::before, .why-box::after { content: ''; position: absolute; width: 22px; height: 22px; border-color: var(--gold); border-style: solid; }
.why-box::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.why-box::after  { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.why-box-title { font-family: 'Cinzel', serif; font-size: 3.5rem; font-weight: 900; color: var(--gold); text-shadow: 0 0 60px rgba(201,168,76,0.5); display: block; }
.why-box-sub { font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-dim); margin-top: 0.25rem; display: block; font-family: 'Space Mono', monospace; }

.guarantee-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.guarantee-card { background: rgba(201,168,76,0.04); border: 1px solid var(--border); padding: 1rem; }
.guarantee-card-icon { font-size: 1.2rem; margin-bottom: 0.4rem; display: block; }
.guarantee-card-title { font-size: 0.8rem; font-weight: 700; color: var(--gold-pale); margin-bottom: 0.25rem; }
.guarantee-card-desc { font-size: 0.72rem; color: var(--text-dim); line-height: 1.5; }

/* ═══════════════════════════════
   ROI CALCULATOR
═══════════════════════════════ */
.roi-section { padding: 5.5rem 4rem; position: relative; }
.roi-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(201,168,76,0.04), transparent); }
.roi-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; position: relative; }
.roi-explain p { font-size: 0.92rem; color: var(--text-dim); line-height: 1.85; margin-bottom: 1rem; }
.roi-explain strong { color: var(--gold-light); }
.roi-formula {
  background: var(--dark-2); border: 1px solid var(--border);
  padding: 1.5rem; margin-top: 1.5rem; font-family: 'Space Mono', monospace;
}
.roi-formula-title { font-size: 0.68rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.roi-formula-eq { font-size: 0.9rem; color: var(--gold-light); line-height: 1.8; }

.roi-calc { background: var(--dark-2); border: 1px solid var(--border); padding: 2rem; }
.roi-calc-title { font-family: 'Cinzel', serif; font-size: 1rem; color: var(--gold-pale); margin-bottom: 1.5rem; letter-spacing: 0.05em; }
.roi-field { margin-bottom: 1.1rem; }
.roi-field label { display: block; font-size: 0.78rem; color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.4rem; font-family: 'Space Mono', monospace; }
.roi-field input, .roi-field select {
  width: 100%; background: var(--dark-3); border: 1px solid var(--border);
  color: var(--text); padding: 0.7rem 1rem; font-family: 'Sarabun', sans-serif;
  font-size: 0.95rem; border-radius: var(--radius); outline: none;
  transition: border-color var(--tr);
}
.roi-field input:focus, .roi-field select:focus { border-color: var(--gold); }
.roi-result {
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.04));
  border: 1px solid var(--gold); padding: 1.25rem; margin-top: 1.5rem; display: none;
}
.roi-result.show { display: block; }
.roi-result-label { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; font-family: 'Space Mono', monospace; }
.roi-result-val { font-family: 'Cinzel', serif; font-size: 2rem; font-weight: 700; color: var(--gold-light); }
.roi-result-note { font-size: 0.75rem; color: var(--text-dim); margin-top: 0.4rem; }

/* ═══════════════════════════════
   PLATFORMS SECTION
═══════════════════════════════ */
.platforms-section { padding: 5.5rem 4rem; background: linear-gradient(135deg, var(--dark-2), var(--wood)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.platforms-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 1rem; }
.platform-card { background: rgba(201,168,76,0.03); border: 1px solid var(--border); padding: 1.75rem; transition: all var(--tr); }
.platform-card:hover { border-color: rgba(201,168,76,0.4); background: rgba(201,168,76,0.06); transform: translateY(-3px); }
.platform-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.platform-icon { font-size: 1.8rem; }
.platform-name { font-weight: 700; font-size: 1rem; color: var(--gold-pale); }
.platform-type { font-family: 'Space Mono', monospace; font-size: 0.6rem; letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase; }
.platform-body { font-size: 0.85rem; color: var(--text-dim); line-height: 1.7; margin-bottom: 1.1rem; }
.platform-features { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.platform-features li { font-size: 0.8rem; color: var(--text-mid); display: flex; gap: 0.5rem; align-items: flex-start; }
.platform-features li::before { content: '▸'; color: var(--gold); flex-shrink: 0; }

/* ═══════════════════════════════
   CONTACT
═══════════════════════════════ */
.contact-section { padding: 5.5rem 4rem; text-align: center; position: relative; overflow: hidden; }
.contact-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 75% at 50% 50%, rgba(201,168,76,0.05), transparent); }
.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin: 3rem 0; position: relative; }
.contact-card { background: var(--dark-2); border: 1px solid var(--border); padding: 2.25rem 1.5rem; transition: all var(--tr); }
.contact-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(201,168,76,0.1); }
.contact-card-icon { font-size: 2rem; margin-bottom: 0.75rem; display: block; }
.contact-card-label { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; font-family: 'Space Mono', monospace; }
.contact-card-value { font-size: 1.05rem; font-weight: 600; color: var(--text); }
.contact-card-sub { font-size: 0.8rem; color: var(--text-dim); margin-top: 0.3rem; }
.free-consult {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 1.5rem 3.5rem;
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.04));
  border: 1px solid var(--gold); color: var(--gold-light);
  font-family: 'Sarabun', sans-serif; font-size: 1.2rem; font-weight: 700;
  text-decoration: none; letter-spacing: 0.05em;
  margin-top: 1rem; transition: all var(--tr); cursor: pointer; position: relative;
}
.free-consult:hover { background: linear-gradient(135deg, rgba(201,168,76,0.25), rgba(201,168,76,0.1)); box-shadow: 0 0 50px rgba(201,168,76,0.2); }

/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
.site-footer { background: var(--dark-2); border-top: 1px solid var(--border); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; padding: 4rem 4rem 3rem; }
.footer-logo-wrap { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.1rem; }
.footer-logo-icon { width: 42px; height: 42px; background: linear-gradient(135deg, var(--gold), #8B6914); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Cinzel', serif; font-weight: 900; font-size: 0.95rem; color: var(--dark); border: 2px solid var(--gold-light); flex-shrink: 0; }
.footer-logo-name { font-family: 'Cinzel', serif; font-size: 0.88rem; font-weight: 600; color: var(--gold-light); line-height: 1.2; }
.footer-logo-sub { font-size: 0.58rem; color: var(--text-dim); letter-spacing: 0.18em; text-transform: uppercase; font-family: 'Space Mono', monospace; }
.footer-tagline { font-size: 0.85rem; color: var(--text-dim); line-height: 1.7; margin-bottom: 1.25rem; }
.footer-col-title { font-family: 'Cinzel', serif; font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.footer-list { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-list li { display: flex; align-items: center; gap: 0.5rem; }
.footer-list a { font-size: 0.85rem; color: var(--text-dim); text-decoration: none; transition: color var(--tr); }
.footer-list a:hover { color: var(--gold); }
.footer-icon { font-size: 0.9rem; flex-shrink: 0; }
.footer-list span { font-size: 0.85rem; color: var(--text-dim); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 4rem; border-top: 1px solid var(--border); font-size: 0.75rem; color: var(--text-dim); }
.footer-bottom-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-bottom-links a { font-size: 0.75rem; color: var(--text-dim); text-decoration: none; transition: color var(--tr); }
.footer-bottom-links a:hover { color: var(--gold); }
.footer-cert { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.footer-cert-badge {
  padding: 0.2rem 0.6rem;
  background: rgba(201,168,76,0.08); border: 1px solid rgba(201,168,76,0.2);
  font-family: 'Space Mono', monospace; font-size: 0.58rem; color: var(--gold);
  letter-spacing: 0.1em; text-transform: uppercase;
}

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width: 1100px) {
  .process-steps { grid-template-columns: repeat(3,1fr); }
  .process-steps::before { display: none; }
}
@media (max-width: 900px) {
  .navbar { padding: 1rem 1.5rem; }
  .navbar.scrolled { padding: 0.65rem 1.5rem; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(13,9,2,0.98); border-bottom: 1px solid var(--border); backdrop-filter: blur(14px); }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); }
  .nav-cta { margin: 1rem 1.5rem !important; display: block; text-align: center; }
  .nav-burger { display: flex; }
  .divider { padding: 0 1.5rem; }
  .hero { grid-template-columns: 1fr; padding: 7.5rem 1.5rem 3.5rem; }
  .hero-deco:not(.hero-deco--carousel) { display: none; }
  .stats { grid-template-columns: repeat(2,1fr); margin: 2.5rem 1.5rem; }
  .edu-banner { padding: 2.5rem 1.5rem; }
  .edu-banner-inner { flex-direction: column; gap: 1.5rem; }
  .edu-banner-label { writing-mode: horizontal-tb; }
  .edu-kpis { gap: 1.5rem; }
  .services-section, .why-section, .contact-section, .process-section, .knowledge-section, .roi-section, .platforms-section { padding: 3.5rem 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .knowledge-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .roi-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .platforms-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .guarantee-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.5rem 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; padding: 1rem 1.5rem; }
}

/* ═══════════════════════════════
   BANNER CAROUSEL
═══════════════════════════════ */
/* banner-carousel-section removed — carousel now lives inside hero */

.banner-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  box-shadow: 0 8px 48px rgba(0,0,0,0.28);
  background: #000;
  aspect-ratio: 16 / 7;
}

.banner-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.77, 0, 0.18, 1);
}

.banner-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.banner-slide.active img {
  transform: scale(1.02);
}

/* Arrows */
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
}
.banner-arrow:hover {
  background: rgba(212,175,55,0.75);
  border-color: rgba(212,175,55,0.8);
  transform: translateY(-50%) scale(1.1);
}
.banner-arrow--prev { left: 1rem; }
.banner-arrow--next { right: 1rem; }

/* Dots */
.banner-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
.banner-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, width 0.3s;
  padding: 0;
}
.banner-dot.active {
  background: #d4af37;
  width: 1.6rem;
  border-radius: 0.3rem;
  transform: none;
}

@media (max-width: 768px) {
  .banner-carousel-section { padding: 0 1rem; }
  .banner-carousel { aspect-ratio: 4 / 3; border-radius: 0.75rem; }
  .banner-arrow { width: 2.2rem; height: 2.2rem; font-size: 1.3rem; }
}

/* ═══════════════════════════════
   HERO AI FUTURISTIC VISUAL
═══════════════════════════════ */
.hero-ai {
  position: relative;
  width: 320px;
  height: 460px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}

/* Canvas background particles */
.hero-ai-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.55;
}

/* HUD Ring system */
.hero-ai-hud {
  position: relative;
  width: 180px;
  height: 180px;
  flex-shrink: 0;
}
.hud-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(201,168,76,0.35);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.hud-ring--outer {
  width: 180px; height: 180px;
  border-color: rgba(201,168,76,0.18);
  border-top-color: rgba(201,168,76,0.8);
  border-right-color: rgba(201,168,76,0.5);
  animation: spinCW 4s linear infinite;
}
.hud-ring--mid {
  width: 130px; height: 130px;
  border-color: rgba(100,200,255,0.12);
  border-bottom-color: rgba(100,200,255,0.7);
  border-left-color: rgba(100,200,255,0.4);
  animation: spinCCW 2.8s linear infinite;
}
.hud-ring--inner {
  width: 84px; height: 84px;
  border-color: rgba(201,168,76,0.1);
  border-top-color: rgba(201,168,76,0.6);
  animation: spinCW 1.8s linear infinite;
}
@keyframes spinCW  { to { transform: translate(-50%, -50%) rotate(360deg);  } }
@keyframes spinCCW { to { transform: translate(-50%, -50%) rotate(-360deg); } }

.hud-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
}
.hud-core-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 20%, var(--gold) 60%, rgba(201,168,76,0) 100%);
  box-shadow: 0 0 12px 4px rgba(201,168,76,0.6), 0 0 30px 8px rgba(201,168,76,0.2);
  animation: corePulse 1.6s ease-in-out infinite;
}
.hud-core-pulse {
  position: absolute;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.5);
  animation: pulseExpand 1.6s ease-out infinite;
}
@keyframes corePulse   { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(1.3)} }
@keyframes pulseExpand { 0%{opacity:0.8;transform:scale(0.8)} 100%{opacity:0;transform:scale(2.2)} }

/* HUD labels */
.hud-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Space Mono', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.22em;
  color: rgba(201,168,76,0.6);
}
.hud-label--top    { top: -1.2rem; }
.hud-label--bottom { bottom: -1.2rem; }

/* HUD tick marks */
.hud-tick {
  position: absolute;
  top: 50%; left: 50%;
  width: 4px; height: 12px;
  background: rgba(201,168,76,0.5);
  transform-origin: 50% 100px;
  border-radius: 2px;
}
.hud-tick--1 { transform: translate(-50%, -100px) rotate(0deg);   }
.hud-tick--2 { transform: translate(-50%, -100px) rotate(90deg);  }
.hud-tick--3 { transform: translate(-50%, -100px) rotate(180deg); }
.hud-tick--4 { transform: translate(-50%, -100px) rotate(270deg); }

/* Metrics bars */
.hero-ai-metrics {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  padding: 0 0.5rem;
}
.ai-metric {
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 0.4rem;
  row-gap: 0.15rem;
}
.ai-metric-val {
  font-family: 'Space Mono', monospace;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  grid-row: 1;
  grid-column: 1;
}
.ai-metric-unit {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  color: rgba(201,168,76,0.6);
  grid-row: 1;
  grid-column: 2;
  align-self: start;
  margin-top: 2px;
}
.ai-metric-bar {
  grid-row: 1;
  grid-column: 3;
  height: 3px;
  background: rgba(201,168,76,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.ai-metric-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), #64C8FF);
  border-radius: 2px;
  transition: width 1.8s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 0 6px rgba(201,168,76,0.5);
}
.ai-metric-fill.animated { width: var(--w); }
.ai-metric-label {
  grid-row: 2;
  grid-column: 1 / -1;
  font-family: 'Space Mono', monospace;
  font-size: 0.48rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.28);
  text-transform: uppercase;
}

/* Floating nodes */
.hero-ai-nodes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ai-node {
  position: absolute;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.35);
  background: rgba(13,9,2,0.9);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Mono', monospace;
  font-size: 0.5rem;
  color: rgba(201,168,76,0.7);
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}
.ai-node--1 { top: 6%;  left: 0%;    animation: floatNode 3.2s ease-in-out infinite; }
.ai-node--2 { top: 18%; right: -4%;  animation: floatNode 4.1s ease-in-out infinite 0.5s; }
.ai-node--3 { bottom: 22%; left: -4%; animation: floatNode 3.7s ease-in-out infinite 1s; }
.ai-node--4 { bottom: 8%; right: 0%; animation: floatNode 4.5s ease-in-out infinite 1.5s; }
@keyframes floatNode { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* Scan line */
.hero-ai-scan {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(100,200,255,0.5), rgba(201,168,76,0.6), rgba(100,200,255,0.5), transparent);
  animation: scanLine 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scanLine {
  0%   { top: 5%;   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 95%;  opacity: 0; }
}

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr auto; }
  .hero-ai { display: none; }
}
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; }
  .hero-deco--carousel { position: static; transform: none; width: 100%; height: 260px; border-radius: 0.75rem; }
}
