:root {
  --accent: #f5793a;
  --accent-deep: #dc6733;
  --accent-soft: #fff2e9;
  --teal: #1f8ea9;
  --lime: #7dc04b;
  --ink: #1a232b;
  --muted: #60707f;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #fffaf5;
  --line: rgba(31, 142, 169, 0.14);
  --shadow-soft: 0 18px 50px rgba(17, 47, 63, 0.08);
  --shadow-lg: 0 28px 80px rgba(17, 47, 63, 0.16);
  --radius-sm: 18px;
  --radius-md: 26px;
  --radius-lg: 34px;
}

html {
  scroll-behavior: smooth;
}

body.legacy-refresh,
body.legacy-refresh *,
body.legacy-refresh *::before,
body.legacy-refresh *::after {
  box-sizing: border-box;
}

body.legacy-refresh {
  background:
    radial-gradient(circle at top left, rgba(245, 121, 58, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(31, 142, 169, 0.12), transparent 24%),
    linear-gradient(180deg, #fff7f1 0%, #fffdfb 100%);
  color: var(--ink);
}

body.legacy-refresh a {
  color: var(--teal);
}

body.legacy-refresh img {
  display: block;
}

body.legacy-refresh p.town--link {
  color: var(--teal) !important;
  font-weight: 700 !important;
}

body.legacy-refresh .wrap {
  width: min(1180px, calc(100% - 48px));
}

body.legacy-refresh .site {
  max-width: 1460px;
  margin: 0 auto;
  border: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 250, 244, 0.94));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

body.legacy-refresh .site::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--lime) 55%, var(--teal) 100%);
  z-index: 30;
}

body.legacy-refresh .cookie-consent {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 140;
  width: min(430px, calc(100vw - 32px));
  padding: 20px;
  border-radius: 24px;
  background: rgba(18, 29, 36, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 60px rgba(17, 47, 63, 0.32);
  color: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

body.legacy-refresh .cookie-consent.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

body.legacy-refresh.lead-popup-open .cookie-consent,
body.legacy-refresh.lead-popup-open .mobile-callbar {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(18px) !important;
}

body.legacy-refresh .cookie-consent__content {
  display: grid;
  gap: 18px;
}

body.legacy-refresh .cookie-consent__copy {
  display: grid;
  gap: 10px;
}

body.legacy-refresh .cookie-consent__title {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
}

body.legacy-refresh .cookie-consent__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.55;
}

body.legacy-refresh .cookie-consent__link {
  color: #9ce8f5;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

body.legacy-refresh .cookie-consent__link:hover {
  color: #fff;
}

body.legacy-refresh .cookie-consent__actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

body.legacy-refresh .cookie-consent__button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 18px 34px rgba(220, 103, 51, 0.24);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.legacy-refresh .cookie-consent__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 42px rgba(220, 103, 51, 0.3);
}

body.legacy-refresh .cookie-consent__button:focus-visible {
  outline: 2px solid rgba(156, 232, 245, 0.9);
  outline-offset: 2px;
}

body.legacy-refresh .top-line {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(18, 29, 36, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(18, 29, 36, 0.16);
}

body.legacy-refresh .top-line .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
}

body.legacy-refresh .top-line__meta,
body.legacy-refresh .top-line__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

body.legacy-refresh .top-line__meta {
  align-items: center;
}

body.legacy-refresh .top-line__toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

body.legacy-refresh .top-line__toggle {
  display: none;
}

body.legacy-refresh .mobile-nav-backdrop,
body.legacy-refresh .mobile-nav__footer,
body.legacy-refresh .mobile-callbar {
  display: none;
}

body.legacy-refresh .top-line__tag,
body.legacy-refresh .top-line__link,
body.legacy-refresh .services-menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

body.legacy-refresh .top-line__tag {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
}

body.legacy-refresh .top-line__nav {
  align-items: center;
  position: relative;
}

body.legacy-refresh .header .top-line__link,
body.legacy-refresh .header .services-menu summary {
  color: var(--ink);
  background: rgba(244, 247, 249, 0.9);
  border: 1px solid rgba(31, 142, 169, 0.08);
}

body.legacy-refresh .header .top-line__link:hover,
body.legacy-refresh .header .top-line__link.is-active,
body.legacy-refresh .header .services-menu:hover summary,
body.legacy-refresh .header .services-menu[open] summary,
body.legacy-refresh .header .services-menu.is-active summary {
  background: rgba(245, 121, 58, 0.18);
  color: var(--ink);
  transform: translateY(-1px);
}

body.legacy-refresh .services-menu {
  position: static;
}

body.legacy-refresh .services-menu summary {
  list-style: none;
}

body.legacy-refresh .services-menu summary::-webkit-details-marker {
  display: none;
}

body.legacy-refresh .services-menu summary::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}

body.legacy-refresh .services-menu[open] summary::after {
  transform: rotate(-135deg) translateY(-1px);
}

body.legacy-refresh .services-menu__panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: min(980px, 100%);
  max-width: calc(100vw - 48px);
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border-radius: 28px;
  background: rgba(255, 250, 245, 0.98);
  border: 1px solid rgba(31, 142, 169, 0.12);
  box-shadow: var(--shadow-lg);
}

body.legacy-refresh .services-menu__group {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(31, 142, 169, 0.08);
}

body.legacy-refresh .services-menu__group p {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

body.legacy-refresh .services-menu__group a {
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
}

body.legacy-refresh .services-menu__group a:hover {
  background: rgba(31, 142, 169, 0.08);
  color: var(--teal);
}

body.legacy-refresh .header {
  padding: 18px 0 0;
  position: relative;
  z-index: 30;
}

body.legacy-refresh .header .wrap {
  position: relative;
  display: block;
  padding: 24px 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

body.legacy-refresh .header__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 22px 26px;
}

body.legacy-refresh .header .logo {
  float: none;
}

body.legacy-refresh .header .logo a {
  display: flex;
  align-items: center;
  gap: 18px;
}

body.legacy-refresh .header .menu-button {
  display: none;
}

body.legacy-refresh .header .logo div {
  margin: 0;
  padding: 6px 0 6px 18px;
  border-left: 1px solid rgba(31, 142, 169, 0.16);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

body.legacy-refresh .header__aside {
  display: grid;
  gap: 14px;
  align-self: center;
  justify-self: end;
  width: min(100%, 360px);
}

body.legacy-refresh .header .top-line__nav {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(31, 142, 169, 0.12);
  justify-content: flex-start;
  gap: 12px;
}

body.legacy-refresh .header .phone,
body.legacy-refresh .header .adress {
  float: none;
  margin: 0;
  min-height: 0;
  padding-top: 14px;
  padding-bottom: 14px;
  padding-right: 18px;
  border-radius: 22px;
  background-color: rgba(255, 242, 233, 0.75);
  border: 1px solid rgba(245, 121, 58, 0.14);
}

body.legacy-refresh .header .phone {
  padding-left: 76px;
  background-position: 24px 50%;
}

body.legacy-refresh .header .adress {
  padding-left: 76px;
  background-position: 24px 50%;
}

body.legacy-refresh .header .phone .tel {
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

body.legacy-refresh .header .phone a:not(.tel) {
  display: inline-block;
  margin-top: 6px;
  border: 0;
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
}

body.legacy-refresh .header .adress {
  line-height: 1.55;
  color: var(--muted);
}

body.legacy-refresh .header .adress .menu-triger {
  text-decoration: none;
}

body.legacy-refresh .top-image {
  position: relative;
  margin: 24px 24px 0;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-position: center;
}

body.legacy-refresh .top-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 27, 35, 0.82) 0%, rgba(17, 27, 35, 0.54) 42%, rgba(17, 27, 35, 0.18) 100%);
}

body.legacy-refresh .top-image .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: end;
  min-height: 620px;
}

body.legacy-refresh .top-image .content {
  width: auto;
  max-width: 720px;
  padding: 100px 0 82px;
  color: #fff;
}

body.legacy-refresh .top-image .content .top-text {
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
}

body.legacy-refresh .top-image .content .middle-text {
  font-size: 20px;
  line-height: 1.75;
  font-style: normal;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 34px;
}

body.legacy-refresh .top-image .content button,
body.legacy-refresh .doctors .button button,
body.legacy-refresh .blog-list .button button,
body.legacy-refresh .bottom-form .content .wrap input[type='submit'],
body.legacy-refresh .popup input[type='submit'],
body.legacy-refresh .page-price .item .content button,
body.legacy-refresh .inner-form form input[type='submit'] {
  border-radius: 999px;
  padding: 18px 28px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 16px 36px rgba(245, 121, 58, 0.22);
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

body.legacy-refresh .top-image .content button,
body.legacy-refresh .doctors .button button,
body.legacy-refresh .page-price .item .content button {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
}

body.legacy-refresh .top-image .content button:hover,
body.legacy-refresh .doctors .button button:hover,
body.legacy-refresh .blog-list .button button:hover,
body.legacy-refresh .bottom-form .content .wrap input[type='submit']:hover,
body.legacy-refresh .popup input[type='submit']:hover,
body.legacy-refresh .page-price .item .content button:hover,
body.legacy-refresh .inner-form form input[type='submit']:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(31, 142, 169, 0.2);
}

body.legacy-refresh .top-image .numbers {
  position: relative;
  right: auto;
  bottom: auto;
  width: auto;
  margin-bottom: 52px;
}

body.legacy-refresh .top-image .numbers .list {
  padding: 18px 0 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(20px);
  border-radius: 30px 30px 0 0;
}

body.legacy-refresh .top-image .numbers .list .item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

body.legacy-refresh .top-image .numbers .list .item div {
  margin-left: 0;
  line-height: 1.45;
}

body.legacy-refresh .top-image .numbers .list .item div span {
  font-size: 30px;
  font-weight: 800;
}

body.legacy-refresh .top-image .numbers .garantee {
  padding: 24px 20px 28px;
  border-radius: 0 0 30px 30px;
  background-size: cover;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

body.legacy-refresh .top-image .numbers .garantee span {
  font-size: 44px;
  font-weight: 800;
}

body.legacy-refresh .zag {
  padding: 0 0 18px;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

body.legacy-refresh .zag span {
  color: var(--teal);
}

body.legacy-refresh .zag p,
body.legacy-refresh .blog.inner .zag .p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  font-style: normal;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

body.legacy-refresh .advantages,
body.legacy-refresh .gallery,
body.legacy-refresh .doctors,
body.legacy-refresh .reviews.inner,
body.legacy-refresh .steps,
body.legacy-refresh .price,
body.legacy-refresh .serts,
body.legacy-refresh .bottom-info {
  padding: 86px 0;
}

body.legacy-refresh .advantages .list,
body.legacy-refresh .price .list,
body.legacy-refresh .bottom-info .list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

body.legacy-refresh .advantages .list .item,
body.legacy-refresh .bottom-info .list .item {
  float: none;
  width: auto;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 246, 237, 0.94)) !important;
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

body.legacy-refresh .advantages .list .item:hover,
body.legacy-refresh .bottom-info .list .item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

body.legacy-refresh .advantages .list .item.item1:hover,
body.legacy-refresh .advantages .list .item.item2:hover,
body.legacy-refresh .advantages .list .item.item3:hover,
body.legacy-refresh .advantages .list .item.item4:hover,
body.legacy-refresh .advantages .list .item.item5:hover,
body.legacy-refresh .advantages .list .item.item6:hover,
body.legacy-refresh .bottom-info .list .item.item1:hover,
body.legacy-refresh .bottom-info .list .item.item2:hover,
body.legacy-refresh .bottom-info .list .item.item3:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 244, 233, 0.96)) !important;
}

body.legacy-refresh .advantages .list .item:hover .content,
body.legacy-refresh .bottom-info .list .item:hover .content,
body.legacy-refresh .advantages .list .item:hover .content span,
body.legacy-refresh .bottom-info .list .item:hover .content .number {
  color: inherit !important;
  background: none !important;
}

body.legacy-refresh .advantages .list .item .content {
  min-height: 100%;
  padding: 32px 30px 34px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  font-style: normal;
}

body.legacy-refresh .advantages .list .item .content .icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  margin-bottom: 24px;
  background-color: rgba(245, 121, 58, 0.08);
  background-position: center !important;
  background-size: 36px auto !important;
  background-image: none !important;
  position: relative;
}

body.legacy-refresh .advantages .list .item .content .icon::before {
  content: "";
  position: absolute;
  inset: 16px;
  background-color: var(--lime);
  -webkit-mask: var(--adv-icon) center / contain no-repeat;
  mask: var(--adv-icon) center / contain no-repeat;
}

body.legacy-refresh .advantages .list .item.item1 .content .icon {
  --adv-icon: url("/chistaya_jizn/img/adv-shield.svg");
}

body.legacy-refresh .advantages .list .item.item2 .content .icon {
  --adv-icon: url("/chistaya_jizn/img/adv-approve.svg");
}

body.legacy-refresh .advantages .list .item.item3 .content .icon {
  --adv-icon: url("/chistaya_jizn/img/adv-price.svg");
}

body.legacy-refresh .advantages .list .item.item4 .content .icon {
  --adv-icon: url("/chistaya_jizn/img/adv-transport.svg");
}

body.legacy-refresh .advantages .list .item.item5 .content .icon {
  --adv-icon: url("/chistaya_jizn/img/adv-support.svg");
}

body.legacy-refresh .advantages .list .item.item6 .content .icon {
  --adv-icon: url("/chistaya_jizn/img/adv-family.svg");
}

body.legacy-refresh .advantages .list .item:hover .content .icon {
  background-color: rgba(255, 255, 255, 0.14);
}

body.legacy-refresh .advantages .list .item:hover .content .icon::before {
  background-color: #fff;
}

body.legacy-refresh .advantages .list .item .content span {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 12px;
}

body.legacy-refresh .gallery .slider.list,
body.legacy-refresh .serts .list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

body.legacy-refresh .gallery {
  position: relative;
  overflow: hidden;
}

body.legacy-refresh .gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(31, 142, 169, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(247, 252, 255, 0.96), rgba(255, 247, 241, 0.8));
  pointer-events: none;
}

body.legacy-refresh .gallery > .wrap {
  position: relative;
  z-index: 1;
}

body.legacy-refresh .gallery__shell {
  display: grid;
  gap: 26px;
}

body.legacy-refresh .gallery__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

body.legacy-refresh .gallery .zag {
  margin: 0;
  text-align: left;
}

body.legacy-refresh .gallery .zag p {
  margin-left: 0;
  margin-right: 0;
}

body.legacy-refresh .gallery__cta {
  flex: 0 0 auto;
}

body.legacy-refresh .gallery .list .item,
body.legacy-refresh .gallery .list .item:hover,
body.legacy-refresh .serts .list .item {
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

body.legacy-refresh .gallery .list .item a,
body.legacy-refresh .gallery .list .item .zoom {
  display: block;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}

body.legacy-refresh .gallery .list .item img,
body.legacy-refresh .gallery .list .item:hover img,
body.legacy-refresh .serts .list .item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

body.legacy-refresh .doctors .list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  padding: 0;
}

body.legacy-refresh .doctors .list .item {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: rgba(255, 255, 255, 0.88);
}

body.legacy-refresh .doctors .list .item img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

body.legacy-refresh .doctors .list .item .text {
  padding: 22px 20px 26px;
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 100%;
}

body.legacy-refresh .doctors .list .item .text .name {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.15;
  margin-bottom: 0;
}

body.legacy-refresh .doctors .list .item p {
  color: var(--muted);
  margin: 0;
}

body.legacy-refresh .home-doctor-card__media {
  display: block;
}

body.legacy-refresh .home-doctor-card .name a {
  color: inherit;
  text-decoration: none;
}

body.legacy-refresh .home-doctor-card .name a:hover {
  color: var(--teal);
}

body.legacy-refresh .home-doctor-card__cta {
  width: 100%;
  margin-top: auto;
}

body.legacy-refresh .doctors .button {
  padding-top: 30px;
}

body.legacy-refresh .reviews.inner {
  background:
    radial-gradient(circle at top right, rgba(31, 142, 169, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 244, 235, 0.72));
  border-radius: 36px;
  margin: 0 24px;
  padding: 74px 24px;
}

body.legacy-refresh.home-lightbox-open {
  overflow: hidden;
}

body.legacy-refresh .home-lightbox[hidden] {
  display: none;
}

body.legacy-refresh .home-lightbox {
  position: fixed;
  inset: 0;
  z-index: 220;
}

body.legacy-refresh .home-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 33, 0.84);
  backdrop-filter: blur(8px);
}

body.legacy-refresh .home-lightbox__dialog {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(1120px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 18px;
}

body.legacy-refresh .home-lightbox__figure {
  position: relative;
  margin: 0;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.32);
}

body.legacy-refresh .home-lightbox__image {
  display: block;
  width: 100%;
  max-height: calc(100vh - 160px);
  object-fit: contain;
  border-radius: 20px;
  background: #eaf1f4;
}

body.legacy-refresh .home-lightbox__caption,
body.legacy-refresh .home-lightbox__counter {
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

body.legacy-refresh .home-lightbox__caption {
  margin-top: 12px;
  color: var(--ink);
}

body.legacy-refresh .home-lightbox__counter {
  grid-column: 2;
  justify-self: center;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

body.legacy-refresh .home-lightbox__close,
body.legacy-refresh .home-lightbox__nav {
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

body.legacy-refresh .home-lightbox__close:hover,
body.legacy-refresh .home-lightbox__nav:hover {
  transform: translateY(-2px);
}

body.legacy-refresh .home-lightbox__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10, 24, 33, 0.88);
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

body.legacy-refresh .home-lightbox__nav {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 44px;
  line-height: 1;
}

body.legacy-refresh .home-lightbox__nav:disabled {
  opacity: 0.5;
}

body.legacy-refresh .home-packages,
body.legacy-refresh .home-start,
body.legacy-refresh .home-faq {
  padding: 18px 0 0;
}

body.legacy-refresh .home-packages .zag,
body.legacy-refresh .home-start .zag,
body.legacy-refresh .home-faq .zag {
  text-align: left;
}

body.legacy-refresh .home-packages .zag p,
body.legacy-refresh .home-start .zag p,
body.legacy-refresh .home-faq .zag p {
  margin-left: 0;
  margin-right: 0;
}

body.legacy-refresh .home-packages__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

body.legacy-refresh .home-package-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 26px 24px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

body.legacy-refresh .home-package-card--featured {
  background:
    radial-gradient(circle at top right, rgba(125, 192, 75, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(248, 255, 246, 0.98), rgba(255, 255, 255, 0.98));
  border-color: rgba(125, 192, 75, 0.24);
}

body.legacy-refresh .home-package-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(31, 142, 169, 0.08);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.legacy-refresh .home-package-card__label {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
}

body.legacy-refresh .home-package-card__price {
  color: var(--accent);
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
}

body.legacy-refresh .home-package-card p,
body.legacy-refresh .home-start__step p,
body.legacy-refresh .home-start__aside p,
body.legacy-refresh .home-faq__answer p {
  color: var(--muted);
  line-height: 1.75;
}

body.legacy-refresh .home-package-card__points,
body.legacy-refresh .home-start__points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

body.legacy-refresh .home-package-card__points li,
body.legacy-refresh .home-start__points li {
  position: relative;
  list-style: none;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

body.legacy-refresh .home-package-card__points li::before,
body.legacy-refresh .home-start__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}

body.legacy-refresh .home-package-card .service-btn {
  width: 100%;
  margin-top: auto;
}

body.legacy-refresh .home-packages__note {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.75;
}

body.legacy-refresh .reviews.inner .wrap {
  display: grid;
  gap: 26px;
}

body.legacy-refresh .reviews__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

body.legacy-refresh .reviews__top .zag {
  text-align: left;
}

body.legacy-refresh .reviews__top .zag p {
  margin-left: 0;
  margin-right: 0;
}

body.legacy-refresh .reviews__actions {
  display: grid;
  gap: 14px;
  justify-items: end;
}

body.legacy-refresh .reviews__controls {
  display: flex;
  gap: 10px;
}

body.legacy-refresh .reviews__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(31, 142, 169, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

body.legacy-refresh .reviews__nav:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 142, 169, 0.28);
}

body.legacy-refresh .reviews__nav[disabled] {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

body.legacy-refresh .reviews__slider {
  display: grid;
  gap: 18px;
}

body.legacy-refresh .reviews__viewport {
  overflow: hidden;
}

body.legacy-refresh .reviews__track {
  display: flex;
  transition: transform 0.35s ease;
  will-change: transform;
}

body.legacy-refresh .reviews__slide {
  min-width: 100%;
}

body.legacy-refresh .reviews.inner .item {
  height: 100%;
  margin: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
}

body.legacy-refresh .reviews .item img {
  width: 74px;
  height: 74px;
  object-fit: cover;
}

body.legacy-refresh .reviews .item .name {
  margin-left: 94px;
  color: var(--muted);
  padding-top: 8px;
}

body.legacy-refresh .reviews .item .name span {
  color: var(--ink);
  font-size: 22px;
}

body.legacy-refresh .reviews .item p {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(31, 142, 169, 0.12);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

body.legacy-refresh .reviews__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

body.legacy-refresh .reviews__dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: rgba(31, 142, 169, 0.16);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

body.legacy-refresh .reviews__dot.is-active {
  background: var(--accent);
  transform: scale(1.15);
}

body.legacy-refresh .mobile-carousel__controls {
  display: none;
}

body.legacy-refresh .home-start__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.78fr);
  gap: 24px;
}

body.legacy-refresh .home-start__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

body.legacy-refresh .home-start__step,
body.legacy-refresh .home-start__aside {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

body.legacy-refresh .home-start__step {
  padding: 24px;
}

body.legacy-refresh .home-start__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: rgba(31, 142, 169, 0.1);
  color: var(--teal);
  font-weight: 800;
}

body.legacy-refresh .home-start__step h3,
body.legacy-refresh .home-start__aside h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.15;
}

body.legacy-refresh .home-start__aside {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(245, 121, 58, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 247, 241, 0.98), rgba(255, 255, 255, 0.98));
}

