@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
  font-family: "Jost", sans-serif;
}

.container {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 20px;
}

.header {
  background: linear-gradient(90deg, #141024, #1f1a35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.header__logo img {
  height: 16px;
}


.header__list {
  display: flex;
  gap: 40px;
}

.header__link {
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  position: relative;
  transition: 0.3s;
}

.header__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: #2c02ff;
  transition: 0.4s;
}

.header__link:hover {
  color: #161dfe;
}

.header__link:hover::after {
  width: 100%;
}

.header__phone {
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  border: 2px solid #161dfe;
  padding: 8px 16px;
  border-radius: 30px;
  transition: 0.4s;
}

.header__phone:hover {
  background: #2c02ff;
}

.header__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.header__burger span {
  width: 28px;
  height: 3px;
  background: #fff;
  transition: 0.3s;
}

.header__burger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.header__burger.active span:nth-child(2) {
  opacity: 0;
}

.header__burger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

.mobile__menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100vh;
  background: #1e1b2f;
  padding: 80px 20px;
  transition: 0.3s;
  z-index: 999;
}

.mobile__menu.active {
  left: 0;
}

.mobile__menu ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile__menu a {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  transition: 0.3s;
}

.mobile__menu a:hover {
  color: #2c02ff;
}

.call__button {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #2c02ff;
  color: #fff;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: 0.3s;
  z-index: 1001;
}

@media (max-width: 900px) {

  .header__list,
  .header__phone {
    display: none;
  }

  .header__burger {
    display: flex;
  }
}

@media (max-width: 600px) {
  .header__logo img {
    height: 16px;
  }
}

/* --------------------------------------HERO---------------------------- */

