/**
 * Complimed visual refresh 2.0
 *
 * This is the single authored stylesheet for the refreshed theme. Global
 * chrome, the front page and reusable service-page components live here.
 */

:root {
  --cr-ink: #17333a;
  --cr-muted: #60757a;
  --cr-teal: #16868c;
  --cr-teal-dark: #0f686e;
  --cr-teal-soft: #eaf6f5;
  --cr-line: #dce8e8;
  --cr-paper: #fff;
  --cr-canvas: #f7faf9;
  --cr-radius-lg: 32px;
  --cr-radius-md: 20px;
  --cr-shadow: 0 24px 70px rgba(23, 65, 70, 0.1);
  --cr-shadow-small: 0 14px 38px rgba(23, 65, 70, 0.09);
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: var(--cr-canvas);
  color: var(--cr-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

img {
  height: auto;
}

.site-content {
  padding: 0;
}

.container,
.ch-shell {
  width: min(1240px, calc(100% - 48px));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(220, 232, 232, 0.86);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.site-header .main-header {
  position: relative;
}

.site-header .top_bar {
  display: grid;
  grid-template-columns: minmax(160px, 190px) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  min-height: 82px;
  padding: 0;
}

.site-header .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.site-header .custom-logo {
  width: 178px;
  max-width: 178px;
  max-height: 56px;
}

.site-header .top_bar_info,
.site-header .top_bar_info > ul {
  min-width: 0;
}

.site-header .top_bar_info > ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header .icon-link {
  gap: 10px;
  margin: 0;
  color: var(--cr-muted);
  font-size: 11px;
  line-height: 1.35;
}

.site-header .icon-link img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: 0.75;
}

.site-header .icon-link > div {
  display: grid;
}

.site-header .icon-link span,
.site-header .icon-link a {
  display: block;
  color: var(--cr-muted);
  white-space: nowrap;
}

.site-header .icon-link a {
  color: var(--cr-ink);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.site-header .lang-item {
  display: inline-flex;
  margin: 0;
}

.site-header .lang-item a {
  color: var(--cr-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-header .current-lang a {
  color: var(--cr-teal-dark);
}

.nav-modal-btn,
.main-btn,
.send-button {
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid var(--cr-teal);
  border-radius: 999px;
  background: var(--cr-teal);
  box-shadow: 0 10px 22px rgba(22, 134, 140, 0.17);
  color: #fff !important;
  cursor: pointer;
  font-weight: 750;
  line-height: 1.2;
}

.nav-modal-btn:hover,
.nav-modal-btn:focus,
.main-btn:hover,
.main-btn:focus,
.send-button:hover,
.send-button:focus {
  border-color: var(--cr-teal-dark);
  background: var(--cr-teal-dark);
  color: #fff !important;
}

.site-header .header-socials {
  margin: 0;
}

.site-header .header-socials a {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--cr-teal-soft);
  color: var(--cr-teal-dark);
  font-size: 13px;
}

.site-header .main-nav {
  position: relative;
  min-height: 50px;
  border-top: 1px solid var(--cr-line);
  background: transparent;
}

.site-header .main-nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 2.5vw, 36px);
  min-height: 50px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header .main-nav-list > li {
  position: relative;
  margin: 0;
}

.site-header .main-nav-list > li > a {
  display: flex;
  align-items: center;
  min-height: 50px;
  color: var(--cr-ink);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.site-header .main-nav-list > li > a:hover,
.site-header .main-nav-list > .current-menu-item > a,
.site-header .main-nav-list > .current-menu-ancestor > a {
  color: var(--cr-teal-dark);
}

.site-header .main-nav-list .sub-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% - 1px);
  left: -22px;
  width: 250px;
  margin: 0;
  padding: 12px;
  visibility: hidden;
  border: 1px solid var(--cr-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--cr-shadow-small);
  list-style: none;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.site-header .main-nav-list li:hover > .sub-menu,
.site-header .main-nav-list li:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.site-header .main-nav-list .sub-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--cr-ink);
  font-size: 13px;
  text-decoration: none;
}

.site-header .main-nav-list .sub-menu a:hover {
  background: var(--cr-teal-soft);
  color: var(--cr-teal-dark);
}

.site-header .menu-toggle,
.site-header .mob-languages {
  display: none;
}

/* Refreshed home page */

.complimed-home,
.complimed-home * {
  box-sizing: border-box;
}

.complimed-home {
  overflow: hidden;
  background: var(--cr-canvas);
  color: var(--cr-ink);
}

.complimed-home h1,
.complimed-home h2,
.complimed-home h3,
.complimed-home p {
  margin-top: 0;
}

.ch-eyebrow {
  margin: 0 0 18px;
  color: var(--cr-teal-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.ch-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 25px;
  border: 1px solid var(--cr-teal);
  border-radius: 999px;
  background: var(--cr-teal);
  box-shadow: 0 12px 24px rgba(22, 134, 140, 0.18);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.ch-button:hover,
.ch-button:focus {
  border-color: var(--cr-teal-dark);
  background: var(--cr-teal-dark);
  color: #fff;
  transform: translateY(-2px);
}

.ch-button--ghost {
  background: transparent;
  box-shadow: none;
  color: var(--cr-teal-dark);
}

.ch-button--ghost:hover,
.ch-button--ghost:focus {
  background: var(--cr-teal-soft);
  color: var(--cr-teal-dark);
}

.ch-button--light {
  border-color: #fff;
  background: #fff;
  box-shadow: none;
  color: var(--cr-teal-dark);
}

.ch-button--light:hover,
.ch-button--light:focus {
  border-color: var(--cr-teal-soft);
  background: var(--cr-teal-soft);
  color: var(--cr-teal-dark);
}

.ch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ch-hero {
  padding: 38px 0 0;
}

.ch-hero__card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  min-height: 650px;
  overflow: hidden;
  border: 1px solid var(--cr-line);
  border-radius: var(--cr-radius-lg);
  background: linear-gradient(135deg, #f0f8f7 0%, #fff 64%);
  box-shadow: var(--cr-shadow);
}

.ch-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(46px, 6vw, 78px);
}

.ch-hero h1 {
  max-width: 650px;
  margin: 0 0 24px;
  color: var(--cr-ink);
  font-size: clamp(43px, 5.2vw, 72px);
  font-weight: 760;
  letter-spacing: -0.052em;
  line-height: 1.02;
  text-transform: none;
}

.ch-hero__lead {
  max-width: 600px;
  margin-bottom: 30px;
  color: var(--cr-muted);
  font-size: 19px;
}

.ch-locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--cr-line);
}

