@font-face {
  font-family: 'Oswald'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('fonts/oswald-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('fonts/inter-var.woff2') format('woff2');
}

:root {
  --red: #dc2626;
  --red-dark: #b91c1c;
  --black: #09090b;
  --dark: #18181b;
  --dark-2: #27272a;
  --border: #3f3f46;
  --text: #fafafa;
  --muted: #a1a1aa;
  --green: #25d366;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
}
h1, h2, h3 { font-family: 'Oswald', 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 0.02em; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.accent { color: var(--red); }
.section-title { font-size: clamp(2rem, 4vw, 2.75rem); text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 56px; }

/* ===== Header ===== */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(9, 9, 11, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--dark-2);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--red); }
.brand-name { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 1.15rem; line-height: 1.2; }
.brand-thai { font-size: 0.75rem; color: var(--muted); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.6rem; cursor: pointer; padding: 10px 12px; margin: -10px -12px; }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  position: relative;
  background:
    linear-gradient(rgba(9,9,11,0.72), rgba(9,9,11,0.85)),
    url('images/training-padwork-1600.webp') center/cover no-repeat;
  padding: 140px 24px 100px;
}
.hero h1 { font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 700; margin-bottom: 20px; }
.hero .tagline { font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 600; margin-bottom: 16px; }
.hero .facts { color: #d4d4d8; max-width: 640px; margin: 0 auto 40px; font-size: 1.05rem; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 34px; border-radius: 8px;
  font-weight: 600; font-size: 1rem; transition: all 0.2s; cursor: pointer; border: 0;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--black); }
.btn-white:hover { background: #e4e4e7; transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--border); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--red); color: var(--red); }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.about-text p { color: #d4d4d8; margin-bottom: 18px; }
.about-img { border-radius: 12px; overflow: hidden; border: 1px solid var(--dark-2); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 72px;
}
.stat {
  background: var(--dark); border: 1px solid var(--dark-2); border-radius: 12px;
  text-align: center; padding: 32px 16px;
}
.stat .value { font-family: 'Oswald', sans-serif; font-size: 2.2rem; font-weight: 700; color: var(--red); }
.stat .label { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }

/* ===== Services ===== */
#services { background: var(--dark); }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service {
  background: var(--black); border: 1px solid var(--dark-2); border-radius: 12px;
  padding: 32px; transition: border-color 0.2s, transform 0.2s;
}
.service:hover { border-color: var(--red); transform: translateY(-4px); }
.service h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.service ul { list-style: none; }
.service li { padding-left: 26px; position: relative; color: #d4d4d8; font-size: 0.95rem; margin-bottom: 8px; }
.service li::before { content: '✓'; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* ===== Programs ===== */
.programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.program {
  background: var(--dark); border: 1px solid var(--dark-2); border-radius: 14px;
  padding: 36px 28px; display: flex; flex-direction: column; position: relative;
}
.program.highlight { border: 2px solid var(--red); }
.program .badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff; font-size: 0.78rem; font-weight: 700;
  padding: 4px 14px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em;
  white-space: nowrap;
}
.program h3 { font-size: 1.25rem; margin-bottom: 6px; }
.program .desc { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.program .price { font-family: 'Oswald', sans-serif; font-size: 2.4rem; font-weight: 700; color: var(--red); line-height: 1; }
.program .duration { color: var(--muted); font-size: 0.9rem; margin-bottom: 4px; }
.program .sessions { color: #d4d4d8; font-size: 0.92rem; font-weight: 600; margin-bottom: 20px; }
.program ul { list-style: none; flex: 1; margin-bottom: 24px; }
.program li { padding-left: 26px; position: relative; color: #d4d4d8; font-size: 0.93rem; margin-bottom: 9px; }
.program li::before { content: '✓'; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.programs-note { text-align: center; color: var(--muted); margin-top: 36px; font-size: 0.95rem; max-width: 720px; margin-left: auto; margin-right: auto; }

/* ===== FAQ ===== */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.faq-item {
  background: var(--dark); border: 1px solid var(--dark-2); border-radius: 12px;
  padding: 32px; transition: border-color 0.2s, transform 0.2s;
}
.faq-item:hover { border-color: var(--red); transform: translateY(-4px); }
.faq-item h3 { font-size: 1.15rem; margin-bottom: 10px; }
.faq-item p { color: #d4d4d8; font-size: 0.95rem; }
.faq-item a { color: var(--red); }
.faq-item a:hover { text-decoration: underline; }

/* ===== Instagram ===== */
#instagram { background: var(--dark); text-align: center; }
.ig-widget { margin: 0 auto 40px; max-width: 960px; min-height: 420px; }
.ig-follow {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff; padding: 14px 32px; border-radius: 8px; font-weight: 600;
  transition: transform 0.2s;
}
.ig-follow:hover { transform: translateY(-2px); }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card {
  background: var(--dark); border: 1px solid var(--dark-2); border-radius: 12px;
  padding: 32px; text-align: center; transition: border-color 0.2s, transform 0.2s;
}
.contact-card:hover { border-color: var(--red); transform: translateY(-4px); }
.contact-card .icon { font-size: 2rem; margin-bottom: 14px; }
.contact-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.contact-card .main { color: var(--text); font-weight: 600; margin-bottom: 4px; }
.contact-card .sub { color: var(--muted); font-size: 0.88rem; }
.contact-cta { text-align: center; margin-top: 48px; }
.training-info {
  margin-top: 56px; background: var(--dark); border: 1px solid var(--dark-2);
  border-radius: 12px; padding: 32px; text-align: center;
}
.training-info h3 { margin-bottom: 14px; font-size: 1.2rem; }
.training-info ul { list-style: none; display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; color: #d4d4d8; }
.training-info li::before { content: '•'; color: var(--red); margin-right: 8px; font-weight: 700; }

/* ===== Footer ===== */
footer { background: var(--black); border-top: 1px solid var(--dark-2); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--red); }
footer p, footer li { color: var(--muted); font-size: 0.92rem; }
footer h3 { font-size: 1rem; margin-bottom: 14px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--dark-2); padding-top: 24px; text-align: center;
  color: var(--muted); font-size: 0.85rem;
}
.footer-bottom a { color: var(--red); }
.footer-bottom a:hover { text-decoration: underline; }

/* ===== WhatsApp float ===== */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--green); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  section { padding: 72px 0; }
  .hero {
    background:
      linear-gradient(rgba(9,9,11,0.72), rgba(9,9,11,0.85)),
      url('images/training-padwork-800.webp') center/cover no-repeat;
  }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(9,9,11,0.98); flex-direction: column; gap: 0;
    padding: 12px 24px 24px; display: none; border-bottom: 1px solid var(--dark-2);
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 12px 0; }
  .nav-toggle { display: block; }
  .about-grid, .services-grid, .programs-grid, .faq-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .program.highlight { order: -1; }
}
