*, :before, :after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
}

a {
  text-decoration: none;
}

h3, h4 {
  font-size: 18px;
  line-height: 1.55;
  margin-bottom: 23px;
}

.b-container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

.b-logo {
  width: 180px;
  margin: 0 auto;
}

.b-logo img {
  float: left;
  margin: 1px 9px 0 0;
}

.b-logo span {
  color: #000;
  line-height: 1.1;
}

.b-logo span:first-of-type {
  font-size: 24px;
  font-weight: 900;
}

.b-logo span:first-of-type i {
  color: #00cab5;
  text-transform: none;
  font-style: inherit;
}

.b-logo span:last-of-type {
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  clear: both;
}

.b-nav {
  display: none;
}

.b-nav a {
  display: inline-block;
  color: #000;
  font-size: 12px;
  font-weight: bold;
  padding: 10px 12px;
  border-bottom: 2px solid transparent;
  margin-right: 10px;
  transition: 0.3s;
}

.b-nav a:last-of-type {
  margin-right: 0;
}

.b-nav a:hover, .b-nav a:active {
  border-bottom: 2px solid #00cab5;
  color: #fff;
  background-color: #000;
}

.b-nav .b-hover {
  border-bottom: 2px solid #00cab5;
  color: #fff;
  background-color: #000;
}

.b-social {
  display: inline-block;
  vertical-align: middle;
}

.b-social span {
  color: #949494;
  font-size: 14px;
  font-weight: bold;
  margin-right: 7px;
  margin-left: 21px;
  vertical-align: middle;
}

.b-social img {
  display: inline-block;
  vertical-align: middle;
  transition: 0.3s;
}

.b-social a:hover img, .b-social a:active img {
  transform: scale(1.1);
}

.b-social:first-of-type span {
  margin-left: 0;
}

.b-search {
  width: 210px;
  height: 34px;
  border-radius: 17px;
  border: 1px solid #000;
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

.b-search img {
  position: absolute;
  top: 7px;
  right: 15px;
}

.b-header-top {
  display: table;
  width: 100%;
  padding: 16px 0;
}

.b-header-top__cell {
  display: table-cell;
  vertical-align: middle;
}

.b-header-top__cell:last-of-type {
  text-align: end;
}

.b-header-middle {
  background: url(../img/header_bg.jpg) 98% top no-repeat;
  box-shadow: 0px 4px 9px 0px rgba(0, 0, 0, 0.29);
  background-size: cover;
  padding: 200px 15px 30px;
  margin: 0 -15px;
}

.b-header-middle__text {
  max-width: 280px;
  margin-bottom: 10px;
}

.b-header-middle__text:nth-of-type(2) {
  text-align: end;
}

.b-header-middle h1 {
  color: #fff;
  background-color: #000;
  font-size: 22px;
  font-weight: bold;
  display: inline;
  text-transform: uppercase;
}

.b-header-middle h1 span {
  padding: 0 10px;
}

.b-header-middle h2 {
  color: #000;
  background-color: #ffae00;
  font-weight: 400;
  font-size: 12px;
  display: inline;
  text-transform: uppercase;
  padding: 0 5px;
}

.b-header-middle__down {
  display: none;
}

.b-header-middle__down span {
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  margin-right: 20px;
  text-transform: uppercase;
}

.b-header-bottom {
  display: none;
  margin-top: 42px;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  padding: 15px 29px;
  width: 100%;
}

.b-header-bottom__cell {
  display: table-cell;
  width: 160px;
}

.b-header-bottom__cell:nth-of-type(2) {
  text-align: center;
  width: auto;
}

.b-header-bottom__cell:nth-of-type(3) {
  text-align: end;
  width: 211px;
}

.b-header-bottom p {
  font-size: 14px;
  color: #00cab5;
  font-weight: bold;
}

.b-main {
  padding-top: 35px;
}

.b-main p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 23px;
}

