:root {
  --bg: #121828;
  --bg-deep: #0b1120;
  --bg-card: #182038;
  --bg-card-2: #1a2440;
  --header: #1a2646;
  --blue: #5199ff;
  --blue-2: #4b91f7;
  --blue-soft: #7eb6ff;
  --text: #ffffff;
  --text-muted: #c5cee0;
  --text-dim: #9aa6bf;
  --border: rgba(81, 153, 255, 0.28);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1180px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --maso-font: 'PTRoofUI', 'PTRootUI', Arial, sans-serif;
}

body {
  margin: 0;
}

.maso-landing {
  display: block;
  width: 100%;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-family: var(--maso-font);
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
  position: relative;
  z-index: 1;
}

.maso-landing *,
.maso-landing *::before,
.maso-landing *::after {
  box-sizing: border-box;
}

.maso-landing img {
  max-width: 100%;
  height: auto;
  display: block;
}

.maso-landing a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  border: none;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn:hover {
  background: #3d86ef;
  box-shadow: 0 8px 24px rgba(81, 153, 255, 0.35);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--blue);
}

.btn--outline:hover {
  background: var(--blue);
}

.btn--white {
  background: #fff;
  color: var(--blue);
}

.btn--white:hover {
  background: #eef5ff;
  box-shadow: none;
}

.section-title {
  margin: 0 0 28px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.accent {
  color: var(--blue-soft);
}

/* ========== HEADER ========== */
.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  background: #1a2646;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
  width: min(100% - 80px, 1280px);
  margin-inline: auto;
}

.logo img {
  height: 56px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  opacity: 1;
  transition: color 0.2s;
}

.nav a:hover {
  color: #5199ff;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-round {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}

.social-round svg,
.social-round img {
  width: 30px;
  height: 30px;
  display: block;
}

.phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #5199ff;
  border-radius: 6px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s;
  white-space: nowrap;
}

.phone-btn:hover {
  background: #5199ff;
}

.burger {
  display: none;
  width: 28px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #fff;
  transition: 0.25s;
}

.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2),
.burger span:nth-child(3) { top: 8px; width: 80%; left: 20%; }
.burger span:nth-child(4) { top: 16px; }

.burger.is-open span:nth-child(1),
.burger.is-open span:nth-child(4) {
  opacity: 0;
}
.burger.is-open span:nth-child(2) {
  transform: rotate(45deg);
  width: 100%;
  left: 0;
}
.burger.is-open span:nth-child(3) {
  transform: rotate(-45deg);
  width: 100%;
  left: 0;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 42% 48% at 62% 42%, rgba(48, 95, 180, 0.32) 0%, rgba(18, 24, 40, 0) 70%),
    #121828;
}

.hero__glow {
  display: none;
}

.hero__stage {
  position: relative;
  width: 1440px;
  max-width: 100%;
  height: 801px;
  margin: 0 auto;
}

.hero__title {
  position: absolute;
  left: 161px;
  top: 169px;
  width: 544px;
  margin: 0;
  font-size: 38px;
  font-weight: 400;
  line-height: 48px;
  color: #fff;
}

.hero__title strong {
  color: #5199ff;
  font-weight: 700;
}

.hero__illu {
  position: absolute;
  left: 687px;
  top: 252px;
  width: 332px;
  height: 332px;
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 10px 30px rgba(40, 100, 220, 0.25));
}

.hero__form {
  position: absolute;
  left: 913px;
  top: 111px;
  width: 350px;
  height: 449px;
  z-index: 3;
  padding: 24px 32px 20px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  background: #fff;
  box-shadow: none;
}

.hero__form h3 {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 700;
  line-height: 28px;
  color: #121828;
  text-align: center;
}

.hero__form h3 strong {
  font-weight: 700;
}

.hero__form form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 0;
}

.hero__form input[type="text"],
.hero__form input[type="tel"],
.hero__form input[type="email"] {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid #121828;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 400;
  font-family: inherit;
  color: #121828;
  outline: none;
  background-color: #fff;
}

.hero__form input::placeholder {
  color: #121828;
  opacity: 0.5;
}

.hero__form input[type="tel"] {
  padding-left: 46px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='16' viewBox='0 0 22 16'%3E%3Crect width='22' height='16' rx='2' fill='%23fff' stroke='%23ddd'/%3E%3Crect y='5.3' width='22' height='5.4' fill='%230039A6'/%3E%3Crect y='10.7' width='22' height='5.3' fill='%23D52B1E'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 14px center;
  background-size: 22px 16px;
}

.hero__form input:focus {
  border-color: #5199ff;
}

.hero__form .check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 2px 0 0;
  font-size: 10px;
  line-height: 1.35;
  font-weight: 400;
  color: #121828;
  cursor: pointer;
}

.hero__form label.check {
  margin-bottom: 0;
}

.hero__form .check input[type="checkbox"] {
  margin-top: 1px;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  appearance: auto;
  -webkit-appearance: auto;
  accent-color: #121828;
  cursor: pointer;
}

.hero__form .check a {
  color: #ff8562;
  text-decoration: none;
}

