/* Корпоративные цвета Royal Vet */
:root {
  --rv-primary: #111181;
  --rv-light-bg: #eaf8ff;
}

.uc-menu2 .tmenu-mobile__menucontent_hidden {
  position: static;
}

.uc-menu2 .t228__right_buttons {
  min-width: 200px;
}

.uc-menu2 .t-btnflex_type_button {
  all: unset;
  cursor: pointer;
  position: relative;
  padding-left: 32px;
  background-color: transparent !important;
}

.uc-menu2 .t-btnflex_type_button::before {
  content: "";
  position: absolute;
  top: 40%;
  left: -5px; /* иконка слева от текста */
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: url("https://static.tildacdn.pro/tild3633-6662-4037-b432-656263653031/phone.svg") no-repeat center /
    contain;
}

.uc-menu2 .t-btnflex__text {
  all: unset;
  background-color: #fff;
  color: var(--rv-primary);
  font-size: 22px;
  font-weight: bold;
  text-decoration: underline;
}

.uc-menu2 .t-sociallinks {
  display: none;
}

@media (max-width: 979px) {
  .uc-menu2 .t-sociallinks {
    display: flex;
    justify-content: center;
  }
}

@media (min-width: 980px) {
  .uc-menu2 .t-sociallinks {
    display: none;
  }
}

.uc-top-banner .t-btnflex_type_button2 {
  position: relative;
  padding-right: 32px;
}

.uc-top-banner .t-btnflex_type_button2::before {
  content: "";
  position: absolute;
  top: 48%;
  left: 26px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: url("https://static.tildacdn.pro/tild3738-6165-4530-b164-643939346131/Group_1597883784.svg") no-repeat center /
    contain;
}

@media (max-width: 979px) {
  .uc-top-banner .t-btnflex_type_button {
    width: 100%;
  }
  .uc-top-banner .t-btnflex_type_button2 {
    width: 100%;
    padding-right: 5px;
  }
  .uc-top-banner .t-btnflex_type_button2::before {
    top: 48%;
    left: 20%;
  }
}

.uc-about .t-container {
  display: flex;
}

.uc-about .t-container > div:nth-of-type(1) {
  order: 2;
}

.uc-about .t-container > div:nth-of-type(2) {
  order: 1;
}

@media (max-width: 979px) {
  .uc-about .t-container {
    flex-direction: column;
  }
  .t478__blockimg {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    height: auto !important;
    min-height: 350px; /* подстрой под задачу, чтобы блок не схлопнулся */
    margin-bottom: 30px;
  }
}

.uc-contacts .t433__mainblock {
  display: flex;
}

.uc-contacts .t433__map {
  flex-basis: 80%;
}

/* Телефон */
.uc-contacts .t433__descr strong:nth-of-type(1) a::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  background: url("https://static.tildacdn.pro/tild3665-3630-4164-b338-356234623434/tel3.svg") no-repeat center/contain;
  vertical-align: middle;
}

/* Круглосуточно */
.uc-contacts .t433__descr strong:nth-of-type(4)::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  background: url("https://static.tildacdn.pro/tild3661-3761-4063-a136-383333633630/clock2.svg") no-repeat
    center/contain;
  vertical-align: middle;
}

/* Адрес */
.uc-contacts .t433__descr strong:nth-of-type(5)::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  background: url("https://static.tildacdn.pro/tild3062-3236-4366-b839-396638386364/pin2.svg") no-repeat center/contain;
  vertical-align: middle;
}

@media (max-width: 979px) {
  .uc-contacts .t433__mainblock {
    flex-direction: column;
  }
}

.uc-footer .t977__wrapper {
  display: flex;
}

.uc-footer .t977__menu {
  display: flex;
  justify-content: flex-start;
}

.uc-footer .t977__menu .t977__col-inner_small:nth-child(1) {
  width: 120px;
}

.uc-footer .t977__menu .t977__col-inner_small:nth-child(3) {
  max-width: 250px;
}

.uc-footer .t977__menu .t977__col-inner_small:nth-child(4) {
  margin-left: auto;
  max-width: 300px;
  width: 260px;
}

/* ——— Иконки в блоке descr3 (телефон, адрес, круглосуточно) ——— */
.uc-footer [field="descr3"] ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.uc-footer [field="descr3"] li {
  display: flex; /* чтобы ::before был отдельным "элементом" слева */
  align-items: center;
  gap: 8px; /* отступ между иконкой и текстом */
}

