html { box-sizing: border-box; scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: inherit; }
body {
  margin: 0;
  color: #183153;
  background:
    radial-gradient(circle at top left, rgba(36, 89, 211, .10), transparent 26%),
    linear-gradient(180deg, #f7f9fe 0%, #edf2fb 100%);
  font: 400 16px/1.7 var(--body-font);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.site-shell { min-height: 100vh; }
.site-branding__name, h1, h2, h3, h4, h5, h6 { font-family: var(--heading-font); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0 10px;
  background: rgba(247, 249, 254, .84);
  backdrop-filter: blur(18px);
}
.site-header__top,
.site-header__nav-wrap {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  border: 1px solid rgba(24, 49, 83, .08);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 45px rgba(30, 61, 109, .08);
}
.site-header__top {
  border-radius: 28px;
}
.site-header__nav-wrap {
  margin-top: 12px;
  border-radius: 22px;
}
.site-header__top-inner,
.site-header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 22px;
}
.site-branding {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.site-branding__link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.site-branding__logo {
  width: auto;
  max-height: 72px;
}
.site-branding__copy {
  display: grid;
  gap: 2px;
}
.site-branding__title {
  color: #12356e;
  font: 800 clamp(22px, 2.4vw, 34px)/1 var(--heading-font);
}
.site-branding__tagline {
  max-width: 360px;
  margin: 0;
  color: #6f8199;
  font-size: 13px;
}
.site-header__contacts,
.social-links,
.hero-panel__actions,
.hero-panel__stats,
.tag-list,
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.site-header__contacts {
  justify-content: flex-end;
}
.contact-chip {
  display: grid;
  gap: 3px;
  min-width: 180px;
  padding: 11px 15px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(36, 89, 211, .08);
}
.contact-chip--wide {
  min-width: 320px;
  max-width: 420px;
}
.contact-chip a,
.contact-chip span:last-child {
  font-size: 14px;
  font-weight: 700;
  color: #15396a;
}
.contact-chip__label,
.eyebrow,
.card__meta,
.service-card__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: var(--accent-soft);
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #163f97;
}
.main-navigation .menu,
.footer-menu,
.mml1-refresh-theme .menu {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}
.main-navigation .menu > li > a,
.footer-menu > li > a,
.mml1-refresh-theme .menu > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  font-weight: 700;
  color: #1a355e;
}
.main-navigation .menu > li.current-menu-item > a,
.main-navigation .menu > li > a:hover {
  color: var(--accent);
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-email {
  color: #5d708b;
  font-weight: 700;
  white-space: nowrap;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 22px;
  border-radius: 16px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease;
}
.button:hover {
  transform: translateY(-1px);
}
.button--solid {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 18px 36px rgba(36, 89, 211, .25);
}
.button--ghost {
  color: var(--accent);
  background: #fff;
  border: 1px solid rgba(36, 89, 211, .18);
}

.section-block { padding: 84px 0; }
.section-block--accent {
  background: linear-gradient(180deg, rgba(36, 89, 211, .04), rgba(36, 89, 211, 0));
}
.section-block--inner { padding: 34px 0 0; }
.section-heading {
  margin-bottom: 30px;
}
.section-heading h1,
.section-heading h2 {
  margin: 10px 0 0;
  color: #0d2b56;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.04;
}
.section-heading--article h1 {
  font-size: clamp(30px, 3vw, 46px);
}
.section-heading p {
  max-width: 760px;
  margin-top: 14px;
  color: #5b6f8a;
}

.hero-panel {
  padding: 34px 0 14px;
}
.hero-panel__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  gap: 30px;
  align-items: stretch;
}
.hero-panel__content,
.hero-panel__visual,
.panel,
.card,
.service-card,
.content-article,
.profile-card {
  border-radius: 34px;
  border: 1px solid rgba(24, 49, 83, .08);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 70px rgba(30, 61, 109, .08);
}
.hero-panel__content {
  position: relative;
  overflow: hidden;
  padding: 46px;
}
.hero-panel__content::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36, 89, 211, .12), transparent 66%);
}
.hero-panel__content h1 {
  max-width: 11ch;
  margin: 14px 0 16px;
  font-size: clamp(46px, 6vw, 82px);
  line-height: .95;
  color: #163f97;
}
.hero-panel__content p {
  max-width: 60ch;
  margin: 0;
  font-size: 19px;
  color: #4f6380;
}
.hero-panel__actions {
  margin-top: 26px;
}
.hero-panel__stats {
  margin-top: 28px;
}
.hero-panel__stats div {
  min-width: 132px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--accent-soft);
}
.hero-panel__stats strong {
  display: block;
  color: #163f97;
  font-size: 30px;
}
.hero-panel__visual {
  position: relative;
  overflow: hidden;
  min-height: 100%;
}
.hero-panel__visual img,
.hero-panel__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-panel__placeholder {
  display: grid;
  place-items: center;
  min-height: 100%;
  background: linear-gradient(135deg, #1d4ec2, #4e8dff);
  color: #fff;
  font: 800 38px/1 var(--heading-font);
}

.card-grid { display: grid; gap: 24px; }
.card-grid--departments,
.card-grid--news,
.card-grid--doctors {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card,
.service-card {
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover,
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 80px rgba(30, 61, 109, .12);
}
.card__media {
  display: block;
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, #dfe9ff, #f5f9ff);
}
.card--doctor .card__media {
  aspect-ratio: 4 / 5;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(36, 89, 211, .16), rgba(36, 89, 211, .04));
}
.card__body,
.service-card {
  padding: 26px;
}
.card__icon {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 18px 36px rgba(29, 78, 194, .18);
  color: #fff;
  font: 800 30px/1 var(--heading-font);
}
.card__icon--service {
  background: linear-gradient(135deg, #17c7b5, #0aa19b);
  box-shadow: 0 18px 36px rgba(23, 199, 181, .18);
}
.card__body h3,
.service-card h3,
.panel__title {
  margin: 0 0 12px;
  color: #0f2d58;
  font-size: 25px;
}
.card__body p,
.service-card p {
  margin: 0;
  color: #5d718c;
}
.card__lead {
  color: var(--accent);
  font-weight: 800;
}
.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-card {
  position: relative;
  min-height: 100%;
}
.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 800;
}

.content-grid,
.profile-layout,
.site-footer__grid {
  display: grid;
  gap: 28px;
}
.content-grid {
  grid-template-columns: minmax(0, 1fr) 320px;
}
.profile-layout {
  grid-template-columns: 340px minmax(0, 1fr);
  align-items: start;
}
.content-main,
.profile-content {
  display: grid;
  gap: 24px;
}
.content-sidebar {
  display: grid;
  gap: 20px;
  align-content: start;
}
.panel,
.content-article,
.profile-card {
  padding: 30px;
}
.profile-card__image {
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 26px;
}
.profile-card__image img {
  width: 100%;
}
.featured-media {
  margin: 0 0 24px;
  overflow: hidden;
  border-radius: 24px;
}
.featured-media img {
  width: 100%;
}
.wysiwyg :first-child { margin-top: 0; }
.wysiwyg :last-child { margin-bottom: 0; }
.simple-table {
  display: grid;
  gap: 12px;
}
.simple-table__row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px;
  border-radius: 18px;
  background: #f5f8ff;
}
.tag-list span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}
.stack-list { display: grid; gap: 20px; }
.profile-card__lead {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 800;
}
.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background:
    radial-gradient(circle at right top, rgba(23, 199, 181, .12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(244, 249, 255, .95));
}
.cta-panel__text {
  max-width: 660px;
}
.cta-panel__text h2 {
  margin: 12px 0 14px;
  color: #0d2b56;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.05;
}
.cta-panel__text p {
  margin: 0;
  color: #5b6f8a;
  font-size: 18px;
}

.site-footer {
  padding: 16px 0 42px;
}
.site-footer__grid {
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
}
.footer-column {
  padding: 26px;
  border-radius: 28px;
  background: linear-gradient(180deg, #113169, #0b2146);
  color: rgba(255, 255, 255, .86);
}
.footer-column__logo {
  margin: 0 0 16px;
}
.footer-column__logo img {
  width: auto;
  max-height: 72px;
}
.footer-column a { color: #fff; }
.footer-column p { margin: 0 0 10px; }
.footer-column__title {
  margin: 0 0 14px;
  color: #fff;
}
.site-footer__bottom {
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  color: #5d7089;
  font-size: 14px;
}

.widget ul, .widget ol { margin: 0; padding-left: 18px; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.comment-list { margin: 0; padding-left: 20px; }
.comment-list .comment { margin-bottom: 18px; }
.comment-respond .comment-form { display: grid; gap: 12px; }
.comment-respond input,
.comment-respond textarea,
.search-form input[type="search"] {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(24, 49, 83, .14);
  border-radius: 16px;
  background: #fff;
  font: inherit;
}
.comment-respond input[type="submit"],
.search-form input[type="submit"] {
  width: auto;
  padding: 14px 20px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  font: 800 15px/1 var(--body-font);
  cursor: pointer;
}
.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(24, 49, 83, .08);
  color: #163f97;
  font-weight: 800;
}
.nav-links .current {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  border-color: transparent;
}

@media (max-width: 1120px) {
  .site-header__top-inner,
  .site-header__nav {
    flex-direction: column;
    align-items: stretch;
  }
  .site-branding {
    justify-content: center;
  }
  .site-header__contacts {
    justify-content: center;
  }
  .hero-panel__grid,
  .content-grid,
  .profile-layout,
  .site-footer__grid,
  .card-grid--departments,
  .card-grid--news,
  .card-grid--doctors,
  .service-list {
    grid-template-columns: 1fr 1fr;
  }
  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-block; }
  .main-navigation { display: none; width: 100%; }
  .main-navigation.is-open { display: block; }
  .main-navigation .menu,
  .footer-menu,
  .mml1-refresh-theme .menu {
    flex-direction: column;
    gap: 14px;
  }
  .site-header__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .header-email {
    white-space: normal;
    text-align: center;
  }
  .hero-panel__grid,
  .content-grid,
  .profile-layout,
  .site-footer__grid,
  .card-grid--departments,
  .card-grid--news,
  .card-grid--doctors,
  .service-list {
    grid-template-columns: 1fr;
  }
  .hero-panel__content,
  .panel,
  .content-article,
  .profile-card,
  .card__body,
  .service-card,
  .footer-column {
    padding: 22px;
  }
  .hero-panel__content h1 {
    font-size: 46px;
  }
  .site-branding__logo {
    max-height: 60px;
  }
  .site-branding__title {
    font-size: 24px;
  }
  .site-branding__tagline {
    display: none;
  }
  .contact-chip,
  .contact-chip--wide {
    min-width: 100%;
    max-width: none;
  }
  .cta-panel__text p {
    font-size: 16px;
  }
}

/* MML4-inspired rebuild */
body {
  background: #f7f7f7;
  color: #252525;
}

.container {
  width: min(1340px, calc(100% - 40px));
}

.white-bg {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 0 14px rgba(209, 209, 209, .08);
}

.margin-top {
  margin-top: 80px;
}

.section-padding {
  padding: 48px 40px;
}

.title {
  position: relative;
  z-index: 1;
  color: #03257e;
  font: 500 clamp(34px, 4vw, 48px)/1.2 var(--heading-font);
}

.title::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -28px;
  z-index: -1;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #fdda00;
}