.hero__form .check a:hover {
  text-decoration: underline;
}

.hero__submit {
  width: 100%;
  height: 50px;
  min-height: 50px;
  border: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 500;
  line-height: 23px;
  font-family: inherit;
  color: #fff;
  background: #5199ff;
  margin-top: 4px;
  margin-bottom: 0;
  cursor: pointer;
  transition: background 0.2s;
}

.hero__submit:hover {
  background: #3d86ef;
}

.hero__price-wrap {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.hero__price-wrap > * {
  pointer-events: auto;
}

.hero__price-old {
  position: absolute;
  left: 194px;
  top: 477px;
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
  color: #fff;
  text-decoration: line-through;
  z-index: 2;
}

.hero__price-new {
  position: absolute;
  left: 169px;
  top: 503px;
  font-size: 25px;
  font-weight: 500;
  color: #fff;
  z-index: 2;
}

.hero__discount {
  position: absolute;
  left: 314px;
  top: 479px;
  width: 120px;
  height: 55px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  z-index: 2;
}

.hero__discount span {
  font-size: 14px;
  line-height: 14px;
  color: #192545;
}

.hero__discount strong {
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
  color: #5199ff;
}

.hero__note {
  position: absolute;
  left: 162px;
  top: 560px;
  width: 586px;
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 25px;
  color: #fff;
  z-index: 2;
}

.hero__note em {
  font-style: italic;
}

.hero__features {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  border: 0;
  padding: 0;
  display: block;
  grid-template-columns: none;
}

.hero__features::before {
  content: "";
  position: absolute;
  left: 138px;
  right: 138px;
  top: 635px;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.hero__feature {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 0;
  pointer-events: auto;
}

.hero__feature:nth-child(1) { left: 138px; top: 648px; }
.hero__feature:nth-child(2) { left: 420px; top: 648px; }
.hero__feature:nth-child(3) { left: 709px; top: 645px; }
.hero__feature:nth-child(4) { left: 926px; top: 655px; }

.hero__feature-icon {
  position: relative;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.hero__feature:nth-child(4) .hero__feature-icon {
  width: 82px;
  height: 80px;
}

.hero__feature-glow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
  pointer-events: none;
}

.hero__feature-svg {
  position: relative;
  z-index: 1;
  width: 50px;
  height: 41px;
  object-fit: contain;
}

.hero__feature-svg--cert {
  width: 40px;
  height: 49px;
}

.hero__feature-svg--cal {
  width: 95px;
  height: 101px;
}

.hero__feature-svg--mon {
  width: 41px;
  height: 41px;
}

.hero__feature-text {
  margin-left: -8px;
  font-size: 25px;
  font-weight: 500;
  line-height: 25px;
  color: #fff;
  white-space: nowrap;
}

.hero__feature:nth-child(2) .hero__feature-text {
  margin-left: -20px;
}

.hero__feature:nth-child(3) .hero__feature-text {
  margin-left: -12px;
}

.hero__feature:nth-child(4) .hero__feature-text {
  margin-left: 8px;
}

.hero__feature-text--multi {
  font-size: 20px;
  line-height: 1.2;
  white-space: normal;
}

/* shared lead-form (modal etc.) */
.lead-form {
  background: #fff;
  color: #1a2646;
  border-radius: 20px;
  padding: 28px 26px 24px;
  box-shadow: var(--shadow);
  font-family: inherit;
}

.lead-form h3 {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
  font-family: inherit;
  text-align: center;
}

.lead-form label:not(.check) {
  display: block;
  margin-bottom: 12px;
}

.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form input[type="email"] {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #d5dbe8;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: #1a2646;
  outline: none;
  transition: border-color 0.2s;
  background-color: #fff;
}

.lead-form input[type="tel"] {
  padding-left: 56px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='16' viewBox='0 0 22 16'%3E%3Crect width='22' height='16' rx='2' fill='%23fff' stroke='%23ddd'/%3E%3Crect y='5.3' width='22' height='5.4' fill='%230039A6'/%3E%3Crect y='10.7' width='22' height='5.3' fill='%23D52B1E'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 14px center;
  background-size: 22px 16px;
}

.hero__form.lead-form {
  padding: 24px 32px 20px;
  box-shadow: none;
  border-radius: 20px;
}

.hero__form.lead-form h3 {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 700;
  line-height: 28px;
  color: #121828;
}

.lead-form input:focus {
  border-color: var(--blue);
}

.lead-form .check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 8px 0 14px;
  font-size: 12px;
  line-height: 1.4;
  font-family: inherit;
  color: #5a6478;
  cursor: pointer;
}

.lead-form .check input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  appearance: auto;
  -webkit-appearance: auto;
  accent-color: #5199ff;
  cursor: pointer;
}

.lead-form .check a {
  color: #e14b4b;
  text-decoration: underline;
}

.lead-form .btn {
  width: 100%;
  font-family: inherit;
  margin-bottom: 12px;
}

.hero__form.lead-form input[type="text"],
.hero__form.lead-form input[type="tel"],
.hero__form.lead-form input[type="email"] {
  height: 50px;
  border: 1px solid #121828;
  border-radius: 5px;
  color: #121828;
}