.b-main a {
  font-weight: bold;
  color: #000;
  border-bottom: 4px solid #00cab5;
  transition: 0.3s;
}

.b-main a:hover, .b-main a:active {
  color: #00cab5;
}

.b-main img {
  width: 100%;
  margin-bottom: 23px;
}

.b-main-director {
  border: 1px solid #00cab5;
  text-align: center;
  padding: 29px 19px 0;
  margin-bottom: 23px;
}

.b-main-director img {
  width: 157px;
  margin-bottom: 25px;
}

.b-main-director p {
  font-size: 14px;
  font-style: italic;
}

.b-main-occasion {
  padding: 23px 12px 0;
  background-color: #f9f9f9;
  text-align: center;
  margin-bottom: 23px;
}

.b-main-occasion h3 {
  font-style: 18px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.b-main-occasion__item {
  padding-bottom: 15px;
}

.b-main-occasion__ava img {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 17px;
}

.b-main-advice h3 {
  color: #00cab5;
  font-size: 18px;
  text-transform: uppercase;
  line-height: 1.67;
  margin-bottom: 20px;
}

.b-main-advice img {
  width: 183px;
  display: block;
  margin: 0 auto 33px;
}

.b-main-note {
  background-color: #00cab5;
  padding: 23px 15px 1px 65px;
  margin-bottom: 23px;
  position: relative;
}

.b-main-note::before {
  content: '';
  width: 40px;
  height: 29px;
  display: block;
  position: absolute;
  background: url(../img/note.png) no-repeat;
  top: 26px;
  left: 17px;
}

.b-main-note p {
  color: #fff;
  font-style: italic;
  font-weight: 500;
  margin-bottom: 20px;
}

.b-main-note a {
  color: #fff;
  font-weight: 900;
}

.b-main-note a:hover, .b-main-note a:active {
  border-bottom: 4px solid #fff;
  color: #fff;
}

.b-main-banner {
  margin-bottom: 52px;
  padding-top: 20px;
  text-align: center;
}

.b-main-banner img {
  margin: 0;
}

.b-main-banner img:nth-of-type(1) {
  display: none;
}

.b-comments {
  border-top: 2px solid #000;
}

.b-comments-title {
  padding: 11px 14px 33px;
  display: table;
  width: 100%;
}

.b-comments-title h3 {
  display: table-cell;
}

.b-comments-title__counter {
  display: table-cell;
  text-align: end;
}

.b-comments-title span {
  color: #000;
  font-size: 14px;
  font-weight: bold;
  position: relative;
}

.b-comments-title span::before {
  content: '';
  display: block;
  position: absolute;
  width: 29px;
  height: 29px;
  background: url(../img/comments.png) no-repeat;
  top: -6px;
  left: -40px;
}

.b-comments-item {
  padding: 20px;
  margin-bottom: 12px;
  background-color: #f9f9f9;
}

.b-comments-item__box img {
  max-width: 100%;
  margin-top: 17px;
}

.b-comments-item__ava {
  margin-right: 8px;
  display: inline-block;
  vertical-align: top;
}

.b-comments-item__ava img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
}

.b-comments-item__box {
  display: inline-block;
  vertical-align: top;
  width: calc(100% - 50px);
}

.b-comments-item__box span:nth-of-type(1) {
  font-size: 14px;
  color: #000;
  font-weight: bold;
  display: block;
  margin-top: 2px;
}

.b-comments-item__box span:nth-of-type(2) {
  font-size: 10px;
  color: #b1b1b1;
  font-weight: normal;
  display: block;
  margin-bottom: 10px;
}

.b-comments-item__box p {
  font-size: 14px;
  font-weight: normal;
  line-height: 1.57;
}

.b-comments-item__box a {
  font-weight: bold;
  color: #000;
  border-bottom: 3px solid #00cab5;
  transition: 0.3s;
}

.b-comments-item__box a:hover, .b-comments-item__box a:active {
  color: #00cab5;
}

.b-comments-item__button {
  margin-top: 18px;
}

