/* ––––––––– HERO –––––––– */
section.hero {
  padding-block: 0;
  height: 90vh;
}

section.hero .swiper {
  height: 100%;
  position: relative;
}

section.hero .swiper .swiper-slide {
  pointer-events: none;
}
section.hero .swiper .swiper-slide-active {
  pointer-events: all;
}

section.hero .swiper .swiper-navigation {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 1;
}
section.hero .swiper .swiper-navigation > button {
  background-color: var(--color-white);
  border-radius: 30px;
  border: none;
  width: 50px;
  height: 34px;

  cursor: pointer;
  transition: 0.3s var(--ease);
}
@media (hover: hover) {
  section.hero .swiper .swiper-navigation > button:hover {
    background-color: #e5e5e5;
  }
}
section.hero .swiper .swiper-navigation .swiper-button-prev {
  left: 1rem;
}
section.hero .swiper .swiper-navigation .swiper-button-next {
  right: 1rem;
}
section.hero .swiper .swiper-slide {
  display: grid;
}
section.hero .swiper .swiper-slide > * {
  height: 100%;
  grid-area: 1/1;
}
section.hero .swiper .swiper-slide > img {
  object-fit: cover;
  object-position: center;

  filter: brightness(0.5);
}
section.hero .swiper .swiper-slide > div {
  align-self: center;

  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.3rem;
  color: var(--color-white);

  z-index: 10;
}
section.hero .swiper .swiper-slide > div p {
  font-size: var(--text-xl);
  font-weight: 400;
  line-height: var(--leading-xl);
  text-transform: uppercase;
  text-wrap: balance;
}
section.hero .swiper .swiper-slide > div h1,
section.hero .swiper .swiper-slide > div h2 {
  font-weight: 700;
  font-size: var(--text-2xl);
  line-height: var(--leading-2xl);
  color: var(--color-white);
  text-wrap: balance;
}
section.hero .swiper .swiper-slide > div span {
  font-weight: 400;
  font-size: var(--text-md);
  line-height: var(--leading-md);
}
section.hero .swiper .swiper-slide > div .btn {
  margin-top: 1rem;

  padding: 1rem 1.5rem;
}

