.hidden {
  display: none;
}

@font-face {
  font-family: 'Gilroy';
  src: url('../css/fonts/Gilroy-Regular.ttf');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Gilroy';
  src: url('../css/fonts/Gilroy-Medium.ttf');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Gilroy';
  src: url('../css/fonts/Gilroy-Semibold.ttf');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Gilroy';
  src: url('../css/fonts/Gilroy-Bold.ttf');
  font-weight: 700;
  font-style: normal;
}

body {
  background-color: #fbfbfb;
  color: rgba(12, 12, 12, 0.7);
  font-family: 'Gilroy', sans-serif;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

ul,
ol {
  margin: 0;
  list-style: none;
  padding-left: 0;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #0c0c0c;
}
a {
  text-decoration: none;
  color: currentColor;
}

img {
  display: block;
  max-width: 100%;
  /* width: 100%; */
  height: auto;
  object-fit: cover;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.section {
  padding-top: 60px;
  /* padding-bottom: 60px; */
}

.container {
  max-width: 375px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
    padding-left: 65px;
    padding-right: 65px;
  }
}

/* HEADER  */
/* 
header {
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;  
  background-color: #fbfbfb;
} */

.header {
  border-bottom: 1px solid rgba(12, 12, 12, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
}

.header-logo {
  padding-top: 27.5px;
  padding-bottom: 27.5px;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: #0c0c0c;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-nav-link {
  position: relative;
  padding-top: 30px;
  padding-bottom: 40px;
  display: block;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
  color: #0c0c0c;
}

.header-nav-link::after {
  position: absolute;
  content: '';
  left: 50%;
  bottom: 30px;
  width: 8px;
  height: 8px;
  transform: translateX(-50%) scale(0);
  border-radius: 50%;
  background-color: #3350e9;
  opacity: 0;
  transition: opaciti 250ms ease-in, transform 250ms ease-in;
}

.header-nav-link:hover::after,
.header-nav-link:focus::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}
/*-------------------------------------------------------------------- links */
.header-social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(12, 12, 12, 0.1);
  border-radius: 10px;
  width: 100%;
  height: 100%;
  color: #0c0c0c;
  transition: border-color 250ms ease-in, color 250ms ease-in;
}

.header-social-link:hover,
.header-social-link:focus {
  border-color: 1px solid rgba(51, 80, 233, 0.1);
  border-radius: 10px;
  color: #3350e9;
}

.header-social-icon {
  fill: currentColor;
}

.header-social-item {
  width: 36px;
  height: 36px;
}

/* ==================mobile===================  */
/* [hover] */
.menu-social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(251, 251, 251, 0.1);
  border-radius: 10px;
  width: 100%;
  height: 100%;
  color: #fbfbfb;
  transition: border-color 250ms ease-in, color 250ms ease-in;
}

.menu-social-link:hover,
.menu-social-link:focus {
  border-color: 1px solid rgba(51, 80, 233, 0.1);
  border-radius: 10px;
  color: #fbfbfb;
  opacity: 0.8;
}
.menu-social-icon {
  fill: currentColor;
}

.menu-social-item {
  width: 34px;
  height: 34px;
}
/* [hover] */
.mobile-menu-nav-link {
  position: relative;
  display: block;
  padding-bottom: 10px;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
  color: #0c0c0c;
}

.mobile-menu-nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #3350e9;
  transform: translateX(-50%) scale(0);
  opacity: 0;
  transition: opaciti 250ms ease-in, transform 250ms ease-in;
}

.mobile-menu-nav-link:hover::after,
.mobile-menu-nav-link:focus::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}
/* ---------start general mobile---------- */
.header-nav,
.header-social-list {
  display: none;
}

.burger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(5px);
  width: 34px;
  height: 34px;
  border: none;
  padding: 0;
  background-color: transparent;
}

.burger-icon {
  display: block;
  stroke-width: 2.5px;
  fill: #0c0c0c;
}

