/* Dedicated template: "Как начать работу". */

.page--how-to-start {
  background: var(--bg);
}

.page--how-to-start .how-to-start-page,
.page--how-to-start .how-to-start-page *,
.page--how-to-start .how-to-start-page *::before,
.page--how-to-start .how-to-start-page *::after {
  box-sizing: border-box;
}

.how-to-start-page {
  padding: 34px 0 86px;
  color: var(--text);
  background:
    radial-gradient(circle at 9% 3%, rgba(8, 118, 133, .09), transparent 28%),
    linear-gradient(180deg, var(--surface-soft) 0, var(--bg) 560px);
}

.how-to-start-page :where(section, article, div, nav, aside, header, figure, a, button, ul, ol, li, h1, h2, h3, p, img) {
  min-width: 0;
}

.how-to-start-page__container {
  display: grid;
  gap: 68px;
}

.how-to-start-page .breadcrumbs {
  margin: 0 0 -30px;
}

.how-to-start-page__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 12px;
  padding: 6px 13px;
  color: var(--accent-hover);
  background: rgba(8, 118, 133, .1);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.how-to-start-page__eyebrow--dark {
  color: #bdeef3;
  background: rgba(255, 255, 255, .08);
}

.how-to-start-page__section-head {
  display: grid;
  gap: 12px;
  max-width: 850px;
}

.how-to-start-page__section-head > .how-to-start-page__eyebrow {
  margin-bottom: 0;
}

.how-to-start-page__section-head > p {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.65;
  font-weight: 400;
}

.how-to-start-page__section-head--dark .how-to-start-page__title,
.how-to-start-page__section-head--dark > p {
  color: #fff;
}

.how-to-start-page__section-head--dark > p {
  color: rgba(255, 255, 255, .78);
}

.how-to-start-page__title {
  margin: 0;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: clamp(31px, 3.6vw, 48px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.035em;
}

.how-to-start-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  gap: clamp(34px, 5vw, 74px);
  align-items: center;
  min-height: 540px;
  padding: clamp(40px, 5vw, 68px);
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 8%, rgba(8, 118, 133, .18), transparent 32%),
    linear-gradient(145deg, #fff 0%, #f4f9fc 100%);
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(20, 61, 86, .1);
}

.how-to-start-hero__content {
  position: relative;
  z-index: 2;
}

.how-to-start-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: .99;
  font-weight: 700;
  letter-spacing: -.055em;
}

.how-to-start-hero__lead {
  max-width: 710px;
  margin: 24px 0 0;
  color: var(--text-muted);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.62;
  font-weight: 400;
}

.how-to-start-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.how-to-start-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 30px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.45;
}

.how-to-start-hero__facts span {
  position: relative;
  padding-left: 18px;
}

.how-to-start-hero__facts span::before {
  position: absolute;
  top: .48em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(8, 118, 133, .1);
  content: "";
}

.how-to-start-hero__visual {
  display: grid;
  min-height: 390px;
  place-items: center;
}

.how-to-start-hero__image {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  border-radius: 22px;
}

.how-to-start-route {
  position: relative;
  width: min(100%, 470px);
  padding: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 8%, rgba(18, 191, 216, .28), transparent 30%),
    linear-gradient(145deg, #10395e 0%, #071f35 100%);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(5, 28, 48, .25);
}

.how-to-start-route__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px;
  font-weight: 600;
}

.how-to-start-route__head i {
  width: 10px;
  height: 10px;
  background: #45d1c5;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(69, 209, 197, .12);
}

.how-to-start-route ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 18px 0;
  list-style: none;
}

.how-to-start-route li {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 68px;
}

.how-to-start-route li:not(:last-child)::after {
  position: absolute;
  top: 48px;
  bottom: -20px;
  left: 23px;
  width: 1px;
  background: rgba(255, 255, 255, .18);
  content: "";
}

.how-to-start-route li b {
  position: relative;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #0a385e;
  background: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}

.how-to-start-route li span {
  color: rgba(255, 255, 255, .9);
  font-size: 16px;
  font-weight: 600;
}

.how-to-start-route__result {
  display: grid;
  gap: 5px;
  padding: 18px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
}

.how-to-start-route__result strong {
  font-size: 16px;
  font-weight: 600;
}

.how-to-start-route__result span {
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  line-height: 1.45;
}

.how-to-start-process {
  display: grid;
  gap: 34px;
}

.how-to-start-process__grid {
  display: grid;
  gap: 14px;
}

.how-to-start-step {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  padding: 26px 30px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(25, 67, 92, .055);
}

.how-to-start-step > span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--primary-hover);
  background: var(--primary-soft);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
}

.how-to-start-step h3 {
  margin: 2px 0 8px;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: clamp(20px, 1.8vw, 25px);
  line-height: 1.2;
  font-weight: 700;
}