.b-comments-item__button a {
  display: block;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: normal;
  color: #000;
  background-color: #04cbb6;
  text-align: center;
  width: max-content;
  transition: 0.3s;
  border: none;
}

.b-comments-item__button a:hover, .b-comments-item__button a:active {
  transform: scale(1.03);
  color: #000;
}

.b-comments-button {
  text-align: center;
  padding-top: 30px;
  padding-bottom: 40px;
}

.b-aside {
  display: none;
}

footer {
  padding: 20px;
  text-align: center;
  color: #b1b1b1;
  font-size: 16px;
}

.b-button a {
  display: block;
  width: 270px;
  margin: 0 auto;
  text-transform: uppercase;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  padding: 17px;
  border: none;
  border-radius: 26px;
  background-color: #ca025a;
  text-align: center;
  box-shadow: 0px 4px 9px 0px rgba(202, 2, 90, 0.39);
  transition: 0.3s;
}

.b-button a:hover, .b-button a:active {
  color: #fff;
  transform: scale(1.05);
}

@media screen and (min-width: 576px) {
  .b-container {
    padding: 0 30px;
  }
  .b-main-director {
    padding: 21px;
    text-align: start;
  }
  .b-main-director img {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 0;
    margin-right: 30px;
  }
  .b-main-director p {
    display: inline-block;
    vertical-align: middle;
    width: calc(100% - 195px);
    margin-bottom: 0;
  }
}

@media screen and (min-width: 768px) {
  .b-header-middle {
    background: url(../img/header_bg.jpg) center top no-repeat;
    background-size: cover;
    padding: 172px 38px 36px;
    margin: 0;
  }
  .b-header-middle__text {
    max-width: 411px;
    margin-bottom: 23px;
  }
  .b-header-middle__text:nth-of-type(2) {
    margin-bottom: 40px;
  }
  .b-header-middle h1 {
    font-size: 33px;
  }
  .b-header-middle h2 {
    font-size: 18px;
    padding: 2px 17px;
  }
  .b-header-middle__down {
    display: block;
  }
  .b-main-occasion {
    text-align: start;
    padding: 46px 62px 30px;
  }
  .b-main-occasion h3 {
    margin-bottom: 36px;
  }
  .b-main-occasion__item {
    margin-bottom: 0;
  }
  .b-main-occasion__ava {
    display: inline-block;
    vertical-align: top;
    margin-top: 5px;
  }
  .b-main-occasion__ava img {
    margin-bottom: 0;
    margin-right: 18px;
  }
  .b-main-occasion__text {
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 154px);
  }
  .b-main-occasion__text img {
    max-width: 530px;
  }
  .b-main-advice {
    margin-bottom: 23px;
  }
  .b-main-advice img {
    display: inline-block;
    vertical-align: middle;
    width: 271px;
    margin-right: 25px;
    margin-bottom: 0;
  }
  .b-main-advice p {
    display: inline-block;
    vertical-align: middle;
    width: calc(100% - 305px);
    margin-bottom: 0;
  }
  .b-main-note {
    padding: 40px 80px 17px 135px;
  }
  .b-main-note::before {
    top: 48px;
    left: 70px;
  }
  .b-main-banner {
    position: relative;
  }
  .b-main-banner img:nth-of-type(1) {
    display: block;
    margin-bottom: 109px;
  }
  .b-main-banner img:nth-of-type(2) {
    position: absolute;
    width: 22%;
    top: 166px;
    left: 38%;
  }
  .b-comments-title {
    padding: 11px 36px 33px;
  }
  .b-comments-item {
    margin: 0 70px 22px;
  }
  .b-comments-button {
    padding-top: 20px;
  }
}