.ch-locations a {
  display: grid;
  color: var(--cr-ink);
  text-decoration: none;
}

.ch-locations strong {
  font-size: 15px;
}

.ch-locations span {
  color: var(--cr-muted);
  font-size: 13px;
}

.ch-hero__media {
  position: relative;
  min-height: 650px;
  overflow: hidden;
}

.ch-hero__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(240, 248, 247, 0.6), transparent 28%);
  content: "";
}

.ch-hero__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% center;
}

.ch-hero__note {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 28px;
  display: grid;
  max-width: 275px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 16px 40px rgba(23, 51, 58, 0.14);
  backdrop-filter: blur(16px);
}

.ch-hero__note span {
  color: var(--cr-muted);
  font-size: 13px;
}

.ch-section {
  padding: 108px 0;
}

.ch-section--soft {
  background: #eef6f5;
}

.ch-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 46px;
}

.ch-section__head--compact {
  grid-template-columns: minmax(0, 1fr) auto;
}

.ch-section__head h2,
.ch-about h2,
.ch-contacts h2 {
  max-width: 750px;
  margin: 0;
  color: var(--cr-ink);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-transform: none;
}

.ch-section__head > p {
  margin-bottom: 6px;
  color: var(--cr-muted);
  font-size: 17px;
}

.ch-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ch-service-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--cr-line);
  border-radius: var(--cr-radius-md);
  background: var(--cr-paper);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ch-service-card:hover {
  box-shadow: var(--cr-shadow);
  transform: translateY(-5px);
}

.ch-service-card--accent {
  background: var(--cr-teal-soft);
}

.ch-service-card > img {
  width: 48px;
  height: 48px;
  margin-bottom: 40px;
  object-fit: contain;
}

.ch-service-card h3 {
  margin-bottom: 12px;
  color: var(--cr-ink);
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.ch-service-card p {
  color: var(--cr-muted);
}

.ch-service-card ul {
  display: grid;
  gap: 9px;
  margin: auto 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--cr-line);
  list-style: none;
}

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

.ch-service-card a,
.ch-text-link {
  color: var(--cr-teal-dark);
  font-weight: 750;
  text-decoration: none;
}

.ch-service-card a:hover,
.ch-text-link:hover {
  color: var(--cr-teal);
}

.ch-branch {
  padding: 0 0 108px;
}

.ch-branch__card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  min-height: 430px;
  overflow: hidden;
  border-radius: var(--cr-radius-lg);
  background: var(--cr-teal-dark);
  box-shadow: var(--cr-shadow);
}

.ch-branch__card > img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.ch-branch__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(42px, 5vw, 68px);
  color: #fff;
}

.ch-branch__content .ch-eyebrow {
  color: #bde7e5;
}

.ch-branch__content h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.06;
  text-transform: none;
}

.ch-branch__content p:not(.ch-eyebrow) {
  margin-bottom: 28px;
  color: #d7efed;
  font-size: 18px;
}

.ch-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ch-news-card {
  overflow: hidden;
  border: 1px solid var(--cr-line);
  border-radius: var(--cr-radius-md);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ch-news-card:hover {
  box-shadow: var(--cr-shadow-small);
  transform: translateY(-4px);
}

.ch-news-card__image {
  display: block;
  height: 230px;
  overflow: hidden;
  background: var(--cr-teal-soft);
}

.ch-news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ch-news-card:hover .ch-news-card__image img {
  transform: scale(1.035);
}

.ch-news-card__body {
  padding: 28px;
}

.ch-news-card__date {
  margin-bottom: 10px;
  color: var(--cr-muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ch-news-card h3 {
  margin-bottom: 12px;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.ch-news-card h3 a {
  color: var(--cr-ink);
  text-decoration: none;
}

.ch-news-card__body > p:not(.ch-news-card__date) {
  color: var(--cr-muted);
}

.ch-about__layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(48px, 7vw, 90px);
  align-items: center;
}

.ch-about__image {
  position: relative;
  overflow: hidden;
  border-radius: var(--cr-radius-lg);
  background: var(--cr-teal-soft);
}

.ch-about__image::before {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(22, 134, 140, 0.28);
  border-radius: 50%;
  content: "";
}

.ch-about__image img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  min-height: 610px;
  object-fit: contain;
  object-position: bottom center;
}

.ch-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin-top: 40px;
}

.ch-values article {
  padding: 24px 0;
  border-top: 1px solid var(--cr-line);
}

.ch-values span {
  color: var(--cr-teal);
  font-size: 12px;
  font-weight: 800;
}

.ch-values h3 {
  margin: 8px 0 9px;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.ch-values p {
  margin: 0;
  color: var(--cr-muted);
  font-size: 15px;
}

.ch-doctors-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.ch-doctor-card {
  overflow: hidden;
  border: 1px solid var(--cr-line);
  border-radius: var(--cr-radius-md);
  background: #fff;
}

.ch-doctor-card__image {
  display: block;
  height: 330px;
  overflow: hidden;
  background: #e7f2f1;
}

.ch-doctor-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}

.ch-doctor-card:hover .ch-doctor-card__image img {
  transform: scale(1.03);
}

.ch-doctor-card__body {
  padding: 24px;
}

.ch-doctor-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 750;
  line-height: 1.25;
}