body.legacy-refresh .home-start__aside .service-btn {
  width: 100%;
}

body.legacy-refresh .home-faq__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

body.legacy-refresh .home-faq__item {
  border: 1px solid rgba(31, 142, 169, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

body.legacy-refresh .home-faq__item summary {
  position: relative;
  padding: 22px 58px 22px 22px;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
}

body.legacy-refresh .home-faq__item summary::-webkit-details-marker {
  display: none;
}

body.legacy-refresh .home-faq__item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--teal);
  font-size: 28px;
  font-weight: 500;
}

body.legacy-refresh .home-faq__item[open] summary::after {
  content: "–";
}

body.legacy-refresh .home-faq__answer {
  padding: 0 22px 22px;
}

body.legacy-refresh .steps .steps-slider {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
  margin-top: 34px;
}

body.legacy-refresh .steps .steps-slider .item {
  padding-bottom: 0;
}

body.legacy-refresh .steps .steps-slider .item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}

body.legacy-refresh .steps .steps-slider .item .text {
  margin: -52px 24px 0;
  padding: 24px 24px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--muted);
}

body.legacy-refresh .steps .steps-slider .item .text .name {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 22px;
}

body.legacy-refresh .price {
  background: none;
}

body.legacy-refresh .price .list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 14px 0 0;
}

body.legacy-refresh .price .list .item {
  float: none;
  width: auto;
  margin: 0;
  padding: 30px 24px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  color: var(--muted);
  line-height: 1.65;
}

body.legacy-refresh .price .list .item img {
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
}

body.legacy-refresh .price .list .item span {
  color: var(--ink);
  font-size: 22px;
}

body.legacy-refresh .serts {
  background: none;
}

body.legacy-refresh .bottom-info {
  background: none;
  padding-top: 32px;
}

body.legacy-refresh .bottom-info .list .item .content {
  min-height: 230px;
  padding: 34px 28px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
}

body.legacy-refresh .bottom-info .list .item .content .number {
  margin-bottom: 14px;
  font-size: 56px;
  line-height: 1;
  font-weight: 800;
  color: var(--accent);
}

body.legacy-refresh .bottom-form {
  height: auto;
  margin: 32px 24px 48px;
  border-radius: 36px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 35%),
    linear-gradient(135deg, rgba(245, 121, 58, 0.96), rgba(31, 142, 169, 0.86));
  box-shadow: var(--shadow-lg);
}

body.legacy-refresh .bottom-form::before {
  display: none;
}

body.legacy-refresh .bottom-form .content {
  position: relative;
}

body.legacy-refresh .bottom-form .content .wrap {
  padding: 38px 0;
}

body.legacy-refresh .bottom-form__shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 460px);
  gap: 28px;
  align-items: stretch;
}

body.legacy-refresh .bottom-form__copy,
body.legacy-refresh .bottom-form__card {
  min-height: 100%;
  border-radius: 30px;
}

body.legacy-refresh .bottom-form__copy {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 34px 36px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

body.legacy-refresh .bottom-form__copy .zag {
  color: #fff;
  text-align: left;
}

body.legacy-refresh .bottom-form__copy .zag p {
  margin-top: 12px;
  margin-left: 0;
  color: rgba(255, 255, 255, 0.82);
}

body.legacy-refresh .bottom-form__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.legacy-refresh .bottom-form__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

body.legacy-refresh .bottom-form__points {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

body.legacy-refresh .bottom-form__points li {
  position: relative;
  list-style: none;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.68;
}

body.legacy-refresh .bottom-form__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
}

body.legacy-refresh .bottom-form__phone {
  width: fit-content;
  min-width: 220px;
  margin-top: 6px;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

body.legacy-refresh .bottom-form__phone:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.18);
}

body.legacy-refresh .bottom-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

body.legacy-refresh .bottom-form__actions .service-btn,
body.legacy-refresh .bottom-form__actions .popup-inline-form-trigger {
  width: fit-content;
  min-width: 230px;
}

body.legacy-refresh .bottom-form__card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 44px rgba(15, 22, 27, 0.14);
  border: 1px solid rgba(21, 39, 48, 0.08);
  position: relative;
}

body.legacy-refresh .bottom-form__card[data-popup-trigger="true"] {
  cursor: pointer;
}

body.legacy-refresh .bottom-form__card[data-popup-trigger="true"]:focus-visible {
  outline: 2px solid rgba(31, 142, 169, 0.72);
  outline-offset: 4px;
}

body.legacy-refresh .bottom-form__card-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(31, 142, 169, 0.08);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.legacy-refresh .bottom-form__card-title {
  color: var(--ink);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.08;
}

body.legacy-refresh .bottom-form__card-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

body.legacy-refresh .bottom-form__card-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.legacy-refresh .bottom-form__card-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(245, 121, 58, 0.1);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

body.legacy-refresh .bottom-form__card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: 2px;
}

body.legacy-refresh .bottom-form__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  border-radius: 30px 30px 0 0;
  background: linear-gradient(90deg, var(--accent), rgba(31, 142, 169, 0.84));
}

body.legacy-refresh .bottom-form__card-actions .service-btn,
body.legacy-refresh .bottom-form__card-actions .popup-inline-form-trigger--bottom {
  width: 100%;
}

body.legacy-refresh .bottom-form__card-call {
  justify-content: center;
}

body.legacy-refresh .bottom-form .content .wrap form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  width: min(820px, 100%);
  text-align: left;
}

body.legacy-refresh .bottom-form .bottom-form__form {
  width: 100%;
  gap: 14px;
  margin-top: 4px;
}

body.legacy-refresh .bottom-form .content .wrap .zag,
body.legacy-refresh .popup .zag,
body.legacy-refresh .inner-form .zag {
  grid-column: 1 / -1;
  color: #fff;
  text-align: left;
}

body.legacy-refresh .bottom-form .content .wrap .zag p,
body.legacy-refresh .popup .zag p,
body.legacy-refresh .inner-form .zag p {
  color: rgba(255, 255, 255, 0.82);
  margin-left: 0;
}

body.legacy-refresh .bottom-form .content .wrap .clear {
  display: none;
}

body.legacy-refresh .bottom-form .content .wrap input[type='text'],
body.legacy-refresh .bottom-form .content .wrap input[type='tel'],
body.legacy-refresh .popup input[type='text'],
body.legacy-refresh .popup input[type='tel'],
body.legacy-refresh .inner-form form input[type='text'] {
  width: 100%;
  height: 56px;
  margin: 0;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.1);
  font-size: 16px;
  color: #fff;
}

body.legacy-refresh .popup .lead-form-field {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
}

body.legacy-refresh .popup .lead-form-field[hidden] {
  display: none !important;
}

body.legacy-refresh .popup form br {
  display: none;
}

body.legacy-refresh .popup .lead-form-field__label {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

body.legacy-refresh .popup textarea {
  width: 100%;
  min-height: 132px;
  margin: 0;
  padding: 14px 18px;
  resize: vertical;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.1);
  font-size: 16px;
  line-height: 1.55;
  color: #fff;
}

body.legacy-refresh .popup textarea::placeholder {
  color: rgba(255, 255, 255, 0.76);
}

body.legacy-refresh .bottom-form .content .wrap input[type='text']:hover,
body.legacy-refresh .bottom-form .content .wrap input[type='text']:focus,
body.legacy-refresh .bottom-form .content .wrap input[type='tel']:hover,
body.legacy-refresh .bottom-form .content .wrap input[type='tel']:focus,
body.legacy-refresh .popup input[type='text']:hover,
body.legacy-refresh .popup input[type='text']:focus,
body.legacy-refresh .popup input[type='tel']:hover,
body.legacy-refresh .popup input[type='tel']:focus,
body.legacy-refresh .popup textarea:hover,
body.legacy-refresh .popup textarea:focus,
body.legacy-refresh .inner-form form input[type='text']:hover,
body.legacy-refresh .inner-form form input[type='text']:focus,
body.legacy-refresh .inner-form form input[type='tel']:hover,
body.legacy-refresh .inner-form form input[type='tel']:focus {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

body.legacy-refresh .bottom-form .content .wrap input[type='submit'] {
  grid-column: 1 / -1;
  justify-self: stretch;
  width: 100%;
  color: #fff;
  background: linear-gradient(135deg, rgba(245, 121, 58, 1), rgba(239, 151, 70, 1));
  box-shadow: 0 18px 32px rgba(239, 130, 54, 0.22);
}

body.legacy-refresh .bottom-form .content .wrap .bottom-form__form input[type='text'] {
  border-color: rgba(31, 142, 169, 0.14);
  background: rgba(244, 249, 251, 0.98);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body.legacy-refresh .bottom-form .content .wrap .bottom-form__form input[type='tel'] {
  border-color: rgba(31, 142, 169, 0.14);
  background: rgba(244, 249, 251, 0.98);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body.legacy-refresh .bottom-form .content .wrap .bottom-form__form input[type='text']::placeholder {
  color: rgba(92, 111, 124, 0.9);
}

body.legacy-refresh .bottom-form .content .wrap .bottom-form__form input[type='tel']::placeholder {
  color: rgba(92, 111, 124, 0.9);
}

body.legacy-refresh .bottom-form .content .wrap .bottom-form__form input[type='text']:hover,
body.legacy-refresh .bottom-form .content .wrap .bottom-form__form input[type='text']:focus,
body.legacy-refresh .bottom-form .content .wrap .bottom-form__form input[type='tel']:hover,
body.legacy-refresh .bottom-form .content .wrap .bottom-form__form input[type='tel']:focus {
  border-color: rgba(31, 142, 169, 0.22);
  background: rgba(255, 255, 255, 1);
  color: var(--ink);
}

body.legacy-refresh .bottom-form .content .wrap .bottom-form__form input[type='submit'] {
  justify-self: stretch;
  width: 100%;
  color: #fff;
  background: linear-gradient(135deg, rgba(245, 121, 58, 1), rgba(239, 151, 70, 1));
  box-shadow: 0 18px 32px rgba(239, 130, 54, 0.22);
}

body.legacy-refresh .bottom-form__note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

body.legacy-refresh .footer {
  padding: 58px 0 34px;
  background:
    radial-gradient(circle at top right, rgba(31, 142, 169, 0.16), transparent 22%),
    linear-gradient(180deg, #0f161b 0%, #101a20 100%);
}

body.legacy-refresh .footer .wrap:first-child {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px) 320px;
  gap: 36px;
  align-items: start;
}

body.legacy-refresh .footer .copy,
body.legacy-refresh .footer .contacts {
  float: none;
}

body.legacy-refresh .footer .bottom-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

body.legacy-refresh .footer .bottom-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
}

body.legacy-refresh .footer .bottom-menu a:hover {
  background: rgba(31, 142, 169, 0.16);
  color: #fff;
}

body.legacy-refresh .footer .copy p {
  margin-top: 18px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.56);
}

body.legacy-refresh .footer .contacts {
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

body.legacy-refresh .footer .contacts .item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 0;
}

body.legacy-refresh .footer .contacts .item:last-child {
  margin-bottom: 0;
}

body.legacy-refresh .footer .contacts .item img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

body.legacy-refresh .footer .contacts .item div {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: rgba(255, 255, 255, 0.66);
}

body.legacy-refresh .footer .contacts .item div .phone {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.02;
}

body.legacy-refresh .footer .contacts .item div a {
  display: inline-flex;
  width: fit-content;
  color: #9bd3e2;
  border-bottom-color: rgba(155, 211, 226, 0.45);
}

body.legacy-refresh .footer .contacts .item p {
  margin: 0;
}

body.legacy-refresh .legacy-inner .navi {
  background: transparent !important;
  padding: 24px 0 14px;
}

body.legacy-refresh .legacy-inner .navi .wrap {
  background: transparent !important;
  box-shadow: none !important;
}

body.legacy-refresh.legacy-inner .navi .wrap,
body.legacy-refresh.legacy-inner .inner-page .wrap {
  width: calc(100% - 48px);
  max-width: none;
}

body.legacy-refresh .inner-page {
  padding: 18px 0 80px;
  background:
    radial-gradient(circle at top right, rgba(31, 142, 169, 0.08), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 244, 236, 0.72));
}

body.legacy-refresh .inner-page .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: start;
}

body.legacy-refresh .left-side,
body.legacy-refresh .main-content {
  float: none;
  width: auto;
}

body.legacy-refresh .main-content {
  grid-column: 1;
  grid-row: 1;
}

body.legacy-refresh .left-side {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
}

body.legacy-refresh .left-side .content {
  border: 0;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  max-height: calc(100vh - 132px);
  overflow: auto;
  background: rgba(255, 255, 255, 0.94);
}

body.legacy-refresh .left-side .name {
  padding: 22px 18px;
  background: linear-gradient(135deg, rgba(245, 121, 58, 0.96), rgba(31, 142, 169, 0.92));
  color: #fff;
  border-bottom: 0;
}

body.legacy-refresh .left-side ul {
  padding: 16px 0;
  border-bottom: 0;
  background: none;
}

body.legacy-refresh .left-side ul li a {
  display: block;
  margin: 0 10px;
  padding: 10px 14px;
  border-radius: 14px;
  color: var(--muted);
}

body.legacy-refresh .left-side ul li a:hover,
body.legacy-refresh .left-side ul li.active a {
  background: rgba(31, 142, 169, 0.08);
  color: var(--teal);
}

body.legacy-refresh .main-content {
  min-width: 0;
  padding: 32px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

body.legacy-refresh .main-content .bg {
  height: clamp(280px, 38vw, 420px) !important;
  background-position: center !important;
  background-size: cover !important;
}

body.legacy-refresh .main-content .bg .bg-background {
  padding: 24px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.76)) !important;
}

body.legacy-refresh .main-content .bg h1.zag {
  margin: 0 !important;
  font-size: clamp(34px, 4vw, 64px);
  line-height: 0.98;
  text-align: left;
  max-width: 14ch;
}

body.legacy-refresh .main-content h1.zag {
  padding-top: 0;
  text-align: left;
}

body.legacy-refresh .page-content p,
body.legacy-refresh .page-content ul li,
body.legacy-refresh .page-content ol {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

body.legacy-refresh .page-content h2,
body.legacy-refresh .page-content h3 {
  padding: 18px 0 12px;
  text-align: left;
  color: var(--ink);
}

body.legacy-refresh .page-content h2 {
  font-size: 36px;
}

body.legacy-refresh .page-content h3 {
  font-size: 26px;
}

body.legacy-refresh .page-content ul li {
  position: relative;
  min-height: 0;
  padding-left: 22px;
  background: none;
}

body.legacy-refresh .page-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}

body.legacy-refresh .page-content ol li {
  padding-left: 8px;
}

body.legacy-refresh .page-content blockquote {
  margin-bottom: 28px;
  padding: 24px 28px;
  border: 0;
  border-radius: 24px;
  background: rgba(31, 142, 169, 0.06);
}

body.legacy-refresh .page-price {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

body.legacy-refresh .page-price .item {
  float: none;
  width: auto;
  margin: 24px 0 0 !important;
}

body.legacy-refresh .page-price .item .content {
  padding-top: 72px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

body.legacy-refresh .inner-form {
  padding: 54px 24px;
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
}

body.legacy-refresh .popupbg[hidden],
body.legacy-refresh .popup[hidden],
body.legacy-refresh form.is-popup-form-hidden {
  display: none !important;
}

body.legacy-refresh.lead-popup-open {
  overflow: hidden;
}

body.legacy-refresh .popupbg {
  position: fixed;
  inset: 0;
  z-index: 320;
  background: rgba(14, 24, 31, 0.56);
  backdrop-filter: blur(12px);
}

body.legacy-refresh .popup {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 321;
  width: min(92vw, 520px);
  max-height: min(86vh, 760px);
  padding: 16px 0;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(245, 121, 58, 0.98), rgba(31, 142, 169, 0.88));
  box-shadow: var(--shadow-lg);
}

body.legacy-refresh .popup__title,
body.legacy-refresh .popup__subtitle {
  display: block;
}

body.legacy-refresh .popup-inline-form-trigger {
  width: 100%;
  min-height: 56px;
  padding: 0 24px;
  border: 0;
  cursor: pointer;
}

body.legacy-refresh .service-hero-panel__form-card.is-popup-form-converted,
body.legacy-refresh .bottom-form.is-popup-form-converted .bottom-form__card,
body.legacy-refresh .inner-form.is-popup-form-converted .wrap {
  align-content: start;
}

body.legacy-refresh .service-hero-panel__form-card.is-popup-form-converted .popup-inline-form-trigger--hero {
  margin-top: 6px;
}

body.legacy-refresh .inner-form.is-popup-form-converted .wrap {
  grid-template-columns: 1fr !important;
}

body.legacy-refresh .inner-form.is-popup-form-converted .popup-inline-form-trigger--section {
  width: fit-content;
  min-width: 260px;
  margin-top: 10px;
}

body.legacy-refresh .bottom-form.is-popup-form-converted .popup-inline-form-trigger--bottom {
  margin-top: 6px;
}

body.legacy-refresh form input::-webkit-input-placeholder,
body.legacy-refresh form textarea::-webkit-input-placeholder,
body.legacy-refresh form select::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.82);
}

body.legacy-refresh form input::-moz-placeholder,
body.legacy-refresh form textarea::-moz-placeholder,
body.legacy-refresh form select::-moz-placeholder {
  color: rgba(255, 255, 255, 0.82);
}

body.legacy-refresh form input:-ms-input-placeholder,
body.legacy-refresh form textarea:-ms-input-placeholder,
body.legacy-refresh form select:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 1180px) {
  body.legacy-refresh .top-image .wrap,
  body.legacy-refresh .header .wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  body.legacy-refresh .top-image .numbers {
    max-width: 320px;
    margin-top: -12px;
  }

  body.legacy-refresh .price .list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.legacy-refresh .inner-page .wrap {
    grid-template-columns: minmax(0, 1fr) 290px;
  }
}

