/* =========================================
   RESET
   ========================================= */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
}

body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;

  color: #fff;
  background: #06170e;
}


.top-header__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.top-header__phone {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    line-height: 1.2;
}

.top-header__email {
    font-size: 16px;
    color: #666;
    text-decoration: none;
    line-height: 1.2;
}

.top-header__phone:hover,
.top-header__email:hover {
    text-decoration: none;
}

@media (max-width: 600px) {

    .top-header__phone {
        font-size: 16px;
    }

    .top-header__email {
        font-size: 13px;
    }

}

.top-header {
    width: 100%;
    background: #fff;
}

.top-header__inner {
    max-width: 1280px;
    height: 90px;
    margin: 0 auto;
    padding: 0 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-header__logo img {
    display: block;
    max-width: 190px;
    height: auto;
}

.top-header__phone {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .top-header__inner {
        height: 70px;
        padding: 0 15px;
    }

    .top-header__logo img {
        max-width: 145px;
    }

    .top-header__phone {
        font-size: 16px;
    }
}


.page {
  min-height: 100vh;

  display: flex;
  flex-direction: column;

  overflow: hidden;
}


/* =========================================
   HERO
   ========================================= */

.hero {
  position: relative;

  min-height: calc(100vh - 270px);

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  background: #e5e5e5;
}

.hero::after {
  content: "";

  position: absolute;

  width: 700px;
  height: 700px;

  right: -350px;
  bottom: -450px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(65, 200, 94, .20),
      transparent 70%
    );

  pointer-events: none;
}


/* =========================================
   ДЕКОРАТИВНАЯ СЕТКА
   ========================================= */

.hero-grid {
  position: absolute;
  inset: 0;

  opacity: .07;

  background-image:
    linear-gradient(
      rgba(255,255,255,.5) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,.5) 1px,
      transparent 1px
    );

  background-size: 55px 55px;

  transform:
    perspective(600px)
    rotateX(55deg)
    scale(1.5);

  transform-origin: center bottom;

  pointer-events: none;
}


/* =========================================
   HERO CONTENT
   ========================================= */

.hero-content {
  position: relative;

  z-index: 2;

  width: min(900px, calc(100% - 40px));

  padding: 80px 20px;

  text-align: center;
}


/* =========================================
   ЛОГОТИП
   ========================================= */

.hero-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 28px;

  padding: 10px 18px;
}

.hero-label img {
  display: block;

  width: 180px;
  height: auto;

  max-height: 55px;

  object-fit: contain;
}


/* =========================================
   ЗАГОЛОВОК
   ========================================= */

.hero h1 {
  margin: 0 auto;

  max-width: 850px;

  color: #000;

  font-size: 62px;
  line-height: 1.02;

  font-weight: 600;

  letter-spacing: -3px;
}

.hero h1 span {
  color: #dc2a1b;
}


/* =========================================
   ПОДЗАГОЛОВОК
   ========================================= */

.hero-subtitle {
  margin: 28px auto 0;

  max-width: 620px;

  color: #000;

  font-size:
    clamp(16px, 2vw, 20px);

  line-height: 1.6;
}


/* =========================================
   ДЕКОРАТИВНЫЙ ЭЛЕМЕНТ
   ========================================= */

.hero-decoration {
  position: absolute;

  bottom: 35px;
  left: 50%;

  width: 55px;
  height: 55px;

  transform:
    translateX(-50%)
    rotate(45deg);

  border:
    1px solid
    rgba(255,255,255,.14);

  border-radius: 10px;
}

.hero-decoration::after {
  content: "";

  position: absolute;

  width: 8px;
  height: 8px;

  left: 50%;
  top: 50%;

  transform:
    translate(-50%, -50%)
    rotate(-45deg);

  border-radius: 50%;

  background: #6ee587;

  box-shadow:
    0 0 25px
    rgba(110,229,135,.8);
}


/* =========================================
   КАРТОЧКИ SPORT
   ========================================= */

.sport-cards {
  background: #fff;

  display: flex;

  flex-wrap: nowrap;

  border-radius: 30px;

  padding: 30px;

  color: #000;

  margin-top: 50px;
}

.sport-cards > .col-sm-4 {
  width: 25%;
  flex: 0 0 25%;

  display: flex;
  flex-direction: column;

  align-items: center;

  text-align: center;
}

.sport-cards img {
  display: block;

  height: 40px;
}

.sport-cards p {
  margin: 15px 0 0;
}