.text,
.text p {
  color: #252525;
  font-size: 20px;
  line-height: 1.6;
}

.top-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.top-title .text {
  max-width: 790px;
  text-align: center;
}

.green-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 2px solid #04cdb2;
  background: #04cdb2;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 28px;
  box-shadow: none;
}

.green-btn.white {
  background: #fff;
  color: #04cdb2;
}

.green-btn:hover {
  transform: none;
  background: #fff;
  color: #04cdb2;
}

.green-btn.white:hover {
  background: #04cdb2;
  color: #fff;
}

.header.site-header {
  position: static;
  padding: 12px 0 0;
  background: transparent;
  backdrop-filter: none;
}

.header .container {
  height: auto;
}

.header-top,
.header-bottom {
  margin-top: 12px;
  padding: 8px;
  border-radius: 12px;
  border: 0;
  background: #fff;
  box-shadow: 0 0 14px rgba(209, 209, 209, .08);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.header-bottom {
  margin-bottom: 0;
}

.logo {
  width: 260px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo img {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.logo p {
  color: #252525;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
}

.logo__fallback {
  color: #03257e;
  font-weight: 800;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-contact-item {
  display: flex;
  align-items: center;
  gap: 9px;
}

.header-contact-item .img,
.header-social .img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #04cdb2;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
}

.contact-title {
  color: #252525;
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
}

.contact-wrap,
.contact-wrap * {
  color: #04cdb2;
  font-size: 14px;
  line-height: 24px;
}

.contact-wrap__top {
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-social {
  display: flex;
  gap: 8px;
}

.heade-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.heade-menu ul,
.heade-menu .menu {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.heade-menu ul a,
.heade-menu .menu a {
  display: block;
  padding: 8px 12px;
  color: #252525;
  font-size: 16px;
  font-weight: 500;
  line-height: 28px;
}

.heade-menu ul .current-menu-item a,
.heade-menu ul a:hover {
  color: #04cdb2;
}

.menu-toggle {
  display: none;
}

.hero {
  margin-top: 35px;
}

.hero__inner {
  padding: 25px 25px 25px 40px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .98)),
    radial-gradient(circle at center, rgba(3, 37, 126, .04), transparent 55%);
}

.hero-swiper .swiper-slide {
  display: flex;
  align-items: center;
  gap: 30px;
}

.hero-swiper .swiper-left {
  flex: 1;
}

.hero-swiper .swiper-right {
  max-width: 580px;
  width: 100%;
  overflow: hidden;
  border-radius: 24px;
}

.hero-swiper .swiper-right img,
.hero-fallback {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.hero-fallback,
.service-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #03257e, #04cdb2);
  color: #fff;
  font-size: 42px;
  font-weight: 800;
}

.hero-btn {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero .text {
  margin-top: 16px;
}

.swiper-pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 13px;
}

.swiper-pagination-bullet {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #03257e;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  width: 28px;
  height: 3px;
}

.services--wrap {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.services-item {
  width: 144px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px 12px;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  transition: .3s ease;
}

.services-item:hover {
  transform: none;
  box-shadow: 0 0 8px rgba(184, 184, 184, .32);
}

.services-item .img {
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #04cdb2;
}

.service-initial {
  color: #fdda00;
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
}

.services-item p {
  color: #252525;
  text-align: center;
  font-size: 16px;
  line-height: 22px;
}

.packages--wrap {
  margin-top: 36px;
}

.packages--content.static-grid {
  position: static;
  opacity: 1;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.packages--item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 8px rgba(184, 184, 184, .16);
}

.packages--item .img {
  height: 220px;
  overflow: hidden;
  border-radius: 8px;
}

.packages--item .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.packages-text {
  color: #252525;
  text-align: center;
  font-size: 20px;
  line-height: 32px;
}

.doctor-card__meta {
  color: #03257e;
  text-align: center;
  font-size: 15px;
  line-height: 24px;
}

.new-news--row {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.new-news--item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 8px rgba(184, 184, 184, .16);
  transition: .2s ease;
}

.new-news--item:hover {
  box-shadow: 5px 2px 15px rgba(184, 184, 184, .16);
}

.new-news--img {
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
}

.new-news--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.new-news-date {
  color: #252525;
  font-size: 14px;
  line-height: 24px;
}

.new-news-title {
  color: #252525;
  font-size: 16px;
  line-height: 28px;
}

.footer-main {
  padding: 48px 40px;
}

.footer--wrap {
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-column h3 {
  margin-bottom: 16px;
  color: #252525;
  font-size: 16px;
  font-weight: 600;
  line-height: 28px;
}

.footer-column p,
.footer-column span {
  color: #252525;
  font-size: 16px;
  line-height: 28px;
}

.footer-column span {
  font-weight: 600;
}

#menu-footer-menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#menu-footer-menu a {
  color: #252525;
  font-size: 16px;
  line-height: 28px;
}

#menu-footer-menu a:hover {
  color: #04cdb2;
}

.footer-contact-item,
.footer-social-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-contact-icon,
.footer-social-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #04cdb2;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0 12px;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 14px rgba(209, 209, 209, .08);
}

.footer-bottom > div {
  padding: 8px 12px;
}

.footer-text,
.footer-text a {
  color: #252525;
  font-size: 16px;
  line-height: 28px;
}

@media (max-width: 1260px) {
  .header-top {
    flex-wrap: wrap;
  }

  .header-contact {
    flex-wrap: wrap;
  }

  .packages--content.static-grid,
  .new-news--row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1044px) {
  .header-top {
    display: none;
  }

  .header-bottom {
    padding: 12px 16px;
  }

  .heade-menu {
    flex-direction: column;
    align-items: stretch;
  }

  .heade-menu ul,
  .heade-menu .menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
  }

  .hero-swiper .swiper-slide {
    flex-direction: column;
  }

  .hero-swiper .swiper-right {
    max-width: none;
  }

  .hero-btn {
    flex-direction: column;
  }

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

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

@media (max-width: 800px) {
  .container {
    width: min(600px, calc(100% - 24px));
  }

  .section-padding,
  .footer-main {
    padding: 32px 12px;
  }

  .title {
    text-align: center;
    font-size: 32px;
    line-height: 1.2;
  }

  .title::before {
    width: 55px;
    height: 55px;
    top: -8px;
    left: -20px;
  }

  .text,
  .text p {
    font-size: 16px;
    line-height: 24px;
    text-align: center;
  }

  .heade-menu ul,
  .heade-menu .menu,
  .packages--content.static-grid,
  .new-news--row,
  #menu-footer-menu,
  .footer--wrap {
    grid-template-columns: 1fr;
  }

  .services--wrap {
    gap: 12px;
  }

  .services-item {
    width: calc(50% - 8px);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
}

/* Final brand tuning for MML1 */
:root {
  --mml1-blue: #2465db;
  --mml1-blue-deep: #153b8a;
  --mml1-green: #2fbf71;
  --mml1-soft: #eef4ff;
}

body {
  background: linear-gradient(180deg, #f5f7fb 0%, #edf2fb 100%);
}

.title {
  color: var(--mml1-blue-deep);
  font-weight: 800;
  letter-spacing: -.03em;
}

.title::before {
  display: none;
}

.text,
.text p {
  color: #30435f;
}

.white-bg {
  border-radius: 28px;
}

.green-btn {
  border-color: var(--mml1-blue);
  background: linear-gradient(135deg, var(--mml1-blue), var(--mml1-blue-deep));
  border-radius: 14px;
}

.green-btn.white {
  border-color: rgba(36, 101, 219, .2);
  color: var(--mml1-blue);
}

.green-btn:hover {
  color: var(--mml1-blue);
  background: #fff;
}

.green-btn.white:hover {
  background: linear-gradient(135deg, var(--mml1-blue), var(--mml1-blue-deep));
  color: #fff;
}

.header-top {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  border-radius: 22px;
}

.header-bottom {
  padding: 14px 24px;
  border-radius: 22px;
}

.logo {
  width: 100%;
  max-width: 360px;
  gap: 14px;
}

.logo img {
  width: 112px;
  height: 112px;
}

.logo p {
  color: #1d315d;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.header-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.header-contact-item {
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  border: 1px solid rgba(36, 101, 219, .08);
}

.header-contact-item .img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--mml1-soft);
  color: var(--mml1-blue);
}

.contact-title {
  color: #1f335b;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.contact-wrap,
.contact-wrap * {
  color: #2d4f87;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.header-cta {
  white-space: nowrap;
  min-width: 220px;
}

.heade-menu {
  gap: 24px;
}

.heade-menu ul,
.heade-menu .menu {
  flex: 1;
  flex-wrap: wrap;
  gap: 10px;
}

.heade-menu ul a,
.heade-menu .menu a {
  padding: 10px 14px;
  border-radius: 12px;
  color: #21365f;
  font-weight: 700;
}

.heade-menu ul .current-menu-item a,
.heade-menu ul a:hover {
  background: var(--mml1-soft);
  color: var(--mml1-blue);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.header-actions .header-programs-btn,
.header-actions .header-pharmacy-btn {
  min-height: 48px;
  padding-inline: 16px;
  white-space: nowrap;
}

.header-social .img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--mml1-soft);
  color: var(--mml1-blue);
}

.hero__inner {
  padding: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 251, 255, .98));
}

