/* =========================================================
   FEARA Landing Page - style.css
   Mobile-first responsive layout
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --color-burgundy: #7A1F2B;
  --color-burgundy-dark: #5e1721;
  --color-burgundy-soft: #9a3340;
  --color-navy: #0B1F3A;
  --color-navy-2: #142a4d;
  --color-white: #ffffff;
  --color-bg: #F5F6F8;
  --color-text: #1a1a1a;
  --color-muted: #5a6473;
  --color-border: #e3e6eb;

  --shadow-sm: 0 2px 8px rgba(11, 31, 58, 0.06);
  --shadow-md: 0 8px 28px rgba(11, 31, 58, 0.10);
  --shadow-lg: 0 18px 50px rgba(11, 31, 58, 0.16);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --header-h: 64px;

  --font-body: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: transparent; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 72px 0;
  background: var(--color-white);
}
.section--alt { background: var(--color-bg); }

.section__head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 40px;
}
.section__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-burgundy);
  margin-bottom: 14px;
}
.section__tag--light { color: rgba(255,255,255,0.85); }
.section__title {
  font-size: 28px;
  color: var(--color-navy);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section__title--light { color: var(--color-white); }
.section__desc {
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.75;
}
.section__desc--light { color: rgba(255,255,255,0.85); }

@media (min-width: 768px) {
  .section { padding: 100px 0; }
  .section__title { font-size: 36px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  text-align: center;
  white-space: nowrap;
}
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--primary {
  background: var(--color-burgundy);
  color: var(--color-white);
  box-shadow: 0 8px 22px rgba(122, 31, 43, 0.28);
}
.btn--primary:hover { background: var(--color-burgundy-dark); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255,255,255,0.65);
}
.btn--ghost:hover { background: rgba(255,255,255,0.12); }
.btn--ghost-dark {
  background: transparent;
  color: var(--color-navy);
  border: 1.5px solid var(--color-navy);
}
.btn--ghost-dark:hover { background: var(--color-navy); color: var(--color-white); }

/* ---------- Header / Nav ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(11,31,58,0.06);
  z-index: 100;
  transition: background .25s ease, box-shadow .25s ease;
}
.header.is-scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.logo__main {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--color-burgundy);
}
.logo__sub {
  font-size: 9.5px;
  letter-spacing: 0.05em;
  color: var(--color-navy);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Desktop nav */
.nav__list {
  display: none;
  align-items: center;
  gap: 4px;
}
.nav__link {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-navy);
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}
.nav__link:hover { color: var(--color-burgundy); }
.nav__link.is-active { color: var(--color-burgundy); font-weight: 700; }
.nav__link--exam {
  margin-left: 6px;
  padding: 8px 16px;
  background: var(--color-navy);
  color: var(--color-white);
}
.nav__link--exam:hover { background: var(--color-burgundy); color: var(--color-white); }

@media (min-width: 1024px) {
  .nav__list { display: flex; }
  .logo__sub { font-size: 10.5px; }
}

/* Hamburger */
.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-navy);
  margin: 0 auto;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1024px) {
  .hamburger { display: none; }
}

