/*
 * Visual identity and responsive layer for the Moscow clinic redesign.
 * Loaded after page-content.css so this file can be moved into MODX as a
 * self-contained theme layer without changing the base component markup.
 */

:root {
  --c-black: #212121;
  --c-white: #ffffff;
  --c-gray: #8e959b;
  --c-blue: #0069b4;
  --c-light: #c6d3de;
  --c-primary: #0071bc;
  --c-primary-bg: #f2f0fd;
  --c-gray-bg: #f9f9f9;
  --c-purple: #ec008c;
  --c-light-purple: #ffedf5;
  --maxw: 1280px;
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-xl: 40px;
  --shadow-soft: 0 12px 36px rgba(33, 33, 33, 0.08);
  --shadow-header: 0 4px 18px rgba(33, 33, 33, 0.09);
}

html {
  scroll-padding-top: 116px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  font-family: "GothamPro", "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-black);
  background: var(--c-white);
}

main,
section,
.wrap,
.hero .wrap > *,
.about-grid > *,
.trust-grid > *,
.faq-layout > *,
.contacts-card > *,
.footer-grid > * {
  min-width: 0;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  padding-right: 32px;
  padding-left: 32px;
}

.section {
  padding: 80px 0;
}

.section-tight {
  padding: 68px 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 400;
  letter-spacing: -0.025em;
}

.h2 {
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 500;
  line-height: 1.12;
}

.h3 {
  font-size: clamp(21px, 2vw, 26px);
}

.eyebrow {
  margin-bottom: 12px;
  font-size: 10px !important;
  font-weight: 400 !important;
  line-height: 1.25;
  letter-spacing: 0.1em;
  color: var(--c-primary);
}

.lede {
  max-width: 700px;
  font-size: 17px;
  line-height: 1.55;
  color: #5f6469;
}

.section-head {
  align-items: flex-end;
  margin-bottom: 40px;
}

a,
button,
input {
  touch-action: manipulation;
}

.btn {
  min-height: 48px;
  padding: 13px 26px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: none;
}

.btn-sm {
  min-height: 42px;
  padding: 10px 19px;
  border-radius: 100px;
  font-size: 13px;
}

.btn-primary {
  background: var(--c-primary);
}

.btn-pink {
  background: var(--c-purple);
}

.btn-ghost {
  border: 1px solid var(--c-primary);
  color: var(--c-primary);
  background: var(--c-white);
}

.btn-ghost:hover {
  color: var(--c-white);
  background: var(--c-primary);
}

/* Keep the hero CTA geometry fixed while its colours change on hover. */
.moskow-redesign .hero-ctas .btn-ghost,
.moskow-redesign .hero-ctas .btn-ghost:hover,
.moskow-redesign .hero-ctas .btn-ghost:active {
  transform: none;
}

.moskow-redesign .hero-ctas .btn-ghost {
  border-width: 1px;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.link-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 52px 10px 22px;
  border: 1px solid var(--c-primary);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
}

.section-head > .btn {
  position: relative;
  padding-right: 52px;
}

.link-arrow::after,
.section-head > .btn::after {
  position: absolute;
  top: 50%;
  right: 1.55rem;
  display: block;
  width: 14px;
  height: 14px;
  content: "";
  background-image: url("../icons/btn-arrow.svg");
  background-repeat: no-repeat;
  background-position: center;
  transform: translateY(-50%);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.link-arrow:hover {
  color: var(--c-white);
  text-decoration: none;
  background: var(--c-primary);
}

.link-arrow:hover::after,
.section-head > .btn:hover::after {
  filter: brightness(0) invert(1);
  transform: translateY(-50%) translateX(3px);
}

/* Header */
.topbar {
  color: var(--c-black);
  background: var(--c-white);
  border-top: 7px solid var(--c-purple);
  border-bottom: 1px solid #edf0f2;
}

.topbar .wrap {
  height: 40px;
}

.topbar a,
.topbar-phone {
  color: var(--c-black);
}

.topbar a:hover {
  color: var(--c-primary);
}

header.site-header {
  overflow: visible;
  border: 0;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-header);
}

header.site-header.scrolled {
  box-shadow: 0 8px 28px rgba(33, 33, 33, 0.12);
}

.header-row {
  height: 80px;
  gap: 30px;
}

.logo-link img {
  height: 44px;
}

nav.main-nav {
  gap: clamp(14px, 1.8vw, 26px);
}

nav.main-nav a {
  font-size: 15px;
  font-weight: 500;
}

.header-phone {
  font-weight: 600;
}

