/* ============ Design Tokens ============ */
:root {
  --navy-950: #081b2e;
  --navy-900: #0d2840;
  --navy-800: #123554;
  --navy-700: #17436a;
  --lime: #c8ff6e;
  --lime-dark: #9fe63f;
  --green: #3f8a54;
  --green-light: #4fae6b;
  --orange: #ff9a3d;
  --text: #f4f8fb;
  --text-muted: #aebdcd;
  --text-muted-2: #8fa1b6;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 45px rgba(4, 12, 24, 0.45);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --container: 1160px;
}

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

body {
  margin: 0;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", system-ui, sans-serif;
  background: var(--navy-900);
  color: var(--text);
  line-height: 1.65;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Buttons ============ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 45%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left .55s ease;
  pointer-events: none;
}
.btn:hover::before { left: 125%; }
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: linear-gradient(135deg, var(--green-light), var(--green));
  color: #fff;
  box-shadow: 0 10px 24px rgba(63, 138, 84, 0.35);
}
.btn--primary:hover { box-shadow: 0 14px 30px rgba(63, 138, 84, 0.5); }

.btn--ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover { background: rgba(255,255,255,0.12); }

.btn--outline {
  background: transparent;
  color: var(--lime);
  border-color: var(--lime-dark);
}
.btn--outline:hover { background: rgba(200,255,110,0.1); }

.btn--lg { padding: 15px 30px; font-size: 1rem; }

/* ============ Scroll progress ============ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--lime), var(--green-light));
  z-index: 200;
  transition: width .12s ease-out;
}

/* ============ Header ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 27, 46, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  margin-right: auto;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand__icon {
  display: inline-flex;
  color: var(--lime);
  flex-shrink: 0;
}
.brand strong { font-weight: 900; margin-left: 2px; }

.nav {
  display: flex;
  gap: 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}
.nav a { white-space: nowrap; }
.nav a { position: relative; padding-bottom: 4px; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--lime), var(--green-light));
  border-radius: 2px;
  transition: width .25s ease;
}
.nav a:hover { color: var(--lime); }
.nav a:hover::after { width: 100%; }

.header__cta { display: flex; gap: 10px; flex-shrink: 0; }
.header__cta .btn { padding: 10px 18px; font-size: 0.88rem; white-space: nowrap; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin: -10px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border);
  background: var(--navy-950);
}
.mobile-nav a {
  padding: 12px 4px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 500;
}
.mobile-nav a:last-child { border-bottom: none; margin-top: 8px; text-align: center; }
.mobile-nav.is-open { display: flex; }

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 96px;
  background: radial-gradient(ellipse 120% 100% at 30% -10%, #143a5c 0%, var(--navy-900) 55%);
}
.hero__glow {
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.hero__glow--1 {
  inset: -20% -10% auto auto;
  background: radial-gradient(circle, rgba(200,255,110,0.16), transparent 70%);
  animation: float-orb 10s ease-in-out infinite;
}
.hero__glow--2 {
  inset: auto auto -25% -8%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(79,174,107,0.18), transparent 70%);
  animation: float-orb 12s ease-in-out infinite reverse;
  animation-delay: -3s;
}
@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-28px, 24px) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__glow--1, .hero__glow--2 { animation: none; }
}
.hero__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.hero__copy .eyebrow { white-space: nowrap; }
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(200,255,110,0.18);
}
.eyebrow--center { display: flex; justify-content: center; margin: 0 auto 12px; }

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 900;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--lime); }

.hero__lede {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 30px;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero__stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.hero__stats li { display: flex; flex-direction: column; gap: 2px; }
.hero__stats strong { font-size: 1.4rem; color: var(--lime); font-weight: 900; font-variant-numeric: tabular-nums; }
.hero__stats span { font-size: 0.85rem; color: var(--text-muted-2); }

.hero__visual { position: relative; }
.profile-card {
  position: relative;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px 40px 44px;
  text-align: center;
  box-shadow: var(--shadow);
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}
.badge-live {
  position: absolute;
  top: 26px; right: 26px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 7px 16px;
  border-radius: 999px;
}
.badge-live::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ff5b5b;
  margin-right: 6px;
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255,91,91,0.25); }
  50% { box-shadow: 0 0 0 7px rgba(255,91,91,0.08); }
}
.badge-cert {
  position: absolute;
  top: 22px; left: 22px;
  width: 104px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35));
}
.profile-card__avatar {
  width: 248px;
  height: 248px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.9);
  margin: 16px auto 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.profile-card__names p {
  color: var(--lime);
  font-weight: 700;
  font-size: 1.02rem;
  margin: 0 0 8px;
}
.profile-card__cafe {
  color: var(--lime);
  border-bottom: 1px solid rgba(200,255,110,0.4);
  padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}
.profile-card__cafe:hover {
  color: var(--lime-dark);
  border-color: var(--lime-dark);
}
.profile-card__news {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lime);
  font-weight: 700;
  font-size: 1.02rem;
  border-bottom: 1px solid rgba(200,255,110,0.4);
  padding-bottom: 2px;
  transition: gap .2s ease, color .2s ease, border-color .2s ease;
}
.profile-card__news:hover {
  gap: 10px;
  color: var(--lime-dark);
  border-color: var(--lime-dark);
}
/* ============ Join / Recruit ============ */
.join { padding: 100px 0; }
.join__card {
  background: linear-gradient(155deg, var(--navy-800), var(--navy-950));
  border: 1px solid rgba(200,255,110,0.25);
  border-radius: var(--radius-lg);
  padding: 48px clamp(24px, 5vw, 56px);
  box-shadow: var(--shadow);
}
.join__head { max-width: 760px; margin: 0 auto 32px; text-align: center; }
.chip {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.chip--warn { background: rgba(255,154,61,0.15); color: var(--orange); border: 1px solid rgba(255,154,61,0.4); }
.join__head h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 16px; }
.join__head p { color: var(--text-muted); }
.join__head em { color: var(--orange); font-style: normal; font-weight: 700; }
.nowrap { white-space: nowrap; }