@media (max-width: 980px) {
  body.legacy-refresh .cookie-consent {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
  }

  body.legacy-refresh .home-packages__grid,
  body.legacy-refresh .home-faq__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.legacy-refresh .home-start__grid,
  body.legacy-refresh .home-start__steps {
    grid-template-columns: 1fr;
  }

  body.legacy-refresh .reviews__top {
    align-items: stretch;
    flex-direction: column;
  }

  body.legacy-refresh .reviews__actions {
    justify-items: stretch;
  }

  body.legacy-refresh .reviews__actions .service-btn {
    width: 100%;
  }

  body.legacy-refresh .advantages .list,
  body.legacy-refresh .bottom-info .list,
  body.legacy-refresh .steps .steps-slider,
  body.legacy-refresh .footer .wrap:first-child,
  body.legacy-refresh .inner-page .wrap {
    grid-template-columns: 1fr;
  }

  body.legacy-refresh .main-content,
  body.legacy-refresh .left-side {
    grid-column: auto;
    grid-row: auto;
  }

  body.legacy-refresh .left-side .content {
    max-height: none;
    overflow: visible;
  }

  body.legacy-refresh .gallery .slider.list,
  body.legacy-refresh .serts .list,
  body.legacy-refresh .doctors .list,
  body.legacy-refresh .price .list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.legacy-refresh .gallery__head {
    align-items: stretch;
    flex-direction: column;
  }

  body.legacy-refresh .gallery__cta {
    width: 100%;
  }

  body.legacy-refresh .bottom-form .content .wrap form {
    width: 100%;
  }

  body.legacy-refresh .bottom-form__shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body.legacy-refresh .wrap {
    width: calc(100% - 20px);
  }

  body.legacy-refresh .service-btn {
    min-height: 48px;
    padding: 0 18px;
    font-size: 14px;
  }

  body.legacy-refresh.legacy-inner .navi .wrap,
  body.legacy-refresh.legacy-inner .inner-page .wrap {
    width: calc(100% - 20px);
  }

  body.legacy-refresh .cookie-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    padding: 18px;
    border-radius: 20px;
  }

  body.legacy-refresh .cookie-consent__content {
    gap: 14px;
  }

  body.legacy-refresh .cookie-consent__title {
    font-size: 17px;
  }

  body.legacy-refresh .cookie-consent__text {
    font-size: 13px;
  }

  body.legacy-refresh .cookie-consent__actions {
    width: 100%;
  }

  body.legacy-refresh .cookie-consent__button {
    width: 100%;
  }

  body.legacy-refresh .home-packages__grid,
  body.legacy-refresh .home-faq__list {
    grid-template-columns: 1fr;
  }

  body.legacy-refresh .home-package-card,
  body.legacy-refresh .home-start__step,
  body.legacy-refresh .home-start__aside,
  body.legacy-refresh .home-faq__item {
    border-radius: 24px;
  }

  body.legacy-refresh .home-package-card__price {
    font-size: 28px;
  }

  body.legacy-refresh .reviews__controls {
    width: 100%;
  }

  body.legacy-refresh .reviews__nav {
    flex: 1 1 0;
  }

  body.legacy-refresh .reviews.inner .item {
    padding: 24px 20px;
  }

  body.legacy-refresh .top-line {
    position: fixed;
    background: rgba(245, 121, 58, 0.98);
  }

  body.legacy-refresh .header {
    padding-top: 10px;
  }

  body.legacy-refresh .header .wrap {
    padding: 18px 16px 84px;
    gap: 16px;
  }

  body.legacy-refresh .header .logo a {
    gap: 12px;
  }

  body.legacy-refresh .header .phone {
    left: 18px;
    right: 18px;
    transform: none;
    width: auto;
    bottom: 18px;
    padding: 14px 18px 14px 72px;
    background-position: 22px 50%;
  }

  body.legacy-refresh .header .phone .tel {
    font-size: 24px;
  }

  body.legacy-refresh .header .menu-button {
    top: 26px;
  }

  body.legacy-refresh .top-image {
    margin: 12px 10px 0;
  }

  body.legacy-refresh .top-image .wrap {
    min-height: 0;
    gap: 0;
  }

  body.legacy-refresh .top-image .content {
    padding: 58px 0 24px;
  }

  body.legacy-refresh .top-image .content .top-text {
    font-size: 30px;
  }

  body.legacy-refresh .top-image .content .middle-text {
    font-size: 15px;
  }

  body.legacy-refresh .top-image .numbers {
    max-width: none;
    margin: 0 -10px;
  }

  body.legacy-refresh .zag {
    font-size: 30px;
  }

  body.legacy-refresh .gallery .slider.list,
  body.legacy-refresh .serts .list,
  body.legacy-refresh .doctors .list,
  body.legacy-refresh .price .list {
    grid-template-columns: 1fr;
  }

  body.legacy-refresh .gallery .slider.list.mobile-carousel__list,
  body.legacy-refresh .doctors .list.mobile-carousel__list,
  body.legacy-refresh .price .list.mobile-carousel__list {
    display: flex;
    gap: 14px;
    grid-template-columns: none;
    overflow-x: auto;
    padding: 4px 2px 10px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  body.legacy-refresh .gallery .slider.list.mobile-carousel__list::-webkit-scrollbar,
  body.legacy-refresh .doctors .list.mobile-carousel__list::-webkit-scrollbar,
  body.legacy-refresh .price .list.mobile-carousel__list::-webkit-scrollbar {
    display: none;
  }

  body.legacy-refresh .gallery .slider.list.mobile-carousel__list .item,
  body.legacy-refresh .doctors .list.mobile-carousel__list .item,
  body.legacy-refresh .price .list.mobile-carousel__list .item {
    flex: 0 0 calc(100% - 34px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  body.legacy-refresh .gallery .slider.list.mobile-carousel__list .item {
    flex-basis: calc(100% - 46px);
  }

  body.legacy-refresh .price .list.mobile-carousel__list .clear {
    display: none;
  }

  body.legacy-refresh .price .list.mobile-carousel__list .item {
    min-height: 100%;
  }

  body.legacy-refresh .mobile-carousel__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
  }

  body.legacy-refresh .mobile-carousel__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(31, 142, 169, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--teal);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
  }

  body.legacy-refresh .mobile-carousel__nav:hover {
    transform: translateY(-1px);
    border-color: rgba(31, 142, 169, 0.28);
  }

  body.legacy-refresh .mobile-carousel__nav[disabled] {
    opacity: 0.38;
    cursor: default;
    transform: none;
  }

  body.legacy-refresh .mobile-carousel__counter {
    min-width: 72px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
  }

  body.legacy-refresh .reviews.inner,
  body.legacy-refresh .bottom-form {
    margin-left: 10px;
    margin-right: 10px;
  }

  body.legacy-refresh .bottom-form .content .wrap {
    padding: 38px 0;
  }

  body.legacy-refresh .bottom-form .content .wrap form {
    grid-template-columns: 1fr;
  }

  body.legacy-refresh .bottom-form__copy,
  body.legacy-refresh .bottom-form__card {
    padding: 20px 16px;
    border-radius: 24px;
  }

  body.legacy-refresh .bottom-form__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  body.legacy-refresh .bottom-form__actions .service-btn,
  body.legacy-refresh .bottom-form__actions .popup-inline-form-trigger {
    width: 100%;
    min-width: 0;
  }

  body.legacy-refresh .bottom-form__phone {
    width: 100%;
  }

  body.legacy-refresh .bottom-form__card-title {
    font-size: 22px;
  }

  body.legacy-refresh .bottom-form .content .wrap input[type='submit'] {
    width: 100%;
  }

  body.legacy-refresh .main-content {
    padding: 20px 14px;
  }

  body.legacy-refresh .main-content .bg {
    height: 244px !important;
  }

  body.legacy-refresh .main-content .bg .bg-background {
    padding: 16px !important;
    align-items: flex-end !important;
  }

  body.legacy-refresh .main-content .bg h1.zag {
    font-size: 26px;
    max-width: none;
  }
}

@media (max-width: 1180px) {
  body.legacy-refresh .services-menu__panel {
    width: min(860px, calc(100vw - 56px));
  }

  body.legacy-refresh .header__main {
    grid-template-columns: minmax(0, 1fr);
  }

  body.legacy-refresh .header__aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 980px) {
  body.legacy-refresh .services-menu__panel {
    grid-template-columns: 1fr 1fr;
    left: 0;
    right: auto;
  }

  body.legacy-refresh .footer .wrap:first-child {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body.legacy-refresh .top-line {
    position: sticky;
  }

  body.legacy-refresh .top-line .wrap {
    padding: 10px 0;
  }

  body.legacy-refresh .top-line__meta,
  body.legacy-refresh .top-line__nav {
    gap: 8px;
  }

  body.legacy-refresh .top-line__tag,
  body.legacy-refresh .top-line__link,
  body.legacy-refresh .services-menu summary {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  body.legacy-refresh .services-menu {
    width: 100%;
  }

  body.legacy-refresh .services-menu__panel {
    position: static;
    width: 100%;
    margin-top: 10px;
    grid-template-columns: 1fr;
    padding: 12px;
  }

  body.legacy-refresh .header {
    padding-top: 10px;
  }

  body.legacy-refresh .header .wrap {
    padding: 18px 16px;
  }

  body.legacy-refresh .header .logo a {
    align-items: flex-start;
  }

  body.legacy-refresh .header .logo img {
    width: 64px;
    height: auto;
  }

  body.legacy-refresh .header .logo div {
    font-size: 12px;
    line-height: 1.35;
  }

  body.legacy-refresh .header__aside {
    grid-template-columns: 1fr;
  }

  body.legacy-refresh .header .phone,
  body.legacy-refresh .header .adress {
    padding-right: 16px;
  }

  body.legacy-refresh .header .phone .tel {
    font-size: 22px;
  }

  body.legacy-refresh .footer .bottom-menu {
    grid-template-columns: 1fr;
  }
}

body.legacy-refresh .zag p,
body.legacy-refresh .blog.inner .zag .p {
  display: block;
  margin-top: 14px;
  line-height: 1.55;
  letter-spacing: 0;
}

body.legacy-refresh .footer .contacts .item div .phone {
  white-space: nowrap;
}

body.legacy-refresh .doctors .list .item picture {
  display: block;
  aspect-ratio: 4 / 5;
  background: linear-gradient(180deg, rgba(239, 246, 249, 0.94), rgba(230, 237, 241, 0.94));
}

body.legacy-refresh .doctors .list .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.legacy-refresh .page-content {
  overflow: hidden;
}

body.legacy-refresh .page-content p {
  margin: 0 0 18px;
}

body.legacy-refresh .page-content img,
body.legacy-refresh .page-content picture,
body.legacy-refresh .page-content table {
  max-width: 100%;
}

body.legacy-refresh .short-links {
  margin: 24px 0 28px;
  padding: 26px 24px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 250, 245, 0.95), rgba(247, 252, 255, 0.92));
  box-shadow: var(--shadow-soft);
}

body.legacy-refresh .short-links .zag {
  padding: 0 0 14px;
  font-size: clamp(26px, 3vw, 36px);
  text-align: left;
}

body.legacy-refresh .short-links ul {
  columns: 2;
  column-gap: 24px;
  margin: 0;
  padding: 0;
}

body.legacy-refresh .short-links ul li {
  break-inside: avoid;
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  background: none;
}

body.legacy-refresh .short-links ul li::before {
  display: none;
}

body.legacy-refresh .short-links ul li a {
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 142, 169, 0.18);
}

body.legacy-refresh .bg {
  margin-bottom: 24px;
  border-radius: 28px;
  overflow: hidden;
}

body.legacy-refresh.city-menu-open {
  overflow: hidden !important;
}

body.legacy-refresh .menu-town {
  position: fixed !important;
  inset: 0 !important;
  z-index: 120 !important;
  visibility: hidden !important;
  opacity: 0 !important;
  left: 0 !important;
  top: 0 !important;
  pointer-events: none !important;
  background: rgba(16, 24, 31, 0.52) !important;
  backdrop-filter: blur(10px);
  transition: opacity 0.2s ease, visibility 0.2s ease !important;
}

body.legacy-refresh .menu-town.open {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  width: auto !important;
  height: auto !important;
  padding: 96px 24px 24px !important;
  box-shadow: none !important;
  overflow: auto !important;
}

body.legacy-refresh #modal__town {
  width: min(1120px, 100%) !important;
  max-height: calc(100vh - 120px) !important;
  margin: 0 auto !important;
  padding: 30px !important;
  overflow: auto !important;
  border-radius: 30px !important;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 28px 80px rgba(18, 29, 36, 0.24) !important;
}

body.legacy-refresh .town-modal__head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: end;
}

body.legacy-refresh .town-modal__copy {
  display: grid;
  gap: 10px;
}

body.legacy-refresh .town-modal__copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.08;
}

body.legacy-refresh .town-modal__copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

body.legacy-refresh div#modal__town input#Search {
  width: 100% !important;
  max-width: none;
  height: 52px !important;
  padding: 0 18px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(31, 142, 169, 0.18) !important;
  font-size: 16px !important;
  outline: none;
}

body.legacy-refresh .town_list {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 20px !important;
  padding: 24px 0 0 !important;
}

body.legacy-refresh .town-region {
  display: grid;
  gap: 14px;
}

body.legacy-refresh .town-region__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(31, 142, 169, 0.1);
}

body.legacy-refresh .town-region__head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
}

body.legacy-refresh .town-region__head span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

body.legacy-refresh .town-region__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body.legacy-refresh a.target {
  width: auto !important;
  margin: 0 !important;
  display: block !important;
  padding: 18px 18px 16px !important;
  border-radius: 20px !important;
  border: 1px solid var(--line) !important;
  background: linear-gradient(180deg, rgba(255, 250, 245, 0.95), rgba(247, 252, 255, 0.94)) !important;
  color: var(--teal) !important;
  text-decoration: none !important;
  line-height: 1.35 !important;
}

body.legacy-refresh a.target span.minitext {
  display: block;
  margin-top: 6px;
  color: var(--muted) !important;
  opacity: 1 !important;
}

body.legacy-refresh a.menu-clouse-triger {
  position: fixed !important;
  top: 28px !important;
  right: 28px !important;
  z-index: 121 !important;
  width: 46px !important;
  height: 46px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 999px !important;
  background: rgba(18, 29, 36, 0.9) !important;
  color: #fff !important;
  font-size: 28px !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: 0 16px 40px rgba(18, 29, 36, 0.22);
}

@media (max-width: 720px) {
  body.legacy-refresh .top-line {
    position: sticky !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: auto !important;
    background: rgba(18, 29, 36, 0.96) !important;
    box-shadow: 0 14px 34px rgba(18, 29, 36, 0.18);
  }

  body.legacy-refresh .top-line .wrap {
    width: calc(100% - 28px) !important;
    padding: 12px 0 14px;
  }

  body.legacy-refresh .top-line__meta {
    display: none !important;
  }

  body.legacy-refresh .top-line__toggle {
    width: 100%;
    display: inline-flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
  }

  body.legacy-refresh .top-line__toggle-icon {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
  }

  body.legacy-refresh .top-line__toggle-icon span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  body.legacy-refresh .top-line__toggle-text {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  body.legacy-refresh .top-line__toggle-input:checked ~ .top-line .top-line__toggle .top-line__toggle-icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.legacy-refresh .top-line__toggle-input:checked ~ .top-line .top-line__toggle .top-line__toggle-icon span:nth-child(2) {
    opacity: 0;
  }

  body.legacy-refresh .top-line__toggle-input:checked ~ .top-line .top-line__toggle .top-line__toggle-icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  body.legacy-refresh .top-line__toggle-input:checked ~ .top-line .top-line__toggle {
    background: rgba(245, 121, 58, 0.18);
  }

  body.legacy-refresh .header .top-line__nav {
    position: fixed;
    top: 72px;
    left: 14px;
    right: 14px;
    z-index: 70;
    display: none !important;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
    margin: 0;
    border-top: 0;
    border-radius: 24px;
    background: rgba(18, 29, 36, 0.98);
    box-shadow: 0 20px 36px rgba(18, 29, 36, 0.28);
    max-height: calc(100vh - 92px);
    overflow: auto;
  }

  body.legacy-refresh .top-line__toggle-input:checked ~ .header .top-line__nav {
    display: flex !important;
  }

  body.legacy-refresh .header .services-menu {
    width: 100%;
  }

  body.legacy-refresh .header .top-line__link,
  body.legacy-refresh .header .services-menu summary {
    width: 100%;
    min-height: 42px;
    padding: 0 16px;
    justify-content: flex-start;
    text-align: left;
    white-space: normal;
    border-radius: 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.06);
  }

  body.legacy-refresh .header .services-menu summary {
    justify-content: space-between;
  }

  body.legacy-refresh .header .services-menu__panel {
    margin-top: 10px;
    border-radius: 18px;
    background: rgba(255, 248, 242, 0.98);
    box-shadow: none;
  }

  body.legacy-refresh .header .wrap {
    padding: 18px !important;
  }

  body.legacy-refresh .header .logo div {
    display: block !important;
    padding-left: 12px;
  }

  body.legacy-refresh .header__aside {
    grid-template-columns: 1fr !important;
  }

  body.legacy-refresh .header__main {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  body.legacy-refresh .header .phone,
  body.legacy-refresh .header .adress {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    transform: none !important;
    display: block !important;
  }

  body.legacy-refresh .header .menu-button {
    display: none !important;
  }

  body.legacy-refresh .short-links {
    padding: 20px 16px;
  }

  body.legacy-refresh .short-links ul {
    columns: 1;
  }

  body.legacy-refresh .menu-town.open {
    padding: 78px 12px 12px !important;
  }

  body.legacy-refresh #modal__town {
    max-height: calc(100vh - 90px) !important;
    padding: 18px !important;
    border-radius: 24px !important;
  }

  body.legacy-refresh .town_list {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body.legacy-refresh a.target {
    padding: 16px !important;
    border-radius: 16px !important;
  }

  body.legacy-refresh a.menu-clouse-triger {
    top: 18px !important;
    right: 18px !important;
    width: 42px !important;
    height: 42px !important;
  }
}

body.legacy-refresh .town--link {
  color: inherit !important;
  font-weight: 800 !important;
}

body.legacy-refresh .top-line .wrap,
body.legacy-refresh .header > .wrap {
  width: auto;
  max-width: none;
  margin-left: 24px;
  margin-right: 24px;
}

body.legacy-refresh .site {
  overflow: visible;
}

body.legacy-refresh .top-line {
  position: relative;
  top: auto;
  z-index: 30;
}

body.legacy-refresh .top-line .wrap {
  min-height: 64px;
}

body.legacy-refresh .header-float-spacer {
  height: 0;
}

body.legacy-refresh .header {
  position: relative;
  top: auto;
  z-index: 80;
  padding: 12px 0 0;
  transition: padding 0.24s ease, top 0.24s ease, opacity 0.24s ease, transform 0.24s ease;
}

body.legacy-refresh.header-is-floating .header-float-spacer {
  height: var(--floating-header-height, 0px);
}

body.legacy-refresh.header-is-floating .header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 96;
  padding: 0;
  animation: header-float-in 0.24s ease;
}

body.legacy-refresh .header .wrap {
  display: block;
  padding: 22px 30px 18px;
  border-radius: 32px;
  transition:
    padding 0.24s ease,
    border-radius 0.24s ease,
    box-shadow 0.24s ease,
    background-color 0.24s ease;
}

body.legacy-refresh .header__main {
  grid-template-columns: minmax(0, 1fr) minmax(460px, 560px);
  align-items: stretch;
  gap: 28px;
}

body.legacy-refresh .header .logo {
  display: flex;
  align-items: center;
}

body.legacy-refresh .header .logo a {
  min-height: 92px;
  gap: 22px;
}

body.legacy-refresh .header .logo img {
  width: 92px;
  height: auto;
  transition: width 0.24s ease;
}

body.legacy-refresh .header .logo div {
  padding: 6px 0 6px 20px;
  transition: font-size 0.24s ease, line-height 0.24s ease, padding 0.24s ease;
}

body.legacy-refresh .header__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, 560px);
  justify-self: end;
}

body.legacy-refresh .header__action {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 92px;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(31, 142, 169, 0.12);
  box-shadow: 0 14px 34px rgba(17, 47, 63, 0.08);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    padding 0.24s ease,
    min-height 0.24s ease;
}

body.legacy-refresh .header__action:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(17, 47, 63, 0.12);
}

body.legacy-refresh .header__action--phone {
  background: linear-gradient(180deg, rgba(255, 244, 235, 0.98), rgba(255, 235, 222, 0.92));
}

body.legacy-refresh .header__action--city {
  background: linear-gradient(180deg, rgba(240, 248, 251, 0.98), rgba(232, 245, 248, 0.94));
}