/* =========================================
   ПЕРВАЯ ФОРМА — РАСТЯГИВАЕМ НА ШИРИНУ
   ========================================= */

.callback.callback--sport-cards.callback-white {background:transparent;}

.callback--sport-cards {
  width: 100vw;

  position: relative;
  left: 50%;

  transform: translateX(-50%);

  padding-left: 20px;
  padding-right: 20px;

  margin-top: 50px;
}

.callback--sport-cards .callback__inner {
  width: 100%;
  max-width: 1200px;

  margin: 0 auto;
}


/* =========================================
   ДОСТИЖЕНИЯ
   ========================================= */

.sport-achievements {
  width: 100%;

  display: flex;

  justify-content: space-between;

  align-items: stretch;

  padding: 60px 40px;

  box-sizing: border-box;

  margin-top: 65px;
}

.sport-achievements__item {
  width: 33.333%;

  display: flex;

  flex-direction: column;

  align-items: center;

  text-align: center;

  padding: 0 30px;

  box-sizing: border-box;

  position: relative;
}


/* Иконка */

.sport-achievements__icon {
  margin-bottom: 22px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: #f3f5f7;
}

.sport-achievements__icon svg {
  width: 34px;
  height: 34px;

  fill: none;

  stroke: #1d1d1d;

  stroke-width: 3;

  stroke-linecap: round;

  stroke-linejoin: round;
}


/* Большая цифра */

.sport-achievements__number {
  font-size: 32px;

  line-height: 1.2;

  font-weight: 700;

  color: #dc2a1b;

  min-height: 55px;
}


/* Описание */

.sport-achievements__text {
  font-size: 17px;

  line-height: 1.45;

  color: #000;
}


/* =========================================
   ФУТБОЛЬНОЕ ПОЛЕ
   ========================================= */

.sport-field {
  position: relative;

  height: 135px;

  overflow: hidden;

  background:
    repeating-linear-gradient(
      90deg,
      #27792e 0px,
      #27792e 48px,
      #318a36 48px,
      #318a36 96px
    );

  border-top:
    3px solid
    rgba(255,255,255,.15);

  box-shadow:
    inset 0 10px 25px
    rgba(0,0,0,.12);
}


/* Разметка поля */

.field-line {
  position: absolute;

  left: 0;
  right: 0;

  top: 50%;

  height: 3px;

  transform:
    translateY(-50%);

  background:
    rgba(255,255,255,.65);

  box-shadow:
    0 0 5px
    rgba(255,255,255,.15);
}


/* Центральный круг */

.field-circle {
  position: absolute;

  left: 50%;
  top: 50%;

  width: 125px;
  height: 125px;

  transform:
    translate(-50%, -50%);

  border:
    3px solid
    rgba(255,255,255,.55);

  border-radius: 50%;
}

.field-circle::after {
  content: "";

  position: absolute;

  width: 8px;
  height: 8px;

  left: 50%;
  top: 50%;

  transform:
    translate(-50%, -50%);

  border-radius: 50%;

  background: #fff;
}


/* Затемнение */

.sport-field::after {
  content: "";

  position: absolute;

  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      to bottom,
      transparent 35%,
      rgba(0,0,0,.17)
    );
}


/* =========================================
   ТРАВА
   ========================================= */

.grass {
  position: absolute;

  z-index: 1;

  left: 0;
  right: 0;

  bottom: 0;

  height: 32px;

  opacity: .6;

  background:
    repeating-linear-gradient(
      75deg,
      transparent 0 6px,
      rgba(11,70,23,.5) 6px 8px,
      transparent 8px 15px
    );
}


/* =========================================
   ТЕНЬ МЯЧА
   ========================================= */

.ball-shadow {
  position: absolute;

  z-index: 2;

  left: -90px;

  bottom: 30px;

  width: 58px;
  height: 12px;

  border-radius: 50%;

  background:
    rgba(0,0,0,.32);

  filter: blur(4px);

  animation:
    shadowMove 7s linear infinite;
}


/* =========================================
   ФУТБОЛЬНЫЙ МЯЧ
   ========================================= */

.football {
  position: absolute;

  z-index: 4;

  left: -80px;

  bottom: 37px;

  width: 58px;
  height: 58px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle at 28% 23%,
      #ffffff 0%,
      #ffffff 14%,
      #f1f1f1 32%,
      #d1d1d1 61%,
      #858585 100%
    );

  box-shadow:
    inset -9px -10px 15px
    rgba(0,0,0,.23),

    6px 10px 12px
    rgba(0,0,0,.25);

  animation:
    footballRoll 7s linear infinite,

    footballBounce
    .48s ease-in-out
    infinite alternate;
}