.how-to-start-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.62;
  font-weight: 400;
}

.how-to-start-preparation {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 28px;
  align-items: stretch;
}

.how-to-start-preparation__content {
  padding: clamp(30px, 4vw, 48px);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 24px;
}

.how-to-start-preparation__content > p {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.65;
}

.how-to-start-preparation__content ul,
.how-to-start-roles ul {
  display: grid;
  gap: 13px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.how-to-start-preparation__content li,
.how-to-start-roles li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}

.how-to-start-preparation__content li::before,
.how-to-start-roles li::before {
  position: absolute;
  top: .24em;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  content: "✓";
}

.how-to-start-preparation__note {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: clamp(28px, 4vw, 44px);
  color: #fff;
  background:
    radial-gradient(circle at 90% 8%, rgba(8, 118, 133, .3), transparent 35%),
    linear-gradient(145deg, #10395e, #08243c);
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(7, 31, 52, .16);
}

.how-to-start-preparation__note > span {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #08243c;
  background: #fff;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 700;
}

.how-to-start-preparation__note h3 {
  margin: 2px 0 10px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
}

.how-to-start-preparation__note p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  line-height: 1.65;
}

.how-to-start-formats {
  display: grid;
  gap: 32px;
}

.how-to-start-formats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.how-to-start-format-card {
  display: flex;
  flex-direction: column;
  min-height: 350px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(25, 67, 92, .065);
}

.how-to-start-format-card > span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 26px;
  color: var(--accent-hover);
  font-size: 14px;
  font-weight: 700;
}

.how-to-start-format-card h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1.15;
  font-weight: 700;
}

.how-to-start-format-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.62;
}

.how-to-start-format-card strong {
  display: block;
  margin-top: auto;
  padding-top: 24px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}

