@font-face {
  font-family: "PT Sans Narrow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pt-sans-narrow-v8-latin_cyrillic-regular.woff2") format("woff2"), url("../fonts/pt-sans-narrow-v8-latin_cyrillic-regular.woff") format("woff");
}
@font-face {
  font-family: "PT Sans Narrow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/pt-sans-narrow-v8-latin_cyrillic-700.woff2") format("woff2"), url("../fonts/pt-sans-narrow-v8-latin_cyrillic-700.woff") format("woff");
}
img {
  max-width: 100%;
  height: auto;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}
.button {
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  box-sizing: border-box;
  width: 140px;
  height: 50px;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  align-content: center;
  color: #000;
  background-color: #f8f5f2;
  border: 1px solid #e5ddd5;
}
.button:hover {
  border-color: #d5c9bd;
  border: 1px solid #000;
}
.button:active {
  color: rgba(0, 0, 0, 0.3);
  background-color: #d5c9bd;
}
.page {
  height: 100%;
  font-size: 18px;
  font-family: "PT Sans Narrow", "Arial", sans-serif;
  line-height: 27px;
}
.page__body {
  min-height: 100%;
  margin: 0;
  background-color: #f8f5f2;
  color: #000;
}
.page-header {
  display: flex;
  flex-direction: column;
  background-color: #242424;
  color: #fff;
}
.page-header__logo {
  height: 85px;
  text-align: center;
}
@media (min-width: 768px) {
  .page-header__logo {
    order: 2;
    height: 400px;
    background-color: #000;
    background-image: url("../img/barbershop_adaptive/bg.jpg");
    background-repeat: no-repeat;
    background-position: 50% -9px;
    background-size: cover;
  }
}
@media (min-width: 1200px) {
  .page-header__logo {
    height: 648px;
    background-position: 50% 0;
    background-size: cover;
  }
}
.page-header__logo img {
  width: 226px;
  height: 85px;
}
@media (min-width: 768px) {
  .page-header__logo img {
    margin-top: 40px;
    width: 370px;
    height: 139px;
  }
}
@media (min-width: 1200px) {
  .page-header__logo img {
    margin-top: 57px;
  }
}
.main-nav {
  position: relative;
  width: auto;
  min-height: 51px;
  background-color: #826550;
}
@media (min-width: 768px) {
  .main-nav {
    background-color: #000;
  }
}
@media (min-width: 768px) {
  .main-nav__wrapper {
    display: flex;
    justify-content: space-between;
    width: 84%;
    max-width: 960px;
    margin: 0 auto;
  }
}
.main-nav__toggle {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 2;
  width: 70px;
  height: 50px;
  background-color: #6a4d38;
  cursor: pointer;
  border: none;
}
.main-nav__toggle:hover,
.main-nav__toggle:active {
  background-color: #624530;
}
@media (min-width: 768px) {
  .main-nav__toggle {
    display: none;
  }
}
.main-nav--closed .main-nav__toggle::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 17px;
  width: 36px;
  height: 2px;
  background-color: #fff;
  box-shadow: 0 8px 0 0 #fff, 0 16px 0 0 #fff;
}
.main-nav--closed .main-nav__toggle:active::before {
  background-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 0 0 rgba(255, 255, 255, 0.3), 0 16px 0 0 rgba(255, 255, 255, 0.3);
}
@media (max-width: 767px) {
  .main-nav--closed .site-list__item {
    display: none;
  }
  .main-nav--closed .site-list__item--current {
    display: block;
  }
  .main-nav--closed .site-list__item--current a {
    padding-right: 70px;
    padding-left: 70px;
    text-align: center;
  }
  .main-nav--closed .user-list__item {
    display: none;
  }
}
.main-nav--opened .main-nav__toggle {
  top: 0;
  right: auto;
  left: 0;
}
.main-nav--opened .main-nav__toggle::before,
.main-nav--opened .main-nav__toggle::after {
  content: "";
  position: absolute;
  top: 24px;
  left: 18px;
  width: 36px;
  height: 2px;
  background-color: #fff;
}
.main-nav--opened .main-nav__toggle::before {
  transform: rotate(45deg);
  box-shadow: none;
}
.main-nav--opened .main-nav__toggle::after {
  transform: rotate(-45deg);
}
.main-nav--opened .main-nav__toggle:active::before,
.main-nav--opened .main-nav__toggle:active::after {
  background-color: rgba(255, 255, 255, 0.3);
}
.main-nav--opened .main-nav__wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 70px;
  z-index: 10;
  min-height: 80vh;
  background-color: #6a4d38;
}
.main-nav--opened .main-nav__wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 7px;
  height: 100%;
  box-shadow: inset 4px 0 7px -2px rgba(0, 0, 0, 0.4);
}
@media (min-width: 768px) {
  .main-nav--opened .main-nav__wrapper {
    min-height: inherit;
    background-color: #000;
  }
}
.main-nav--nojs .main-nav__toggle {
  display: none;
}
.main-nav--nojs .main-nav__wrapper {
  position: static;
  min-height: 0;
}
.main-nav--nojs .site-list__item {
  display: block;
}
.main-nav--nojs .site-list__item--current a {
  padding-right: 21px;
  padding-left: 21px;
  text-align: center;
}
.main-nav--nojs .user-list__item {
  display: block;
  background-color: #6a4d38;
}
.main-nav__list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.main-nav__list a {
  color: #fff;
}
.site-list {
  font-weight: 700;
}
@media (min-width: 768px) {
  .site-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 570px;
    flex-grow: 1;
  }
}
@media (min-width: 1200px) {
  .site-list {
    width: 780px;
  }
}
@media (min-width: 768px) {
  .site-list__item {
    margin-right: 25px;
  }
  .site-list__item:last-child {
    margin-right: 0;
  }
  .site-list__item--current {
    position: relative;
  }
  .site-list__item--current::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #826550;
  }
}
@media (min-width: 768px) {
  .site-list__item a[href] {
    background-color: #000;
    border: none;
  }
  .site-list__item a[href]:hover {
    color: #826550;
    background-color: #000;
  }
  .site-list__item a[href]:active {
    color: #fff;
    background-color: #000;
    opacity: 0.3;
  }
}
@media (min-width: 1200px) {
  .site-list__item a[href]:hover {
    color: #000;
    background-color: #fff;
  }
  .site-list__item a[href]:active {
    color: rgba(0, 0, 0, 0.3);
    background-color: #fff;
    opacity: 1;
  }
}
.site-list a {
  position: relative;
  display: block;
  padding: 12px 0 13px 21px;
  font-size: 18px;
  line-height: 24px;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  background-color: #826550;
  border-top: 1px solid #886e5b;
  border-bottom: 1px solid #71543f;
}
@media (min-width: 768px) {
  .site-list a {
    padding: 25px 5px;
    background: none;
    border: none;
  }
}
.site-list__icon--comb {
  position: absolute;
  top: 15px;
  left: auto;
  right: 15px;
  width: 16px;
  height: 16px;
  opacity: 0.3;
  fill: #fff;
}
@media (min-width: 768px) {
  .site-list__icon--comb {
    top: 8px;
    left: 0;
    right: 0;
    margin: auto;
  }
  .site-list a[href] .site-list__icon--comb {
    opacity: 1;
    fill: #826550;
  }
  .site-list a[href]:active .site-list__icon--comb {
    opacity: 0.9;
    fill: #fff;
  }
}
@media (min-width: 1200px) {
  .site-list__icon--comb {
    top: 28px;
    left: -16px;
    margin: 0;
  }
  .site-list a[href] .site-list__icon--comb {
    opacity: 0.3;
    fill: #fff;
  }
  .site-list a[href]:active .site-list__icon--comb {
    opacity: 0.1;
  }
}
.user-list {
  display: flex;
}
@media (min-width: 768px) {
  .user-list {
    width: 60px;
  }
}
@media (min-width: 1200px) {
  .user-list {
    width: auto;
    max-width: 160px;
  }
}
.user-list__login {
  position: relative;
  display: block;
  padding: 17px 21px;
  padding-left: 42px;
  font-size: 18px;
  line-height: 24px;
  color: #fff;
  text-decoration: none;
}
@media (min-width: 768px) {
  .user-list__login {
    width: 60px;
    height: 72px;
    padding: 0;
  }
  .user-list__login span {
    position: absolute;
    opacity: 0;
  }
  .user-list__login:hover .user-list__login-icon {
    opacity: 1;
    fill: #826550;
  }
  .user-list__login:active .user-list__login-icon {
    opacity: 0.3;
    fill: #fff;
  }
}
@media (min-width: 1200px) {
  .user-list__login {
    position: relative;
    width: auto;
    height: auto;
    padding: 25px 30px 23px 50px;
    text-transform: uppercase;
    text-decoration: none;
  }
  .user-list__login span {
    position: static;
    opacity: 1;
  }
  .user-list__login:hover {
    color: #000;
    background-color: #fff;
  }
  .user-list__login:active {
    color: rgba(0, 0, 0, 0.3);
    background-color: #fff;
  }
  .user-list__login:hover .user-list__login-icon {
    opacity: 1;
    fill: #000;
  }
  .user-list__login:active .user-list__login-icon {
    opacity: 1;
    fill: #000;
  }
}
.user-list__login-icon {
  position: absolute;
  top: 22px;
  left: 21px;
  width: 16px;
  height: 16px;
  opacity: 0.3;
  fill: #fff;
}
@media (min-width: 768px) {
  .user-list__login-icon {
    top: 30px;
  }
}
.stats {
  background-color: #353535;
  color: #fff;
}
.stats__wrapper {
  background-color: #242424;
}
@media (min-width: 768px) {
  .stats__wrapper {
    background-color: transparent;
    padding: 0 64px;
    position: relative;
    top: -167px;
    margin-bottom: -167px;
  }
}
@media (min-width: 1200px) {
  .stats__wrapper {
    top: -150px;
    margin: auto;
    margin-bottom: -150px;
    max-width: 960px;
    display: grid;
    grid-template-columns: 1fr 2fr;
  }
}
.stats__header {
  padding: 28px 20px;
  background-color: #fff;
  color: #000;
}
@media (min-width: 768px) {
  .stats__header {
    position: relative;
    padding: 32px 34px 30px 34px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .stats__header::before {
    position: absolute;
    left: -23px;
    top: 42px;
    width: 23px;
    height: 23px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1'%3E%3Cpolygon points='0,0 1,0 1,1' fill='white'/%3E%3C/svg%3E");
    content: "";
  }
}
@media (min-width: 1200px) {
  .stats__header {
    grid-template-columns: auto;
    grid-template-rows: min-content 1fr min-content;
    align-content: start;
  }
}
.stats__slogan {
  margin: 0;
  margin-bottom: 13px;
  text-align: center;
  text-transform: uppercase;
  line-height: 1;
  font-weight: 700;
  font-size: 30px;
}
@media (min-width: 768px) {
  .stats__slogan {
    margin-bottom: 17px;
    text-align: left;
    text-transform: none;
    font-style: 40px;
  }
}
@media (min-width: 1200px) {
  .stats__slogan {
    margin-bottom: 32px;
  }
}
.stats__intro {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  text-align: center;
}
@media (max-width: 767px) {
  .stats__intro br {
    display: none;
  }
}
@media (min-width: 768px) {
  .stats__intro {
    padding-top: 4px;
    padding-left: 34px;
    text-align: left;
  }
}
@media (min-width: 1200px) {
  .stats__intro {
    padding-left: 0;
  }
}
.stats__legend {
  margin: 0;
  padding: 0;
  display: block;
  font-size: 20px;
  line-height: 1;
}
.stats__legend--top {
  color: rgba(0, 0, 0, 0.3);
}
@media (max-width: 767px) {
  .stats__legend--top {
    display: none;
  }
}
@media (min-width: 1200px) {
  .stats__legend--top {
    padding-top: 40px;
  }
}
.stats__legend--bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.3);
  background-color: #242424;
}
@media (min-width: 768px) {
  .stats__legend--bottom {
    display: none;
  }
}
.stats__list {
  margin: 0;
  margin-bottom: 20px;
  background-color: #353535;
}
@media (min-width: 768px) {
  .stats__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1200px) {
  .stats__list {
    margin: 0;
  }
}
.stats__item {
  padding: 20px;
  display: flex;
  justify-content: space-between;
}
.stats__item:nth-child(1) {
  background-color: rgba(255, 255, 255, 0.05);
}
.stats__item:nth-child(2) {
  background-color: rgba(255, 255, 255, 0.12);
}
.stats__item:nth-child(4) {
  background-color: rgba(255, 255, 255, 0.12);
}
@media (min-width: 768px) {
  .stats__item:nth-child(4) {
    background-color: rgba(255, 255, 255, 0.05);
  }
}
@media (min-width: 768px) {
  .stats__item {
    display: block;
    padding: 25px 34px 30px 34px;
  }
}
.stats__number {
  line-height: 1;
  font-weight: 700;
  font-size: 40px;
}
.stats__number sup {
  position: static;
  margin-left: 5px;
  font-size: inherit;
  vertical-align: baseline;
}
@media (min-width: 768px) {
  .stats__number {
    font-size: 70px;
    line-height: 1;
  }
}
@media (min-width: 1200px) {
  .stats__number {
    font-size: 72px;
  }
}
.stats__description {
  margin: 0;
  text-align: right;
  line-height: 1;
  font-size: 18px;
}
@media (min-width: 768px) {
  .stats__description {
    text-align: left;
    font-size: 20px;
  }
  .stats__description br {
    display: none;
  }
}
.advantages {
  position: relative;
  color: #fff;
  background-color: #242424;
  filter: drop-shadow(0 2px 0 #242424);
}
.advantages::after {
  content: "";
  position: absolute;
  bottom: -29.6px;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 30px 50vw 0 50vw;
  border-color: #242424 transparent transparent transparent;
}
@media (min-width: 768px) {
  .advantages::after {
    bottom: -49.6px;
    border-width: 50px 50vw 0 50vw;
    border-color: #353535 transparent transparent transparent;
  }
}
@media (min-width: 1200px) {
  .advantages::after {
    bottom: -64.6px;
    border-width: 65px 50vw 0 50vw;
  }
}
@media (min-width: 1200px) {
  .advantages {
    background-color: #353535;
    filter: drop-shadow(0 3px 0 #353535);
  }
}
.advantages__wrapper {
  position: relative;
  width: auto;
  padding: 0;
  padding-top: 50px;
  padding-bottom: 50px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .advantages__wrapper {
    background-color: #353535;
    padding: 15px 64px 12px 64px;
  }
}
@media (min-width: 1200px) {
  .advantages__wrapper {
    width: 960px;
    margin: 0 auto;
    padding-top: 40px;
  }
}
.advantages__list {
  margin: 0;
  padding: 0;
  display: flex;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  list-style-type: none;
}
.advantages__list::-webkit-scrollbar {
  display: none;
}
.advantages__list > * {
  flex: 0 0 100%;
  scroll-snap-align: start;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (min-width: 768px) {
  .advantages__list {
    flex-direction: column;
    flex-wrap: wrap;
  }
  .advantages__list > * {
    flex: auto;
    width: auto;
  }
}
@media (min-width: 1200px) {
  .advantages__list {
    flex-direction: row;
  }
}
.advantages__item {
  display: grid;
  grid-template-columns: minmax(320px, 500px);
  gap: 14px;
  text-align: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .advantages__item {
    grid-template-columns: minmax(128px, 192px) minmax(512px, 768px);
    grid-row: repeat(2, min-content);
    gap: 0;
    text-align: left;
  }
  .advantages__item:not(:last-child) {
    margin-bottom: 70px;
  }
}
@media (min-width: 1200px) {
  .advantages__item {
    grid-template-columns: 320px;
    gap: 14px;
    margin-top: 40px;
    text-align: center;
  }
  .advantages__item:not(:last-child) {
    margin-bottom: 0;
  }
}
.advantages__title {
  margin: 0;
  padding: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 30px;
  text-transform: uppercase;
  color: #f7f4f1;
}
.advantages__image {
  margin-bottom: 25px;
  justify-self: center;
}
@media (min-width: 768px) {
  .advantages__image {
    grid-row: 1 / 3;
  }
}
.advantages__description {
  margin: 0 42.5px;
  min-width: 235px;
  font-size: 20px;
  line-height: 27px;
  text-align: center;
  color: #f7f4f1;
}
@media (min-width: 768px) {
  .advantages__description {
    text-align: left;
    margin-left: 0;
  }
}
@media (min-width: 1200px) {
  .advantages__description {
    text-align: center;
    margin: 0 42.5px;
  }
}
.advantages__toggles {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 2;
}
@media (min-width: 768px) {
  .advantages__toggles {
    display: none;
  }
}
.advantages__toggle {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background-color: #fffb;
  cursor: pointer;
  transition: background-color 0 0.25s;
}
.advantages__toggle.active {
  background-color: #826550;
}
.advantages__toggle:hover {
  background-color: #fff;
}
.advantages__toggle:active {
  background-color: #826550;
}
.news {
  position: relative;
}
@media (min-width: 768px) {
  .news::before {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #e5ddd5;
    z-index: 1;
  }
}
.news__wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 67px;
  margin-bottom: 28px;
  background-color: #f8f5f2;
  color: #000;
}
@media (min-width: 768px) {
  .news__wrapper {
    padding: 0 64px;
    margin-top: 115px;
  }
}
@media (min-width: 1200px) {
  .news__wrapper {
    width: 960px;
    margin-right: auto;
    margin-left: auto;
  }
}
.news__title {
  margin: 0;
  padding: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
}
@media (min-width: 768px) {
  .news__title {
    text-align: start;
    font-size: 40px;
  }
}
@media (min-width: 1200px) {
  .news__title {
    margin-left: 62px;
  }
}
.news__list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 768px) {
  .news__list {
    margin-top: 40px;
    margin-right: 20px;
  }
}
.news__item {
  margin: 30px 22.5px 0 22.5px;
}
.news__item:nth-child(n + 3) {
  display: none;
}
@media (min-width: 768px) {
  .news__item {
    margin: 0;
    flex: 1 1 275px;
  }
}
@media (min-width: 1200px) {
  .news__item:nth-child(n + 3) {
    display: block;
  }
}
.news__link {
  display: grid;
  grid-template-columns: 50px minmax(auto, 910px);
  gap: 15px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
@media (min-width: 768px) {
  .news__link {
    grid-template-columns: 50px minmax(225px, 1fr);
    width: 100%;
  }
}
.news__text {
  display: block;
  margin: 0;
  font-size: 18px;
  line-height: 27px;
}
@media (min-width: 768px) {
  .news__text {
    margin-right: 30px;
  }
}
.news__day {
  display: block;
  margin-bottom: 5px;
  font-size: 30px;
  font-weight: 700;
  line-height: 23px;
  text-align: center;
  color: #fff;
}
.news__date {
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  margin-top: 5px;
  padding-top: 10px;
  width: 50px;
  height: 60px;
  background-color: #000;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  filter: drop-shadow(0 2px 0 #000);
}
.news__date::after {
  content: "";
  position: absolute;
  bottom: -9.6px;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 25.59px 0 25.59px;
  border-color: #000 transparent transparent transparent;
}
.news__to-all {
  margin: 0 auto;
  margin-top: 30px;
}
@media (min-width: 768px) {
  .news__to-all {
    position: absolute;
    margin: 0;
    top: 0;
    right: 0;
    transform: translate(-50%);
  }
}
.reviews {
  position: relative;
  background-color: #f8f5f2;
  color: #000;
  filter: drop-shadow(0 2px 0 #f8f5f2);
}
.reviews::after {
  content: "";
  position: absolute;
  bottom: -29.6px;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 30px 50vw 0 50vw;
  border-color: #f8f5f2 transparent transparent transparent;
}
@media (min-width: 768px) {
  .reviews::after {
    display: none;
  }
}
@media (min-width: 768px) {
  .reviews::before {
    content: "";
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #e5ddd5;
    z-index: 1;
  }
}
.reviews .reviews__wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 30px;
  padding-bottom: 80px;
  width: auto;
  overflow: hidden;
  background-color: #f8f5f2;
  color: #000;
}
@media (min-width: 768px) {
  .reviews {
    padding: 0 64px;
  }
}
@media (min-width: 1200px) {
  .reviews {
    width: 960px;
    margin-right: auto;
    margin-left: auto;
  }
}
.reviews__title {
  position: relative;
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}
@media (min-width: 768px) {
  .reviews__title {
    margin-top: 0;
    font-size: 40px;
    text-align: left;
    margin-top: 10px;
    margin-bottom: 55px;
  }
}
.reviews__list {
  display: flex;
  width: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  list-style-type: none;
}
.reviews__list::-webkit-scrollbar {
  display: none;
}
.reviews__list > * {
  flex: 0 0 100%;
  scroll-snap-align: start;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.reviews__item {
  display: grid;
  grid-template-columns: 80px minmax(240px, 1fr);
  gap: 10px;
  margin: 0;
}
@media (min-width: 768px) {
  .reviews__item {
    grid-template-columns: 1fr 3fr;
    gap: 30px;
  }
}
@media (min-width: 1200px) {
  .reviews__item {
    grid-template-columns: 310px 1fr;
    gap: 60px;
  }
}
.reviews__avatar {
  display: flex;
  margin-left: 20px;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .reviews__avatar {
    margin-left: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    align-self: center;
    justify-self: flex-end;
  }
}
@media (min-width: 1200px) {
  .reviews__avatar {
    width: 240px;
    height: 144px;
    border-radius: 0%;
  }
}
.reviews__author-name {
  margin: 0;
  padding: 0;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  font-style: normal;
}
@media (min-width: 1200px) {
  .reviews__author-name {
    display: block;
    padding-top: 30px;
  }
}
.reviews__text {
  margin: 0;
  margin-top: 10px;
  padding-right: 30px;
  font-size: 18px;
  line-height: 24px;
}
@media (min-width: 768px) {
  .reviews__text {
    padding-right: 50px;
  }
}
.reviews__prev,
.reviews__next {
  display: none;
}
@media (min-width: 768px) {
  .reviews__prev,
  .reviews__next {
    position: absolute;
    display: block;
    width: 35px;
    height: 85px;
    border: 1px solid #e5ddd5;
    background-color: transparent;
    align-items: center;
    justify-content: center;
	 cursor: pointer;
  }
}
@media (min-width: 1200px) {
  .reviews__prev,
  .reviews__next {
    height: 145px;
  }
}
@media (min-width: 768px) {
  .reviews__prev {
    bottom: 81px;
    left: 0;
  }
}
@media (min-width: 768px) {
  .reviews__next {
    bottom: 81px;
    right: 0;
  }
}
.reviews__icon--left {
  fill: #000;
}
.reviews__icon--right {
  fill: #000;
  transform: rotate(180deg);
}
.reviews__toggles {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}
@media (min-width: 768px) {
  .reviews__toggles {
    bottom: 20px;
  }
}
.reviews__toggle {
  width: 20px;
  height: 20px;
  transform: rotate(45deg) scale(0.5);
  transform-origin: center;
  background-color: #f8f5f2;
  border: 1px solid #000;
  cursor: pointer;
  transition: background-color 0 0.25s;
}
.reviews__toggle.active {
  background-color: #000;
}
.reviews__toggle:hover {
  background-color: #fff;
}
.reviews__toggle:active {
  background-color: #fff;
}
@media (min-width: 768px) {
  .reviews__toggle {
    transform: rotate(45deg) scale(0.35);
  }
}
.reviews__write {
  display: none;
}
@media (min-width: 768px) {
  .reviews__write {
    position: absolute;
    display: block;
    top: 0;
    right: 0;
  }
}
.page-footer {
  color: #fff;
  background-color: #292929;
}
.page-footer__wrapper {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  padding-top: 80px;
}
@media (min-width: 768px) {
  .page-footer__wrapper {
    flex-direction: row;
    justify-content: space-between;
  }
}
@media (min-width: 1200px) {
  .page-footer__wrapper {
    width: 960px;
    margin: 0 auto;
  }
}
.page-footer__contacts {
  display: flex;
  flex-direction: column;
  margin: 0 20px;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .page-footer__contacts {
    align-items: baseline;
    padding-left: 40px;
  }
}
@media (min-width: 1200px) {
  .page-footer__contacts {
    padding: 0;
    margin: 0;
  }
}
.contacts__title {
  font-size: 18px;
  line-height: 27px;
  font-weight: 700;
}
@media (min-width: 768px) {
  .contacts__title {
    text-transform: uppercase;
  }
}
.contacts__text {
  font-size: 18px;
  line-height: 27px;
  text-align: center;
}
@media (min-width: 768px) {
  .contacts__text {
    text-align: start;
  }
}
.contacts__phone {
  display: block;
  margin-top: 18px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease-in-out;
}
.contacts__phone:hover {
  color: #515151;
}
.contacts__phone:active {
  color: rgba(255, 255, 255, 0.3);
  background-color: #252525;
}
@media (min-width: 768px) {
  .contacts__phone {
    margin-top: 0;
  }
}
.page-footer__social {
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .page-footer__social {
    order: 3;
    flex: 1 1 100%;
  }
}
@media (min-width: 1200px) {
  .page-footer__social {
    margin-right: 200px;
    order: 0;
    flex: auto;
    display: flex;
    flex-direction: column;
    text-align: center;
  }
}
.social__title {
  display: none;
}
@media (min-width: 1200px) {
  .social__title {
    display: block;
    margin-bottom: 10px;
  }
}
.social__list {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  justify-content: space-between;
  list-style-type: none;
}
@media (min-width: 768px) {
  .social__list {
    justify-content: space-evenly;
  }
}
@media (min-width: 1200px) {
  .social__list {
    justify-content: center;
    width: auto;
  }
}
.social__item {
  width: 33.33%;
  height: 100px;
  border: 1px solid #3e3e3e;
}
@media (min-width: 768px) {
  .social__item {
    width: 100px;
  }
}
@media (min-width: 1200px) {
  .social__item {
    width: 50px;
    height: 50px;
  }
}
.social__link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background-repeat: no-repeat;
  background-position: center;
  transition: border-color, opacity 0.3s ease-in;
}
.social__link:hover {
  border: 1px solid #535353;
}
.social__link:active {
  opacity: 0.3;
  border: 1px solid #252525;
}
.social__link:focus {
  border: 1px solid #535353;
  outline: none;
}
.social__link.social__link--vk {
  background-image: url("../img/barbershop_adaptive/vk.png");
}
.social__link.social__link--fb {
  background-image: url("../img/barbershop_adaptive/fb.png");
}
.social__link.social__link--instagram {
  background-image: url("../img/barbershop_adaptive/insta.png");
}
.page-footer__copyright {
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .page-footer__copyright {
    padding-right: 100px;
  }
}
@media (min-width: 1200px) {
  .page-footer__copyright {
    padding: 0;
  }
}
.copyright__text {
  text-align: center;
}
.copyright__link {
  margin: 0 auto;
  margin-top: 15px;
  padding: 5px;
  text-align: center;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease-in-out;
}
.copyright__link:hover {
  color: #515151;
}
.copyright__link:active {
  color: rgba(255, 255, 255, 0.3);
  border-color: #252525;
  background-color: #252525;
}
.mysignature {
  margin: 20px;
  justify-self: flex-end;
  font-size: 10px;
}
@media (min-width: 768px) {
  .mysignature {
    font-size: 14px;
    padding-bottom: 30px;
  }
}
@media (min-width: 1200px) {
  .mysignature {
    font-size: 16px;
  }
}
.mysignature__link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}
.mysignature__link:hover {
  color: #515151;
}
.mysignature__link:active {
  color: rgba(255, 255, 255, 0.3);
  border-color: #252525;
  background-color: #252525;
}

/*# sourceMappingURL=style.css.map */
