.box-categories-list img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* ноутбуки / планшеты */
@media (max-width: 992px) {
  .box-categories-list img {
    height: 340px;
  }
}

/* планшеты */
@media (max-width: 768px) {
  .box-categories-list img {
    height: 300px;
  }
}

/* телефоны */
@media (max-width: 576px) {
  .box-categories-list img {
    height: 240px;
  }
}


/******/
.overlay-dark {
  position: relative; /* чтобы псевдоэлемент был относительно блока */
}

.overlay-dark::before {
  content: "";
  position: absolute;
  inset: 0; /* сверху, снизу, слева, справа = 0 */
  background: rgba(0, 0, 0, 0.3); /* полупрозрачный черный */
  z-index: 1; /* ниже текста */
}

.overlay-dark > * {
  position: relative; /* поднимает текст над оверлеем */
  z-index: 2;
}


/******/
.page {
  margin-bottom: 0;
}

/******/
.header__logo {
  max-height: 75px;
  height: 100%;
  object-fit: contain;
  width: fit-content;
}

@media (max-width: 1199px) {
  .header__logo {
    max-height: 50px;
  }

  .section.page-header {
    margin-top: 65px;
  }
}


.list-marked-2.box-categories-list a {
  border: 4px #c8c5b7 solid;
}

.hero__img-3 {
  object-position: 0 0;
}

.main-person__icon {
  max-height: 550px;
  object-fit: cover;
  object-position: 0 -90px;
}

@media (max-width: 1199px) {
  .main-person__icon {
    max-height: 450px;
    object-position: 0 -50px;
  }
}


.coral-product img {
  max-height: 195px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coral-product__btn {
  width: 100%;
}

.coral-product {
  transition: all 0.3s ease;
}

.coral-product:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.coral-club__title {
  font-size: 24px !important;
  font-weight: bold !important;
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.card-img-top {
  height: 320px;
  object-fit: cover;
}

.social-icon {
  margin: 0 !important;
}