.join__benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 760px;
  margin: 0 auto 28px;
}
.benefit {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
}
.benefit h3 { color: var(--lime); font-size: 1.05rem; margin-bottom: 8px; }
.benefit p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

.join__note {
  text-align: center;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}
.join__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ============ About ============ */
.about {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--navy-900) 0, var(--navy-950) 70px, var(--navy-950) calc(100% - 70px), var(--navy-900) 100%);
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 24px 48px;
  align-items: start;
}
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; }
.section-sub { color: var(--text-muted); margin-top: 12px; }

.about__lead { grid-column: 1; color: var(--text-muted); font-size: 1.1rem; }
.about__lead p { margin: 0; }
.about__photo { grid-column: 2; grid-row: 2; align-self: start; }
.about__photo img {
  width: 100%;
  aspect-ratio: 660 / 372;
  object-fit: cover;
  border-radius: 28px;
  border: none;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.08);
}
.about__grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 48px;
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 16px;
}
.about__grid p strong.highlight { color: var(--orange); font-weight: 700; }
.about__grid p strong.brand-name { color: var(--lime); font-weight: 700; }
.about .section-head { grid-column: 1 / -1; margin-bottom: 8px; text-align: left; }
.about .section-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.about .section-head .eyebrow--center { justify-content: flex-start; margin: 0 0 12px; }

/* ============ Expertise ============ */
.expertise { padding: 72px 0; }
.expertise .section-head { margin-bottom: 28px; }
.expertise__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 16px;
}
.expertise__card {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  transition: transform .25s ease, border-color .25s ease;
}
.expertise__card:hover { transform: translateY(-6px); border-color: rgba(200,255,110,0.35); box-shadow: 0 16px 32px -12px rgba(0,0,0,0.4); }
.expertise__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(200,255,110,0.1);
  font-size: 1.5rem;
  margin-bottom: 16px;
  transition: transform .25s ease;
}
.expertise__card:hover .expertise__icon { transform: scale(1.1) rotate(-4deg); }
.expertise__card:nth-child(2) .expertise__icon { background: rgba(255,154,61,0.14); }
.expertise__card:nth-child(3) .expertise__icon { background: rgba(255,202,40,0.14); }
.expertise__card:nth-child(4) .expertise__icon { background: rgba(79,174,229,0.14); }
.expertise__card h3 { color: var(--lime); font-size: 1.15rem; margin-bottom: 10px; }
.expertise__card p { color: var(--text-muted); font-size: 0.94rem; margin: 0; }

.credentials {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 20px;
}
.credentials__col {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 26px;
}
.credentials__col--wide { grid-column: 1 / -1; }
.credentials__col h4 { color: var(--lime); font-size: 1rem; margin-bottom: 14px; }
.credentials__col ul li {
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.94rem;
}
.credentials__col ul li:last-child { border-bottom: none; }

