@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");

html {
  scroll-behavior: smooth;
}

body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  font-family: var(--font-family);
  background: #f9f9f9;
  color: var(--dark-54);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Стили для редактируемых блоков (курсор + подсветка при фокусе) */
[contenteditable="true"] {
  outline: none;
  transition: background-color 0.2s;
}
[contenteditable="true"]:hover {
  background-color: rgba(0, 120, 255, 0.05);
  cursor: text;
}
[contenteditable="true"]:focus {
  background-color: #fff9e0;
  box-shadow: 0 0 0 2px #ffb74d;
}
/* Кнопки */
.btn {
  display: inline-block;
  background: #0047ab;
  color: #fff;
  padding: 12px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.1s;
  font-size: 1rem;
}
.btn:hover {
  background: #002a8f;
  transform: scale(1.02);
}
.btn-outline {
  background: transparent;
  border: 2px solid #0047ab;
  color: #0047ab;
}
.btn-outline:hover {
  background: #0047ab;
  color: #fff;
}
.feature {
  margin-top: 40px;
}
.feature__cards {
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  gap: 30px;
}
.feature__card {
  max-width: 370px;
  display: flex;
  align-items: center;
  gap: 12px;

  p {
    font-size: 20px;
    line-height: 140%;
    letter-spacing: 0.02em;
    color: var(--dark-87);
  }
}

@media (max-width: 768px) {
  .feature__cards {
    flex-wrap: wrap;
    justify-content: center;
  }

  .feature__card {
    flex: 1 1 280px;
  }
}



@media (max-width: 375px) {
  .feature__cards {
    flex-direction: column;
    align-items: start;

    p {
      font-size: 16px;
      line-height: 150%;
      letter-spacing: 0.03em;
    }
  }
   .feature__card {
    flex: 1 1 auto;
  }
}
.footer {
  margin-top: 50px;
  border-radius: 16px 16px 0 0;
  padding: 30px;

  box-shadow: 0 2px 21px 0 rgba(132, 132, 132, 0.2);
  background: var(--white-100);
}
.footer__wrapper {
  display: flex;
  flex-direction: column;
  gap: 42px;
}

.footer__contact {
  padding-bottom: 21px;
  display: flex;
  gap: 46px;
}

.footer__contact-addres {
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
  color: var(--dark-87);
}

.contacts__item--phone {
  margin-top: 12px;
}
.contacts__phone {
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
  color: var(--dark-87);
}
.contact__links {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}

.contacts__legal-text {
  margin-top: 21px;
  font-weight: 400;
  font-size: 8px;
  line-height: 300%;
  letter-spacing: 0.05em;
  color: #000;
}