.hero-swiper .swiper-left {
  max-width: 640px;
}

.hero-swiper .swiper-right {
  border-radius: 22px;
}

.hero-swiper .swiper-right img,
.hero-fallback {
  min-height: 420px;
}

.hero-fallback,
.service-fallback {
  background: linear-gradient(135deg, var(--mml1-blue-deep), var(--mml1-blue));
}

.services-item .img {
  background: linear-gradient(135deg, var(--mml1-blue), var(--mml1-blue-deep));
}

.service-initial {
  color: #fff;
}

.services-item,
.packages--item,
.new-news--item {
  border: 1px solid rgba(36, 101, 219, .06);
}

.packages-text,
.new-news-title,
.services-item p {
  color: #23365e;
}

.doctor-card__meta,
.new-news-date {
  color: #57709c;
}

.footer-column {
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #22365e !important;
  box-shadow: none !important;
  border: 0 !important;
}

.footer-column h3,
.footer-column p,
.footer-column span,
.footer-contact-item span,
.footer-social-item span,
.footer-text,
.footer-text a {
  color: #22365e !important;
}

.footer-contact-icon,
.footer-social-icon {
  background: var(--mml1-soft);
  color: var(--mml1-blue);
}

.footer-bottom {
  border-radius: 18px;
}

@media (max-width: 1260px) {
  .header-top {
    grid-template-columns: 1fr;
  }

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

  .header-cta {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 800px) {
  .header-bottom {
    padding: 14px 16px;
  }

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

  .logo {
    max-width: none;
  }

  .logo img {
    width: 88px;
    height: 88px;
  }

  .header-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .header-actions .green-btn {
    width: 100%;
  }
}

/* Product-focused hospital UX */
.hero-kicker {
  margin: 0 0 12px;
  color: var(--mml1-blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-metrics div {
  min-width: 130px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--mml1-soft);
}

.hero-metrics strong {
  display: block;
  color: var(--mml1-blue-deep);
  font-size: 28px;
  line-height: 1;
}

.hero-metrics span {
  color: #4b648f;
  font-size: 14px;
}

.top-title--left {
  align-items: flex-start;
}

.top-title--left .text {
  max-width: 760px;
  text-align: left;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.trust-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  border: 1px solid rgba(36, 101, 219, .08);
}

.trust-card h3 {
  margin: 0;
  color: var(--mml1-blue-deep);
  font-size: 28px;
  line-height: 1.15;
}

.trust-card p {
  margin: 0;
  color: #4a638d;
}

.packages__actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.packages__actions .green-btn {
  flex: 1;
}

.packages--item {
  min-height: 100%;
}

.packages--item--doctor .img {
  height: 290px;
}

.appointment-panel,
.faq-panel,
.contact-cta {
  border: 1px solid rgba(36, 101, 219, .06);
}

.form-notice {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 700;
}

.form-notice--success {
  background: rgba(47, 191, 113, .12);
  color: #23784a;
}

.form-notice--error {
  background: rgba(204, 60, 60, .12);
  color: #9a2d2d;
}

.appointment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.appointment-form label {
  display: grid;
  gap: 8px;
}

.appointment-form span {
  color: #203760;
  font-size: 14px;
  font-weight: 700;
}

.appointment-form input,
.appointment-form textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(36, 101, 219, .12);
  border-radius: 14px;
  background: #fff;
  font: inherit;
  color: #22365e;
}

.appointment-form__full {
  grid-column: 1 / -1;
}

.appointment-form__checkbox {
  display: flex !important;
  align-items: center;
  gap: 10px;
}

.appointment-form__checkbox input {
  width: 18px;
  height: 18px;
  padding: 0;
}

.appointment-form__actions {
  display: flex;
  gap: 12px;
}

.appointment-form__actions .green-btn {
  min-width: 220px;
}

.faq-simple {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.faq-simple__item {
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  border: 1px solid rgba(36, 101, 219, .08);
}

.faq-simple__item summary {
  cursor: pointer;
  color: var(--mml1-blue-deep);
  font-size: 18px;
  font-weight: 700;
  list-style: none;
}

.faq-simple__item summary::-webkit-details-marker {
  display: none;
}

.faq-simple__item p {
  margin: 14px 0 0;
  color: #4a638d;
}

.contact-cta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.contact-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.mobile-quick-panel {
  display: none;
}

.mobile-bottom-nav {
  display: none;
}

@media (max-width: 1044px) {
  .header-top {
    display: grid;
  }

  .trust-grid,
  .packages--content.static-grid,
  .new-news--row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  body {
    padding-bottom: 86px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 12px;
    background: var(--mml1-soft);
  }

  .main-navigation .menu {
    display: none;
    width: 100%;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(36, 101, 219, .08);
  }

  .main-navigation .menu.is-open {
    display: grid;
  }

  .heade-menu {
    align-items: stretch;
  }

  .header-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .mobile-quick-panel {
    display: block;
    margin-top: 16px;
  }

  .mobile-quick-panel__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .mobile-quick-panel__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 14px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(36, 101, 219, .08);
    color: var(--mml1-blue-deep);
    font-weight: 700;
    text-align: center;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 100;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    padding: 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 10px 35px rgba(20, 49, 97, .16);
    backdrop-filter: blur(12px);
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #27406e;
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    text-align: center;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
  }

  .mobile-bottom-nav a.is-accent,
  .mobile-bottom-nav button.is-accent {
    background: linear-gradient(135deg, var(--mml1-blue), var(--mml1-blue-deep));
    color: #fff;
  }

  .appointment-form,
  .trust-grid,
  .packages--content.static-grid,
  .new-news--row,
  .contact-cta {
    grid-template-columns: 1fr;
  }

  .appointment-form__actions,
  .contact-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Final hospital UI overrides */

.site-header {
  margin-top: 10px;
}

.title--no-decor::before {
  display: none !important;
}

.title--hero {
  max-width: 760px;
  color: #173a8f;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.05;
}

.blue-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid rgba(47, 111, 237, .18);
  border-radius: 14px;
  background: #eaf1ff;
  color: #2f6fed;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  transition: .2s ease;
}

.blue-link-btn:hover {
  background: #dfeaff;
  color: #1c54d3;
}

.header-top {
  grid-template-columns: minmax(280px, auto) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 84px;
  padding: 12px 16px;
  border-radius: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.logo__text {
  display: block;
}

.logo__text strong {
  color: #153b8a;
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
}

.logo__text p,
.logo p {
  display: none;
}

.header-contact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.header-contact-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid rgba(47, 111, 237, .06);
  background: #fff;
  box-shadow: none;
}

.header-contact-chip__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #1fc6b2;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.contact-title {
  margin-bottom: 2px;
  color: #111827;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}

.header-contact-chip a,
.header-contact-chip span {
  color: #1fc6b2;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
}

.header-top__side {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.header-mail-link {
  color: #1a1a1a;
  font-size: 12px;
  font-weight: 500;
}

.header-cta {
  min-width: 210px;
  min-height: 44px;
  background: #1fc6b2;
  box-shadow: none;
  border-radius: 12px;
  font-size: 14px;
}

.header-bottom {
  margin-top: 10px;
  padding: 12px 18px;
  border-radius: 18px;
}

.heade-menu {
  display: flex;
  align-items: center;
  gap: 16px;
}

.heade-menu ul,
.heade-menu .menu {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.heade-menu ul a,
.heade-menu .menu a {
  padding: 4px 0;
  border-radius: 0;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.heade-menu ul .current-menu-item a,
.heade-menu ul a:hover,
.heade-menu .menu a:hover {
  background: transparent;
  color: #1fc6b2;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-social .img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #1fc6b2;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.header-actions .green-btn {
  min-height: 42px;
  padding-inline: 20px;
  background: #1fc6b2;
  border-radius: 12px;
  font-size: 14px;
}

.header-actions .blue-link-btn {
  min-height: 42px;
  border-color: rgba(31, 198, 178, .28);
  background: #fff;
  color: #1fc6b2;
  border-radius: 12px;
  font-size: 14px;
}

.archive-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 10px;
}

.archive-filter input,
.archive-filter select {
  min-width: 220px;
  flex: 1;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #f7f9fc;
  color: #1a1a1a;
  font: inherit;
}

.card-grid--services,
.card-grid--doctors,
.card-grid--departments {
  margin-top: 28px;
}

.card__eyebrow {
  margin-bottom: 10px;
  color: #2f6fed;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.card__meta {
  color: #6b7280;
}

.card__doctor-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.card__doctor-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f7f9fc;
  color: #153b8a;
  font-size: 13px;
  font-weight: 700;
}

.card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.card__actions .green-btn,
.card__actions .blue-link-btn {
  flex: 1 1 180px;
}

.card--doctor .card__placeholder {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2f6fed, #153b8a);
  color: #fff;
  font-size: 52px;
  font-weight: 800;
}

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(20, 42, 87, .06);
}

.service-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.service-card__price {
  color: #153b8a;
  font-size: 14px;
  font-weight: 800;
  text-align: right;
}

.pharmacy-card__media {
  background: #f4f7fb;
}

.pharmacy-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #eef5ff, #f7fbff);
  color: #2f6fed;
  font-size: 44px;
  font-weight: 800;
}

.pharmacy-card__line {
  margin: 0 0 8px;
  color: #4b5563;
}

.pharmacy-card__line strong {
  color: #1f2a37;
}