.hero__form.lead-form input::placeholder {
  color: #121828;
  opacity: 0.5;
}

.hero__form.lead-form input[type="tel"] {
  padding-left: 46px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='16' viewBox='0 0 22 16'%3E%3Crect width='22' height='16' rx='2' fill='%23fff' stroke='%23ddd'/%3E%3Crect y='5.3' width='22' height='5.4' fill='%230039A6'/%3E%3Crect y='10.7' width='22' height='5.3' fill='%23D52B1E'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 14px center;
  background-size: 22px 16px;
}

.hero__form.lead-form .check {
  margin: 2px 0 0;
  font-size: 10px;
  line-height: 1.35;
  color: #121828;
  gap: 8px;
}

.hero__form.lead-form .check input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin-top: 1px;
  accent-color: #121828;
}

.hero__form.lead-form .check a {
  color: #ff8562;
  text-decoration: none;
}

.hero__form.lead-form .hero__submit {
  height: 50px;
  min-height: 50px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 500;
  margin-top: 4px;
  margin-bottom: 0;
}

/* ========== AUDIENCE ========== */
.audience {
  padding: 70px 0 30px;
}

.audience__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.aud-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px 30px;
}

.aud-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 12px rgba(81, 153, 255, 0.4));
}

.aud-card h3,
.aud-card p {
  text-align: left;
}

.aud-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.aud-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ========== SALARY ========== */
.salary {
  padding: 50px 0 70px;
}

.salary__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.salary-card {
  position: relative;
  background: linear-gradient(135deg, #1a2a4e 0%, #15223d 100%);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px 28px 24px;
  min-height: 360px;
  overflow: hidden;
}

.salary-card h3 {
  margin: 0 0 28px;
  font-size: 22px;
  font-weight: 700;
}

.salary-row {
  margin-bottom: 22px;
  max-width: 58%;
}

.salary-row__value {
  font-size: 28px;
  font-weight: 700;
  color: var(--blue-soft);
  margin-bottom: 6px;
}

.salary-row__bar {
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #8ec5ff, #3d7ef0);
  margin-bottom: 8px;
  box-shadow: 0 0 16px rgba(81, 153, 255, 0.45);
  animation: barPulse 2.8s ease-in-out infinite;
}

.salary-row:nth-child(2) .salary-row__bar { width: 55%; animation-delay: 0.2s; }
.salary-row:nth-child(3) .salary-row__bar { width: 78%; animation-delay: 0.4s; }
.salary-row:nth-child(4) .salary-row__bar { width: 100%; animation-delay: 0.6s; }

.salary-card--ib .salary-row:nth-child(2) .salary-row__bar { width: 40%; }
.salary-card--ib .salary-row:nth-child(3) .salary-row__bar { width: 60%; }
.salary-card--ib .salary-row:nth-child(4) .salary-row__bar { width: 100%; }

@keyframes barPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.15); }
}

.salary-row__label {
  font-size: 13px;
  color: var(--text-muted);
}

.salary-card__photo {
  position: absolute;
  right: -20px;
  bottom: -8px;
  width: 52%;
  max-width: 300px;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%);
}

.salary__copy h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1.25;
}

.salary__copy p {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

.salary__hint {
  font-size: 13px !important;
  color: var(--text-dim) !important;
}

/* ========== LEARN ========== */
.learn {
  padding: 20px 0 70px;
}

.learn__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.learn-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.learn-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(81, 153, 255, 0.4));
}

.learn-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.learn-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ========== DOCUMENT ========== */
.document {
  padding: 30px 0 70px;
}

.document__card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px 40px;
}

.document__card h2 {
  margin: 0 0 18px;
  font-size: 32px;
  font-weight: 700;
  text-align: left;
}

.document__card p {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.document__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.document__visual img.main {
  width: min(100%, 340px);
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.4));
}

.document__visual img.badge {
  position: absolute;
  right: 8%;
  bottom: -8%;
  width: 120px;
  filter: drop-shadow(0 10px 20px rgba(81, 153, 255, 0.45));
}

/* ========== PROGRAM ========== */
.program {
  padding: 20px 0 70px;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}

.acc-item {
  background: #fff;
  color: #1a2646;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.acc-item__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  color: #1a2646;
}

.acc-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.25s;
}

.acc-item__icon svg {
  width: 14px;
  height: 14px;
}

.acc-item.is-open .acc-item__icon {
  transform: rotate(180deg);
}

.acc-item__body {
  display: none;
  padding: 0 18px 18px;
}

.acc-item.is-open .acc-item__body {
  display: block;
}

.acc-item__topics {
  background: #1a2646;
  color: #fff;
  border-radius: 12px;
  padding: 18px 22px;
}

.acc-item__topics li {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.45;
}

.acc-item__topics li:last-child {
  margin-bottom: 0;
}

/* ========== CONSULT ========== */
.consult {
  padding: 40px 0 70px;
}

.consult__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.consult__grid h2 {
  margin: 0 0 28px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}

