/* Версия 2: крупный текст, пять самостоятельных видео и большие материалы. */
body {
  font-size: 20px;
  line-height: 1.65;
}
.container {
  width: min(1320px, calc(100% - 64px));
}
.section {
  padding: 64px 0;
}
h2 {
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.2;
}
.section-kicker {
  font-size: 14px;
  margin-bottom: 16px;
}
.section-heading {
  max-width: 1060px;
  margin-bottom: 38px;
}
.section-heading > p:last-child {
  font-size: 20px;
  line-height: 1.65;
}
.button {
  min-height: 58px;
  padding: 16px 30px;
  font-size: 18px;
}
.button-small {
  min-height: 47px;
  padding: 12px 20px;
  font-size: 15px;
}
.main-navigation a {
  font-size: 15px;
}
.auth-bar {
  font-size: 13px;
}
.eyebrow {
  font-size: 14px;
}
h1 {
  font-size: clamp(38px, 3.5vw, 52px);
  line-height: 1.15;
}
.hero-description {
  font-size: 20px;
  max-width: 760px;
}
.hero-note {
  font-size: 14px;
  line-height: 1.6;
}
.video-link {
  font-size: 16px;
}
.floating-document {
  width: 157px;
  font-size: 15px;
}
.character-label {
  font-size: 14px;
}
.character-label strong {
  font-size: 16px;
}

/* Каждый шаг: заголовок, текст, видео на всю ширину и своя заявка. */
.step-navigation {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(142px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}
.step-navigation a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d7e3df;
  border-radius: 10px;
  color: #234e46;
  background: #f2f8f6;
  font-size: 16px;
  font-weight: 650;
  text-decoration: none;
}
.step-navigation a:hover {
  background: #e0f0ea;
}
.step-navigation a span {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  height: 32px;
  border-radius: 50%;
  background: #d9ede6;
  font-size: 13px;
}
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.steps-list .step {
  --takeaway-bg: #e3f2eb;
  --takeaway-color: #174f42;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding: 36px;
  border: 1px solid #e3e9ed;
  border-top: 6px solid var(--takeaway-color);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--takeaway-bg), #fff 220px);
}
.steps-list .step::before {
  display: none;
}
.step-main {
  width: 100%;
  min-width: 0;
}
.step-heading {
  display: flex;
  align-items: center;
  gap: 20px;
}
.steps-list .step-number {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  color: #fff;
  background: var(--takeaway-color);
  font-weight: 700;
  font-size: 22px;
}
.steps-list .step h3 {
  margin: 0;
  font-size: clamp(27px, 2.6vw, 36px);
  line-height: 1.25;
  letter-spacing: -.02em;
}
.steps-list .step-main > p {
  margin: 20px 0 0;
  font-size: 20px;
  line-height: 1.65;
}
.step-takeaway {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  border-left: 4px solid var(--takeaway-color);
  border-radius: 10px;
  color: var(--takeaway-color);
  background: var(--takeaway-bg);
}
#step-2.step {
  --takeaway-bg: #e4effa;
  --takeaway-color: #224e77;
}
#step-3.step {
  --takeaway-bg: #ece9fa;
  --takeaway-color: #4c3977;
}
#step-4.step {
  --takeaway-bg: #fcf0da;
  --takeaway-color: #754618;
}
#step-5.step {
  --takeaway-bg: #fae9e7;
  --takeaway-color: #783631;
}
.step-takeaway-key span {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 700;
}
.step-takeaway-key strong {
  display: block;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.15;
  letter-spacing: -.025em;
}
.step-takeaway p {
  margin: 0;
  font-size: 19px;
  line-height: 1.55;
}
.step-next {
  justify-self: end;
  margin-top: -10px;
  color: #245e51;
  font-size: 16px;
  font-weight: 650;
  text-underline-offset: 4px;
}
.step-video {
  min-width: 0;
  width: 100%;
  align-self: start;
}
.step-video-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #d5e5df;
  border-radius: 12px;
  background: #e0eee9;
}
.step-video-poster {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: linear-gradient(125deg, #f9fbfa, var(--takeaway-bg));
}
#step-2 .video-poster-sheet {
  left: auto;
  right: 8%;
  transform: rotate(2deg);
}
#step-2 .video-poster-avatar {
  left: 0;
  right: auto;
}
#step-3 .video-poster-sheet {
  transform: rotate(-1deg);
}
#step-4 .video-poster-sheet {
  transform: rotate(1deg);
}
.video-poster-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 18px;
  color: #335d54;
  font-size: 14px;
  font-weight: 600;
}
.video-poster-sheet {
  position: absolute;
  top: 52px;
  left: 24px;
  width: 62%;
  height: 80%;
  overflow: hidden;
  padding: 10px;
  border: 1px solid #e0e5e3;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 7px 18px #25473715;
  transform: rotate(-3deg);
}
.video-poster-sheet img {
  width: 100%;
  height: auto;
}
.video-poster-avatar {
  position: absolute;
  right: 0;
  bottom: -10px;
  width: 35%;
  height: auto;
}
.video-poster-title {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 13px 20px;
  color: #fff;
  background: #243c50ed;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}
.step-video-play {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  padding: 0;
  border: 5px solid #ffffffa6;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  box-shadow: 0 5px 18px #163e3b22;
  transform: translate(-50%, -50%);
  font-size: 26px;
  text-indent: 4px;
}
.step-video-play:disabled {
  background: #638c80;
}
.step-video-element {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #152b39;
  object-fit: contain;
}
.step-video-element[hidden],
.step-video-poster[hidden],
.step-video-play[hidden] {
  display: none;
}
.step-video h4 {
  margin: 18px 0 8px;
  font-size: 22px;
  line-height: 1.35;
}
.step-video-note {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}
.step-request {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid #d7e3df;
}
.step-request-copy {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
}
.step-request-copy strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}
.step-request-copy span {
  display: block;
  color: var(--muted);
}
.step-request .button {
  min-height: 56px;
  font-size: 18px;
  flex-shrink: 0;
}

