* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #030303;
  --page: #f2f2f2;
  --card: #ffffff;
  --text: #111111;
  --soft: #4a4a4a;
  --border: #e9e9e9;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  background: var(--page);
  color: var(--text);
  font-family: "Montserrat", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  background: none;
  border: none;
}

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

.page {
  width: 100%;
}

/* =========================
   HERO / HEADER
========================= */

.hero {
  width: 100%;
  background: var(--black);
  color: #ffffff;
  padding: 22px 16px 60px;
}

.header {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo {
  width: 155px;
  height: auto;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.nav-link {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

.lang-btn {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

.hero-content {
  width: 100%;
  max-width: 980px;
  margin: 64px auto 0;
  text-align: center;
}

.hero-kicker {
  font-size: clamp(1rem, 2vw, 1.4rem);
  line-height: 1.4;
  font-weight: 500;
}

.hero-title {
  margin-top: 18px;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  line-height: 1.02;
  font-weight: 800;
}

.hero-subtitle {
  margin-top: 10px;
  font-size: clamp(1rem, 2vw, 1.45rem);
  line-height: 1.4;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
}

.hero-cta,
.card-button,
.course-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-cta:hover,
.card-button:hover,
.course-button:hover,
.lang-btn:hover {
  opacity: 0.9;
}

.hero-cta {
  margin-top: 28px;
  min-width: 180px;
  padding: 14px 24px;
  background: #ffffff;
  color: #111111;
  border: 1px solid #ffffff;
}

/* =========================
   CONTENT / CARDS
========================= */

.content {
  width: min(1100px, calc(100% - 16px));
  margin: 16px auto 0;
}

.card {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}

.card-inner {
  display: grid;
  grid-template-columns: 14px 1fr;
  column-gap: 12px;
  align-items: start;
  padding: 18px 14px;
}

.card-media-layout .card-inner {
  grid-template-columns: 14px 1fr 50px;
}

.dot {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: #111111;
}

.card-main {
  font-size: clamp(1rem, 1.5vw, 1.45rem);
  line-height: 1.3;
  font-weight: 700;
}

.card-sub {
  margin-top: 10px;
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  line-height: 1.5;
  color: var(--soft);
}

.card-emphasis {
  margin-top: 14px;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.35;
  font-weight: 700;
}

.card-break {
  margin-top: 14px;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.25;
  font-weight: 800;
}

.card-break-soft {
  margin-top: 10px;
}

.card-last {
  margin-top: 14px;
}

.card-button {
  margin-top: 18px;
  min-width: 140px;
  padding: 12px 18px;
  background: #111111;
  color: #ffffff;
  border: 1px solid #111111;
}

.card-media-layout .card-inner {
  grid-template-columns: 14px 1fr 50px;
}

/* =========================
   COURSE
========================= */

.course-hero-image {
  width: 100%;
  max-width: 360px;
  margin: 30px auto 0;
}

.course-grid {
  width: min(1180px, calc(100% - 16px));
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.course-stage {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: #000000;
  min-height: 420px;
}

.course-stage-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-stage-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.2) 45%,
    rgba(0, 0, 0, 0.12) 100%
  );
}

.course-stage-content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 28px;
  color: #ffffff;
}

.course-stage-step {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.88;
}

.course-stage-title {
  margin-top: 14px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.course-stage-text {
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.course-button {
  margin-top: 18px;
  min-width: 140px;
  padding: 12px 18px;
  background: #ffffff;
  color: #111111;
  border: 1px solid #ffffff;
}

/* =========================
   COURSE BLOCK SUMMARY
========================= */

.modules-summary {
  width: min(1100px, calc(100% - 16px));
  margin: 16px auto 0;
}

.modules-summary .card-main {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* =========================
   FOOTER
========================= */

.footer {
  padding: 30px 16px 36px;
  text-align: center;
}

.footer p {
  font-size: 0.95rem;
  color: #7a7a7a;
  font-weight: 500;
}

/* =========================
   TABLET
========================= */

@media (min-width: 700px) {
  .hero {
    padding: 28px 22px 72px;
  }

  .logo {
    width: 185px;
  }

  .hero-content {
    margin-top: 82px;
  }

  .content,
  .modules-summary {
    width: min(1180px, calc(100% - 28px));
  }

  .card-inner {
    padding: 24px 20px;
    column-gap: 16px;
    grid-template-columns: 16px 1fr;
  }

  .card-media-layout .card-inner {
    grid-template-columns: 16px 1fr 84px;
  }

  .card-media {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    align-self: center;
  }

  .card-media img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    opacity: 0.95;
  }

  .course-grid {
    width: min(1180px, calc(100% - 28px));
    gap: 18px;
  }

  .course-stage {
    min-height: 500px;
  }

  .course-stage-content {
    left: 32px;
    right: 32px;
    bottom: 34px;
  }
}

/* =========================
   DESKTOP
========================= */

@media (min-width: 1024px) {
  .hero {
    padding: 34px 34px 86px;
  }

  .logo {
    width: 220px;
  }

  .top-nav {
    gap: 16px;
  }

  .nav-link {
    font-size: 1rem;
  }

  .lang-btn {
    font-size: 0.92rem;
    padding: 8px 14px;
  }

  .hero-content {
    margin-top: 92px;
  }

  .content,
  .modules-summary {
    width: min(1200px, calc(100% - 44px));
    margin-top: 24px;
  }

  .card {
    margin-bottom: 14px;
  }

  .card-inner {
    padding: 30px 30px;
    column-gap: 18px;
    grid-template-columns: 18px 1fr;
  }

  .card-media-layout .card-inner {
    grid-template-columns: 18px 1fr 90px;
  }

  .card-media img {
    width: 68px;
    height: 68px;
  }

  .course-grid {
    width: min(1200px, calc(100% - 44px));
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .course-stage {
    min-height: 640px;
  }

  .course-stage-content {
    left: 34px;
    right: 34px;
    bottom: 34px;
  }

  .course-stage-text {
    font-size: 1.05rem;
  }
}