.ch-doctor-card h3 a {
  color: var(--cr-ink);
  text-decoration: none;
}

.ch-doctor-card p {
  color: var(--cr-muted);
  font-size: 14px;
}

.ch-contacts {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  background: #dcebea;
}

.ch-contacts__map {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(218, 235, 233, 0.3), rgba(218, 235, 233, 0.06)),
    url("../img/map.webp") center / cover no-repeat;
}

.ch-contacts__layout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 700px;
  padding-block: 70px;
}

.ch-contacts__card {
  width: min(520px, 100%);
  padding: clamp(34px, 5vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--cr-radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--cr-shadow);
  backdrop-filter: blur(18px);
}

.ch-contact-branch {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 22px;
  padding: 23px 0;
  border-bottom: 1px solid var(--cr-line);
}

.ch-contact-branch strong {
  grid-row: span 2;
  align-self: center;
}

.ch-contact-branch a,
.ch-contact-footer a {
  color: var(--cr-teal-dark);
  font-weight: 700;
  text-decoration: none;
}

.ch-contact-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
  padding: 22px 0 28px;
  color: var(--cr-muted);
  font-size: 14px;
}

/* Footer and forms */

.site-footer {
  padding: 76px 0 0;
  background: var(--cr-ink) !important;
  background-image: none !important;
  color: #b9ced0;
}

.site-footer::before,
.site-footer::after {
  display: none !important;
}

.site-footer .footer-columns-wrap {
  align-items: flex-start;
  padding-bottom: 54px;
}

.site-footer .footer-logo img {
  width: auto;
  max-width: 180px;
  max-height: 58px;
  margin-bottom: 22px;
}

.site-footer p,
.site-footer span,
.site-footer li {
  color: #b9ced0;
  font-size: 14px;
}

.site-footer .footer-title {
  margin-bottom: 22px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer .footer-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer .footer-list a {
  color: #d8e5e6;
  text-decoration: none;
}

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

.site-footer .footer-phone {
  display: grid;
  gap: 6px;
}

.site-footer .footer-branch-separator {
  margin-top: 10px;
}

.site-footer .soc-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer .soc-list li > a {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.site-footer .footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  background: transparent;
}

.site-footer .copyright-inner {
  min-height: 66px;
  align-items: center;
}

.site-footer .copyright-inner p {
  margin: 0;
}

.custom-modal .modal-overlay {
  padding: 20px;
  background: rgba(10, 38, 43, 0.68);
  backdrop-filter: blur(8px);
}

.custom-modal .modal-window,
#modalCall .modal-content {
  width: min(560px, 100%);
  height: auto;
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--cr-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--cr-shadow);
}

.custom-modal .modal-header,
#modalCall .modal-header {
  padding: 22px 26px;
  border-bottom: 1px solid var(--cr-line);
}

.custom-modal .modal-title {
  color: var(--cr-ink);
  font-size: 22px;
  font-weight: 750;
}

.custom-modal .contact-wrapper,
#modalCall .modal-body {
  padding: 24px 26px 28px;
}

.custom-modal .modal-window {
  overflow-y: auto;
}

.custom-form .form-group {
  margin-bottom: 18px;
}

.custom-form label {
  display: block;
  margin-bottom: 7px;
  color: var(--cr-ink);
  font-size: 13px;
  font-weight: 750;
}

.custom-form .form-control,
.custom-form .slct {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #cfdedf;
  border-radius: 12px;
  background: #fff;
  color: var(--cr-ink);
}

.custom-modal .contact-wrapper .custom-form .form-control,
.custom-modal .contact-wrapper .custom-form .slct {
  height: auto;
  min-height: 48px;
  margin-bottom: 0;
  padding: 11px 14px;
  border: 1px solid #cfdedf;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}

.custom-form textarea.form-control {
  min-height: 110px;
  margin-bottom: 0;
  padding: 12px 14px;
  resize: vertical;
}

.custom-form .form-control:focus,
.custom-form .slct:focus {
  border-color: var(--cr-teal);
  box-shadow: 0 0 0 3px rgba(22, 134, 140, 0.12);
  outline: 0;
}

.phone-call-button {
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--cr-teal-dark);
  box-shadow: 0 14px 34px rgba(15, 104, 110, 0.28);
}

.phone-call-button svg {
  width: 34px;
  height: 34px;
}