@media screen and (min-width: 1280px) {
  section.hero .swiper .swiper-slide > div {
    padding-inline: 5rem;
  }
  section.hero .swiper .swiper-navigation {
    position: static;
  }
  section.hero .swiper .swiper-navigation > button {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* ––––––– PROMO –––––– */

section.promo {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 3rem;
}
section.promo > div {
  display: flex;
  flex-direction: column;
  gap: 2rem;

  color: var(--color-black);
}
section.promo > div h2 {
  font-weight: 700;
  font-size: var(--text-xl);
  line-height: var(--leading-xl);
}
section.promo > div p {
  font-weight: 400;
  font-size: var(--text-sm);
  line-height: 2;
}

section.promo > div .btn {
  padding: 1rem 1.5rem;
}

@media screen and (min-width: 1024px) {
  section.promo {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* ––––––– ADVANTAGES ––––––– */

section.advantages h2 {
  font-weight: 700;
  font-size: var(--text-xl);
  line-height: 1;
  color: var(--color-black);
}

section.advantages ul {
  display: grid;
  grid-template-columns: var(--auto-fill);
  column-gap: 1rem;
  row-gap: 3rem;
  margin-top: 3rem;
}
section.advantages ul li {
  display: grid;
  grid-template-rows: subgrid;
  justify-items: start;
  grid-row: span 3;
  gap: 1rem;
}
section.advantages ul li img {
  margin-inline: 0;
}

@media screen and (min-width: 1024px) {
  section.advantages ul {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* –––––––– BANNER ––––––– */

section.banner {
  background-color: #f9fbfc;
  border-radius: 30px;
  margin: 2rem;
  padding-block: 0;
}

section.banner .container {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 4rem;

  padding-block: 5rem;
}

section.banner .container > div {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
section.banner .container > div strong {
  font-weight: 700;
  font-size: var(--text-xl);
  line-height: var(--leading-xl);
  color: var(--color-black);
  text-wrap: balance;
}
section.banner .container > div p {
  font-weight: 400;
  font-size: var(--text-sm);
  line-height: 2;
  color: var(--color-black);
}
section.banner .container > div span {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
section.banner .container > div span a {
  width: 100%;
  justify-content: center;
}

@media screen and (min-width: 450px) {
  section.banner .container > div span a {
    width: unset;
  }
}

@media screen and (min-width: 1024px) {
  section.banner .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ––––––– CTA ––––––– */

section.cta {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
}

section.cta .container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-block: 150px;
}
section.cta .container > strong {
  font-weight: 500;
  text-wrap: balance;
  font-size: var(--text-2xl);
  line-height: 1.4;
  color: var(--color-white);
}
section.cta .container .btn {
  border-color: var(--color-white);
  color: var(--color-white);
}
@media (hover: hover) {
  section.cta .container .btn:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-black);
  }
}
section.cta .container .btn:active {
  border-color: var(--active-primary);
  background-color: var(--active-primary);
}


/* ––––––––– IMPORT –––––––– */

section.import ul {
  --dot-list-size: 36px;

  margin-top: 2rem;

  display: grid;
  grid-template-rows: repeat(2, minmax(120px, auto));
  gap: 1rem;

  counter-reset: item 0;
  position: relative;
}
section.import ul::before {
  content: "";
  position: absolute;
  top: calc(100% / 8);
  bottom: 0;
  left: calc(-1.5rem + var(--dot-list-size) / 2);
  background-color: var(--color-primary);
  width: 1px;
}

section.import ul li {
  position: relative;
}
section.import ul li::before {
  position: absolute;
  bottom: 0;
  left: -1.5rem;
  content: counter(item, decimal-leading-zero) ".";
  counter-increment: item;
  font-weight: 500;
  font-size: var(--text-md);
  color: var(--color-primary);
  width: var(--dot-list-size);
  height: var(--dot-list-size);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-black);
  border-radius: 50%;
  padding: 6px;

  transition: 0.3s var(--ease) 0.6s;
}

section.import ul li > div {
  display: grid;
  gap: 1rem;
  padding-left: 3rem;
}
section.import ul li > div .step-icon {
  font-size: 120px; /* размер под ваш layout */
  line-height: 1;
  flex-shrink: 0;

  color: var(--color-primary);
  -webkit-text-stroke: 2px var(--color-black);
}
section.import ul li > div h3 {
  font-weight: 700;
  font-size: var(--text-xl);
  line-height: var(--leading-xl);
  color: var(--color-black);

  margin-bottom: 0.5rem;
}

section.import ul li > div p {
  font-weight: 400;
  font-size: var(--text-md);
  line-height: 1.9;
  color: var(--color-black);
}

@media screen and (min-width: 768px) {
  section.import ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 3rem;
    column-gap: 1rem;
  }

  section.import ul::before,
  section.import ul li:before {
    content: none;
  }

  section.import ul li {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
  }
  section.import ul li > div {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    gap: 1rem;

    padding-left: 0;
  }

  section.import ul li > div div {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
    gap: 1rem;
    padding-left: 0;
  }
}

@media screen and (min-width: 1440px) {
  section.import ul {
    margin-top: 3rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
  }
}


/* ––––––––– CONTACTS ––––––– */

section.contacts {
  display: grid;
  gap: 4rem;
}
section.contacts h2 {
  font-weight: 700;
  font-size: var(--text-xl);
  line-height: var(--leading-xl);
  color: var(--color-black);
}
section.contacts iframe {
  width: 100%;
}
section.contacts ul {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

section.contacts ul li p {
  font-weight: 500;
  font-size: 24px;
  line-height: 1;
  color: var(--color-black);

  margin-bottom: 0.5rem;
} 
section.contacts ul li a {
  display: inline-block;
  text-wrap: balance;
  
  font-weight: 300;
  font-size: var(--text-sm);
  color: var(--color-black);

  transition: color 0.3s var(--ease);
}

@media (hover:hover) {
  section.contacts ul li .telegram:hover {
    color: #24a1de;
  }
}

section.contacts .how-to h2 {
  font-weight: 700;
  font-size: var(--text-xl);
  line-height: var(--leading-xl);
  color: var(--color-black);
  margin-bottom: 1.5rem;
}

section.contacts .how-to div {
  color: var(--color-black);
  font-size: var(--text-md);
  line-height: var(--leading-md);
  letter-spacing: 0.02em;
}
section.contacts .how-to div h1,
section.contacts .how-to div h2,
section.contacts .how-to div h3,
section.contacts .how-to div h4,
section.contacts .how-to div h5,
section.contacts .how-to div h6 {
  color: var(--color-black);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

section.contacts .how-to div p {
  margin-bottom: 1.5rem;
  font-weight: 400;
  font-size: var(--text-md);
  color: var(--color-black);
  line-height: 1.7;
  letter-spacing: 0.02em;
}

section.contacts .how-to div a {
  color: var(--color-secondary);
  text-decoration: underline;

  transition: 0.3s all;
}

@media (hover: hover) {
  section.contacts .how-to div a:hover {
    color: var(--color-primary);
  }
}

section.contacts .how-to div ul,
section.contacts .how-to div ol {
  list-style-type: disc;
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

section.contacts .how-to div ul li,
section.contacts .how-to div ol li {
  margin-bottom: 0.5rem;
}

section.contacts .how-to div blockquote {
  padding: 1rem;
  border-left: 4px solid var(--color-primary);
  margin-bottom: 1.5rem;
}

section.contacts .how-to div img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}

section.contacts .how-to div table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

section.contacts .how-to div iframe {
  width: 100%;
}

section.contacts .how-to div th,
section.contacts .how-to div td {
  padding: 0.75rem;
  border: 1px solid var(--color-gray);
}

@media screen and (min-width: 1024px) {
  section.contacts {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 8rem;
  }

  section.contacts h2 {
    grid-column: span 2;
  }

  section.contacts ul {
    gap: 4rem;
  }
  section.contacts ul li p {
    font-weight: 300;
    font-size: var(--text-sm);
  }
  section.contacts ul li a {
    font-weight: 500;
    font-size: 24px;
  }

  section.contacts .how-to {
    grid-column: span 2;
  }
}