.pharmacy-card__price {
  margin: 4px 0 10px;
  text-align: left;
}

.pharmacy-single__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.pharmacy-single__details {
  position: sticky;
  top: 24px;
}

.pharmacy-single__details h2 {
  margin: 0 0 16px;
  font-size: 24px;
}

.pharmacy-single__details p {
  display: grid;
  gap: 4px;
  margin: 0 0 14px;
}

.pharmacy-single__details span {
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.pharmacy-single__details strong {
  color: #1f2a37;
  font-size: 16px;
}

.pharmacy-single__details .green-btn {
  width: 100%;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .pharmacy-single__grid {
    grid-template-columns: 1fr;
  }

  .pharmacy-single__details {
    position: static;
  }
}

.service-card .card__icon--service {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  background: #eaf1ff;
  color: #2f6fed;
  font-size: 36px;
  font-weight: 800;
}

.doctor-single__hero,
.doctor-single__content {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr) 320px;
  gap: 28px;
}

.doctor-single__content {
  grid-template-columns: minmax(0, 1fr) 320px;
  margin-top: 32px;
}

.doctor-single__photo,
.doctor-single__panel,
.doctor-single__main .panel,
.doctor-single__side .panel {
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(20, 42, 87, .05);
}

.doctor-single__photo {
  overflow: hidden;
}

.doctor-single__photo img,
.doctor-single__placeholder {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: grid;
  place-items: center;
}

.doctor-single__placeholder {
  background: linear-gradient(135deg, #2f6fed, #153b8a);
  color: #fff;
  font-size: 70px;
  font-weight: 800;
}

.doctor-single__lead {
  margin-top: 14px;
  color: #153b8a;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
}

.doctor-single__meta {
  margin-top: 8px;
  color: #6b7280;
  font-size: 16px;
}

.doctor-single__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.doctor-single__stat {
  padding: 18px;
  border-radius: 18px;
  background: #f7f9fc;
}

.doctor-single__stat strong {
  display: block;
  color: #153b8a;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.doctor-single__stat span {
  display: block;
  margin-top: 6px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
}

.doctor-single__actions,
.doctor-single__stack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.doctor-single__panel,
.doctor-single__main .panel,
.doctor-single__side .panel {
  padding: 24px;
}

.doctor-single__panel h2 {
  margin-bottom: 14px;
  color: #153b8a;
  font-size: 20px;
  font-weight: 800;
}

.doctor-single__panel p {
  margin: 0 0 12px;
}

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

.feature-list li {
  position: relative;
  padding-left: 18px;
  color: #334155;
  line-height: 1.6;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #27ae60;
}

.doctor-cta-card p {
  color: #5b6980;
}

.footer-main .logo img {
  width: 84px;
  height: 84px;
}

.footer-bottom {
  gap: 16px;
}

.hero {
  margin-top: 36px;
}

.hero__inner {
  position: relative;
  overflow: hidden;
  padding: 34px 36px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .98)),
    radial-gradient(circle at 30% 35%, rgba(47, 111, 237, .08), transparent 45%);
}

.hero__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-pattern-mml1.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: .34;
  pointer-events: none;
  z-index: 0;
}

.hero-swiper .swiper-slide {
  position: relative;
  z-index: 1;
  align-items: center;
  gap: 34px;
}

.hero-swiper .swiper-left {
  flex: 1 1 58%;
}

.hero-swiper .swiper-right {
  flex: 1 1 42%;
  max-width: 470px;
}

.hero-kicker {
  color: #1fc6b2;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero .text p {
  max-width: 760px;
  color: #26364f;
  font-size: 18px;
  line-height: 1.72;
}

.hero-btn {
  margin-top: 28px;
}

.hero-btn .green-btn {
  min-height: 64px;
  padding-inline: 28px;
  background: #1fc6b2;
}

.hero-btn .blue-link-btn {
  min-height: 64px;
  padding-inline: 28px;
  background: #fff;
  border-color: rgba(31, 198, 178, .3);
  color: #1fc6b2;
}

.hero-benefits {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.hero-benefits li {
  position: relative;
  padding-left: 18px;
  color: #465971;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
}

.hero-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #1fc6b2;
}

.hero-visual-card {
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(20, 42, 87, .08);
}

.hero-visual-card img,
.hero-fallback {
  width: 100%;
  min-height: 420px;
  height: 420px;
  object-fit: cover;
}

