﻿@import url("./fonts.css");
*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  border: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color:#ff335c;
}
a:hover {
  color:#ffffff;
}

img {
  vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  font-size: inherit;
}

:root {
  --text-primary: #ffffff;
  --text-link: #1071f2;

  --text-link-after: var(--color-blue);

  --bg-primary: #121212;
  --bg-secondary: #51008f;
  --header-bg: #1a1a1a;
  
  --color-blue-btn: #428bca;
  --color-blue-btn-hover: #1170ff;
  --color-red-btn: #f23e71;
  --color-red-btn-hover: #ef2019;
  --color-green-btn: #7eac2f;
  --color-green-btn-hover: #93c738;
  --color-white: #fff;
  --color-blue: #276aa5;

  --table-bg: #e5e5e5;
  --table-border: #c0c0c0;
}

html,
body {
  height: 100%;
  line-height: 1;
  font-size: 16px;
  color: var(--color-white);
  font-weight: 400;
  font-family: Montserrat, "sans-serif";
  background: var(--bg-primary);
  position: relative;
}

html {
  scroll-behavior: smooth;
}

/* ---------------------------------------- */

.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

._container {
  max-width: 1610px;
  padding: 0px 15px;
  margin: 0 auto;
  box-sizing: content-box;
}

/*       Header        */

.header {
  background: var(--header-bg);
  position: relative;
}
.header__container {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
@media (max-width: 1243px) {
  .header__container {
    padding: 0 20px;
  }
}

.header__body {
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
  position: relative;
}

@media (max-width: 1243px) {
  .header__body {
    flex-wrap: wrap;
    text-align: center;
  }
  .header__actions {
    align-items: center;
    justify-content: center;
  }
}

.header__logo-img {
  max-height: 25px;
  height: auto;
  width: auto;
  object-fit: contain;
}
.header__nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
}
.header__list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.header__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.header__link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.header__item:hover .header__link {
  color: #ffffff;
}

@media (max-width: 1024px) {
  .header__body {
    position: static;
  }
  .main-nav {
    margin: 0;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 12px 16px 16px;
    background: linear-gradient(180deg, #1f1f1f 0%, #161616 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 250ms ease;
    z-index: 999;
  }

  .main-nav.active {
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    padding: 0;
    gap: 8px;
  }

  .header__nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    transform: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .header__list {
    width: 100%;
    flex-direction: row;
    align-items: stretch;
    gap: 8px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
  }

  .header__item {
    min-width: 0;
  }

  .header__link {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #121212;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  .header__link:hover,
.header__item:hover .header__link {
    color: #ffffff;
    border-color: rgba(255, 51, 92, 0.7);
    background: rgba(255, 51, 92, 0.12);
  }
}

.select-lang {
  position: relative;
  flex-shrink: 0;
  z-index: 40;
  user-select: none;
}

.select-lang__selected {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid #333333;
  background: #121212;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.select-lang__selected span {
  text-transform: uppercase;
}

.select-lang__selected::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #ffffff;
  border-bottom: 1.5px solid #ffffff;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
  opacity: 0.85;
}

.select-lang:hover .select-lang__selected,
.select-lang._active .select-lang__selected {
  border-color: #ff335c;
  background: #1f1f1f;
}

.select-lang._active .select-lang__selected::after {
  transform: rotate(225deg) translateY(-1px);
}

.select-lang__options-list {
  list-style: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  margin: 0;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid #2c2c2c;
  background: #151515;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 50;
}

.select-lang._active .select-lang__options-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.select-lang__option {
  margin: 0;
  padding: 0;
}

.select-lang__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.select-lang__link span {
  color: inherit;
}

.select-lang__link em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #9a9a9a;
}

.select-lang__link:hover {
  background: #242424;
  color: #ffffff;
}

.select-lang__option.is-current .select-lang__link {
  background: rgba(255, 51, 92, 0.12);
  color: #ffffff;
}

