/* ==========================================================================
   ATA LeaderTeam — "Iron Discipline" Design System
   Brutalista / alto contraste. Anton (headlines) + Hanken Grotesk (corpo)
   + Space Grotesk (labels). Cantos retos. Vermelho marcial sobre obsidiana.
   ========================================================================== */

:root {
  /* Surfaces (obsidian / iron) */
  --c-bg: #131313;
  --c-bg-deep: #0e0e0e;
  --c-bg-alt: #1c1b1b;
  --c-bg-card: #201f1f;
  --c-bg-card-hover: #2a2a2a;
  --c-bg-bright: #353534;
  --c-border: #37302f;
  --c-border-strong: #5d3f3b;

  /* Martial red family */
  --c-red: #d31211;          /* primary-container — CTAs, solid red */
  --c-red-dark: #a30d0d;
  --c-red-light: #ffb4a9;    /* primary — títulos de seção, ícones, acentos */
  --c-on-red: #ffe5e1;

  /* Legacy accent aliases kept red-monochrome for consistency */
  --c-teal: #ffb4a9;
  --c-lime: #ffb4a9;
  --c-orange: #ffb4a9;

  --c-white: #ffffff;
  --c-text: #e5e2e1;
  --c-text-muted: #bcaeac;
  --c-text-faint: #8c807e;

  --font-impact: "Anton", "Arial Narrow", sans-serif;
  --font-cond: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Hanken Grotesk", "Segoe UI", sans-serif;
  --font-display: "Anton", "Arial Narrow", sans-serif;

  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;

  --shadow-card: none;
  --container: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--c-bg);
  /* subtle self-contained grit texture */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-impact);
  font-weight: 400;
  color: var(--c-white);
  line-height: 1.02;
  margin: 0 0 0.4em;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