/* ----------------start-mobile-menu------------------------ */

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  max-width: 200px;
  width: 100%;
  height: 100%;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  background: linear-gradient(rgba(12, 12, 12, 0.9), rgba(12, 12, 12, 0.9)),
    url('../images/menu-bcgimg.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

@media (min-resolution: 192dpi) {
  .mobile-menu {
    background-image: linear-gradient(
        rgba(12, 12, 12, 0.9),
        rgba(12, 12, 12, 0.9)
      ),
      url('../images/menu-bcgimg@2x.jpg');
  }
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.mobile-menu-nav-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.mobile-menu-nav-link {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
  color: #fbfbfb;
}

.mobile-menu-nav {
  margin-top: auto;
  margin-bottom: auto;
}

.menu-social-list {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: transparent;
  border: none;
  width: 34px;
  height: 34px;
}

.menu-social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(251, 251, 251, 0.1);
  border-radius: 10px;
  width: 34px;
  height: 34px;
}
.container-link {
  margin-bottom: 40px;
}

.icon-close {
  stroke-width: 2.5px;
  stroke: #fbfbfb;
}
/* ----------------end-mobile-menu------------------------ */

.header-nav-list {
  display: flex;
  gap: 40px;
}

/* ============================tablet */
@media (min-width: 768px) {
  /* mobile-menu */
  .mobile-menu {
    max-width: 330px;
  }
  .menu-social-icon {
    width: 20px;
    height: 20px;
  }
  .container-link {
    margin-bottom: 50px;
  }

  .menu-social-item {
    width: 36px;
    height: 36px;
  }

  .icon-close {
    width: 20px;
    height: 20px;
  }
  /* mobile-menu */

  .header-logo {
    padding: 34px 0;
    font-weight: 500;
    font-size: 20px;
    letter-spacing: -0.02em;
    color: #0c0c0c;
  }
}

/* ===========================pc */

@media (min-width: 1280px) {
  .mobile-menu {
    display: none;
  }

  .burger-btn {
    display: none;
  }

  .header-nav {
    display: flex;
    gap: 10px;
  }
  .header-logo {
    padding-top: 32px 0;
  }

  .header-social-list {
    display: flex;
    gap: 10px;
  }
}

/* ==================start section welcom================= */

/* ------------------mobile------------------ */

.hero {
  padding-top: 60px;
}
.main-title {
  max-width: 335px;
  font-weight: 600;
  font-size: 40px;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #0c0c0c;
  margin-bottom: 20px;
}

.accent {
  color: #3350e9;
}

.post-title {
  max-width: 335px;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: rgba(12, 12, 12, 0.7);
}

/* на пк повернути фл дір колум  */
.main-right {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 28px;
}

.team-logo {
  width: 108px;
}

.main-link {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.28;
  letter-spacing: -0.02em;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: #0c0c0c;
  transition: color 250ms ease-in;
}

.main-link:hover,
.main-link:focus {
  color: #3350e9;
}

.main-image {
  margin-top: 28px;
  border-radius: 30px;
  min-width: 335px;
  min-height: 366px;
}

/* ============================tablet */
@media (min-width: 768px) {
  .home-main-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
  }

  .main-title {
    max-width: 557px;
    font-size: 70px;
    line-height: 0.86;
  }

  .post-title {
    max-width: 480px;
    font-size: 16px;
    line-height: 1.25;
  }

  .main-right {
    flex-direction: column;
    margin-top: 0;
  }

  .main-link {
    font-size: 20px;
    line-height: 1;
  }

  .main-image {
    margin-top: 40px;
    border-radius: 30px;
    width: 100%;
    display: block;
    margin: 0 auto;
  }

  team-logo {
    max-width: 136px;
  }
}
/*---------------------------------- pc */

@media (min-width: 1280px) {
  .hero {
    padding-top: 80px;
  }

  .main-title {
    max-width: 597px;
    font-weight: 600;
    font-size: 72px;
    line-height: 0.87;
  }

  .team-logo {
    max-width: 146px;
  }
}

/* ==================end section welcom================= */

/* ==================start section about================= */

.section-about {
  padding-bottom: 60px;
}

