@font-face {
  font-family: "Inter";
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  src: local("Inter.ttf"),url(../fonts/Inter.woff2) format("woff2"),url(../fonts/Inter.woff) format("woff");
}

@font-face {
  font-family: "Bebas Neue";
  src: url(../fonts/BebasNeueRegular.eot);
  src: local("Bebas Neue Regular"),local("BebasNeueRegular"),url(../fonts/BebasNeueRegular.eot?#iefix) format("embedded-opentype"),url(../fonts/../fonts/BebasNeueRegular.woff) format("woff"),url(../fonts/BebasNeueRegular.ttf) format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Bebas Neue";
  src: url(../fonts/BebasNeueBold.eot);
  src: local("Bebas Neue Bold"),local("BebasNeueBold"),url(../fonts/BebasNeueBold.eot?#iefix) format("embedded-opentype"),url(../fonts/BebasNeueBold.woff) format("woff"),url(../fonts/BebasNeueBold.ttf) format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Bebas Neue";
  src: url(../fonts/BebasNeueLight.eot);
  src: local("Bebas Neue Light"),local("BebasNeueLight"),url(../fonts/BebasNeueLight.eot?#iefix) format("embedded-opentype"),url(../fonts/BebasNeueLight.woff) format("woff"),url(../fonts/BebasNeueLight.ttf) format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Bebas Neue";
  src: url(../fonts/BebasNeue-Thin.eot);
  src: local("Bebas Neue Thin"),local("BebasNeue-Thin"),url(../fonts/BebasNeue-Thin.eot?#iefix) format("embedded-opentype"),url(../fonts/BebasNeue-Thin.woff) format("woff"),url(../fonts/BebasNeue-Thin.ttf) format("truetype");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: "Bebas Neue Book";
  src: url(../fonts/BebasNeueBook.eot);
  src: local("Bebas Neue Book"),local("BebasNeueBook"),url(../fonts/BebasNeueBook.eot?#iefix) format("embedded-opentype"),url(../fonts/BebasNeueBook.woff) format("woff"),url(../fonts/BebasNeueBook.ttf) format("truetype");
  font-weight: 400;
  font-style: normal;
}

.btn,
.form__input {
  font-size: 24px;
  padding: 23px 54px;
  height: 75px;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #191919;
  color: #fff;
  font-family: "Inter";
  font-size: 20px;
  line-height: 1.2;
  padding: 0;
  font-weight: 400;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
}

body,
h1,
h2 {
  margin: 0;
}

p {
  margin: 6px 0;
}

.top {
  display: grid;
  align-items: center;
  padding: 30px 70px;
  font-size: 24px;
}

.top .logo__img {
  width: 180px;
  height: 32px;
}

.top__link {
  text-decoration: none;
  border: 1px solid #787878;
}

.top__link,
.top__phone a {
  color: inherit;
}

.top__phone a:hover {
  color: rgba(0,0,0,.7);
}

.social__link {
  padding: 3px;
  color: inherit;
}

.social__icon {
  width: 30px;
  height: 30px;
}

.title {
  font-family: "Bebas Neue";
  font-weight: 400;
  font-size: 98px;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.jumbotron {
  display: flex;
  justify-content: center;
}

.jumbotron__title {
  line-height: 1.13;
  position: relative;
  z-index: 0;
}

.jumbotron__title::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  margin: inherit;
  -webkit-text-stroke: 14px #191919;
  z-index: -1;
  white-space: normal;
}

.jumbotron__title:after {
  content: "";
  background: url(../images/fast-time.svg);
  display: inline-block;
  background-size: contain;
  height: .9em;
  aspect-ratio: 154/98;
  margin-left: .18em;
  transform: translateY(.07em);
}

.jumbotron__title span {
  white-space: normal;
}

.jumbotron__title-container {
  display: flex;
  justify-content: center;
}

.jumbotron__svg {
  height: 112px;
}

.jumbotron__container {
  box-sizing: border-box;
}

.content {
  display: flex;
  justify-content: center;
}

.content__container {
  display: grid;
}

.content__list,
.content__title {
  line-height: 1.5;
}

.content__list {
  font-family: "Bebas Neue",serif;
  font-size: 48px;
  letter-spacing: -1.2px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.content__list-item {
  display: flex;
  align-items: center;
}

.content__list-item:before {
  content: "";
  background: url(data:image/svg+xml;utf8,%3Csvg%20width%3D%2241%22%20height%3D%2241%22%20viewBox%3D%220%200%2041%2041%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M18.3231%2031.0698L34.4269%2014.966C34.7591%2014.6338%2034.9253%2014.2404%2034.9253%2013.7857C34.9253%2013.3311%2034.7591%2012.9377%2034.4269%2012.6055L31.7517%209.93028C31.4195%209.59806%2031.0261%209.43195%2030.5715%209.43195C30.1168%209.43195%2029.7234%209.59806%2029.3912%209.93028L17.1429%2022.1786L11.6089%2016.6446C11.2766%2016.3123%2010.8832%2016.1462%2010.4286%2016.1462C9.97399%2016.1462%209.58058%2016.3123%209.24836%2016.6446L6.57314%2019.3198C6.24092%2019.652%206.07481%2020.0454%206.07481%2020.5C6.07481%2020.9546%206.24092%2021.3481%206.57314%2021.6803L15.9626%2031.0698C16.2949%2031.402%2016.6883%2031.5681%2017.1429%2031.5681C17.5975%2031.5681%2017.9909%2031.402%2018.3231%2031.0698ZM40.6429%207.91075V33.0893C40.6429%2035.17%2039.9041%2036.9492%2038.4267%2038.4267C36.9492%2039.9041%2035.17%2040.6429%2033.0893%2040.6429H7.91075C5.83002%2040.6429%204.05091%2039.9041%202.57342%2038.4267C1.09592%2036.9492%200.357178%2035.17%200.357178%2033.0893V7.91075C0.357178%205.83002%201.09592%204.05091%202.57342%202.57342C4.05091%201.09592%205.83002%200.357178%207.91075%200.357178H33.0893C35.17%200.357178%2036.9492%201.09592%2038.4267%202.57342C39.9041%204.05091%2040.6429%205.83002%2040.6429%207.91075Z%22%20fill%3D%22%23F3CD20%22%2F%3E%0A%3C%2Fsvg%3E);
  width: 41px;
  height: 41px;
  margin-right: 20px;
  flex-shrink: 0;
  display: inline-flex;
  background-size: contain;
}

.form {
  background: #fff;
  box-sizing: border-box;
  padding: 56px;
  display: grid;
  gap: 10px;
}

.form__input {
  color: #787878;
  border: 1px solid #787878;
  width: 100%;
}

.form__input.error {
  border-color: red;
}

.form__button {
  width: 100%;
  border: 0;
}

.form__footer {
  margin-top: 12px;
}

.form__group .error {
  color: red;
}

.btn {
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn--yellow {
  background-color: #f3cd20;
  color: #000;
}

.btn--yellow:hover {
  background-color: #191919;
  color: #fff;
}

footer {
  margin: 40px 70px;
}

.shops {
  display: grid;
}

.shops__body {
  display: flex;
  -moz-column-gap: 30px;
  column-gap: 30px;
}

.shops__title {
  font-size: 33px;
  line-height: normal;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255,255,255,.2);
}

.shops__addr {
  padding-right: 30px;
  padding-top: 20px;
  padding-bottom: 10px;
}

.shops__addr .first-line {
  text-transform: uppercase;
}

.popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%) scale(0);
  background: #fff;
  width: 400px;
  padding: 50px;
  transition: .5s all;
}

.popup.active {
  transform: translate(-50%,-50%) scale(1);
  transition: .5s all;
}

.popup__body {
  padding-top: 25px;
  color: #323232;
  text-align: center;
}

.popup__bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,.5);
  opacity: 0;
  pointer-events: none;
  transition: .5s all;
}

.popup__bg.active {
  opacity: 1;
  pointer-events: all;
  transition: .5s all;
}

.close-popup,
.down,
.up {
  right: 20px;
  cursor: pointer;
}

.close-popup {
  position: absolute;
  top: 20px;
  width: 26px;
  height: 26px;
  color: #323232;
}

.down,
.up {
  display: none;
  position: fixed;
  z-index: 9999;
  background: #4f4f4f;
  border: 1px solid #ccc;
  border-radius: 5px;
  color: #fff;
  text-align: center;
  font: 42px/42px sans-serif;
  text-shadow: 0 1px 2px #000;
  opacity: .5;
  padding: 3px;
  margin-bottom: 5px;
  width: 42px;
  height: 42px;
}

.down.active,
.up.active {
  display: block;
}

.up {
  bottom: 60px;
}

.down {
  bottom: 10px;
}

.down:hover,
.up:hover {
  opacity: 1;
  box-shadow: 0 5px .5em -1px #666;
}

@media only screen and (min-width:992px) {
  .shops {
    border-top: 1px solid rgba(255,255,255,.2);
  }

  .shops__addr {
    flex-basis: 50%;
    flex-grow: 1;
  }

  .shops__addr:nth-last-child(n+2) {
    border-right: 1px solid rgba(255,255,255,.2);
  }
}

@media only screen and (min-width:1200px) {
  .top {
    position: absolute;
    width: 100%;
    box-sizing: border-box;
    min-height: 100px;
    color: #000;
    grid-template-columns: 1fr repeat(3,auto);
    -moz-column-gap: 30px;
    column-gap: 30px;
  }

  .btn--transparent:hover {
    background-color: #191919;
    border-color: #191919;
    color: #fff;
  }

  .social {
    mix-blend-mode: difference;
    color: #f3cd20;
  }

  .social__link:hover {
    color: rgba(243,205,32,.7);
  }

  .jumbotron {
    background: linear-gradient(45deg,transparent 0,transparent 1010px,#f3cd20 1010px);
    padding-top: 140px;
    min-height: 990px;
    box-sizing: border-box;
  }

  .jumbotron__container {
    max-width: 1159px;
    position: relative;
    padding: 30px 70px;
  }

  .content {
    margin: 200px 0;
  }

  .content__container {
    max-width: 1459px;
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .content__form {
    justify-self: end;
  }

  .shops {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }

  .form {
    min-width: 573px;
  }
}

@media only screen and (max-width:1199px) {
  .top {
    grid-template-columns: 1fr auto;
    min-height: 140px;
    row-gap: 24px;
  }

  .top__phone {
    grid-row-start: 1;
    grid-column-start: 2;
    min-height: 32px;
    display: inline-flex;
    justify-content: end;
  }

  .social__link:hover,
  .top__phone>a:hover {
    color: #f3cd20;
  }

  .top__logo,
  .top__phone {
    border-bottom: 1px solid #ddd;
    align-self: end;
    padding-bottom: 24px;
  }

  .social {
    grid-row-start: 2;
    color: inherit;
  }

  .btn--transparent:hover {
    border-color: #f3cd20;
    color: #f3cd20;
  }

  .jumbotron {
    background-color: #f3cd20;
  }

  .jumbotron__container {
    padding: 30px 90px;
  }

  .jumbotron__title-container {
    justify-content: flex-start;
  }

  .jumbotron__title:after {
    height: .8em;
  }

  .content {
    margin: 75px 0;
  }

  .content__container {
    row-gap: 60px;
    width: 100%;
    margin: 0 70px;
  }
}

@media only screen and (max-width:991px) {
  .shops {
    row-gap: 50px;
  }

  .shops__body {
    flex-direction: column;
  }

  .shops__addr {
    flex-basis: 100%;
    flex-shrink: 0;
  }

  .shops__addr:nth-last-child(n+2) {
    border-bottom: 1px solid rgba(255,255,255,.2);
  }
}

@media only screen and (max-width:767px) {
  body {
    font-size: 18px;
  }

  .top .logo__img {
    width: 114px;
    height: 20px;
  }

  .title {
    font-size: 60px;
  }

  .jumbotron__title::before {
    -webkit-text-stroke: 7px #191919;
  }

  .jumbotron__container,
  .top {
    padding: 30px 20px;
  }

  .top {
    font-size: 16px;
  }

  .top__phone {
    min-height: 20px;
  }

  .btn,
  .form__input {
    font-size: 16px;
    padding: 13px 25px;
    height: 45px;
  }

  .content__list {
    font-size: 26px;
    letter-spacing: -.65px;
  }

  .content__list-item::before {
    width: 1em;
    height: 1em;
    margin-right: .75em;
    flex-shrink: 1;
  }

  .content__container {
    margin: 0 20px;
  }

  .shops__title {
    font-size: 24px;
  }

  footer {
    margin: 40px 20px;
  }

  .form {
    padding: 20px;
  }
}

@media only screen and (max-width:600px) {
  .social {
    grid-row-start: 3;
    text-align: center;
  }

  .social,
  .top__button {
    grid-column-start: 1;
    grid-column-end: 3;
  }

  .top__button .btn {
    width: 100%;
  }

  .title {
    font-size: 48px;
  }

  .content__title {
    white-space: nowrap;
    letter-spacing: -.05em;
  }

  .jumbotron__title::before {
    -webkit-text-stroke: 5px #191919;
  }
}