/* Базовые параметры псевдоэлемента */
.uc-footer [field="descr3"] li::before {
  content: "";
  display: inline-block;
  width: 20px; /* дефолт 20px, переопределим для телефона */
  height: 20px;
  background: no-repeat center/contain;
  flex: 0 0 20px; /* фиксированная ширина под иконку */
}

/* Телефон — 1-й пункт (23px) */
.uc-footer [field="descr3"] li:nth-child(1)::before {
  width: 23px;
  height: 23px;
  flex-basis: 23px;
  background-image: url("https://static.tildacdn.pro/tild3837-3234-4864-a634-356533626139/tel4.svg");
}

/* Адрес — 2-й пункт (20px) */
.uc-footer [field="descr3"] li:nth-child(2)::before {
  background-image: url("https://static.tildacdn.pro/tild3039-3735-4764-b539-643832623035/pin3.svg");
}

/* Круглосуточно — 3-й пункт (20px) */
.uc-footer [field="descr3"] li:nth-child(3)::before {
  background-image: url("https://static.tildacdn.pro/tild3635-6639-4762-b030-666636346465/clock3.svg");
}

/* (Необязательно, но устойчивее) Если порядок пунктов поменяют —
   используем :has для телефона с якорем tel: */
@supports (selector(:has(*))) {
  .uc-footer [field="descr3"] li:has(> a[href^="tel"])::before {
    width: 23px;
    height: 23px;
    flex-basis: 23px;
    background-image: url("https://static.tildacdn.pro/tild3837-3234-4864-a634-356533626139/tel4.svg");
  }
}

@media (max-width: 979px) {
  .uc-footer .t977__wrapper {
    flex-direction: column;
  }

  .uc-footer .t977__menu {
    flex-direction: column;
  }

  .uc-footer .t977__menu .t977__col-inner_small:nth-child(3) {
    max-width: 100%;
  }

  .uc-footer .t977__menu .t977__col-inner_small:nth-child(4) {
    margin-left: 0;
    max-width: 100%;
    width: 100%;
  }
}