h4 {
  font-family: var(--font-cond);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

p { margin: 0 0 1em; color: var(--c-text-muted); }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (min-width: 900px) { .container { padding: 0 40px; } }

section { position: relative; padding: 96px 0; }
@media (max-width: 768px) { section { padding: 64px 0; } }

/* white highlight box behind key words (DISCIPLINA / VIDA style) */
.hl {
  background: var(--c-white);
  color: var(--c-red);
  padding: 0 0.18em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hl-red { background: var(--c-red); color: #fff; padding: 0 0.18em; }

/* ---------- Eyebrow / kicker ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-red-light);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 3px;
  background: var(--c-red);
}
.eyebrow.teal, .eyebrow.lime { color: var(--c-red-light); }
.eyebrow .eb-star { width: 18px; height: 18px; margin-right: -2px; }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(30px, 4.6vw, 52px); }
.section-head .rule { height: 4px; width: 90px; background: var(--c-red); margin-top: 14px; }
.section-head.center .rule { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 30px;
  border-radius: 0;
  font-family: var(--font-impact);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--c-red); color: var(--c-on-red); }
.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--c-text); color: var(--c-text); }
.btn-outline:hover { background: var(--c-text); color: var(--c-bg); }
.btn-light { background: #fff; color: var(--c-red); }
.btn-light:hover { transform: translateY(-2px); }
.btn-whats { background: #17351f; color: #7fe0a0; border: 2px solid #2f7a48; }
.btn-whats:hover { background: #1e7a44; color: #fff; border-color: #1e7a44; }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 15px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(19,19,19,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border-strong);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: var(--container); margin: 0 auto;
}
@media (min-width: 900px) { .header-inner { padding: 14px 40px; } }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: 46px; flex: none; background: #fff; border-radius: 50%; padding: 3px; box-sizing: border-box; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-impact); }
.brand-text strong { color: var(--c-red-light); font-weight: 400; font-size: 18px; letter-spacing: 0.04em; }
.brand-text span { color: var(--c-white); font-weight: 400; font-size: 18px; letter-spacing: 0.04em; }
@media (max-width: 420px) { .brand-text { display: none; } }

.nav-desktop { display: flex; align-items: center; gap: 26px; white-space: nowrap; }
.nav-desktop a {
  font-family: var(--font-impact);
  font-size: 17px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--c-text); position: relative; padding: 6px 0;
  transition: color .2s ease;
}
.nav-desktop a:hover { color: var(--c-red-light); }
.nav-desktop a.active { color: var(--c-red-light); }
.nav-desktop a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--c-red);
}
.header-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle { width: 28px; height: 20px; position: relative; background: none; border: none; cursor: pointer; padding: 0; flex: none; display: none; }
.nav-toggle .bar, .nav-toggle .bar::before, .nav-toggle .bar::after {
  content: ""; position: absolute; left: 0; width: 28px; height: 2px; background: #fff; transition: transform .3s ease, top .3s ease, background .2s ease;
}
.nav-toggle .bar { top: 9px; }
.nav-toggle .bar::before { top: -8px; }
.nav-toggle .bar::after { top: 8px; }
.nav-toggle.open .bar { background: transparent; }
.nav-toggle.open .bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open .bar::after { top: 0; transform: rotate(-45deg); }

.nav-mobile { display: none; flex-direction: column; padding: 8px 24px 22px; background: var(--c-bg-alt); border-bottom: 1px solid var(--c-border-strong); }
.nav-mobile a { padding: 14px 4px; font-family: var(--font-impact); font-size: 20px; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--c-border); color: var(--c-text); }
.nav-mobile.open { display: flex; }

@media (max-width: 1150px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
  .header-cta .btn-outline { display: none; }
}
@media (min-width: 1151px) and (max-width: 1300px) { .header-cta .btn-outline { display: none; } }

/* ---------- Korean counting marquee ---------- */
.kr-marquee { border-top: 1px solid var(--c-border-strong); border-bottom: 1px solid var(--c-border-strong); background: var(--c-bg-deep); display: flex; align-items: stretch; overflow: hidden; }
.kr-marquee .kr-marquee-label { flex: none; display: flex; align-items: center; gap: 10px; padding: 13px 22px; background: var(--c-red); color: var(--c-on-red); font-family: var(--font-cond); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; position: relative; z-index: 2; }
.kr-marquee .kr-marquee-label::before { content: ""; width: 7px; height: 7px; background: #fff; flex: none; }
.kr-marquee-viewport { position: relative; flex: 1 1 auto; min-width: 0; overflow: hidden; display: flex; align-items: center; }
.kr-marquee-viewport::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 60px; background: linear-gradient(90deg, transparent, var(--c-bg-deep)); pointer-events: none; z-index: 2; }
.kr-marquee-track { display: flex; flex: none; gap: 40px; padding: 13px 0 13px 40px; white-space: nowrap; width: max-content; animation: kr-scroll 45s linear infinite; }
.kr-marquee-viewport:hover .kr-marquee-track { animation-play-state: paused; }
.kr-marquee-track span { font-family: var(--font-cond); font-weight: 500; font-size: 13px; letter-spacing: .04em; color: var(--c-text-muted); white-space: nowrap; text-transform: uppercase; }
.kr-marquee-track span b { color: var(--c-red-light); font-weight: 700; margin-right: 8px; font-family: var(--font-impact); font-size: 15px; }
@keyframes kr-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .kr-marquee-track { animation: none; } }
@media (max-width: 560px) { .kr-marquee .kr-marquee-label { padding: 11px 14px; font-size: 11px; } .kr-marquee-track { animation-duration: 32s; } }

/* ==========================================================================
   HERO — full-bleed cinematic
   ========================================================================== */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 90px 0;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0b0b0b 0%, rgba(11,11,11,0.72) 45%, rgba(11,11,11,0.25) 100%); }
.hero-bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--c-red); opacity: 0.08; mix-blend-mode: multiply; }
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-inner { max-width: 720px; }
.hero-chip {
  display: inline-block; background: var(--c-red); color: var(--c-on-red);
  font-family: var(--font-cond); font-weight: 700; font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  padding: 7px 16px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(44px, 8vw, 92px); line-height: 0.92; margin-bottom: 24px; }
.hero h1 .hl { display: inline-block; }
.hero p.lead {
  font-size: 18px; color: var(--c-text-muted); max-width: 540px; margin-bottom: 34px;
  border-left: 4px solid var(--c-red); padding-left: 22px; line-height: 1.5;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--font-impact); font-size: 30px; color: var(--c-red-light); line-height: 1; }
.hero-stats div span { font-family: var(--font-cond); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--c-text-faint); }