body.legacy-refresh .header__action-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.legacy-refresh .header__action-value {
  margin-top: 6px;
  color: var(--ink);
  font-size: 27px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

body.legacy-refresh .header__action-meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

body.legacy-refresh .header__action--city .header__action-value,
body.legacy-refresh .header__action--city .town--link {
  color: var(--teal) !important;
}

body.legacy-refresh .header .top-line__nav {
  margin-top: 20px;
  padding-top: 18px;
  gap: 10px 12px;
  border-top: 1px solid rgba(31, 142, 169, 0.12);
  position: relative;
}

body.legacy-refresh .header .top-line__link,
body.legacy-refresh .header .services-menu summary {
  min-height: 48px;
  padding: 0 18px;
  white-space: nowrap;
}

body.legacy-refresh .services-menu {
  position: static;
}

body.legacy-refresh .services-menu__panel {
  left: 0;
  right: 0;
  width: auto;
  max-width: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
}

body.legacy-refresh .services-menu:not([open]) .services-menu__panel {
  display: none;
}

body.legacy-refresh .services-menu[open] .services-menu__panel {
  display: grid;
}

body.legacy-refresh .services-menu__group {
  min-height: 100%;
  padding: 18px 16px;
}

body.legacy-refresh .services-menu__group p {
  margin-bottom: 12px;
  font-size: 15px;
}

body.legacy-refresh .services-menu__group a {
  padding: 9px 10px;
  font-size: 14px;
  line-height: 1.38;
}

body.legacy-refresh.header-is-compact .header {
  top: 16px;
  padding-top: 0;
}

body.legacy-refresh.header-is-compact .header .wrap {
  padding: 10px 18px 9px;
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(17, 47, 63, 0.12);
  background: rgba(255, 255, 255, 0.95);
}

body.legacy-refresh.header-is-compact .header__main {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: 14px;
}

body.legacy-refresh.header-is-compact .header .logo a {
  min-height: 58px;
  gap: 14px;
}

body.legacy-refresh.header-is-compact .header .logo img {
  width: 58px;
}

body.legacy-refresh.header-is-compact .header .logo div {
  padding-left: 12px;
  font-size: 12px;
  line-height: 1.3;
}

body.legacy-refresh.header-is-compact .header__action {
  min-height: 58px;
  padding: 10px 14px;
  border-radius: 18px;
}

body.legacy-refresh.header-is-compact .header__action-value {
  margin-top: 3px;
  font-size: 18px;
}

body.legacy-refresh.header-is-compact .header__action-meta {
  display: none;
}

body.legacy-refresh.header-is-compact .header__action-label {
  font-size: 10px;
  letter-spacing: 0.06em;
}

body.legacy-refresh.header-is-compact .header .top-line__nav {
  margin-top: 10px;
  padding-top: 10px;
  gap: 8px;
}

body.legacy-refresh.header-is-compact .header .top-line__link,
body.legacy-refresh.header-is-compact .header .services-menu summary {
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
}

@media (max-width: 1180px) {
  body.legacy-refresh .top-line .wrap,
  body.legacy-refresh .header > .wrap {
    margin-left: 18px;
    margin-right: 18px;
  }

  body.legacy-refresh .header {
    top: auto;
  }

  body.legacy-refresh .header__main {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.legacy-refresh .header__actions {
    width: 100%;
    justify-self: stretch;
  }

  body.legacy-refresh .services-menu__panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body.legacy-refresh .top-line .wrap,
  body.legacy-refresh .header > .wrap {
    margin-left: 14px;
    margin-right: 14px;
  }

  body.legacy-refresh .header {
    position: relative;
    top: auto;
    padding-top: 10px;
  }

  body.legacy-refresh.header-is-floating .header-float-spacer {
    height: 0 !important;
  }

  body.legacy-refresh.header-is-floating .header {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    padding-top: 10px;
    animation: none;
  }

  body.legacy-refresh.header-is-compact .header {
    top: auto;
  }

  body.legacy-refresh .header .wrap,
  body.legacy-refresh.header-is-compact .header .wrap {
    padding: 16px;
    border-radius: 24px;
  }

  body.legacy-refresh .header .logo img,
  body.legacy-refresh.header-is-compact .header .logo img {
    width: 74px;
  }

  body.legacy-refresh .header .logo div,
  body.legacy-refresh.header-is-compact .header .logo div {
    padding-left: 12px;
    font-size: 13px;
  }

  body.legacy-refresh .header__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.legacy-refresh .header__action,
  body.legacy-refresh.header-is-compact .header__action {
    min-height: 74px;
    padding: 14px;
    border-radius: 18px;
  }

  body.legacy-refresh .header__action-label {
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  body.legacy-refresh .header__action-value,
  body.legacy-refresh.header-is-compact .header__action-value {
    font-size: 18px;
  }

  body.legacy-refresh .header__action-meta,
  body.legacy-refresh.header-is-compact .header__action-meta {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.32;
  }

  body.legacy-refresh .header .top-line__nav {
    top: 78px;
  }

  body.legacy-refresh .services-menu__panel {
    grid-template-columns: 1fr;
  }
}

body.legacy-refresh .top-line__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

body.legacy-refresh .top-line__info {
  display: inline-grid;
  gap: 2px;
  padding-right: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}

body.legacy-refresh .top-line__info:last-child {
  padding-right: 0;
  border-right: 0;
}

body.legacy-refresh .top-line__info-label {
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

body.legacy-refresh .top-line__info-value {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

body.legacy-refresh .services-menu__panel {
  display: block;
  columns: 4 220px;
  column-gap: 26px;
  padding: 22px 26px;
}

body.legacy-refresh .services-menu[open] .services-menu__panel {
  display: block;
}

body.legacy-refresh .services-menu__group {
  break-inside: avoid;
  min-height: 0;
  margin: 0 0 20px;
  padding: 0 0 0 18px;
  border: 0;
  border-left: 1px solid rgba(31, 142, 169, 0.18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.legacy-refresh .services-menu__group p {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.legacy-refresh .services-menu__group a {
  padding: 7px 0;
  border-radius: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.38;
}

body.legacy-refresh .services-menu__group a:hover {
  background: transparent;
  color: var(--teal);
}

body.legacy-refresh.header-is-compact .top-line__info {
  gap: 1px;
  padding-right: 16px;
}

body.legacy-refresh.header-is-compact .top-line__info-label {
  font-size: 10px;
}

body.legacy-refresh.header-is-compact .top-line__info-value {
  font-size: 13px;
}

@media (max-width: 1180px) {
  body.legacy-refresh .top-line__meta {
    gap: 10px 16px;
  }

  body.legacy-refresh .top-line__info {
    padding-right: 16px;
  }

  body.legacy-refresh .services-menu__panel {
    columns: 3 220px;
  }
}

@media (max-width: 980px) {
  body.legacy-refresh .services-menu__panel {
    columns: 2 220px;
  }
}

@media (max-width: 720px) {
  body.legacy-refresh .services-menu__panel {
    columns: auto;
    padding: 12px;
  }

  body.legacy-refresh .services-menu__group {
    margin: 0 0 12px;
    padding: 14px;
    border: 1px solid rgba(31, 142, 169, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
  }

  body.legacy-refresh .services-menu__group p {
    font-size: 12px;
  }

  body.legacy-refresh .services-menu__group a {
    padding: 8px 0;
    font-size: 14px;
  }

  body.legacy-refresh .home-lightbox__dialog {
    width: calc(100vw - 24px);
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 10px;
  }

  body.legacy-refresh .home-lightbox__figure {
    padding: 10px;
    border-radius: 20px;
  }

  body.legacy-refresh .home-lightbox__image {
    max-height: calc(100vh - 120px);
    border-radius: 14px;
  }

  body.legacy-refresh .home-lightbox__nav {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 30px;
  }

  body.legacy-refresh .home-lightbox__close {
    top: -8px;
    right: -6px;
    width: 38px;
    height: 38px;
    font-size: 24px;
  }
}

@media (max-width: 900px) {
  body.legacy-refresh {
    overflow-x: hidden;
  }

  body.legacy-refresh .wrap {
    width: calc(100% - 20px);
  }

  body.legacy-refresh.mobile-nav-open {
    overflow: hidden;
  }

  body.legacy-refresh .site {
    padding-bottom: 96px;
  }

  body.legacy-refresh .cookie-consent {
    left: 12px;
    right: 12px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 92px);
    width: auto;
  }

  body.legacy-refresh.mobile-nav-open .cookie-consent {
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
  }

  body.legacy-refresh .top-line {
    position: sticky !important;
    top: 0 !important;
    z-index: 128 !important;
    background: rgba(18, 29, 36, 0.96) !important;
    box-shadow: 0 14px 34px rgba(18, 29, 36, 0.2);
  }

  body.legacy-refresh .top-line .wrap,
  body.legacy-refresh .header > .wrap {
    margin-left: 10px;
    margin-right: 10px;
  }

  body.legacy-refresh .top-line .wrap {
    width: calc(100% - 20px) !important;
    padding: 10px 0 12px;
  }

  body.legacy-refresh .top-line__meta {
    display: none !important;
  }

  body.legacy-refresh .top-line__toggle {
    width: 100%;
    display: inline-flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
  }

  body.legacy-refresh .top-line__toggle-icon {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
  }

  body.legacy-refresh .top-line__toggle-icon span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  body.legacy-refresh .top-line__toggle-text {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  body.legacy-refresh.mobile-nav-open .top-line__toggle {
    background: rgba(245, 121, 58, 0.18);
  }

  body.legacy-refresh.mobile-nav-open .top-line__toggle-icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.legacy-refresh.mobile-nav-open .top-line__toggle-icon span:nth-child(2) {
    opacity: 0;
  }

  body.legacy-refresh.mobile-nav-open .top-line__toggle-icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  body.legacy-refresh .mobile-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 118;
    background: rgba(8, 14, 18, 0.46);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
  }

  body.legacy-refresh.mobile-nav-open .mobile-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  body.legacy-refresh .header,
  body.legacy-refresh.header-is-floating .header,
  body.legacy-refresh.header-is-compact .header {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    padding-top: 10px;
    animation: none;
  }

  body.legacy-refresh .header-float-spacer,
  body.legacy-refresh.header-is-floating .header-float-spacer {
    height: 0 !important;
  }

  body.legacy-refresh .header {
    z-index: 119;
  }

  body.legacy-refresh .header .wrap,
  body.legacy-refresh.header-is-compact .header .wrap {
    padding: 14px 16px !important;
    border-radius: 22px;
  }

  body.legacy-refresh .header__main,
  body.legacy-refresh.header-is-compact .header__main {
    grid-template-columns: 1fr !important;
    gap: 0;
  }

  body.legacy-refresh .header__actions {
    display: none !important;
  }

  body.legacy-refresh .header .logo a,
  body.legacy-refresh.header-is-compact .header .logo a {
    min-height: 68px;
    gap: 12px;
  }

  body.legacy-refresh .header .logo img,
  body.legacy-refresh.header-is-compact .header .logo img {
    width: 60px;
  }

  body.legacy-refresh .header .logo div,
  body.legacy-refresh.header-is-compact .header .logo div {
    padding-left: 12px;
    font-size: 12px;
    line-height: 1.35;
  }

  body.legacy-refresh .header .top-line__nav {
    position: fixed !important;
    top: 80px !important;
    left: 10px;
    right: 10px;
    z-index: 124 !important;
    display: none !important;
    flex-direction: column;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
    margin: 0 !important;
    border-top: 0 !important;
    border-radius: 24px;
    background: rgba(18, 29, 36, 0.98);
    box-shadow: 0 22px 42px rgba(18, 29, 36, 0.28);
    max-height: calc(100vh - 164px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-x: none;
  }

  body.legacy-refresh.mobile-nav-open .header .top-line__nav {
    display: flex !important;
  }

  body.legacy-refresh .header .services-menu {
    width: 100%;
    min-width: 0;
  }

  body.legacy-refresh .header .top-line__link,
  body.legacy-refresh .header .services-menu summary {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 0 14px;
    justify-content: flex-start;
    text-align: left;
    white-space: normal;
    border-radius: 14px;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: none;
    transform: none !important;
  }

  body.legacy-refresh .header .services-menu summary {
    justify-content: space-between;
  }

  body.legacy-refresh .header .top-line__link:hover,
  body.legacy-refresh .header .top-line__link.is-active,
  body.legacy-refresh .header .services-menu:hover summary,
  body.legacy-refresh .header .services-menu[open] summary,
  body.legacy-refresh .header .services-menu.is-active summary {
    background: rgba(245, 121, 58, 0.18) !important;
    color: #fff !important;
  }

  body.legacy-refresh .header .services-menu__panel,
  body.legacy-refresh .services-menu__panel {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: none !important;
    columns: auto !important;
    display: none !important;
    padding: 12px !important;
    margin-top: 10px;
    border-radius: 18px;
    background: rgba(255, 248, 242, 0.98);
    box-shadow: none;
  }

  body.legacy-refresh .header .services-menu[open] .services-menu__panel {
    display: block !important;
  }

  body.legacy-refresh .header .services-menu__group,
  body.legacy-refresh .services-menu__group {
    margin: 0 0 12px;
    padding: 14px;
    border: 1px solid rgba(31, 142, 169, 0.08);
    border-left: 1px solid rgba(31, 142, 169, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    break-inside: auto;
  }

  body.legacy-refresh .header .services-menu__group:last-child,
  body.legacy-refresh .services-menu__group:last-child {
    margin-bottom: 0;
  }

  body.legacy-refresh .header .services-menu__group p,
  body.legacy-refresh .services-menu__group p {
    margin-bottom: 10px;
    color: var(--teal);
    font-size: 12px;
    line-height: 1.2;
  }

  body.legacy-refresh .header .services-menu__group a,
  body.legacy-refresh .services-menu__group a {
    padding: 8px 0;
    color: var(--ink);
    font-size: 14px;
  }

  body.legacy-refresh .mobile-nav__footer {
    display: block;
    min-width: 0;
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  body.legacy-refresh .mobile-nav__branch {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(240, 248, 251, 0.98), rgba(232, 245, 248, 0.94));
    text-decoration: none;
  }

  body.legacy-refresh .mobile-nav__footer-label {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  body.legacy-refresh .mobile-nav__footer-value {
    color: var(--teal);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.08;
  }

  body.legacy-refresh .mobile-nav__footer-meta {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
  }

  body.legacy-refresh .mobile-callbar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
    z-index: 132;
    display: grid;
    gap: 2px;
    padding: 13px 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(245, 121, 58, 0.98), rgba(239, 151, 70, 0.98));
    box-shadow: 0 22px 44px rgba(221, 118, 47, 0.3);
    color: #fff;
    text-decoration: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  body.legacy-refresh .mobile-callbar__label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    opacity: 0.84;
    text-transform: uppercase;
  }

  body.legacy-refresh .mobile-callbar__value {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  body.legacy-refresh.mobile-nav-open .mobile-callbar {
    opacity: 0;
    transform: translateY(120%);
    pointer-events: none;
  }
}

@keyframes header-float-in {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.legacy-refresh .service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  white-space: nowrap;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

body.legacy-refresh .service-btn:hover {
  transform: translateY(-2px);
}

body.legacy-refresh .service-btn--primary {
  background: linear-gradient(135deg, rgba(245, 121, 58, 1), rgba(239, 151, 70, 1));
  box-shadow: 0 18px 32px rgba(239, 130, 54, 0.22);
  color: #fff;
}

body.legacy-refresh .service-btn--secondary,
body.legacy-refresh .service-btn--ghost {
  border-color: rgba(31, 142, 169, 0.18);
  background: rgba(255, 255, 255, 0.88);
  color: var(--teal);
}

body.legacy-refresh .section-kicker {
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.legacy-refresh.legacy-service-page .inner-page .wrap {
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

body.legacy-refresh.legacy-service-page .main-content,
body.legacy-refresh.legacy-service-page .left-side {
  grid-column: 1;
}

body.legacy-refresh.legacy-service-page .main-content {
  grid-row: 1;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

body.legacy-refresh.legacy-service-page .main-content .bg {
  margin-bottom: 0;
  box-shadow: var(--shadow-soft);
}

body.legacy-refresh.legacy-service-page .page-content {
  margin-top: 26px;
  padding: 36px 40px 40px;
  border-radius: 32px;
  border: 1px solid rgba(31, 142, 169, 0.1);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

body.legacy-refresh.legacy-service-page .page-content > :first-child,
body.legacy-refresh.legacy-service-page .page-content > p:first-child {
  margin-top: 0;
}

body.legacy-refresh.legacy-service-page {
  --service-hero-start: rgba(13, 31, 40, 0.98);
  --service-hero-end: rgba(21, 94, 114, 0.96);
  --service-hero-accent: rgba(245, 121, 58, 0.88);
}

body.legacy-refresh.legacy-service-page .main-content .bg {
  position: relative;
  overflow: hidden;
  height: clamp(380px, 48vw, 520px) !important;
  border-radius: 36px;
  background-size: cover !important;
  background-position: center center !important;
  box-shadow: var(--shadow-soft);
}

body.legacy-refresh.legacy-service-page .main-content .bg .bg-background {
  align-items: flex-end;
  padding: 38px 42px 96px !important;
  background:
    linear-gradient(180deg, rgba(7, 17, 23, 0.18), rgba(7, 17, 23, 0.48) 45%, rgba(7, 17, 23, 0.76) 100%) !important;
}

body.legacy-refresh.legacy-service-page .main-content .bg h1.zag {
  max-width: 12.5ch;
  margin: 0 !important;
  color: #fff;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-shadow: 0 18px 48px rgba(7, 17, 23, 0.38);
}

body.legacy-refresh.legacy-service-page .service-hero-panel,
body.legacy-refresh.legacy-service-page .service-scope,
body.legacy-refresh.legacy-service-page .service-author-card,
body.legacy-refresh.legacy-service-page .service-packages,
body.legacy-refresh.legacy-service-page .service-insight-grid,
body.legacy-refresh.legacy-service-page .service-spotlights,
body.legacy-refresh.legacy-service-page .service-process,
body.legacy-refresh.legacy-service-page .service-checklist,
body.legacy-refresh.legacy-service-page .service-faq,
body.legacy-refresh.legacy-service-page .service-related {
  margin-top: 26px;
}

body.legacy-refresh.legacy-service-page .inner-form {
  margin-top: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.legacy-refresh.legacy-service-page .inner-form .wrap {
  width: 100%;
  padding: 30px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 460px);
  gap: 24px 28px;
  align-items: stretch;
  border: 1px solid rgba(31, 142, 169, 0.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(245, 121, 58, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(245, 121, 58, 0.96), rgba(31, 142, 169, 0.86));
  box-shadow: var(--shadow-soft);
}

body.legacy-refresh.legacy-service-page .inner-form .zag {
  margin: 0;
  color: #fff;
}

body.legacy-refresh.legacy-service-page .inner-form__meta {
  margin: 0;
  align-self: start;
}

body.legacy-refresh.legacy-service-page .inner-form__intro,
body.legacy-refresh.legacy-service-page .inner-form__card {
  min-height: 100%;
}

body.legacy-refresh.legacy-service-page .inner-form__intro {
  display: grid;
  align-content: start;
  gap: 16px;
}

body.legacy-refresh.legacy-service-page .inner-form__intro .section-kicker {
  color: rgba(255, 255, 255, 0.88);
}

body.legacy-refresh.legacy-service-page .inner-form__intro .zag p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.95);
}

body.legacy-refresh.legacy-service-page .inner-form__points {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

body.legacy-refresh.legacy-service-page .inner-form__points li {
  position: relative;
  list-style: none;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.68;
}

body.legacy-refresh.legacy-service-page .inner-form__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14);
}

body.legacy-refresh.legacy-service-page .inner-form__phone {
  width: fit-content;
  min-width: 220px;
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(15, 22, 27, 0.14);
  color: #fff;
}

body.legacy-refresh.legacy-service-page .inner-form__phone:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(15, 22, 27, 0.24);
}

body.legacy-refresh.legacy-service-page .inner-form__card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 44px rgba(15, 22, 27, 0.14);
}

body.legacy-refresh.legacy-service-page .inner-form__card-title {
  color: var(--ink);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.08;
}

body.legacy-refresh.legacy-service-page .inner-form__card-text {
  margin: 0;
  color: rgba(49, 67, 79, 0.9);
  line-height: 1.7;
}

body.legacy-refresh.legacy-service-page .inner-form__note {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(15, 22, 27, 0.04);
  border: 1px solid rgba(31, 142, 169, 0.1);
  color: rgba(49, 67, 79, 0.88);
  font-size: 14px;
  line-height: 1.6;
}

body.legacy-refresh.legacy-service-page .inner-form form,
body.legacy-refresh.legacy-service-page .inner-form__form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: 100%;
  margin: 0;
}

body.legacy-refresh.legacy-service-page .inner-form form input[type='submit'],
body.legacy-refresh.legacy-service-page .inner-form__form input[type='submit'] {
  grid-column: 1;
  justify-self: stretch;
  width: 100%;
  min-height: 56px;
  padding: 0 24px;
  color: #fff;
  background: linear-gradient(135deg, rgba(245, 121, 58, 1), rgba(239, 151, 70, 1));
  box-shadow: 0 18px 32px rgba(239, 130, 54, 0.22);
}

body.legacy-refresh.legacy-service-page .inner-form form input[type='text'],
body.legacy-refresh.legacy-service-page .inner-form__form input[type='text'] {
  border-color: rgba(31, 142, 169, 0.14);
  background: rgba(244, 249, 251, 0.98);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body.legacy-refresh.legacy-service-page .inner-form form input[type='text']::placeholder,
body.legacy-refresh.legacy-service-page .inner-form__form input[type='text']::placeholder {
  color: rgba(92, 111, 124, 0.9);
}

body.legacy-refresh.legacy-service-page .inner-form form input[type='text']:hover,
body.legacy-refresh.legacy-service-page .inner-form form input[type='text']:focus,
body.legacy-refresh.legacy-service-page .inner-form__form input[type='text']:hover,
body.legacy-refresh.legacy-service-page .inner-form__form input[type='text']:focus {
  border-color: rgba(31, 142, 169, 0.22);
  background: rgba(255, 255, 255, 1);
  color: var(--ink);
}

body.legacy-refresh.legacy-service-page .service-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 430px);
  gap: 12px;
  margin-top: -52px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(31, 142, 169, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(247, 252, 255, 0.92));
  backdrop-filter: blur(10px);
  box-shadow: 0 28px 60px rgba(13, 24, 32, 0.18);
}

body.legacy-refresh.legacy-service-page .service-hero-panel h2,
body.legacy-refresh.legacy-service-page .service-scope h2,
body.legacy-refresh.legacy-service-page .service-author-card h2,
body.legacy-refresh.legacy-service-page .service-packages h2,
body.legacy-refresh.legacy-service-page .service-card h2,
body.legacy-refresh.legacy-service-page .service-spotlights h2,
body.legacy-refresh.legacy-service-page .service-process h2,
body.legacy-refresh.legacy-service-page .service-checklist h2,
body.legacy-refresh.legacy-service-page .service-faq h2,
body.legacy-refresh.legacy-service-page .service-related h2 {
  margin: 0 0 12px;
  padding: 0;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.06;
  color: var(--ink);
}

body.legacy-refresh.legacy-service-page .service-scope p,
body.legacy-refresh.legacy-service-page .service-author-card p,
body.legacy-refresh.legacy-service-page .service-packages p,
body.legacy-refresh.legacy-service-page .service-card p,
body.legacy-refresh.legacy-service-page .service-spotlight-card p,
body.legacy-refresh.legacy-service-page .service-process p,
body.legacy-refresh.legacy-service-page .service-faq p {
  color: var(--muted);
  line-height: 1.75;
}

body.legacy-refresh.legacy-service-page .service-aside-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
}

body.legacy-refresh.legacy-service-page .service-hero-panel__copy {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 100%;
  padding: 34px 34px 32px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 26%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(145deg, var(--service-hero-start), var(--service-hero-end) 62%, var(--service-hero-accent) 155%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

body.legacy-refresh.legacy-service-page .service-hero-panel__copy .section-kicker {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

body.legacy-refresh.legacy-service-page .service-hero-panel__copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3.3vw, 46px);
  line-height: 1.02;
}

body.legacy-refresh.legacy-service-page .service-hero-panel__copy > p,
body.legacy-refresh.legacy-service-page .service-hero-offer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.72;
}

body.legacy-refresh.legacy-service-page .service-hero-panel__points,
body.legacy-refresh.legacy-service-page .service-card ul,
body.legacy-refresh.legacy-service-page .service-aside-card__points {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
}

body.legacy-refresh.legacy-service-page .service-hero-panel__points li,
body.legacy-refresh.legacy-service-page .service-card ul li,
body.legacy-refresh.legacy-service-page .service-aside-card__points li {
  position: relative;
  list-style: none;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

body.legacy-refresh.legacy-service-page .service-aside-card__points li {
  padding: 0 0 0 20px;
  color: rgba(255, 255, 255, 0.96);
  font-weight: 600;
  line-height: 1.6;
}

body.legacy-refresh.legacy-service-page .service-hero-panel__points li {
  color: rgba(255, 255, 255, 0.96);
}

body.legacy-refresh.legacy-service-page .service-hero-panel__points li::before,
body.legacy-refresh.legacy-service-page .service-card ul li::before,
body.legacy-refresh.legacy-service-page .service-aside-card__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}

body.legacy-refresh.legacy-service-page .service-aside-card__points li::before {
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14);
}

body.legacy-refresh.legacy-service-page .service-hero-panel__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

body.legacy-refresh.legacy-service-page .service-hero-panel__cta-row .service-btn {
  width: auto;
}

body.legacy-refresh.legacy-service-page .service-hero-panel__cta-row .service-btn {
  min-width: 220px;
}

body.legacy-refresh.legacy-service-page .service-author-card__actions .service-btn,
body.legacy-refresh.legacy-service-page .service-aside-card__actions .service-btn {
  width: 100%;
}

body.legacy-refresh.legacy-service-page .service-hero-panel__copy .service-btn--secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

body.legacy-refresh.legacy-service-page .service-hero-panel__copy .service-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

body.legacy-refresh.legacy-service-page .service-hero-panel__copy .service-hero-panel__meta {
  margin-top: 0;
}

body.legacy-refresh.legacy-service-page .service-hero-panel__copy .service-hero-panel__meta span {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

body.legacy-refresh.legacy-service-page .service-hero-panel__offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

body.legacy-refresh.legacy-service-page .service-hero-offer {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 100%;
  padding: 18px 18px 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

body.legacy-refresh.legacy-service-page .service-hero-offer__label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body.legacy-refresh.legacy-service-page .service-hero-offer__price {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

body.legacy-refresh.legacy-service-page .service-hero-panel__form-shell {
  display: grid;
}

body.legacy-refresh.legacy-service-page .service-hero-panel__form-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 100%;
  padding: 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 44px rgba(15, 22, 27, 0.14);
}

body.legacy-refresh.legacy-service-page .service-hero-panel__form-kicker {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.legacy-refresh.legacy-service-page .service-hero-panel__form-title {
  color: var(--ink);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.04;
}

body.legacy-refresh.legacy-service-page .service-hero-panel__form-text {
  margin: 0;
  color: rgba(49, 67, 79, 0.9);
  line-height: 1.72;
}

body.legacy-refresh.legacy-service-page .service-hero-panel__form-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.legacy-refresh.legacy-service-page .service-hero-panel__form-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(31, 142, 169, 0.08);
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
}

body.legacy-refresh.legacy-service-page .service-hero-panel__form {
  display: grid;
  gap: 14px;
  width: 100%;
  margin: 0;
}

body.legacy-refresh.legacy-service-page .service-hero-panel__form input[type='text'],
body.legacy-refresh.legacy-service-page .service-hero-panel__form input[type='tel'] {
  width: 100%;
  height: 56px;
  margin: 0;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(31, 142, 169, 0.14);
  background: rgba(244, 249, 251, 0.98);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body.legacy-refresh.legacy-service-page .service-hero-panel__form input[type='text']::placeholder,
body.legacy-refresh.legacy-service-page .service-hero-panel__form input[type='tel']::placeholder {
  color: rgba(92, 111, 124, 0.9);
}

body.legacy-refresh.legacy-service-page .service-hero-panel__form input[type='text']:hover,
body.legacy-refresh.legacy-service-page .service-hero-panel__form input[type='text']:focus,
body.legacy-refresh.legacy-service-page .service-hero-panel__form input[type='tel']:hover,
body.legacy-refresh.legacy-service-page .service-hero-panel__form input[type='tel']:focus {
  border-color: rgba(31, 142, 169, 0.22);
  background: rgba(255, 255, 255, 1);
  color: var(--ink);
}

body.legacy-refresh.legacy-service-page .service-hero-panel__form input[type='submit'] {
  width: 100%;
  min-height: 56px;
  color: #fff;
  background: linear-gradient(135deg, rgba(245, 121, 58, 1) 0%, rgba(239, 151, 70, 1) 48%, rgba(255, 189, 96, 1) 100%);
  background-size: 200% 100%;
  box-shadow: 0 18px 32px rgba(239, 130, 54, 0.22);
  animation: service-hero-cta-glow 3.4s ease-in-out infinite;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
  border-radius: 999px;
}

body.legacy-refresh.legacy-service-page .service-hero-panel__form input[type='submit']:hover {
  transform: translateY(-1px);
  filter: saturate(1.04);
  box-shadow: 0 22px 38px rgba(239, 130, 54, 0.28);
}

body.legacy-refresh.legacy-service-page .service-hero-panel__form input[type='submit']:active {
  transform: translateY(0);
}

@keyframes service-hero-cta-glow {
  0%,
  100% {
    background-position: 0% 50%;
    box-shadow: 0 18px 32px rgba(239, 130, 54, 0.22), 0 0 0 0 rgba(239, 130, 54, 0.16);
  }

  50% {
    background-position: 100% 50%;
    box-shadow: 0 24px 40px rgba(239, 130, 54, 0.3), 0 0 0 8px rgba(239, 130, 54, 0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.legacy-refresh.legacy-service-page .service-hero-panel__form input[type='submit'] {
    animation: none;
  }
}

body.legacy-refresh.legacy-service-page .service-hero-panel__form-note {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(15, 22, 27, 0.04);
  border: 1px solid rgba(31, 142, 169, 0.1);
  color: rgba(49, 67, 79, 0.88);
  font-size: 14px;
  line-height: 1.6;
}

body.legacy-refresh.legacy-service-page .service-aside-card__actions .service-btn--primary {
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  box-shadow: 0 18px 28px rgba(10, 18, 24, 0.16);
}

body.legacy-refresh.legacy-service-page .service-aside-card__actions .service-btn--ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

body.legacy-refresh.legacy-service-page .service-scope {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(31, 142, 169, 0.1);
  background:
    radial-gradient(circle at top right, rgba(125, 192, 75, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(247, 252, 255, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: var(--shadow-soft);
}

body.legacy-refresh.legacy-service-page .service-scope__intro {
  display: grid;
  gap: 10px;
  max-width: 920px;
}

body.legacy-refresh.legacy-service-page .service-scope__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

body.legacy-refresh.legacy-service-page .service-scope-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0;
  min-height: 100%;
  padding: 22px 20px 20px;
  border-radius: 24px;
  border: 1px solid rgba(31, 142, 169, 0.12);
  background: rgba(255, 255, 255, 0.94);
  overflow: hidden;
}

body.legacy-refresh.legacy-service-page .service-scope-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, rgba(31, 142, 169, 0.98), rgba(125, 192, 75, 0.98));
}

body.legacy-refresh.legacy-service-page .service-scope-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(31, 142, 169, 0.08);
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

body.legacy-refresh.legacy-service-page .service-scope-card h3 {
  margin: 16px 0 10px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.14;
}

body.legacy-refresh.legacy-service-page .service-scope-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

body.legacy-refresh.legacy-service-page .service-author-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1.2fr) minmax(240px, 0.72fr);
  gap: 24px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(31, 142, 169, 0.12);
  background:
    radial-gradient(circle at top right, rgba(125, 192, 75, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 252, 248, 0.98));
  box-shadow: var(--shadow-soft);
}

body.legacy-refresh.legacy-service-page .service-author-card__media {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(31, 142, 169, 0.08);
}

body.legacy-refresh.legacy-service-page .service-author-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

body.legacy-refresh.legacy-service-page .service-author-card__copy {
  display: grid;
  align-content: start;
  gap: 10px;
}

body.legacy-refresh.legacy-service-page .service-author-card__role {
  color: var(--teal);
  font-size: 16px;
  font-weight: 700;
}

body.legacy-refresh.legacy-service-page .service-author-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

body.legacy-refresh.legacy-service-page .service-author-card__badges span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(31, 142, 169, 0.08);
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
}

body.legacy-refresh.legacy-service-page .service-author-card__actions {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(31, 142, 169, 0.12);
}

body.legacy-refresh.legacy-service-page .service-author-card__actions::before {
  content: "Этот врач ведет данное направление";
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

body.legacy-refresh.legacy-service-page .service-author-card__actions .service-btn {
  width: 100%;
  white-space: normal;
}

body.legacy-refresh.legacy-service-page .service-packages {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(31, 142, 169, 0.1);
  background:
    radial-gradient(circle at top right, rgba(245, 121, 58, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 252, 249, 0.98), rgba(247, 252, 255, 0.98));
  box-shadow: var(--shadow-soft);
}

body.legacy-refresh.legacy-service-page .service-packages__intro {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

body.legacy-refresh.legacy-service-page .service-packages__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

body.legacy-refresh.legacy-service-page .service-package-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(31, 142, 169, 0.12);
  background: rgba(255, 255, 255, 0.92);
}

body.legacy-refresh.legacy-service-page .service-package-card--featured {
  background:
    radial-gradient(circle at top right, rgba(125, 192, 75, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(248, 255, 246, 0.98), rgba(255, 255, 255, 0.98));
  border-color: rgba(125, 192, 75, 0.24);
}

body.legacy-refresh.legacy-service-page .service-package-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(31, 142, 169, 0.08);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.legacy-refresh.legacy-service-page .service-package-card__label {
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
}

body.legacy-refresh.legacy-service-page .service-package-card__price {
  margin-top: 8px;
  color: var(--accent);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

body.legacy-refresh.legacy-service-page .service-package-card__points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

body.legacy-refresh.legacy-service-page .service-package-card__points li {
  position: relative;
  list-style: none;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

body.legacy-refresh.legacy-service-page .service-package-card__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}

body.legacy-refresh.legacy-service-page .service-package-card .service-btn {
  width: 100%;
  margin-top: auto;
}

body.legacy-refresh.legacy-service-page .service-packages__note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(31, 142, 169, 0.12);
  color: var(--muted);
  line-height: 1.75;
}

body.legacy-refresh.legacy-service-page .service-hero-panel__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

body.legacy-refresh.legacy-service-page .service-hero-panel__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(31, 142, 169, 0.08);
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
}

body.legacy-refresh.legacy-service-page .inner-form__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

body.legacy-refresh.legacy-service-page .service-insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

body.legacy-refresh.legacy-service-page .service-card,
body.legacy-refresh.legacy-service-page .service-spotlights,
body.legacy-refresh.legacy-service-page .service-process,
body.legacy-refresh.legacy-service-page .service-checklist,
body.legacy-refresh.legacy-service-page .service-faq,
body.legacy-refresh.legacy-service-page .service-related {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(31, 142, 169, 0.1);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

body.legacy-refresh.legacy-service-page .service-card--accent {
  background:
    radial-gradient(circle at top right, rgba(245, 121, 58, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 248, 242, 0.98), rgba(255, 255, 255, 0.98));
}

body.legacy-refresh.legacy-service-page .service-spotlights__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

body.legacy-refresh.legacy-service-page .service-spotlight-card {
  position: relative;
  padding: 24px 22px 22px;
  border-radius: 24px;
  border: 1px solid rgba(31, 142, 169, 0.1);
  background: linear-gradient(180deg, rgba(247, 252, 255, 0.94), rgba(255, 255, 255, 0.98));
  overflow: hidden;
}

body.legacy-refresh.legacy-service-page .service-spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, rgba(31, 142, 169, 0.95), rgba(125, 192, 75, 0.95));
}

body.legacy-refresh.legacy-service-page .service-spotlight-card__kicker {
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.legacy-refresh.legacy-service-page .service-spotlight-card h3,
body.legacy-refresh.legacy-service-page .service-checklist__group h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.15;
}

body.legacy-refresh.legacy-service-page .service-checklist__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

body.legacy-refresh.legacy-service-page .service-checklist__group {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(31, 142, 169, 0.1);
  background: linear-gradient(180deg, rgba(255, 249, 244, 0.98), rgba(247, 252, 255, 0.98));
}

body.legacy-refresh.legacy-service-page .service-checklist__group ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

body.legacy-refresh.legacy-service-page .service-checklist__group li {
  position: relative;
  list-style: none;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

body.legacy-refresh.legacy-service-page .service-checklist__group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

body.legacy-refresh.legacy-service-page .short-links {
  margin: 26px 0 28px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(31, 142, 169, 0.12);
  background:
    radial-gradient(circle at top right, rgba(245, 121, 58, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 250, 245, 0.98), rgba(247, 252, 255, 0.98));
  box-shadow: var(--shadow-soft);
}

body.legacy-refresh.legacy-service-page .short-links--collapsible {
  overflow: hidden;
}

body.legacy-refresh.legacy-service-page .short-links__summary {
  position: relative;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 54px 0 0;
  list-style: none;
  cursor: pointer;
}

body.legacy-refresh.legacy-service-page .short-links__summary::-webkit-details-marker {
  display: none;
}

body.legacy-refresh.legacy-service-page .short-links__summary::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 4px;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

body.legacy-refresh.legacy-service-page .short-links[open] .short-links__summary::after {
  transform: rotate(-135deg);
}

body.legacy-refresh.legacy-service-page .short-links__eyebrow {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.legacy-refresh.legacy-service-page .short-links__title {
  color: var(--ink);
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 800;
  line-height: 1.08;
}

body.legacy-refresh.legacy-service-page .short-links__meta {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

body.legacy-refresh.legacy-service-page .short-links__body {
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid rgba(31, 142, 169, 0.1);
}

body.legacy-refresh.legacy-service-page .short-links .zag {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0 0 18px;
  color: var(--ink);
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.08;
}

body.legacy-refresh.legacy-service-page .short-links .zag::before {
  content: "Навигация по странице";
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.legacy-refresh.legacy-service-page .short-links ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
  margin: 0;
  padding: 0;
  columns: unset;
  counter-reset: short-links;
}

body.legacy-refresh.legacy-service-page .short-links ul li {
  list-style: none;
  margin: 0;
  padding: 0;
  break-inside: avoid;
  counter-increment: short-links;
}

body.legacy-refresh.legacy-service-page .short-links ul li::before {
  display: none;
}

body.legacy-refresh.legacy-service-page .short-links ul li a {
  position: relative;
  display: block;
  min-height: 100%;
  padding: 16px 18px 16px 52px;
  border: 1px solid rgba(31, 142, 169, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(18, 29, 36, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

body.legacy-refresh.legacy-service-page .short-links ul li a::before {
  content: counter(short-links, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 17px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

body.legacy-refresh.legacy-service-page .short-links ul li a:hover {
  transform: translateY(-1px);
  color: var(--accent);
  border-color: rgba(245, 121, 58, 0.24);
  box-shadow: 0 16px 30px rgba(18, 29, 36, 0.1);
}

body.legacy-refresh.legacy-service-page[data-service-category="urgent_help"] {
  --service-hero-start: rgba(10, 36, 46, 0.98);
  --service-hero-end: rgba(31, 142, 169, 0.96);
  --service-hero-accent: rgba(125, 192, 75, 0.88);
}

body.legacy-refresh.legacy-service-page[data-service-category="coding"] {
  --service-hero-start: rgba(12, 30, 42, 0.98);
  --service-hero-end: rgba(42, 103, 132, 0.96);
  --service-hero-accent: rgba(31, 142, 169, 0.88);
}

body.legacy-refresh.legacy-service-page[data-service-category="drug_recovery"] {
  --service-hero-start: rgba(12, 34, 41, 0.98);
  --service-hero-end: rgba(37, 112, 98, 0.96);
  --service-hero-accent: rgba(125, 192, 75, 0.88);
}

body.legacy-refresh.legacy-service-page[data-service-category="intervention"] {
  --service-hero-start: rgba(23, 29, 41, 0.98);
  --service-hero-end: rgba(94, 66, 31, 0.96);
  --service-hero-accent: rgba(245, 121, 58, 0.9);
}

body.legacy-refresh.legacy-service-page .service-process__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

body.legacy-refresh.legacy-service-page .service-process__item {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(247, 252, 255, 0.94), rgba(255, 248, 242, 0.96));
  border: 1px solid rgba(31, 142, 169, 0.1);
}

body.legacy-refresh.legacy-service-page .service-process__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(31, 142, 169, 0.1);
  color: var(--teal);
  font-weight: 800;
}

body.legacy-refresh.legacy-service-page .service-process__item h3 {
  margin: 0 0 10px;
  font-size: 22px;
  color: var(--ink);
}

body.legacy-refresh.legacy-service-page .service-faq__list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

body.legacy-refresh.legacy-service-page .service-faq__item {
  border: 1px solid rgba(31, 142, 169, 0.12);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(249, 252, 255, 0.96));
  overflow: hidden;
}

body.legacy-refresh.legacy-service-page .service-faq__item summary {
  position: relative;
  padding: 20px 56px 20px 20px;
  cursor: pointer;
  list-style: none;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

body.legacy-refresh.legacy-service-page .service-faq__item summary::-webkit-details-marker {
  display: none;
}

body.legacy-refresh.legacy-service-page .service-faq__item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--teal);
  font-size: 28px;
  font-weight: 500;
}

body.legacy-refresh.legacy-service-page .service-faq__item[open] summary::after {
  content: "–";
}

body.legacy-refresh.legacy-service-page .service-faq__answer {
  padding: 0 20px 20px;
}

body.legacy-refresh.legacy-service-page .service-related__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

body.legacy-refresh.legacy-service-page .service-related__card {
  display: grid;
  gap: 10px;
  min-height: 160px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(31, 142, 169, 0.12);
  background: linear-gradient(180deg, rgba(247, 252, 255, 0.96), rgba(255, 255, 255, 1));
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.legacy-refresh.legacy-service-page .service-related__card:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 142, 169, 0.22);
  box-shadow: var(--shadow-soft);
}

body.legacy-refresh.legacy-service-page .service-related__label,
body.legacy-refresh.legacy-service-page .service-related__arrow {
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
}

body.legacy-refresh.legacy-service-page .service-related__card strong {
  font-size: 26px;
  line-height: 1.16;
  color: var(--ink);
}

body.legacy-refresh.legacy-service-page .service-related__arrow {
  margin-top: auto;
}

body.legacy-refresh.legacy-service-page[data-service-category="urgent_help"] .service-hero-panel,
body.legacy-refresh.legacy-service-page[data-service-category="urgent_help"] .service-scope,
body.legacy-refresh.legacy-service-page[data-service-category="urgent_help"] .service-checklist__group {
  background:
    radial-gradient(circle at top right, rgba(245, 121, 58, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 248, 242, 0.98), rgba(255, 255, 255, 0.98));
}

body.legacy-refresh.legacy-service-page[data-service-category="urgent_help"] .service-spotlight-card::before,
body.legacy-refresh.legacy-service-page[data-service-category="urgent_help"] .service-scope-card::before {
  background: linear-gradient(90deg, rgba(245, 121, 58, 0.98), rgba(255, 184, 82, 0.98));
}

body.legacy-refresh.legacy-service-page[data-service-category="coding"] .service-hero-panel,
body.legacy-refresh.legacy-service-page[data-service-category="coding"] .service-scope,
body.legacy-refresh.legacy-service-page[data-service-category="coding"] .service-checklist__group {
  background:
    radial-gradient(circle at top right, rgba(31, 142, 169, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(245, 252, 255, 0.98), rgba(255, 255, 255, 0.98));
}

body.legacy-refresh.legacy-service-page[data-service-category="coding"] .service-spotlight-card::before,
body.legacy-refresh.legacy-service-page[data-service-category="coding"] .service-scope-card::before {
  background: linear-gradient(90deg, rgba(31, 142, 169, 0.98), rgba(95, 178, 202, 0.98));
}

body.legacy-refresh.legacy-service-page[data-service-category="drug_recovery"] .service-hero-panel,
body.legacy-refresh.legacy-service-page[data-service-category="drug_recovery"] .service-scope,
body.legacy-refresh.legacy-service-page[data-service-category="drug_recovery"] .service-checklist__group {
  background:
    radial-gradient(circle at top right, rgba(125, 192, 75, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(247, 252, 255, 0.98), rgba(255, 255, 255, 0.98));
}

body.legacy-refresh.legacy-service-page[data-service-category="drug_recovery"] .service-spotlight-card::before,
body.legacy-refresh.legacy-service-page[data-service-category="drug_recovery"] .service-scope-card::before {
  background: linear-gradient(90deg, rgba(31, 142, 169, 0.98), rgba(125, 192, 75, 0.98));
}

body.legacy-refresh.legacy-service-page[data-service-category="intervention"] .service-hero-panel,
body.legacy-refresh.legacy-service-page[data-service-category="intervention"] .service-scope,
body.legacy-refresh.legacy-service-page[data-service-category="intervention"] .service-checklist__group {
  background:
    radial-gradient(circle at top right, rgba(212, 103, 51, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 250, 245, 0.98), rgba(255, 255, 255, 0.98));
}

body.legacy-refresh.legacy-service-page[data-service-category="intervention"] .service-spotlight-card::before,
body.legacy-refresh.legacy-service-page[data-service-category="intervention"] .service-scope-card::before {
  background: linear-gradient(90deg, rgba(220, 103, 51, 0.98), rgba(245, 121, 58, 0.98));
}

body.legacy-refresh.legacy-service-page .service-scope,
body.legacy-refresh.legacy-service-page .service-packages,
body.legacy-refresh.legacy-service-page .service-spotlights,
body.legacy-refresh.legacy-service-page .service-process,
body.legacy-refresh.legacy-service-page .service-checklist,
body.legacy-refresh.legacy-service-page .service-faq,
body.legacy-refresh.legacy-service-page .service-related {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

body.legacy-refresh.legacy-service-page .service-scope::after,
body.legacy-refresh.legacy-service-page .service-packages::after,
body.legacy-refresh.legacy-service-page .service-spotlights::after,
body.legacy-refresh.legacy-service-page .service-checklist::after,
body.legacy-refresh.legacy-service-page .service-faq::after,
body.legacy-refresh.legacy-service-page .service-related::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -72px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: -1;
}

body.legacy-refresh.legacy-service-page .service-scope__intro,
body.legacy-refresh.legacy-service-page .service-packages__intro {
  position: relative;
  z-index: 1;
}

body.legacy-refresh.legacy-service-page .service-scope-card,
body.legacy-refresh.legacy-service-page .service-package-card,
body.legacy-refresh.legacy-service-page .service-spotlight-card,
body.legacy-refresh.legacy-service-page .service-checklist__group,
body.legacy-refresh.legacy-service-page .service-related__card {
  box-shadow: 0 18px 34px rgba(18, 29, 36, 0.07);
}

body.legacy-refresh.legacy-service-page .service-scope-card:nth-child(4n + 2) {
  background:
    radial-gradient(circle at top right, rgba(245, 121, 58, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 250, 245, 0.98), rgba(255, 255, 255, 0.98));
}

body.legacy-refresh.legacy-service-page .service-scope-card:nth-child(4n + 3) {
  background:
    radial-gradient(circle at top right, rgba(31, 142, 169, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(245, 251, 255, 0.98), rgba(255, 255, 255, 0.98));
}

body.legacy-refresh.legacy-service-page .service-scope-card:nth-child(4n + 4) {
  background:
    radial-gradient(circle at top right, rgba(125, 192, 75, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(248, 255, 246, 0.98), rgba(255, 255, 255, 0.98));
}

body.legacy-refresh.legacy-service-page .service-package-card {
  position: relative;
  overflow: hidden;
}

body.legacy-refresh.legacy-service-page .service-package-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

body.legacy-refresh.legacy-service-page .service-package-card:nth-child(4n + 2) {
  background:
    radial-gradient(circle at top right, rgba(31, 142, 169, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(246, 252, 255, 0.98), rgba(255, 255, 255, 0.98));
}

body.legacy-refresh.legacy-service-page .service-package-card:nth-child(4n + 3) {
  background:
    radial-gradient(circle at top right, rgba(245, 121, 58, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 249, 244, 0.98), rgba(255, 255, 255, 0.98));
}

body.legacy-refresh.legacy-service-page .service-package-card:nth-child(4n + 4) {
  background:
    radial-gradient(circle at top right, rgba(125, 192, 75, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(249, 255, 247, 0.98), rgba(255, 255, 255, 0.98));
}

body.legacy-refresh.legacy-service-page .service-package-card--featured {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px rgba(17, 47, 63, 0.12);
}

body.legacy-refresh.legacy-service-page .service-package-card__price {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 18px;
  background: rgba(245, 121, 58, 0.08);
  border: 1px solid rgba(245, 121, 58, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

body.legacy-refresh.legacy-service-page .service-insight-grid {
  gap: 24px;
}

body.legacy-refresh.legacy-service-page .service-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(245, 121, 58, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 250, 246, 0.98), rgba(255, 255, 255, 0.98));
}

body.legacy-refresh.legacy-service-page .service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

body.legacy-refresh.legacy-service-page .service-card--accent {
  background:
    radial-gradient(circle at top right, rgba(245, 121, 58, 0.22), transparent 34%),
    radial-gradient(circle at bottom left, rgba(125, 192, 75, 0.14), transparent 42%),
    linear-gradient(145deg, rgba(15, 43, 55, 0.99), rgba(20, 73, 91, 0.99) 58%, rgba(11, 30, 39, 0.99) 100%);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 52px rgba(11, 29, 37, 0.24);
  overflow: hidden;
}

body.legacy-refresh.legacy-service-page .service-card--accent::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 38%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 32%);
  pointer-events: none;
}

body.legacy-refresh.legacy-service-page .service-card--accent::after {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.56), rgba(245, 121, 58, 0.92));
  pointer-events: none;
}

body.legacy-refresh.legacy-service-page .service-card--accent h2 {
  color: #fff;
  margin-bottom: 18px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
  text-shadow: 0 10px 28px rgba(7, 17, 23, 0.18);
}

body.legacy-refresh.legacy-service-page .service-card--accent h2,
body.legacy-refresh.legacy-service-page .service-card--accent p,
body.legacy-refresh.legacy-service-page .service-card--accent ul li {
  color: rgba(255, 255, 255, 0.96);
}

body.legacy-refresh.legacy-service-page .service-card--accent .section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.1em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

body.legacy-refresh.legacy-service-page .service-card--accent ul {
  gap: 14px;
}

body.legacy-refresh.legacy-service-page .service-card--accent ul li {
  padding-left: 22px;
  line-height: 1.7;
  font-weight: 500;
}

body.legacy-refresh.legacy-service-page .service-card--accent ul li::before {
  top: 10px;
  width: 9px;
  height: 9px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}

body.legacy-refresh.legacy-service-page .service-spotlights {
  background:
    radial-gradient(circle at top right, rgba(31, 142, 169, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(244, 251, 255, 0.98), rgba(255, 255, 255, 0.98));
}

body.legacy-refresh.legacy-service-page .service-spotlight-card:nth-child(3n + 1)::before {
  background: linear-gradient(90deg, rgba(31, 142, 169, 0.98), rgba(125, 192, 75, 0.98));
}

body.legacy-refresh.legacy-service-page .service-spotlight-card:nth-child(3n + 2)::before {
  background: linear-gradient(90deg, rgba(245, 121, 58, 0.98), rgba(255, 184, 82, 0.98));
}

body.legacy-refresh.legacy-service-page .service-spotlight-card:nth-child(3n + 3)::before {
  background: linear-gradient(90deg, rgba(21, 94, 114, 0.98), rgba(31, 142, 169, 0.98));
}

body.legacy-refresh.legacy-service-page .service-process {
  background:
    radial-gradient(circle at top right, rgba(245, 121, 58, 0.16), transparent 26%),
    radial-gradient(circle at bottom left, rgba(125, 192, 75, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(15, 31, 40, 0.98), rgba(24, 74, 92, 0.98));
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 52px rgba(17, 33, 42, 0.2);
}

body.legacy-refresh.legacy-service-page .service-process .section-kicker {
  color: rgba(255, 255, 255, 0.68);
}

body.legacy-refresh.legacy-service-page .service-process h2,
body.legacy-refresh.legacy-service-page .service-process > p {
  color: #fff;
}

body.legacy-refresh.legacy-service-page .service-process__item {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.legacy-refresh.legacy-service-page .service-process__item h3,
body.legacy-refresh.legacy-service-page .service-process__item p {
  color: rgba(255, 255, 255, 0.92);
}

body.legacy-refresh.legacy-service-page .service-process__num {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

body.legacy-refresh.legacy-service-page .service-checklist {
  background:
    radial-gradient(circle at top right, rgba(245, 121, 58, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 251, 247, 0.98), rgba(255, 255, 255, 0.98));
}

body.legacy-refresh.legacy-service-page .service-checklist__group:nth-child(2n) {
  background:
    radial-gradient(circle at top right, rgba(31, 142, 169, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(246, 252, 255, 0.98), rgba(255, 255, 255, 0.98));
}

body.legacy-refresh.legacy-service-page .service-faq {
  background:
    radial-gradient(circle at top right, rgba(31, 142, 169, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(246, 252, 255, 0.98), rgba(255, 255, 255, 0.98));
}

body.legacy-refresh.legacy-service-page .service-faq__item {
  box-shadow: 0 12px 24px rgba(18, 29, 36, 0.05);
}

body.legacy-refresh.legacy-service-page .service-faq__item[open] {
  border-color: rgba(245, 121, 58, 0.18);
  box-shadow: 0 18px 30px rgba(18, 29, 36, 0.08);
}

body.legacy-refresh.legacy-service-page .service-faq__item[open] summary {
  color: var(--accent-deep);
}

body.legacy-refresh.legacy-service-page .service-related {
  background:
    radial-gradient(circle at top right, rgba(245, 121, 58, 0.12), transparent 28%),
    radial-gradient(circle at bottom left, rgba(31, 142, 169, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 250, 245, 0.98), rgba(255, 255, 255, 0.98));
}

body.legacy-refresh.legacy-service-page .service-related__card {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  padding-top: 26px;
}

body.legacy-refresh.legacy-service-page .service-related__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, rgba(31, 142, 169, 0.98), rgba(125, 192, 75, 0.98));
}

body.legacy-refresh.legacy-service-page .service-related__card:nth-child(3n + 2)::before {
  background: linear-gradient(90deg, rgba(245, 121, 58, 0.98), rgba(255, 184, 82, 0.98));
}

body.legacy-refresh.legacy-service-page .service-related__card:nth-child(3n + 3)::before {
  background: linear-gradient(90deg, rgba(21, 94, 114, 0.98), rgba(31, 142, 169, 0.98));
}

body.legacy-refresh.legacy-service-page .service-related__arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.legacy-refresh.legacy-service-page .service-related__arrow::after {
  content: "→";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(31, 142, 169, 0.08);
  color: var(--teal);
  font-size: 16px;
}

body.legacy-refresh.legacy-service-page .left-side {
  grid-row: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-content: start;
  align-items: start;
  margin-top: 8px;
}

body.legacy-refresh.legacy-service-page .service-aside-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 1fr) minmax(220px, 280px);
  gap: 18px 28px;
  align-items: start;
  padding: 28px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 24%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.08), transparent 36%),
    linear-gradient(145deg, rgba(16, 31, 40, 0.98), rgba(21, 94, 114, 0.98) 62%, rgba(245, 121, 58, 0.94) 150%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 50px rgba(17, 33, 42, 0.22);
}

body.legacy-refresh.legacy-service-page .service-aside-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

body.legacy-refresh.legacy-service-page .service-aside-card__eyebrow,
body.legacy-refresh.legacy-service-page .service-aside-card__phone,
body.legacy-refresh.legacy-service-page .service-aside-card > p {
  grid-column: 1;
}

body.legacy-refresh.legacy-service-page .service-aside-card__eyebrow {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.legacy-refresh.legacy-service-page .service-aside-card__phone {
  display: inline-block;
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(34px, 3vw, 44px);
  font-weight: 800;
  line-height: 0.98;
  text-decoration: none;
  text-wrap: balance;
}

body.legacy-refresh.legacy-service-page .service-aside-card__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 0;
  grid-column: 3;
  align-self: center;
}

body.legacy-refresh.legacy-service-page .service-aside-card__points {
  grid-column: 2;
  grid-row: 1 / span 3;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
  padding: 6px 0 6px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  align-self: center;
}

body.legacy-refresh.legacy-service-page .service-aside-card__points li {
  font-size: 16px;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
}

body.legacy-refresh.legacy-service-page .left-side .content {
  max-height: none;
  min-height: 100%;
  padding: 28px;
  border: 1px solid rgba(31, 142, 169, 0.12);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(245, 121, 58, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 252, 249, 0.98), rgba(247, 252, 255, 0.98));
  box-shadow: var(--shadow-soft);
}

body.legacy-refresh.legacy-service-page .left-side .content > .name {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0 0 20px;
  color: var(--ink);
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.04;
  background: none;
}

body.legacy-refresh.legacy-service-page .left-side .content > .name::before {
  content: "Смежные направления";
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.legacy-refresh.legacy-service-page .left-side .content > ul.left--menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  border-bottom: 0;
}

body.legacy-refresh.legacy-service-page .left-side .content > ul.left--menu > li {
  display: grid;
  align-content: start;
  gap: 14px;
  margin: 0;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(31, 142, 169, 0.12);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(18, 29, 36, 0.06);
  list-style: none;
}

body.legacy-refresh.legacy-service-page .left-side .content > ul.left--menu > li > a {
  position: relative;
  display: block;
  padding-right: 26px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.16;
  text-decoration: none;
}

body.legacy-refresh.legacy-service-page .left-side .content > ul.left--menu > li > a::after {
  content: "→";
  position: absolute;
  top: 0;
  right: 0;
  color: var(--teal);
  font-size: 20px;
  line-height: 1;
}

body.legacy-refresh.legacy-service-page .left-side .content > ul.left--menu > li > a.active,
body.legacy-refresh.legacy-service-page .left-side .content > ul.left--menu > li > a:hover {
  color: var(--accent);
}

body.legacy-refresh.legacy-service-page .left-side .content ul.sub-left-menu,
body.legacy-refresh.legacy-service-page .left-side .content ul.sub-sub-left-menu {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 0;
}

body.legacy-refresh.legacy-service-page .left-side .content ul.sub-left-menu > li,
body.legacy-refresh.legacy-service-page .left-side .content ul.sub-sub-left-menu > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.legacy-refresh.legacy-service-page .left-side .content ul.sub-left-menu > li > a,
body.legacy-refresh.legacy-service-page .left-side .content ul.sub-sub-left-menu > li > a {
  position: relative;
  display: block;
  min-height: 0;
  margin: 0;
  padding: 0 0 0 16px;
  border-radius: 0;
  border: 0;
  background: none;
  color: var(--teal);
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.2s ease;
}

body.legacy-refresh.legacy-service-page .left-side .content ul.sub-left-menu > li > a::before,
body.legacy-refresh.legacy-service-page .left-side .content ul.sub-sub-left-menu > li > a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(31, 142, 169, 0.76);
}

body.legacy-refresh.legacy-service-page .left-side .content ul.sub-left-menu > li > a:hover,
body.legacy-refresh.legacy-service-page .left-side .content ul.sub-sub-left-menu > li > a:hover {
  color: var(--accent);
}

body.legacy-refresh.legacy-service-page .left-side .content ul.sub-sub-left-menu {
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
  padding-top: 4px;
}

body.legacy-refresh.legacy-service-page .left-side .content ul.sub-sub-left-menu > li > a {
  min-height: 0;
  padding: 0 0 0 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.55;
}

body.legacy-refresh.legacy-service-page .inner-form__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

body.legacy-refresh.legacy-service-page .page-content > p:first-child {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.7;
}

body.legacy-refresh.legacy-service-page .page-content h2 {
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid rgba(31, 142, 169, 0.12);
}

body.legacy-refresh.legacy-service-page .page-content a {
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 142, 169, 0.2);
}

body.legacy-refresh.legacy-service-page .page-content a:hover {
  color: var(--accent);
  border-bottom-color: rgba(245, 121, 58, 0.24);
}

@media (max-width: 1100px) {
  body.legacy-refresh.legacy-service-page .left-side,
  body.legacy-refresh.legacy-service-page .service-hero-panel,
  body.legacy-refresh.legacy-service-page .service-author-card,
  body.legacy-refresh.legacy-service-page .service-insight-grid,
  body.legacy-refresh.legacy-service-page .service-scope__grid,
  body.legacy-refresh.legacy-service-page .service-spotlights__grid,
  body.legacy-refresh.legacy-service-page .service-process__grid,
  body.legacy-refresh.legacy-service-page .service-checklist__grid,
  body.legacy-refresh.legacy-service-page .service-related__grid {
    grid-template-columns: 1fr;
  }

  body.legacy-refresh.legacy-service-page .service-packages__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.legacy-refresh.legacy-service-page .service-scope__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.legacy-refresh.legacy-service-page .inner-form .wrap {
    grid-template-columns: 1fr;
  }

  body.legacy-refresh.legacy-service-page .inner-form__phone {
    width: 100%;
  }

  body.legacy-refresh.legacy-service-page .left-side .content > ul.left--menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.legacy-refresh.legacy-service-page .service-aside-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  body.legacy-refresh.legacy-service-page .service-aside-card__eyebrow,
  body.legacy-refresh.legacy-service-page .service-aside-card__phone,
  body.legacy-refresh.legacy-service-page .service-aside-card > p,
  body.legacy-refresh.legacy-service-page .service-aside-card__points,
  body.legacy-refresh.legacy-service-page .service-aside-card__actions {
    grid-column: auto;
    grid-row: auto;
  }

  body.legacy-refresh.legacy-service-page .service-aside-card__points {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.legacy-refresh.legacy-service-page .main-content .bg {
    height: 420px !important;
  }

  body.legacy-refresh.legacy-service-page .main-content .bg .bg-background {
    padding: 30px 28px 74px !important;
  }

  body.legacy-refresh.legacy-service-page .service-hero-panel {
    margin-top: -38px;
    padding: 10px;
  }

  body.legacy-refresh.legacy-service-page .service-hero-panel__copy,
  body.legacy-refresh.legacy-service-page .service-hero-panel__form-card {
    padding: 26px 24px;
  }
}

@media (max-width: 720px) {
  body.legacy-refresh.legacy-service-page .page-content {
    padding: 26px 20px 30px;
    border-radius: 24px;
  }

  body.legacy-refresh.legacy-service-page .service-hero-panel,
  body.legacy-refresh.legacy-service-page .service-scope,
  body.legacy-refresh.legacy-service-page .service-author-card,
  body.legacy-refresh.legacy-service-page .service-packages,
  body.legacy-refresh.legacy-service-page .service-card,
  body.legacy-refresh.legacy-service-page .service-spotlights,
  body.legacy-refresh.legacy-service-page .service-process,
  body.legacy-refresh.legacy-service-page .service-checklist,
  body.legacy-refresh.legacy-service-page .service-faq,
  body.legacy-refresh.legacy-service-page .service-related,
  body.legacy-refresh.legacy-service-page .service-aside-card {
    padding: 22px 18px;
    border-radius: 24px;
  }

  body.legacy-refresh.legacy-service-page .service-hero-panel__meta,
  body.legacy-refresh.legacy-service-page .inner-form__meta {
    gap: 8px;
  }

  body.legacy-refresh.legacy-service-page .service-hero-panel__meta span,
  body.legacy-refresh.legacy-service-page .inner-form__meta span {
    min-height: 34px;
    font-size: 13px;
  }

  body.legacy-refresh.legacy-service-page .service-aside-card__phone {
    font-size: 30px;
  }

  body.legacy-refresh.legacy-service-page .service-aside-card__points {
    grid-template-columns: 1fr;
  }

  body.legacy-refresh.legacy-service-page .service-aside-card__actions {
    grid-template-columns: 1fr;
  }

  body.legacy-refresh.legacy-service-page .service-faq__item summary {
    font-size: 18px;
    padding-right: 48px;
  }

  body.legacy-refresh.legacy-service-page .service-related__card strong {
    font-size: 22px;
  }

  body.legacy-refresh.legacy-service-page .service-packages__grid {
    grid-template-columns: 1fr;
  }

  body.legacy-refresh.legacy-service-page .service-scope__grid {
    grid-template-columns: 1fr;
  }

  body.legacy-refresh.legacy-service-page .service-package-card__price {
    font-size: 28px;
  }

  body.legacy-refresh.legacy-service-page .service-scope-card h3 {
    font-size: 22px;
  }

  body.legacy-refresh.legacy-service-page .service-author-card__actions::before {
    font-size: 16px;
  }

  body.legacy-refresh.legacy-service-page .service-spotlight-card h3,
  body.legacy-refresh.legacy-service-page .service-checklist__group h3 {
    font-size: 22px;
  }

  body.legacy-refresh.legacy-service-page .short-links {
    padding: 24px 20px;
  }

  body.legacy-refresh.legacy-service-page .short-links__summary {
    padding-right: 42px;
  }

  body.legacy-refresh.legacy-service-page .short-links__summary::after {
    top: 14px;
  }

  body.legacy-refresh.legacy-service-page .short-links ul {
    grid-template-columns: 1fr;
  }

  body.legacy-refresh.legacy-service-page .left-side .content {
    padding: 22px 18px;
    border-radius: 24px;
  }

  body.legacy-refresh.legacy-service-page .left-side .content > ul.left--menu,
  body.legacy-refresh.legacy-service-page .left-side .content ul.sub-sub-left-menu {
    grid-template-columns: 1fr;
  }

  body.legacy-refresh.legacy-service-page .page-content > p:first-child {
    font-size: 18px;
  }

  body.legacy-refresh.legacy-service-page .inner-form .wrap,
  body.legacy-refresh.legacy-service-page .inner-form form,
  body.legacy-refresh.legacy-service-page .inner-form__form {
    grid-template-columns: 1fr;
  }

  body.legacy-refresh.legacy-service-page .inner-form__card {
    padding: 22px 18px;
    border-radius: 24px;
  }

  body.legacy-refresh.legacy-service-page .inner-form__card-title {
    font-size: 24px;
  }

  body.legacy-refresh.legacy-service-page .inner-form__phone {
    width: 100%;
  }

  body.legacy-refresh.legacy-service-page .main-content .bg {
    height: 340px !important;
    border-radius: 28px;
  }

  body.legacy-refresh.legacy-service-page .main-content .bg .bg-background {
    padding: 22px 18px 58px !important;
  }

  body.legacy-refresh.legacy-service-page .main-content .bg h1.zag {
    font-size: 32px;
    max-width: 10.5ch;
  }

  body.legacy-refresh.legacy-service-page .service-hero-panel {
    margin-top: -20px;
    padding: 8px;
    border-radius: 28px;
  }

  body.legacy-refresh.legacy-service-page .service-hero-panel__copy,
  body.legacy-refresh.legacy-service-page .service-hero-panel__form-card {
    padding: 22px 18px;
    border-radius: 24px;
  }

  body.legacy-refresh.legacy-service-page .service-hero-panel__copy h2,
  body.legacy-refresh.legacy-service-page .service-hero-panel__form-title {
    font-size: 26px;
  }

  body.legacy-refresh.legacy-service-page .service-hero-panel__cta-row,
  body.legacy-refresh.legacy-service-page .service-hero-panel__offers,
  body.legacy-refresh.legacy-service-page .service-hero-panel__form {
    grid-template-columns: 1fr;
  }

  body.legacy-refresh.legacy-service-page .service-hero-panel__cta-row {
    display: grid;
  }

  body.legacy-refresh.legacy-service-page .service-hero-panel__cta-row .service-btn {
    min-width: 0;
    width: 100%;
  }

  body.legacy-refresh.legacy-service-page .service-hero-offer__price {
    font-size: 26px;
  }
}

body.legacy-refresh.legacy-info-page .main-content {
  display: grid;
  gap: 26px;
  overflow: visible;
}

body.legacy-refresh.legacy-info-page .main-content .clear {
  display: none;
}

body.legacy-refresh.legacy-info-page .left-side {
  display: grid;
  gap: 20px;
  align-content: start;
}

body.legacy-refresh.legacy-info-page .left-side .content {
  max-height: calc(100vh - 360px);
}

body.legacy-refresh.legacy-info-page .left-side .name {
  font-size: 18px;
}

body.legacy-refresh.legacy-info-page .left-side ul li a {
  line-height: 1.45;
}

body.legacy-refresh.legacy-info-page .info-page-intro,
body.legacy-refresh.legacy-info-page .info-panel-shell,
body.legacy-refresh.legacy-info-page .info-page-grid-section,
body.legacy-refresh.legacy-info-page .info-page-steps,
body.legacy-refresh.legacy-info-page .info-page-links,
body.legacy-refresh.legacy-info-page .info-page-note,
body.legacy-refresh.legacy-info-page .info-aside-card {
  border: 1px solid rgba(31, 142, 169, 0.1);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}

body.legacy-refresh.legacy-info-page .info-page-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.92fr);
  gap: 24px;
  padding: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(245, 121, 58, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(247, 252, 255, 0.98), rgba(255, 247, 241, 0.98));
}

body.legacy-refresh.legacy-info-page .info-page-intro--image {
  min-height: 380px;
  background-position: center;
  background-size: cover;
}

body.legacy-refresh.legacy-info-page .info-page-intro--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(12, 34, 41, 0.68), rgba(12, 34, 41, 0.18) 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.1));
}

body.legacy-refresh.legacy-info-page .info-page-intro__copy,
body.legacy-refresh.legacy-info-page .info-page-intro__stats {
  position: relative;
  z-index: 1;
}

body.legacy-refresh.legacy-info-page .info-page-intro__copy {
  display: grid;
  align-content: start;
  gap: 14px;
}

body.legacy-refresh.legacy-info-page .info-page-intro h1,
body.legacy-refresh.legacy-info-page .info-page-grid-section h2,
body.legacy-refresh.legacy-info-page .info-page-steps h2,
body.legacy-refresh.legacy-info-page .info-page-links h2,
body.legacy-refresh.legacy-info-page .info-page-note h2 {
  margin: 0;
  padding: 0;
  color: var(--ink);
  line-height: 1.05;
}

body.legacy-refresh.legacy-info-page .info-page-intro h1 {
  font-size: clamp(36px, 4.4vw, 62px);
}

body.legacy-refresh.legacy-info-page .info-page-intro--image h1,
body.legacy-refresh.legacy-info-page .info-page-intro--image .section-kicker,
body.legacy-refresh.legacy-info-page .info-page-intro--image .info-page-intro__text {
  color: #fff;
}

body.legacy-refresh.legacy-info-page .info-page-intro__text,
body.legacy-refresh.legacy-info-page .info-card p,
body.legacy-refresh.legacy-info-page .info-step p,
body.legacy-refresh.legacy-info-page .info-link-card p,
body.legacy-refresh.legacy-info-page .info-page-note p,
body.legacy-refresh.legacy-info-page .info-aside-card p,
body.legacy-refresh.legacy-info-page .page-content p,
body.legacy-refresh.legacy-info-page .page-content ul li,
body.legacy-refresh.legacy-info-page .page-content ol li,
body.legacy-refresh.legacy-info-page .doctor-card__focus,
body.legacy-refresh.legacy-info-page .doctor-card__bio,
body.legacy-refresh.legacy-info-page .promo-card__desc {
  color: var(--muted);
  line-height: 1.8;
}

body.legacy-refresh.legacy-info-page .info-page-intro--image .info-page-intro__text {
  color: rgba(255, 255, 255, 0.92);
}

body.legacy-refresh.legacy-info-page .info-page-intro__badges,
body.legacy-refresh.legacy-info-page .inner-form__meta,
body.legacy-refresh.legacy-info-page .doctor-card__badges,
body.legacy-refresh.legacy-info-page .review-card__meta,
body.legacy-refresh.legacy-info-page .promo-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.legacy-refresh.legacy-info-page .info-page-intro__badges span,
body.legacy-refresh.legacy-info-page .inner-form__meta span,
body.legacy-refresh.legacy-info-page .doctor-card__badges span,
body.legacy-refresh.legacy-info-page .review-card__meta span,
body.legacy-refresh.legacy-info-page .promo-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(31, 142, 169, 0.08);
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
}

body.legacy-refresh.legacy-info-page .info-page-intro--image .info-page-intro__badges span {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

body.legacy-refresh.legacy-info-page .info-page-intro__actions,
body.legacy-refresh.legacy-info-page .promo-card__actions,
body.legacy-refresh.legacy-info-page .info-aside-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body.legacy-refresh.legacy-info-page .inner-form {
  margin-top: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.legacy-refresh.legacy-info-page .inner-form .wrap {
  width: 100%;
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 440px);
  gap: 22px 28px;
  align-items: stretch;
  border: 1px solid rgba(31, 142, 169, 0.14);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(245, 121, 58, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(245, 121, 58, 0.96), rgba(31, 142, 169, 0.86));
  box-shadow: var(--shadow-soft);
}

body.legacy-refresh.legacy-info-page .inner-form .zag {
  display: grid;
  gap: 12px;
  align-content: start;
  margin: 0;
  color: #fff;
}

body.legacy-refresh.legacy-info-page .inner-form .zag::before {
  content: "Быстрый контакт";
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.legacy-refresh.legacy-info-page .inner-form .zag p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

body.legacy-refresh.legacy-info-page .inner-form__meta {
  grid-column: 1;
  align-self: start;
  margin: 0;
}

body.legacy-refresh.legacy-info-page .inner-form__meta span {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

body.legacy-refresh.legacy-info-page .inner-form form {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  gap: 14px;
  width: 100%;
  margin: 0;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 44px rgba(15, 22, 27, 0.14);
}

body.legacy-refresh.legacy-info-page .inner-form form::before {
  content: "Оставьте заявку";
  display: block;
  color: var(--ink);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 2px;
}

body.legacy-refresh.legacy-info-page .inner-form form br {
  display: none;
}

body.legacy-refresh.legacy-info-page .inner-form form input[type='text'],
body.legacy-refresh.legacy-info-page .inner-form form input[type='tel'] {
  width: 100%;
  height: 56px;
  margin: 0;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(31, 142, 169, 0.14);
  background: rgba(244, 249, 251, 0.98);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body.legacy-refresh.legacy-info-page .inner-form form input[type='text']::placeholder,
body.legacy-refresh.legacy-info-page .inner-form form input[type='tel']::placeholder {
  color: rgba(92, 111, 124, 0.9);
}

body.legacy-refresh.legacy-info-page .inner-form form input[type='text']:hover,
body.legacy-refresh.legacy-info-page .inner-form form input[type='text']:focus,
body.legacy-refresh.legacy-info-page .inner-form form input[type='tel']:hover,
body.legacy-refresh.legacy-info-page .inner-form form input[type='tel']:focus {
  border-color: rgba(31, 142, 169, 0.24);
  background: rgba(255, 255, 255, 1);
  color: var(--ink);
}

body.legacy-refresh.legacy-info-page .inner-form form input[type='submit'] {
  width: 100%;
  min-height: 56px;
  padding: 0 24px;
  color: #fff;
  background: linear-gradient(135deg, rgba(245, 121, 58, 1), rgba(239, 151, 70, 1));
  box-shadow: 0 18px 32px rgba(239, 130, 54, 0.22);
}

body.legacy-refresh.legacy-info-page .info-page-intro__stats {
  display: grid;
  gap: 14px;
  align-content: start;
}

body.legacy-refresh.legacy-info-page .info-page-intro__stat {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(31, 142, 169, 0.12);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
}

body.legacy-refresh.legacy-info-page .info-page-intro--image .info-page-intro__stat {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.24);
}

body.legacy-refresh.legacy-info-page .info-page-intro__stat strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
}

body.legacy-refresh.legacy-info-page .info-page-intro--image .info-page-intro__stat strong,
body.legacy-refresh.legacy-info-page .info-page-intro--image .info-page-intro__stat span {
  color: #fff;
}

body.legacy-refresh.legacy-info-page .info-page-intro__stat span {
  color: var(--muted);
  line-height: 1.5;
}

body.legacy-refresh.legacy-info-page .info-panel-shell,
body.legacy-refresh.legacy-info-page .info-page-grid-section,
body.legacy-refresh.legacy-info-page .info-page-steps,
body.legacy-refresh.legacy-info-page .info-page-links,
body.legacy-refresh.legacy-info-page .info-page-note {
  padding: 30px;
  background: rgba(255, 255, 255, 0.95);
}

body.legacy-refresh.legacy-info-page .info-panel-shell h2,
body.legacy-refresh.legacy-info-page .page-content h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3vw, 40px);
}

body.legacy-refresh.legacy-info-page .page-content > p:first-child {
  color: var(--ink);
  font-size: 22px;
}

body.legacy-refresh.legacy-info-page .page-content h2,
body.legacy-refresh.legacy-info-page .page-content h3 {
  padding-top: 16px;
}

body.legacy-refresh.legacy-info-page .info-card-grid,
body.legacy-refresh.legacy-info-page .info-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

body.legacy-refresh.legacy-info-page .info-card,
body.legacy-refresh.legacy-info-page .info-link-card {
  min-height: 100%;
  padding: 24px 22px;
  border-radius: 24px;
  border: 1px solid rgba(31, 142, 169, 0.1);
  background:
    radial-gradient(circle at top right, rgba(245, 121, 58, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(247, 252, 255, 0.98), rgba(255, 255, 255, 1));
}

body.legacy-refresh.legacy-info-page .info-card__kicker,
body.legacy-refresh.legacy-info-page .info-link-card__label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.legacy-refresh.legacy-info-page .info-card h3,
body.legacy-refresh.legacy-info-page .info-step h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.15;
}

body.legacy-refresh.legacy-info-page .info-step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

body.legacy-refresh.legacy-info-page .info-step {
  padding: 24px 22px;
  border-radius: 24px;
  border: 1px solid rgba(31, 142, 169, 0.1);
  background:
    radial-gradient(circle at top right, rgba(31, 142, 169, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 249, 244, 0.98), rgba(255, 255, 255, 1));
}

body.legacy-refresh.legacy-info-page .info-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(31, 142, 169, 0.1);
  color: var(--teal);
  font-weight: 800;
}

body.legacy-refresh.legacy-info-page .info-link-card {
  display: grid;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.legacy-refresh.legacy-info-page .info-link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 142, 169, 0.22);
}

body.legacy-refresh.legacy-info-page .info-link-card strong {
  color: var(--ink);
  font-size: 26px;
  line-height: 1.12;
}

body.legacy-refresh.legacy-info-page .info-link-card__arrow {
  margin-top: auto;
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
}

body.legacy-refresh.legacy-info-page .info-page-grid-section,
body.legacy-refresh.legacy-info-page .info-page-steps,
body.legacy-refresh.legacy-info-page .info-page-links,
body.legacy-refresh.legacy-info-page .info-page-note {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

body.legacy-refresh.legacy-info-page .info-page-grid-section::after,
body.legacy-refresh.legacy-info-page .info-page-links::after,
body.legacy-refresh.legacy-info-page .info-page-note::after {
  content: "";
  position: absolute;
  right: -56px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: -1;
}

body.legacy-refresh.legacy-info-page .info-page-grid-section {
  background:
    radial-gradient(circle at top right, rgba(245, 121, 58, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 250, 245, 0.98), rgba(255, 255, 255, 0.98));
}

body.legacy-refresh.legacy-info-page .info-page-links {
  background:
    radial-gradient(circle at top right, rgba(31, 142, 169, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(244, 251, 255, 0.98), rgba(255, 255, 255, 0.98));
}

body.legacy-refresh.legacy-info-page .info-page-note {
  background:
    radial-gradient(circle at top right, rgba(245, 121, 58, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 249, 244, 0.98), rgba(255, 255, 255, 0.98));
}

body.legacy-refresh.legacy-info-page .info-page-steps {
  background:
    radial-gradient(circle at top right, rgba(245, 121, 58, 0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(125, 192, 75, 0.12), transparent 36%),
    linear-gradient(145deg, rgba(15, 31, 40, 0.98), rgba(24, 74, 92, 0.98));
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 52px rgba(17, 33, 42, 0.2);
}

body.legacy-refresh.legacy-info-page .info-page-steps .section-kicker {
  color: rgba(255, 255, 255, 0.68);
}

body.legacy-refresh.legacy-info-page .info-page-steps h2 {
  color: #fff;
}

body.legacy-refresh.legacy-info-page .info-card,
body.legacy-refresh.legacy-info-page .info-link-card,
body.legacy-refresh.legacy-info-page .info-step {
  box-shadow: 0 18px 34px rgba(18, 29, 36, 0.07);
}

body.legacy-refresh.legacy-info-page .info-card:nth-child(3n + 2) {
  background:
    radial-gradient(circle at top right, rgba(31, 142, 169, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(246, 252, 255, 0.98), rgba(255, 255, 255, 1));
}

body.legacy-refresh.legacy-info-page .info-card:nth-child(3n + 3) {
  background:
    radial-gradient(circle at top right, rgba(125, 192, 75, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(248, 255, 246, 0.98), rgba(255, 255, 255, 1));
}

body.legacy-refresh.legacy-info-page .info-step {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.legacy-refresh.legacy-info-page .info-step h3,
body.legacy-refresh.legacy-info-page .info-page-steps .info-step p {
  color: rgba(255, 255, 255, 0.92);
}

body.legacy-refresh.legacy-info-page .info-step__num {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

body.legacy-refresh.legacy-info-page .info-link-card {
  position: relative;
  overflow: hidden;
}

body.legacy-refresh.legacy-info-page .info-link-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, rgba(31, 142, 169, 0.98), rgba(125, 192, 75, 0.98));
}

body.legacy-refresh.legacy-info-page .info-link-card:nth-child(3n + 2)::before {
  background: linear-gradient(90deg, rgba(245, 121, 58, 0.98), rgba(255, 184, 82, 0.98));
}

body.legacy-refresh.legacy-info-page .info-link-card:nth-child(3n + 3)::before {
  background: linear-gradient(90deg, rgba(21, 94, 114, 0.98), rgba(31, 142, 169, 0.98));
}

body.legacy-refresh.legacy-info-page .info-link-card:hover {
  box-shadow: 0 22px 38px rgba(17, 47, 63, 0.1);
}

body.legacy-refresh.legacy-info-page .info-page-note__list,
body.legacy-refresh.legacy-info-page .info-aside-card__points {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
}

body.legacy-refresh.legacy-info-page .info-page-note__list li,
body.legacy-refresh.legacy-info-page .info-aside-card__points li {
  position: relative;
  list-style: none;
  padding-left: 18px;
  color: var(--muted);
}

body.legacy-refresh.legacy-info-page .info-page-note__list li::before,
body.legacy-refresh.legacy-info-page .info-aside-card__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

body.legacy-refresh.legacy-info-page .info-aside-card {
  position: sticky;
  top: 112px;
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(245, 121, 58, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 247, 241, 1), rgba(255, 255, 255, 0.98));
}

body.legacy-refresh.legacy-info-page .info-aside-card__eyebrow {
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.legacy-refresh.legacy-info-page .info-aside-card__phone {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

body.legacy-refresh.legacy-info-page .info-doctor-list,
body.legacy-refresh.legacy-info-page .info-review-list,
body.legacy-refresh.legacy-info-page .info-gallery-list,
body.legacy-refresh.legacy-info-page .info-promo-list,
body.legacy-refresh.legacy-info-page .info-document-list {
  display: grid;
  gap: 18px;
}

body.legacy-refresh.legacy-info-page .info-doctor-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.legacy-refresh.legacy-info-page .info-doctor-card {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  width: auto !important;
  min-width: 0;
  float: none !important;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(31, 142, 169, 0.1);
  background: linear-gradient(180deg, rgba(247, 252, 255, 0.98), rgba(255, 255, 255, 1));
}

body.legacy-refresh.legacy-info-page .info-doctor-card picture {
  display: block;
  width: 100% !important;
  aspect-ratio: 1 / 1.1;
  overflow: hidden;
  background: rgba(31, 142, 169, 0.08);
}

body.legacy-refresh.legacy-info-page .info-doctor-card picture img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

body.legacy-refresh.legacy-info-page .info-doctor-card .text {
  display: grid;
  gap: 12px;
  width: auto !important;
  padding: 0 22px 22px;
}

body.legacy-refresh.legacy-info-page .info-doctor-card .name {
  color: var(--ink);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.14;
}

body.legacy-refresh.legacy-info-page .info-doctor-card .text > p:first-of-type {
  margin: 0;
  color: var(--teal);
  font-weight: 700;
}

body.legacy-refresh.legacy-info-page .doctor-card__focus {
  margin: 0;
}

body.legacy-refresh.legacy-info-page .doctor-card__bio {
  margin: 0;
}

body.legacy-refresh.legacy-info-page .info-review-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.legacy-refresh.legacy-info-page .info-review-card {
  position: relative;
  margin: 0;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(31, 142, 169, 0.1);
  background:
    radial-gradient(circle at top right, rgba(31, 142, 169, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 252, 255, 0.98));
}

body.legacy-refresh.legacy-info-page .info-review-card::before {
  content: "“";
  position: absolute;
  right: 22px;
  top: 18px;
  color: rgba(31, 142, 169, 0.12);
  font-size: 100px;
  line-height: 1;
}

body.legacy-refresh.legacy-info-page .info-review-card img {
  width: 86px;
  height: 86px;
  border-radius: 22px;
  object-fit: cover;
}

body.legacy-refresh.legacy-info-page .info-review-card .name {
  margin-top: 14px;
  color: var(--ink);
  font-weight: 800;
}

body.legacy-refresh.legacy-info-page .info-review-card p {
  position: relative;
  z-index: 1;
}

body.legacy-refresh.legacy-info-page .info-review-card a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
}

body.legacy-refresh.legacy-info-page .info-gallery-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.legacy-refresh.legacy-info-page .info-gallery-card {
  position: relative;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 1 / 0.82;
}

body.legacy-refresh.legacy-info-page .info-gallery-card a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

body.legacy-refresh.legacy-info-page .info-gallery-card a::after,
body.legacy-refresh.legacy-info-page .info-doc-link::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(12, 34, 41, 0.58));
}

body.legacy-refresh.legacy-info-page .info-gallery-card img,
body.legacy-refresh.legacy-info-page .info-doc-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

body.legacy-refresh.legacy-info-page .info-gallery-card:hover img,
body.legacy-refresh.legacy-info-page .info-doc-link:hover img {
  transform: scale(1.04);
}

body.legacy-refresh.legacy-info-page .gallery-card__caption,
body.legacy-refresh.legacy-info-page .document-card__caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

body.legacy-refresh.legacy-info-page .info-promo-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.legacy-refresh.legacy-info-page .info-promo-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.84fr) minmax(0, 1.16fr);
  gap: 18px;
  margin: 0;
  width: auto !important;
  min-width: 0;
  float: none !important;
  align-items: stretch;
  padding: 12px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(31, 142, 169, 0.12);
  background:
    radial-gradient(circle at top right, rgba(245, 121, 58, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 248, 242, 0.98), rgba(255, 255, 255, 1));
  box-shadow: var(--shadow-soft);
}

body.legacy-refresh.legacy-info-page .info-promo-card .date {
  width: auto !important;
  min-width: 0;
  min-height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(31, 142, 169, 0.06);
}

body.legacy-refresh.legacy-info-page .info-promo-card .date img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  border-radius: 0;
  object-fit: cover;
}

body.legacy-refresh.legacy-info-page .info-promo-card .name {
  display: grid;
  gap: 14px;
  align-content: start;
  width: auto !important;
  min-width: 0;
  padding: 18px 16px 18px 4px;
}

body.legacy-refresh.legacy-info-page .info-promo-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.08;
}

body.legacy-refresh.legacy-info-page .info-promo-card .promo-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.legacy-refresh.legacy-info-page .info-document-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.legacy-refresh.legacy-info-page .info-document-card {
  margin: 0;
  padding: 12px;
  border-radius: 24px;
  border: 1px solid rgba(31, 142, 169, 0.1);
  background: linear-gradient(180deg, rgba(247, 252, 255, 0.98), rgba(255, 255, 255, 1));
}

body.legacy-refresh.legacy-info-page .info-doc-link {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 0.78 / 1;
}

body.legacy-refresh.legacy-info-page .info-page-sidebar .content {
  background: rgba(255, 255, 255, 0.96);
}

@media (max-width: 1200px) {
  body.legacy-refresh.legacy-info-page .info-page-intro,
  body.legacy-refresh.legacy-info-page .info-card-grid,
  body.legacy-refresh.legacy-info-page .info-link-grid,
  body.legacy-refresh.legacy-info-page .info-doctor-list,
  body.legacy-refresh.legacy-info-page .info-gallery-list,
  body.legacy-refresh.legacy-info-page .info-document-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  body.legacy-refresh.legacy-info-page .info-page-intro,
  body.legacy-refresh.legacy-info-page .info-step-grid,
  body.legacy-refresh.legacy-info-page .info-review-list,
  body.legacy-refresh.legacy-info-page .info-promo-list {
    grid-template-columns: 1fr;
  }

  body.legacy-refresh.legacy-info-page .info-aside-card,
  body.legacy-refresh.legacy-info-page .left-side .content {
    position: static;
    max-height: none;
  }

  body.legacy-refresh.legacy-info-page .inner-form .wrap {
    grid-template-columns: 1fr;
  }

  body.legacy-refresh.legacy-info-page .inner-form form {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  body.legacy-refresh.legacy-info-page .info-page-intro,
  body.legacy-refresh.legacy-info-page .info-panel-shell,
  body.legacy-refresh.legacy-info-page .info-page-grid-section,
  body.legacy-refresh.legacy-info-page .info-page-steps,
  body.legacy-refresh.legacy-info-page .info-page-links,
  body.legacy-refresh.legacy-info-page .info-page-note,
  body.legacy-refresh.legacy-info-page .info-aside-card {
    padding: 22px 18px;
    border-radius: 24px;
  }

  body.legacy-refresh.legacy-info-page .info-page-intro h1 {
    font-size: 34px;
  }

  body.legacy-refresh.legacy-info-page .info-page-intro__actions,
  body.legacy-refresh.legacy-info-page .promo-card__actions,
  body.legacy-refresh.legacy-info-page .info-aside-card__actions {
    display: grid;
  }

  body.legacy-refresh.legacy-info-page .info-page-intro__badges,
  body.legacy-refresh.legacy-info-page .inner-form__meta,
  body.legacy-refresh.legacy-info-page .doctor-card__badges,
  body.legacy-refresh.legacy-info-page .review-card__meta,
  body.legacy-refresh.legacy-info-page .promo-card__meta {
    gap: 8px;
  }

  body.legacy-refresh.legacy-info-page .info-page-intro__badges span,
  body.legacy-refresh.legacy-info-page .inner-form__meta span,
  body.legacy-refresh.legacy-info-page .doctor-card__badges span,
  body.legacy-refresh.legacy-info-page .review-card__meta span,
  body.legacy-refresh.legacy-info-page .promo-card__meta span {
    min-height: 34px;
    font-size: 13px;
  }

  body.legacy-refresh.legacy-info-page .info-card-grid,
  body.legacy-refresh.legacy-info-page .info-link-grid,
  body.legacy-refresh.legacy-info-page .info-doctor-list,
  body.legacy-refresh.legacy-info-page .info-gallery-list,
  body.legacy-refresh.legacy-info-page .info-document-list {
    grid-template-columns: 1fr;
  }

  body.legacy-refresh.legacy-info-page .info-card h3,
  body.legacy-refresh.legacy-info-page .info-step h3 {
    font-size: 22px;
  }

  body.legacy-refresh.legacy-info-page .info-link-card strong {
    font-size: 22px;
  }

  body.legacy-refresh.legacy-info-page .info-doctor-card .name,
  body.legacy-refresh.legacy-info-page .info-promo-card h2 {
    font-size: 24px;
  }

  body.legacy-refresh.legacy-info-page .info-promo-card {
    grid-template-columns: 1fr;
  }

  body.legacy-refresh.legacy-info-page .info-promo-card {
    width: 100% !important;
  }

  body.legacy-refresh.legacy-info-page .info-promo-card .name {
    padding: 4px 0 0;
  }

  body.legacy-refresh.legacy-info-page .info-promo-card .promo-card__actions {
    grid-template-columns: 1fr;
  }

  body.legacy-refresh.legacy-info-page .inner-form .wrap {
    padding: 22px 18px;
    border-radius: 24px;
  }

  body.legacy-refresh.legacy-info-page .inner-form form {
    padding: 22px 18px;
    border-radius: 24px;
  }

  body.legacy-refresh.legacy-info-page .inner-form form::before {
    font-size: 24px;
  }

  body.legacy-refresh.legacy-info-page .info-promo-card .date img {
    min-height: 200px;
  }

  body.legacy-refresh.legacy-info-page .info-aside-card__phone {
    font-size: 30px;
  }
}

body.legacy-refresh.legacy-info-page .doctor-card__name-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

body.legacy-refresh.legacy-info-page .doctor-card__name-link:hover {
  color: var(--teal);
}

body.legacy-refresh.legacy-info-page .doctor-card__cta {
  width: 100%;
  justify-content: center;
  margin-top: 2px;
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-channel-grid,
body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-directory,
body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-legal-grid {
  padding: 30px;
  border: 1px solid rgba(31, 142, 169, 0.1);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
  background: rgba(255, 255, 255, 0.96);
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-channel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.82fr));
  gap: 18px;
  background:
    radial-gradient(circle at top right, rgba(245, 121, 58, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(247, 252, 255, 0.98), rgba(255, 255, 255, 1));
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-channel-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 100%;
  padding: 24px 22px;
  border-radius: 24px;
  border: 1px solid rgba(31, 142, 169, 0.1);
  background:
    radial-gradient(circle at top right, rgba(31, 142, 169, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 252, 255, 0.98));
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-channel-card--primary {
  background:
    radial-gradient(circle at top right, rgba(245, 121, 58, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(255, 248, 242, 0.98), rgba(247, 252, 255, 0.98));
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-channel-card h2,
body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-channel-card h3,
body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-legal-card h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.12;
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-channel-card h2 {
  font-size: clamp(30px, 3.2vw, 42px);
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-channel-card h3,
body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-legal-card h3 {
  font-size: 24px;
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-channel-card__value {
  color: var(--ink);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-channel-card__actions,
body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-channel-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-channel-card__meta span,
body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-branch-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(31, 142, 169, 0.08);
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-directory {
  display: grid;
  gap: 22px;
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-directory__head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 20px;
  align-items: end;
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-directory__head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-directory__toolbar {
  display: grid;
  gap: 12px;
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-directory__search {
  display: grid;
  gap: 8px;
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-directory__search span,
body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-directory__count {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-directory__search input {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(31, 142, 169, 0.14);
  border-radius: 18px;
  background: rgba(244, 249, 251, 0.98);
  color: var(--ink);
  font: inherit;
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-directory__count strong {
  color: var(--ink);
  font-size: 22px;
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-directory--nearby .contact-directory__toolbar {
  align-content: end;
  justify-items: start;
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-directory--nearby .contact-directory__toolbar .service-btn {
  min-width: 220px;
  justify-content: center;
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-directory__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-branch-card,
body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-legal-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 22px 20px;
  border-radius: 22px;
  border: 1px solid rgba(31, 142, 169, 0.1);
  background:
    radial-gradient(circle at top right, rgba(245, 121, 58, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 252, 255, 0.98));
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-branch-card__city {
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.12;
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-branch-card__address {
  margin: 0;
  min-height: 3.6em;
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-branch-card .service-btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-directory__empty {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(31, 142, 169, 0.06);
  color: var(--muted);
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-legal-card a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-legal-card__links {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-legal-card__links li {
  list-style: none;
  display: grid;
  gap: 4px;
}

body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-legal-card__links span {
  color: var(--muted);
  line-height: 1.6;
}

body.legacy-refresh.legacy-error-page .error-page {
  padding: 28px 0 56px;
}

body.legacy-refresh.legacy-error-page .error-page .wrap {
  display: grid;
  gap: 26px;
}

body.legacy-refresh.legacy-error-page .error-hero,
body.legacy-refresh.legacy-error-page .error-card {
  border: 1px solid rgba(31, 142, 169, 0.1);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}

body.legacy-refresh.legacy-error-page .error-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 22px;
  padding: 34px;
  background:
    radial-gradient(circle at top right, rgba(245, 121, 58, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(247, 252, 255, 0.98), rgba(255, 247, 241, 0.98));
}

body.legacy-refresh.legacy-error-page .error-hero__copy,
body.legacy-refresh.legacy-error-page .error-hero__aside {
  display: grid;
  gap: 16px;
  align-content: start;
}

body.legacy-refresh.legacy-error-page .error-hero h1,
body.legacy-refresh.legacy-error-page .error-card h2 {
  margin: 0;
  color: var(--ink);
  line-height: 1.04;
}

body.legacy-refresh.legacy-error-page .error-hero h1 {
  font-size: clamp(72px, 10vw, 132px);
}

body.legacy-refresh.legacy-error-page .error-hero__lead {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.08;
}

body.legacy-refresh.legacy-error-page .error-hero__text,
body.legacy-refresh.legacy-error-page .error-card p,
body.legacy-refresh.legacy-error-page .error-quick-link small {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

body.legacy-refresh.legacy-error-page .error-hero__actions,
body.legacy-refresh.legacy-error-page .error-hero__meta,
body.legacy-refresh.legacy-error-page .error-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body.legacy-refresh.legacy-error-page .error-hero__meta span,
body.legacy-refresh.legacy-error-page .error-link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(31, 142, 169, 0.08);
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

body.legacy-refresh.legacy-error-page .error-hero__aside-card {
  display: grid;
  gap: 14px;
  min-height: 100%;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(31, 142, 169, 0.1);
  background:
    radial-gradient(circle at top right, rgba(31, 142, 169, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 252, 255, 0.98));
}

body.legacy-refresh.legacy-error-page .error-hero__aside-card h2 {
  font-size: 30px;
}

body.legacy-refresh.legacy-error-page .error-quick-link {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(31, 142, 169, 0.1);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

body.legacy-refresh.legacy-error-page .error-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.legacy-refresh.legacy-error-page .error-card {
  display: grid;
  gap: 16px;
  padding: 28px 24px;
  background:
    radial-gradient(circle at top right, rgba(245, 121, 58, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 252, 255, 0.98));
}

body.legacy-refresh.legacy-error-page .error-card h2 {
  font-size: 28px;
}

body.legacy-refresh.legacy-info-page[data-info-page="o-tsentre"] .inner-page .wrap,
body.legacy-refresh.legacy-info-page[data-info-page="vrachi-kliniki"] .inner-page .wrap,
body.legacy-refresh.legacy-info-page[data-info-page="otzyvy"] .inner-page .wrap,
body.legacy-refresh.legacy-info-page[data-info-page="fotogalereya"] .inner-page .wrap,
body.legacy-refresh.legacy-info-page[data-info-page="aktsii"] .inner-page .wrap,
body.legacy-refresh.legacy-info-page[data-info-page="dokumenty"] .inner-page .wrap,
body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .inner-page .wrap,
body.legacy-refresh.legacy-doctor-page .inner-page .wrap {
  grid-template-columns: minmax(0, 1fr);
}

body.legacy-refresh.legacy-info-page[data-info-page="o-tsentre"] .main-content,
body.legacy-refresh.legacy-info-page[data-info-page="vrachi-kliniki"] .main-content,
body.legacy-refresh.legacy-info-page[data-info-page="otzyvy"] .main-content,
body.legacy-refresh.legacy-info-page[data-info-page="fotogalereya"] .main-content,
body.legacy-refresh.legacy-info-page[data-info-page="aktsii"] .main-content,
body.legacy-refresh.legacy-info-page[data-info-page="dokumenty"] .main-content,
body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .main-content,
body.legacy-refresh.legacy-doctor-page .main-content {
  grid-column: 1;
}

body.legacy-refresh.legacy-info-page[data-info-page="o-tsentre"] .left-side,
body.legacy-refresh.legacy-info-page[data-info-page="vrachi-kliniki"] .left-side,
body.legacy-refresh.legacy-info-page[data-info-page="otzyvy"] .left-side,
body.legacy-refresh.legacy-info-page[data-info-page="fotogalereya"] .left-side,
body.legacy-refresh.legacy-info-page[data-info-page="aktsii"] .left-side,
body.legacy-refresh.legacy-info-page[data-info-page="dokumenty"] .left-side,
body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .left-side,
body.legacy-refresh.legacy-doctor-page .left-side {
  display: none;
}

body.legacy-refresh.legacy-doctor-page .main-content {
  display: grid;
  gap: 26px;
  overflow: visible;
}

body.legacy-refresh.legacy-doctor-page .left-side {
  display: grid;
  gap: 20px;
  align-content: start;
}

body.legacy-refresh.legacy-doctor-page .left-side .content {
  max-height: calc(100vh - 360px);
}

body.legacy-refresh.legacy-doctor-page .doctor-profile-hero,
body.legacy-refresh.legacy-doctor-page .doctor-profile-hero__stat {
  border: 1px solid rgba(31, 142, 169, 0.1);
  box-shadow: var(--shadow-soft);
}

body.legacy-refresh.legacy-doctor-page .doctor-profile-hero {
  display: grid;
  grid-template-columns: 320px minmax(0, 1.2fr) minmax(240px, 0.78fr);
  gap: 24px;
  padding: 30px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(245, 121, 58, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(247, 252, 255, 0.98), rgba(255, 247, 241, 0.98));
}

body.legacy-refresh.legacy-doctor-page .doctor-profile-hero__media {
  overflow: hidden;
  border-radius: 26px;
  background: rgba(31, 142, 169, 0.08);
}

body.legacy-refresh.legacy-doctor-page .doctor-profile-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

body.legacy-refresh.legacy-doctor-page .doctor-profile-hero__copy {
  display: grid;
  align-content: start;
  gap: 14px;
}

body.legacy-refresh.legacy-doctor-page .doctor-profile-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.02;
}

body.legacy-refresh.legacy-doctor-page .doctor-profile-hero__lead,
body.legacy-refresh.legacy-doctor-page .doctor-profile-hero__quote {
  color: var(--muted);
  line-height: 1.85;
}

body.legacy-refresh.legacy-doctor-page .doctor-profile-hero__lead {
  font-size: 18px;
}

body.legacy-refresh.legacy-doctor-page .doctor-profile-hero__quote {
  margin: 0;
  padding: 22px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(31, 142, 169, 0.08);
}

body.legacy-refresh.legacy-doctor-page .doctor-profile-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.legacy-refresh.legacy-doctor-page .doctor-profile-hero__badges span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(31, 142, 169, 0.08);
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
}

body.legacy-refresh.legacy-doctor-page .doctor-profile-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body.legacy-refresh.legacy-doctor-page .doctor-profile-hero__stats {
  display: grid;
  gap: 14px;
  align-content: start;
}

body.legacy-refresh.legacy-doctor-page .doctor-profile-hero__stat {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
}

body.legacy-refresh.legacy-doctor-page .doctor-profile-hero__stat strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
}

body.legacy-refresh.legacy-doctor-page .doctor-profile-hero__stat span {
  color: var(--muted);
  line-height: 1.55;
}

body.legacy-refresh.legacy-doctor-page .doctor-page-sidebar .content {
  background: rgba(255, 255, 255, 0.96);
}

body.legacy-refresh.legacy-doctor-page .doctor-side-nav {
  display: grid;
  gap: 0;
  overflow: hidden;
}

body.legacy-refresh.legacy-doctor-page .doctor-side-nav__block + .doctor-side-nav__block {
  border-top: 1px solid rgba(31, 142, 169, 0.1);
}

body.legacy-refresh.legacy-doctor-page .doctor-side-nav__block--secondary .name {
  background: rgba(31, 142, 169, 0.08);
  color: var(--teal);
}

body.legacy-refresh.legacy-doctor-page .doctor-side-nav .left--menu {
  padding: 14px 0;
}

body.legacy-refresh.legacy-doctor-page .doctor-side-nav .left--menu li.active a {
  background: rgba(31, 142, 169, 0.12);
  color: var(--teal);
}

@media (max-width: 1280px) {
  body.legacy-refresh.legacy-doctor-page .doctor-profile-hero {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  body.legacy-refresh.legacy-doctor-page .doctor-profile-hero__stats {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  body.legacy-refresh.legacy-doctor-page .doctor-profile-hero {
    grid-template-columns: 1fr;
  }

  body.legacy-refresh.legacy-doctor-page .doctor-profile-hero__media img {
    min-height: 360px;
  }

  body.legacy-refresh.legacy-doctor-page .doctor-profile-hero__stats {
    grid-template-columns: 1fr;
  }

  body.legacy-refresh.legacy-doctor-page .left-side .content,
  body.legacy-refresh.legacy-doctor-page .info-aside-card {
    max-height: none;
    position: static;
  }
}

@media (max-width: 720px) {
  body.legacy-refresh.legacy-doctor-page .doctor-profile-hero {
    padding: 22px 18px;
    border-radius: 24px;
  }

  body.legacy-refresh.legacy-doctor-page .doctor-profile-hero__media {
    border-radius: 22px;
  }

  body.legacy-refresh.legacy-doctor-page .doctor-profile-hero__media img {
    min-height: 300px;
  }

  body.legacy-refresh.legacy-doctor-page .doctor-profile-hero__actions {
    display: grid;
  }

  body.legacy-refresh.legacy-doctor-page .doctor-profile-hero__badges {
    gap: 8px;
  }

  body.legacy-refresh.legacy-doctor-page .doctor-profile-hero__badges span {
    min-height: 34px;
    font-size: 13px;
  }

  body.legacy-refresh.legacy-doctor-page .doctor-profile-hero__quote {
    padding: 18px;
    border-radius: 20px;
  }
}

@media (max-width: 1280px) {
  body.legacy-refresh.legacy-error-page .error-hero,
  body.legacy-refresh.legacy-error-page .error-card-grid {
    grid-template-columns: 1fr;
  }

  body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-channel-grid,
  body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-directory__grid,
  body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-channel-card--primary {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1100px) {
  body.legacy-refresh .town-modal__head {
    grid-template-columns: 1fr;
  }

  body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-directory__head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body.legacy-refresh.legacy-error-page .error-hero,
  body.legacy-refresh.legacy-error-page .error-card {
    padding: 22px 18px;
    border-radius: 24px;
  }

  body.legacy-refresh.legacy-error-page .error-hero h1 {
    font-size: 72px;
  }

  body.legacy-refresh.legacy-error-page .error-hero__lead {
    font-size: 30px;
  }

  body.legacy-refresh.legacy-error-page .error-card h2,
  body.legacy-refresh.legacy-error-page .error-hero__aside-card h2 {
    font-size: 26px;
  }

  body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-channel-grid,
  body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-directory,
  body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-legal-grid {
    padding: 22px 18px;
    border-radius: 24px;
  }

  body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-channel-grid,
  body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-directory__grid,
  body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-legal-grid {
    grid-template-columns: 1fr;
  }

  body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-channel-card,
  body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-branch-card,
  body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-legal-card {
    padding: 20px 18px;
    border-radius: 20px;
  }

  body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-channel-card__value {
    font-size: 32px;
  }

  body.legacy-refresh.legacy-info-page[data-info-page="kontakty"] .contact-directory__head h2 {
    font-size: 30px;
  }

  body.legacy-refresh .town-region__grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  body.legacy-refresh .town-region__head h3 {
    font-size: 20px;
  }
}

body.legacy-refresh .lead-form-traps {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

body.legacy-refresh .lead-form-trap {
  width: 1px;
  min-width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
}

body.legacy-refresh .lead-form-status {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

body.legacy-refresh .lead-form-status--info {
  border: 1px solid rgba(31, 142, 169, 0.14);
  background: rgba(31, 142, 169, 0.08);
  color: var(--ink);
}

body.legacy-refresh .lead-form-status--success {
  border: 1px solid rgba(31, 160, 112, 0.16);
  background: rgba(31, 160, 112, 0.1);
  color: #1b6b50;
}

body.legacy-refresh .lead-form-status--error {
  border: 1px solid rgba(213, 90, 90, 0.18);
  background: rgba(213, 90, 90, 0.09);
  color: #9f3030;
}

body.legacy-refresh .popup form[data-lead-protected="true"] input[type="submit"][disabled] {
  cursor: wait;
  opacity: 0.78;
  filter: saturate(0.88);
  box-shadow: none;
}

/* ── Popup visibility fix (overrides legacy style.css display:none) ─────── */
body.legacy-refresh .popup:not([hidden]) {
  display: block !important;
}
body.legacy-refresh .popupbg:not([hidden]) {
  display: block !important;
}

/* ── Popup redesign: light theme, proper padding ───────────────────────── */
body.legacy-refresh .popup:not([hidden]) {
  display: flex !important;
  flex-direction: column;
  background: #ffffff !important;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18) !important;
  padding: 32px 28px 28px !important;
  gap: 0;
}

/* close button */
body.legacy-refresh .popup .close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 32px;
  height: 32px;
  background: rgba(0,0,0,0.07);
  border-radius: 50%;
  cursor: pointer;
}
body.legacy-refresh .popup .close::before,
body.legacy-refresh .popup .close::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 2px;
  background: #333;
  border-radius: 2px;
}
body.legacy-refresh .popup .close::before { transform: translate(-50%,-50%) rotate(45deg); }
body.legacy-refresh .popup .close::after  { transform: translate(-50%,-50%) rotate(-45deg); }

/* title */
body.legacy-refresh .popup .zag,
body.legacy-refresh .popup .popup__title {
  color: #0d2b3e !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  margin-bottom: 6px !important;
  text-align: left !important;
}
body.legacy-refresh .popup .zag p,
body.legacy-refresh .popup .popup__subtitle {
  color: #5a6a76 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  margin-bottom: 20px !important;
  text-align: left !important;
}

/* inputs */
body.legacy-refresh .popup input[type='text'],
body.legacy-refresh .popup input[type='tel'] {
  background: #f4f7f9 !important;
  border: 1.5px solid #d9e2e8 !important;
  color: #0d2b3e !important;
  margin-bottom: 12px !important;
}
body.legacy-refresh .popup input[type='text']::placeholder,
body.legacy-refresh .popup input[type='tel']::placeholder {
  color: #8fa3b0 !important;
}
body.legacy-refresh .popup input[type='text']:focus,
body.legacy-refresh .popup input[type='tel']:focus {
  background: #fff !important;
  border-color: #1f8ea9 !important;
  color: #0d2b3e !important;
  outline: none;
}

/* submit button */
body.legacy-refresh .popup input[type='submit'] {
  width: 100% !important;
  margin-top: 4px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #f5793a 0%, #ef9746 50%, #ffbd60 100%) !important;
  border-radius: 999px !important;
  border: none !important;
  min-height: 52px !important;
}

/* status messages */
body.legacy-refresh .popup .lead-form-status {
  color: #0d2b3e !important;
  font-size: 13px !important;
  margin-top: 8px !important;
}
body.legacy-refresh .popup .lead-form-status--error {
  color: #c0392b !important;
}
body.legacy-refresh .popup .lead-form-status--success {
  color: #1a7a4a !important;
}

/* backdrop */
body.legacy-refresh .popupbg:not([hidden]) {
  display: block !important;
}

/* ── Popup mobile fix ───────────────────────────────────────────────────── */
@media (max-width: 480px) {
  body.legacy-refresh .popup:not([hidden]) {
    padding: 24px 16px 20px !important;
    width: min(96vw, 520px) !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
  }
  body.legacy-refresh .popup .zag,
  body.legacy-refresh .popup .popup__title {
    font-size: 17px !important;
    padding-right: 36px;
  }
}

/* ── Popup position full reset (overrides legacy margin-left: -240px) ───── */
body.legacy-refresh .popup:not([hidden]) {
  position: fixed !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  width: min(92vw, 520px) !important;
  max-height: min(88vh, 760px) !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
}

/* ── Hide countdown status message under popup ──────────────────────────── */
body.legacy-refresh .popup .lead-form-status--info {
  display: none !important;
}