/* Центральная чёрная панель */

.football::before {
  content: "";

  position: absolute;

  left: 20px;
  top: 19px;

  width: 19px;
  height: 19px;

  background: #171717;

  clip-path:
    polygon(
      50% 0%,
      95% 35%,
      78% 92%,
      22% 92%,
      5% 35%
    );
}


/* Блик */

.football::after {
  content: "";

  position: absolute;

  left: 11px;
  top: 9px;

  width: 11px;
  height: 8px;

  border-radius: 50%;

  background:
    rgba(255,255,255,.8);

  filter: blur(2px);
}


/* Швы */

.seam {
  position: absolute;

  border:
    2px solid
    rgba(25,25,25,.42);

  border-radius: 50%;
}

.seam-1 {
  left: 2px;
  top: 13px;

  width: 30px;
  height: 30px;
}

.seam-2 {
  right: 0;
  top: 5px;

  width: 31px;
  height: 31px;
}

.seam-3 {
  right: 5px;
  bottom: 0;

  width: 28px;
  height: 28px;
}


/* =========================================
   ФОРМЫ ОБРАТНОЙ СВЯЗИ
   ========================================= */

.callback {
  width: 100%;

  padding: 70px 20px;

  background: #fff;

  box-sizing: border-box;
}

.callback__inner {
  max-width: 1200px;

  margin: 0 auto;
}

.callback__header {
  text-align: center;

  margin-bottom: 40px;
}

.callback__title {
  margin-bottom: 12px;

  font-size: 30px;

  line-height: 1.15;

  font-weight: 700;

  color: #222;
}

.callback__subtitle {
  font-size: 18px;

  line-height: 1.5;

  color: #777;
}

.callback__fields {
  display: flex;

  gap: 15px;
}

.callback__field {
  flex: 1;
}

.callback__field input {
  width: 100%;

  height: 60px;

  padding: 0 20px;

  border: 1px solid #ddd;

  border-radius: 8px;

  outline: none;

  background: #fff;

  font-family: inherit;

  font-size: 16px;

  color: #222;

  box-sizing: border-box;
}

.callback__field input:focus {
  border-color: #222;
}

.callback__field input::placeholder {
  color: #999;
}

.callback__bottom {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;

  margin-top: 20px;
}

.callback__agree {
  display: flex;

  align-items: flex-start;

  gap: 10px;

  max-width: 400px;

  font-size: 13px;

  line-height: 1.4;

  color: #888;

  cursor: pointer;
}

.callback__agree input {
  width: 16px;
  height: 16px;

  margin: 0;

  flex-shrink: 0;
}

.callback__button {
  min-width: 260px;

  height: 60px;

  padding: 0 30px;

  border: 0;

  border-radius: 8px;

  background: #dc2a1b;

  color: #fff;

  font-family: inherit;

  font-size: 17px;

  font-weight: 600;

  cursor: pointer;

  transition: .2s;
}

.callback__button:hover {
  opacity: .85;
}

.callback__button:disabled {
  opacity: .5;

  cursor: default;
}


/* =========================================
   СООБЩЕНИЕ ФОРМЫ
   ========================================= */

.callback__message {
  display: none;

  margin-top: 25px;

  padding: 20px;

  border-radius: 8px;

  text-align: center;

  font-size: 17px;

  line-height: 1.4;
}

.callback__message.success {
  display: block;

  background: #eef8f0;

  color: #28733b;
}

.callback__message.error {
  display: block;

  background: #fff0f0;

  color: #b42323;
}


/* =========================================
   FOOTER
   ========================================= */

.footer {
  position: relative;

  background: #06170e;

  border-top:
    1px solid
    rgba(255,255,255,.07);
}

.footer .container {
  width:
    min(
      1200px,
      calc(100% - 40px)
    );

  margin: 0 auto;

  padding:
    30px 0;
}