/* ---------- Trust bar / stats ---------- */
.trust-bar { padding: 30px 0; border-top: 1px solid var(--c-border-strong); border-bottom: 1px solid var(--c-border-strong); background: var(--c-bg-deep); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 768px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
.trust-grid strong { display: block; font-family: var(--font-impact); font-size: 30px; color: var(--c-red-light); }
.trust-grid span { font-family: var(--font-cond); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--c-text-faint); }

/* ---------- Cards / grids ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: 0;
  padding: 34px 30px;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.card:hover { border-color: var(--c-red); transform: translateY(-4px); }
.card .icon-badge { width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; background: var(--c-bg-bright); color: var(--c-red-light); }
.card .icon-badge svg { width: 26px; height: 26px; }
.card h3 { font-size: 22px; margin-bottom: 12px; color: var(--c-red-light); }
.card p { font-size: 15px; margin-bottom: 0; }
.card .age-tag, .age-tag {
  display: inline-block; font-family: var(--font-cond); font-size: 11px; font-weight: 700; letter-spacing: .08em;
  color: var(--c-on-red); background: var(--c-red); padding: 5px 11px; margin-bottom: 16px; text-transform: uppercase;
}

/* legacy accent aliases — all resolve to red-monochrome */
.bg-red, .bg-teal, .bg-lime, .bg-orange { background: var(--c-bg-bright); color: var(--c-red-light); }

/* Korean numeral badges */
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.card-top .age-tag { margin-bottom: 0; }
.kr-badge { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 60px; padding: 9px 12px 7px; flex: none; margin-bottom: 20px; background: var(--c-red); color: var(--c-on-red); }
.card-top .kr-badge { margin-bottom: 0; }
.kr-badge.bg-teal, .kr-badge.bg-lime, .kr-badge.bg-orange, .kr-badge.bg-red { background: var(--c-red); color: var(--c-on-red); }
.kr-badge .kr { font-family: var(--font-impact); font-size: 22px; line-height: 1; }
.kr-badge .num { font-family: var(--font-cond); font-size: 9px; font-weight: 700; letter-spacing: .1em; margin-top: 5px; opacity: .85; }
.kr-tag { display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--font-cond); font-weight: 700; font-size: 13px; color: var(--c-red-light); margin-left: 10px; }
.kr-tag .kr { font-size: 16px; font-family: var(--font-impact); }
.kr-tag .num { font-size: 11px; color: var(--c-text-faint); }

