/* WCL: блоки «Отзывы Яндекса» и «Мы во ВКонтакте» (СтилDent) */

.wcl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 100px;
  background: var(--brand, #a53366);
  color: #fff;
  font-family: var(--font-family, "DM Sans", sans-serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 1px solid var(--brand, #a53366);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.wcl-btn:hover { background: var(--brand-hover, #b72e6b); border-color: var(--brand-hover, #b72e6b); color: #fff; }
.wcl-btn--ghost { background: transparent; color: var(--brand, #a53366); border-color: rgba(165, 51, 102, .35); }
.wcl-btn--ghost:hover { background: var(--light-pink, #f8eff3); color: var(--brand, #a53366); border-color: var(--brand, #a53366); }

/* ---------- Отзывы Яндекса ---------- */
.wcl-rev { margin-top: 32px; }
.wcl-rev__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  border-radius: 16px;
  background: var(--sky-blue, #e8eff8);
  margin-bottom: 22px;
}
.wcl-rev__score { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.wcl-rev__score-num {
  font-family: var(--font-family, "DM Sans", sans-serif);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--navy-blue, #142b45);
}
.wcl-rev__score-stars { color: #f7b500; font-size: 20px; letter-spacing: 2px; }
.wcl-rev__score-note { font-size: 15px; color: var(--blue, #5073a6); }
.wcl-rev__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.wcl-rev__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.wcl-rev__card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--stroke, rgba(0,0,0,.09));
  box-shadow: 0 2px 12px rgba(20, 43, 69, .04);
}
.wcl-rev__card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.wcl-rev__stars { color: #f7b500; font-size: 15px; letter-spacing: 1px; }
.wcl-rev__date { font-size: 13px; color: var(--grey, #8f949e); }
.wcl-rev__text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--black, #2a2c2f);
  margin: 0 0 16px;
  flex: 1 1 auto;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wcl-rev__author { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.wcl-rev__avatar {
  width: 34px; height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: var(--light-pink, #f8eff3);
  color: var(--brand, #a53366);
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.wcl-rev__name { font-weight: 600; color: var(--navy-blue, #142b45); }
.wcl-rev__src { margin-left: auto; font-size: 12px; color: var(--grey, #8f949e); }

/* ---------- ВКонтакте ---------- */
.wcl-vk { margin-top: 36px; }
.wcl-vk__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px; margin-bottom: 22px;
}
.wcl-vk__brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.wcl-vk__logo {
  width: 46px; height: 46px; border-radius: 12px;
  background: #0077ff; color: #fff;
  font-weight: 700; font-size: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-family, "DM Sans", sans-serif);
}
.wcl-vk__brand-text { display: flex; flex-direction: column; gap: 3px; }
.wcl-vk__name { font-weight: 600; font-size: 18px; color: var(--navy-blue, #142b45); }
.wcl-vk__link { font-size: 14px; color: var(--blue, #5073a6); }
.wcl-vk__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.wcl-vk__sub {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--grey, #8f949e);
  margin: 26px 0 14px;
}
.wcl-vk__clips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.wcl-clip { text-decoration: none; display: block; }
.wcl-clip__media {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  background: #0b1524;
}
.wcl-clip__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wcl-clip__play {
  position: absolute; left: 50%; top: 50%;
  width: 52px; height: 52px; margin: -26px 0 0 -26px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  box-shadow: 0 4px 18px rgba(0,0,0,.25);
}
.wcl-clip__play::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #142b45;
}
.wcl-clip__views {
  position: absolute; left: 10px; bottom: 10px;
  padding: 3px 8px; border-radius: 100px;
  background: rgba(0,0,0,.55); color: #fff; font-size: 12px;
}
.wcl-clip__caption {
  display: block; margin-top: 8px;
  font-size: 14px; line-height: 1.4; color: var(--black, #2a2c2f);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.wcl-clip__date { display: block; margin-top: 4px; font-size: 13px; color: var(--grey, #8f949e); }

.wcl-vk__wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.wcl-post {
  display: flex; flex-direction: column;
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--stroke, rgba(0,0,0,.09));
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.wcl-post:hover { border-color: rgba(165, 51, 102, .35); box-shadow: 0 4px 18px rgba(20, 43, 69, .07); }
.wcl-post__cover {
  display: block; width: 100%; aspect-ratio: 16 / 9;
  object-fit: cover; background: #0b1524;
}
.wcl-post__body { display: flex; flex-direction: column; gap: 10px; padding: 22px; }
.wcl-post__meta { display: flex; gap: 12px; font-size: 13px; color: var(--grey, #8f949e); }
.wcl-post__text {
  font-size: 15px; line-height: 1.5; color: var(--black, #2a2c2f);
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.wcl-post__more { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--brand, #a53366); }

@media (max-width: 1024px) {
  .wcl-rev__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wcl-vk__clips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wcl-vk__wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .wcl-rev__head { padding: 18px; }
  .wcl-rev__score-num { font-size: 32px; }
  .wcl-rev__grid { grid-template-columns: 1fr; }
  .wcl-vk__clips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wcl-vk__wall { grid-template-columns: 1fr; }
  .wcl-btn { padding: 11px 18px; font-size: 14px; }
}

/* WCL: карточки услуг на /services/ (04.12.2026) */
.wcl-svc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:8px 0 28px}
.wcl-svc-card{position:relative;display:flex;flex-direction:column;gap:10px;padding:26px 24px 22px;background:#fff;border:1px solid #ece9ee;border-radius:16px;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.wcl-svc-card:hover{transform:translateY(-3px);border-color:#f0d3e0;box-shadow:0 14px 34px rgba(165,51,102,.10)}
.wcl-svc-card__title{margin:0 34px 0 0;font-size:19px;line-height:1.3;color:#221b22;font-weight:600}
.wcl-svc-card__text{margin:0;font-size:14px;line-height:1.55;color:#6b6672}
.wcl-svc-card__count{margin-top:auto;padding-top:8px;font-size:13px;color:#a53366;font-weight:600}
.wcl-svc-card__more{position:absolute;top:20px;right:20px;width:34px;height:34px;border-radius:50%;background:#fbeef4;color:#a53366;display:flex;align-items:center;justify-content:center;transition:background .18s ease}
.wcl-svc-card:hover .wcl-svc-card__more{background:#a53366;color:#fff}
.wcl-svc-cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:22px 26px;margin-bottom:34px;background:#faf7f9;border:1px solid #f0e4ea;border-radius:16px}
.wcl-svc-cta__text{font-size:15px;color:#4a4450;max-width:640px}
.wcl-svc-cta__btn{display:inline-block;padding:12px 22px;border-radius:10px;background:#a53366;color:#fff;font-weight:600;font-size:15px;text-decoration:none}
.wcl-svc-cta__btn:hover{background:#8e2a56;color:#fff}
@media(max-width:1100px){.wcl-svc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.wcl-svc-grid{grid-template-columns:1fr;gap:16px}.wcl-svc-card{padding:22px 20px 18px}}

/* ===== WCL: приёмка hallmark 04.12.2026 ===== */

/* 1. контраст текста до 4.5:1 */
.wcl-rev__score-stars,
.wcl-rev__stars { color: #9a6a00; }
.wcl-rev__score-note { color: #3d5a85; }
.wcl-rev__date,
.wcl-rev__src,
.wcl-vk__sub,
.wcl-clip__date,
.wcl-post__meta,
.wcl-post__date,
.wcl-post__views { color: #666b76; }
.footer-bot__first a { color: #3f4550; }
.footer-bot__first a:hover { color: #a53366; }

/* 2. текст отзыва не заезжает под автора */
.wcl-rev__card { min-height: 0; }
.wcl-rev__text {
  display: block;
  min-height: 0;
  -webkit-line-clamp: unset;
  max-height: calc(1.5em * 7);
  overflow: hidden;
}

/* 3. клавиатурный фокус виден */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #a53366;
  outline-offset: 2px;
}

/* 4. кнопка «О враче» в одну строку */
.btn--wt-br { white-space: nowrap; }

/* 5. служебная плашка шапки на телефоне не вылезает за экран */
@media (max-width: 768px) {
  .nav-hed { display: none !important; }
}

/* 6. контраст: звёзды и копирайт подвала */
.wcl-rev__score-stars,
.wcl-rev__stars { color: #8a5f00; }
.footer-bot__mid p { color: #52565f; }
