/* Футер сайта (стиль ctoma.ru, палитра Эстом) */

/* ===== footer ===== */
/* ---------- футер (стиль ctoma.ru, палитра Эстом) ---------- */

.rv-footer {
  margin-top: 0;
  background: var(--color-primary-deep);
  color: #fff;
  padding: 52px 0 26px;
}

.rv-footer__content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 30px 60px;
}

.rv-footer__col1 { flex: 1 1 640px; min-width: 0; }

.rv-footer__col2 { flex: 0 1 280px; }

.rv-footer__menus {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px 40px;
}

.rv-footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1 1 0;
  min-width: 0;
}

.rv-footer__liBold {
  font-size: var(--fs-17);
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
}

.rv-footer__li { font-size: var(--fs-14); line-height: 1.35; }

.rv-footer a {
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  transition: color .12s ease;
}

.rv-footer a:hover { color: #fff; }

.rv-footer__boldLink,
.rv-footer__linkBold {
  color: #fff;
  font-weight: 600;
  font-size: var(--fs-16);
  font-family: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.rv-footer__clinic { margin-bottom: 10px; }

.rv-footer__phone {
  font-size: var(--fs-24);
  font-weight: 700;
  color: #fff !important;
}

.rv-footer__socials { margin: 18px 0 24px; }

.rv-footer__socials-label { display: block; font-size: var(--fs-14); margin-bottom: 10px; color: #fff; }

.rv-footer__socials ul { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }

.rv-footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .4);
  transition: border-color .15s ease;
}

.rv-footer__socials a:hover { border-color: #fff; }

.rv-footer__socials img { width: 20px; height: 20px; }

.rv-footer__cta {
  display: block;
  width: 100%;
  margin: 8px 0 26px;
  padding: 13px 20px;
  border: 0;
  border-radius: var(--radius-2);
  background: #fff;
  color: var(--color-primary-deep);
  font: inherit;
  font-size: var(--fs-15);
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease;
}

.rv-footer__cta:hover { background: var(--color-hover); transform: translateY(-2px); color: var(--color-primary-deep); }

.rv-footer__license {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: var(--fs-13-5);
  line-height: 1.35;
}

.rv-footer__license-label { display: block; margin-bottom: 2px; font-weight: 600; color: #fff; }

.rv-footer__c {
  margin: 36px 0 0;
  max-width: 900px;
  font-size: 12.5;
  line-height: 1.65;
  color: rgba(255, 255, 255, .85);
}

.rv-footer__c a { text-decoration: underline; }

.rv-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 0 0 16px;
}

.rv-footer__legal a {
  font-size: var(--fs-13);
  color: rgba(255, 255, 255, .65);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rv-footer__legal a:hover { color: #fff; }

.rv-footer__copy {
  display: block;
  text-align: center;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: var(--fs-13);
  letter-spacing: .5px;
  color: rgba(255, 255, 255, .55);
}

@media (max-width: 900px) {
  .rv-footer { padding: 40px 0 22px; }
  .rv-footer__col2 { flex: 1 1 100%; }
  .rv-footer__menus { flex-wrap: wrap; }
  .rv-footer__menu { flex: 1 1 200px; }
}