.consult__visual img {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.4));
}

/* ========== HOWTO ========== */
.howto {
  position: relative;
  overflow: hidden;
  background: #121828;
  height: 745px;
}

.howto__stage {
  position: relative;
  width: 1440px;
  max-width: 100%;
  height: 745px;
  margin: 0 auto;
  overflow: hidden;
}

.howto__card-bg {
  position: absolute;
  left: 165px;
  top: 82px;
  width: 1110px;
  height: 570px;
  object-fit: fill;
  pointer-events: none;
  z-index: 2;
}

.howto__title {
  position: absolute;
  left: 195px;
  top: 122px;
  width: 288px;
  margin: 0;
  font-size: 30px;
  font-weight: 500;
  line-height: normal;
  color: #fff;
  z-index: 3;
}

.howto__illu {
  position: absolute;
  left: 122px;
  top: 234px;
  width: 360px;
  height: 291px;
  object-fit: contain;
  z-index: 3;
  pointer-events: none;
}

.howto-step {
  position: absolute;
  width: 350px;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  padding: 15px 25px 15px 15px;
  z-index: 3;
}

.howto-step--1 {
  left: 525px;
  top: 122px;
  height: 139px;
  background-image: url("https://tech.ucprofil.ru/maso-it/maso-main/img/howto-border-0.svg");
}

.howto-step--2 {
  left: 885px;
  top: 122px;
  height: 207px;
  background-image: url("https://tech.ucprofil.ru/maso-it/maso-main/img/howto-border-1.svg");
}

.howto-step--3 {
  left: 525px;
  top: 271px;
  height: 156px;
  background-image: url("https://tech.ucprofil.ru/maso-it/maso-main/img/howto-border-2.svg");
}

.howto-step--4 {
  left: 885px;
  top: 339px;
  height: 190px;
  background-image: url("https://tech.ucprofil.ru/maso-it/maso-main/img/howto-border-3.svg");
}

.howto-step--5 {
  left: 525px;
  top: 437px;
  height: 173px;
  background-image: url("https://tech.ucprofil.ru/maso-it/maso-main/img/howto-border-4.svg");
}

.howto-step__head {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  min-height: 50px;
}

.howto-step__num {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: #192545;
  color: #fff;
  font-size: 25px;
  font-weight: 500;
  display: grid;
  place-items: center;
  line-height: 1;
}

.howto-step__title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  color: #fff;
}

.howto-step--1 .howto-step__title { max-width: 236px; }
.howto-step--2 .howto-step__title { max-width: 207px; }
.howto-step--3 .howto-step__title { max-width: 101px; }
.howto-step--4 .howto-step__title { max-width: 190px; }
.howto-step--5 .howto-step__title { max-width: 110px; }

.howto-step__text {
  margin: 0;
  width: 300px;
  max-width: 100%;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  color: #fff;
}

.howto-step--2 .howto-step__text {
  margin-left: 3px;
}

.howto__btn {
  position: absolute;
  left: 884px;
  top: 538px;
  width: 350px;
  height: 71px;
  border: 0;
  border-radius: 20px;
  background: #5199ff;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s, box-shadow 0.2s;
}

.howto__btn:hover {
  background: #3d86ef;
  box-shadow: 0 8px 24px rgba(81, 153, 255, 0.35);
}

/* ========== ABOUT ========== */
.about {
  padding: 40px 0 70px;
  overflow: hidden;
}

.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
}

.about__grid h2 {
  margin: 0 0 18px;
  font-size: 36px;
  font-weight: 700;
  text-align: left;
}

.about__grid p {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

.about__grid p.lead {
  color: #fff;
  font-weight: 600;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.stat strong {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--blue-soft);
  margin-bottom: 6px;
}

.stat span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.about__person {
  position: relative;
  text-align: right;
}

.about__person img.photo {
  width: min(100%, 420px);
  margin-left: auto;
  border-radius: 20px;
  object-fit: cover;
}

.about__person-meta {
  position: absolute;
  right: 0;
  bottom: 24px;
  text-align: left;
  background: linear-gradient(90deg, transparent, rgba(18, 24, 40, 0.85) 20%);
  padding: 16px 8px 16px 40px;
  max-width: 220px;
}

.about__person-meta strong {
  display: block;
  font-size: 20px;
  margin-bottom: 4px;
}

.about__person-meta span {
  font-size: 13px;
  color: var(--text-muted);
}

.about__license {
  margin-top: 24px;
}

/* ========== TEACHERS ========== */
.teachers {
  padding: 50px 0 70px;
}

.teachers__title {
  margin-bottom: 25px;
  font-size: clamp(26px, 2.4vw, 30px);
  font-weight: 700;
  color: #fff;
}

.teachers__title span {
  color: #5199ff;
}

.teachers__lead {
  max-width: 1200px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  line-height: 1.55;
}

.teachers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.teacher-card {
  text-align: center;
}

.teacher-card__photo-wrap {
  width: 200px;
  height: 200px;
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
}

.teacher-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.teacher-card__name {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: #5199ff;
}

.teacher-card__bio {
  margin: 0;
  font-size: 14px;
  color: #fff;
  line-height: 1.55;
  text-align: center;
}

/* ========== B2B ========== */
.offers {
  padding: 20px 0 50px;
}

.offers__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.offer-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 240px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #152040 center / cover no-repeat;
  border: 1px solid var(--border);
}