@media (max-width: 1180px) {
  .site-header .top_bar_info > ul {
    gap: 12px;
  }

  .site-header .icon-link:first-child,
  .site-header .header-socials {
    display: none !important;
  }

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

@media (max-width: 991px) {
  .site-header {
    position: sticky;
  }

  .site-header .top_bar {
    display: flex;
    justify-content: space-between;
    min-height: 72px;
  }

  .site-header .custom-logo {
    width: 164px;
    max-width: 164px;
  }

  .site-header .top_bar_info {
    display: none;
  }

  .site-header .menu-toggle {
    position: relative;
    z-index: 1004;
    display: grid;
    width: 46px;
    height: 46px;
    padding: 12px;
    place-content: center;
    gap: 5px;
    border: 1px solid var(--cr-line);
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
  }

  .site-header .menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--cr-ink);
    transition: 0.2s ease;
  }

  .site-header .menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .site-header .menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-header .main-nav {
    position: fixed;
    z-index: 1002;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(390px, 88vw);
    height: 100dvh;
    padding: 28px;
    overflow-y: auto;
    border: 0;
    background: #fff;
    box-shadow: -20px 0 60px rgba(17, 51, 58, 0.16);
    transform: translateX(105%);
    transition: transform 0.28s ease;
  }

  .site-header .main-nav::before,
  .site-header .main-nav::after {
    display: none !important;
  }

  .site-header .main-nav.active {
    transform: translateX(0);
  }

  .site-header .mob-languages {
    display: flex !important;
    gap: 14px;
    margin: 0 0 24px;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--cr-line);
    list-style: none;
  }

  .site-header .main-nav-list {
    display: grid;
    align-content: start;
    justify-content: stretch;
    gap: 0;
    min-height: 0;
  }

  .site-header .main-nav-list > li {
    border-bottom: 1px solid var(--cr-line);
  }

  .site-header .main-nav-list > li > a {
    justify-content: flex-start;
    min-height: 54px;
    font-size: 15px;
  }

  .site-header .main-nav-list .sub-menu {
    position: static;
    display: none;
    width: auto;
    padding: 0 0 12px 10px;
    visibility: visible;
    border: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
  }

  .site-header .main-nav-list .active > .sub-menu {
    display: block;
  }

  .site-backdrop {
    position: fixed;
    z-index: 1001;
    inset: 0;
    display: block;
    visibility: hidden;
    background: rgba(9, 31, 35, 0.55);
    opacity: 0;
    transition: 0.25s ease;
  }

  .site-backdrop.active {
    visibility: visible;
    opacity: 1;
  }

  body.menu-active {
    overflow: hidden;
  }

  .ch-hero__card {
    grid-template-columns: 1fr;
  }

  .ch-hero__media {
    min-height: 500px;
    order: -1;
  }

  .ch-services,
  .ch-news-grid {
    grid-template-columns: 1fr;
  }

  .ch-service-card {
    min-height: 310px;
  }

  .ch-branch__card,
  .ch-about__layout {
    grid-template-columns: 1fr;
  }

  .ch-branch__card > img {
    min-height: 360px;
  }

  .ch-about__image img {
    min-height: 520px;
  }

  .ch-news-card {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  }

  .ch-news-card__image {
    height: 100%;
    min-height: 290px;
  }

  .site-footer .footer-columns-wrap {
    row-gap: 36px;
  }
}