.footer ul {
  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  align-items: center;

  gap:
    10px 30px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.footer li {
  color: #fff;

  font-size: 13px;

  white-space: nowrap;
}

.footer li a {
  color: #fff;    
  text-decoration: none;
}

.footer li:last-child {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.footer li:nth-child(4) {
    font-size: 18px;
    font-weight: 600;
}

/* =========================================
   АНИМАЦИЯ МЯЧА
   ========================================= */

@keyframes footballRoll {

  0% {
    transform:
      translateX(0)
      rotate(0deg);
  }

  100% {
    transform:
      translateX(calc(100vw + 170px))
      rotate(1440deg);
  }

}

@keyframes footballBounce {

  0% {
    bottom: 37px;
  }

  100% {
    bottom: 47px;
  }

}

@keyframes shadowMove {

  0% {
    transform: scaleX(1);

    opacity: .32;
  }

  25% {
    transform: scaleX(.72);

    opacity: .20;
  }

  50% {
    transform: scaleX(1);

    opacity: .32;
  }

  75% {
    transform: scaleX(.72);

    opacity: .20;
  }

  100% {
    transform: scaleX(1);

    opacity: .32;
  }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {

  .hero {
    min-height:
      calc(100vh - 280px);
  }


  .hero-content {
    padding:
      65px 20px 90px;
  }


  .hero-label {
    margin-bottom: 22px;

    padding:
      8px 14px;
  }


  .hero-label img {
    width: 125px;

    max-height: 45px;
  }


  .hero h1 {
    font-size: 38px;

    letter-spacing: -1.5px;
  }


  .hero-subtitle {
    font-size: 15px;
  }


  /* =====================================
     ПЕРВАЯ ФОРМА НА МОБИЛЬНОМ
     ===================================== */

  .callback--sport-cards {
    width: 100%;

    left: auto;

    transform: none;

    margin-left: 0;
    margin-right: 0;

    padding:
      50px 20px;
  }


  .callback {
    padding:
      50px 20px;
  }


  .callback__title {
    font-size: 32px;
  }


  .callback__subtitle {
    font-size: 16px;
  }


  .callback__fields {
    flex-direction: column;

    gap: 12px;
  }


  .callback__field input {
    height: 56px;
  }


  .callback__bottom {
    flex-direction: column;

    align-items: stretch;

    gap: 20px;
  }


  .callback__button {
    width: 100%;

    height: 56px;
  }


  /* =====================================
     КАРТОЧКИ
     ===================================== */

  .sport-cards {
    flex-wrap: wrap;
  }


  .sport-cards > .col-sm-4 {
    width: 50%;

    flex: 0 0 50%;
  }


  .sport-cards > .col-sm-4:nth-child(1),
  .sport-cards > .col-sm-4:nth-child(2) {
    margin-bottom: 20px;
  }


  .sport-cards p {
    font-size: 12px;
  }


  /* =====================================
     ДОСТИЖЕНИЯ
     ===================================== */

  .sport-achievements {
    flex-direction: column;

    padding:
      40px 20px;
  }


  .sport-achievements__item {
    width: 100%;

    padding:
      30px 10px;
  }


  .sport-achievements__item:not(:last-child)::after {
    top: auto;

    bottom: 0;

    right: 10%;

    width: 80%;

    height: 1px;
  }


  .sport-achievements__number {
    font-size: 28px;
  }


  .sport-achievements__text {
    font-size: 16px;
  }


  /* =====================================
     ФУТБОЛЬНОЕ ПОЛЕ
     ===================================== */

  .sport-field {
    height: 105px;
  }


  .field-circle {
    width: 90px;

    height: 90px;
  }


  .football {
    width: 43px;

    height: 43px;

    bottom: 28px;
  }


  .football::before {
    left: 15px;

    top: 14px;

    width: 14px;

    height: 14px;
  }


  .seam-1 {
    width: 23px;

    height: 23px;

    left: 1px;

    top: 10px;
  }


  .seam-2 {
    width: 23px;

    height: 23px;

    right: 0;

    top: 4px;
  }


  .seam-3 {
    width: 22px;

    height: 22px;

    right: 4px;

    bottom: 0;
  }


  .ball-shadow {
    bottom: 23px;
  }


  /* =====================================
     FOOTER
     ===================================== */

  .footer .container {
    width:
      calc(100% - 30px);

    padding:
      25px 0;
  }


  .footer ul {
    flex-direction: column;

    gap: 9px;
  }


  .footer li {
    font-size: 12px;
  }


  /* =====================================
     АНИМАЦИЯ МЯЧА
     ===================================== */

  @keyframes footballBounce {

    0% {
      bottom: 28px;
    }

    100% {
      bottom: 35px;
    }

  }

}


/* =========================================
   REDUCED MOTION
   ========================================= */

@media (prefers-reduced-motion: reduce) {

  .football,
  .ball-shadow {
    animation: none;
  }


  .football {
    left: 50%;

    transform:
      translateX(-50%);
  }


  .ball-shadow {
    left:
      calc(50% - 29px);
  }

}