@media (max-width: 1180px) {
  .header-top {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

  .header-top__side {
    justify-items: start;
  }

  .doctor-single__hero {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .doctor-single__aside {
    grid-column: 1 / -1;
  }

  .doctor-single__content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .header-top {
    grid-template-columns: 1fr;
  }

  .header-contact-strip {
    grid-template-columns: 1fr;
  }

  .logo img {
    width: 48px;
    height: 48px;
  }

  .logo__text strong {
    font-size: 15px;
  }

  .header-actions {
    width: 100%;
    flex-direction: column;
  }

  .header-actions .green-btn,
  .header-actions .blue-link-btn {
    width: 100%;
  }

  .header-social {
    justify-content: center;
  }

  .header-top__side {
    justify-items: stretch;
  }

  .header-mail-link {
    text-align: left;
  }

  .header-cta {
    width: 100%;
  }

  .hero__inner {
    padding: 22px;
  }

  .hero__inner::before {
    background-position: center center;
    background-size: cover;
    opacity: .18;
  }

  .title--hero {
    font-size: 38px;
  }

  .hero .text p {
    font-size: 18px;
    line-height: 1.6;
  }

  .hero-swiper .swiper-slide {
    gap: 24px;
  }

  .hero-visual-card img,
  .hero-fallback {
    min-height: 300px;
    height: 300px;
  }

  .doctor-single__hero,
  .doctor-single__content,
  .doctor-single__stats {
    grid-template-columns: 1fr;
  }

  .doctor-single__photo img,
  .doctor-single__placeholder {
    min-height: 340px;
  }

  .card__actions {
    flex-direction: column;
  }

  .archive-filter {
    flex-direction: column;
  }

  .archive-filter input,
  .archive-filter select,
  .archive-filter button {
    width: 100%;
  }

  .hero-btn {
    flex-direction: column;
  }
}

/* MML1 blue cleanup and new sections */

.green-btn,
.header-cta,
.header-actions .green-btn,
.hero-btn .green-btn {
  background: linear-gradient(135deg, #2f6fed, #153b8a) !important;
  color: #fff !important;
  border-color: #2f6fed !important;
}

.green-btn.white,
.blue-link-btn,
.header-actions .blue-link-btn,
.hero-btn .blue-link-btn {
  background: #fff !important;
  color: #2f6fed !important;
  border-color: rgba(47, 111, 237, .24) !important;
}

.hero-offer {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: #eef4ff;
  color: #173a8f;
  font-size: 14px;
  font-weight: 800;
}

.hero-kicker {
  display: none;
}

.header-contact-chip__icon,
.header-social .img {
  background: #2f6fed !important;
}

.header-contact-chip a,
.header-contact-chip span {
  color: #1a1a1a !important;
}

.header-mail-link {
  color: #153b8a !important;
}

.hero-benefits li::before,
.feature-list li::before {
  background: #2f6fed !important;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.trust-card {
  padding: 28px;
  border: 1px solid rgba(47, 111, 237, .08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(20, 42, 87, .05);
}

.trust-card h3 {
  color: #173a8f;
  font-size: 34px;
  line-height: 1.15;
}

.trust-card p {
  margin-top: 18px;
  color: #485c7a;
  font-size: 20px;
  line-height: 1.6;
}

.trust-card--compact h3 {
  font-size: 26px;
}

.trust-card--compact p {
  font-size: 17px;
}

.services--inner .top-title {
  max-width: 1120px;
  margin-inline: auto;
}

.services--wrap {
  justify-content: space-between;
  gap: 18px;
}

.services-item {
  width: calc(12.5% - 16px);
  min-width: 140px;
  gap: 14px;
  padding: 14px 10px 6px;
  border: 1px solid rgba(47, 111, 237, .08);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(20, 42, 87, .04);
}

.services-item .img {
  width: 108px;
  height: 108px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2f6fed, #153b8a);
}

.service-icon-svg {
  width: 72px;
  height: 72px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-icon-svg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.service-initial {
  color: #fff;
}

.services-item p {
  color: #22365e;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.services-item__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.services-item__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(47, 111, 237, .14);
  color: #2f6fed;
  font-size: 13px;
  font-weight: 700;
}

.services-item__link--accent {
  background: linear-gradient(135deg, #2f6fed, #153b8a);
  color: #fff;
}

.service-card__price--large {
  margin-top: 10px;
  margin-bottom: 8px;
  font-size: 24px;
  text-align: left;
}

.doctor-card__badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.doctor-card__badges span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #173a8f;
  font-size: 12px;
  font-weight: 700;
}

.schedule-filter {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  margin: 28px 0 22px;
}

.schedule-filter input,
.schedule-filter select {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(47, 111, 237, .1);
  border-radius: 14px;
  background: #f7f9fc;
  font: inherit;
}

.schedule-filter__views {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.schedule-filter__views a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(47, 111, 237, .12);
  border-radius: 14px;
  color: #173a8f;
  font-weight: 700;
}

.schedule-filter__views a.is-active {
  background: linear-gradient(135deg, #2f6fed, #153b8a);
  color: #fff;
}

.schedule-period-title {
  margin-bottom: 12px;
  color: #173a8f;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
}

.schedule-table {
  border: 1px solid rgba(47, 111, 237, .08);
  border-radius: 22px;
  overflow: hidden;
}

.schedule-table__head,
.schedule-table__row {
  display: grid;
  grid-template-columns: 130px 150px 1.2fr 1fr 150px;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
}

.schedule-table__head {
  background: #eef4ff;
  color: #173a8f;
  font-weight: 800;
}

.schedule-table__row {
  border-top: 1px solid rgba(47, 111, 237, .08);
  color: #334155;
}

.mobile-bottom-nav {
  bottom: 12px;
}

.mobile-bottom-nav a.is-accent,
.mobile-bottom-nav button.is-accent {
  background: linear-gradient(135deg, #2f6fed, #153b8a) !important;
}

.price-group {
  margin-top: 34px;
}

.price-group__title {
  margin-bottom: 18px;
  color: #173a8f;
  font-size: 22px;
  font-weight: 800;
}

.price-list {
  border-top: 1px solid rgba(47, 111, 237, .08);
}

.price-list__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(47, 111, 237, .08);
}

.price-list__content a {
  color: #1a1a1a;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}

.price-list__content span {
  display: block;
  margin-top: 6px;
  color: #6b7280;
  font-size: 14px;
}

.price-list__meta {
  display: flex;
  align-items: center;
  gap: 24px;
  text-align: right;
}

.price-list__meta a {
  color: #2f6fed;
  font-size: 15px;
  font-weight: 700;
}

.price-list__meta strong {
  color: #173a8f;
  font-size: 18px;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .services-item {
    width: calc(25% - 14px);
  }

  .schedule-filter {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .services-item {
    width: calc(50% - 10px);
  }

  .schedule-filter,
  .schedule-table__head,
  .schedule-table__row {
    grid-template-columns: 1fr;
  }

  .schedule-period-title {
    font-size: 22px;
  }

  .price-list__row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .price-list__meta {
    justify-content: space-between;
    text-align: left;
  }

  .schedule-table__head {
    display: none;
  }

  .schedule-table__row {
    gap: 8px;
  }
}

/* Conversion pass */

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-offer,
.hero-availability {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.hero-offer {
  background: #eef4ff;
  color: #173a8f;
}

.hero-availability {
  background: rgba(47, 111, 237, .1);
  color: #1f4db8;
}

.title--hero {
  max-width: 720px;
}

.hero-btn .green-btn {
  min-height: 72px;
  padding-inline: 34px;
  font-size: 18px;
  box-shadow: 0 18px 36px rgba(36, 89, 211, .22);
}

.hero-btn .blue-link-btn {
  min-height: 72px;
  padding-inline: 34px;
  font-size: 18px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f4f7ff;
  color: #173a8f;
  font-size: 14px;
  font-weight: 700;
}

.hero-visual-card {
  border: 1px solid rgba(47, 111, 237, .08);
}

.hero-visual-card img {
  object-position: center top;
}

.services-item {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.services-item:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 111, 237, .18);
  box-shadow: 0 18px 32px rgba(20, 42, 87, .1);
}

.services-item:hover .services-item__link--accent {
  filter: brightness(1.05);
}

.services-item__price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #173a8f;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.trust-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 18px;
  background: #eef4ff;
  color: #173a8f;
  font-size: 28px;
}

.appointment-form__promise {
  margin: 8px 0 0;
  color: #4d5f7a;
  font-size: 15px;
  font-weight: 600;
}

.faq-simple__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.faq-simple__actions .green-btn,
.faq-simple__actions .green-btn.white {
  min-height: 46px;
  padding-inline: 18px;
}

.new-news--item {
  transition: transform .2s ease, box-shadow .2s ease;
}

.new-news--item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(20, 42, 87, .08);
}

.mobile-bottom-nav {
  box-shadow: 0 18px 30px rgba(20, 42, 87, .16);
}

.mobile-bottom-nav a,
.mobile-bottom-nav button {
  min-height: 54px;
  font-weight: 800;
}

.mobile-bottom-nav a.is-accent,
.mobile-bottom-nav button.is-accent {
  box-shadow: 0 12px 24px rgba(36, 89, 211, .22);
}

@media (max-width: 860px) {
  .hero-badges {
    gap: 8px;
  }

  .hero-offer,
  .hero-availability {
    font-size: 13px;
  }

  .hero-btn .green-btn,
  .hero-btn .blue-link-btn {
    width: 100%;
    min-height: 64px;
    padding-inline: 22px;
    font-size: 17px;
  }

  .hero-trust span {
    width: 100%;
    justify-content: center;
  }

  .faq-simple__actions {
    flex-direction: column;
  }

  .faq-simple__actions .green-btn,
  .faq-simple__actions .green-btn.white {
    width: 100%;
  }
}

.section-actions {
  display: flex;
  justify-content: center;
  margin: -6px 0 26px;
}

.card-date-range {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #173a8f;
  font-size: 12px;
  font-weight: 800;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border: 1px solid rgba(47, 111, 237, .08);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(20, 42, 87, .05);
}

.partner-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  padding: 12px;
  border-radius: 18px;
  background: #f8fbff;
}

.partner-card__logo img {
  max-height: 74px;
  width: auto;
  object-fit: contain;
}

.partner-card__logo--fallback {
  color: #173a8f;
  font-size: 36px;
  font-weight: 800;
}

.partner-card h3 {
  margin: 0;
  color: #173a8f;
  font-size: 22px;
}

.partner-card p {
  margin: 0;
  color: #556881;
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 1180px) {
  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }

  .section-actions .green-btn {
    width: 100%;
  }
}

/* Brandbook system */

body {
  color: var(--text-main);
  background: #F4F7FB;
  font-family: var(--body-font);
}

h1,
h2,
h3,
h4,
h5,
h6,
.title,
.site-branding__name {
  font-family: var(--heading-font);
  letter-spacing: -.02em;
}

.site-header {
  background: rgba(244, 247, 251, .92);
}

.white-bg,
.hero__inner,
.header-top,
.header-bottom,
.service-card,
.packages--item,
.trust-card,
.partner-card,
.appointment-panel,
.faq-panel,
.contact-cta {
  background: #FFFFFF !important;
  border-color: var(--border-soft) !important;
}

.title,
.title--hero,
.top-title .title,
.section-heading h1,
.section-heading h2 {
  color: #1F2A37;
}

.text,
.hero .text p,
.doctor-card__meta,
.partner-card p,
.mml1-admin__hero p,
.mml1-admin__card p,
.mml1-admin__panel-head p {
  color: var(--text-muted);
}

.green-btn,
.header-cta,
.header-actions .green-btn,
.hero-btn .green-btn,
.button--solid,
.mml1-admin .button-primary {
  background: linear-gradient(135deg, #2F5BBA, #2F6FED) !important;
  border-color: #2F6FED !important;
  color: #fff !important;
}

.green-btn.white,
.blue-link-btn,
.header-actions .blue-link-btn,
.hero-btn .blue-link-btn,
.button--ghost {
  background: transparent !important;
  border: 1px solid #2F6FED !important;
  color: #2F6FED !important;
}

.green-btn:hover,
.header-cta:hover,
.header-actions .green-btn:hover,
.hero-btn .green-btn:hover,
.button--solid:hover {
  background: linear-gradient(135deg, #2F5BBA, #2F6FED) !important;
  border-color: #2F6FED !important;
  color: #fff !important;
  filter: none;
  box-shadow: 0 16px 32px rgba(47, 111, 237, .26);
}

.green-btn.white:hover,
.blue-link-btn:hover,
.header-actions .blue-link-btn:hover,
.hero-btn .blue-link-btn:hover,
.button--ghost:hover {
  background: #EAF1FF !important;
  border-color: #2F6FED !important;
  color: #2F6FED !important;
}

.header-actions a[href^="tel:"],
.hero-btn a[href^="tel:"],
.appointment-form__actions a[href^="tel:"],
.contact-cta__actions a[href^="tel:"],
.faq-simple__actions a[href^="tel:"] {
  background: linear-gradient(135deg, #5C86F6, #4678F2) !important;
  border-color: #4C7CF3 !important;
  color: #fff !important;
}

.header-actions a[href^="tel:"]:hover,
.hero-btn a[href^="tel:"]:hover,
.appointment-form__actions a[href^="tel:"]:hover,
.contact-cta__actions a[href^="tel:"]:hover,
.faq-simple__actions a[href^="tel:"]:hover {
  background: linear-gradient(135deg, #2F5BBA, #2F6FED) !important;
  border-color: #2F6FED !important;
  color: #fff !important;
  filter: none;
  box-shadow: 0 16px 32px rgba(47, 111, 237, .26);
}

.hero-offer,
.hero-availability,
.hero-trust span,
.services-item__price,
.card-date-range,
.doctor-card__badges span {
  background: #EAF1FF;
  color: #2F6FED;
}

.contact-chip,
.header-contact-chip,
.services-item,
.partner-card,
.faq-simple__item,
.price-list,
.schedule-table {
  border-color: #E5E7EB !important;
}

.services-item .img {
  background: linear-gradient(135deg, #2F5BBA, #2F6FED);
}

.services-item__link--accent,
.schedule-filter__views a.is-active,
.mobile-bottom-nav a.is-accent,
.mobile-bottom-nav button.is-accent {
  background: linear-gradient(135deg, #2F5BBA, #2F6FED) !important;
  color: #fff !important;
}

.contact-title,
.contact-chip__label,
.price-group__title,
.service-card__label,
.card__eyebrow,
.eyebrow {
  color: #2F6FED;
}

.form-notice--success {
  background: rgba(39, 174, 96, .12);
  color: #1f6d40;
}

.form-notice--error {
  background: rgba(235, 87, 87, .12);
  color: #b03c3c;
}

.mml1-admin {
  font-family: var(--body-font);
}

.mml1-admin__hero h1,
.mml1-admin__card h2,
.mml1-admin__panel-head h2 {
  color: #1F2A37;
}

.mml1-admin__field input,
.mml1-admin__field textarea {
  border-color: #E5E7EB;
  background: #FFFFFF;
}

/* Services section polish and secondary blue call CTA */

.header-actions a[href^="tel:"],
.hero-btn a[href^="tel:"],
.appointment-form__actions a[href^="tel:"],
.contact-cta__actions a[href^="tel:"],
.faq-simple__actions a[href^="tel:"] {
  background: linear-gradient(135deg, #5C86F6, #4678F2) !important;
  border-color: #4C7CF3 !important;
  color: #fff !important;
}

.services--wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.services-item {
  width: auto !important;
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 18px 16px 16px;
}

.services-item p {
  min-height: 78px;
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
}

.services-item__price {
  width: 100%;
  min-height: 52px;
  padding: 8px 12px;
  line-height: 1.35;
}

.services-item__actions {
  width: 100%;
  margin-top: auto;
}

@media (max-width: 1180px) {
  .services--wrap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .services--wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.partners-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 280px);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
}

.partners-slider::-webkit-scrollbar {
  height: 8px;
}

.partners-slider::-webkit-scrollbar-thumb {
  background: rgba(47, 111, 237, .22);
  border-radius: 999px;
}

.partner-slide {
  scroll-snap-align: start;
}

.partner-slide__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 22px;
  border: 1px solid #E5E7EB;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(20, 42, 87, .05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.partner-slide__inner:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 111, 237, .18);
  box-shadow: 0 18px 34px rgba(20, 42, 87, .08);
}

.partner-slide__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 12px;
  border-radius: 18px;
  background: #F8FBFF;
}

.partner-slide__logo img {
  max-height: 58px;
  width: auto;
  object-fit: contain;
}

.partner-slide__logo--fallback {
  color: #2F6FED;
  font-size: 34px;
  font-weight: 800;
}

.partner-slide h3 {
  margin: 0;
  color: #1F2A37;
  font-size: 20px;
  line-height: 1.25;
}

.partner-slide p {
  margin: 0;
  color: #6B7280;
  font-size: 15px;
  line-height: 1.55;
}

/* Final header, archive and doctor cleanup */

.header-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 2px 16px 10px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.45;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: transparent;
}

.site-header--compact .header-meta-bar {
  display: none;
}

.site-header--compact .header-bottom--primary {
  padding: 8px 20px;
  box-shadow: 0 12px 30px rgba(18, 29, 53, .08);
  backdrop-filter: blur(14px);
}

.site-header--compact .logo--header img {
  height: 48px;
}

.site-header--compact .menu {
  display: none;
}

.header-meta-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.header-meta-bar__icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(47, 111, 237, 0.08);
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.header-top {
  display: none !important;
}

.header-bottom--primary {
  padding: 12px 22px;
}

.header-bottom--primary .main-navigation {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo--header {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo--header img {
  width: auto;
  height: 58px;
  max-width: 280px;
  object-fit: contain;
}

.logo__text {
  display: none !important;
}

.header-bottom--primary .menu {
  justify-content: center;
  gap: 14px 20px;
  flex-wrap: wrap;
  white-space: normal;
  overflow: visible;
}

.header-bottom--primary .menu > li > a {
  min-height: 36px;
  font-size: 15px;
  padding: 0 2px;
}

.header-bottom--primary .header-actions {
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: nowrap;
}

.top-title--left .title {
  margin-bottom: 0;
}

.card--department .card__body {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.card__icon--department {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2f5bba, #2f6fed);
  color: #fff;
  text-decoration: none;
}

.card__icon--department svg {
  width: 44px;
  height: 44px;
}

.card--department h3 {
  min-height: 92px;
}

.card--department p {
  min-height: 140px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card--department .card__doctor-stats {
  min-height: 48px;
  margin-top: auto;
}

.card--department .card__actions {
  margin-top: 18px;
}

.doctor-single__aside .doctor-single__panel p:last-child {
  margin-bottom: 0;
}

.doctor-single__intro .tag-list {
  gap: 12px;
}

.doctor-single__intro .tag-list span {
  white-space: nowrap;
}

.footer-documents-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(47, 111, 237, 0.16);
}

.promotions-slider {
  position: relative;
}

.promotions-slider__track {
  overflow: hidden;
}

.promotions-slider__list {
  display: flex;
  transition: transform .35s ease;
  will-change: transform;
}

.promotion-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 28px;
  width: 100%;
  flex: 0 0 100%;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid var(--border-soft);
  background: #fff;
}

.promotion-card--auto::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(47, 111, 237, 0.12);
}

.promotion-card--auto {
  position: relative;
  overflow: hidden;
}

.promotion-card--auto {
  background: linear-gradient(135deg, #ffffff, #f0f4ff);
}

.promotion-card--auto.promotion-card--variant-2 {
  background: linear-gradient(135deg, #ffffff, #eef6ff);
}

.promotion-card--auto.promotion-card--variant-3 {
  background: linear-gradient(135deg, #ffffff, #f7f9ff);
}

.promotion-card--auto.promotion-card--variant-2::after {
  background: rgba(47, 111, 237, 0.08);
}

.promotion-card--auto.promotion-card--variant-3::after {
  background: rgba(39, 174, 96, 0.08);
}

.promotion-card__media img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 22px;
}

.promotion-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.promotion-card__service {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 8px;
}

.promotion-card__service span {
  color: var(--text);
  font-weight: 700;
}

.promotion-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(47, 111, 237, 0.12);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
}

.promotion-card__period {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.promotion-card__prices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 12px 0 18px;
}

.promotion-card__old {
  text-decoration: line-through;
  color: var(--text-muted);
  font-weight: 600;
}

.promotion-card__new {
  font-weight: 800;
  font-size: 20px;
  color: var(--accent);
}

.promotion-card__saving {
  color: #1f2a37;
  font-weight: 700;
}

.promotion-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.promotions-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: #fff;
  color: var(--text-main);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 12px 24px rgba(18, 29, 53, .08);
}

.promotions-slider__nav--prev { left: 12px; }
.promotions-slider__nav--next { right: 12px; }

.promotions-slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.promotions-slider__dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(47, 111, 237, 0.2);
  cursor: pointer;
}

.promotions-slider__dots button.is-active {
  background: var(--accent);
  width: 18px;
}

.promotion-single__header {
  margin-bottom: 20px;
}

.promotion-single__media img {
  width: 100%;
  border-radius: 22px;
  margin-bottom: 18px;
}

.promotion-single__prices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 18px;
}

.promotion-single__block {
  margin-top: 28px;
}

.promotion-single__block h2 {
  margin-bottom: 14px;
}

@media (max-width: 900px) {
  .promotion-card {
    grid-template-columns: 1fr;
  }

  .promotion-card__media img {
    max-height: 220px;
  }
}

@media (max-width: 1180px) {
  .header-top-row {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .header-meta-bar {
    display: none;
  }

  .header-bottom--primary {
    padding: 16px 18px;
  }

  .logo--header img {
    height: 54px;
  }

  .card--department h3,
  .card--department p,
  .card--department .card__doctor-stats {
    min-height: 0;
  }

  .footer-documents-btn {
    width: 100%;
  }
}

.archive-filter--services,
.archive-filter--services-home {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  margin: 26px 0 24px;
}

.price-catalog-group {
  border: 1px solid rgba(47, 111, 237, .14);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.price-catalog-group + .price-catalog-group {
  margin-top: 14px;
}

.price-catalog-group__summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  transition: background .18s ease, box-shadow .18s ease;
}

.price-catalog-group__summary::-webkit-details-marker {
  display: none;
}

.price-catalog-group__summary:hover {
  background: #f6f9ff;
}

.price-catalog-group__marker {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eef4ff;
  color: #173a8f;
  flex: 0 0 auto;
}

.price-catalog-group__marker::before,
.price-catalog-group__marker::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.price-catalog-group__marker::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform .18s ease, opacity .18s ease;
}

.price-catalog-group[open] .price-catalog-group__marker::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.price-catalog-group__heading {
  min-width: 0;
}

.price-catalog-group__title {
  display: block;
  margin: 0;
  color: #173a8f;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}

.price-catalog-group__code {
  display: block;
  margin-top: 6px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
}

.price-catalog-group__stats {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  color: #60708a;
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

.price-catalog-group__stats span {
  padding: 5px 9px;
  border-radius: 999px;
  background: #f4f7fb;
  color: #173a8f;
}

.price-catalog-group__body {
  padding: 0 22px 22px 64px;
  border-top: 1px solid rgba(47, 111, 237, .08);
}

.price-catalog-group__body .price-group:first-child {
  margin-top: 22px;
}

.price-list__meta {
  display: grid;
  grid-auto-flow: column;
  align-items: center;
  gap: 16px;
}

.price-list__meta .blue-link-btn {
  min-width: 154px;
  text-align: center;
}

.schedule-board {
  margin-top: 28px;
  overflow-x: auto;
  border: 1px solid rgba(47, 111, 237, .08);
  border-radius: 24px;
  position: relative;
  -webkit-overflow-scrolling: touch;
  --schedule-col1: 260px;
  --schedule-col2: 220px;
}

.schedule-board--day .schedule-board__table {
  min-width: 720px;
}

.schedule-board--week .schedule-board__table {
  min-width: 1100px;
}

.schedule-board--month .schedule-board__table {
  min-width: 1800px;
}

.schedule-board__table {
  width: 100%;
  min-width: 1100px;
  border-collapse: separate;
  border-spacing: 0;
}

.schedule-board__table th,
.schedule-board__table td {
  padding: 18px 14px;
  border-bottom: 1px solid rgba(47, 111, 237, .08);
  vertical-align: top;
  text-align: left;
}

.schedule-board__table th:nth-child(1),
.schedule-board__table td:nth-child(1) {
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 3;
  min-width: var(--schedule-col1);
  background-clip: padding-box;
  box-shadow: 6px 0 12px rgba(15, 23, 42, 0.04);
}

.schedule-board__table th:nth-child(2),
.schedule-board__table td:nth-child(2) {
  position: sticky;
  left: var(--schedule-col1);
  background: #fff;
  z-index: 3;
  min-width: var(--schedule-col2);
  background-clip: padding-box;
  box-shadow: 6px 0 12px rgba(15, 23, 42, 0.04);
}

.schedule-board__table thead th {
  background: #eef4ff;
  color: #173a8f;
  font-size: 13px;
  font-weight: 800;
}

.schedule-board__table thead th:nth-child(1),
.schedule-board__table thead th:nth-child(2) {
  z-index: 5;
}

.schedule-board__table thead th span {
  display: block;
  margin-top: 4px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
}

.schedule-board--month .schedule-board__table th,
.schedule-board--month .schedule-board__table td {
  min-width: 86px;
  padding: 14px 10px;
}

.schedule-board--month .schedule-board__table th:nth-child(1),
.schedule-board--month .schedule-board__table td:nth-child(1) {
  min-width: var(--schedule-col1);
}

.schedule-board--month .schedule-board__table th:nth-child(2),
.schedule-board--month .schedule-board__table td:nth-child(2) {
  min-width: var(--schedule-col2);
}

.schedule-board--month .schedule-board__table th:nth-child(2),
.schedule-board--month .schedule-board__table td:nth-child(2) {
  left: var(--schedule-col1);
}

.schedule-board__slot {
  display: block;
  margin-bottom: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 0;
  background: #f8fbff;
  color: #173a8f;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
}

.schedule-board__slot--active {
  background: #e9f8ef;
  color: #166534;
  border: 1px solid #27ae60;
}

.schedule-board__slot--disabled {
  background: #f1f5f9;
  color: #9ca3af;
  border: 1px dashed #e5e7eb;
  cursor: not-allowed;
  box-shadow: none;
}

.schedule-board__slot:not(.schedule-board__slot--disabled):hover {
  background: #2f6fed;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(47, 111, 237, 0.2);
}

.schedule-board__doctor {
  color: #1f2a37;
  text-decoration: none;
}

.schedule-board__doctor:hover {
  color: #2f6fed;
}

.schedule-booking-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
}

.schedule-booking-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.schedule-booking-modal__dialog {
  position: relative;
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  margin: 24px auto;
  overflow: auto;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.22);
  padding: 32px;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.schedule-booking-modal.is-open .schedule-booking-modal__dialog {
  transform: translateY(0);
  opacity: 1;
}

.schedule-booking-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border: 1px solid #d7e3ff;
  border-radius: 16px;
  background: #fff;
  color: #1f2a37;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.schedule-booking-modal__header h2 {
  margin: 0 0 8px;
  font-size: 34px;
}

.schedule-booking-modal__header p {
  margin: 0 0 20px;
  color: #6b7280;
}

.schedule-booking-modal__summary {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
  padding: 16px 18px;
  border-radius: 20px;
  background: #f4f7fb;
}

.appointment-form--schedule {
  gap: 18px;
}

.schedule-booking-open {
  overflow: hidden;
}

.doctor-schedule-modal {
  position: fixed;
  inset: 0;
  z-index: 1250;
}

.doctor-schedule-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.doctor-schedule-modal__dialog {
  position: relative;
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  margin: 24px auto;
  overflow: auto;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.22);
  padding: 32px;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.doctor-schedule-modal.is-open .doctor-schedule-modal__dialog {
  transform: translateY(0);
  opacity: 1;
}

.doctor-schedule-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border: 1px solid #d7e3ff;
  border-radius: 16px;
  background: #fff;
  color: #1f2a37;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.doctor-schedule-modal__header h2 {
  margin: 0 0 8px;
  font-size: 30px;
}

.doctor-schedule-modal__header p {
  margin: 0 0 20px;
  color: #6b7280;
}

.doctor-schedule-modal__list {
  display: grid;
  gap: 16px;
}

.doctor-schedule-modal__day {
  padding: 16px;
  border-radius: 18px;
  background: #f4f7fb;
}

.doctor-schedule-modal__date {
  font-weight: 600;
  margin-bottom: 10px;
}

.doctor-schedule-modal__slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.doctor-schedule-open {
  overflow: hidden;
}

.schedule-board--day .schedule-board__slot,
.schedule-board--week .schedule-board__slot {
  white-space: nowrap;
}

.schedule-board--month .schedule-board__slot {
  margin-bottom: 6px;
  padding: 7px 8px;
  font-size: 11px;
  line-height: 1.35;
}

@media (max-width: 767px) {
  .schedule-booking-modal__dialog {
    width: calc(100vw - 20px);
    margin: 10px auto;
    border-radius: 24px;
    padding: 22px 18px;
  }

  .schedule-booking-modal__header h2 {
    font-size: 28px;
    padding-right: 56px;
  }

  .doctor-schedule-modal__dialog {
    width: calc(100vw - 20px);
    margin: 10px auto;
    border-radius: 24px;
    padding: 22px 18px;
  }

  .doctor-schedule-modal__header h2 {
    font-size: 26px;
    padding-right: 56px;
  }
}

.schedule-board__empty {
  color: #9ca3af;
}

.services-item__subtitle {
  display: block;
  min-height: 20px;
  margin-top: -4px;
  margin-bottom: 6px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
}

.screening-link-btn__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-right: 8px;
  border-radius: 50%;
  background: #eaf1ff;
  color: #2f6fed;
  font-weight: 700;
  font-size: 14px;
}

.screening-hero {
  margin-top: 32px;
}

.screening-hero__panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 28px;
  border-radius: 28px;
  overflow: hidden;
}

.screening-hero__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.webp') center/contain no-repeat;
  opacity: 0.35;
  pointer-events: none;
}

.screening-hero__content,
.screening-hero__media {
  position: relative;
  z-index: 1;
}

.screening-hero__title {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.screening-hero__title h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.15;
}

.screening-hero__accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #2f6fed;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  flex: 0 0 auto;
}

.screening-hero__content p {
  margin-top: 18px;
  color: #6b7280;
  line-height: 1.6;
}

.screening-hero__actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.screening-hero__media img,
.screening-hero__placeholder {
  width: 100%;
  border-radius: 22px;
  display: block;
  object-fit: cover;
  min-height: 240px;
  background: #f4f7fb;
}

.screening-doctors {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.screening-doctor-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: #f9fbff;
  border: 1px solid #e5e7eb;
}

.screening-doctor-card--wide {
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  align-items: stretch;
  padding: 24px;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 16px 40px rgba(47, 111, 237, 0.08);
}

.screening-doctor-card__media img,
.screening-doctor-card__placeholder {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  min-height: 180px;
  background: #eaf1ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 24px;
  color: #2f6fed;
}

.screening-doctor-card--wide .screening-doctor-card__media img,
.screening-doctor-card--wide .screening-doctor-card__placeholder {
  min-height: 260px;
}

.screening-doctor-card__body h3 {
  margin: 8px 0 8px;
  font-size: 26px;
}

.screening-doctor-card__designation {
  margin: 0;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #2f6fed;
}

.screening-doctor-card__meta {
  margin: 4px 0;
  color: #6b7280;
  font-weight: 600;
}

.screening-doctor-card__about {
  margin-top: 12px;
  color: #1f2a37;
  line-height: 1.6;
}

.screening-doctor-card__about p {
  margin: 0 0 10px;
}

.screening-doctor-card__about p:last-child {
  margin-bottom: 0;
}

.screening-doctor-card__actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.screening-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
}

