.reviews {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.reviews__container {
  max-width: 1280px;
  margin: 0 auto;
  /* padding: 0 20px; */
}

/* Header */
.reviews__header {
  text-align: center;
  margin-bottom: 56px;
}

.reviews__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242, 201, 76, 0.12);
  border: 1px solid rgba(242, 201, 76, 0.3);
  border-radius: 100px;
  padding: 8px 20px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b8900a;
  margin-bottom: 20px;
}

.reviews__badge svg {
  flex-shrink: 0;
}

.reviews__title {
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  color: #1a1a1a;
}

.reviews__title span {
  color: #d4a51a;
}

/* Card */
.review-card {
  background: #fff;
  border: 1px solid #e8e8eb;
  border-radius: 16px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  position: relative;
  margin: 0 2px;
}

.review-card:hover {
  border-color: rgba(242, 201, 76, 0.5);
  box-shadow: 0 8px 32px rgba(242, 201, 76, 0.12);
}

.review-card__quote {
  position: absolute;
  top: 24px;
  right: 24px;
  opacity: 0.06;
  pointer-events: none;
}

.review-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.review-card__stars svg {
  width: 18px;
  height: 18px;
  fill: #f2c94c;
}

.review-card__heading {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.review-card__text {
  font-size: 14px;
  line-height: 1.7;
  color: #6b6b76;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Owl overrides */
.reviews .owl-stage {
  display: flex;
  padding: 10px 0 20px;
}

.reviews .owl-item {
  display: flex;
}

.reviews .owl-item>div {
  width: 100%;
}

/* Dots */
.reviews .owl-dots {
  text-align: center;
  margin-top: 40px;
}

.reviews .owl-dot {
  display: inline-block;
  margin: 0 5px;
}

.reviews .owl-dot span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  transition: all 0.3s;
}

.reviews .owl-dot.active span {
  background: #f2c94c;
  width: 28px;
  border-radius: 10px;
}

/* Nav */
.reviews__nav {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.reviews__nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #e8e8eb;
  background: #fff;
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.reviews__nav-btn:hover {
  background: #f2c94c;
  border-color: #f2c94c;
  color: #fff;
}

.reviews__nav-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Responsive */
@media (max-width: 1024px) {
  .reviews {
    padding: 60px 0 80px;
  }

  .review-card {
    padding: 24px 22px 22px;
  }
}

@media (max-width: 768px) {
  .reviews {
    padding: 48px 0 64px;
  }

  .reviews__header {
    margin-bottom: 36px;
  }

  .review-card__heading {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .reviews {
    padding: 40px 0 56px;
  }

  .reviews__container {
    padding: 0 16px;
  }

  .review-card {
    padding: 22px 18px 20px;
    border-radius: 12px;
  }

  .review-card__text {
    font-size: 13px;
    -webkit-line-clamp: 4;
  }
}

.reviews__action {
  text-align: center;
  margin-top: 36px;
}

.reviews__btn {
  display: inline-block;
  padding: 14px 36px;
  background: #f2c94c;
  color: #1a1a1a;
  font-size: 15px;
  border-radius: 100px;
  text-decoration: none;
  transition:
    background 0.3s,
    box-shadow 0.3s;
}

.reviews__btn:hover {
  color: #1a1a1a;
  background: #e0b83e;
  box-shadow: 0 4px 20px rgba(242, 201, 76, 0.35);
  text-decoration: none;
}

.callback-form__item textarea {
  padding: 16px 24px;
  background-color: #f2f2f2;
  border-radius: 10px;
  border: 0 none;
  width: 100%;
  min-height: 120px;
  resize: vertical;
  outline: none;
  font-family: inherit;
  font-size: inherit;
  line-height: 1.4;
}

.callback-form__item textarea:focus {
  outline: none;
}

.work-stages {
  margin: 60px 0;
}

a.slide-menu-contacts {
  color: #333;
  text-decoration: none;
}

a.slide-menu-contacts:hover {
  text-decoration: none;
}

.work-stages__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.work-stages__item {
  position: relative;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 28px 22px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.work-stages__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: #f2c94c;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s ease;
}

.work-stages__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.work-stages__item:hover::before {
  transform: scaleY(1);
}

.work-stages__item:hover .work-stages__num {
  color: #000;
  -webkit-text-stroke: 0;
}

.work-stages__num {
  display: block;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px #f2c94c;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  transition: all 0.3s ease;
}

.work-stages__text {
  color: #000;
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 1199px) {
  .work-stages__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .work-stages__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .work-stages {
    margin: 40px 0;
  }

  .work-stages__title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .work-stages__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .work-stages__item {
    padding: 22px 20px;
  }

  .work-stages__num {
    font-size: 42px;
    margin-bottom: 12px;
  }

  .work-stages__text {
    font-size: 15px;
  }
}

.doors-list {
  margin: 60px 0;
}

.doors-list__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px 24px;
}

.doors-list__item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 18px 22px;
  transition: all 0.3s ease;
  cursor: default;
}

.doors-list__item:hover {
  border-color: #f2c94c;
  transform: translateX(4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.doors-list__item:hover .doors-list__check {
  background: #000;
  color: #f2c94c;
}

.doors-list__check {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f2c94c;
  color: #000;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.doors-list__check svg {
  width: 18px;
  height: 18px;
}

.doors-list__text {
  color: #000;
  font-size: 15px;
  line-height: 1.4;
}

@media (max-width: 991px) {
  .doors-list__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 575px) {
  .doors-list {
    margin: 40px 0;
  }

  .doors-list__title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .doors-list__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .doors-list__item {
    padding: 14px 18px;
    gap: 12px;
  }

  .doors-list__check {
    width: 30px;
    height: 30px;
  }

  .doors-list__check svg {
    width: 16px;
    height: 16px;
  }

  .doors-list__text {
    font-size: 15px;
  }
}

.installation__advantages {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
}

.installation__advantage {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  line-height: 1.3;
}

.installation__advantage-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f2c94c;
  color: #000;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.installation__advantage-icon svg {
  width: 22px;
  height: 22px;
}

.installation__advantage:hover .installation__advantage-icon {
  background: #000;
  color: #f2c94c;
  transform: scale(1.05);
}

.installation__advantage-title {
  flex: 1;
}

.installation__price {
  font-size: 22px;
  font-weight: 700;
  color: #000;
  margin-bottom: 14px;
}

@media (max-width: 767px) {
  .installation__advantages {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .installation__advantage {
    font-size: 14px;
  }

  .installation__advantage-icon {
    width: 36px;
    height: 36px;
  }

  .installation__advantage-icon svg {
    width: 20px;
    height: 20px;
  }

  .installation__price {
    font-size: 20px;
  }
}

.installation__order {
  gap: 20px;
}

.installation__btn {
  margin-right: 0px;
}

.locks-list {
  margin: 60px 0;
}

.locks-list__title {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  margin-bottom: 40px;
  position: relative;
  padding-left: 20px;
}

.locks-list__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 70%;
  background: #f2c94c;
  border-radius: 3px;
}

.locks-list__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.locks-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px 24px;
  color: #000;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.3;
  transition: all 0.3s ease;
  cursor: pointer;
}

.locks-list__item--static {
  cursor: default;
}

.locks-list__item:hover {
  border-color: #f2c94c;
  background: #000;
  color: #f2c94c;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.locks-list__item:hover .locks-list__arrow {
  background: #f2c94c;
  color: #000;
  transform: translateX(4px);
}

.locks-list__text {
  flex: 1;
}

.locks-list__arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f2c94c;
  color: #000;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.locks-list__arrow svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 991px) {
  .locks-list__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 575px) {
  .locks-list {
    margin: 40px 0;
  }

  .locks-list__title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .locks-list__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .locks-list__item {
    padding: 16px 20px;
    font-size: 15px;
  }

  .locks-list__arrow {
    width: 32px;
    height: 32px;
  }

  .locks-list__arrow svg {
    width: 16px;
    height: 16px;
  }
}