.uc-feedback {
  background-image: url(https://optim.tildacdn.pro/tild6630-3861-4735-a235-393838303665/-/format/webp/feedback_backWBp.webp);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Аккордеоны Tilda T1118 */
.t-rec .t1118 {
  --rv-text: #414b59;
  --rv-green: #1cbd36;
  --rv-icon-size: 25px;
  --rv-card-radius: 21px;
  --rv-card-padding: 26px;

  box-sizing: border-box;
  width: calc(100% - 40px);
  max-width: 1200px;
  margin: 0 auto !important;
  padding: 56px 20px 60px;
  border-radius: 38px;
}

.t-rec .t1118 *,
.t-rec .t1118 *::before,
.t-rec .t1118 *::after {
  box-sizing: border-box;
}

/* Внутренние контейнеры */
.t-rec .t1118 > .t-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.t-rec .t1118 > .t-container > .t-col {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

/* Две независимые колонки */
.t-rec .t1118 > .t-container:not(.t-section__container) {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.t-rec .t1118 > .t-container:not(.t-section__container)::before,
.t-rec .t1118 > .t-container:not(.t-section__container)::after {
  display: none !important;
}

/* Заголовок секции */
.t-rec .t1118 .t-section__title {
  margin-bottom: 38px !important;
  color: var(--rv-primary) !important;
  font-size: 44px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  text-align: center;
}

/* Карточки */
.t-rec .t1118 .t1118__accordion {
  margin: 0 0 14px !important;
  border: 0 !important;
  border-radius: var(--rv-card-radius);
  background: #fff;
  box-shadow: 0 14px 32px rgba(30, 76, 121, 0.08);
}

.t-rec .t1118 .t1118__wrapper {
  border: 0 !important;
  border-radius: inherit;
  background: transparent !important;
}

/* Шапка карточки */
.t-rec .t1118 .t1118__header {
  position: relative;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.t-rec .t1118 .t1118__trigger-button {
  position: relative;
  display: flex !important;
  align-items: center;
  width: 100%;
  min-height: 83px;
  margin: 0 !important;
  padding: 20px 64px 20px var(--rv-card-padding) !important;
  border: 0 !important;
  border-radius: var(--rv-card-radius);
  background: transparent !important;
  color: var(--rv-primary) !important;
  text-align: left;
  cursor: pointer;
}

/* Название услуги */
.t-rec .t1118 .t1118__title {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--rv-primary) !important;
  font-size: 25px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  overflow-wrap: anywhere;
}

/* Левые и штатные SVG-иконки отключены */
.t-rec .t1118 .t1118__trigger-button::before {
  content: none !important;
  display: none !important;
}

.t-rec .t1118 .t1118__icon {
  display: none !important;
}

/* Правый плюс */
.t-rec .t1118 .t1118__trigger-button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: var(--rv-card-padding);
  width: var(--rv-icon-size);
  height: var(--rv-icon-size);
  background-image:
    linear-gradient(var(--rv-primary), var(--rv-primary)),
    linear-gradient(var(--rv-primary), var(--rv-primary));
  background-position: center;
  background-size:
    var(--rv-icon-size) 2px,
    2px var(--rv-icon-size);
  background-repeat: no-repeat;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Открытый пункт: правый минус.
   Состояние определяется по раскрываемому содержимому. */
.t-rec .t1118
.t1118__accordion:has(
  .t1118__content:not([hidden]):not([style*="display: none"]):not([style*="display:none"])
)
.t1118__trigger-button::after {
  background-size: var(--rv-icon-size) 2px, 2px 0;
}

/* Раскрываемое содержимое:
   видимостью и анимацией управляет Tilda */
.t-rec .t1118 .t1118__content {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.t-rec .t1118 .t1118__textwrapper {
  margin: 0 !important;
  padding: 0 var(--rv-card-padding) 30px !important;
}

.t-rec .t1118 .t1118__descr {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--rv-text) !important;
  font-size: 21px !important;
  font-weight: 400 !important;
  line-height: 1.52 !important;
  overflow-wrap: anywhere;
}

/* Списки */
.t-rec .t1118 .t1118__descr ul,
.t-rec .t1118 .t1118__descr ol {
  margin: 14px 0;
  padding-left: 23px;
}

.t-rec .t1118 .t1118__descr li + li {
  margin-top: 6px;
}

/* Кнопка WhatsApp */
.t-rec .t1118 a.accordion-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  max-width: 100%;
  min-height: 47px;
  margin: 24px 0 0 !important;
  padding: 12px 18px !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: var(--rv-green) !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  text-align: center;
  text-decoration: none !important;
  white-space: normal;
  box-shadow: 0 10px 22px rgba(28, 189, 54, 0.16);
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.t-rec .t1118 .accordion-btn span {
  min-width: 0;
  color: inherit !important;
  font-family: inherit !important;
  font-size: 18px !important;
  font-weight: 500;
}

.t-rec .t1118 .accordion-btn__icon {
  display: block;
  flex: 0 0 16px;
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Наведение */
@media (hover: hover) {
  .t-rec .t1118 a.accordion-btn:hover {
    background: #16a92e !important;
    box-shadow: 0 12px 24px rgba(28, 189, 54, 0.23);
  }
}

/* Навигация с клавиатуры */
.t-rec .t1118 .t1118__trigger-button:focus-visible,
.t-rec .t1118 a.accordion-btn:focus-visible {
  outline: 3px solid #555be0;
  outline-offset: 3px;
}

/* Небольшие экраны */
@media screen and (max-width: 1199px) {
  .t-rec .t1118 {
    max-width: 960px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .t-rec .t1118 .t1118__title {
    font-size: 22px !important;
  }

  .t-rec .t1118 .t1118__descr {
    font-size: 18px !important;
  }
}

/* Планшеты: одна колонка */
@media screen and (max-width: 959px) {
  .t-rec .t1118 {
    max-width: 640px;
  }

  .t-rec .t1118 > .t-container:not(.t-section__container) {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}

/* Телефоны */
@media screen and (max-width: 640px) {
  .t-rec .t1118 {
    --rv-icon-size: 19px;
    --rv-card-radius: 17px;
    --rv-card-padding: 18px;

    width: calc(100% - 20px);
    padding: 34px 16px 26px;
    border-radius: 26px;
  }

  .t-rec .t1118 .t-section__title {
    margin-bottom: 26px !important;
    font-size: 30px !important;
  }

  .t-rec .t1118 .t1118__accordion {
    margin-bottom: 12px !important;
  }

  .t-rec .t1118 .t1118__trigger-button {
    min-height: 76px;
    padding: 18px 50px 18px var(--rv-card-padding) !important;
  }

  .t-rec .t1118 .t1118__title {
    font-size: 19px !important;
  }

  .t-rec .t1118 .t1118__textwrapper {
    padding-bottom: 24px !important;
  }

  .t-rec .t1118 .t1118__descr {
    font-size: 16px !important;
    line-height: 1.55 !important;
  }

  .t-rec .t1118 a.accordion-btn {
    gap: 6px;
    margin-top: 19px !important;
    padding: 12px !important;
    font-size: 14px !important;
  }
}

/* Уменьшение анимации по настройкам устройства */
@media (prefers-reduced-motion: reduce) {
  .t-rec .t1118 a.accordion-btn {
    transition: none !important;
  }
}

/* Аккордеоны Tilda T849 */
.t-rec .t849 {
  --rv-text: #414b59;
  --rv-green: #1cbd36;
  --rv-icon-size: 25px;
  --rv-card-radius: 21px;
  --rv-card-padding: 26px;

  box-sizing: border-box;
  width: calc(100% - 40px);
  max-width: 1200px;
  margin: 0 auto !important;
  padding: 56px 50px 60px;
  border-radius: 38px;
  background: var(--rv-light-bg);
}

.t-rec .t849 *,
.t-rec .t849 *::before,
.t-rec .t849 *::after {
  box-sizing: border-box;
}

/* Контейнеры */
.t-rec .t849 > .t-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* Одна колонка без штатного смещения Tilda */
.t-rec .t849 > .t-container > .t-col {
  float: none !important;
  display: block;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

/* Заголовок секции */
.t-rec .t849 .t-section__title {
  margin-bottom: 38px !important;
  color: var(--rv-primary) !important;
  font-size: 44px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  text-align: center;
}

/* Карточки */
.t-rec .t849 .t849__accordion {
  margin: 0 0 14px !important;
  border: 0 !important;
  border-radius: var(--rv-card-radius);
  background: #fff;
  box-shadow: 0 14px 32px rgba(30, 76, 121, 0.08);
}

.t-rec .t849 .t849__wrapper {
  border: 0 !important;
  border-radius: inherit;
  background: transparent !important;
}

/* Убираем штатный нижний разделитель */
.t-rec .t849 .t849__border {
  display: none !important;
}

/* Шапка карточки */
.t-rec .t849 .t849__header {
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.t-rec .t849 .t849__trigger-button {
  position: relative;
  display: flex !important;
  align-items: center;
  width: 100%;
  min-height: 83px;
  margin: 0 !important;
  padding: 20px 64px 20px var(--rv-card-padding) !important;
  border: 0 !important;
  border-radius: var(--rv-card-radius);
  background: transparent !important;
  color: var(--rv-primary) !important;
  text-align: left;
  cursor: pointer;
}

/* Текст вопроса */
.t-rec .t849 .t849__title {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--rv-primary) !important;
  font-size: 25px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  overflow-wrap: anywhere;
}

/* Только правые иконки */
.t-rec .t849 .t849__trigger-button::before {
  content: none !important;
  display: none !important;
}

.t-rec .t849 .t849__icon {
  display: none !important;
}

/* Закрытый пункт: плюс */
.t-rec .t849 .t849__trigger-button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: var(--rv-card-padding);
  width: var(--rv-icon-size);
  height: var(--rv-icon-size);
  background-image:
    linear-gradient(var(--rv-primary), var(--rv-primary)),
    linear-gradient(var(--rv-primary), var(--rv-primary));
  background-position: center;
  background-size:
    var(--rv-icon-size) 2px,
    2px var(--rv-icon-size);
  background-repeat: no-repeat;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Открытый пункт: минус */
.t-rec .t849
.t849__accordion:has(
  .t849__content:not([hidden]):not([style*="display: none"]):not([style*="display:none"])
)
.t849__trigger-button::after {
  background-size: var(--rv-icon-size) 2px, 2px 0;
}

/* Видимостью содержимого управляет Tilda */
.t-rec .t849 .t849__content {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.t-rec .t849 .t849__textwrapper {
  margin: 0 !important;
  padding: 0 var(--rv-card-padding) 30px !important;
}

.t-rec .t849 .t849__text {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--rv-text) !important;
  font-size: 21px !important;
  font-weight: 400 !important;
  line-height: 1.52 !important;
  overflow-wrap: anywhere;
}

/* Списки */
.t-rec .t849 .t849__text ul,
.t-rec .t849 .t849__text ol {
  margin: 14px 0;
  padding-left: 23px;
}

.t-rec .t849 .t849__text li + li {
  margin-top: 6px;
}

/* Кнопка скачивания памятки */
.t-rec .t849 a.accordion-btn-849 {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 47px;
  margin: 24px 0 0 !important;
  padding: 12px 18px !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: var(--rv-green) !important;
  color: #fff !important;
  font-size: 18px !important;
  line-height: 1.35 !important;
  text-align: center;
  text-decoration: none !important;
  white-space: normal;
  overflow-wrap: anywhere;
  box-shadow: 0 10px 22px rgba(28, 189, 54, 0.16);
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

@media (hover: hover) {
  .t-rec .t849 a.accordion-btn-849:hover {
    background: #16a92e !important;
    box-shadow: 0 12px 24px rgba(28, 189, 54, 0.23);
  }
}

/* Навигация с клавиатуры */
.t-rec .t849 .t849__trigger-button:focus-visible,
.t-rec .t849 a.accordion-btn-849:focus-visible {
  outline: 3px solid #555be0;
  outline-offset: 3px;
}

/* Небольшие экраны */
@media screen and (max-width: 1199px) {
  .t-rec .t849 {
    max-width: 960px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .t-rec .t849 .t849__title {
    font-size: 22px !important;
  }

  .t-rec .t849 .t849__text {
    font-size: 18px !important;
  }
}

/* Планшеты */
@media screen and (max-width: 959px) {
  .t-rec .t849 {
    max-width: 640px;
  }
}

/* Телефоны */
@media screen and (max-width: 640px) {
  .t-rec .t849 {
    --rv-icon-size: 19px;
    --rv-card-radius: 17px;
    --rv-card-padding: 18px;

    width: calc(100% - 20px);
    padding: 34px 16px 26px;
    border-radius: 26px;
  }

  .t-rec .t849 .t-section__title {
    margin-bottom: 26px !important;
    font-size: 30px !important;
  }

  .t-rec .t849 .t849__accordion {
    margin-bottom: 12px !important;
  }

  .t-rec .t849 .t849__trigger-button {
    min-height: 76px;
    padding: 18px 50px 18px var(--rv-card-padding) !important;
  }

  .t-rec .t849 .t849__title {
    font-size: 19px !important;
  }

  .t-rec .t849 .t849__textwrapper {
    padding-bottom: 24px !important;
  }

  .t-rec .t849 .t849__text {
    font-size: 16px !important;
    line-height: 1.55 !important;
  }

  .t-rec .t849 a.accordion-btn-849 {
    margin-top: 19px !important;
    padding: 12px !important;
    font-size: 14px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .t-rec .t849 a.accordion-btn-849 {
    transition: none !important;
  }
}

/* дизайн - три карточки */
/* Фон по ширине контейнера */
/* Все блоки T772: фон по ширине контейнера */
[data-record-type="772"] .t772 {
  box-sizing: border-box;
  width: calc(100% - 40px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 42px 40px 38px;
  border-radius: 32px;
  background: var(--rv-light-bg);
}

/* Заголовок и описание */
[data-record-type="772"] .t-section__container {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

[data-record-type="772"] .t-section__container > .t-col {
  float: none;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

[data-record-type="772"] .t-section__title {
  max-width: none !important;
  margin: 0 auto 16px !important;
  color: var(--rv-primary);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.18;
  text-align: center;
  overflow-wrap: break-word;
}

/* Отступ, если описание не заполнено */
[data-record-type="772"]
.t-section__container:not(:has(.t-section__descr))
.t-section__title {
  margin-bottom: 30px !important;
}

[data-record-type="772"] .t-section__descr {
  max-width: 1000px !important;
  margin: 0 auto 30px !important;
  color: #25354b;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  overflow-wrap: break-word;
}

/* Убираем пустые строки в конце описания */
[data-record-type="772"] .t-section__descr > br:last-child,
[data-record-type="772"] .t-section__descr > br:has(+ br:last-child) {
  display: none;
}

/* Сетка карточек */
[data-record-type="772"] .t772__wrapper {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
}

[data-record-type="772"] .t772__wrapper::before,
[data-record-type="772"] .t772__wrapper::after {
  display: none !important;
}

[data-record-type="772"] .t772__col {
  float: none !important;
  box-sizing: border-box;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

/* Оформление карточек */
[data-record-type="772"] .t772__content {
  box-sizing: border-box;
  height: 100%;
  padding: 28px;
  overflow: hidden;
  border-top: 2px solid #27b9ee;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(38, 83, 133, 0.10);
}

/* Загружаемая картинка вместо иконки */
[data-record-type="772"] .t772__imgwrapper {
  position: relative;
  box-sizing: border-box;
  width: 64px !important;
  height: 64px !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 50%;
  background: #ddf5ff;
}

[data-record-type="772"] .t772__bgimg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Текст карточек */
[data-record-type="772"] .t772__textwrapper {
  margin: 0 !important;
  padding: 0 !important;
  text-align: left;
}

[data-record-type="772"] .t-card__title {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--rv-primary);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: break-word;
}

[data-record-type="772"] .t-card__descr {
  margin: 16px 0 0 !important;
  padding: 0 !important;
  color: #111;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  overflow-wrap: break-word;
}

/* Планшеты */
@media screen and (max-width: 960px) {
  [data-record-type="772"] .t772 {
    padding: 32px 24px;
    border-radius: 28px;
  }

  [data-record-type="772"] .t-section__title {
    font-size: 30px;
  }

  [data-record-type="772"] .t772__wrapper {
    gap: 16px;
  }

  [data-record-type="772"] .t772__content {
    padding: 22px 18px;
  }

  [data-record-type="772"] .t-card__title {
    font-size: 20px;
  }

  [data-record-type="772"] .t-card__descr {
    font-size: 16px;
  }
}

/* Телефоны */
@media screen and (max-width: 640px) {
  [data-record-type="772"] .t772 {
    width: calc(100% - 24px);
    padding: 28px 16px;
    border-radius: 24px;
  }

  [data-record-type="772"] .t-section__title {
    margin-bottom: 14px !important;
    font-size: 27px;
  }

  [data-record-type="772"]
  .t-section__container:not(:has(.t-section__descr))
  .t-section__title {
    margin-bottom: 24px !important;
  }

  [data-record-type="772"] .t-section__descr {
    margin-bottom: 24px !important;
    font-size: 16px;
  }

  [data-record-type="772"] .t772__wrapper {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  [data-record-type="772"] .t772__content {
    padding: 24px;
    border-radius: 22px;
  }

  [data-record-type="772"] .t-card__title {
    font-size: 22px;
  }

  [data-record-type="772"] .t-card__descr {
    font-size: 17px;
  }
}

/* Шаги — все блоки T548 */

/* Общий фон */
[data-record-type="548"] .t548 {
  box-sizing: border-box;
  width: calc(100% - 40px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 46px 40px 48px;
  border-radius: 32px;
  background: var(--rv-light-bg);
}

/* Сброс стандартной сетки Tilda */
[data-record-type="548"] .t548 > .t-container {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

[data-record-type="548"] .t-section__container {
  display: block;
}

[data-record-type="548"] .t-section__container > .t-col {
  float: none;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* Заголовок */
[data-record-type="548"] .t-section__title {
  max-width: none !important;
  margin: 0 auto 38px !important;
  color: var(--rv-primary);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: break-word;
}

/* Список шагов */
[data-record-type="548"] .t548 > .t-container:not(.t-section__container) {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

[data-record-type="548"] .t548 > .t-container::before,
[data-record-type="548"] .t548 > .t-container::after {
  display: none;
}

/* Карточка */
[data-record-type="548"] .t548__col {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  float: none;
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  padding: 26px 24px !important;
  border: 1px solid #cceafa;
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(38, 83, 133, 0.07);
}

/* Пунктир между карточками */
[data-record-type="548"] .t548__col:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 47px;
  width: 0;
  height: 17px;
  border-left: 3px dotted #32bdf0;
  pointer-events: none;
}

/* Убираем штатную линию */
[data-record-type="548"] .t548__line {
  display: none !important;
}

/* Область загружаемой картинки */
[data-record-type="548"] .t548__imgwrapper {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 56px !important;
  min-width: 0;
  height: 56px;
  margin: 0 !important;
  padding: 0 !important;
}

[data-record-type="548"] .t548__img {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 56px !important;
  height: 56px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 5px solid #fff !important;
  border-radius: 50%;
  background-color: var(--rv-primary);
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--rv-primary) 18%, transparent);
}

/* Текст */
[data-record-type="548"] .t548__textwrapper {
  display: block;
  box-sizing: border-box;
  width: auto;
  min-width: 0;
  margin: 0 !important;
  padding: 1px 0 0 !important;
  text-align: left;
}

[data-record-type="548"] .t548__title {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--rv-primary);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: break-word;
}

[data-record-type="548"] .t548__descr {
  margin: 10px 0 0 !important;
  padding: 0 !important;
  color: #253b58;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: break-word;
}

/* Планшеты */
@media screen and (max-width: 960px) {
  [data-record-type="548"] .t548 {
    padding: 36px 28px;
    border-radius: 28px;
  }

  [data-record-type="548"] .t-section__title {
    margin-bottom: 30px !important;
    font-size: 30px;
  }
}

/* Телефоны */
@media screen and (max-width: 640px) {
  [data-record-type="548"] .t548 {
    width: calc(100% - 24px);
    padding: 28px 14px;
    border-radius: 24px;
  }

  [data-record-type="548"] .t-section__title {
    margin-bottom: 24px !important;
    font-size: 26px;
  }

  [data-record-type="548"] .t548__col {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 20px 16px !important;
    border-radius: 18px;
  }

  [data-record-type="548"] .t548__imgwrapper,
  [data-record-type="548"] .t548__img {
    width: 48px !important;
    height: 48px !important;
  }

  [data-record-type="548"] .t548__img {
    border-width: 4px !important;
  }

  [data-record-type="548"] .t548__col:not(:last-child)::after {
    left: 39px;
  }

  [data-record-type="548"] .t548__title {
    font-size: 18px;
  }

  [data-record-type="548"] .t548__descr {
    margin-top: 8px !important;
    font-size: 15px;
  }
}

/* Стоимость услуг */

/* Стоимость — все блоки T492 */
[data-record-type="492"] .t492 {
  position: relative;
  box-sizing: border-box;
  width: calc(100% - 40px);
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 32px;
  background: var(--rv-primary);
}

/* Используем основное фото на всех экранах */
[data-record-type="492"] .t492__blockimgmobile {
  display: none !important;
}

/* Сброс внешней таблицы */
[data-record-type="492"] .t492__blocktable {
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0;
  padding: 0;
  border: 0;
  border-spacing: 0;
  background: transparent;
}

[data-record-type="492"] .t492__blocktable > tbody {
  display: block;
}

[data-record-type="492"] .t492__blocktable > tbody > tr {
  position: relative;
  display: flex;
  align-items: stretch;
}

/* Левая часть */
[data-record-type="492"] .t492__blocktext {
  position: relative;
  z-index: 1;
  display: block;
  box-sizing: border-box;
  width: 64% !important;
  height: auto !important;
  min-width: 0;
  margin: 0;
  padding: 46px 60px 46px 48px !important;
  border: 0;
  background: transparent !important;
  vertical-align: top;
}

[data-record-type="492"] .t492__textwrapper {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left;
}

/* Заголовок */
[data-record-type="492"] .t492__textwrapper > .t-title {
  max-width: none;
  margin: 0 0 30px !important;
  padding: 0;
  color: #fff !important;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: break-word;
}

/* Описание */
[data-record-type="492"] .t492__textwrapper > .t-descr {
  margin: 0 !important;
  padding: 0;
  color: #fff !important;
  font-size: 16px;
  line-height: 1.5;
}

[data-record-type="492"] .t492__textwrapper > .t-descr > br {
  display: none;
}

/* Сброс таблицы внутри описания */
[data-record-type="492"] .quill-table__wrapper {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: visible;
}

[data-record-type="492"] .quill-table__table {
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
}

[data-record-type="492"] .quill-table__table colgroup {
  display: none;
}

[data-record-type="492"] .quill-table__table tbody {
  display: block;
  width: 100%;
}

[data-record-type="492"] .quill-table__table tr {
  display: block;
  border: 0 !important;
  background: transparent !important;
}

[data-record-type="492"] .quill-table__table td {
  display: block;
  box-sizing: border-box;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  vertical-align: top;
}

[data-record-type="492"] .quill-table__cell-line {
  margin: 0 !important;
  padding: 0 !important;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  overflow-wrap: break-word;
}

/* Подпись перед ценой */
[data-record-type="492"] .quill-table__table tr:first-child {
  color: #e5eaff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
}

/* Цена */
[data-record-type="492"] .quill-table__table tr:nth-child(2) {
  margin-top: 8px;
  color: #48d4fa;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.15;
}

/* Пояснения в две колонки */
[data-record-type="492"] .quill-table__table tr:nth-child(3) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 38px;
}

[data-record-type="492"] .quill-table__table tr:nth-child(3) > td {
  position: relative;
  min-width: 0;
  padding-left: 40px !important;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

/* Галочки */
[data-record-type="492"] .quill-table__table tr:nth-child(3) > td::before {
  content: "✓";
  position: absolute;
  top: 2px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: var(--rv-primary);
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

/* Кнопка WhatsApp */
[data-record-type="492"] .t492 .t-btnflex.t-btnflex_type_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  width: auto;
  max-width: 100%;
  min-height: 56px;
  height: auto;
  margin: 36px 0 0 !important;
  padding: 16px 22px;
  border: 0 !important;
  border-radius: 13px;
  background: #18bb32 !important;
  color: #fff !important;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  white-space: normal;
  transition: background-color 0.2s ease;
}

[data-record-type="492"] .t492 .t-btnflex__text {
  min-width: 0;
  white-space: normal;
}

/* Иконка WhatsApp */
[data-record-type="492"] .t492 .t-btnflex.t-btnflex_type_button::before {
  content: "";
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M20.52 3.48A11.9 11.9 0 0 0 12.05 0C5.48 0 .13 5.35.13 11.92c0 2.1.55 4.15 1.59 5.96L.03 24l6.26-1.64a11.9 11.9 0 0 0 5.76 1.47h.01c6.57 0 11.92-5.35 11.92-11.92 0-3.18-1.24-6.17-3.46-8.43zM12.06 21.8a9.9 9.9 0 0 1-5.04-1.38l-.36-.21-3.72.98.99-3.63-.24-.38a9.9 9.9 0 0 1-1.52-5.26c0-5.46 4.44-9.9 9.9-9.9a9.83 9.83 0 0 1 7 2.9 9.83 9.83 0 0 1 2.9 7c0 5.46-4.44 9.9-9.91 9.9zm5.43-7.41c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15s-.77.97-.94 1.17c-.17.2-.35.22-.64.07-.3-.15-1.26-.46-2.4-1.48-.89-.79-1.49-1.77-1.66-2.07-.17-.3-.02-.46.13-.61.13-.13.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.03-.52-.07-.15-.67-1.61-.92-2.2-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.79.37-.27.3-1.04 1.02-1.04 2.48s1.07 2.88 1.22 3.08c.15.2 2.1 3.2 5.09 4.49.71.31 1.26.49 1.69.63.71.22 1.36.19 1.87.12.57-.08 1.76-.72 2.01-1.42.25-.7.25-1.29.17-1.42-.07-.12-.27-.2-.57-.35z'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (hover: hover) {
  [data-record-type="492"] .t492 .t-btnflex.t-btnflex_type_button:hover {
    background: #11a529 !important;
  }
}

/* Загружаемое фото справа с диагональным краем */
[data-record-type="492"] .t492__blockimg {
  position: absolute;
  inset: 0 0 0 auto;
  display: block !important;
  box-sizing: border-box;
  width: 40% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0;
  padding: 0;
  border: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}

/* Планшеты */
@media screen and (max-width: 960px) {
  [data-record-type="492"] .t492__blocktext {
    padding: 36px 44px 36px 28px !important;
  }

  [data-record-type="492"] .t492__textwrapper > .t-title {
    font-size: 28px;
  }

  [data-record-type="492"] .quill-table__table tr:first-child {
    font-size: 19px;
  }

  [data-record-type="492"] .quill-table__table tr:nth-child(2) {
    font-size: 46px;
  }

  [data-record-type="492"] .quill-table__table tr:nth-child(3) {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-top: 28px;
  }
}

/* Телефоны */
@media screen and (max-width: 640px) {
  [data-record-type="492"] .t492 {
    width: calc(100% - 24px);
    border-radius: 24px;
  }

  [data-record-type="492"] .t492__blocktable > tbody > tr {
    flex-direction: column;
  }

  [data-record-type="492"] .t492__blocktext {
    width: 100% !important;
    padding: 28px 24px !important;
  }

  [data-record-type="492"] .t492__textwrapper > .t-title {
    margin-bottom: 24px !important;
    font-size: 27px;
  }

  [data-record-type="492"] .quill-table__table tr:nth-child(2) {
    font-size: 48px;
  }

  [data-record-type="492"] .quill-table__table tr:nth-child(3) > td {
    font-size: 15px;
  }

  [data-record-type="492"] .t492 .t-btnflex.t-btnflex_type_button {
    width: 100%;
    margin-top: 28px !important;
    padding: 16px;
    font-size: 16px;
  }

  [data-record-type="492"] .t492__blockimg {
    position: relative;
    inset: auto;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
    clip-path: none;
  }
}