.screening-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.screening-modal__dialog {
  position: relative;
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  margin: 24px auto;
  overflow: auto;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.22);
  padding: 36px;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.screening-modal.is-open .screening-modal__dialog {
  transform: translateY(0);
  opacity: 1;
}

.screening-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: 1px solid #d7e3ff;
  border-radius: 16px;
  background: #fff;
  color: #1f2a37;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.screening-modal__header {
  margin-bottom: 20px;
}

.screening-modal__header h2 {
  margin: 0 0 10px;
  font-size: 36px;
}

.screening-modal__header p {
  margin: 0;
  color: #6b7280;
}

.screening-modal__accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #2f6fed;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 16px;
}

.screening-modal__form {
  display: grid;
  gap: 18px;
}

.screening-modal__form label {
  display: grid;
  gap: 8px;
}

.screening-modal__form input {
  height: 52px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  padding: 0 16px;
  font-size: 16px;
}

.screening-modal__form button.green-btn {
  height: 56px;
  border-radius: 16px;
  font-size: 18px;
}

.screening-modal__queue {
  margin-top: 4px;
  font-weight: 700;
  font-size: 18px;
}

.screening-modal-open {
  overflow: hidden;
}

.doctor-picker-modal {
  position: fixed;
  inset: 0;
  z-index: 1450;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.doctor-picker-modal[hidden] {
  display: none;
}

.doctor-picker-modal__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(6px);
}