.keys-block {
  margin: 60px 0;
}

.keys-block__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 50px;
  align-items: center;
}

.keys-block__media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.keys-block__media::before,
.keys-block__media::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
  border: 4px solid #f2c94c;
  z-index: 2;
  pointer-events: none;
}

.keys-block__media::before {
  top: 16px;
  left: 16px;
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: 12px;
}

.keys-block__media::after {
  bottom: 16px;
  right: 16px;
  border-left: 0;
  border-top: 0;
  border-bottom-right-radius: 12px;
}

.keys-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.keys-block__media:hover img {
  transform: scale(1.04);
}

.keys-block__title {
  font-size: 32px;
  color: #000;
  margin: 0 0 16px;
  position: relative;
  padding-left: 20px;
  line-height: 1.2;
}

.keys-block__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 70%;
  background: #f2c94c;
  border-radius: 3px;
}

.keys-block__lead {
  font-size: 16px;
  color: #555;
  line-height: 1.55;
  margin: 0 0 28px;
}

.keys-block__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.keys-block__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 999px;
  padding: 12px 20px 12px 12px;
  font-size: 15px;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: default;
}

a.keys-block__chip {
  cursor: pointer;
}

.keys-block__chip:hover {
  background: #000;
  color: #f2c94c;
  border-color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.keys-block__chip:hover .keys-block__chip-icon {
  background: #f2c94c;
  color: #000;
  transform: rotate(-10deg);
}

.keys-block__chip-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f2c94c;
  color: #000;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.keys-block__chip-icon svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 991px) {
  .keys-block__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .keys-block__media {
    max-width: 560px;
    margin: 0 auto;
  }

  .keys-block__title {
    font-size: 26px;
  }
}