.content-container {
  background-color: #f3f3f3;
  border-radius: 30px;
  padding: 40px 15px;
  margin-bottom: 20px;
  max-width: 335px;
}

.section-title {
  margin-bottom: 28px;

  font-weight: 600;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.text {
  width: 295px;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.28571;
  letter-spacing: -0.02em;
  color: rgba(12, 12, 12, 0.7);
}

.first-description {
  margin-bottom: 20px;
}

.description-container {
  margin-bottom: 40px;
}

.btn-link {
  display: inline-block;
  width: 160px;
  height: 48px;
  border-radius: 16px;
  padding: 15px 35px;

  font-weight: 500;
  font-size: 14px;
  line-height: 1.28;
  text-align: center;
  color: #fbfbfb;
  cursor: pointer;

  background-color: #3350e9;
  transition: background-color 250ms ease-in;
}

.btn-link:hover,
.btn-link:focus {
  background-color: #1f3cd4;
}

.media-container {
  max-width: 335px;
}
.about-watch {
  border-radius: 30px;
  width: 100%;
}

/* =========================================================tablet */

@media (min-width: 768px) {
  .section-about {
    padding: 80px 0;
  }
  .content-container {
    max-width: 704px;
    margin-bottom: 40px;
    padding: 80px 60px;
    border-radius: 50px;
  }

  .section-title {
    margin-bottom: 40px;
    font-size: 48px;
    line-height: 0.9;
  }

  .text {
    width: 584px;
    font-size: 16px;
    line-height: 1.25;
  }

  .description-container {
    margin-bottom: 60px;
  }

  .media-container {
    max-width: 704px;
  }

  .about-watch {
    border-radius: 50px;
  }
}

/* =========================================================pc */

@media (min-width: 1280px) {
  .container-about {
    display: flex;
    justify-content: space-between;
  }

  .about-container {
    display: flex;
    justify-content: space-between;
  }

  .text {
    width: 460px;
  }
  .section-about {
    padding: 100px 0;
  }
  .content-container {
    max-width: 580px;
    margin: 0;
  }

  .media-container {
    max-width: 530px;
  }

  .about-watch {
    display: block;
    width: 100%;
    height: 100%;
  }

  .container-about {
    margin: 0 auto;
  }
}

/* ==================end section about================= */

/* ----------------------- start section-catalog------------------------------- */

.section-catalog {
  padding-top: 0;
}

.catalog-title {
  margin-bottom: 24px;
  margin-left: auto;
  font-weight: 600;
  font-size: 48px;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.catalog-post-title {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.catalog-description {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.29;
  letter-spacing: -0.02em;
  color: rgba(12, 12, 12, 0.5);
}

.item-container {
  max-width: 335px;
  padding: 24px 28px;
  /* margin: 0 auto; */
  margin-bottom: 20px;
  border-radius: 30px;
  background-color: #f3f3f3;
  list-style: none;
}

/* 4-й елемент без марджина за замовчуванням */
.item-container:nth-child(4) {
  margin-bottom: 0;
}

/* клас для margin після натискання кнопки */
.item-container.mb {
  margin-bottom: 20px;
}

.catalog__btn {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.28571;
  text-align: center;
  color: #fbfbfb;
  background-color: #3350e9;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 160px;
  height: 48px;
  border-radius: 16px;
  margin-top: 40px;
  border: none;
}

.catalog__btn:hover,
.catalog__btn:focus {
  background-color: #1f3cd4;
}

/* мобільні правила */
@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }

  .item-container.show {
    display: block;
  }
}

/* =================================================tablet============================== */

@media (min-width: 768px) {
  .catalog-title {
    font-size: 48px;
    line-height: 0.9;
    margin-bottom: 40px;
  }

  .catalog-list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 16px;
    row-gap: 32px;
  }

  .catalog-container {
    /* display: flex; */
    padding: 0 32px;
    margin: 0 auto;
    max-width: 704px;
  }

  .catalog-item {
    width: calc((100% - 32px) / 2);
  }

  .item-container {
    min-width: 344px;
    margin-bottom: 0;
    padding: 24px 32px;
  }
  .catalog-post-title {
    font-size: 20px;
    line-height: 1;
  }

  .catalog__btn {
    display: none;
  }
}