.offer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 32, 0.25), rgba(10, 16, 32, 0.82));
}

.offer-card > * {
  position: relative;
  z-index: 1;
}

.offer-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
}

.offer-card p {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 15px;
}

/* ========== WHY ========== */
.why {
  padding: 40px 0 50px;
}

.why__layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.why-card--tall {
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
}

.why-card--tall .why-illu {
  margin-top: auto;
  padding-top: 20px;
}

.why-card--tall .why-illu img {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.why-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  text-align: left;
}

.why-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  text-align: left;
}

.why-card img.icon {
  display: block;
  width: 80px;
  height: 80px;
  margin-bottom: 14px;
  object-fit: contain;
}

.why-card--tall img.icon {
  width: 80px;
  height: 80px;
}

.why-banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.why-banner {
  display: grid;
  grid-template-columns: 1fr minmax(160px, 42%);
  gap: 12px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  min-height: 160px;
}

.why-banner h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  text-align: left;
}

.why-banner p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  text-align: left;
}

.why-banner img {
  width: 100%;
  max-width: 220px;
  margin-left: auto;
  filter: drop-shadow(0 8px 18px rgba(81, 153, 255, 0.3));
}

/* ========== REVIEWS ========== */
.reviews {
  padding: 40px 0 60px;
}

.reviews .section-title {
  margin-bottom: 8px;
}

.reviews__sub {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 28px;
}

.reviews__frame {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.review-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.review-card p {
  margin: 0 0 auto;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

.review-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 18px;
  margin-bottom: 8px;
}

.review-card__meta strong {
  font-size: 15px;
}

.review-card__meta span {
  font-size: 13px;
  color: var(--text-dim);
}

.stars {
  color: #ffd45a;
  letter-spacing: 2px;
  font-size: 14px;
}

/* ========== CTA ========== */
.cta {
  padding: 0;
  background: #121828;
}

.cta__stage {
  width: 1440px;
  max-width: 100%;
  height: 482px;
  margin: 0 auto;
  position: relative;
}

.cta__banner {
  position: absolute;
  left: 165px;
  top: 66px;
  width: 1110px;
  max-width: calc(100% - 48px);
  height: 330px;
  background: #192545;
  border-radius: 20px;
  overflow: hidden;
}

.cta__copy {
  position: absolute;
  left: 40px;
  top: 84px;
  z-index: 2;
  width: 445px;
  max-width: calc(100% - 80px);
}

.cta__banner h2 {
  margin: 0 0 23px;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.27;
  color: #fff;
  text-align: left;
}

.cta__btn {
  width: 291px;
  max-width: 100%;
  height: 50px;
  min-height: 50px;
  border-radius: 5px;
  background: #5199ff;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding: 0 16px;
}

.cta__btn:hover {
  background: #3d86ef;
}

.cta__illu {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: right center;
  pointer-events: none;
  z-index: 1;
}

/* ========== ARTICLES ========== */
.articles {
  padding: 30px 0 70px;
}

.articles .section-title {
  text-align: left;
  margin-bottom: 8px;
}

.articles__sub {
  margin: 0 0 28px;
  color: var(--text-muted);
}

.articles__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.article-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  align-items: start;
}

.article-card__thumb {
  width: 160px;
  height: 160px;
  border-radius: 14px;
  object-fit: cover;
  background: #0d1424;
}

.article-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(126, 182, 255, 0.18);
  color: var(--blue-soft);
  font-size: 12px;
  font-weight: 600;
}

.article-card__meta time {
  font-size: 13px;
  color: var(--text-dim);
}

.article-card h3 {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

/* ========== FOOTER ========== */
.footer {
  background: #151b2a;
  padding: 48px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}

.footer__logo img {
  height: 52px;
  margin-bottom: 16px;
}

.footer__sdo {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 14px;
}

.footer__sdo:hover {
  color: #fff;
}

.footer__socials {
  display: flex;
  gap: 10px;
}

.footer__socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.footer__socials img {
  width: 22px;
  height: 22px;
}

.footer__contacts p {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.footer__contacts strong {
  color: #fff;
}

.footer__phone-block h4 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}

.footer__phone {
  display: block;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
}

.footer__phone-note {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__bottom a {
  font-size: 13px;
  color: var(--text-dim);
}

.footer__bottom a:hover {
  color: #fff;
}

/* ========== COOKIE ========== */
.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: #fff;
  color: #1a2646;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2);
}

.cookie p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  max-width: 900px;
}

.cookie p a {
  color: var(--blue);
  text-decoration: underline;
}

.cookie__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie.is-hidden {
  display: none;
}

