@charset "UTF-8";
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  visibility: hidden;
  pointer-events: none; }

.container {
  max-width: 1312px;
  padding: 0 48px;
  margin: 0 auto;
  position: relative; }
  @media (max-width: 1312px) {
    .container {
      max-width: unset; } }
  @media (max-width: 620px) {
    .container {
      padding: 0 28px; } }

.main {
  padding-top: 88px; }
  @media (max-width: 700px) {
    .main {
      padding-top: 56px; } }

.section-title {
  font-weight: 700;
  font-size: 32px;
  line-height: 48px; }
  @media (max-width: 504px) {
    .section-title {
      font-weight: 700;
      font-size: 24px;
      line-height: 32px; } }

.fancybox__container {
  backdrop-filter: blur(100px); }

.chef-button {
  border-radius: 4px;
  background-color: #E15C6C;
  color: #FFF9F3;
  font-weight: 700;
  padding: 8px 16px;
  border: 1px solid #E15C6C !important;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease-in-out; }
  .chef-button:hover {
    background-color: #FFF9F3;
    color: #E15C6C; }
  .chef-button:focus {
    outline: none; }
  .chef-button.disabled {
    background: rgba(225, 92, 108, 0.4);
    cursor: default;
    border: 1px solid rgba(225, 92, 108, 0.4) !important; }
    .chef-button.disabled:hover {
      background-color: rgba(225, 92, 108, 0.4);
      color: #FFF9F3; }
  @media (max-width: 460px) {
    .chef-button {
      font-weight: 700;
      font-size: 12px;
      line-height: 16px; } }

.cookies {
  position: fixed;
  bottom: 40px;
  right: calc(50% - 664px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 16px;
  font-weight: 700;
  z-index: 10;
  border-radius: 4px;
  border: 1px solid rgba(225, 92, 108, 0.4);
  background: #FFF9F3; }
  .cookies.hidden {
    display: none; }
  @media (max-width: 1440px) {
    .cookies {
      right: 48px; } }
  @media (max-width: 768px) {
    .cookies {
      bottom: 20px; } }
  @media (max-width: 620px) {
    .cookies {
      right: 28px; } }
  @media (max-width: 460px) {
    .cookies {
      width: calc(100vw - 56px);
      font-weight: 700;
      font-size: 12px;
      line-height: 16px; } }

.chef-input {
  flex: 1; }
  .chef-input__input {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid rgba(225, 92, 108, 0.6);
    outline: none;
    color: #222;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    background-color: transparent; }
    .chef-input__input::placeholder {
      color: rgba(34, 34, 34, 0.6); }
    .chef-input__input:focus {
      outline: none; }

.not-found {
  height: 100vh; }

.not-found__img {
  margin-top: 120px;
  width: 100%;
  height: 545px;
  object-fit: cover; }
  @media (max-width: 768px) {
    .not-found__img {
      margin-top: 168px;
      height: 417px; } }
  @media (max-width: 360px) {
    .not-found__img {
      margin-top: 115px;
      height: 220px; } }

.to-main {
  position: fixed;
  bottom: 20%;
  right: calc(50% - 664px);
  z-index: 10; }
  @media (max-width: 1440px) {
    .to-main {
      right: 48px; } }
  @media (max-width: 620px) {
    .to-main {
      right: 28px; } }

html {
  box-sizing: border-box;
  scroll-behavior: smooth; }

*,
*::before,
*::after {
  box-sizing: inherit; }

a {
  color: inherit;
  text-decoration: none; }

ul, dl, dt, dd, button {
  margin: 0;
  padding: 0; }

li {
  list-style: none; }

h1, h2, h3, h4, h5, h6, p, blockquote {
  margin: 0; }

button {
  border: none;
  background-color: transparent; }

body {
  position: relative;
  font-size: 16px;
  line-height: 24px;
  font-family: "Golos Text", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #E15C6C;
  background-color: #FFF9F3; }

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 88px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #FFF9F3;
  z-index: 11; }

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%; }

.header__logo {
  display: block;
  height: 72px;
  width: 72px;
  transition: all 0.3s ease-in-out;
  position: relative;
  z-index: 12;
  cursor: pointer; }
  .header__logo:hover {
    transform: scale(1.1) translateX(5px); }

.header__logo-img {
  height: 100%;
  width: 100%;
  object-fit: cover; }

.header__nav-list {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px; }

.header__nav-item {
  cursor: pointer;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease-in-out; }
  .header__nav-item:hover {
    transform: scale(1.1); }
  .header__nav-item.in-scroll {
    border-bottom: 1px solid #E15C6C; }

.header__right {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px; }

.header__menu {
  display: none; }

.header__menu-img {
  width: 100%;
  height: 100%;
  object-fit: cover; }

@media (max-width: 700px) {
  .header {
    height: 56px; }
  .header__logo {
    height: 40px;
    width: 40px; }
  .header__nav {
    position: fixed;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(225, 92, 108, 0.1);
    backdrop-filter: blur(4px);
    z-index: 11;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease-in-out; }
    .header__nav.open {
      opacity: 1;
      pointer-events: unset; }
      .header__nav.open .header__nav-list {
        transition: all 0.3s ease-in-out;
        transform: translateX(0); }
  .header__nav-list {
    width: 70%;
    height: 100%;
    padding: 88px 28px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 32px;
    background-color: #FFF9F3;
    transform: translateX(-100%);
    transition: all 0.3s ease-in-out; }
  .header__nav-item {
    font-weight: 700; }
  .header__menu {
    display: inline;
    width: 24px;
    height: 24px;
    cursor: pointer; } }

.footer {
  width: 100%;
  position: relative;
  height: 256px;
  background-color: rgba(34, 34, 34, 0.05); }

.footer__inner {
  width: 100%;
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  gap: 32px;
  box-sizing: border-box; }

.footer__left {
  width: 203px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
  height: 100%;
  row-gap: 32px; }

.footer__logo {
  width: 103px;
  height: 103px;
  object-fit: cover; }

.footer__rights {
  white-space: nowrap; }

.footer__contact {
  color: #000000;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px; }

.footer__phone {
  transition: all 0.3s ease-in-out; }
  .footer__phone:hover {
    color: #E15C6C; }

.footer__right {
  width: 488px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(34, 34, 34, 0.8);
  font-weight: 400;
  font-size: 12px;
  line-height: 16px; }

.footer__nav, .footer__terms, .footer__socials {
  width: 176px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: 16px; }

.footer__nav-item {
  cursor: pointer;
  transition: all 0.3s ease-in-out; }
  .footer__nav-item:hover {
    color: #E15C6C; }

.footer__term-item {
  cursor: pointer;
  transition: all 0.3s ease-in-out; }
  .footer__term-item button {
    color: inherit;
    text-align: left;
    cursor: pointer; }
  .footer__term-item:hover {
    color: #E15C6C; }

.footer__socials {
  width: 72px; }

.footer__social-item {
  cursor: pointer;
  transition: all 0.3s ease-in-out; }
  .footer__social-item:hover {
    color: #E15C6C; }

@media (max-width: 1024px) {
  .footer {
    height: 231px; }
  .footer__right {
    width: 324px;
    gap: 16px; }
  .footer__nav, .footer__terms {
    width: auto;
    flex: 1; }
  .footer__socials {
    width: auto;
    flex: 0; } }

@media (max-width: 624px) {
  .footer {
    height: auto; }
  .footer__right {
    width: auto;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    row-gap: 32px; }
  .footer__nav, .footer__terms, .footer__socials {
    width: 100%;
    flex: 0; } }

@media (max-width: 460px) {
  .footer__inner {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 96px; }
  .footer__contact {
    position: absolute;
    left: 24px;
    bottom: 24px; } }

.fancybox__container {
  background: rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(4px) !important; }

.fancybox__backdrop {
  background: transparent !important;
  backdrop-filter: blur(0) !important; }

.manage-dialog {
  background-color: #FFF9F3;
  border-radius: 4px;
  padding: 0; }
  .manage-dialog.popup {
    display: none; }

.manage-dialog__inner {
  padding: 24px;
  overflow: hidden; }

.card {
  width: 800px;
  height: 344px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px; }

.card__block-img {
  position: relative;
  flex: 1;
  height: 100%;
  border-radius: 4px;
  overflow: hidden; }

.card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px; }

.card__price {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  border-radius: 4px 0 0 0;
  background: #FFF9F3;
  color: #E15C6C; }

.card__block-text {
  width: 456px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column; }

.card__text {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column; }

.card__header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center; }

.card__title {
  color: #222;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px; }

.card__subtitle {
  color: rgba(34, 34, 34, 0.6);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px; }

.card__header-right {
  color: #222;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-direction: column; }

.card__main {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column; }
  .card__main.card__main--hide {
    display: none; }

.card__description {
  margin-top: 16px;
  color: rgba(34, 34, 34, 0.8);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px; }

.card__result {
  flex: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #E15C6C; }
  .card__result.card__result--hide {
    display: none; }

.card__result-description {
  text-align: center; }

.card__result-title {
  font-weight: 700;
  font-size: 24px;
  line-height: 32px; }

.card__form {
  flex: 1;
  width: 100%;
  margin-top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; }
  .card__form.card__form--hide {
    display: none; }

.card__input-block {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px; }

.card__form-footer {
  width: 100%;
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column; }

.card__pay-title {
  color: rgba(34, 34, 34, 0.8);
  font-weight: 700;
  font-size: 14px;
  line-height: 20px; }

.card__submit {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center; }

.card__pay-methods {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px; }

.pay-method {
  position: relative;
  width: 81px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid rgba(34, 34, 34, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: rgba(34, 34, 34, 0.4); }
  .pay-method:before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    border: 1px solid rgba(34, 34, 34, 0.4);
    top: 3px;
    right: 3px; }
  .pay-method.selected {
    color: rgba(225, 92, 108, 0.8);
    border-color: rgba(225, 92, 108, 0.8); }
    .pay-method.selected:before {
      border-color: rgba(225, 92, 108, 0.8); }
    .pay-method.selected:after {
      content: '';
      position: absolute;
      width: 6px;
      height: 6px;
      background-color: rgba(225, 92, 108, 0.8);
      border-radius: 3px;
      top: 5px;
      right: 5px; }

.personal {
  width: 800px;
  height: 500px; }

.personal__title {
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: #222; }

.personal__text {
  margin-top: 16px;
  overflow-y: auto;
  height: calc(100% - 48px); }
  .personal__text p {
    margin-bottom: 6px;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: rgba(34, 34, 34, 0.8); }
  .personal__text p:last-child {
    margin-bottom: 0; }

@media (max-width: 1000px) {
  .card {
    width: 672px; }
  .card__price {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px; }
  .card__block-text {
    width: 312px; }
  .card__title {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px; }
  .card__subtitle {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px; }
  .card__header-right {
    font-weight: 700;
    font-size: 14px;
    line-height: 20px; }
  .card__description {
    margin-top: 24px;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px; }
  .card__result-description {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px; }
  .card__result-title {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px; }
  .personal {
    width: 672px;
    height: 456px; }
  .personal__text p {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px; } }

@media (max-width: 680px) {
  .manage-dialog__inner {
    padding: 16px; }
  .card {
    width: calc(100vw - 95px);
    height: auto;
    flex-direction: column; }
  .card__block-img {
    width: 100%;
    flex: unset;
    height: 140px; }
  .card__block-text {
    width: 100%;
    height: 312px; }
  .card__result-description {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px; }
  .card__input-block {
    gap: 8px;
    margin-bottom: 8px; }
  .card__pay-title {
    margin-top: 8px; }
  .card__submit {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px; }
  .personal {
    width: calc(100vw - 95px);
    height: auto;
    max-height: calc(100vh - 140px);
    padding: 24px; }
  .personal__title {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px; }
  .personal__text {
    height: calc(100% - 64px); } }

.hero {
  padding: 80px 0 64px; }

.hero__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  height: 512px; }

.hero__images {
  position: relative;
  width: calc(59% - 16px);
  min-width: 500px;
  height: 100%; }

.hero__image, .hero__image-1, .hero__image-2 {
  position: absolute;
  height: 384px;
  width: 384px;
  object-fit: cover; }

.hero__image-1 {
  top: 0;
  left: 0;
  z-index: 1; }

.hero__image-2 {
  right: 0;
  bottom: 0;
  z-index: 2; }

.hero__text {
  width: calc(41% - 16px);
  height: 100%;
  padding-top: 20px; }

.hero__text-duration {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px; }

.duration-item {
  position: relative;
  border-radius: 8px;
  border: 2px solid rgba(225, 92, 108, 0.1);
  background: #FFF9F3;
  width: 72px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 32px;
  line-height: 48px; }
  .duration-item:before {
    position: absolute;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: rgba(225, 92, 108, 0.4);
    top: -5px;
    right: 3px;
    font-weight: 700; }
  .duration-item.day:before {
    content: 'д'; }
  .duration-item.hour:before {
    content: 'ч'; }
  .duration-item.minute:before {
    content: 'м'; }

.hero__text-start {
  margin-top: 32px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px; }

.hero__text-start-day {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  white-space: nowrap; }

.hero__text-about {
  margin-top: 8px; }

.hero__text-title {
  width: 100%;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px; }

.hero__text-description {
  margin: 24px 0 48px;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px; }

@media (max-width: 1140px) {
  .hero__inner {
    gap: 16px;
    height: 624px; }
  .hero__text {
    padding-top: 0; }
  .hero__text-description {
    margin: 12px 0 24px; } }

@media (max-width: 768px) {
  .hero {
    padding: 32px 0 48px; }
  .hero__inner {
    flex-wrap: wrap;
    gap: 24px;
    height: auto; }
  .hero__images {
    position: relative;
    width: 100%;
    min-width: unset;
    height: 672px; }
  .hero__image, .hero__image-1, .hero__image-2 {
    height: 440px;
    width: 440px; }
  .hero__image-1 {
    top: 0;
    left: 0;
    z-index: 1; }
  .hero__image-2 {
    right: 0;
    bottom: 0;
    z-index: 2; }
  .hero__text {
    width: 100%;
    height: auto; }
  .hero__text-date {
    position: absolute;
    width: 216px;
    padding-left: 8px;
    padding-bottom: 8px;
    z-index: 2;
    top: 0;
    right: 48px;
    background-color: #FFF9F3; }
  .hero__text-duration {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px; }
  .duration-item {
    flex: 1;
    width: auto; }
  .hero__text-about {
    text-align: right; }
  .hero__text-start {
    margin-top: 24px; }
  .hero__text-title {
    position: absolute;
    width: 216px;
    padding-left: 8px;
    padding-bottom: 8px;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    top: 120px;
    right: 48px;
    z-index: 2;
    background-color: #FFF9F3;
    border-radius: 0 0 0 8px; }
  .hero__text-description {
    text-align: left; } }

@media (max-width: 700px) {
  .hero__images {
    position: relative;
    width: 100%;
    min-width: unset;
    height: 520px; }
  .hero__image, .hero__image-1, .hero__image-2 {
    height: 320px;
    width: 320px; } }

@media (max-width: 620px) {
  .hero__images {
    position: relative;
    width: 100%;
    min-width: unset;
    height: 600px; }
  .hero__text-date {
    position: relative;
    width: 100%;
    padding-left: 0;
    padding-bottom: 0;
    right: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px; }
  .hero__text-duration {
    width: auto;
    flex: 1; }
  .hero__text-start {
    margin-top: 0;
    width: 113px;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    flex-direction: column;
    gap: 0; }
  .hero__text-start-line {
    display: none; }
  .hero__text-title {
    position: relative;
    width: 100%;
    padding-left: 0;
    padding-bottom: 0;
    top: unset;
    right: unset;
    z-index: 2;
    background-color: #FFF9F3;
    border-radius: 0;
    text-align: left; } }

@media (max-width: 460px) {
  .hero {
    padding: 24px 0; }
  .hero__images {
    height: 305px; }
  .hero__image, .hero__image-1, .hero__image-2 {
    height: 200px;
    width: 200px; }
  .duration-item {
    height: 48px;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px; }
    .duration-item:before {
      font-weight: 700;
      font-size: 14px;
      line-height: 20px; }
  .hero__text-description {
    margin: 16px 0 8px; } }

.upcoming {
  padding-bottom: 64px; }

.upcoming__master-classes-list {
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  justify-content: center; }

.master-class {
  width: 100%;
  cursor: pointer; }
  .master-class:hover .master-class__img {
    transform: scale(1.1); }

.master-class__img-block {
  position: relative;
  width: 100%;
  height: 232px;
  overflow: hidden; }

.master-class__img {
  transition: all 0.3s ease-in-out;
  width: 100%;
  height: 100%;
  object-fit: cover; }

.master-class__price {
  position: absolute;
  bottom: 0;
  right: 0;
  border-radius: 4px 0 0 0;
  background-color: #FFF9F3;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  z-index: 2; }

.master-class__text {
  margin-top: 8px; }

.master-class__title {
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; }

.master-class__description, .master-class__time {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; }

@media (max-width: 1140px) {
  .upcoming__master-classes-list {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }

@media (max-width: 900px) {
  .upcoming__master-classes-list {
    grid-template-columns: repeat(auto-fit, minmax(208px, 1fr));
    gap: 24px; } }

@media (max-width: 768px) {
  .upcoming {
    padding-bottom: 48px; }
  .upcoming__master-classes-list {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
  .master-class__img-block {
    height: 172px; }
  .master-class__title {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px; }
  .master-class__description {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px; }
  .master-class__time {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px; } }

@media (max-width: 460px) {
  .upcoming {
    padding-bottom: 24px; }
  .upcoming__master-classes-list {
    grid-template-columns: 1fr; }
  .master-class__title {
    font-weight: 700;
    font-size: 24px;
    line-height: 32px; } }

.gallery {
  padding-bottom: 64px; }

.gallery__list {
  margin-top: 16px;
  display: grid;
  grid-template-areas: "img-1 img-2 img-3" "img-4 img-4 img-3";
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 384px 384px;
  gap: 32px; }

.gallery-item {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer; }

.gallery-item--1 {
  grid-area: img-1; }

.gallery-item--2 {
  grid-area: img-2; }

.gallery-item--3 {
  grid-area: img-3; }

.gallery-item--4 {
  grid-area: img-4; }

.gallery-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover; }

.gallery-item__hover-block {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(34, 34, 34, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 24px;
  color: #FFF9F3;
  transition: all 0.3s ease-in-out; }
  .gallery-item__hover-block:hover {
    opacity: 1; }

.gallery-item__title {
  font-weight: 700;
  font-size: 24px;
  line-height: 32px; }

.gallery-item__description {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px; }

@media (max-width: 768px) {
  .gallery {
    padding-bottom: 48px; }
  .gallery__list {
    margin-top: 16px;
    display: grid;
    grid-template-areas: "img-1 img-2" "img-4 img-4";
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 324px 324px;
    column-gap: 24px; }
  .gallery-item--3 {
    display: none; } }

@media (max-width: 460px) {
  .gallery {
    padding-bottom: 24px; }
  .gallery__list {
    margin-top: 16px;
    display: grid;
    grid-template-areas: "img-1" "img-2";
    grid-template-columns: 1fr;
    grid-template-rows: 304px 304px;
    row-gap: 24px; }
  .gallery-item--4 {
    display: none; } }

.reviews {
  padding-bottom: 64px; }

.reviews__list {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  color: #222; }

.review-item {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 8px; }
  .review-item.third {
    display: flex; }

.review-item__background {
  position: absolute;
  width: 109px;
  height: 78px;
  object-fit: cover;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1; }

.review-item__author {
  font-weight: 700;
  font-size: 24px;
  line-height: 32px; }

.review-item__master-name {
  font-weight: 700;
  font-size: 14px;
  line-height: 20px; }

.review-item__blockquote {
  text-align: center; }

.review-item__time {
  color: rgba(34, 34, 34, 0.8); }

@media (max-width: 768px) {
  .reviews {
    padding-bottom: 48px; }
  .reviews__list {
    gap: 24px; }
  .review-item.third {
    display: none; }
  .review-item__blockquote {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px; } }

@media (max-width: 460px) {
  .reviews {
    padding-bottom: 24px; }
  .reviews__list {
    flex-direction: column; } }