/* ==================pc========================= */

@media (min-width: 1280px) {
  .catalog-container {
    max-width: 1150px;
  }

  .catalog-list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 23px;
    row-gap: 32px;
  }
  .item-container {
    max-width: 368px;
  }
  .catalog-item {
    width: calc((100% - 46px) / 3);
  }
}
/* -----------------------end section-catalog------------------------------- */

/* -----------------------start section-advertisement------------------------------- */
.advertisement {
  padding-bottom: 60px;
}
.story-wrapper {
  background: linear-gradient(rgba(12, 12, 12, 0.8), rgba(12, 12, 12, 0.8)),
    image-set(
      url('../images/advertisement/ph-abstr.jpg') 1x,
      url('../images/advertisement/ph-abstr@2x.jpg') 2x
    );
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 60px 28px;
  border-radius: 30px;
}

.story-text {
  font-weight: 600;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fbfbfb;
  max-width: 279px;
  margin-bottom: 28px;
}

.story-accent {
  color: rgba(251, 251, 251, 0.5);
}

.story_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.29;
  color: #fbfbfb;
  background-color: transparent;
  border: 1px solid rgba(251, 251, 251, 0.15);
  width: 160px;
  height: 48px;
  border-radius: 16px;
  margin-top: 28px;
}

.story_btn:hover,
.story_btn:focus {
  background-color: #fbfbfb;
  color: black;
}

/* =================================================tablet============================== */

@media (min-width: 768px) {
  .story-wrapper {
    background: linear-gradient(rgba(12, 12, 12, 0.8), rgba(12, 12, 12, 0.8)),
      image-set(
        url('../images/advertisement/tab-abstr.jpg') 1x,
        url('../images/advertisement/tab-abstr@2x.jpg') 2x
      );
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    max-width: 704px;
    padding: 80px 64px;
  }
  .story-text {
    max-width: 576px;
    font-size: 48px;
    line-height: 0.9;
  }

  .story_btn {
    margin-top: 32px;
  }
}

/* ==============================pc================================ */

@media (min-width: 1280px) {
  .story-wrapper {
    background: linear-gradient(rgba(12, 12, 12, 0.8), rgba(12, 12, 12, 0.8)),
      image-set(
        url('../images/advertisement/pc-abstr.png') 1x,
        url('../images/advertisement/pc-abstr@2x.png') 2x
      );
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    max-width: 1150px;
    padding: 83px 80px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
  }

  .story-text {
    max-width: 690px;
    margin-bottom: 0;
  }

  .story_btn {
    margin-top: 0;
  }
}

/* -----------------------end section-advertisement------------------------------- */

/* -----------------------start section-sale------------------------------- */

.sale-picture {
  display: block;
}

.sale-picture img {
  width: 52px;
  height: 54px;
  object-fit: contain;
}
.sale {
  padding-top: 0;
}

.sale-title {
  font-weight: 600;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.sale-list {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
}

.sale-item {
  padding: 13px 14px;
  max-width: 80px;
  /* width: calc((100% - 15px) / 4); */
  border-radius: 16px;
  background-color: #f3f3f3;
}

.main-watch {
  padding: 50px 50px;
  border-radius: 30px;
  background-color: #f3f3f3;
  margin-bottom: 20px;
}

.description-container-sale {
  padding: 48px 28px;
  background-color: #3350e9;
  border-radius: 30px;
}

.sale-descrription {
  font-weight: 600;
  font-size: 24px;
  line-height: 1.17;
  letter-spacing: -0.02em;
  color: #fbfbfb;
  margin-bottom: 10px;
  max-width: 279px;
}

.description-name {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.29;
  letter-spacing: -0.02em;
  color: rgba(251, 251, 251, 0.5);
  margin-bottom: 20px;
}

.price-box {
  display: flex;
  margin-bottom: 28px;
  align-items: center;
  gap: 9px;
}

.description-price {
  display: flex;
  padding: 8px 12px;
  min-width: 68px;
  justify-content: center;
  background: rgba(251, 251, 251, 0.1);
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fbfbfb;
}

.accent-price {
  color: rgba(251, 251, 251, 0.5);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.17;
  letter-spacing: -0.02em;
  text-decoration: line-through;
}

.main-description {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.29;
  letter-spacing: -0.02em;
  color: rgba(251, 251, 251, 0.7);
  margin-bottom: 28px;
  max-width: 279px;
}

.description-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 279px;
}