/* Mobile nav drawer */
@media (max-width: 1023px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    width: min(80vw, 320px);
    height: calc(100vh - var(--header-h));
    background: var(--color-white);
    box-shadow: -10px 0 30px rgba(11,31,58,0.10);
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 24px;
  }
  .nav__link {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 16px;
  }
  .nav__link--exam {
    margin: 12px 0 0;
    text-align: center;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-2) 55%, var(--color-burgundy) 100%);
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(11,31,58,0.85) 0%, rgba(11,31,58,0.65) 50%, rgba(122,31,43,0.65) 100%);
  z-index: 1;
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding: 60px 20px 100px;
}
.hero__eyebrow {
  font-size: 11px;
  letter-spacing: 0.25em;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  margin-bottom: 18px;
}
.hero__title {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 18px;
}
.hero__brand {
  display: inline-block;
  background: linear-gradient(90deg, #ffffff 0%, #f1c4ca 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.95);
  margin-bottom: 14px;
  line-height: 1.65;
}
.hero__desc {
  font-size: 14.5px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero__cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.br-pc { display: none; }

@media (min-width: 768px) {
  .hero__title { font-size: 52px; }
  .hero__sub { font-size: 19px; }
  .hero__desc { font-size: 16px; }
  .br-pc { display: inline; }
}
@media (min-width: 1024px) {
  .hero__title { font-size: 64px; }
  .hero__inner { padding: 80px 20px 120px; }
}

.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 14px;
  z-index: 3;
}
.hero__scroll span {
  position: absolute;
  top: 6px; left: 50%;
  width: 3px; height: 8px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scroll-down 1.6s ease-in-out infinite;
}
@keyframes scroll-down {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* ---------- Cards Grid ---------- */
.cards {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card--key .card__num {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-burgundy);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.card__title {
  font-size: 19px;
  color: var(--color-navy);
  margin-bottom: 10px;
}
.card__text {
  font-size: 14.5px;
  color: var(--color-muted);
  line-height: 1.7;
}

/* ---------- Education ---------- */
.edu-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .edu-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

.edu-block {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.edu-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--color-navy);
}
.edu-block--accent::before { background: var(--color-burgundy); }

.edu-block__head { margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px dashed var(--color-border); }
.edu-block__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-navy);
  background: rgba(11,31,58,0.08);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.edu-block--accent .edu-block__label {
  color: var(--color-burgundy);
  background: rgba(122,31,43,0.08);
}
.edu-block__title { font-size: 24px; color: var(--color-navy); margin-bottom: 8px; }
.edu-block__desc { font-size: 14px; color: var(--color-muted); }

.edu-list { display: grid; gap: 12px; }
.edu-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
}
.edu-list__dot {
  width: 7px; height: 7px;
  background: var(--color-burgundy);
  border-radius: 50%;
  flex-shrink: 0;
}
.edu-block:not(.edu-block--accent) .edu-list__dot { background: var(--color-navy); }

/* ---------- Certification ---------- */
.cert-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.cert-card--featured {
  background: linear-gradient(160deg, #ffffff 0%, #fff6f7 100%);
  border-color: rgba(122,31,43,0.25);
}
.cert-card__badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--color-burgundy);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: -0.01em;
}
.cert-card__head { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--color-border); }
.cert-card__code {
  display: inline-block;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.cert-card--featured .cert-card__code { background: var(--color-burgundy); }
.cert-card__title { font-size: 20px; color: var(--color-navy); margin-bottom: 6px; }
.cert-card__en { font-size: 13px; color: var(--color-muted); font-style: italic; }
.cert-card__desc {
  font-size: 14.5px;
  color: var(--color-muted);
  line-height: 1.75;
}

.status-box {
  margin-top: 48px;
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.status-box__title {
  font-size: 18px;
  margin-bottom: 18px;
  color: var(--color-white);
}
.status-list {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .status-list { grid-template-columns: 1fr 1fr; } }
.status-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.92);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.status-list__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  flex-shrink: 0;
}
.tag--live { background: var(--color-burgundy); color: var(--color-white); }
.tag--dev { background: rgba(255,255,255,0.18); color: rgba(255,255,255,0.92); }

/* ---------- Center ---------- */
.center-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.center-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.center-card__badge {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  background: var(--color-burgundy);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.center-card--featured {
  border-color: var(--color-burgundy);
  background: linear-gradient(180deg, #fff 0%, #fff6f7 100%);
}
.center-card__title {
  font-size: 14px;
  color: var(--color-muted);
  font-weight: 500;
  margin-bottom: 6px;
}
.center-card__location {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.01em;
}
.center-card--link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.center-card__more {
  display: inline-block;
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-burgundy);
  letter-spacing: 0.02em;
  transition: transform .2s ease;
}
.center-card--link:hover .center-card__more { transform: translateX(4px); }

/* ---------- Field Support ---------- */
.support-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .support-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .support-grid { grid-template-columns: repeat(3, 1fr); } }

.support-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-burgundy);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.support-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.support-card__tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-burgundy);
  background: rgba(122,31,43,0.08);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.support-card p {
  font-size: 14.5px;
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.6;
}