.doctor-picker {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.24);
  padding: 34px;
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.doctor-picker-modal.is-open .doctor-picker {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.doctor-picker__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 1px solid #d7e3ff;
  border-radius: 14px;
  background: #fff;
  color: #1f2a37;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.doctor-picker__head {
  max-width: 620px;
  padding-right: 48px;
}

.doctor-picker__eyebrow,
.doctor-picker-result__label {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--mml1-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.doctor-picker__head h2 {
  margin: 0 0 10px;
  color: var(--mml1-blue-deep);
  font-size: 38px;
  line-height: 1.08;
}

.doctor-picker__head p,
.doctor-picker-step p {
  margin: 0;
  color: #607089;
  font-weight: 600;
  line-height: 1.55;
}

.doctor-picker__progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 28px 0 24px;
}

.doctor-picker__progress span {
  height: 6px;
  border-radius: 999px;
  background: #e7eefc;
}

.doctor-picker__progress span.is-active {
  background: linear-gradient(135deg, var(--mml1-blue), var(--mml1-blue-deep));
}

.doctor-picker-step h3,
.doctor-picker-result h3 {
  margin: 0 0 18px;
  color: var(--mml1-blue-deep);
  font-size: 28px;
  line-height: 1.18;
}

.doctor-picker-step p {
  margin: -8px 0 18px;
}

.doctor-picker-options {
  display: grid;
  gap: 12px;
}