.description-item {
  padding: 8px 12px;
  border: 1px solid rgba(251, 251, 251, 0.2);
  border-radius: 8px;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.3;
  color: #fbfbfb;
}

/*=========================================== tablet */

@media (min-width: 768px) {
  .sale-picture img {
    width: 96px;
    height: 100px;
    object-fit: contain;
  }
  .sale {
    padding-top: 0;
  }

  .sale-title {
    margin-bottom: 40px;
    font-weight: 600;
    font-size: 48px;
    line-height: 0.9;
    letter-spacing: -0.02em;
  }

  .img-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    max-width: 704px;
  }

  .description-container-sale {
    max-width: 704px;
    padding: 60px 60px;
  }

  .sale-list {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 0;
  }

  .sale-item {
    max-width: 132px;
    padding: 16px 18px;
    border-radius: 20px;
  }

  .main-watch {
    max-width: 552px;
    padding: 80px 112px;
    margin-bottom: 0;
    border-radius: 50px;
  }

  .sale-descrription {
    font-weight: 600;
    font-size: 32px;
    line-height: 1.125;
    letter-spacing: -0.02em;
    max-width: 436px;
  }
  .price-box {
    margin-bottom: 30px;
  }

  .main-description {
    max-width: 584px;
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.25;
  }

  .description-list {
    max-width: 398px;
  }

  .description-price {
    min-width: 78px;
    font-size: 20px;
    line-height: 1;
  }

  .description-item {
    font-size: 14px;
    line-height: 1.29;
  }
}

/* ============================pc============================== */

@media (min-width: 1280px) {
  .sale {
    padding-bottom: 100px;
  }

  .sale-container {
    display: flex;
    justify-content: space-between;
    max-width: 1150px;
    /* padding-right: 65px;
    padding-left: 65px; */
  }

  .img-container {
    margin-bottom: 0;
    gap: 20px;
  }

  .main-watch {
    max-width: 428px;
    padding: 80px 50px;
  }

  .description-container-sale {
    max-width: 530px;
    padding: 60px 60px;
    /* height: 558px;  */
  }
}
/* -----------------------end section-sale------------------------------- */

/* ============================ reviews ============================ */

/* -----------------------start section-reviews------------------------------- */
.reviews-title {
  font-weight: 600;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.reviews-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
}

.reviews-viewport::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari */
}

.reviews-list {
  display: flex;
  gap: 16px;
}

.reviews-item {
  flex: 0 0 100%;
  /* mobile */
  scroll-snap-align: start;
  box-sizing: border-box;
  border-radius: 30px;
  padding: 32px 36px;
  background-color: #f3f3f3;
}

.team-logo-container {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.team-img-logo {
  margin-bottom: 24px;
}

.reviews-post-title {
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-align: center;
}

.reviews-description {
  min-width: 263px;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.28;
  letter-spacing: -0.02em;
  text-align: center;
  color: rgba(12, 12, 12, 0.4);
}

/* ============================ Tablet ============================ */
@media (min-width: 768px) and (max-width: 1279px) {
  .reviews-item {
    flex: 0 0 calc(50% - 8px);
    /* 2 картки видимі */
  }

  .reviews-post-title {
    font-size: 18px;
    line-height: 1.1;
  }

  .reviews-description {
    font-size: 16px;
    line-height: 1.25;
  }
}

/* ============================ Desktop ============================ */
@media (min-width: 1280px) {
  .reviews-list {
    gap: 20px;
  }

  .reviews-item {
    flex: 0 0 calc((100% - 40px) / 3);

    .reviews-description {
      min-width: 298px;
      line-height: 1.25;
      font-size: 16px;
    }
  }
}
/* ============================ Dots ============================ */
.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.reviews-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(12, 12, 12, 0.2);
  transition: background-color 0.3s;
}