@media screen and (min-width: 992px) {
  .b-container {
    padding: 0 15px;
  }
  h3 {
    font-size: 24px;
    margin-bottom: 36px;
  }
  .b-logo {
    margin: 0;
  }
  .b-nav {
    display: block;
  }
  .b-header-top {
    padding: 27px 0;
  }
  .b-header-middle {
    background: url(../img/header_bg.jpg) center top no-repeat;
    background-size: cover;
    padding: 147px 38px 36px;
    margin: 0;
  }
  .b-header-middle__text {
    max-width: 611px;
    margin-bottom: 23px;
  }
  .b-header-middle__text:nth-of-type(2) {
    margin-bottom: 118px;
  }
  .b-header-middle h1 {
    font-size: 50px;
  }
  .b-header-middle h2 {
    font-size: 24px;
    padding: 4px 20px;
  }
  .b-header-middle__down {
    display: block;
  }
  .b-header-bottom {
    display: table;
  }
  .b-content {
    display: table;
    width: 100%;
  }
  .b-content-cell {
    display: table-cell;
    vertical-align: top;
  }
  .b-main p {
    line-height: 1.87;
  }
  .b-main-director img {
    width: 256px;
    margin-right: 46px;
  }
  .b-main-director p {
    width: calc(100% - 335px);
    font-size: 18px;
    line-height: 1.66;
  }
  .b-main-advice {
    margin-bottom: 23px;
  }
  .b-main-advice h3 {
    font-size: 24px;
  }
  .b-main-advice img {
    display: inline-block;
    vertical-align: middle;
    width: 271px;
    margin-right: 25px;
    margin-bottom: 0;
  }
  .b-main-advice p {
    display: inline-block;
    vertical-align: middle;
    width: calc(100% - 305px);
    margin-bottom: 0;
  }
  .b-aside {
    display: block;
    width: 270px;
    margin-left: 30px;
    background-color: #f9f9f9;
    margin-top: 35px;
  }
  .b-aside h3 {
    color: #00cab5;
    font-size: 16px;
    font-weight: 900;
    padding: 7px 18px 0;
    margin: 0;
  }
  .b-aside p {
    font-size: 14px;
    font-weight: 300;
    color: #000;
    line-height: 1.2;
  }
  .b-aside-item {
    padding: 22px 18px;
    border-bottom: 1px solid #e0e0e0;
  }
  .b-aside-item:last-of-type {
    border-bottom: none;
  }
  .b-aside-item img {
    display: inline-block;
    vertical-align: middle;
    width: 82px;
    height: 82px;
    margin-right: 10px;
  }
  .b-aside-item__text {
    display: inline-block;
    vertical-align: middle;
    width: calc(100% - 97px);
  }
  .b-aside-item span {
    color: #00cab5;
    font-size: 10px;
    margin-bottom: 5px;
    display: block;
  }
  .b-aside-item p {
    border-bottom: 4px solid transparent;
    transition: 0.3s;
  }
  .b-aside-item a:hover img, .b-aside-item a:active img {
    filter: contrast(1.2);
  }
  .b-aside-item a:hover p, .b-aside-item a:active p {
    border-bottom: 4px solid #00cab5;
  }
  .b-aside-banner {
    position: relative;
    margin: 22px 24px;
    overflow: hidden;
  }
  .b-aside-banner img:first-of-type {
    width: 100%;
  }
  .b-aside-banner img:last-of-type {
    position: absolute;
    width: 165px;
    left: 20px;
    bottom: 42px;
  }
  .b-aside-banner__button {
    position: absolute;
    bottom: 13px;
    left: 21px;
  }
  .b-aside-banner__button a {
    display: block;
    padding: 15px 20px;
    width: 179px;
    text-align: center;
    font-size: 18px;
    font-weight: normal;
    color: #fff;
    text-transform: uppercase;
    background-color: #ffba00;
    border-radius: 26px;
    transition: 0.3s;
  }
  .b-aside-banner__button a:hover, .b-aside-banner__button a:active {
    transform: scale(1.04);
  }
}

@media screen and (min-width: 1200px) {
  .b-container {
    max-width: 1170px;
    padding: 0;
  }
}