@media (max-width: 767px) {
  .container,
  .ch-shell {
    width: min(100% - 24px, 1240px);
  }

  .ch-hero {
    padding-top: 12px;
  }

  .ch-hero__card,
  .ch-branch__card,
  .ch-about__image,
  .ch-contacts__card {
    border-radius: 24px;
  }

  .ch-hero__media {
    min-height: 380px;
  }

  .ch-hero__copy {
    padding: 34px 24px 38px;
  }

  .ch-hero h1 {
    font-size: clamp(38px, 12vw, 48px);
  }

  .ch-hero__lead {
    font-size: 17px;
  }

  .ch-actions .ch-button {
    width: 100%;
  }

  .ch-locations {
    grid-template-columns: 1fr;
  }

  .ch-hero__note {
    right: 16px;
    bottom: 16px;
    left: 16px;
    max-width: none;
  }

  .ch-section {
    padding: 76px 0;
  }

  .ch-section__head,
  .ch-section__head--compact {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ch-section__head h2,
  .ch-about h2,
  .ch-contacts h2 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .ch-service-card {
    min-height: 0;
    padding: 28px;
  }

  .ch-branch {
    padding-bottom: 76px;
  }

  .ch-branch__card > img {
    min-height: 300px;
  }

  .ch-branch__content {
    padding: 38px 26px 42px;
  }

  .ch-news-card {
    display: block;
  }

  .ch-news-card__image {
    height: 220px;
    min-height: 0;
  }

  .ch-about__layout {
    gap: 42px;
  }

  .ch-about__image img {
    min-height: 410px;
  }

  .ch-values,
  .ch-doctors-grid {
    grid-template-columns: 1fr;
  }

  .ch-doctor-card {
    display: grid;
    grid-template-columns: 42% 58%;
  }

  .ch-doctor-card__image {
    height: 100%;
    min-height: 290px;
  }

  .ch-contact-branch {
    grid-template-columns: 1fr;
  }

  .ch-contact-branch strong {
    grid-row: auto;
    margin-bottom: 6px;
  }

  .ch-contacts,
  .ch-contacts__layout {
    min-height: 640px;
  }

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

@media (max-width: 480px) {
  .ch-doctor-card {
    display: block;
  }

  .ch-doctor-card__image {
    height: 360px;
  }

  .ch-service-card__columns {
    grid-template-columns: 1fr;
  }

  .phone-call-button {
    right: 14px;
    bottom: 14px;
  }
}

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

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

/**
 * Complimed service pages
 *
 * Single source of truth for service-page HTML stored in WordPress. New and
 * migrated pages use the neutral cmp-* component API. Specialty-prefixed
 * selectors remain only as a temporary compatibility layer for existing page
 * content; they share these declarations and do not duplicate the styles.
 */

:is(.cmp-service, .cardio-page, .gyn-page, .neuro-page, .dens-page),
:is(.cmp-service, .cardio-page, .gyn-page, .neuro-page, .dens-page) * {
  box-sizing: border-box;
}

:is(.cmp-service, .cardio-page, .gyn-page, .neuro-page, .dens-page) {
  --service-accent: #147b87;
  --service-accent-dark: #0d5963;
  --service-accent-soft: #e9f6f7;
  --service-text: #1e293b;
  --service-muted: #64748b;
  --service-border: #dce7ea;
  --service-bg: #f5fafb;
  --service-white: #fff;
  --service-radius-lg: 24px;
  --service-radius-md: 16px;
  --service-shadow: 0 18px 48px rgba(15, 61, 70, 0.09);
  color: var(--service-text);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.65;
}

:is(.cmp-service, .cardio-page, .gyn-page, .neuro-page, .dens-page) img {
  max-width: 100%;
}

:is(.cmp-container, .cardio-container, .gyn-container, .neuro-container, .dens-container) {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

:is(.cmp-section, .cardio-section, .gyn-section, .neuro-section, .dens-section) {
  padding-block: 72px;
}

:is(.cmp-section--compact, .neuro-section--sm) {
  padding-block: 56px;
}

:is(.cmp-section--soft, .cardio-section--soft, .gyn-section--soft, .dens-section--soft) {
  background: var(--service-bg);
}

:is(.cmp-title, .cardio-title, .gyn-title, .neuro-title, .dens-title) {
  margin: 0 0 22px;
  color: var(--service-text);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-transform: none;
}

:is(.cmp-subtitle, .cardio-subtitle, .gyn-subtitle, .neuro-subtitle, .dens-subtitle) {
  margin: 0 0 24px;
  color: var(--service-text);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-transform: none;
}

:is(.cmp-heading, .cardio-heading, .gyn-heading, .neuro-heading, .dens-heading) {
  margin: 0 0 12px;
  color: var(--service-text);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

:is(.cmp-lead, .cardio-lead, .gyn-lead, .neuro-lead, .dens-lead) {
  margin: 0 0 16px;
  color: #334155;
  font-size: 18px;
}

:is(.cmp-copy, .cardio-text, .gyn-text, .neuro-text, .dens-text) p {
  margin: 0 0 16px;
}

:is(.cmp-copy, .cardio-text, .gyn-text, .neuro-text, .dens-text) p:last-child {
  margin-bottom: 0;
}

:is(.cmp-hero, .cardio-hero, .gyn-hero, .dens-hero) {
  padding-block: 72px;
  background:
    radial-gradient(circle at 86% 10%, rgba(85, 190, 199, 0.17), transparent 30%),
    linear-gradient(135deg, #eff9fa 0%, #fff 54%, #f4fafb 100%);
}

.neuro-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 10%, rgba(85, 190, 199, 0.17), transparent 30%),
    linear-gradient(135deg, #eff9fa 0%, #fff 54%, #f4fafb 100%);
}

:is(.cmp-hero__grid, .cardio-hero__grid, .gyn-hero__grid, .neuro-hero__grid, .dens-hero__grid) {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(30px, 4vw, 52px);
  align-items: center;
}

:is(.cmp-badge, .cardio-badge, .gyn-badge, .neuro-badge, .dens-badge) {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 9px 15px;
  border: 1px solid rgba(20, 123, 135, 0.12);
  border-radius: 999px;
  background: rgba(20, 123, 135, 0.08);
  color: var(--service-accent-dark);
  font-size: 14px;
  font-weight: 700;
}

:is(.cmp-hero__image, .cardio-hero__image, .gyn-hero__image, .neuro-hero__photo, .dens-hero__image) {
  overflow: hidden;
  border: 1px solid rgba(20, 123, 135, 0.12);
  border-radius: var(--service-radius-lg);
  background: var(--service-white);
  box-shadow: var(--service-shadow);
}

:is(.cmp-hero__image, .cardio-hero__image, .gyn-hero__image, .dens-hero__image) img {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
}

.neuro-hero__photo img {
  display: block;
  width: 100%;
  height: 460px;
  object-fit: cover;
}

:is(.cmp-locations, .cardio-locations, .neuro-locations, .dens-locations) {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

:is(.cmp-location, .cardio-location, .neuro-location, .dens-location) {
  padding: 11px 16px;
  border: 1px solid rgba(20, 123, 135, 0.1);
  border-radius: 999px;
  background: rgba(20, 123, 135, 0.07);
  color: var(--service-accent-dark);
  font-weight: 700;
}

:is(.cmp-actions, .cardio-actions, .gyn-actions, .neuro-actions, .dens-actions) {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

:is(.cmp-button, .cardio-btn, .gyn-btn, .neuro-btn, .dens-btn) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--service-accent);
  box-shadow: 0 8px 18px rgba(20, 123, 135, 0.18);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

:is(.cmp-button, .cardio-btn, .gyn-btn, .neuro-btn, .dens-btn):hover,
:is(.cmp-button, .cardio-btn, .gyn-btn, .neuro-btn, .dens-btn):focus-visible {
  background: var(--service-accent-dark);
  box-shadow: 0 10px 24px rgba(13, 89, 99, 0.23);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

:is(.cmp-button--ghost, .cardio-btn--ghost, .gyn-btn--ghost, .neuro-btn--ghost, .dens-btn--ghost) {
  border-color: var(--service-accent);
  background: transparent;
  box-shadow: none;
  color: var(--service-accent);
}

:is(.cmp-button--ghost, .cardio-btn--ghost, .gyn-btn--ghost, .neuro-btn--ghost, .dens-btn--ghost):hover,
:is(.cmp-button--ghost, .cardio-btn--ghost, .gyn-btn--ghost, .neuro-btn--ghost, .dens-btn--ghost):focus-visible {
  border-color: var(--service-accent-dark);
  background: var(--service-accent-dark);
  color: #fff;
}

:is(.cmp-grid, .cardio-grid, .gyn-grid, .neuro-grid, .dens-grid) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

:is(.cmp-grid--3, .cardio-grid--3, .gyn-grid--3, .neuro-grid--3, .dens-grid--3) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

:is(.cmp-card, .cardio-card, .gyn-card, .neuro-card, .dens-card) {
  padding: 28px;
  border: 1px solid var(--service-border);
  border-radius: var(--service-radius-md);
  background: var(--service-white);
  box-shadow: 0 10px 30px rgba(15, 61, 70, 0.045);
}

:is(.cmp-card--soft, .neuro-card--soft, .dens-card--soft) {
  background: var(--service-bg);
}

:is(.cmp-list, .cardio-list, .gyn-list, .neuro-list, .dens-list) {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

:is(.cmp-list, .cardio-list, .gyn-list, .neuro-list, .dens-list) li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 24px;
}

:is(.cmp-list, .cardio-list, .gyn-list, .neuro-list, .dens-list) li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--service-accent);
  content: "";
}

:is(.cmp-tags, .cardio-tags, .gyn-tags, .neuro-chips, .dens-tags) {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

:is(.cmp-tag, .cardio-tag, .gyn-tag, .neuro-chip, .dens-tag) {
  padding: 12px 17px;
  border: 1px solid var(--service-border);
  border-radius: 999px;
  background: var(--service-white);
  color: var(--service-text);
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

:is(.cmp-tag, .cardio-tag, .gyn-tag, .neuro-chip, .dens-tag):hover {
  border-color: rgba(20, 123, 135, 0.38);
  color: var(--service-accent-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

.cmp-tag a,
.neuro-chip a {
  color: var(--service-accent-dark);
}

:is(.cmp-price, .cardio-price, .gyn-price, .neuro-price, .dens-price) {
  overflow: hidden;
  border: 1px solid var(--service-border);
  border-radius: var(--service-radius-lg);
  background: var(--service-white);
  box-shadow: var(--service-shadow);
}

:is(.cmp-table, .cardio-table, .gyn-table, .neuro-table, .dens-table) {
  width: 100%;
  border-collapse: collapse;
}

:is(.cmp-table, .cardio-table, .gyn-table, .neuro-table, .dens-table) :is(th, td) {
  padding: 18px 22px;
  border-bottom: 1px solid var(--service-border);
  text-align: left;
}

:is(.cmp-table, .cardio-table, .gyn-table, .neuro-table, .dens-table) th {
  background: var(--service-accent-soft);
  color: var(--service-text);
  font-weight: 700;
}

:is(.cmp-table, .cardio-table, .gyn-table, .neuro-table, .dens-table) tr:last-child td {
  border-bottom: 0;
}

:is(.cmp-table, .cardio-table, .gyn-table, .neuro-table, .dens-table) :is(td, th):nth-child(2) {
  width: 150px;
  color: var(--service-accent-dark);
  font-weight: 700;
  white-space: nowrap;
}

:is(.cmp-table, .cardio-table, .gyn-table, .neuro-table, .dens-table) :is(td, th):last-child {
  width: 170px;
  text-align: right;
}

.cmp-table .cmp-button,
:is(.cardio-table, .gyn-table, .dens-table) :is(.cardio-btn, .gyn-btn, .dens-btn) {
  min-height: 42px;
  padding: 9px 17px;
  font-size: 14px;
}

:is(.cmp-doctors, .cardio-doctors, .gyn-doctors) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.cmp-doctors--3,
.gyn-doctors {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

:is(.cmp-doctor, .cardio-doctor, .gyn-doctor) {
  overflow: hidden;
  border: 1px solid var(--service-border);
  border-radius: var(--service-radius-lg);
  background: var(--service-white);
  box-shadow: 0 10px 30px rgba(15, 61, 70, 0.045);
}

:is(.cmp-doctor__photo, .cardio-doctor__photo, .gyn-doctor__photo) img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center top;
}

:is(.cmp-doctor__body, .cardio-doctor__body, .gyn-doctor__body) {
  padding: 24px;
}

:is(.cmp-doctor__name, .cardio-doctor__name, .gyn-doctor__name) {
  margin: 0 0 12px;
  color: var(--service-text);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
}

:is(.cmp-link, .cardio-link, .gyn-link, .neuro-link, .dens-link) {
  color: var(--service-accent-dark);
  font-weight: 700;
  text-decoration: none;
}

:is(.cmp-link, .cardio-link, .gyn-link, .neuro-link, .dens-link):hover {
  text-decoration: underline;
}

.cmp-doctor--featured,
.neuro-doctor,
.dens-doctor {
  display: grid;
  grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.cmp-doctor--featured .cmp-doctor__photo,
:is(.neuro-doctor__photo, .dens-doctor__photo) {
  overflow: hidden;
  border: 1px solid var(--service-border);
  border-radius: var(--service-radius-lg);
  background: var(--service-bg);
}

.cmp-doctor--featured .cmp-doctor__photo img,
:is(.neuro-doctor__photo, .dens-doctor__photo) img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: center top;
}

.cmp-doctor--featured .cmp-doctor__body,
:is(.neuro-doctor__content, .dens-doctor__body) {
  padding: 30px;
  border: 1px solid var(--service-border);
  border-radius: var(--service-radius-lg);
  background: var(--service-white);
  box-shadow: var(--service-shadow);
}

:is(.cmp-label, .neuro-label, .dens-doctor__label) {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(20, 123, 135, 0.08);
  color: var(--service-accent-dark);
  font-size: 14px;
  font-weight: 700;
}

.cmp-tech,
.dens-tech {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.cmp-tech__aside,
.dens-tech__aside {
  position: sticky;
  top: 30px;
}

.cmp-metrics,
.dens-metrics {
  display: grid;
  gap: 14px;
}

.cmp-metric,
.dens-metric {
  padding: 18px;
  border: 1px solid var(--service-border);
  border-radius: var(--service-radius-md);
  background: var(--service-bg);
}

.cmp-metric strong,
.dens-metric strong {
  display: block;
  margin-bottom: 4px;
  color: var(--service-accent-dark);
  font-size: 18px;
}

.cmp-alert,
.dens-alert {
  margin-bottom: 26px;
  padding: 18px 20px;
  border: 1px solid #fed7aa;
  border-radius: var(--service-radius-md);
  background: #fff7ed;
  color: #8a3412;
}

.cmp-alert strong,
.dens-alert strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

.cmp-reviews,
.dens-reviews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

:is(.cmp-review, .cardio-review, .gyn-review, .neuro-review, .dens-review) {
  padding: 24px;
  border: 1px solid var(--service-border);
  border-radius: var(--service-radius-md);
  background: var(--service-white);
  box-shadow: 0 10px 30px rgba(15, 61, 70, 0.045);
}

:is(.cmp-review__top, .cardio-review__top, .gyn-review__top, .neuro-review__top, .dens-review__top) {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

:is(.cmp-review__name, .cardio-review__name, .gyn-review__name, .dens-review__name) {
  margin: 0;
  color: var(--service-text);
  font-size: 20px;
  font-weight: 700;
}

:is(.cmp-stars, .cardio-stars, .gyn-stars, .neuro-stars, .dens-stars) {
  color: var(--service-accent);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/**
 * Legacy service pages. These selectors map the old WordPress editor markup to
 * the current visual language without requiring immediate content migrations.
 */

body.complimed-legacy-service .entry-content {
  --legacy-accent: #147b87;
  --legacy-accent-dark: #0d5963;
  --legacy-text: #1e293b;
  --legacy-border: #dce7ea;
  --legacy-bg: #f5fafb;
  color: var(--legacy-text);
  overflow: clip;
}

body.complimed-legacy-service .entry-content > .container:first-child {
  padding-block: clamp(42px, 6vw, 76px);
}

body.complimed-legacy-service .entry-content > .container:first-child > .row {
  align-items: stretch;
}

body.complimed-legacy-service .entry-content .service-info {
  height: 100%;
}

body.complimed-legacy-service .entry-content .service-info__body {
  display: flex;
  height: 100%;
  flex-direction: column;
}

body.complimed-legacy-service .entry-content .service-info__title {
  margin-bottom: 20px !important;
  color: var(--legacy-text);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-transform: none;
}

body.complimed-legacy-service .entry-content .service-info__text {
  color: #334155;
  font-size: 16px;
  line-height: 1.75;
}

body.complimed-legacy-service .entry-content .service-info__location {
  color: var(--legacy-accent-dark);
  font-weight: 700;
}

body.complimed-legacy-service .entry-content .service-info__img {
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--legacy-bg);
  box-shadow: 0 18px 48px rgba(15, 61, 70, 0.09);
}

body.complimed-legacy-service .entry-content .service-info__img img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

body.complimed-legacy-service .entry-content .main-btn {
  min-height: 50px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--legacy-accent);
  box-shadow: 0 8px 18px rgba(20, 123, 135, 0.18);
  font-weight: 700;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

body.complimed-legacy-service .entry-content .main-btn:hover,
body.complimed-legacy-service .entry-content .main-btn:focus-visible {
  background: var(--legacy-accent-dark);
  transform: translateY(-1px);
}

body.complimed-legacy-service .entry-content :is(.testimony-info, .services-procedures, .diseases, .disease-treatment, .disease-doctor, .testimonials) {
  padding-block: clamp(48px, 6vw, 76px);
}

body.complimed-legacy-service .entry-content :is(.testimony-info, .disease-treatment, .testimonials) {
  background: var(--legacy-bg);
}

body.complimed-legacy-service .entry-content :is(.testimony-info__title, .services-procedures__title, .diseases > h2, .disease-treatment > h2, .disease-doctor__title, .testimonials__title) {
  margin-bottom: 28px !important;
  color: var(--legacy-text);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-align: center;
  text-transform: none;
}

body.complimed-legacy-service .entry-content .testimony-info__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 30px;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--legacy-border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 61, 70, 0.045);
  list-style: none;
}

body.complimed-legacy-service .entry-content .testimony-info__list li {
  position: relative;
  padding-left: 24px;
}

body.complimed-legacy-service .entry-content .testimony-info__list li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--legacy-accent);
  content: "";
}

body.complimed-legacy-service .entry-content .table-responsive-vertical {
  overflow: hidden;
  border: 1px solid var(--legacy-border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 61, 70, 0.09);
}

body.complimed-legacy-service .entry-content .services-procedures table {
  width: 100%;
  margin: 0;
}

body.complimed-legacy-service .entry-content .services-procedures :is(th, td) {
  padding: 16px 20px;
  border-bottom: 1px solid var(--legacy-border);
}

body.complimed-legacy-service .entry-content .services-procedures th {
  background: #e9f6f7;
  color: var(--legacy-text);
  font-weight: 700;
}

body.complimed-legacy-service .entry-content .diseases-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center !important;
  gap: 12px;
}

body.complimed-legacy-service .entry-content .diseases-item {
  width: auto;
  min-height: auto;
  margin: 0;
  padding: 12px 18px;
  border: 1px solid var(--legacy-border);
  border-radius: 999px;
  background: #fff;
  color: var(--legacy-text);
  font-weight: 700;
  text-align: center;
}

body.complimed-legacy-service .entry-content .diseases-item p {
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  font: inherit;
}

body.complimed-legacy-service .entry-content .treatment-card {
  height: 100%;
  padding: 26px;
  border: 1px solid var(--legacy-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 61, 70, 0.045);
}

body.complimed-legacy-service .entry-content .treatment-card__title {
  color: var(--legacy-text);
  font-size: 22px;
  line-height: 1.3;
  text-transform: none;
}

body.complimed-legacy-service .entry-content .disease-doctor .service-info__wrap {
  display: flex;
  flex-direction: column;
}

body.complimed-legacy-service .entry-content .disease-doctor .service-info__img {
  height: 390px;
  min-height: 390px;
}

body.complimed-legacy-service .entry-content .disease-doctor .service-info {
  padding: 24px;
  border: 1px solid var(--legacy-border);
  border-radius: 18px;
  background: #fff;
}

body.complimed-legacy-service .entry-content .disease-doctor .service-info__title {
  font-size: 23px;
}

body.complimed-legacy-service .entry-content .disease-doctor__link {
  color: var(--legacy-accent-dark);
  font-weight: 700;
}

body.complimed-legacy-service .entry-content .testimonial__card {
  height: 100%;
  border: 1px solid var(--legacy-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 61, 70, 0.045);
}

body.complimed-legacy-service .entry-content .testimonials__subtitle {
  color: #64748b;
  text-align: center;
}

@media (max-width: 1100px) {
  :is(.cmp-hero__grid, .cardio-hero__grid, .gyn-hero__grid, .neuro-hero__grid, .dens-hero__grid),
  :is(.cmp-grid--3, .cardio-grid--3, .gyn-grid--3, .neuro-grid--3, .dens-grid--3),
  .cmp-doctors--3,
  .gyn-doctors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  :is(.cmp-doctor--featured, .cmp-tech, .neuro-doctor, .dens-doctor, .dens-tech) {
    grid-template-columns: 1fr;
  }

  .cmp-tech__aside,
  .dens-tech__aside {
    position: static;
  }
}

@media (max-width: 767px) {
  :is(.cmp-container, .cardio-container, .gyn-container, .neuro-container, .dens-container) {
    width: min(100% - 24px, 1200px);
  }

  :is(.cmp-section, .cardio-section, .gyn-section, .neuro-section, .dens-section) {
    padding-block: 50px;
  }

  :is(.cmp-hero, .cardio-hero, .gyn-hero, .dens-hero) {
    padding: 0 0 44px;
  }

  .neuro-hero {
    padding-top: 0;
  }

  :is(.cmp-hero__grid, .cardio-hero__grid, .gyn-hero__grid, .neuro-hero__grid, .dens-hero__grid),
  :is(.cmp-grid, .cardio-grid, .gyn-grid, .neuro-grid, .dens-grid),
  :is(.cmp-grid--3, .cardio-grid--3, .gyn-grid--3, .neuro-grid--3, .dens-grid--3),
  :is(.cmp-doctors, .cardio-doctors, .gyn-doctors),
  .cmp-doctor--featured,
  :is(.neuro-doctor, .dens-doctor),
  .cmp-reviews,
  .dens-reviews {
    grid-template-columns: 1fr;
  }

  :is(.cmp-hero__image, .cardio-hero__image, .gyn-hero__image, .neuro-hero__photo, .dens-hero__image) {
    order: -1;
    margin-inline: -12px;
    border: 0;
    border-radius: 0 0 28px 28px;
    box-shadow: none;
  }

  :is(.cmp-hero__image, .cardio-hero__image, .gyn-hero__image, .dens-hero__image) img,
  .neuro-hero__photo img {
    height: 370px;
    object-position: center top;
  }

  :is(.cmp-card, .cardio-card, .gyn-card, .neuro-card, .dens-card),
  .cmp-doctor--featured .cmp-doctor__body,
  :is(.neuro-doctor__content, .dens-doctor__body) {
    padding: 22px;
  }

  :is(.cmp-actions, .cardio-actions, .gyn-actions, .neuro-actions, .dens-actions) :is(.cmp-button, .cardio-btn, .gyn-btn, .neuro-btn, .dens-btn),
  :is(.cmp-button, .cardio-btn, .gyn-btn, .neuro-btn, .dens-btn) {
    width: 100%;
  }

  :is(.cmp-table, .cardio-table, .gyn-table, .neuro-table, .dens-table),
  :is(.cmp-table, .cardio-table, .gyn-table, .neuro-table, .dens-table) :is(thead, tbody, tr, th, td) {
    display: block;
    width: 100%;
  }

  :is(.cmp-table, .cardio-table, .gyn-table, .neuro-table, .dens-table) thead {
    display: none;
  }

  :is(.cmp-table, .cardio-table, .gyn-table, .neuro-table, .dens-table) tr {
    padding: 16px 18px;
    border-bottom: 1px solid var(--service-border);
  }

  :is(.cmp-table, .cardio-table, .gyn-table, .neuro-table, .dens-table) td {
    width: auto !important;
    padding: 0 0 10px;
    border: 0;
    text-align: left !important;
    white-space: normal !important;
  }

  :is(.cmp-table, .cardio-table, .gyn-table, .neuro-table, .dens-table) td:last-child {
    padding-bottom: 0;
  }

  :is(.cmp-doctor__photo, .cardio-doctor__photo, .gyn-doctor__photo) img,
  .cmp-doctor--featured .cmp-doctor__photo img,
  :is(.neuro-doctor__photo, .dens-doctor__photo) img {
    height: 380px;
    min-height: 380px;
  }

  body.complimed-legacy-service .entry-content {
    overflow-wrap: anywhere;
  }

  body.complimed-legacy-service .entry-content > .container:first-child {
    padding-block: 34px 46px;
  }

  body.complimed-legacy-service .entry-content .service-info__img,
  body.complimed-legacy-service .entry-content .service-info__img img {
    min-height: 340px;
  }

  body.complimed-legacy-service .entry-content .testimony-info__list {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  body.complimed-legacy-service .entry-content .table-responsive-vertical {
    overflow-x: auto;
    border-radius: 16px;
  }

  body.complimed-legacy-service .entry-content .services-procedures table {
    min-width: 640px;
  }

  body.complimed-legacy-service .entry-content .diseases-wrap {
    padding-inline: 12px;
  }

  body.complimed-legacy-service .entry-content .diseases-item {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(.cmp-service, .cardio-page, .gyn-page, .neuro-page, .dens-page) *,
  body.complimed-legacy-service .entry-content * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