.reviews-dots .dot.active {
  background-color: rgba(12, 12, 12, 0.8);
}

/* desktop - hide dots */
@media (min-width: 1280px) {
  .reviews-dots {
    display: none;
  }
}
/* -----------------------end section-reviews------------------------------- */

.contact-title {
  font-weight: 600;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.02em;

  margin-bottom: 24px;
}

.form-box {
  padding: 48px 28px;
  background-color: #f3f3f3;
  border-radius: 30px;
  margin-bottom: 20px;
}

.form-text {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.29;
  letter-spacing: -0.02em;
  color: rgba(12, 12, 12, 0.7);
  margin-bottom: 28px;
}

.form-label {
  margin-bottom: 18px;
}

.input-form {
  border-radius: 12px;
  border: 1px solid rgba(12, 12, 12, 0.15);
  padding-left: 14px;
  padding-top: 12px;
  padding-bottom: 12px;
  margin-bottom: 18px;
  width: 100%;

  font-weight: 400;
  font-size: 14px;
  line-height: 1.29;
}

.form-textarea {
  border: 1px solid rgba(12, 12, 12, 0.15);
  border-radius: 12px;
  padding: 12px 136px 54px 14px;
  width: 100%;
  height: 84px;
  resize: none;
  outline: none;
  overflow: hidden;
}

.form-button {
  display: flex;
  margin-top: 28px;
  border-radius: 16px;
  padding: 12px 50px;
  background-color: #3350e9;
  border: none;

  font-weight: 500;
  font-size: 14px;
  line-height: 1.29;
  text-align: center;

  color: #fbfbfb;
  transition: background-color 250ms ease-in;
}

.form-button:hover,
.form-button:focus {
  background: #1f3cd4;
}

/* ============================ Tablet ============================ */

@media (min-width: 768px) {
  .form-text {
    font-size: 16px;
    line-height: 1.25;
  }

  .form-box {
    padding: 50px 122px;
    border-radius: 50px;
    margin-bottom: 40px;
  }

  .form-text {
    font-size: 16px;
    line-height: 1.25;
  }

  .input-form {
    font-size: 16px;
    line-height: 1.25;
  }

  .form-textarea {
    height: 90px;
  }

  .form-button {
    width: 160px;
    padding: 17px 63px;
  }
}

@media (min-width: 1280px) {
  .form-box {
    padding: 50px 60px;
    width: 580px;
  }

  .contact-container {
    display: flex;
    justify-content: space-between;
  }
  .form-box {
    margin-bottom: 0;
  }
  .form-button {
    margin-top: 32px;
  }
}

================================================/* footer */

.section {
}

.footer {
}

.container {
}

.footer-container {
  padding: 40px 28px 28px;
  background-color: #0c0c0c;
  border-radius: 30px;
}

.footer-logo {
  display: block;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: #fbfbfb;
  margin-bottom: 20px;
}

.footer-social-list {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.descr-box {
  margin-top: 40px;
  margin-bottom: 92px;
}

.footer-social-item {
  width: 36px;
  height: 36px;
}

.footer-social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(251, 251, 251, 0.1);
  border-radius: 10px;
  width: 100%;
  height: 100%;
  color: #fbfbfb;
  opacity: 0.8;
  transition: border-color 250ms ease-in, color 250ms ease-in;
}

.footer-social-link:hover,
.footer-social-link:focus {
  border-color: 1px solid rgba(51, 80, 233, 0.1);
  border-radius: 10px;
  color: #fbfbfb;
  opacity: 1;
}

.footer-social-icon {
  fill: currentColor;
}