.footer__social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__social-title {
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
  color: var(--dark-87);
}
.footer__socilal-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer__portal {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 56px;
}
.footer__btn {
  max-width: 240px;
  border-radius: 8px;
  padding: 12px 15px;
  letter-spacing: 0.05em;
  text-align: center;
  background: #cc0a0a;
  a {
    color: var(--white-100);
  }
}
.footer__btn:hover {
  background: #a00808;
  cursor: pointer;
}
.footer__partners {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer__parners-link {
  display: flex;
  gap: 4px;
  color: var(--dark-54);
}

.footer__seo {
  border-top: solid 1px var(--blue-back);
  padding: 21px 30px;
  font-size: 8px;
  line-height: 100%;
  letter-spacing: 0.05em;
  text-align: center;
  color: var(--blue-light);
}
.footer__mob-contact {
  display: none;
}

/*  */

@media (max-width: 992px) {
  .footer__contact {
    flex-wrap: wrap;
    gap: 30px;
  }

  .footer__portal {
    align-items: flex-start;
    width: 100%;
  }

  .footer__partners {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .footer__contact {
    flex-direction: column;
  }

  .footer__socilal-links {
    justify-content: flex-start;
  }

  .footer__btn {
    max-width: 100%;
  }
}

/*  */

@media (max-width: 375px) {
  .footer__wrapper {
    gap: 30px;
  }

  .footer__services {
    flex-direction: column;
    gap: 16px;
  }
  .footer__contact {
    flex-direction: column;
  }
  .footer__btn {
    max-width: 343px;
  }
  .footer__portal {
    align-items: normal;
  }
  .footer__partners {
    flex-direction: column;
  }
  .contacts__legal {
    display: none;
  }
  .footer__seo {
    display: none;
  }
  .footer__mob-contact {
    display: block;
    font-size: 8px;
    line-height: 100%;
    letter-spacing: 0.05em;
    text-align: right;
    color: var(--dark-87);
  }
}

.footer__info-wrapper {
  display: flex;
  flex-direction: column;
}

.footer__info {
  display: flex;
  gap: 39px;
}

.footer__link {
  display: flex;
  justify-content: space-between;
  color: var(--dark-54);

  font-size: 16px;
  transition: color 0.3s;
}

.footer__accordion-btn {
  text-align: left;
  cursor: pointer;
}

.footer__services {
  display: flex;
  gap: 17px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
}

.footer__services.active {
  max-height: 2000px;
  padding-top: 20px;
}

.footer__services-list {
  max-width: 265px;
  display: flex;
  flex-direction: column;
}
.footer__services-link {
  padding: 4px 0px;
  font-size: 14px;
  line-height: 171%;
  letter-spacing: 0.03em;
  color: var(--dark-87);
}

.head a {
  margin-top: 12px;
  font-size: 16px;
  color: var(--dark-54);
}

@media (max-width: 992px) {
  .footer__info {
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer__services {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .footer__info {
    flex-direction: column;
    gap: 15px;
  }

  .footer__services-list {
    max-width: 100%;
  }
}

@media (max-width: 375px) {
  .footer__info {
    flex-direction: column;
    gap: 20px;
  }
  .footer__services {
    flex-direction: column;
  }
}
.header {
}
.header__inner {
  border-left: 1px solid #2154b2;
  border-right: 1px solid #2154b2;
  padding: 12px 30px;
  background: var(--blue-back);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.header-contacts {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo__wrapper {
  display: flex;
  align-items: center;
  gap: 46px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2c3e5c;
}
.contact-item i {
  color: #0047ab;
  width: 20px;
  font-size: 1.2rem;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 8px;

  a {
    width: 24px;
    height: 24px;
  }
}
.header__btn,
.header__btn-mob {
  border-radius: 8px;
  padding: 8px 12px;
  background: #cc0a0a;
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: var(--white-100);
}

.btn__wrapper {
  display: none;
}
.header__tel {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 143%;
  color: #313131;
}

.schedule {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 143%;
  color: #2154b2;
}
.phone__mob {
  display: none;
}

@media (max-width: 992px) {
  .logo__wrapper {
    gap: 20px;
  }

  .header-contacts {
    gap: 15px;
  }

  .contact-item {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .header__inner {
    padding: 12px 20px;
  }

  .contact-item {
    display: none;
  }

  .social-icons {
    display: none;
  }
  .header__btn{
    display: none;
  }
  .btn__wrapper{
    display: flex;
    padding: 16px;
    background-color: var(--blue-light);

    .header__btn-mob{
      display: inline;
    }
  }

}

@media (max-width:420px) {
   .reiting, 
    .stick{
      display: none;
    }
}

@media (max-width: 375px) {
  .social-icons,
  .contact-item,
  .header__btn{
    display: none;
  }
  .header {
    border-left: none;
    border-right: none;
    border-bottom: 1px solid var(--blue-back);
    border-radius: 0 0 8px 8px;

    box-shadow:
      0 0 1px 0 #e4e4e4,
      -2px 2px 8px -204px rgba(128, 128, 128, 0.08),
      2px -2px 8px -204px rgba(128, 128, 128, 0.08);
    background: var(--white-100);
  }
  .header__inner {
    border-bottom: 1px solid var(--blue-back);
    border-radius: 0 0 8px 8px;
    padding: 6px 16px;

    box-shadow:
      0 0 1px 0 #e4e4e4,
      -2px 2px 8px -204px rgba(128, 128, 128, 0.08),
      2px -2px 8px -204px rgba(128, 128, 128, 0.08);
    background: var(--white-100);
  }
  .phone__mob {
    display: block;
  }
  .menu {
    display: flex;
    align-items: center;
    gap: 24px;
  }
}
.hero__section {
  margin-top: 40px;
  padding-bottom: 40px;
}

.hero__inner {
  background: url("/MigraPro/images/hero.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  border-radius: 20px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto auto auto;
  min-height: 650px;
}

.hero__title {
  grid-column: 1/-1;
  grid-row: 1;

  justify-self: start;
  align-self: start;

  max-width: 670px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 48px;
  line-height: 83%;
  color: var(--dark-87);
  z-index: 10;

  span {
    background: linear-gradient(180deg, #2154b2 0%, #1a4fb0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.hero__text {
  grid-column: 2/-1;
  grid-row: 4/-2;

  justify-self: end;
  align-self: end;

  max-width: 770px;
}
.hero__description {
  font-family: var(--third-family);
  font-weight: 700;
  font-size: 36px;
  line-height: 120%;
  color: var(--dark-87);

  span {
    background: linear-gradient(180deg, #2154b2 0%, #1a4fb0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.hero__text-s {
  margin-top: 24px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 83%;
  letter-spacing: 0.02em;
  color: var(--dark-54);

  span {
    background: linear-gradient(180deg, #2154b2 0%, #1a4fb0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
.hero__btn {
  margin-top: 20px;
  width: 100%;
  max-width: 370px;

  border-radius: 8px;
  padding: 12px 15px;
  background: #cc0a0a;
  text-align: center;
  transition: background-color 0.3s;
}
.hero__btn-link {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.05em;

  color: var(--white-100);
}

.hero__btn:hover {
  background: #a00808;
  cursor: pointer;
}

.hero__inner-mob {
  display: none;
}

@media (max-width: 992px) {
  .hero__inner {
    min-height: 550px;
  }

  .hero__title {
    font-size: 40px;
    max-width: 550px;
  }

  .hero__description {
    font-size: 28px;
  }

  .hero__text-s {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .hero__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: auto;
    padding: 30px;
  }

  .hero__title {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    max-width: 100%;
    font-size: 36px;
    line-height: 1.2;
  }

  .hero__text {
    grid-column: 1;
    grid-row: 2;
    max-width: 100%;
  }

  .hero__description {
    font-size: 24px;
  }

  .hero__text-s {
    font-size: 16px;
    line-height: 1.4;
  }
}

@media (max-width: 375px) {
  .hero__inner,
  .hero__btn {
    display: none;
  }

  .hero__inner-mob {
    display: flex;
    flex-direction: column;

    max-width: 375px;

    .hero__title {
      font-weight: 700;
      font-size: 36px;
      span {
        background: linear-gradient(180deg, #2154b2 0%, #1a4fb0 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
      }
    }

    .hero__text {
      width: 100%;
      margin-top: 12px;
    }
    .hero__description {
      font-weight: 600;
      font-size: 24px;
      line-height: 140%;
    }
    .hero__text-s {
      font-weight: 500;
      font-size: 16px;
      line-height: 150%;
      letter-spacing: 0.03em;
    }
  }
  .hero__bg-mob {
    margin-top: -24px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: end;
    height: 278px;
    background-image: url(/MigraPro/images/hero__bg-mob.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .hero__btn-link {
    padding: 10px;
    width: 234px;
    border-radius: 8px;
    background: #cc0a0a;
    text-align: center;

    max-width: 100%;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.05em;

    color: var(--white-100);
  }
}
.info {
  margin-top: 50px;
}
.info__cards {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.info__card {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 30px;

  border: 0.2px solid var(--dark-20);
  border-radius: 10px;
}
.info__card-title {
  font-weight: 600;
  font-size: 24px;
  line-height: 140%;
  color: var(--dark-87);
}
.info__card-text {
}
.info__card-btn {
  border-radius: 8px;
  padding: 12px 15px;
  background: linear-gradient(180deg, #2154b2 0%, #1a4fb0 100%);
  letter-spacing: 0.05em;
  text-align: center;
  color: var(--white-100);
}

@media (max-width: 768px) {
  .info__cards {
    gap: 20px;
    flex-wrap: wrap;
  }

  .info__card {
    padding: 20px;
  }

  .info__card-title {
    font-size: 20px;
  }
}

@media (max-width: 375px) {
  .info__cards {
    flex-direction: column;
  }
  .info__card {
  }
  .info__card-title {
    font-size: 24px;
  }
  .info__card-text {
    font-size: 14px;
    line-height: 171%;

    span {
      color: var(--blue-light);
    }
  }
}
/* Бургер-меню */
.burger-menu {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  width: 21px;
  height: 16px;
  cursor: pointer;
  z-index: 100;
}

.burger-menu span {
  width: 100%;
  height: 2px;
  background-color: #313131;
  transition: 0.3s;
}

.burger-menu .stick_s {
  width: 60%;
}

/* Анимация бургера в крестик */
.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  width: 100%;
}

.burger-menu.active span:nth-child(2) {
  transform: rotate(-45deg) translate(0px, 0px);
  width: 100%;
}

.burger-menu.active span:nth-child(3) {
  opacity: 0;
}

/* Навигация */
.nav {
  border-radius: 0 0 16px 16px;
  padding: 16px 0;
  box-shadow: 0 0 1px 0 #e4e4e4;
  background: var(--white-100);
  width: 100%;
}

.main-nav {
  position: relative;
  z-index: 100;
  transition: all 0.3s ease;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 8px 14px;
}

.nav-menu a {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #313131;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a:hover {
  color: #0047ab;
}

/* Checkmark */
.checkmark {
  width: 14px;
  height: 6px;
}

/* Десктоп версия */

@media (min-width: 769px) {
  .main-nav {
    display: block;
  }
}
@media(max-width: 1280px){
   padding: 16px 60px;
}
@media (max-width: 992px) {
  .nav {
    padding: 16px 30px;
  }

  .nav-menu li {
    padding: 8px 5px 8px 10px;
  }

  .nav-menu a {
    font-size: 14px;
  }
}

/* Мобильная версия */
@media (max-width: 768px) {
  .burger-menu {
    display: flex; /* Показываем бургер */
  }

  .nav {
    position: relative;
    padding: 0;
    width: 100%;
  }

  .main-nav {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    z-index: 99;
    border-radius: 0 0 16px 16px;
  }

  .main-nav.active {
    max-height: 500px;
    padding: 0 0 10px ;
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 10px 20px;
  }

  .nav-menu li {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu a {
    width: 100%;
    justify-content: space-between;
  }
}

/* Оверлей */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 98;
}

.nav-overlay.active {
  display: block;
}

/* Убираем лишние классы */
.nav-toggle,
.burger {
  display: none;
}
/* Reset and base styles  */
* {
  padding: 0px;
  margin: 0px;
  border: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Links */

a,
a:link,
a:visited {
  text-decoration: none;
  /* color: inherit; */
}

a:hover {
  text-decoration: none;
}

/* Common */

aside,
nav,
footer,
header,
section,
main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: inherit;
  font-weight: inherit;
}

ul,
ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

address {
  font-style: normal;
}

/* Form */

input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

input::-ms-clear {
  display: none;
}

button,
input[type="submit"] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
  outline: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

label {
  cursor: pointer;
}

legend {
  display: block;
}
.services {
  margin-top: 50px;
}
.services__title {
  font-weight: 600;
  font-size: 36px;
  line-height: 120%;
  text-transform: uppercase;
  color: var(--dark-87);
}
.services__subtitle {
}
.services__links {
  margin-top: 60px;

  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.services__link {
  max-width: 370px;
  border: 0.3px solid var(--dark-20);
  border-radius: 10px;
  padding: 30px;

  a {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 4px;
  }
}

.services__link-s {
  max-width: 470px;
}
.services__link-m {
  max-width: 490px;
}
.services__link-l {
  max-width: 567px;
}
.services__link-title {
  font-size: 20px;
  line-height: 140%;
  letter-spacing: 0.02em;
  color: var(--dark-54);
}

@media (max-width: 992px) {
  .services__links {
    justify-content: center;
  }

  .services__link,
  .services__link-s,
  .services__link-m,
  .services__link-l {
    max-width: 45%;
    flex: 1 1 300px;
  }
}

@media (max-width: 768px) {
  .services__title {
    font-size: 30px;
  }

  .services__link,
  .services__link-s,
  .services__link-m,
  .services__link-l {
    max-width: 100%;
    flex: 1 1 100%;
    padding: 20px;
  }

  .services__link-title {
    font-size: 18px;
  }
}

@media (max-width: 375px) {
  .services {
    flex-direction: column;
  }
  .services__title {
    font-size: 28px;
  }
  .services__subtitle {
    font-size: 14px;
    line-height: 171%;
  }
  .services__link {
    max-width: 343px;
  }
  .services__link-title {
    font-size: 16px;
  }
}
:root {
  --dark-87: rgba(0, 0, 0, 0.87);
  --dark-20: rgba(0, 0, 0, 0.2);
  --dark-54: rgba(0, 0, 0, 0.54);
  --white-100: #fff;
  --white-64: rgba(255, 255, 255, 0.64);
  --blue-light: #50b3ff;
  --blue-back: #eaf1f6;
  --blue-stroke: #e2eaf0;
  --red-100: #ea0e00;
  --red-70: #e83b3b;
  --green-50: #75cb99;

  --font-family: "Inter", sans-serif;
  --second-family: "Arial", sans-serif;
  --third-family: "Montserrat", sans-serif;
  --font3: "Geologica", sans-serif;
}

/* :hover{
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
} */