.how-to-start-format-card button {
  width: fit-content;
  margin-top: 18px;
  padding: 0;
  color: var(--primary-hover);
  background: transparent;
  border: 0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.how-to-start-format-card button:hover,
.how-to-start-format-card button:focus-visible {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.how-to-start-roles {
  display: grid;
  gap: 32px;
  padding: clamp(34px, 5vw, 58px);
  color: #fff;
  background:
    radial-gradient(circle at 90% 5%, rgba(8, 118, 133, .25), transparent 30%),
    linear-gradient(145deg, #10395e, #071f35);
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(7, 31, 52, .17);
}

.how-to-start-roles__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.how-to-start-roles__grid > div {
  padding: 28px;
  background: rgba(255, 255, 255, .065);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
}

.how-to-start-roles h3 {
  margin: 0;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 23px;
  font-weight: 700;
}

.how-to-start-roles li {
  color: rgba(255, 255, 255, .82);
}

.how-to-start-roles li::before {
  color: #08243c;
  background: #fff;
}

.how-to-start-editor {
  max-width: 980px;
  padding: clamp(28px, 4vw, 46px);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
}

.how-to-start-editor > :first-child {
  margin-top: 0;
}

.how-to-start-editor > :last-child {
  margin-bottom: 0;
}

.how-to-start-manager {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: clamp(30px, 4vw, 48px);
  background: linear-gradient(135deg, #fff, #f3f9fc);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
}

.how-to-start-manager__content > p {
  max-width: 820px;
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
}

.how-to-start-manager__person {
  display: grid;
  grid-template-columns: 76px minmax(160px, 1fr);
  align-items: center;
  gap: 16px;
  min-width: 300px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(25, 67, 92, .06);
}

.how-to-start-manager__photo,
.how-to-start-manager__placeholder {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
}

.how-to-start-manager__placeholder {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--primary), var(--accent-hover));
  font-size: 18px;
  font-weight: 700;
}

.how-to-start-manager__person strong,
.how-to-start-manager__person span {
  display: block;
}

.how-to-start-manager__person strong {
  color: var(--text);
  font-size: 16px;
  line-height: 1.3;
  font-weight: 600;
}

.how-to-start-manager__person div > span {
  margin-top: 5px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.45;
}

.how-to-start-related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.how-to-start-related a {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 24px 52px 24px 24px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.how-to-start-related a:hover,
.how-to-start-related a:focus-visible {
  border-color: rgba(8, 118, 133, .38);
  box-shadow: 0 16px 34px rgba(25, 67, 92, .08);
  transform: translateY(-2px);
}

.how-to-start-related strong {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.how-to-start-related span {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}

.how-to-start-related i {
  position: absolute;
  top: 22px;
  right: 22px;
  color: var(--accent-hover);
  font-size: 22px;
  font-style: normal;
}

.how-to-start-faq {
  display: grid;
  gap: 30px;
  padding: clamp(34px, 5vw, 58px);
  color: #fff;
  background: linear-gradient(145deg, #10395e, #071f35);
  border-radius: 26px;
}

.how-to-start-faq__list {
  display: grid;
  gap: 10px;
}

.how-to-start-faq__item {
  overflow: hidden;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 15px;
}

.how-to-start-faq__item summary {
  position: relative;
  display: block;
  padding: 20px 64px 20px 22px;
  color: #fff;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.how-to-start-faq__item summary::-webkit-details-marker {
  display: none;
}

.how-to-start-faq__item summary > span,
.how-to-start-faq__item summary > span::after {
  position: absolute;
  top: 50%;
  right: 23px;
  width: 16px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transform: translateY(-50%);
  content: "";
}

.how-to-start-faq__item summary > span::after {
  top: 1px;
  right: 0;
  transform: rotate(90deg);
  transition: transform .18s ease;
}

.how-to-start-faq__item[open] summary > span::after {
  transform: rotate(0);
}

.how-to-start-faq__item > div {
  padding: 0 22px 22px;
  color: rgba(255, 255, 255, .76);
  font-size: 15px;
  line-height: 1.65;
}

.how-to-start-faq__item > div > :first-child {
  margin-top: 0;
}

.how-to-start-faq__item > div > :last-child {
  margin-bottom: 0;
}

.how-to-start-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: clamp(34px, 5vw, 54px);
  color: #fff;
  background:
    radial-gradient(circle at 88% 4%, rgba(8, 118, 133, .28), transparent 33%),
    linear-gradient(145deg, #10395e, #071f35);
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(7, 31, 52, .16);
}

.how-to-start-cta h2 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.035em;
}

.how-to-start-cta p {
  max-width: 800px;
  margin: 15px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 16px;
  line-height: 1.62;
}

.how-to-start-cta .btn {
  min-width: 190px;
}

@media (max-width: 1180px) {
  .how-to-start-page__container {
    gap: 58px;
  }

  .how-to-start-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .how-to-start-hero__visual {
    min-height: 0;
  }

  .how-to-start-route {
    width: min(100%, 650px);
  }

  .how-to-start-preparation,
  .how-to-start-manager {
    grid-template-columns: 1fr;
  }

  .how-to-start-manager__person {
    width: min(100%, 430px);
    min-width: 0;
  }
}

@media (max-width: 900px) {
  .how-to-start-formats__grid,
  .how-to-start-related {
    grid-template-columns: 1fr;
  }

  .how-to-start-format-card {
    min-height: 0;
  }

  .how-to-start-roles__grid {
    grid-template-columns: 1fr;
  }

  .how-to-start-cta {
    grid-template-columns: 1fr;
  }

  .how-to-start-cta .btn {
    width: fit-content;
  }
}

@media (max-width: 760px) {
  .how-to-start-page {
    padding: 26px 0 64px;
  }

  .how-to-start-page__container {
    gap: 46px;
  }

  .how-to-start-page .breadcrumbs {
    margin-bottom: -20px;
  }

  .how-to-start-hero {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .how-to-start-hero h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .how-to-start-hero__actions {
    display: grid;
  }

  .how-to-start-hero__actions .btn {
    width: 100%;
  }

  .how-to-start-hero__facts {
    display: grid;
  }

  .how-to-start-route {
    padding: 20px;
    border-radius: 18px;
  }

  .how-to-start-step {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 15px;
    padding: 20px 18px;
  }

  .how-to-start-step > span {
    width: 46px;
    height: 46px;
  }

  .how-to-start-preparation {
    gap: 16px;
  }

  .how-to-start-preparation__content,
  .how-to-start-preparation__note,
  .how-to-start-roles,
  .how-to-start-faq,
  .how-to-start-cta,
  .how-to-start-manager {
    padding: 26px 20px;
    border-radius: 20px;
  }

  .how-to-start-preparation__note {
    display: grid;
  }

  .how-to-start-formats__grid {
    gap: 14px;
  }

  .how-to-start-format-card {
    padding: 24px 20px;
  }

  .how-to-start-roles__grid > div {
    padding: 22px 18px;
  }

  .how-to-start-manager__person {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .how-to-start-manager__photo,
  .how-to-start-manager__placeholder {
    width: 62px;
    height: 62px;
  }

  .how-to-start-related a {
    min-height: 0;
  }

  .how-to-start-cta .btn {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .how-to-start-page__title {
    font-size: 29px;
  }

  .how-to-start-step {
    grid-template-columns: 1fr;
  }

  .how-to-start-step > span {
    width: 44px;
    height: 44px;
  }

  .how-to-start-route li {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .how-to-start-route li b {
    width: 42px;
    height: 42px;
  }

  .how-to-start-route li:not(:last-child)::after {
    top: 43px;
    left: 20px;
  }

  .how-to-start-manager__person {
    grid-template-columns: 1fr;
  }
}