.select-lang__option.is-current .select-lang__link em {
  color: #ff335c;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.header__sign {
  border-radius: 10px; /* левая сторона более круглая */
  background-color: #ff335c;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  padding: 8px 20px;
  transition: all 0.3s ease;
}

.header__sign:hover {
  color:#ffffff;
  background-color: #fb4166;
}

.header__download {
  position: relative;
  border: none;
  border-radius: 10px;
  background-color: #2b2b2b;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  padding: 8px 20px;
  transition: all 0.3s ease;
}

.header__download:hover {
  background-color: #4b4b4b;
}

.header__burger span {
  -webkit-transition: 250ms;
  -o-transition: 250ms;
}

.header__burger {
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 35px;
  height: 26px;
}
.header__burger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #fd8b0f;
  border-radius: 20%;
  -webkit-transform-origin: center;
  -ms-transform-origin: center;
  transform-origin: center;
  transition: 250ms;
}
.header__burger.active span:first-of-type {
  -webkit-transform: translateY(11px) rotateZ(45deg);
  -ms-transform: translateY(11px) rotate(45deg);
  transform: translateY(11px) rotateZ(45deg);
}
.header__burger.active span:nth-of-type(2) {
  -webkit-transform: scaleX(0);
  -ms-transform: scaleX(0);
  transform: scaleX(0);
}
.header__burger.active span:nth-of-type(3) {
  -webkit-transform: translateY(-11px) rotateZ(-45deg);
  -ms-transform: translateY(-11px) rotate(-45deg);
  transform: translateY(-11px) rotateZ(-45deg);
}

@media (max-width: 1023px) {
  .header__logo {
    order: 1;
  }

  .select-lang {
    order: 2;
    margin-left: auto;
    z-index: 1001;
  }

  .select-lang__selected {
    min-height: 32px;
    padding: 0 8px;
    gap: 6px;
    border: none;
    background: transparent;
    font-size: 12px;
  }

  .select-lang:hover .select-lang__selected,
.select-lang._active .select-lang__selected {
    border: none;
    background: transparent;
    color: #ff335c;
  }

  .select-lang__selected::after {
    width: 6px;
    height: 6px;
  }

  .select-lang__options-list {
    right: 0;
    left: auto;
    min-width: 168px;
  }

  .header__burger {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
    margin-left: 2px;
  }

  .header__actions {
    order: 5;
    width: 100%;
    flex: 1 1 100%;
    margin-left: 0;
  }

  .header__sign,
.header__download {
    flex: 1 1 0;
    width: auto;
    box-sizing: border-box;
    text-align: center;
  }

  .header__logo-img {
    height: auto;
    width: auto;
    object-fit: contain;
  }
}

/* Breadcrumbs */

.breadcrumbs {
  padding: 0.5rem 0;
}
.breadcrumbs__list {
  list-style: none;
  margin-top: 0;
  padding: 0 30px;
  display: flex;
}
.breadcrumbs__item {
  margin-right: 10px;
}
.breadcrumbs__current,
.breadcrumbs__link {
  font-size: 1rem;
  font-weight: 300;
  text-decoration: none;
  color: var(--bg-primary);
}

.breadcrumbs__separator {
  bottom: 1.5px;
  position: relative;
}

.breadcrumbs__current,
.breadcrumbs__link,
.breadcrumbs__separator {
  color: #ffffff;
}

.breadcrumbs__list {
  display: -webkit-box;
  display: -ms-flexbox;
}

.breadcrumbs {
  background-color: #1a1a1a;
}

/*       Hero        */

.hero {
  background-color: #1f1f1f;
  min-height: 35vh;              /* высота hero */
  display: flex;
  align-items: center;          /* центр по вертикали */
}

.hero__body {
  display: flex;
  align-items: center;          /* вертикаль */
  justify-content: center;      /* горизонталь */
  gap: 20px;
  width: 100%;
  min-width: 0;
}