.support-card--more { display: none; }
.support-grid.is-expanded .support-card--more { display: flex; }

.support-more {
  margin-top: 28px;
  text-align: center;
}

/* ---------- Gallery / Slider ---------- */
.slider {
  position: relative;
  margin: 0 auto;
  max-width: 1080px;
}
.slider__viewport {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  background: var(--color-bg);
}
.slider__track {
  display: flex;
  transition: transform .5s ease;
  will-change: transform;
}
.slider__slide {
  flex: 0 0 100%;
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1a2a4a, #7A1F2B);
}
.slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.slider__slide--placeholder::after {
  content: 'FEARA';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--color-navy);
  font-size: 28px;
  line-height: 1;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s ease;
  z-index: 2;
}
.slider__btn:hover { background: var(--color-white); transform: translateY(-50%) scale(1.05); }
.slider__btn--prev { left: 10px; }
.slider__btn--next { right: 10px; }
@media (min-width: 768px) {
  .slider__btn { width: 52px; height: 52px; font-size: 32px; }
  .slider__btn--prev { left: -22px; }
  .slider__btn--next { right: -22px; }
}

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.slider__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(11,31,58,0.22);
  transition: background .2s ease, transform .2s ease, width .25s ease;
  padding: 0;
}
.slider__dot.is-active {
  background: var(--color-burgundy);
  width: 26px;
  border-radius: 999px;
}

/* PC: 3장 미리보기 */
@media (min-width: 1024px) {
  .slider__slide { flex: 0 0 calc(100% / 3); padding: 0 6px; }
  .slider__slide img,
  .slider__slide.slider__slide--placeholder { border-radius: 8px; }
  .slider__viewport { background: transparent; box-shadow: none; }
  .slider__slide { background: transparent; }
  .slider__slide::before {
    content: '';
    display: block;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #1a2a4a, #7A1F2B);
    border-radius: 8px;
    position: absolute;
    inset: 0 6px;
    z-index: -1;
  }
}