/* Split long career lists into two columns on wider screens so the frame
   doesn't grow taller every time an entry is added. */
@media (min-width: 640px) {
  .credentials__list--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
  }
  .credentials__list--split li:nth-last-child(2) { border-bottom: none; }
}

.credentials__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.credentials__col .credentials__tags li {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  transition: background .2s ease, border-color .2s ease;
}
.credentials__col .credentials__tags li:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.3); }

.credentials__roles-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-muted-2);
  margin-top: 4px;
  margin-bottom: 12px;
}
.credentials__roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.credentials__col .credentials__roles li {
  background: rgba(200,255,110,0.12);
  border: 1px solid rgba(200,255,110,0.35);
  border-radius: 999px;
  padding: 7px 16px;
  color: var(--lime);
  font-weight: 700;
  font-size: 0.88rem;
  transition: background .2s ease, transform .2s ease;
}
.credentials__col .credentials__roles li:hover { background: rgba(200,255,110,0.2); transform: translateY(-2px); }

/* ============ Programs ============ */
.programs {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--navy-900) 0, var(--navy-950) 60px, var(--navy-950) calc(100% - 60px), var(--navy-900) 100%);
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.tab {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s ease;
}
.tab:hover { color: var(--text); }
.tab.is-active {
  background: linear-gradient(135deg, var(--green-light), var(--green));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 24px rgba(63, 138, 84, 0.35);
}

/* The container's height is animated by JS between tabs (see main.js),
   so switching never causes an abrupt jump — each panel still hugs its
   own natural content height with no dead space. */
.tab-panels { overflow: hidden; transition: height .35s ease; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.program-card {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.program-card img { height: 190px; width: 100%; object-fit: cover; }
.program-card__visual {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(135deg, #16405e 0%, var(--navy-900) 75%);
}
.program-card__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(255,255,255,0.95);
  font-size: 1.7rem;
  box-shadow: 0 8px 18px rgba(0,0,0,0.3);
  transition: transform .3s ease;
}
.program-card:hover .program-card__chip { transform: translateY(-3px) scale(1.06); }
.program-card__body { padding: 22px; }
.program-card__body h3 { color: var(--text); font-size: 1.08rem; margin-bottom: 10px; }
.program-card__body p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* ---- Certificate courses (자격증 과정) ---- */
.cert-intro {
  text-align: center;
  color: var(--orange);
  background: rgba(255, 154, 61, 0.1);
  border: 1px solid rgba(255, 154, 61, 0.3);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  max-width: 620px;
  margin: 0 auto 28px;
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cert-card {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cert-card img { height: 168px; width: 100%; object-fit: cover; }
.cert-card__body { padding: 18px; }
.cert-card__body h3 { color: var(--text); font-size: 1rem; margin-bottom: 8px; }
.cert-card__body p { color: var(--text-muted); font-size: 0.86rem; margin: 0; }
.cert-note {
  text-align: center;
  color: var(--text-muted-2);
  font-size: 0.92rem;
  margin: 32px 0 0;
}

/* ============ Reviews ============ */
.reviews { padding: 100px 0; }
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  position: relative;
}
.review-card::before {
  content: "\201C";
  position: absolute;
  top: 8px; left: 18px;
  font-size: 3rem;
  color: rgba(200,255,110,0.25);
  font-family: Georgia, serif;
}
.review-card p {
  flex: 1;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 18px 0 16px;
  position: relative;
  z-index: 1;
}
.review-card cite {
  display: flex;
  align-items: center;
  gap: 8px;
  font-style: normal;
  font-weight: 700;
  color: var(--lime);
  font-size: 0.88rem;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.review-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(200,255,110,0.12);
  font-size: 0.95rem;
  flex-shrink: 0;
}
.reviews__foot {
  text-align: center;
  color: var(--text-muted-2);
  margin: 32px 0 0;
  font-size: 0.92rem;
}

/* ============ Process ============ */
.process {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--navy-900) 0, var(--navy-950) 60px, var(--navy-950) 100%);
}
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.process__step {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  position: relative;
}
.process__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lime), var(--lime-dark));
  color: var(--navy-950);
  font-weight: 900;
  margin-bottom: 16px;
}
.process__step h3 { font-size: 1.05rem; color: var(--text); margin-bottom: 10px; }
.process__step p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.process__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ============ Contact ============ */
.contact__lead {
  text-align: center;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 32px;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 760px;
  margin: 0 auto 40px;
}
.contact__item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: background .2s ease, color .2s ease;
  text-align: left;
}
.contact__item:hover { background: rgba(200,255,110,0.08); color: var(--lime); }
.contact__item > span:not(.contact__icon) { min-width: 0; overflow-wrap: break-word; }
.contact__item--static { cursor: default; }
.contact__item--static:hover { background: rgba(255,255,255,0.04); color: var(--text-muted); }
.contact__item em { display: block; font-style: normal; color: var(--text-muted-2); font-size: 0.78rem; }
.contact__icon { font-size: 1.2rem; flex-shrink: 0; }