.hero__content {
  max-width: 670px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 17px;

  justify-content: center;      /* вертикаль внутри */
  text-align: left;             /* можно center если нужно */
}
.hero__title {
  font-size: 34px;
  line-height: 42px;
  font-weight: 600;
}
.hero__text {
  font-size: 17px;
  font-weight: 400;
  line-height: 25px;
}

@media (max-width: 1024px) {
  .hero__body {
    flex-direction: column;
  }
  .hero__content {
    max-width: 100%;
  }
}

@media (max-width: 500px) {
  
  .hero__body {
    padding: 20px 0;
  }
}

/*    Specs    */

.block-table {
  width: 100%;
  margin-top: 1rem;
}

.block-table {
  overflow: auto;
}
.block-table table thead,
table thead {
  border-bottom: none;
}
.block-table table th,
table th {
  padding: 0.5rem 1rem;
  text-align: center;
}
.block-table table td,
table td {
  padding: 0.5rem 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table,
table td {
  border: 1px solid #3d3d3d;
  color: #ffffff;
  line-height: 25px;
}
table {
  border-collapse: collapse;
}
table th {
  background-color: #ff335c;
  color: var(--color-white);
}

/*   Columns   */

.section-wrapper {
  margin: 2rem 3rem;
}

@media (max-width: 1024px) {
  .section-wrapper {
  margin: 2rem 0;
}
}

.columns__container p {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8rem;
  color: #ffffff;
}
.columns__container h3 {
  margin-top: 1rem;
  font-size: 1.6rem;
  line-height: 2.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}
.columns__container ol,
.columns__container ul {
  padding-left: 25px;
  margin-top: 0.5rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8rem;
  color: #ffffff;
}

.hero__content a {
  color: var(--color-blue);
  text-decoration: underline;
}

.faq {
  margin: 3rem 0;
}

.faq__body {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq__item {
  border-radius: 10px;
  background: #ff335c;
  padding: 1rem;
  cursor: pointer;
}

.faq__title {
  font-size: 1.8rem;
  line-height: 2.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}

.faq__question {
  margin-top: 1rem;
  font-size: 1.6rem;
  line-height: 2.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}

.faq__answer {
  display: none;
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
  color: #ffffff;
}

.faq__item.active .faq__answer {
  display: block;
}

@media (max-width: 1024px) {
  .faq__question {
    font-size: 1.4rem;
    line-height: 1.8rem;
  }
}

/* Footer */

.footer {
  background: var(--header-bg);
  padding: 3rem 0;
}
.footer__body {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.footer__copy {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: #ffffff;
}
.footer__secure {
  font-size: 1rem;
  font-weight: 400;
  color: #ffffff;
}
.footer__heading {
  color: #ffffff;
}
.footer__list {
  margin-top: 1rem;
  list-style: none;
}
.footer__item {
}
.footer__link {
  font-size: 1rem;
  font-weight: 400;
  text-decoration: underline;
  color: #ffffff;
  line-height: 1.8rem;
  transition: all 0.3s ease;
}

.footer__link:hover {
  text-decoration: none;
}

.footer__socials {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer__social {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 1;
  transition: all 0.3s ease;
}

.footer__social:hover {
  opacity: 0.7;
}

.footer__social img {
  width: 30px;
  height: 30px;
}

@media (max-width: 900px) {
  .footer__body {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
  }
  
}

@media (max-width: 700px) {
  .footer__socials {
    display: none;
  }
  .footer {
    background: var(--header-bg);
    padding: 3rem 0 5rem 0;
  }
}

.scroll-top {
  position: fixed;
  bottom: 70px;
  right: 15px;
}

@media (max-width: 700px) {
  .scroll-top {
    bottom: 90px;
  }
}

.scroll-top__button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  outline: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  cursor: pointer;
  background-color: var(--main-accent-bg-color);
  color: var(--color-white);
  text-shadow: 1px 1px 2px #000;
  font-size: 20px;
}

.mobile-button {
  display: none;
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 0;
  width: auto;
  padding: 12px 14px 16px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(160deg, #1f1f1f 0%, #141414 55%, #1a1028 100%);
  border-top: 2px solid #ff335c;
  box-shadow:
    0 -6px 28px rgba(255, 51, 92, 0.18),
    0 -12px 40px rgba(0, 0, 0, 0.55);
  align-items: center;
  gap: 12px;
  z-index: 100;
  backdrop-filter: blur(8px);
}
.mobile-button a {
  font-weight: 700;
  font-size: 13px;
  color: #ffffff;
}
.mobile-button a:hover {
  color: #ffffff;
}

@media (max-width: 700px) {
  .mobile-button {
    display: flex;
  }

  body {
    padding-bottom: 78px;
  }
}

.mobile-button.v1 .get-image {
  width: 64px;
  height: 44px;
  border: none;
  padding: 0;
  cursor: default;
}

.mobile-button.v1 img {
  max-width: 52px;
  max-height: 18px;
}

.mobile-button > .get-image {
  border-radius: 12px;
  background: linear-gradient(145deg, #2b2b2b, #1a1a1a);
  border: 1px solid rgba(81, 0, 143, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 64px;
  height: 44px;
}

.mobile-button img {
  max-width: 52px;
  max-height: 18px;
  width: 100%;
  object-fit: contain;
}

.mobile-button__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mobile-button__title {
  margin: 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  line-height: 16px;
  text-align: left;
  letter-spacing: 0.02em;
}

.mobile-button__rating {
  --percent: calc(var(--star-rating) / 5 * 100%);
  display: flex;
  align-items: center;
  font-size: 13px;
  line-height: 1;
  margin-top: 5px;
}

.mobile-button__rating::before {
  content: "★★★★★";
  font-family: Times, serif;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(
    90deg,
    #ff335c var(--percent),
    #4b4b4b var(--percent)
  );
  -webkit-background-clip: text;
  background-clip: text;
}

.mobile-button__rating-counter {
  margin-left: 5px;
  color: #ff335c;
  font-size: 13px;
  font-weight: 700;
  line-height: 14px;
  transform: translateY(-1px);
}

.mobile-button__link {
  margin: 0 0 0 auto;
  border: none;
  display: inline-flex;
  padding: 11px 16px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff335c 0%, #e62950 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(255, 51, 92, 0.35);
  white-space: nowrap;
}

.mobile-button__link::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 3v12m0 0l4-4m-4 4l-4-4M5 19h14' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.mobile-button__link:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #fb4166 0%, #ff335c 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 51, 92, 0.45);
}

.mobile-button__link:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 51, 92, 0.3);
}

.columns__btn-row {
  display: flex;
  gap: 20px; /* расстояние между кнопками */
  flex-wrap: wrap; /* если места мало, кнопки перейдут на новую строку */
  margin-top: 20px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
}

.columns__download {
  border-radius: 10px;
  background-color: #ff335c;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  line-height: 20px;
  padding: 8px 20px;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.columns__download:hover {
  color:#ffffff;
  background-color: #f84569;
}

.section-title {
  font-size: 1.8rem;
  line-height: 2.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
  color: #ffffff;
}

/* card */
.mp-promocode {
    background: #2b2b2b;
    border-radius: 12px;
    padding: 24px 18px 22px;
    max-width: 700px;
    box-sizing: border-box;

    color: #ffffff;
    text-align: right;
}

/* buttons */
.mp-promocode__buttons {
    display: flex;
    flex-direction: row;        /* десктоп: в линию */
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.mp-promocode .btn--green {
    flex: 1;                    /* чтобы обе кнопки были одинаковой ширины */
    border-radius: 10px;
    background: #ff335c;
    color: #000;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    transition: transform 0.12s ease, background 0.12s ease;
}
.btn--green:hover {
    transform: scale(0.97); /* лёгкое сжатие */
}

.btn--green:active {
    transform: scale(0.94); /* сильнее при клике */
}

.mp-promocode .btn--green svg {
    flex-shrink: 0;
}

/* mobile tweaks */
@media (max-width: 600px) {
    .mp-promocode {
        padding: 20px 12px 20px;
    }

    

    

    

    

        .mp-promocode__buttons {
        flex-direction: column; /* мобильный: в столбец */
        gap: 12px;
    }

    .mp-promocode .btn--green {
        width: 100%;            /* на мобилке кнопки — на всю ширину */
    }
}

/* список шагов */

/* один шаг */

/* круглый номер шага сверху */

/* стрелка между блоками (как разделитель) */

/* внутренний контейнер шага */

/* текстовая часть */

/* блок под картинку */

/* адаптив под мобильные */

/* GRID */

/* CARD */

/* картинка увеличивается, но остаётся внутри */

/* оверлей можно оставить как был, только без bottom:40px */

/* BUTTON */

/* подпись снизу */

/* MOBILE 2×2 */

/* Content layout */

.columns__container._container,
.faq__container._container {
  max-width: 1080px;
}

.section-wrapper .columns__container {
  background: #1a1a1a;
  border: 1px solid #2c2c2c;
  border-radius: 18px;
  padding: 32px 36px 36px;
  overflow: hidden;
}

.section-banner {
  margin: 1.25rem 0;
}

.section-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  background: #241018;
  border: 1px solid #3a3a3a;
  border-radius: 14px;
}

.hero__content {
  max-width: 760px;
  min-width: 0;
}

.hero-specs {
  margin-top: 0.25rem;
  max-width: 100%;
  min-width: 0;
}

.hero-specs td:first-child {
  width: 38%;
  white-space: nowrap;
}

.hero .columns__btn-row {
  gap: 14px;
  margin-top: 6px;
}

.hero__btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 17px 34px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.hero__btn--primary {
  color: #ffffff;
  background: linear-gradient(180deg, #ff6d88 0%, #ff335c 46%, #e11245 100%);
  border: none;
  box-shadow:
    0 12px 26px rgba(255, 51, 92, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  animation: hero-btn-glow 2.4s ease-in-out infinite;
}

.hero__btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.38) 50%, transparent 68%);
  transform: translateX(-130%);
}

.hero__btn--primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 18px 34px rgba(255, 51, 92, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  animation: none;
}

.hero__btn--primary:hover::after {
  transform: translateX(130%);
  transition: transform 0.55s ease;
}

.hero__btn--primary:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 6px 14px rgba(255, 51, 92, 0.35);
}

.hero__btn--ghost {
  color: #ffffff;
  background: linear-gradient(180deg, #323232 0%, #1a1a1a 100%);
  border: 1px solid rgba(255, 90, 122, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 8px 18px rgba(0, 0, 0, 0.35);
}

.hero__btn--ghost:hover {
  background: linear-gradient(180deg, #3c3c3c 0%, #241418 100%);
  border-color: #ff335c;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 14px 28px rgba(255, 51, 92, 0.34);
}

.hero__btn--ghost:active {
  transform: translateY(1px) scale(0.98);
}

.hero__btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

@keyframes hero-btn-glow {
  0%,
  100% {
    box-shadow:
      0 12px 26px rgba(255, 51, 92, 0.38),
      inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }
  50% {
    box-shadow:
      0 14px 32px rgba(255, 51, 92, 0.62),
      inset 0 1px 0 rgba(255, 255, 255, 0.48);
  }
}

@media (max-width: 520px) {
  .hero .columns__btn-row {
    flex-direction: column;
    width: 100%;
  }

  .hero__btn {
    width: 100%;
    box-sizing: border-box;
  }

  .hero-specs td:first-child {
    white-space: normal;
  }
}

.hero {
  background:
    radial-gradient(820px 260px at 12% 0%, rgba(255, 51, 92, 0.22), transparent 62%),
    #1a1a1a;
  padding: 52px 0 40px;
}

.hero__title {
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero__text {
  line-height: 1.65;
  color: #d5d5d5;
}

.section-wrapper .section-title,
.faq__title {
  text-align: left;
  font-size: 1.65rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
  padding-bottom: 14px;
  border-bottom: 1px solid #2e2e2e;
  position: relative;
}

.section-wrapper .section-title::after,
.faq__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: #ff335c;
}

.columns__container h3 {
  font-size: 1.22rem;
  line-height: 1.4;
  margin-top: 1.8rem;
  margin-bottom: 0.35rem;
}

.columns__container p {
  color: #d8d8d8;
  line-height: 1.7;
}

.columns__container ul,
.columns__container ol {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 0.4rem;
  display: grid;
  gap: 10px;
}

.columns__container li {
  position: relative;
  padding: 12px 16px 12px 46px;
  background: #222222;
  border-radius: 10px;
  line-height: 1.55;
}

.issue-list {
  display: grid;
  gap: 10px;
  margin-top: 1.1rem;
}

.issue {
  background: #222222;
  border-radius: 12px;
  padding: 16px 18px 15px;
}

.columns__container .issue h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  line-height: 1.35;
}

.columns__container .issue p {
  margin: 0;
  line-height: 1.6;
  color: #d5d5d5;
}

.faq--panel .faq__container {
  background: #1a1a1a;
  border: 1px solid #2c2c2c;
  border-radius: 18px;
  padding: 32px 36px 28px;
}

.faq--panel .faq__body {
  margin-top: 0.2rem;
}

.faq--panel .faq__item {
  background: #222222;
}

@media (max-width: 700px) {
  .faq--panel .faq__container {
    padding: 22px 16px 18px;
    border-radius: 14px;
  }
}

.columns__container ul li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 1.15em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff335c;
}

.columns__container ol {
  counter-reset: steps;
}

.columns__container ol li {
  counter-increment: steps;
}

.columns__container ol li::before {
  content: counter(steps);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ff335c;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
}

.columns__container a {
  color: #ff6a88;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 106, 136, 0.45);
}

.columns__container a:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

/* Tables */

.block-table {
  margin: 1.15rem 0 0.4rem;
  border: 1px solid #333333;
  border-radius: 14px;
  background: #141414;
  overflow: auto;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.block-table.hero-specs table {
  min-width: 0;
}

.block-table table {
  min-width: 640px;
  border: none;
  border-collapse: separate;
  border-spacing: 0;
}

.block-table table th,
.block-table table td {
  border: none;
  text-align: left;
  vertical-align: top;
}

.block-table table th {
  padding: 13px 16px;
  background: #ff335c;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.block-table table td {
  padding: 13px 16px;
  color: #e8e8e8;
  line-height: 1.45;
  border-bottom: 1px solid #2a2a2a;
  background: #181818;
}

.block-table table tbody tr:last-child td {
  border-bottom: none;
}

.block-table table tbody tr:nth-child(even) td {
  background: #1f1f1f;
}

.block-table table tbody tr:hover td {
  background: #2a2226;
}

.block-table table td:first-child {
  font-weight: 600;
  color: #ffffff;
}

.block-table--status table th:nth-child(n + 2),
.block-table--status table td:nth-child(n + 2) {
  text-align: center;
  width: 140px;
}

.mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.mark--yes {
  color: #b6f5c4;
  background: rgba(80, 180, 110, 0.18);
}

.mark--no {
  color: #9a9a9a;
  background: rgba(255, 255, 255, 0.06);
}

/* FAQ */

.faq {
  margin: 2rem 3rem 3rem;
}

.faq__body {
  margin-top: 0.4rem;
  gap: 10px;
}

.faq__item {
  background: #1a1a1a;
  border: 1px solid #2c2c2c;
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq__item:hover {
  border-color: rgba(255, 51, 92, 0.55);
}

.faq__item.active {
  border-color: #ff335c;
  background: #201418;
}

.faq .faq__question {
  margin: 0;
  padding: 18px 52px 18px 20px;
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 600;
  position: relative;
  cursor: pointer;
}

.faq .faq__question::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid #ff335c;
  border-bottom: 2px solid #ff335c;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq__item.active .faq__question::after {
  transform: translateY(-20%) rotate(225deg);
}

.faq .faq__answer {
  display: block;
  max-height: 0;
  margin: 0;
  padding: 0 20px;
  overflow: hidden;
  opacity: 0;
  color: #d5d5d5;
  line-height: 1.65;
  transition: max-height 0.28s ease, padding 0.28s ease, opacity 0.2s ease;
}

.faq .faq__item.active .faq__answer {
  max-height: 16rem;
  padding: 14px 20px 18px;
  opacity: 1;
  border-top: 1px solid #34262b;
}

@media (max-width: 1024px) {
  .faq {
    margin: 2rem 0 3rem;
  }
}

@media (max-width: 700px) {
  .hero {
    padding: 28px 0 24px;
  }

  .hero__title {
    font-size: 32px;
  }

  .section-wrapper .columns__container {
    padding: 22px 16px 24px;
    border-radius: 14px;
  }

  .hero-specs td:first-child {
    white-space: normal;
  }

  .section-wrapper .section-title,
.faq__title {
    font-size: 1.35rem;
  }

  .block-table table th,
.block-table table td {
    padding: 11px 12px;
  }
}

/* Service pages */

.legal,
.safe {
  padding: 28px 0 64px;
  color: #ffffff;
}

.legal-kicker,
.safe-age {
  color: #ff335c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-head h1,
.safe-banner h1 {
  margin-top: 8px;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 650;
}

.legal-lead,
.safe-banner p,
.legal-body p,
.safe-rules p,
.safe-stop p,
.safe-note p {
  margin-top: 12px;
  color: #d5d5d5;
  line-height: 1.65;
}

.legal-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.legal-facts div,
.safe-rules li,
.safe-stop,
.safe-note {
  background: #1a1a1a;
  border: 1px solid #2c2c2c;
  border-radius: 16px;
  padding: 16px 18px;
}

.legal-facts dt {
  font-weight: 700;
}

.legal-facts dd {
  margin-top: 6px;
  color: #d5d5d5;
  line-height: 1.5;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  margin-top: 28px;
  align-items: start;
}

.legal-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  top: 16px;
}

.legal-nav a {
  color: #ffffff;
  padding: 8px 0;
  border-bottom: 1px solid #2c2c2c;
}

.legal-body section + section {
  margin-top: 22px;
}

.legal-body h2,
.safe-rules h2,
.safe-stop h2,
.safe-note h2 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.legal-body ul,
.safe-stop ul {
  margin-top: 10px;
  padding-left: 18px;
  color: #d5d5d5;
  line-height: 1.6;
}

.safe-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: 18px;
  background: #1a1a1a;
  border: 1px solid #2c2c2c;
}

.safe-age {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px solid #ff335c;
  font-size: 22px;
  letter-spacing: 0;
}

.safe-rules {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.safe-rules li {
  counter-increment: safe-rule;
}

.safe-rules {
  counter-reset: safe-rule;
}

.safe-rules h2::before {
  content: counter(safe-rule) ". ";
  color: #ff335c;
}

.safe-stop,
.safe-note {
  margin-top: 12px;
}

@media (max-width: 800px) {
  .legal-facts,
.legal-layout,
.safe-rules,
.safe-banner {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .legal-nav a {
    border-bottom: 0;
    padding: 0;
  }

  .legal-head h1,
.safe-banner h1 {
    font-size: 1.6rem;
  }
}