.doctor-picker-options--grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.doctor-picker-option {
  min-height: 58px;
  border: 1px solid #d8e4fb;
  border-radius: 18px;
  background: #f8fbff;
  color: #17345f;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.doctor-picker-option:hover,
.doctor-picker-option.is-selected {
  border-color: var(--mml1-blue);
  background: #eef5ff;
  color: var(--mml1-blue-deep);
  transform: translateY(-1px);
}

.doctor-picker__footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.doctor-picker__footer .green-btn,
.doctor-picker__footer .blue-link-btn {
  min-height: 52px;
  padding-inline: 26px;
}

.doctor-picker-result {
  display: grid;
  gap: 16px;
}

.doctor-picker-result__doctors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.doctor-picker-result__doctors a,
.doctor-picker-result__doctors span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--mml1-blue-deep);
  padding: 8px 16px;
  font-weight: 800;
  text-decoration: none;
}

.doctor-picker-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 4px;
  padding: 18px;
  border: 1px solid #e1e9f8;
  border-radius: 22px;
  background: #f8fbff;
}

.doctor-picker-form label {
  display: grid;
  gap: 7px;
  color: #44546f;
  font-weight: 800;
}

.doctor-picker-form input {
  width: 100%;
  min-height: 52px;
  border: 1px solid #d8e4fb;
  border-radius: 14px;
  background: #fff;
  padding: 0 14px;
  color: #14223a;
  font-size: 16px;
}

.doctor-picker-form button {
  grid-column: 1 / -1;
  min-height: 54px;
}

.doctor-picker-result__restart {
  justify-self: start;
}

body.doctor-picker-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .screening-hero__panel {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .screening-hero__title h1 {
    font-size: 34px;
  }

  .screening-doctor-card--wide {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .screening-hero__panel {
    padding: 22px;
  }

  .screening-hero__accent {
    width: 52px;
    height: 52px;
  }

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

  .doctor-picker {
    width: 100%;
    max-height: calc(100vh - 20px);
    border-radius: 24px;
    padding: 24px 18px 18px;
  }

  .doctor-picker__close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .doctor-picker__head {
    padding-right: 42px;
  }

  .doctor-picker__head h2 {
    font-size: 28px;
  }

  .doctor-picker-step h3,
  .doctor-picker-result h3 {
    font-size: 23px;
  }

  .doctor-picker-options--grid,
  .doctor-picker-form {
    grid-template-columns: 1fr;
  }

  .doctor-picker-option {
    min-height: 52px;
    border-radius: 15px;
    font-size: 15px;
  }

  .doctor-picker__footer {
    position: sticky;
    bottom: -18px;
    margin-inline: -18px;
    padding: 12px 18px 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 24%);
  }

  .doctor-picker__footer .green-btn,
  .doctor-picker__footer .blue-link-btn {
    flex: 1;
    padding-inline: 14px;
  }
}

.services-item {
  position: relative;
}

.services-item__icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.services-item__cover {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 28px;
}

.services-item .img,
.services-item p,
.services-item__subtitle,
.services-item__price,
.services-item__actions {
  position: relative;
  z-index: 2;
}

.services-item__title-link {
  color: inherit;
  text-decoration: none;
}

.services-item__title-link:hover {
  color: #2f6fed;
}

.services-item__actions a {
  position: relative;
  z-index: 3;
}

@media (max-width: 860px) {
  .site-header {
    display: block;
  }

  .mobile-quick-panel {
    display: none;
  }

  .header-meta-bar {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .heade-menu {
    justify-content: flex-start;
    gap: 12px;
  }

  .heade-menu .menu {
    display: none;
  }

  .site-cart-toggle--floating,
  .site-cart-toast {
    display: none;
  }

  .site-cart-panel {
    align-items: center;
    justify-content: flex-start;
    padding: 72px 12px 16px;
  }

  .site-cart-panel__inner {
    width: calc(100% - 20px);
    margin: 0 auto;
    max-height: calc(100vh - 96px - env(safe-area-inset-bottom));
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }

  .site-cart-panel__body {
    flex: 1;
    max-height: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 0;
    overscroll-behavior: contain;
  }

  .site-cart-panel__items {
    max-height: none;
    overflow: visible;
  }

  .site-cart-panel__header {
    align-items: flex-start;
  }

  .site-cart-panel__summary {
    gap: 8px;
    align-items: flex-start;
    text-align: left;
  }

  .site-cart-panel__summary-count {
    font-size: 12px;
  }

  .site-cart-panel__summary strong {
    font-size: 18px;
  }

  .site-cart-panel__close {
    top: 12px;
    right: 12px;
  }

  .site-main {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .mobile-bottom-nav {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .hero .text p,
  .top-title .text,
  .section-padding .text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .faq-simple__item p {
    font-size: 14px;
    line-height: 1.5;
  }

  .archive-filter--services,
  .archive-filter--services-home {
    grid-template-columns: 1fr;
  }

  .price-catalog-group__summary {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .price-catalog-group__stats {
    grid-column: 2;
    justify-content: flex-start;
    text-align: left;
  }

  .price-catalog-group__body {
    padding: 0 16px 18px;
  }

  .price-catalog-group__title {
    font-size: 20px;
  }
}

.site-cart-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: #fff;
  color: var(--text-main);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.site-cart-toggle:hover,
.site-cart-toggle:focus-visible {
  border-color: rgba(47, 111, 237, .35);
  box-shadow: 0 10px 24px rgba(47, 111, 237, .12);
  transform: translateY(-1px);
}

.site-cart-toggle__count {
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  line-height: 24px;
  text-align: center;
}

.site-cart-toggle__sum {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: inherit;
  opacity: .92;
}

.site-cart-toggle.is-bump {
  animation: mml1CartBump .32s ease;
}

@keyframes mml1CartBump {
  0% { transform: scale(1); }
  45% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.site-cart-toggle--floating {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 66;
  min-height: 60px;
  padding: 0 20px;
  border-color: rgba(47, 111, 237, .16);
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: 0 18px 40px rgba(47, 111, 237, .28);
}

.site-cart-toggle--floating .site-cart-toggle__count {
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .24);
}

.site-cart-toggle--floating:hover,
.site-cart-toggle--floating:focus-visible {
  border-color: transparent;
  box-shadow: 0 20px 46px rgba(47, 111, 237, .32);
}

.site-cart-toast {
  position: fixed;
  right: 20px;
  bottom: 92px;
  z-index: 67;
  max-width: 280px;
  padding: 14px 18px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(18, 29, 53, .16);
  color: var(--text-main);
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
}

.site-cart-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-cart-fly {
  position: fixed;
  z-index: 68;
  width: 180px;
  padding: 10px 12px;
  margin: -22px 0 0 -90px;
  border: 1px solid rgba(47, 111, 237, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 36px rgba(47, 111, 237, .14);
  pointer-events: none;
  animation: mml1CartFly .72s ease forwards;
  backdrop-filter: blur(8px);
}

.service-cart-fly strong,
.service-cart-fly span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-cart-fly strong {
  margin-bottom: 4px;
  color: var(--text-main);
  font-size: 13px;
  font-weight: 800;
}

.service-cart-fly span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

@keyframes mml1CartFly {
  0% {
    transform: translate(0, 0) scale(.8);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  100% {
    transform: translate(var(--cart-fly-x), var(--cart-fly-y)) scale(.35);
    opacity: 0;
  }
}

.site-cart-panel {
  position: fixed;
  inset: 0;
  z-index: 70;
  padding: 96px 24px 24px;
  background: rgba(18, 29, 53, .32);
}

.site-cart-panel__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(18, 29, 53, .18);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease;
}

.site-cart-panel.is-open .site-cart-panel__inner {
  opacity: 1;
  transform: translateY(0);
}

.site-cart-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.site-cart-panel__header h3 {
  margin: 0 0 8px;
}

.site-cart-panel__header p {
  margin: 0;
  color: var(--text-muted);
}

.site-cart-panel__summary {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  margin-left: auto;
}

.site-cart-panel__summary strong {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  color: var(--text-main);
}

.site-cart-panel__summary-count {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
}

.site-cart-panel__clear {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.site-cart-panel__close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: #fff;
  color: var(--text-main);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.site-cart-panel__body {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
}

.site-cart-panel__items {
  min-height: 180px;
  padding: 18px;
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  background: var(--accent-soft);
}

.site-cart-panel__empty {
  margin: 0;
  color: var(--text-muted);
}

.site-cart-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(31, 42, 55, .08);
}

.site-cart-item:first-child {
  padding-top: 0;
}

.site-cart-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.site-cart-item__content strong {
  display: block;
  margin-bottom: 6px;
}

.site-cart-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--text-muted);
  font-size: 14px;
}

.site-cart-item__remove {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.site-cart-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.site-cart-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-cart-form span {
  font-weight: 700;
}

.site-cart-form input,
.site-cart-form textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: #fff;
  font: inherit;
  color: var(--text-main);
}

.site-cart-form__full {
  grid-column: 1 / -1;
}

.site-cart-form__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-cart-form__summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-cart-form__summary span {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
}

.site-cart-form__summary strong {
  color: var(--text-main);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.service-cart-add.is-in-cart {
  border-color: rgba(47, 111, 237, .45);
  box-shadow: inset 0 0 0 1px rgba(47, 111, 237, .16);
}

@media (max-width: 1024px) {
  .site-cart-panel__body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .site-cart-toggle {
    min-height: 48px;
    padding: 0 14px;
    gap: 8px;
  }

  .site-cart-toggle--floating {
    right: 12px;
    bottom: 76px;
    min-height: 52px;
    padding: 0 16px;
  }

  .site-cart-toggle__sum {
    font-size: 12px;
  }

  .site-cart-toast {
    right: 12px;
    bottom: 138px;
    max-width: calc(100vw - 24px);
  }

  .site-cart-panel {
    padding: 64px 10px 14px;
  }

  .site-cart-panel__inner {
    padding: 16px;
    border-radius: 20px;
  }

  .site-cart-panel__header {
    gap: 16px;
    flex-wrap: wrap;
  }

  .site-cart-panel__summary {
    align-items: flex-start;
    margin-left: 0;
    order: 3;
    width: 100%;
  }

  .site-cart-form {
    grid-template-columns: 1fr;
  }

  .site-cart-form__actions {
    flex-direction: column;
    align-items: stretch;
  }
}