/* ========== MODAL ========== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  background: rgba(8, 12, 24, 0.72);
  padding: 20px;
}

.modal.is-open {
  display: grid;
}

.modal__dialog {
  width: min(100%, 440px);
  background: transparent;
  color: #1a2646;
  border-radius: 18px;
  padding: 28px 26px;
  position: relative;
}

.modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #121828;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.modal__close:hover {
  background: #5199ff;
}

.success-popup {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px 28px;
  text-align: center;
  box-shadow: var(--shadow);
}

.success-popup h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  color: #121828;
}

.success-popup p {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.5;
  color: #5a6478;
}

.success-popup .btn {
  width: 100%;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .salary__grid,
  .document__card,
  .consult__grid,
  .about__grid {
    grid-template-columns: 1fr;
  }

  .teachers__grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta__stage {
    width: 100%;
    height: auto;
    padding: 40px 16px;
  }

  .cta__banner {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 1110px;
    height: auto;
    min-height: 280px;
    margin: 0 auto;
    padding: 36px 28px;
  }

  .cta__banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      90deg,
      rgba(18, 24, 40, 0.88) 0%,
      rgba(18, 24, 40, 0.55) 48%,
      rgba(18, 24, 40, 0.2) 100%
    );
    pointer-events: none;
  }

  .cta__copy {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    max-width: 420px;
    z-index: 2;
  }

  .cta__illu {
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
  }

  .salary-card__photo {
    width: 36%;
    opacity: 0.9;
  }

  .why__layout {
    grid-template-columns: 1fr 1fr;
  }

  .why-card--tall {
    grid-row: auto;
  }

  .article-card {
    grid-template-columns: 120px 1fr;
  }

  .article-card__thumb {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 1480px) and (min-width: 981px) {
  .hero__stage {
    width: 100%;
    height: auto;
    aspect-ratio: 1440 / 801;
    transform-origin: top center;
  }

  .hero__title,
  .hero__illu,
  .hero__form,
  .hero__price-old,
  .hero__price-new,
  .hero__discount,
  .hero__note,
  .hero__features {
    /* keep absolute coords but scale via container aspect */
  }

  .hero__title { left: 11.18%; top: 21.1%; width: 37.78%; font-size: clamp(26px, 2.64vw, 38px); line-height: 1.26; }
  .hero__illu { left: 47.7%; top: 31.46%; width: 23.05%; height: auto; }
  .hero__form { left: 63.4%; top: 13.86%; width: 24.3%; height: auto; min-height: 56%; padding: 20px 24px 14px; }
  .hero__form h3 { font-size: clamp(20px, 1.94vw, 28px); line-height: 1.05; }
  .hero__price-wrap { inset: 0; }
  .hero__price-old { left: 13.47%; top: 59.55%; }
  .hero__price-new { left: 11.74%; top: 62.8%; font-size: clamp(20px, 1.74vw, 25px); }
  .hero__discount { left: 21.8%; top: 59.8%; width: 8.33%; min-width: 96px; height: auto; aspect-ratio: 120 / 55; }
  .hero__note { left: 11.25%; top: 69.9%; width: 40.7%; font-size: clamp(13px, 1.1vw, 16px); line-height: 1.45; }
  .hero__features { inset: 0; }
  .hero__features::before { left: 9.58%; right: 9.58%; top: 79.3%; }
  .hero__feature:nth-child(1) { left: 9.58%; top: 80.9%; }
  .hero__feature:nth-child(2) { left: 29.17%; top: 80.9%; }
  .hero__feature:nth-child(3) { left: 49.24%; top: 80.5%; }
  .hero__feature:nth-child(4) { left: 64.3%; top: 81.8%; }
  .hero__feature-text { font-size: clamp(16px, 1.74vw, 25px); line-height: 1.2; }
  .hero__feature-text--multi { font-size: clamp(14px, 1.4vw, 20px); }
}