.hero {
  background-color: #141024;
  min-height: 570px;
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero__container {
  display: flex;
  gap: 60px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.hero__box {
  max-width: 500px;
  z-index: 2;
}

.hero__title {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero__text {
  font-size: 20px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero__btn {
  font-size: 16px;
  padding: 1em 3.3em;
  cursor: pointer;
  transform: perspective(200px) rotateX(10deg);
  color: white;
  font-weight: 900;
  border: none;
  border-radius: 5px;
  background: linear-gradient(0deg,
      rgba(63, 94, 251, 1) 0%,
      rgba(70, 135, 252, 1) 100%);
  box-shadow: rgba(63, 94, 251, 0.2) 0px 40px 29px 0px;
  will-change: transform;
  transition: all 0.4s;
  border-bottom: 2px solid rgba(70, 135, 252, 1);
}

.hero__btn:hover {
  transform: perspective(180px) rotateX(32deg) translateY(1px);
}

.hero__btn:active {
  transform: perspective(170px) rotateX(38deg) translateY(8px);
}

.hero__images {
  position: relative;
  width: 500px;
  height: 500px;
  flex-shrink: 0;
}

.hero__img1 {
  position: absolute;
  right: 50%;
  bottom: 0;
  transform: translateX(50%);
  width: 87%;
  height: auto;
  z-index: 1;
  opacity: 0.9;
}

.hero__img2 {
  position: absolute;
  right: 50%;
  bottom: 0;
  transform: translateX(50%);
  height: 100%;
  width: auto;
  z-index: 2;
}

@media (max-width: 992px) {
  .hero {
    min-height: auto;
    padding: 60px 20px;
  }

  .hero__container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .hero__images {
    width: 300px;
    height: 300px;
    margin: 0 auto;
  }

  .hero__img2 {
    max-height: 260px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__text {
    font-size: 16px;
  }

  .hero__btn {
    font-size: 16px;
    padding: 12px 24px;
  }
}

/* -----------------------------------SECTION------------------------------ */

.section {
  padding: 80px 20px;
  background: #fff;
}

.section__text {
  font-family: "Jost";
  font-weight: 400;
  font-size: 30px;
  line-height: 160%;
  color: #141024;
  margin-bottom: 60px;
  text-align: left;
  max-width: 900px;
}

.section__span {
  font-weight: 600;
  font-size: 30px;
  color: #141024;
}

.section__list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  text-align: center;
}

.section__item {
  flex: 1 1 200px;
  min-width: 220px;
}

.section__title {
  font-family: "Jost";
  font-weight: 600;
  font-size: 70px;
  color: #D52027;
  margin-bottom: 15px;
}

.section__text-name {
  font-family: "Jost";
  font-weight: 400;
  font-size: 18px;
  line-height: 160%;
  color: #141024;
  opacity: 0.7;
}

@media (max-width: 992px) {
  .section__text {
    font-size: 22px;
  }

  .section__title {
    font-size: 50px;
  }

  .section__text-name {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .section__text {
    font-size: 20px;
  }

  .section__title {
    font-size: 40px;
  }

  .section__list {
    gap: 20px;
  }
}

/* -------------------------ARTICLE------------------------ */
.article {
  padding: 80px 20px;
  background: #fff;
}

.article__container {
  max-width: 1200px;
  margin: 0 auto;
}

.article__title {
  font-family: "Jost";
  font-weight: 600;
  font-size: 50px;
  line-height: 1.3;
  color: #141024;
  margin-bottom: 60px;
}

.article__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.article__item {
  background: #f8f8f8;
  border-radius: 16px;
  padding: 30px 25px;
  box-shadow: 0 6px 18px #141024;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article__item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.article__title-name {
  font-family: "Jost";
  font-weight: 600;
  font-size: 24px;
  line-height: 1.5;
  color: #141024;
  opacity: 0.9;
  margin-bottom: 15px;
}

.article__text {
  font-family: "Jost";
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: #141024;
  opacity: 0.7;
}

@media (max-width: 992px) {
  .article__title {
    font-size: 38px;
    margin-bottom: 40px;
  }

  .article__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .article__title-name {
    font-size: 22px;
  }

  .article__text {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .article__title {
    font-size: 28px;
  }

  .article__list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .article__item {
    padding: 20px;
  }

  .article__title-name {
    font-size: 20px;
  }

  .article__text {
    font-size: 15px;
  }
}

/* -----------------------------------MAIN--------------------------- */
.main {
  padding: 60px 20px;
  background: #fff;
}

.main__title {
  font-family: "Jost";
  font-weight: 600;
  font-size: 42px;
  text-align: center;
  margin-bottom: 40px;
  color: #141024;
}

.main__list {
  display: flex;
  gap: 40px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.main__item {
  background: #f9f9f9;
  border-radius: 16px;
  padding: 25px 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  text-align: center;
  min-width: 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main__item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.main__img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 4px solid #141024;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.main__title-name {
  font-family: "Jost";
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 6px;
  color: #141024;
}

.main__text {
  font-family: "Jost";
  font-weight: 400;
  font-size: 16px;
  color: #141024;
  opacity: 0.7;
  margin-bottom: 10px;
}

.main__link {
  font-family: "Jost";
  font-weight: 500;
  font-size: 16px;
  color: #D52027;
  text-decoration: none;
}

.main__link:hover {
  color: #a3131a;
}

@media (max-width: 768px) {
  .main__title {
    font-size: 28px;
  }

  .main__item {
    min-width: 200px;
    padding: 20px;
  }

  .main__img {
    width: 100px;
    height: 100px;
  }
}

/* -------------------------------SOCIAL------------------------------ */
.social {
  padding: 80px 20px;
  background: #f9f9f9;
}

.social__title {
  font-family: "Jost";
  font-weight: 600;
  font-size: 42px;
  text-align: center;
  margin-bottom: 50px;
}

.social__list {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social__item {
  background: #fff;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.social__item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  background: #141024;
  color: #f9f9f9;
}
.social__item:hover .social__title2,
.social__item:hover .social__text {
  color: #fff;
  opacity: 0.9;
}

.social__item:hover .social__btn {
  border-color: #fff;
  color: #fff;
}


.social__title-name {
  font-family: "Jost";
  font-weight: 600;
  font-size: 26px;
  color: #fff;
  background: #d52027;
  padding: 10px 0;
  border-radius: 8px;
  margin-bottom: 20px;
}

.social__title2 {
  font-family: "Jost";
  font-weight: 600;
  font-size: 36px;
  color: #141024;
  margin-bottom: 15px;
}

.social__text {
  font-family: "Jost";
  font-weight: 400;
  font-size: 18px;
  line-height: 160%;
  color: #141024;
  opacity: 0.8;
  margin-bottom: 25px;
}
.social__btn {
  all: unset;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 0.6em 2em;
  border: rgb(0, 0, 250) solid 0.15em;
  border-radius: 0.25em;
  color: rgb(31, 133, 250);
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  transition: border 300ms, color 300ms;
  user-select: none;
  position: relative;
}

.social__btn:hover {
  color: #8200fc;
}

.social__btn:active {
  border-color: rgb(12, 47, 246);
}

.social__btn::after,
.social__btn::before {
  content: "";
  position: absolute;
  width: 9em;
  aspect-ratio: 1;
  background: rgb(10, 137, 255);
  opacity: 50%;
  border-radius: 50%;
  transition: transform 500ms, background 300ms;
}

.social__btn::before {
  left: 0;
  transform: translateX(-8em);
}

.social__btn::after {
  right: 0;
  transform: translateX(8em);
}

.social__btn:hover:before {
  transform: translateX(-1em);
}

.social__btn:hover:after {
  transform: translateX(1em);
}

.social__btn:active:before,
.social__btn:active:after {
  background: teal;
}

/* 📱 Responsiv */
@media (max-width: 992px) {
  .social__list {
    gap: 30px;
  }
  .social__item {
    width: 260px;
    padding: 30px 20px;
  }
  .social__title {
    font-size: 32px;
  }
}

@media (max-width: 576px) {
  .social__item {
    width: 100%;
    max-width: 320px;
  }
  .social__title2 {
    font-size: 28px;
  }
}
/* ---------------------------------GROUP------------------------------ */
.group {
  background: linear-gradient(135deg, #001aff, #1550f2);
  padding: 60px 20px;
  border-radius: 20px 20px 0 0;
}
.group-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}
.group-item {
  flex: 1 1 400px;
  max-width: 500px;
  line-height: 1.6;
  padding: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.group-title {
  font-family: "Jost", sans-serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 20px;
}

.group-text {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #f5f5f5;
  margin-bottom: 20px;
}
.group-item input {
  width: 100%;
  height: 50px;
  padding: 12px 16px;
  margin-bottom: 15px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  font-family: "Jost", sans-serif;
  transition: all 0.3s ease;
  background: #fff;
}

.group-item input:focus {
  outline: none;
  border-color: #0281ff;
  box-shadow: 0 0 12px rgba(91, 3, 255, 0.4);
}
.group-btn {
  --color: #2e42ff;
  padding: 0.8em 2em;
  background-color: transparent;
  border-radius: 0.6em;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  font-weight: 700;
  font-size: 17px;
  border: 2px solid var(--color);
  font-family: inherit;
  text-transform: uppercase;
  color: #ffffff;
  z-index: 1;
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.group-btn::before,
.group-btn::after {
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%);
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  background-color: var(--color);
  transition: 0.7s ease-in-out;
}

.group-btn::before {
  top: -1em;
  left: -1em;
}

.group-btn::after {
  left: calc(100% + 1em);
  top: calc(100% + 1em);
}

.group-btn:hover::before,
.group-btn:hover::after {
  height: 410px;
  width: 410px;
}

.group-btn:hover {
  background: linear-gradient(135deg, #2e42ff, #6a75ff);
  color: #ffffff;
  border-color: #6a75ff;
  box-shadow:
    0 6px 15px rgba(46, 66, 255, 0.4),
    0 8px 24px rgba(46, 66, 255, 0.2);
  transform: translateY(-3px);
}

.group-btn:active {
  transform: scale(0.97);
  filter: brightness(0.85);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #2e42ff, #5c6bff);
}

.group-btn:focus {
  outline: none;
  border-color: #7289da;
  box-shadow: 0 0 0 4px rgba(46, 66, 255, 0.3);
}

@media (max-width: 992px) {
  .group-title {
    font-size: 28px;
  }
  .group-text {
    font-size: 16px;
  }
  .group-list {
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .group-item {
    padding: 25px 20px;
  }
  .group-title {
    font-size: 24px;
  }
  .group-btn {
    font-size: 16px;
    padding: 12px;
  }
}
/* --------------------------------FOOTER-------------------------- */
.footer {
  background: #141024;
  padding: 30px 20px;
  color: #fff;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-title {
  font-family: "Jost", sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin: 0;
}

.footer-link {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #d52027;
}

.footer-phone {
  font-family: "Jost", sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin: 0;
  color: #fff;
}
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}