.header-actions > .btn-pink {
  color: var(--c-white);
  background: var(--c-primary);
}

.header-actions > .btn-pink:hover {
  background: var(--c-blue);
}

.burger {
  border-radius: 50%;
  background: var(--c-gray-bg);
}

/* Hero */
.hero {
  position: relative;
  padding: 48px 0 84px;
}



.hero .wrap {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: clamp(40px, 5vw, 72px);
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 670px;
  margin: 0 0 24px;
  font-size: clamp(46px, 5.5vw, 72px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero h1 span {
  color: var(--c-purple) !important;
}

.hero-sub {
  max-width: 610px;
  margin-top: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #555b60;
}

.hero-ctas {
  gap: 12px;
  margin-top: 30px;
}

.hero-media {
  isolation: isolate;
}

.hero-placeholder,
.hero-media img {
  height: 430px;
  border: 0;
  border-radius: var(--radius-xl);
  background-color: var(--c-primary-bg);
  box-shadow: inset 0 0 0 1px rgba(0, 113, 188, 0.06);
}

.hero-plaque {
  right: auto;
  bottom: -30px;
  left: -28px;
  max-width: 290px;
  padding: 20px 24px;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.hero-plaque p {
  color: var(--c-black);
}

/* About */
.about-grid {
  gap: clamp(34px, 5vw, 68px);
}

.about-media,
.about-placeholder,
.about-media img {
  height: 430px;
  border: 0;
  border-radius: var(--radius-lg);
}

.about-text {
  padding: clamp(28px, 3.5vw, 44px);
  border-radius: var(--radius-lg);
}

.about-text p {
  line-height: 1.65;
}

.play-button {
  width: 72px;
  height: 72px;
  border: 8px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 12px 28px rgba(236, 0, 140, 0.25);
}

.check-list {
  gap: 13px;
}

.check-list i {
  width: 26px;
  height: 26px;
}

/* Doctors and promotions */
.doctor-row,
.promo-grid {
  margin-right: -32px;
  padding-right: 32px;
  padding-bottom: 10px;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  touch-action: pan-x;
}

.doctor-row {
  gap: 20px;
}

.doctor-card {
  width: 280px;
  border: 0;
  border-radius: var(--radius-md);
  background: #d4d0e9;
  scroll-snap-align: start;
}

.doctor-placeholder,
.doctor-card img {
  height: 270px;
  border: 0;
  background-color: #d4d0e9;
}

.doctor-body {
  min-height: 212px;
  padding: 22px;
  border-radius: 0 10px var(--radius-md) var(--radius-md);
  background: var(--c-white);
}

.doctor-body h4 {
  font-size: 17px;
  font-weight: 600;
}

.doctor-spec {
  min-height: 58px;
  margin: 8px 0 18px;
  font-size: 13px;
}

.doctor-card:hover {
  box-shadow: var(--shadow-soft);
}

.promos-section {
  background: var(--c-white);
}

.promo-grid {
  gap: 18px;
}

.promo-card {
  flex-basis: calc((100% - 36px) / 3);
  min-height: 360px;
  padding: 36px;
  border: 0;
  border-radius: var(--radius-xl);
  background: var(--c-light-purple);
}

.promo-card:nth-child(2) {
  background: var(--c-primary-bg);
}

.promo-card:nth-child(3) {
  background: #edf7fd;
}

.promo-card h4 {
  max-width: 90%;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.25;
}

.promo-card p {
  max-width: 85%;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.55;
}

.promo-badge {
  margin-bottom: 20px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.72);
}

.promo-card__flower {
  width: 155px;
  opacity: 0.2;
}

/* Trust, FAQ and contact surfaces */
.trust-grid {
  gap: 24px;
}

.rating-panel,
.trust-placeholder,
.clinic-slider-card,
.reviews-license,
.license-box {
  border: 0;
  border-radius: var(--radius-lg);
}

.rating-panel {
  background: var(--c-primary-bg);
  box-shadow: none;
}

.platform {
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--c-white);
}

.trust-placeholder,
.reviews-license {
  background: var(--c-gray-bg);
}

.trust-left > .reviews-license {
  flex: 0 0 auto;
  min-height: 80px;
}

.clinic-slider-card {
  min-height: 0;
  user-select: none;
}

/* Dynamic promotions use legacy Bootstrap classes; lock them to the redesign palette. */
.moskow-redesign .moskow-actions-override a.arrow-btn {
  background: var(--c-white);
}

.moskow-redesign .moskow-actions-override a.arrow-btn:hover,
.moskow-redesign .moskow-actions-override a.arrow-btn:focus-visible {
  color: var(--c-white);
  background: var(--c-primary);
  border-color: var(--c-primary);
  text-decoration: none;
}

.clinic-slider-track {
  position: absolute;
  inset: 0;
  cursor: grab;
  touch-action: pan-y;
}

.clinic-slider-card.is-dragging .clinic-slider-track {
  cursor: grabbing;
}

.clinic-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.clinic-slider-card.is-slick .clinic-slider-track,
.clinic-slider-card.is-slick .slick-list,
.clinic-slider-card.is-slick .slick-track,
.clinic-slider-card.is-slick .slick-slide,
.clinic-slider-card.is-slick .slick-slide > div {
  height: 100%;
}

.clinic-slider-card.is-slick .clinic-slide {
  position: relative;
  inset: auto;
  height: 100%;
  opacity: 1;
  pointer-events: auto;
  transition: none;
}

.clinic-slider-card.is-slick .slick-list {
  cursor: grab;
}

.clinic-slider-card.is-slick .slick-list:active {
  cursor: grabbing;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  color: var(--c-primary);
}

.booking-strip {
  padding: 28px 0;
}

.booking-strip .wrap {
  position: relative;
  max-width: calc(var(--maxw) - 64px);
  border-radius: var(--radius-xl);
  background: var(--c-purple);
}

.booking-strip .wrap::after {
  position: absolute;
  right: -45px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  content: "";
  border: 24px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.booking-card {
  position: relative;
  z-index: 1;
  gap: 18px;
  padding: 34px 42px;
}

.booking-card h3 {
  font-size: 23px;
  font-weight: 500;
}

.booking-card--handoff p {
  flex: 1 1 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.55;
}

.booking-card--handoff .btn {
  justify-content: center;
  min-width: 180px;
}

.booking-card .field input,
.field input[type="text"],
.field input[type="tel"] {
  min-height: 50px;
  padding: 13px 18px;
  border: 1px solid var(--c-light);
  border-radius: 100px;
  background: var(--c-white);
}

.faq-list {
  display: grid;
  gap: 10px;
  border: 0;
}

.faq-item {
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: var(--c-white);
}

.faq-q {
  padding: 21px 24px;
  font-weight: 500;
}

.faq-a p {
  padding: 0 72px 22px 24px;
}

.faq-icon {
  border: 0;
  border-radius: 50%;
  background: var(--c-primary-bg);
}

.contacts-card {
  grid-template-columns: 0.88fr 1.12fr;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--c-white);
  box-shadow: var(--shadow-soft);
}

.contact-info {
  padding: clamp(32px, 4vw, 54px);
}

.contact-row {
  margin: 22px 0;
}

.contact-row svg {
  width: 24px;
  height: 24px;
  color: var(--c-purple);
}

.map-placeholder,
.contact-map {
  min-height: 440px;
  background-color: #f2f4f5;
}

.map-placeholder {
  background-image: linear-gradient(#e3e8eb 1px, transparent 1px), linear-gradient(90deg, #e3e8eb 1px, transparent 1px);
  background-size: 52px 52px;
}

.map-label {
  border: 0;
  border-radius: 100px;
  box-shadow: var(--shadow-soft);
}

/* Footer */
footer.site-footer {
  padding: 56px 0 26px;
  color: var(--c-black);
  background: var(--c-gray-bg);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.footer-grid {
  border-color: #dde3e7;
}

.footer-col a {
  color: var(--c-black);
}

.footer-col a:hover {
  color: var(--c-primary);
}

.footer-logo img {
  height: 38px;
  filter: none;
}

.site-footer .footer-col a[style] {
  color: var(--c-black) !important;
}

.site-footer .footer-col p[style] {
  color: var(--c-gray) !important;
}

.footer-bottom,
.footer-bottom a {
  color: #737a80;
}

.modal-box {
  padding: 38px;
  border-radius: var(--radius-md);
}

/* Responsive layout */
@media (hover: none) {
  .service-card:hover,
  .doctor-card:hover {
    box-shadow: none;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .header-row {
    gap: 18px;
  }

  .header-actions {
    gap: 10px;
  }

}

@media (max-width: 1100px) {
  nav.main-nav.open {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - 80px);
    padding: 8px 32px 24px;
    overflow-y: auto;
    border-top: 1px solid #edf0f2;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    background: var(--c-white);
    box-shadow: 0 18px 34px rgba(33, 33, 33, 0.12);
  }

  nav.main-nav.open a {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid #edf0f2;
  }

  body:has(nav.main-nav.open) {
    overflow: hidden;
  }

  .burger[aria-expanded="true"] span {
    background: transparent;
  }

  .burger[aria-expanded="true"] span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .burger[aria-expanded="true"] span::after {
    top: 0;
    transform: rotate(-45deg);
  }
}

@media (max-width: 1024px) {
  .section,
  .section-tight {
    padding: 64px 0;
  }

  .hero {
    padding: 42px 0 76px;
  }

  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-media {
    order: 0;
    width: min(100%, 760px);
    margin: 0;
  }

  .hero-placeholder,
  .hero-media img {
    height: clamp(340px, 52vw, 480px);
  }

  .about-grid,
  .trust-grid,
  .faq-layout,
  .contacts-card {
    grid-template-columns: 1fr;
  }

  .about-media,
  .about-placeholder,
  .about-media img {
    height: 420px !important;
  }

  .faq-intro {
    position: static;
  }

  .faq-intro p {
    max-width: 620px;
  }

  .clinic-slider-card {
    min-height: 380px;
  }

  .map-placeholder,
  .contact-map {
    min-height: 340px;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 94px;
  }

  .wrap {
    padding-right: 22px;
    padding-left: 22px;
  }

  .topbar .wrap {
    height: 36px;
  }

  .header-row {
    height: 68px;
  }

  .logo-link img {
    height: 37px;
  }

  nav.main-nav.open {
    max-height: calc(100dvh - 68px);
    padding-right: 22px;
    padding-left: 22px;
  }

  .hero {
    padding: 34px 0 66px;
  }

  .hero h1 {
    font-size: clamp(38px, 8vw, 52px);
  }

  .hero-sub {
    font-size: 17px;
  }

  .hero-placeholder,
  .hero-media img {
    height: clamp(300px, 62vw, 420px);
    border-radius: var(--radius-lg);
  }

  .hero-plaque {
    position: relative;
    bottom: auto;
    left: auto;
    width: calc(100% - 28px);
    max-width: none;
    margin: -54px 14px 0;
  }

  .section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    margin-bottom: 30px;
  }

  .section-head > div {
    min-width: 0;
  }

  .section-head .link-arrow,
  .section-head .btn {
    width: auto;
    margin-top: 0;
    justify-self: end;
  }

  .promo-card {
    flex-basis: 82%;
    min-height: 340px;
    padding: 30px;
  }

  .booking-strip .wrap {
    max-width: calc(100% - 44px);
  }

  .booking-card {
    align-items: stretch;
    padding: 30px;
  }

  .booking-card h3,
  .booking-card .field,
  .booking-card--handoff p {
    width: 100%;
    min-width: 0;
    flex-basis: auto;
  }

  .booking-card .btn {
    width: 100%;
  }

  .booking-card .field-error {
    position: static;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-logo {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .wrap {
    padding-right: 18px;
    padding-left: 18px;
  }

  .section,
  .section-tight {
    padding: 50px 0;
  }

  .topbar-info {
    display: none;
  }

  .topbar .wrap {
    justify-content: center;
  }

  .header-actions > .btn-pink {
    min-height: 40px;
    padding: 9px 14px;
    font-size: 12px;
  }

  .mobile-call {
    display: none;
  }

  .burger {
    width: 40px;
    height: 40px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-ctas {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .services-grid,
  .stats-strip .wrap,
  .path-row {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 110px;
  }

  .stats-strip .stat-cell {
    border-right: 0;
  }

  .stats-strip .stat-cell:last-child {
    border-bottom: 0;
  }

  .about-media,
  .about-placeholder,
  .about-media img {
    height: 320px !important;
  }

  .about-text {
    padding: 26px 22px;
  }

  .doctor-row,
  .promo-grid {
    margin-right: -18px;
    padding-right: 18px;
  }

  .doctor-card {
    width: min(82vw, 286px);
  }

  .promo-card {
    flex-basis: 88%;
  }

  .promo-card h4 {
    font-size: 21px;
  }

  .rating-panel {
    padding: 24px;
  }

  .platforms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clinic-slider-card {
    min-height: 290px;
  }

  .faq-q {
    padding: 18px;
    font-size: 15px;
  }

  .faq-a p {
    padding: 0 54px 20px 18px;
  }

  .booking-strip .wrap {
    max-width: calc(100% - 36px);
    border-radius: var(--radius-lg);
  }

  .booking-card {
    padding: 26px 20px;
  }

  .contact-info {
    padding: 28px 22px;
  }

  .contact-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .contact-actions .btn {
    width: 100%;
  }

  .map-placeholder,
  .contact-map {
    min-height: 280px;
  }

  .map-label {
    top: auto;
    right: 18px;
    bottom: 18px;
    left: 18px;
    width: auto;
    white-space: normal;
    transform: none;
  }

  footer.site-footer {
    padding-top: 44px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .modal-overlay {
    align-items: flex-end;
    padding: 10px;
  }

  .modal-box {
    max-width: none;
    max-height: calc(100dvh - 20px);
    padding: 32px 20px 24px;
    border-radius: var(--radius-md);
  }
}

@media (max-width: 460px) {
  .logo-link img {
    width: 112px;
    height: auto;
  }

  .header-row {
    gap: 8px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-actions > .btn-pink {
    padding-right: 11px;
    padding-left: 11px;
  }

  .section-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
  }

  .section-head .link-arrow,
  .section-head .btn {
    width: auto;
    min-height: 40px;
    padding: 9px 40px 9px 14px;
    margin-top: 0;
    font-size: 12px;
    white-space: nowrap;
  }

  .section-head .link-arrow::after,
  .section-head > .btn::after {
    right: 0.9rem;
  }

  .section-head .h2 {
    font-size: clamp(21px, 6.2vw, 26px);
    line-height: 1.15;
  }

  .section-head .eyebrow {
    margin-bottom: 8px;
    font-size: 10px !important;
  }

  .promo-card {
    flex-basis: 92%;
  }

  .platforms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .rating-panel {
    padding: 18px 16px;
  }

  .platform {
    min-width: 0;
    padding: 10px 7px;
    gap: 6px;
  }

  .platform img {
    max-width: calc(100% - 30px);
    height: 18px;
  }

  .platform b {
    font-size: 11px;
  }

  .rating-panel__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-actions,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-logo {
    grid-column: auto;
  }
}

@media (max-width: 360px) {
  .wrap {
    padding-right: 14px;
    padding-left: 14px;
  }

  .logo-link img {
    width: 102px;
  }

  .header-actions > .btn-pink {
    padding-right: 9px;
    padding-left: 9px;
    font-size: 11px;
  }

  .doctor-row,
  .promo-grid {
    margin-right: -14px;
    padding-right: 14px;
  }

  .booking-strip .wrap {
    max-width: calc(100% - 28px);
  }
}

/* Old MODX doctors block shown only inside the redesigned home page. */
.moskow-staff-override .arrow-btn,
.moskow-actions-override .arrow-btn {
  position: relative;
  padding-right: 3.25rem;
}

.moskow-staff-override .arrow-btn::after,
.moskow-actions-override .arrow-btn::after {
  position: absolute;
  top: 50%;
  right: 1.55rem;
  display: block;
  width: 14px;
  height: 14px;
  content: "";
  background-image: url("../icons/btn-arrow.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
  transform: translateY(-50%);
}

.moskow-staff-override .arrow-btn:hover::after,
.moskow-actions-override .arrow-btn:hover::after {
  filter: brightness(0) invert(1);
}

.moskow-actions-override a.arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 3.25rem 13px 26px;
  border: 1px solid var(--c-primary);
  border-radius: 100px;
  color: var(--c-primary);
  background: var(--c-white);
  box-shadow: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.moskow-actions-override a.arrow-btn:hover {
  color: var(--c-white);
  background: var(--c-primary);
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Final tablet layout: keep treatment steps readable after the legacy CSS cascade. */
@media (min-width: 901px) and (max-width: 1180px) {
  .moskow-redesign .path-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (min-width: 769px) and (max-width: 900px) {
  .moskow-redesign .path-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .moskow-redesign .path-step {
    padding: 24px 22px;
  }
}

.moskow-redesign .path-step h4,
.moskow-redesign .path-step p {
  overflow-wrap: normal;
  word-break: normal;
}

/* Use the same compact mobile promotions layout as on the Udelnaya site. */
@media (max-width: 600px) {
  .moskow-actions-override .section-head-row {
    padding-bottom: 14px !important;
  }

  .moskow-actions-override .section-head-row h2 {
    margin-bottom: 0;
  }

  .moskow-actions-override .action_item_wrapper {
    padding-inline: 8px;
  }

  .moskow-actions-override .action_item {
    padding: 32px 32px 28px;
  }

  .moskow-actions-override .action_item_name {
    min-height: 82px;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.35;
  }

  .moskow-actions-override .action_period {
    font-size: 14px;
    line-height: 1.4;
  }

  .moskow-actions-override .action_read_more {
    margin-top: 24px;
  }

  .moskow-actions-override .btn.btn-outline-danger {
    padding: 9px 20px;
    font-size: 14px;
    line-height: 1.35;
  }
}