@media (max-width: 900px) {
  .nav,
  .header__actions .phone-btn,
  .header__actions .social-round {
    display: none;
  }

  .burger {
    display: block;
  }

  .header.is-open .nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #121d3a;
    padding: 10px 0 20px;
  }

  .header.is-open .nav a {
    display: block;
    padding: 14px 24px;
  }

  .hero {
    padding-top: 24px;
  }

  .hero__stage {
    height: auto;
    aspect-ratio: auto;
    padding: 24px 16px 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }

  .hero__title,
  .hero__illu,
  .hero__form,
  .hero__price-old,
  .hero__price-new,
  .hero__discount,
  .hero__note,
  .hero__features {
    position: static;
    width: auto;
    height: auto;
    left: auto;
    top: auto;
    right: auto;
  }

  .hero__title {
    font-size: 26px;
    line-height: 1.3;
    order: 1;
    text-align: center;
    width: 100%;
  }

  .hero__illu {
    width: min(280px, 72%);
    margin: 0 auto;
    order: 2;
  }

  .hero__price-wrap {
    position: static;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 16px;
    width: auto;
    height: auto;
    order: 3;
  }

  .hero__price-old,
  .hero__price-new,
  .hero__discount {
    position: static;
    left: auto;
    top: auto;
  }

  .hero__discount {
    width: 120px;
    height: 55px;
  }

  .hero__note {
    order: 4;
    width: 100%;
    text-align: center;
  }

  .hero__form {
    order: 5;
    width: 100%;
    min-height: 0;
    height: auto;
  }

  .hero__features {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: auto;
    height: auto;
    order: 6;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 20px;
    margin-top: 8px;
    pointer-events: auto;
  }

  .hero__features::before {
    display: none;
  }

  .hero__feature {
    position: static;
    left: auto;
    top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .hero__feature-icon {
    width: 88px;
    height: 88px;
    flex-shrink: 0;
  }

  .hero__feature:nth-child(4) .hero__feature-icon {
    width: 88px;
    height: 88px;
  }

  .hero__feature-svg,
  .hero__feature-svg--cert,
  .hero__feature-svg--cal,
  .hero__feature-svg--mon {
    width: 52px;
    height: 52px;
  }

  .hero__feature-text,
  .hero__feature:nth-child(2) .hero__feature-text,
  .hero__feature:nth-child(3) .hero__feature-text,
  .hero__feature:nth-child(4) .hero__feature-text {
    margin-left: 0;
    font-size: 16px;
    line-height: 1.35;
    white-space: normal;
    text-align: center;
  }

  .hero__feature-text--multi {
    font-size: 15px;
    text-align: center;
  }

  .hero__glow {
    left: 10%;
    width: 80%;
  }

  .section-title,
  .audience .section-title,
  .learn .section-title,
  .program .section-title,
  .reviews .section-title,
  .articles .section-title,
  .why .section-title,
  .teachers .section-title {
    text-align: center;
  }

  .teacher-card__photo-wrap {
    width: 180px;
    height: 180px;
  }

  .reviews__sub,
  .articles__sub {
    text-align: center;
  }

  .salary__grid {
    grid-template-columns: 1fr;
  }

  .salary-card {
    min-height: 0;
    padding-bottom: 28px;
    text-align: center;
  }

  .salary-card h3 {
    text-align: center;
  }

  .salary-card__photo {
    display: none;
  }

  .salary-row {
    max-width: 100%;
    text-align: left;
  }

  .salary__copy h2,
  .salary__copy p,
  .salary__hint {
    text-align: center;
  }

  .document__card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .document__card h2,
  .document__card p {
    text-align: center;
  }

  .document__visual {
    margin: 12px auto 0;
  }

  .consult__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .consult__grid h2 {
    text-align: center;
  }

  .consult__grid .btn {
    margin-left: auto;
    margin-right: auto;
  }

  .consult__visual img {
    margin: 0 auto;
    display: block;
  }

  .about__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about__grid h2,
  .about__grid p {
    text-align: center;
  }

  .about__stats {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about__license {
    display: flex;
    justify-content: center;
  }

  .about__person {
    margin: 0 auto;
  }

  .offer-card {
    text-align: center;
    align-items: center;
    min-height: 220px;
    padding: 28px 22px;
  }

  .offer-card::before {
    background: linear-gradient(180deg, rgba(10, 16, 32, 0.55), rgba(10, 16, 32, 0.92));
  }

  .offer-card h3,
  .offer-card p {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  }

  .offer-card .btn {
    width: min(100%, 260px);
  }

  .why-banner {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 16px;
  }

  .why-banner h3,
  .why-banner p {
    text-align: left;
  }

  .why-banner img {
    width: min(200px, 70%);
    margin: 0 auto;
  }

  .why-card {
    text-align: left;
  }

  .why-card h3,
  .why-card p {
    text-align: left;
  }

  .why-card .icon {
    display: block;
    width: 96px;
    height: 96px;
    margin: 0 auto 16px;
  }

  .why-card--tall .icon {
    width: 96px;
    height: 96px;
  }

  .why-illu img {
    margin: 0 auto;
    display: block;
    max-width: 100%;
  }

  .cta__stage {
    width: 100%;
    height: auto;
    padding: 32px 16px;
  }

  .cta__banner {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 1110px;
    height: auto;
    min-height: 300px;
    margin: 0 auto;
    padding: 36px 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .cta__banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      180deg,
      rgba(18, 24, 40, 0.72) 0%,
      rgba(18, 24, 40, 0.88) 40%,
      rgba(18, 24, 40, 0.96) 100%
    );
    pointer-events: none;
  }

  .cta__copy {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
    z-index: 2;
    text-align: center;
  }

  .cta__banner h2 {
    font-size: 26px;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
  }

  .cta__btn {
    width: min(100%, 291px);
    margin: 0 auto;
    display: block;
  }

  .cta__illu {
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center right;
  }

  .audience__grid,
  .learn__grid,
  .offers__grid,
  .reviews__grid,
  .articles__grid,
  .teachers__grid,
  .why-banners,
  .footer__grid,
  .about__stats {
    grid-template-columns: 1fr;
  }

  .why__layout {
    grid-template-columns: 1fr;
  }

  .aud-card,
  .learn-card {
    text-align: left;
  }

  .aud-card img {
    display: block;
    width: 88px;
    height: 88px;
    margin: 0 auto 18px;
  }

  .aud-card h3,
  .aud-card p {
    text-align: left;
  }

  .learn-card {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .howto {
    height: auto;
  }

  .howto__stage {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 40px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: visible;
  }

  .howto__card-bg {
    display: none;
  }

  .howto__title,
  .howto__illu,
  .howto-step,
  .howto__btn {
    position: static;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
  }

  .howto__title {
    font-size: 28px;
    width: 100%;
    text-align: center;
  }

  .howto__illu {
    width: min(300px, 80%);
    height: auto;
    margin: 8px auto;
  }

  .howto-step {
    width: 100%;
    height: auto !important;
    padding: 16px 18px 18px;
    border-radius: 24px;
    background-image: none !important;
    background-color: #121828;
    border: 1px solid #5199ff;
    text-align: left;
  }

  .howto-step__title {
    max-width: none;
  }

  .howto-step__text {
    width: auto;
    margin-left: 0 !important;
  }

  .howto__btn {
    width: 100%;
    height: 56px;
    border-radius: 16px;
  }

  .salary-row {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .lead-form {
    padding: 22px 18px;
  }

  .document__card {
    padding: 24px 18px;
  }

  .cta__banner {
    padding: 28px 18px;
    min-height: 280px;
  }

  .cta__banner h2 {
    font-size: 22px;
  }

  .hero__features {
    gap: 14px;
  }

  .hero__feature-icon {
    width: 80px;
    height: 80px;
  }

  .hero__feature-svg,
  .hero__feature-svg--cert,
  .hero__feature-svg--cal,
  .hero__feature-svg--mon {
    width: 48px;
    height: 48px;
  }

  .aud-card img {
    width: 80px;
    height: 80px;
  }

  .why-card .icon {
    width: 88px;
    height: 88px;
  }

  .cookie {
    flex-direction: column;
    align-items: stretch;
  }

  .article-card {
    grid-template-columns: 1fr;
  }

  .article-card__thumb {
    width: 100%;
    height: 180px;
  }
}

/* Scale pixel artboard below 1440 without breaking absolute layout */
@media (max-width: 1439px) and (min-width: 981px) {
  .howto {
    height: calc(745 * 100vw / 1440);
  }

  .howto__stage {
    width: 1440px;
    height: 745px;
    max-width: none;
    transform: scale(calc(100vw / 1440));
    transform-origin: top center;
  }
}

/* ========== TILDA ISOLATION ========== */
#allrecords .maso-landing,
.t-rec .maso-landing,
.t396__artboard .maso-landing,
.maso-landing {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  background: var(--bg) !important;
  color: var(--text) !important;
  line-height: 1.5 !important;
  font-family: var(--maso-font) !important;
  text-align: left !important;
  float: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.maso-landing *,
.maso-landing *::before,
.maso-landing *::after {
  box-sizing: border-box !important;
}

.maso-landing h1,
.maso-landing h2,
.maso-landing h3,
.maso-landing h4,
.maso-landing h5,
.maso-landing h6,
.maso-landing p,
.maso-landing ul,
.maso-landing ol,
.maso-landing li,
.maso-landing figure,
.maso-landing blockquote,
.maso-landing button,
.maso-landing input,
.maso-landing textarea,
.maso-landing select,
.maso-landing label {
  font-family: var(--maso-font) !important;
}

.maso-landing h1,
.maso-landing h2,
.maso-landing h3,
.maso-landing h4,
.maso-landing h5,
.maso-landing h6,
.maso-landing p,
.maso-landing ul,
.maso-landing ol,
.maso-landing li,
.maso-landing figure,
.maso-landing blockquote {
  text-transform: none !important;
  letter-spacing: normal !important;
}

.maso-landing ul,
.maso-landing ol {
  list-style: none !important;
  padding-left: 0 !important;
}

.maso-landing img {
  max-width: 100% !important;
  height: auto !important;
  border: 0 !important;
  vertical-align: middle;
}

.maso-landing a {
  color: inherit !important;
  text-decoration: none !important;
}

.maso-landing button,
.maso-landing input:not([type="checkbox"]):not([type="radio"]),
.maso-landing textarea,
.maso-landing select {
  letter-spacing: normal !important;
  text-transform: none !important;
  text-shadow: none !important;
  font-family: var(--maso-font);
  appearance: none;
  -webkit-appearance: none;
}

.maso-landing input[type="checkbox"],
.maso-landing input[type="radio"] {
  appearance: auto !important;
  -webkit-appearance: auto !important;
  font-family: var(--maso-font);
  cursor: pointer;
}

.maso-landing .btn,
.maso-landing button.btn,
.maso-landing .hero__submit,
.maso-landing .howto__btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.maso-landing .lead-form input[type="text"],
.maso-landing .lead-form input[type="tel"],
.maso-landing .lead-form input[type="email"],
.maso-landing .hero__form input[type="text"],
.maso-landing .hero__form input[type="tel"],
.maso-landing .hero__form input[type="email"] {
  display: block !important;
  width: 100% !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.maso-landing .modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
}

.maso-landing .cookie {
  z-index: 99998 !important;
}