.contact__cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.site-footer {
  padding: 32px 0;
  background: var(--navy-950);
  border-top: 1px solid var(--border);
}
.contact__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.brand--footer { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; color: var(--text); margin-right: 0; }
.contact__copy { color: var(--text-muted-2); font-size: 0.82rem; margin: 0; }
.footer__link { color: var(--text-muted-2); text-decoration: underline; text-underline-offset: 2px; }
.footer__link:hover { color: var(--lime); }

.footer__info {
  max-width: 460px;
  margin: 0 auto 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer__info p {
  color: var(--text-muted-2);
  font-size: 0.8rem;
  line-height: 1.7;
  margin: 0;
}

/* ============ Legal page (privacy policy) ============ */
.legal-page { padding: 120px 0 100px; max-width: 780px; margin: 0 auto; }
.legal-page h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 8px; }
.legal-page .legal-updated { color: var(--text-muted-2); font-size: 0.88rem; margin-bottom: 40px; }
.legal-page h2 { color: var(--lime); font-size: 1.1rem; margin: 36px 0 12px; }
.legal-page p, .legal-page li { color: var(--text-muted); font-size: 0.96rem; margin: 0 0 10px; }
.legal-page ul { padding-left: 20px; list-style: disc; margin: 0 0 10px; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 0.92rem; }
.legal-page th, .legal-page td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; color: var(--text-muted); }
.legal-page th { color: var(--text); background: rgba(255,255,255,0.04); }
.legal-page .back-link { display: inline-block; margin-top: 40px; color: var(--lime); font-weight: 700; }

/* ============ Back to top ============ */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--navy-800);
  color: var(--lime);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 90;
  box-shadow: var(--shadow);
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

/* ============ Responsive ============ */
/* Switch to the hamburger a bit earlier than the main breakpoint below,
   since the brand text + 5 nav links + 2 buttons need more breathing
   room than 980px allows and were wrapping mid-word. */
@media (max-width: 1220px) {
  .nav, .header__cta { display: none; }
  .hamburger { display: flex; }
  .badge-cert { width: 52px; top: 14px; left: 14px; }
  .badge-live { top: 14px; right: 14px; font-size: 0.68rem; padding: 4px 10px; }
}

@media (max-width: 980px) {
  .nav, .header__cta { display: none; }
  .hamburger { display: flex; }
  .hero__copy .eyebrow { white-space: normal; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { width: 100%; max-width: 480px; margin: 0 auto; }
  .about__inner { grid-template-columns: 1fr; }
  .about__lead { grid-column: 1; }
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { grid-column: 1; grid-row: auto; order: -1; }
  .about .section-head { grid-column: 1; text-align: center; }
  .about .section-head .eyebrow--center { justify-content: center; }
  .expertise__grid { grid-template-columns: 1fr; }
  .credentials { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
  .join__benefits { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero { padding: 56px 0 64px; }
  .hero__inner { gap: 36px; }
  .hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 28px;
  }
  .hero__actions .btn {
    padding: 12px 10px;
    font-size: 0.86rem;
  }
  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 20px;
  }
  .hero__stats strong { font-size: 1.2rem; }
  .hero__stats span { font-size: 0.76rem; }
  .process__grid { grid-template-columns: 1fr; }
  .join__card { padding: 32px 20px; }

  .profile-card { padding: 30px 20px 24px; }
  .badge-cert { width: 52px; top: 14px; left: 14px; }
  .badge-live { top: 16px; right: 16px; font-size: 0.7rem; padding: 4px 10px; }
  .profile-card__avatar { width: 140px; height: 140px; }
}