.footer-call-btn {
  display: inline-flex;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.3;
  text-transform: uppercase;
  text-align: center;
  color: #fbfbfb;
  padding: 14px 20px;
  /* width: 152px; */
  border: 1px solid rgba(251, 251, 251, 0.2);
  border-radius: 16px;
  transition: background-color 250ms ease-in, color 250ms ease-in;
}

.footer-call-btn:hover,
.footer-call-btn:focus {
  background-color: #fbfbfb;
  color: black;
}

.footer-descr {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
  color: #fbfbfb;
}

.footer-nav-box {
  width: 147px;
}

.footer-info-box {
  display: flex;
  margin-bottom: 20px;
}

.footer-divider {
  height: 1px;
  stroke-width: 1px;
  border: none;
  height: 1px;
  background-color: rgba(251, 251, 251, 0.1);
  margin-bottom: 20px;
}

/* .footer-adres-box {
  width: 83px;
} */

.footer-nav {
}

.footer-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  column-gap: 16px;
  width: 147px;
  margin-right: 42px;
}

.footer-nav-item {
  font-weight: 500;
  font-size: 12px;
  line-height: 1.33333;
  text-align: center;
  color: #fbfbfb;
}

.footer-nav-link {
}

.footer-adres {
  font-weight: 500;
  font-size: 12px;
  font-style: normal;
  line-height: 1.33333;
  color: #fbfbfb;
}

.footer-legal {
  font-weight: 500;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: rgba(251, 251, 251, 0.5);
}

.footer-privaci-text {
  font-weight: 500;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: rgba(251, 251, 251, 0.5);
  width: 187px;
  margin-bottom: 8px;
}

.legal-list {
  display: flex;
  width: 152px;
  justify-content: space-between;
}

/* ============================ Tablet ============================ */

@media (min-width: 768px) {
  .footer-container {
    padding: 40px 40px 28px;
  }

  .footer-logo {
    font-size: 20px;
  }

  .footer-social-list {
  }

  .footer-call-btn {
    font-size: 14px;
    line-height: 1.28;
    padding: 15px 15px;
  }

  .footer-descr {
    margin: 0 auto;
    width: 524px;
    font-size: 28px;
    line-height: 1.14;
  }

  .footer-top-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 86px;
  }

  .descr-box {
    margin-bottom: 100px;
  }

  .footer-nav-list {
    display: flex;
    gap: 19px;
    width: 400px;
    margin-right: 62px;
  }

  .footer-nav-item {
    font-size: 14px;
    line-height: 1.28;
  }

  .footer-adres {
    font-size: 14px;
    line-height: 1.28;
    max-width: 162px;
  }

  .footer-bottom-box {
    display: flex;
    justify-content: space-between;
  }

  .footer-info-box {
    display: flex;
    margin-bottom: 28px;
  }

  .footer-divider {
    margin-bottom: 28px;
  }

  .footer-privaci-text {
    font-size: 14px;
    line-height: 1.28;
    width: 261px;
    margin-bottom: 0;
  }

  .legal-list {
    width: 204px;
  }

  .footer-legal {
    font-size: 14px;
    line-height: 1.28571;
    letter-spacing: -0.02em;
    text-align: right;
  }
}

/* ============================ Desktop ============================ */

@media (min-width: 1280px) {
  /* 1. Верхній рядок стає grid */
  .footer-container {
    position: relative;
  }

  .footer-top-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    margin-bottom: 126px;
  }

  /* 2. Лівий блок */
  .footer-top-box {
    grid-column: 1;
  }

  /* 3. Кнопка телефону справа */
  .footer-call-box {
    grid-column: 3;
    justify-self: end;
    align-self: start;
  }

  /* 4. ТЕКСТ — кладемо поверх у центр */
  .descr-box {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 523px;
    margin-top: 40px;
  }

  .footer-descr {
    text-align: center;
  }

  .footer-nav-list {
    width: 505px;
    margin-right: 469px;
    gap: 40px;
  }

  .footer-adres-box {
    margin-left: auto;
  }

  nav.footer-nav {
    width: 505px;
  }
}