/* ---------- SNS ---------- */
.sns {
  background: linear-gradient(120deg, var(--color-navy) 0%, var(--color-navy-2) 60%, var(--color-burgundy) 100%);
  color: var(--color-white);
}
.sns__inner {
  display: grid;
  gap: 32px;
  align-items: center;
  grid-template-columns: 1fr;
  text-align: center;
}
@media (min-width: 900px) {
  .sns__inner {
    grid-template-columns: 1.2fr 1fr;
    text-align: left;
  }
  .sns__action { text-align: right; }
}
.sns__handle {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.02em;
}
.ic-ig { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Footer ---------- */
.footer {
  background: #050d1c;
  color: rgba(255,255,255,0.78);
  padding-top: 48px;
}
.footer__inner {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  padding-bottom: 32px;
}
@media (min-width: 768px) {
  .footer__inner { grid-template-columns: 1.2fr 1fr; }
}
.footer__logo {
  font-size: 24px;
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.footer__name {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.footer__msg {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}
.footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.footer__nav a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color .2s ease;
}
.footer__nav a:hover { color: var(--color-white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer__bottom p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.02em;
  text-align: center;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Cert card link (index) ---------- */
.cert-card--link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.cert-card--link .cert-card__desc { flex: 1; }
.cert-card__more {
  display: inline-block;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-burgundy);
  letter-spacing: 0.02em;
  transition: transform .2s ease;
}
.cert-card--link:hover .cert-card__more { transform: translateX(4px); }

/* ---------- Cert detail page ---------- */
.cert-page { padding-top: var(--header-h); }

.cert-hero {
  padding: 90px 0 70px;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-2) 55%, var(--color-burgundy) 100%);
  color: var(--color-white);
  text-align: center;
}
.cert-hero--accent {
  background: linear-gradient(135deg, var(--color-burgundy) 0%, var(--color-burgundy-dark) 55%, var(--color-navy) 100%);
}
.cert-hero__eyebrow {
  font-size: 12px;
  letter-spacing: 0.25em;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
  margin-bottom: 18px;
}
.cert-hero__code {
  display: inline-block;
  background: var(--color-white);
  color: var(--color-burgundy);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.cert-hero--accent .cert-hero__code { color: var(--color-navy); }
.cert-hero__title {
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) { .cert-hero__title { font-size: 44px; } }
.cert-hero__en {
  font-size: 14.5px;
  color: rgba(255,255,255,0.82);
  font-style: italic;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
.cert-hero__sub {
  font-size: 15.5px;
  color: rgba(255,255,255,0.88);
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto;
}
.cert-hero__badge {
  display: inline-block;
  margin-top: 22px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.32);
  color: var(--color-white);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.cert-section { background: var(--color-bg); }
.cert-content {
  max-width: 880px;
}

.cert-block {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.cert-block--highlight {
  background: linear-gradient(180deg, #fff 0%, #fff6f7 100%);
  border-color: rgba(122,31,43,0.25);
}
.cert-block__title {
  font-size: 19px;
  color: var(--color-navy);
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 4px solid var(--color-burgundy);
  line-height: 1.3;
}
.cert-block__text {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.85;
}
.cert-block__list {
  display: grid;
  gap: 10px;
}
.cert-block__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--color-text);
  line-height: 1.7;
}
.cert-block__list li::before {
  content: '';
  position: absolute;
  left: 4px; top: 11px;
  width: 8px; height: 8px;
  background: var(--color-burgundy);
  border-radius: 50%;
}

.cert-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin-top: 4px;
}
@media (min-width: 600px) { .cert-grid { grid-template-columns: 1fr 1fr; } }
.cert-item {
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 3px solid var(--color-burgundy);
}
.cert-item strong {
  font-size: 14.5px;
  color: var(--color-navy);
  font-weight: 700;
}
.cert-item span {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.6;
}

.cert-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 12px;
}
.cert-block .cert-cta { margin-top: 18px; justify-content: flex-start; }

/* WIP (work-in-progress) card */
.wip-card {
  text-align: center;
  background: var(--color-white);
  border: 1px dashed rgba(11,31,58,0.22);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  position: relative;
  overflow: hidden;
}
.wip-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg,
      rgba(122,31,43,0.025) 0 10px,
      rgba(255,255,255,0) 10px 20px);
  pointer-events: none;
}
.wip-card > * { position: relative; }
.wip-card__chip {
  display: inline-block;
  background: rgba(122,31,43,0.08);
  color: var(--color-burgundy);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.22em;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.wip-card__title {
  font-size: 22px;
  color: var(--color-navy);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.wip-card__msg {
  font-size: 14.5px;
  color: var(--color-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}
.wip-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* ---------- Exam page ---------- */
.exam-page { padding-top: var(--header-h); }
.exam-hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-2) 60%, var(--color-burgundy) 100%);
  color: var(--color-white);
  text-align: center;
}
.exam-hero__eyebrow {
  font-size: 12px;
  letter-spacing: 0.25em;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
  margin-bottom: 16px;
}
.exam-hero__title {
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 16px;
}
@media (min-width: 768px) { .exam-hero__title { font-size: 44px; } }
.exam-hero__sub {
  font-size: 15.5px;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 24px;
}
.exam-hero__badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--color-white);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.exam-info { background: var(--color-bg); }
.exam-info__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .exam-info__grid { grid-template-columns: 1fr 1fr; } }
.exam-info__card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 28px 24px;
}
.exam-info__card h3 {
  font-size: 17px;
  color: var(--color-burgundy);
  margin-bottom: 10px;
}
.exam-info__card p {
  font-size: 14.5px;
  color: var(--color-muted);
  line-height: 1.75;
}
.exam-info__card a { color: var(--color-burgundy); font-weight: 600; text-decoration: underline; }

.exam-hero__cta {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.exam-cta {
  margin-top: 40px;
  text-align: center;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  box-shadow: var(--shadow-sm);
}
.exam-cta__title {
  font-size: 20px;
  color: var(--color-navy);
  margin-bottom: 12px;
}
.exam-cta__msg {
  font-size: 15px;
  color: var(--color-muted);
  margin-bottom: 24px;
  line-height: 1.75;
}
.exam-cta__buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Utilities ---------- */
.no-scroll { overflow: hidden; }