@media (max-width: 575px) {
  .keys-block {
    margin: 40px 0;
  }

  .keys-block__inner {
    gap: 24px;
  }

  .keys-block__title {
    font-size: 22px;
  }

  .keys-block__lead {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .keys-block__list {
    gap: 8px;
  }

  .keys-block__chip {
    padding: 10px 16px 10px 10px;
    font-size: 14px;
    gap: 8px;
  }

  .keys-block__chip-icon {
    width: 24px;
    height: 24px;
  }

  .keys-block__chip-icon svg {
    width: 14px;
    height: 14px;
  }

  .keys-block__media::before,
  .keys-block__media::after {
    width: 50px;
    height: 50px;
    border-width: 3px;
  }
}

.article-table-wrap {
  width: 100%;
  margin: 24px 0 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(20, 20, 20, 0.06);
}

.article-table {
  width: 100%;
  min-width: 620px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 16px;
  line-height: 1.45;
  color: #171717;
}

.article-table th,
.article-table td {
  padding: 18px 22px;
  text-align: left;
  vertical-align: top;
}

.article-table thead th {
  font-weight: 600;
  color: #111;
  background: #f7f7f8;
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}

.article-table thead th:first-child {
  border-top-left-radius: 18px;
}

.article-table thead th:last-child {
  border-top-right-radius: 18px;
}

.article-table tbody tr {
  transition: background 0.2s ease;
}

.article-table tbody tr:not(:last-child) td {
  border-bottom: 1px solid rgba(20, 20, 20, 0.07);
}

.article-table tbody tr:hover {
  background: #fafafa;
}

.article-table td:last-child {
  color: #2b2b2b;
}

.article-table--price td:last-child {
  white-space: nowrap;
  font-weight: 500;
}

/* Мобильная версия: таблица превращается в карточки */
@media (max-width: 640px) {
  .article-table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .article-table {
    display: block;
    min-width: 0;
    font-size: 15px;
  }

  .article-table thead {
    display: none;
  }

  .article-table tbody {
    display: grid;
    gap: 12px;
  }

  .article-table tr {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid rgba(20, 20, 20, 0.08);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(20, 20, 20, 0.05);
  }

  .article-table td {
    display: grid;
    grid-template-columns: minmax(105px, 38%) 1fr;
    gap: 12px;
    padding: 0;
    border: 0 !important;
  }

  .article-table td::before {
    content: attr(data-label);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 600;
    color: #777;
  }

  .article-table--price td:last-child {
    white-space: normal;
  }
}

.samples {
  padding: 3rem 0;
}

.samples__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.samples__item {
  display: block;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color .2s, transform .2s;
}

.samples__item:hover {
  border-color: #f2c94c;
  transform: translateY(-3px);
  text-decoration: none;
}

.samples__thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.samples__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.samples__num {
  text-align: center;
  padding: .6rem;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  border-top: 1px solid #eee;
  background: #fff;
}

.samples__hint {
  text-align: center;
  font-size: 13px;
  color: #999;
  margin-top: 1.5rem;
}

@media (max-width: 480px) {
  .samples__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.staff__experience,
.staff__name {
  text-align: center;
}

.staff__foto img {
  width: 100% !important;
  max-width: 150px !important;
}

.entity-summary {
  margin: 0 auto 56px;
  padding: 40px 56px;
  background: #F7F7F5;
  border-radius: 20px;
  border-top: 3px solid #F2C94C;
  box-shadow: 0 4px 15px rgba(52, 45, 45, .12);
  text-align: center;
  font-family: 'core_mellow', sans-serif;
}

.entity-summary__text {
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 1.42;
  color: #000;
}

.entity-summary__facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 40px;
}

.entity-summary__fact {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.entity-summary__fact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid #F2C94C;
  border-radius: 50%;
}

.entity-summary__fact-icon img {
  width: 18px;
  height: 18px;
}

.entity-summary__fact-label {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: #000;
}

@media (max-width: 991px) {
  .entity-summary {
    padding: 32px 28px;
    border-radius: 16px;
    margin-bottom: 36px;
  }

  .entity-summary__facts {
    justify-content: flex-start;
    gap: 18px 28px;
  }
}

@media (max-width: 575px) {
  .entity-summary {
    padding: 24px 20px;
    text-align: left;
  }

  .entity-summary__text {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .entity-summary__facts {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.payment .benefits__list {
  background-image: none;
}

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

.articles-topic__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.articles-topic__grid .helpful__item {
    max-width: none;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.articles-topic__grid .helpful__caption {
    flex-grow: 1;
}

.articles-topic__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    margin-top: 4px;
    padding: 8px 16px;
    background: #f2c94c;
    border-radius: 10px;
    font-weight: 500;
    font-size: 14px;
    color: #000;
    box-shadow: 0 4px 15px rgba(52, 45, 45, .25);
    transition: .2s;
}

.helpful__item:hover .articles-topic__more {
    box-shadow: 0 4px 15px rgba(52, 45, 45, .4);
}

/* Статьи на главной */
.home-articles {
    padding: 50px 0 55px;
}

.home-articles__title {
    margin: 0 0 38px;
}

.home-articles .helpful__grid {
    margin-bottom: 40px;
}

@media (min-width: 550px) {
    .home-articles {
        padding: 70px 0 80px;
    }

    .home-articles__title {
        margin-bottom: 56px;
    }
}

@media (max-width: 999px) {
    .home-articles .helpful__grid {
        justify-content: center;
    }
}