/* Рекомендация и пример разбора в одном блоке. */
.recommendation-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid #dbe8e6;
  border-radius: 16px;
  background: #f1f7f6;
}
.recommendation-copy h2 {
  margin-bottom: 20px;
}
.recommendation-copy > p:not(.section-kicker) {
  margin-bottom: 18px;
  font-size: 19px;
  line-height: 1.6;
}
.recommendation-copy .check-list {
  display: grid;
  gap: 12px;
}
.recommendation-copy .check-list li {
  padding-left: 25px;
  font-size: 18px;
  line-height: 1.5;
}
.recommendation-example {
  min-width: 0;
  margin: 0;
}
.recommendation-example figcaption {
  margin-bottom: 12px;
  color: #365950;
  font-size: 16px;
  font-weight: 700;
}
.recommendation-preview {
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d0e2e5;
  border-radius: 12px;
  color: #214e45;
  background: #fff;
  box-shadow: 0 10px 24px #233e4610;
  text-align: left;
}
.recommendation-preview img {
  display: block;
  width: 100%;
  height: auto;
}
.recommendation-preview > span {
  display: block;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Акция в ноябре. */
.november-offer:not([hidden]) {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  align-items: center;
  gap: 22px 36px;
  margin-bottom: 28px;
  padding: clamp(22px, 4vw, 45px);
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(120deg, #a90c31, #d61c3d 58%, #f23b34);
  box-shadow: 0 16px 34px #b9143030;
}
.november-offer p {
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 1.45;
}
.november-offer strong {
  display: block;
  margin: 5px 0 8px;
  font-size: clamp(32px, 4.5vw, 62px);
  line-height: 1.06;
  letter-spacing: -.04em;
}
.november-offer .november-offer-label {
  color: #fff1bd;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.november-offer-action .button {
  margin-top: 14px;
  color: #a10a2a;
  background: #fff;
}
.tariff-before:not([hidden]) {
  display: block;
  margin-bottom: 6px;
  color: #506176;
  font-size: clamp(22px, 2.2vw, 31px);
  font-weight: 650;
  text-decoration-thickness: 2px;
}
.tariff-featured [data-price="standard"] {
  color: #bb1739;
}
.november-price-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.tariff {
  padding: 34px 28px 28px;
}
.tariff-featured {
  padding: 33px 27px 27px;
}
.tariff-product {
  font-size: 15px;
}
.tariff h3 {
  font-size: 34px;
}
.tariff-badge {
  font-size: 14px;
}
.tariff .check-list li {
  padding-left: 26px;
  font-size: 17px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.tariff-price strong {
  font-size: 35px;
}
.tariff-price .individual-price {
  font-size: 29px;
}
.tariff-price > span {
  font-size: 15px;
}
.tariff .button {
  min-height: 58px;
  font-size: 18px;
}
.tariff-details summary {
  font-size: 18px;
}
.tariff-details table {
  font-size: 16px;
  line-height: 1.6;
}
.request-section {
  padding: 60px 0;
}
.request-copy h2 {
  font-size: 42px;
}
.request-copy > p:last-child {
  font-size: 20px;
}
.lead-form > label:not(.consent) {
  margin-bottom: 8px;
  font-size: 16px;
}
.lead-form > input:not([type='hidden']) {
  min-height: 54px;
  margin-bottom: 20px;
  font-size: 18px;
}
.consent {
  font-size: 14px;
}
.selected-tariff,
.form-feedback {
  font-size: 16px;
}
.footer-inner {
  font-size: 14px;
}
.cookie-notice p {
  font-size: 14px;
}
.dialog-heading h2 {
  font-size: 24px;
}
.document-dialog {
  width: 1000px;
}
.document-dialog > .text-link {
  font-size: 18px;
}

@media (max-width: 1100px) {
  .container {
    width: calc(100% - 48px);
  }
  h1 {
    font-size: 40px;
  }
  .hero-description {
    font-size: 19px;
  }
  .main-navigation {
    gap: 17px;
  }
  .main-navigation a {
    font-size: 13px;
  }
  .steps-list .step {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .tariff {
    padding-inline: 20px;
  }
  .tariff-featured {
    padding-inline: 19px;
  }
  .tariff .check-list li {
    font-size: 16px;
  }
}
@media (max-width: 820px) {
  .container {
    width: calc(100% - 36px);
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-copy {
    padding-bottom: 0;
  }
  .hero-art {
    width: 100%;
    min-height: 390px;
    margin-top: 15px;
  }
  .hero-halo {
    top: 30px;
    left: calc(50% - 175px);
    width: 350px;
  }
  .hero-character {
    width: 320px;
    left: calc(50% - 180px);
  }
  .floating-document-one {
    top: 40px;
    right: calc(50% - 205px);
    width: 150px;
  }
  .floating-document-two {
    top: 205px;
    right: calc(50% - 220px);
    width: 145px;
  }
  .character-label {
    bottom: 12px;
    right: calc(50% - 170px);
  }
  .character-label strong {
    font-size: 15px;
  }
  .section {
    padding: 44px 0;
  }
  .steps-list .step {
    padding: 28px;
  }
  .tariffs-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .tariff {
    padding: 30px;
  }
  .tariff-featured {
    padding: 29px;
  }
  .tariff .check-list li {
    font-size: 18px;
  }
  .request-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .request-copy > p:last-child {
    max-width: none;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 18px;
  }
  .container {
    width: calc(100% - 32px);
  }
  h1 {
    font-size: clamp(29px, 7.8vw, 39px);
  }
  h2 {
    font-size: 30px;
  }
  .section-kicker {
    font-size: 13px;
  }
  .section-heading > p:last-child {
    font-size: 18px;
  }
  .eyebrow {
    font-size: 11px;
  }
  .hero-description {
    font-size: 18px;
  }
  .hero-actions .button {
    font-size: 17px;
    min-height: 55px;
  }
  .hero-note {
    font-size: 13px;
  }
  .video-link {
    font-size: 14px;
  }
  .hero-art {
    min-height: 350px;
  }
  .hero-character {
    width: 285px;
    left: calc(50% - 155px);
  }
  .hero-halo {
    width: 305px;
    left: calc(50% - 152px);
  }
  .floating-document {
    font-size: 12px;
  }
  .floating-document-one {
    right: calc(50% - 158px);
    width: 112px;
  }
  .floating-document-two {
    right: calc(50% - 164px);
    top: 185px;
    width: 112px;
  }
  .character-label {
    right: calc(50% - 147px);
    font-size: 12px;
  }
  .character-label strong {
    font-size: 13px;
  }
  .steps-list {
    gap: 24px;
  }
  .steps-list .step {
    padding: 22px 18px;
    gap: 24px;
  }
  .step-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .steps-list .step-number {
    width: 46px;
    height: 46px;
    font-size: 19px;
  }
  .steps-list .step h3 {
    font-size: 27px;
  }
  .steps-list .step-main > p {
    font-size: 18px;
  }
  .step-video {
    width: 100%;
    margin: 0;
  }
  .step-video-play {
    width: 58px;
    height: 58px;
    font-size: 21px;
  }
  .video-poster-top {
    padding: 9px 10px;
    font-size: 11px;
  }
  .video-poster-sheet {
    top: 37px;
    left: 12px;
    padding: 5px;
  }
  .video-poster-title {
    padding: 9px 12px;
    font-size: 13px;
  }
  .step-video h4 {
    font-size: 20px;
  }
  .step-video-note {
    font-size: 15px;
  }
  .step-request {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    padding-top: 20px;
  }
  .step-request-copy {
    font-size: 18px;
  }
  .step-request .button {
    width: 100%;
    font-size: 17px;
  }
  .tariff {
    padding: 27px 23px;
  }
  .tariff-featured {
    padding: 26px 22px;
  }
  .tariff-product {
    font-size: 14px;
  }
  .tariff h3 {
    font-size: 32px;
  }
  .tariff .check-list li {
    font-size: 17px;
  }
  .tariff-price strong {
    font-size: 34px;
  }
  .tariff-price .individual-price {
    font-size: 27px;
  }
  .tariff .button {
    font-size: 17px;
  }
  .tariff-details summary {
    font-size: 17px;
  }
  .tariff-details table {
    min-width: 740px;
    font-size: 15px;
  }
  .request-section {
    padding: 42px 0;
  }
  .request-copy h2 {
    font-size: 32px;
  }
  .request-copy > p:last-child {
    font-size: 18px;
  }
  .lead-form > label:not(.consent) {
    font-size: 16px;
  }
  .lead-form > input:not([type='hidden']) {
    font-size: 17px;
  }
  .consent {
    font-size: 13px;
  }
  .footer-inner,
  .cookie-notice p {
    font-size: 13px;
  }
  .dialog-heading h2 {
    font-size: 21px;
  }
}
@media (prefers-reduced-motion: reduce) {
}

/* Узкий телефон: длинные русские слова остаются внутри экрана. */
@media (max-width: 360px) {
  h2 {
    font-size: 29px;
  }
  .hero-character {
    left: calc(50% - 132px);
  }
  .floating-document-one {
    right: 7px;
  }
  .floating-document-two {
    right: 5px;
  }
  .tariff-price .individual-price {
    font-size: 22px;
  }
}

@media (max-width: 900px) {
  .recommendation-panel {
    grid-template-columns: minmax(0, 1fr);
  }
  .recommendation-example {
    width: min(100%, 620px);
  }
  .step-navigation {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .step-navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .step-navigation a {
    gap: 8px;
    padding: 9px;
    font-size: 14px;
  }
  .step-navigation a span {
    flex-basis: 26px;
    height: 26px;
    font-size: 12px;
  }
  .step-takeaway {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 18px;
  }
  .step-takeaway p,
  .recommendation-copy .check-list li {
    font-size: 17px;
  }
  .step-next {
    justify-self: start;
  }
  .recommendation-panel {
    padding: 20px 16px;
  }
  .recommendation-copy > p:not(.section-kicker) {
    font-size: 18px;
  }
  .november-offer:not([hidden]) {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px;
  }
}

.recommendation-slider {
  min-width: 0;
}
.recommendation-preview img {
  height: clamp(190px, 24vw, 320px);
  object-fit: contain;
  background: #edf5fb;
}
.recommendation-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 14px;
  color: #34564c;
  font-weight: 700;
}
.recommendation-controls button {
  width: 46px;
  height: 46px;
  border: 1px solid #b8d2cb;
  border-radius: 50%;
  color: #214e45;
  background: #fff;
  font: inherit;
}
.recommendation-controls button:hover {
  background: #e0f1e9;
}
.cookie-notice {
  width: min(710px, calc(100% - 24px));
  max-width: none;
}
.cookie-notice p {
  font-size: 13px;
  line-height: 1.5;
}
.year-end-exit {
  position: fixed;
  width: min(760px, calc(100vw - 32px));
  max-height: 90vh;
  padding: clamp(24px, 4vw, 42px);
  overflow: auto;
  background: linear-gradient(135deg, #f5fbf9, #fff);
}
.year-end-exit[open] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: center;
  gap: 26px;
}
.year-end-exit .dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
}
.year-end-exit-avatar {
  width: 100%;
  max-width: 210px;
  border-radius: 16px;
}
.year-end-exit-copy h2 {
  margin: 8px 0 16px;
}
.year-end-exit-copy p {
  margin-bottom: 12px;
  font-size: 18px;
}
.year-end-exit-copy .section-kicker {
  font-size: 14px;
}
@media (max-width: 640px) {
  .year-end-exit[open] {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .year-end-exit-avatar {
    width: 92px;
  }
  .cookie-notice {
    align-items: flex-start;
    flex-direction: column;
  }
  .cookie-notice p {
    font-size: 12px;
  }
}