/* ==========================================================================
   BENTO grid (why choose us)
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; } }
.bento-item { background: var(--c-bg-card); border: 1px solid var(--c-border); padding: 40px; position: relative; overflow: hidden; }
.bento-item h3 { font-size: 26px; margin-bottom: 14px; }
.bento-item p { margin-bottom: 0; }
.bento-lg { grid-column: span 7; border-left: 4px solid var(--c-red); }
.bento-red { grid-column: span 5; background: var(--c-red); color: var(--c-on-red); display: flex; flex-direction: column; justify-content: center; }
.bento-red h3 { color: #fff; }
.bento-red p { color: var(--c-on-red); }
.bento-sm { grid-column: span 4; }
.bento-photo { grid-column: span 8; padding: 0; min-height: 300px; }
@media (max-width: 860px) { .bento-lg, .bento-red, .bento-sm, .bento-photo { grid-column: span 1; } }
.bento-item .icon-badge { width: 54px; height: 54px; background: var(--c-bg-bright); color: var(--c-red-light); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.bento-item .icon-badge svg { width: 28px; height: 28px; }
.bento-star { position: absolute; right: -30px; bottom: -30px; width: 200px; opacity: 0.06; pointer-events: none; }
.bento-photo { position: relative; }
.bento-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .6s ease; }
.bento-photo:hover img { filter: grayscale(0); }
.bento-photo .cap { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 34px; background: linear-gradient(to top, rgba(0,0,0,0.85), transparent 60%); }
.bento-photo .cap h3 { color: #fff; margin: 0; font-size: 26px; }

/* ---------- Split (Songahm / origin) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 34px; } }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border: 1px solid var(--c-border-strong); }
.split-media .float-card { position: absolute; bottom: -22px; right: -22px; background: var(--c-bg-card); border: 1px solid var(--c-border-strong); border-left: 4px solid var(--c-red); padding: 18px 22px; max-width: 240px; }
@media (max-width: 560px) { .split-media .float-card { right: 8px; bottom: -16px; padding: 14px 16px; } }
.split-media .float-card strong { display: block; color: var(--c-red-light); font-family: var(--font-impact); font-size: 24px; }
.split-media .float-card span { font-family: var(--font-cond); font-size: 12px; letter-spacing: .04em; color: var(--c-text-faint); }

.value-list { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 12px; }
.value-list li { display: flex; align-items: center; gap: 12px; font-family: var(--font-cond); font-weight: 600; color: #fff; font-size: 15px; letter-spacing: .02em; }
.value-list li .dot { width: 8px; height: 8px; background: var(--c-red); flex: none; }

.br-flag-rule { height: 4px; width: 70px; background: linear-gradient(90deg, #1e9e56 0 60%, #f4c414 60% 100%); margin: 0 0 18px; }
.br-flag-rule.center { margin-left: auto; margin-right: auto; }

/* ---------- CTA banner ---------- */
.cta-banner { background: var(--c-bg-deep); border-top: 1px solid var(--c-border-strong); border-bottom: 1px solid var(--c-border-strong); text-align: center; position: relative; overflow: hidden; }
.cta-banner.red { background: var(--c-red); border-color: var(--c-red-dark); }
.cta-banner.red h2, .cta-banner.red p { color: #fff; }
.cta-banner.red .btn-outline { border-color: #fff; color: #fff; }
.cta-banner.red .btn-outline:hover { background: #fff; color: var(--c-red); }
.cta-banner h2 { font-size: clamp(30px, 5vw, 60px); margin-bottom: 16px; }
.cta-banner p { max-width: 600px; margin: 0 auto 30px; font-size: 17px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Units ---------- */
.unit-card { background: var(--c-bg-card); border: 1px solid var(--c-border); display: flex; flex-direction: column; transition: border-color .25s ease; }
.unit-card:hover { border-color: var(--c-red); }
.unit-card .unit-photo { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.unit-card .unit-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.6); transition: filter .5s ease, transform .5s ease; }
.unit-card:hover .unit-photo img { filter: grayscale(0); transform: scale(1.05); }
.unit-card .unit-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.unit-card h3 { font-size: 20px; margin-bottom: 8px; color: var(--c-red-light); }
.unit-card .addr { font-family: var(--font-body); font-size: 14px; color: var(--c-text-muted); margin-bottom: 6px; flex: 1; }
.unit-card .phone { font-family: var(--font-cond); font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--c-red-light); margin-bottom: 16px; display: block; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.team-card { background: var(--c-bg-card); border: 1px solid var(--c-border); padding: 24px; text-align: center; transition: border-color .25s ease; }
.team-card:hover { border-color: var(--c-red); }
.team-avatar { width: 70px; height: 70px; margin: 0 auto 16px; background: var(--c-red); display: flex; align-items: center; justify-content: center; font-family: var(--font-impact); color: #fff; font-size: 24px; }
.team-card h4 { font-family: var(--font-impact); font-weight: 400; font-size: 17px; margin-bottom: 5px; color: #fff; letter-spacing: .02em; }
.team-card span { font-family: var(--font-cond); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--c-red-light); }

/* Featured instructor (Hall of Fame) */
.featured-master { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
@media (max-width: 900px) { .featured-master { grid-template-columns: 1fr; } }
.fm-photo { position: relative; border: 2px solid var(--c-red); }
.fm-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.fm-photo .fm-name { position: absolute; left: 0; bottom: 0; right: 0; padding: 26px; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); }
.fm-photo .fm-name h3 { font-size: 36px; margin: 0 0 6px; color: #fff; }
.fm-photo .fm-name span { font-family: var(--font-cond); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-red-light); }
.achieve-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; }
.achieve-list li { background: var(--c-bg-card); border-left: 3px solid var(--c-red); padding: 16px 20px; display: flex; gap: 14px; align-items: flex-start; }
.achieve-list li .ac-ic { color: var(--c-red-light); flex: none; }
.achieve-list li strong { display: block; font-family: var(--font-cond); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .04em; color: #fff; margin-bottom: 3px; }
.achieve-list li p { margin: 0; font-size: 14px; }
.quote-block { background: var(--c-bg-card); border: 1px solid var(--c-border); padding: 26px; font-family: var(--font-body); font-style: italic; color: var(--c-text); }
.quote-block cite { display: block; margin-top: 14px; font-style: normal; font-family: var(--font-cond); font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: .08em; color: var(--c-red-light); }

/* ---------- Schedule table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-border); }
table.schedule { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--c-bg-card); }
table.schedule th, table.schedule td { padding: 15px 20px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--c-border); }
table.schedule th { font-family: var(--font-cond); color: var(--c-red-light); text-transform: uppercase; font-size: 12px; letter-spacing: .08em; font-weight: 700; }
table.schedule td { font-family: var(--font-body); color: var(--c-text-muted); }
table.schedule tr:last-child td { border-bottom: none; }

/* ---------- Blog ---------- */
.blog-card { background: var(--c-bg-card); border: 1px solid var(--c-border); overflow: hidden; transition: border-color .25s ease; }
.blog-card:hover { border-color: var(--c-red); }
.blog-card .thumb { aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; color: var(--c-red-light); }
.blog-card .thumb.red, .blog-card .thumb.teal, .blog-card .thumb.lime { background: var(--c-bg-bright); }
.blog-card .thumb svg { width: 36px; height: 36px; }
.blog-card .body { padding: 24px; }
.blog-card .meta { font-family: var(--font-cond); font-size: 11px; font-weight: 700; color: var(--c-red-light); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .08em; }
.blog-card h3 { font-size: 19px; margin-bottom: 10px; color: #fff; }
.blog-card p { font-size: 14px; }
.blog-card .readmore { font-family: var(--font-cond); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--c-red-light); }

/* ---------- Forms ---------- */
.form-card { background: var(--c-bg-card); border: 1px solid var(--c-border); border-top: 4px solid var(--c-red); padding: 40px; }
@media (max-width: 560px) { .form-card { padding: 26px; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row > * { min-width: 0; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; min-width: 0; }
.field label { font-family: var(--font-cond); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-text-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; max-width: 100%;
  background: var(--c-bg-deep); border: 1px solid var(--c-border-strong); border-radius: 0;
  padding: 13px 16px; color: #fff; font-family: var(--font-body); font-size: 15px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-red); }

/* ---------- FAQ / accordion ---------- */
.accordion-item { border: 1px solid var(--c-border); margin-bottom: 12px; background: var(--c-bg-card); overflow: hidden; }
.accordion-item.open { border-left: 3px solid var(--c-red); }
.accordion-q { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; cursor: pointer; font-family: var(--font-impact); font-weight: 400; font-size: 17px; text-transform: uppercase; letter-spacing: .02em; color: #fff; }
.accordion-q .plus { color: var(--c-red-light); font-size: 22px; transition: transform .2s ease; }
.accordion-item.open .plus { transform: rotate(45deg); }
.accordion-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; padding: 0 22px; }
.accordion-item.open .accordion-a { max-height: 320px; padding: 0 22px 20px; }
.accordion-a p { margin: 0; font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-bg-alt); border-top: 1px solid var(--c-border-strong); padding-top: 72px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 56px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-top h4 { font-family: var(--font-cond); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--c-red-light); margin-bottom: 18px; }
.footer-top ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-top ul a { font-family: var(--font-body); font-size: 14px; color: var(--c-text-muted); }
.footer-top ul a:hover { color: #fff; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand img { height: 54px; width: 54px; background: #fff; border-radius: 50%; padding: 4px; box-sizing: border-box; object-fit: contain; }
.footer-brand .brand-text strong, .footer-brand .brand-text span { font-size: 19px; }
.footer-brand p { max-width: 300px; font-size: 14px; }
.footer-mission { font-family: var(--font-impact); font-weight: 400; color: #fff; font-size: 17px; text-transform: uppercase; letter-spacing: .01em; border-left: 3px solid var(--c-red); padding-left: 14px; margin-top: 18px; line-height: 1.15; }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a { width: 40px; height: 40px; border: 1px solid var(--c-border-strong); display: flex; align-items: center; justify-content: center; color: var(--c-text); transition: background .2s ease, border-color .2s ease, color .2s ease; }
.social-row a svg { width: 18px; height: 18px; }
.social-row a:hover { background: var(--c-red); border-color: var(--c-red); color: #fff; }

/* Footer credential lockup — official ATA logo */
.footer-credential { border-top: 1px solid var(--c-border-strong); background: var(--c-bg-deep); }
.footer-credential .container { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; padding-top: 40px; padding-bottom: 40px; }
.cred-lockup { display: flex; align-items: center; gap: 28px; }
.cred-star { width: 54px; height: 54px; flex: none; }
.cred-ata { height: 46px; width: auto; flex: none; }
.cred-div { width: 1px; height: 48px; background: var(--c-border-strong); flex: none; }
.cred-lt img { height: 50px; width: 50px; background: #fff; border-radius: 50%; padding: 4px; box-sizing: border-box; object-fit: contain; }
.cred-text { margin: 0; max-width: 440px; font-family: var(--font-body); font-size: 14px; color: var(--c-text-muted); text-align: center; }
.cred-text strong { color: #fff; font-weight: 700; }
@media (max-width: 640px) { .footer-credential .container { gap: 22px; } .cred-lockup { gap: 18px; } .cred-star { width: 44px; height: 44px; } .cred-ata { height: 38px; } }

.footer-bottom { border-top: 1px solid var(--c-border); padding: 22px 0 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-family: var(--font-cond); font-size: 12px; letter-spacing: .03em; text-transform: uppercase; color: var(--c-text-faint); }

/* ---------- Floating WhatsApp ---------- */
.float-whats { position: fixed; right: 22px; bottom: 22px; z-index: 200; width: 58px; height: 58px; background: #1e7a44; color: #fff; display: flex; align-items: center; justify-content: center; border: 2px solid #2f9a57; transition: background .2s ease, transform .2s ease; }
.float-whats svg { width: 28px; height: 28px; }
.float-whats:hover { background: #29a05c; transform: scale(1.06); }

/* ---------- Page header (internal pages) ---------- */
.page-header { padding: 60px 0 44px; background: linear-gradient(180deg, rgba(211,18,17,0.10), transparent); border-bottom: 1px solid var(--c-border-strong); position: relative; }
.breadcrumb { font-family: var(--font-cond); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--c-text-faint); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--c-red-light); }
.page-header h1 { font-size: clamp(34px, 5.2vw, 60px); }
.page-header h1 .hl { display: inline-block; }
.page-header p.lead { max-width: 640px; font-size: 16px; color: var(--c-text-muted); }

/* Utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.star-watermark { position: absolute; pointer-events: none; opacity: 0.05; z-index: 0; width: 320px; height: 320px; }
.star-watermark.tr { top: -40px; right: -60px; }
.section-inner { position: relative; z-index: 1; }

/* Reveal-on-scroll (fail-safe: visible without JS) */
html.js-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
html.js-ready [data-reveal].in { opacity: 1; transform: translateY(0); }
html.js-ready [data-hero-anim] { opacity: 0; transform: translateY(24px); }

/* ---------- Dojang commands (sobre) ---------- */
.dojang-commands { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 900px) { .dojang-commands { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .dojang-commands { grid-template-columns: 1fr; } }
.dc-item { background: var(--c-bg-card); border: 1px solid var(--c-border); border-top: 3px solid var(--c-red); padding: 26px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: border-color .25s ease; }
.dc-item:hover { border-color: var(--c-red); }
.dc-kr { font-family: var(--font-impact); font-size: 32px; color: #fff; }
.dc-rom { font-family: var(--font-cond); font-weight: 700; font-size: 13px; color: var(--c-red-light); letter-spacing: .06em; text-transform: uppercase; }
.dc-pt { font-family: var(--font-body); font-size: 12.5px; color: var(--c-text-faint); }

/* ---------- Wide media block (equipe team photo) ---------- */
.hero-media { position: relative; border: 1px solid var(--c-border-strong); overflow: hidden; }
.hero-media img { width: 100%; display: block; }
.hero-media .tag { position: absolute; left: 0; bottom: 0; background: var(--c-red); color: var(--c-on-red); font-family: var(--font-cond); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 8px 16px; }

/* ==========================================================================
   Program cards with image (model style)
   ========================================================================== */
.prog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.prog-card { background: var(--c-bg-card); border: 1px solid var(--c-border); display: flex; flex-direction: column; transition: border-color .25s ease; }
.prog-card:hover { border-color: var(--c-red); }
.prog-img { position: relative; aspect-ratio: 3/2; overflow: hidden; }
.prog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.prog-card:hover .prog-img img { transform: scale(1.06); }
.prog-img .prog-age { position: absolute; top: 0; left: 0; background: var(--c-red); color: var(--c-on-red); font-family: var(--font-cond); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; }
.prog-img .prog-kr { position: absolute; top: 0; right: 0; background: rgba(0,0,0,0.6); color: #fff; font-family: var(--font-impact); font-size: 15px; padding: 5px 12px; letter-spacing: .04em; }
.prog-body { padding: 26px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.prog-body h3 { font-size: 24px; margin-bottom: 10px; color: var(--c-red-light); }
.prog-body p { font-size: 14.5px; margin-bottom: 20px; flex: 1; }
.prog-body .btn { width: 100%; }

/* ==========================================================================
   Events / calendar
   ========================================================================== */
.events-list { display: grid; gap: 0; border: 1px solid var(--c-border); }
.event-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 26px;
  background: var(--c-bg-card);
  border-bottom: 1px solid var(--c-border);
  border-left: 3px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.event-row:last-child { border-bottom: none; }
.event-row:hover { border-left-color: var(--c-red); background: var(--c-bg-card-hover); }
.event-date { text-align: center; border-right: 1px solid var(--c-border); padding-right: 20px; }
.event-date .d { display: block; font-family: var(--font-impact); font-size: 30px; color: var(--c-red-light); line-height: 1; }
.event-date .m { display: block; font-family: var(--font-cond); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-text-faint); margin-top: 4px; }
.event-main h3 { font-size: 20px; margin-bottom: 6px; }
.event-main .event-meta { font-family: var(--font-cond); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--c-text-muted); display: flex; gap: 14px; flex-wrap: wrap; }
.event-tag { display: inline-block; font-family: var(--font-cond); font-weight: 700; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; white-space: nowrap; }
.event-tag.champ { background: var(--c-red); color: var(--c-on-red); }
.event-tag.exam { background: var(--c-bg-bright); color: var(--c-red-light); }
.event-tag.internal { background: transparent; border: 1px solid var(--c-border-strong); color: var(--c-text-muted); }
@media (max-width: 620px) {
  .event-row { grid-template-columns: 64px 1fr; gap: 16px; padding: 18px; }
  .event-date { border-right: none; padding-right: 0; text-align: left; }
  .event-date .d { font-size: 24px; }
  .event-tag { grid-column: 2; justify-self: start; margin-top: 4px; }
}

/* ==========================================================================
   Instructor modal
   ========================================================================== */
.team-card { cursor: pointer; }
.team-card .team-more { display: block; margin-top: 12px; font-family: var(--font-cond); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-red-light); opacity: 0; transition: opacity .2s ease; }
.team-card:hover .team-more, .team-card:focus-visible .team-more { opacity: 1; }
.team-card:focus-visible { outline: 2px solid var(--c-red); outline-offset: 2px; }

.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(6,6,6,0.85);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border-strong);
  border-top: 4px solid var(--c-red);
  max-width: 720px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  display: grid; grid-template-columns: 240px 1fr;
}
@media (max-width: 620px) { .modal-card { grid-template-columns: 1fr; } }
.modal-photo { background: var(--c-bg-deep); position: relative; min-height: 260px; }
.modal-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.modal-photo .modal-avatar { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-impact); font-size: 64px; color: #fff; background: var(--c-red); }
.modal-body { padding: 30px; }
.modal-close { position: absolute; top: 12px; right: 14px; z-index: 2; background: rgba(0,0,0,0.5); border: none; color: #fff; width: 38px; height: 38px; font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.modal-close:hover { background: var(--c-red); }
.modal-body h3 { font-size: 30px; margin-bottom: 6px; }
.modal-role { font-family: var(--font-cond); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-red-light); margin-bottom: 4px; }
.modal-rank { display: inline-block; background: var(--c-red); color: var(--c-on-red); font-family: var(--font-cond); font-weight: 700; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; padding: 5px 12px; margin: 12px 0 18px; }
.modal-body p { font-size: 15px; }
.modal-achv { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.modal-achv li { display: flex; gap: 10px; align-items: flex-start; font-family: var(--font-body); font-size: 14px; color: var(--c-text); }
.modal-achv li::before { content: ""; width: 7px; height: 7px; background: var(--c-red); flex: none; margin-top: 7px; }
