* {
  transition: all 0.2s;
}

body {
  font-family: "Inter", sans-serif;
}

/* === Mobile Navigation Menu (Corrected) === */

/* Main container for the off-screen menu */
.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 1000;
  transition: left 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  padding: 25px;
  padding-top: 10px;
  box-sizing: border-box;
}

.mobile-nav__link {
  text-decoration: none;
  color: #333;
  font-size: 24px;
  margin-bottom: 15px;
}

.mobile-nav__link:hover {
  color: rgba(244, 82, 81, 1);
}

.mobile-nav.is-open {
  left: 0;
}

body.mobile-nav-open {
  overflow: hidden;
}

/* Header of the mobile menu */
.mobile-nav__header {
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
  flex-shrink: 0;
}

/* Links container */
.mobile-nav__links {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/*
 * This is the key fix:
 * We are now targeting the navigation container that gets copied from the header.
 * We force it to be a column and take full width.
*/
.mobile-nav__links .site-header__nav {
  display: flex;
  flex-direction: column;
  /* FORCE COLUMN LAYOUT */
  align-items: center;
  /* Center links horizontally */
  gap: 20px;
  /* Add space between links */
  width: 100%;
}

/* Individual links styling */
.mobile-nav__links .site-header__nav-link {
  color: #2c3e50;
  text-decoration: none;
  font-size: 28px;
  font-weight: 500;
  padding: 10px 20px;
  /* More clickable area */
  transition: color 0.3s ease;
  text-align: center;
  width: 100%;
}

.mobile-nav__links .site-header__nav-link:hover {
  color: #007bff;
}

/* Footer of the mobile menu */
.mobile-nav__footer {
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
  flex-shrink: 0;
  text-align: center;
}

.mobile-nav__footer .site-header__phone-link {
  display: block;
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin-bottom: 25px;
}

.mobile-nav__footer .site-header__actions {
  justify-content: center;
  gap: 20px;
}

/* Burger icon animation - no changes needed here */
.site-header__burger.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header__burger.is-active span:nth-child(2) {
  opacity: 0;
}

.site-header__burger.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Burger Icon Animation */
.site-header__burger {
  position: relative;
  z-index: 1000;
  /* ... existing styles ... */
}

.site-header__burger span {
  /* ... existing styles ... */
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.site-header__burger.is-active {
  border-radius: 8px;
  background-color: white;
}

.site-header__burger.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header__burger.is-active span:nth-child(2) {
  opacity: 0;
}

.site-header__burger.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Prevent body scroll when mobile nav is open */
body.mobile-nav-open {
  overflow: hidden;
}

/* ===== clinic-hero ===== */
.clinic-hero {
  padding: 20px 0;
}

.clinic-hero__inner {
  background-image: url("/wp-content/themes/melanoma_new/image/hero-bg.png");
  background-position: center;
  background-size: cover;
  border-radius: 24px;
  overflow: hidden;
}

.site-header__info-item.time {
  display: flex;
  align-items: center;
}

  .site-header__info{
    justify-content: flex-end;
  }
.site-header__top-row{
  justify-content: space-between;
}

@media(max-width:1400px) {
  .site-header__logo{
    max-width: 150px;
    width: 100%;
    height: auto;
  }
  .site-header__info-item.time {
    display: none;
  }
}
@media(max-width:1200px) {
  .site-header__logo{
    max-width: 100px;
  }
}
@media(max-width:768px) {
  .site-header__logo{
    max-width: 177px;
  }
}

.clock-icon {
  margin-right: 6px;
  width: 13px;
  height: 13px;
}

.site-header__muted {
  font-family: Open Sans;
  font-weight: 700;
  font-size: 12px;
  leading-trim: NONE;
  line-height: 12px;
  letter-spacing: 0%;
  vertical-align: middle;
  color: rgba(95, 95, 95, 1);
}

.site-header__info-item.time>div {
  line-height: 1.2;
}

.clinic-hero__content {
  padding: 40px 40px 36px 40px;
}

.clinic-hero__title {
  margin: 0 0 16px 0;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  color: #111111;
}

.clinic-hero__desc {
  margin: 0 0 40px 0;
  font-size: 18px;
  line-height: 1.4;
  color: #444444;
}

.clinic-hero__btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 275px;
  justify-content: space-between;
  width: 100%;
  padding: 4px 4.6px 4px 16px;
  background: rgba(244, 82, 81, 1);
  color: #ffffff;
  border-radius: 100px;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  text-align: center;
  vertical-align: middle;
}

.clinic-hero__btn:hover {
  background: #ff5454;
  color: #ffffff;
  text-decoration: none;
}

.clinic-hero__btn-text {
  display: inline-block;
}

.clinic-hero__btn-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* media block */
.clinic-hero__media {
  height: 100%;
  min-height: 220px;
}

.clinic-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 15px;
}

/* ===== responsive ===== */
@media (max-width: 767.98px) {
  .clinic-hero__content {
    padding: 28px 22px;
  }

  .clinic-hero__title {
    font-size: 30px;
    text-align: center;
  }

  .clinic-hero__desc {
    font-size: 16px;
    margin-bottom: 10px;
    text-align: center;
  }

  .button-container {
    display: flex;
    justify-content: center;
  }

  .clinic-hero__media {
    min-height: 180px;
  }

  .services__card-title {
    margin-top: 0px !important;
    margin-left: 0 !important;
  }
}

@media (min-width: 992px) {
  .clinic-hero__content {
    padding: 56px 56px 52px 32px;
  }

  .clinic-hero__title {
    font-weight: 600;
    font-style: Semi Bold;
    font-size: 55px;
    leading-trim: NONE;
    line-height: 50px;
    letter-spacing: 0%;
  }

  .clinic-hero__desc {
    font-weight: 400;
    font-style: Regular;
    font-size: 26px;
    leading-trim: NONE;
    line-height: 30px;
    letter-spacing: 0%;
  }
}

/* ===== clinic-features ===== */
.clinic-features {
  padding: 10px 0 24px;
}

.clinic-features__row {
  margin-left: -6px;
  margin-right: -6px;
}

.clinic-features__col {
  padding-left: 6px;
  padding-right: 6px;
  margin-bottom: 12px;
}

.clinic-features__item {
  height: 100%;
  background: #f4f5f7;
  border-radius: 12px;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
}

.clinic-features__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clinic-features__icon img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.clinic-features__title {
  margin: 0 0 8px 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  color: #121212;
}

.clinic-features__text {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.35;
  color: #4b4b4b;
}

/* ===== responsive ===== */
@media (min-width: 768px) {
  .clinic-features__item {
    padding: 20px 20px 18px;
    border-radius: 14px;
  }

  .clinic-features__title {
    font-size: 17px;
  }

  .clinic-features__text {
    font-size: 13px;
  }
}

@media (min-width: 1200px) {
  .clinic-features__col {
    margin-bottom: 0;
  }

  .clinic-features__item {
    padding: 22px 20px 20px;
    border-radius: 16px;
  }

  .clinic-features__title {
    font-weight: 600;
    font-style: Semi Bold;
    font-size: 22px;
    leading-trim: NONE;
    line-height: 22px;
    letter-spacing: 0%;
  }

  .clinic-features__text {
    font-weight: 600;
    font-style: Regular;
    font-size: 12px;
    leading-trim: NONE;
    line-height: 12px;
    letter-spacing: 0%;
  }
}

/* ===== about-clinic ===== */
.about-clinic {
  padding: 6px 0 24px;
}

.about-clinic__section-title {
  margin: 0 0 14px 0;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 40px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  line-height: 1.1;
  color: rgba(145, 145, 145, 1);
}

.about-clinic__row {
  margin-left: -8px;
  margin-right: -8px;
}

.about-clinic__col {
  padding-left: 8px;
  padding-right: 8px;
  margin-bottom: 12px;
}

/* video */
.about-clinic__video {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: #e9eaee;
  min-height: 220px;
}

.about-clinic__video-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-clinic__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 88px;
  height: 88px;
  transform: translate(-50%, -50%);
  background: #ff5a5f;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.about-clinic__play::after {
  content: "";
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid #fff;
}

/* content */
.about-clinic__content {
  padding-top: 2px;
}

.about-clinic__title {
  margin: 0 0 8px 0;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  color: #111;
}

.about-clinic__lead {
  margin: 0 0 12px 0;
  font-size: 14px;
  line-height: 1.35;
  color: #2a2a2a;
}

/* offers cards */
.about-clinic__offers {
  margin: 0 0 10px 0;
}

.about-clinic__offers-row {
  margin-left: -6px;
  margin-right: -6px;
}

.about-clinic__offers-col {
  padding-left: 6px;
  padding-right: 6px;
  margin-bottom: 8px;
}

.about-clinic__content ul{
  list-style: none;
  gap: 10px;
  display: flex;
  padding: 0;
  flex-wrap: wrap;
}
.about-clinic__content ul li {
  background: rgba(245, 247, 249, 1);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13.5px;
  line-height: 1.25;
  color: rgba(99, 99, 99, 1);
}

.about-clinic__text {
  margin: 8px 0 0 0;
  font-size: 14px;
  line-height: 1.35;
  color: #111;
}

/* ===== responsive ===== */
@media (max-width: 767.98px) {
  .about-clinic__section-title {
    font-size: 20px;
  }

  .about-clinic__title {
    text-align: center;
    font-size: 20px;
  }

  .about-clinic__play {
    width: 72px;
    height: 72px;
  }

  .about-clinic__play::after {
    border-top-width: 12px;
    border-bottom-width: 12px;
    border-left-width: 18px;
  }
}

@media (min-width: 992px) {
  .about-clinic__col {
    margin-bottom: 0;
  }

  .about-clinic__video {
    min-height: 330px;
    border-radius: 18px;
  }

  .about-clinic__title {
    font-weight: 700;
    font-style: Semi Bold;
    font-size: 22px;
    leading-trim: NONE;
    line-height: 22px;
    letter-spacing: 0%;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(100px, auto);
    grid-gap: 20px;
    padding: 20px;
    grid-template-areas:
      "screening screening digital-dx digital-dx"
      "plastic-surgery plastic-surgery phlebology biopsy"
      "plastic-surgery plastic-surgery derma mohs"
      "gynecology gynecology derma removal"
      "gynecology gynecology peds peds"
      "mammo mammo-checkup ultrasound gyne-checkup"
      "mammo mammo-checkup onco onco";
  }

  .service-card {
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
  }

  .service-card h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
  }

  .service-card p {
    font-size: 14px;
    line-height: 1.5;
  }

  .service-card img {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
    align-self: center;
  }

  .arrow-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: black;
    font-size: 24px;
    border: 1px solid #eee;
  }

  .about-clinic__content p{
    font-weight: 500;
    font-style: Regular;
    font-size: 13px;
    leading-trim: NONE;
    line-height: 1.2;
    letter-spacing: 0%;
  }

  .about-clinic__offer-card {
    font-weight: 500;
    font-style: Regular;
    font-size: 14px;
    leading-trim: NONE;
    line-height: 14px;
    letter-spacing: 0%;
    padding: 11px 13px;
    border-radius: 9px;
  }
}

/* ===== services ===== */
/* ===== services ===== */
.services {
  padding: 6px 0 24px;
}

.services__title {
  margin: 0 0 10px 0;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 40px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;

  color: #8b8b8b;
}

.services__grid>[class*="col-"],
.services__grid .row>[class*="col-"] {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.services__grid .row {
  margin-right: -7.5px;
  margin-left: -7.5px;
}

/* card base */
.services__card {
  border: 0;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}

.services__body {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  background-repeat: no-repeat;
  background-size: cover;
}

.services__body a{
  text-decoration: none;
}

.services__card-title {
  font-size: 30px;
  line-height: 1;
  margin-bottom: 0;
  font-weight: 500;
  color: rgba(99, 99, 99, 1);
  margin-top: 20px;
  margin-left: 20px;
  margin-right: 20px;
}

.services__card-text {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: black;
  padding-left: 20px;
  padding-bottom: 20px;
      width: calc(100% - 100px);
}

/* media */
.services__media {
  position: absolute;

  width: 74px;
  height: 74px;
  pointer-events: none;
}

.services__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.services__media--wide {
  width: 100%;

  right: 0;
  top: auto;
  bottom: 0;
}

.services__media--bottom {
  top: auto;
  bottom: 0;
  right: 0;
  width: 100%;
}

.services__media--bottom-right {
  top: auto;
  bottom: 0;
  width: 120px;
  height: 120px;
  right: 0;
}

/* arrow button */
.services__more {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 5px;
  background: #fcfcfc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.services__more:hover {
  background-color: #f45251;
}

.services__more::after {
  content: "";
  background-image: url(/wp-content/themes/melanoma_new/image/btn-arrow-serv.svg);
  display: block;
  width: 20.52px;
  height: 18px;
}

/* color modifiers  */
.services__card--mint {
  background: #d6faff;
}

.services__card--green {
  background: #d4f4e6;
}

.services__card--blue {
  background: #7aa6d3;
  color: #0d1b2a;
}

.services__card--peach {
  background: #ffe4d6;
}

.services__card--teal {
  background: linear-gradient(296.39deg, #95d1d8 -20.91%, #326e84 63.41%);

  color: #071a1f;
}

.services__card--light {
  background: #f1f2f4;
}

.services__card--pink {
  background: linear-gradient(304.45deg, #ffc9d0 -2.48%, #72222c 111.53%);

  color: #fff;
}

.services__card--ice {
  background: #e9f7fb;
}

.services__card--sand {
  background: #f3e7da;
}

.services__card--beige {
  background: linear-gradient(266.35deg, #f4dada -1.17%, #bb9182 97.92%);
}

.services__card--lilac {
  background: linear-gradient(58.11deg, #f2e5df 3.69%, #e9b29f 100%);
}

.services__card--sky {
  background: #ffd6db;
}

.services__card--violet {
  background: #eae6fc;
}

.services__card--rose {
  background: linear-gradient(278.11deg, #ffebeb -35.23%, #ffb7b7 101%);
}

/* чтобы текст на темных карточках читался */
.services__card--blue .services__card-title,
.services__card--beige .services__card-title,
.services__card--teal .services__card-title,
.services__card--pink .services__card-title {
  color: #fff;
}

.services__card--blue .services__card-text,
.services__card--beige .services__card-text,
.services__card--teal .services__card-text,
.services__card--pink .services__card-text {
  color: #fff;
}

/* ===== пропорции по твоим размерам (desktop) ===== */
/* LEFT col (width ~423) */
.services__card--l1 {
  aspect-ratio: 423 / 416;
}

.services__card--l2 {
  aspect-ratio: 423 / 515;
}

.services__card--l3 {
  aspect-ratio: 423 / 480;
}

.services__card--l4 {
  aspect-ratio: 423 / 263;
}

.services__card--l5 {
  aspect-ratio: 423 / 221;
}

/* RIGHT col full width (width ~862) */
.services__card--r1 {
  aspect-ratio: 862 / 219;
}

.services__card--r2 {
  aspect-ratio: 862 / 263;
}

/* RIGHT inner left (width ~423) */
.services__card--rl1 {
  aspect-ratio: 423 / 496;
}

.services__card--rl2 {
  aspect-ratio: 423 / 410;
}

.services__card--rl3 {
  aspect-ratio: 423 / 271;
}

/* RIGHT inner right (width ~423) */
.services__card--rr1 {
  aspect-ratio: 423 / 233;
}

.services__card--rr2 {
  aspect-ratio: 423 / 400;
}

.services__card--rr3 {
  aspect-ratio: 423 / 544;
}

/* RIGHT bottom split */
.services__card--r3a,
.services__card--r3b {
  aspect-ratio: 423 / 221;
}

/* responsive */
@media (max-width: 767.98px) {
  .services__card-title {
    font-size: 18px;
    line-height: 1;
    margin-bottom: 0;
    font-weight: 500;
    color: #000;
  }

  .services__more::after {
    content: "";
    background-image: url(/wp-content/themes/melanoma_new/image/btn-arrow-serv-small.svg);
    display: block;
  }

  .services__card-text {
    max-width: 270px !important;
  }

  .services__grid .row {
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
  }

  .services__card {
    margin-top: 0 !important;
  }

  .col-12.col-lg-8 {
    margin-top: 5px;
  }

  .services__body {
    background-image: none !important;
  }

  .services__card {
    padding: 10px;
  }

  .services__media {
    display: none;
  }

  .services__card-text {
    padding-left: 0px !important;
    padding-bottom: 0px !important;
  }

  .services__card-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }

  .services__more {
    right: 10px;
    bottom: 10px;
  }

  .services__card {
    aspect-ratio: 0 / 0 !important;
  }

  .services__grid>[class*="col-"],
  .services__grid .row>[class*="col-"],
  .services__grid .row {
    flex-direction: column;
    gap: 8px;
  }

  .doctors__all-icon {
    margin-bottom: 3px;
  }

  .col-4.col-md-3.text-right {
    width: 46%;
  }
}

/* ===== telemed ===== */
.telemed {
  padding: 6px 0 24px;
}

.telemed__inner {
  background: #f2f3f5;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.telemed__row {
  min-height: 240px;
}

.telemed__col {
  padding: 0;
}

/* left content */
.telemed__content {
  padding: 22px 22px 20px;
  max-width: 520px;
}

.telemed__title {
  margin: 0 0 10px 0;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 40px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  color: rgba(145, 145, 145, 1);
  /* серый как на макете */
}

.telemed__text {
  margin: 0 0 14px 0;
  font-size: 13.5px;
  line-height: 1.35;
  color: #1f1f1f;
}

/* button (в стиле предыдущих) */
.telemed__btn {
  display: inline-flex;
  align-items: center;
  padding: 4px 4.6px 4px 16px;

  background: rgba(244, 82, 81, 1);

  color: #ffffff;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.telemed__btn:hover {
  background: #ff5454;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}

.telemed__btn-text {
  margin-right: 60px;
}

.telemed__btn-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* right media */
.telemed__media {
  height: 100%;
  min-height: 200px;
  position: relative;
}

.telemed__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== responsive ===== */
@media (max-width: 767.98px) {
  .telemed__content {
    padding: 18px 16px 16px;
    max-width: 100%;
  }

  .telemed__title {
    font-size: 20px;
  }

  .telemed__text {
    font-size: 13px;
  }

  .telemed__media {
    min-height: 170px;
  }
}

@media (min-width: 992px) {
  .telemed__inner {
    border-radius: 18px;
  }

  .telemed__content {
    padding: 26px 46px 24px;
  }

  .telemed__title {
    margin: 0 0 10px 0;
    font-weight: 600;
    font-style: Semi Bold;
    font-size: 40px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
    color: rgba(145, 145, 145, 1);
  }

  .telemed__text {
    font-weight: 500;
    font-style: Regular;
    font-size: 14px;
    leading-trim: NONE;
    line-height: 14px;
    letter-spacing: 0%;
  }

  .telemed__media {
    min-height: 260px;
  }
}

/* ===== doctor-note ===== */
.doctor-note {
  padding: 6px 0 24px;
}

.doctor-note__row {
  margin-left: -8px;
  margin-right: -8px;
}

.doctor-note__col {
  padding-left: 8px;
  padding-right: 8px;
  margin-bottom: 12px;
}

/* left photo card */
.doctor-note__photo-wrap {
  background: #9a9a9a;
  /* серый фон как на подложке фото */
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doctor-note__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* right text card */
.doctor-note__card {
  background: #f2f3f5;
  border-radius: 14px;
  padding: 18px 18px 16px;
  height: 100%;
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.doctor-note__title {
  margin: 0 0 8px 0;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  color: #111;
}

.doctor-note__card p {
  margin: 0 0 8px 0;
  font-size: 12.8px;
  line-height: 1.35;
  color: #1f1f1f;
}

.doctor-note__card p:last-of-type {
  margin-bottom: 14px;
}

.doctor-note__sign {
  margin-top: auto;
  /* прижать подпись вниз */
  padding-top: 6px;
  font-size: 12px;
  line-height: 1.3;
  color: #2b2b2b;
}

.doctor-note__sign-role {
  font-weight: 600;
}

.doctor-note__sign-name {
  font-weight: 400;
}

/* ===== responsive ===== */
@media (max-width: 767.98px) {

  .doctor-note__photo-wrap,
  .doctor-note__card {
    border-radius: 12px;
    min-height: 220px;
  }

  .doctor-note__title {
    font-size: 17px;
  }

  .doctor-note__p {
    font-size: 12.5px;
  }
}

@media (min-width: 992px) {
  .doctor-note__col {
    margin-bottom: 0;
  }

  .doctor-note__photo-wrap,
  .doctor-note__card {
    border-radius: 16px;
    min-height: 320px;
  }

  .doctor-note__card {
    padding: 20px 20px 18px;
  }

  .doctor-note__title {
    font-weight: 500;
    font-style: Medium;
    font-size: 22px;
    leading-trim: NONE;
    letter-spacing: 0%;
  }

  .doctor-note__p {
    font-weight: 400;
    font-style: Regular;
    font-size: 12px;
    leading-trim: NONE;
    letter-spacing: 0%;
  }
}

.gallery {
  padding: 50px 0 50px;
}

/* фикс 50x -> 50px */

.gallery__title {
  margin: 0 0 15px 0;
  font-size: 40px;
  line-height: 1;
  font-weight: 600;
  color: #919191;
}

/* mobile-first */
.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.gallery__col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #e9eaee;
}

.gallery__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* aspect ratios */
.gallery__item--r1c1 {
  aspect-ratio: 423 / 467;
}

.gallery__item--r1c2 {
  aspect-ratio: 423 / 467;
}

.gallery__item--r1c3 {
  aspect-ratio: 314 / 307;
}

.gallery__item--r2c1 {
  aspect-ratio: 423 / 307;
}

.gallery__item--r2c2 {
  aspect-ratio: 423 / 307;
}

.gallery__item--r2c3 {
  aspect-ratio: 314 / 467;
}

/* ===== mobile: 2 колонки, 3-я скрыта ===== */
@media (max-width: 767.98px) {
  .gallery__title {
    font-size: 28px;
  }

  .gallery__item {
    border-radius: 12px;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .gallery__col--3 {
    display: none;
  }
}

/* desktop */
@media (min-width: 768px) {
  .gallery__item--r1c2 {
    aspect-ratio: 533 / 467;
  }

  .gallery__item--r2c2 {
    aspect-ratio: 533 / 307;
  }

  .gallery__grid {
    grid-template-columns: 423fr 533fr 314fr;
    gap: 12px;
    align-items: start;
  }

  .gallery__item {
    border-radius: 18px;
  }

  .gallery__col--3 {
    grid-column: auto;
  }
}

.site-header__badge a {
  text-decoration: none;
  color: white;
}

/* ===== news ===== */
.news {
  padding: 6px 0 24px;
}

.news__title {
  margin: 0 0 14px 0;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 40px;
  leading-trim: NONE;
  line-height: 100%;
  color: rgba(145, 145, 145, 1);
}

.news__row {
  margin-left: -6px;
  margin-right: -6px;
}

.news__col {
  padding-left: 6px;
  padding-right: 6px;
  margin-bottom: 12px;
}

/* ===== news-card ===== */
.news-card {
  display: block;
  height: 100%;
  background: #f2f3f5;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
  text-decoration: none;
  color: inherit;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* media (top image) */
.news-card__media {
  position: relative;
  background: #e9eaee;
}

.news-card__media::before {
  content: "";
  display: block;
  padding-top: 58%;
  /* высота картинки как на макете */
}

.news-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* body */
.news-card__body {
  padding: 12px 20px 14px;
}

.news-card__title {
  margin: 0 0 20px 0;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
  color: #111;
}

.news-card__date {
  font-weight: 400;
  font-style: Regular;
  font-size: 12px;
  leading-trim: NONE;
  line-height: 12px;
  letter-spacing: 0%;
  color: rgba(99, 99, 99, 1);
}

/* responsive */
@media (max-width: 767.98px) {
  .news__title {
    font-size: 20px;
  }

  .news-card {
    border-radius: 12px;
  }

  .news-card__title {
    font-size: 13.5px;
  }
}

@media (min-width: 992px) {
  .news__col {
    margin-bottom: 0;
  }

  .news-card {
    border-radius: 16px;
  }

  .news-card__title {
    font-weight: 600;
    font-style: Semi Bold;
    font-size: 12px;
    leading-trim: NONE;
    line-height: 12px;
    letter-spacing: 0%;
    color: rgba(0, 0, 0, 1);
  }
}

/* ===== licenses ===== */
.licenses {
  padding: 6px 0 50px;
}

.licenses__title {
  margin: 0 0 14px 0;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 40px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  color: rgba(145, 145, 145, 1);
}

/* click-area for whole card */
.licenses__item {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.licenses__item:hover {
  text-decoration: none;
  color: inherit;
}

/* frame around image */
.licenses__frame {
  background: #ffffff;
  border: 0.5px solid rgba(239, 239, 239, 1);
  border-radius: 12px;

  /* твои паддинги */
  padding-top: 8px;
  padding-right: 3.5px;
  padding-bottom: 7px;
  padding-left: 10px;

  overflow: hidden;
  height: 100%;
}

.licenses__img {
  width: 100%;
  height: auto;
  display: block;
}

/* subtle hover like rest of site */
.licenses__item:hover .licenses__frame {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.02);
}

.licenses__caption {
  margin-top: 20px;
  font-weight: 500;
  font-style: Medium;
  font-size: 12px;
  leading-trim: NONE;
  line-height: 12px;
  letter-spacing: 0%;
  color: rgba(0, 0, 0, 1);
}

/* ===== responsive ===== */
@media (max-width: 767.98px) {
  .licenses__title {
    font-size: 20px;
  }

  .licenses__frame {
    border-radius: 10px;
  }

  .licenses__caption {
    font-size: 12px;
  }
}

@media (min-width: 992px) {
  .licenses__col {
    margin-bottom: 0;
  }

  .licenses__frame {
    border-radius: 14px;
  }
}

/* ===== contacts ===== */
.contacts {
  padding: 6px 0 24px;
}

.contacts__title {
  margin: 0 0 20px 0;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 40px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  color: rgba(145, 145, 145, 1);
}

.contacts__row {
  margin-left: -6px;
  margin-right: -6px;
}

.contacts__col {
  padding-left: 6px;
  padding-right: 6px;
}

.contacts__panel {
  background: rgba(245, 247, 249, 1);
  border-radius: 7px;
  padding: 20px;
}

/* city buttons */
.contacts__cities {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.CityContactButton {
  border: 1px solid transparent;
  background: rgba(245, 247, 249, 1);
  color: rgba(0, 0, 0, 1);
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0%;
  text-align: center;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  max-width: 40%;
  font-weight: 500;
  font-style: Medium;
  font-size: 12px;
  leading-trim: NONE;
  line-height: 12px;
  letter-spacing: 0%;
  text-align: center;
}

.CityContactButton:last-of-type {
  max-width: 60%;
}

.CityContactButton:hover {
  border-color: rgba(244, 82, 81, 0.2);
}

.CityContactButtonActive {
  background: #fff;
  border-color: rgba(244, 82, 81, 1);
  color: #111;
}

.CityContactButtonActive:hover {
  border-color: rgba(244, 82, 81, 1);
}

/* blocks */
.contacts__block {
  margin-bottom: 12px;
}

.contacts__label {
  font-size: 12px;
  color: #8a8a8a;
  margin-bottom: 4px;
}

.contacts__block1 img {
  max-height: 20px;
  max-width: 20px;
}

.contacts__value {
  font-weight: 600;
  font-style: Medium;
  font-size: 12px;
  leading-trim: NONE;
  line-height: 12px;
  letter-spacing: 0%;

  color: #111;
}

.contacts__hint {
  margin-top: 2px;
  font-size: 12px;
  color: #8a8a8a;
}

/* list */
.contacts__list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0 0;
}

.contacts__item+.contacts__item {
  margin-top: 6px;
}

.contacts__link {
  font-weight: 600;
  font-style: Medium;
  font-size: 12px;
  leading-trim: NONE;
  line-height: 12px;
  letter-spacing: 0%;
  color: rgba(0, 0, 0, 1);
  text-decoration: none;
}

.contacts__link:hover {
  text-decoration: underline;
}

/* actions */
.contacts__actions {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 225px;
}

.contacts__btn {
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1;
  padding: 10px 10px;
  text-decoration: none;
  border: 0;
}

.contacts__block .clock-icon {
  margin-right: 0px;
}

.contacts__btn--primary {
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;

  background: rgba(244, 82, 81, 1);

  color: #fff;
  gap: 12px;
}

.contacts__btn--primary:hover {
  background: #ff5454;
  color: #fff;
  text-decoration: none;
}

.contacts__btn-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  padding-bottom: 3px;
}

.contacts__btn--secondary {
  background: #e6e7ea;
  color: #111;
  justify-content: flex-start;
  gap: 22px;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
}

.contacts__btn--secondary:hover {
  background: #dedfe3;
  color: #111;
  text-decoration: none;
}

.contacts__btn-pin {
  width: 18px;
  height: 18px;
  display: inline-block;
  background: #b9bbc2;
  border-radius: 50%;
  position: relative;
}

.contacts__btn-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* map */
.contacts__map {
  background: #f2f3f5;
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  min-height: 320px;
  margin: 0 0px;
}

.contacts__iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

/* responsive */
@media (max-width: 767.98px) {
  .contacts__title {
    font-size: 20px;
  }

  .contacts__panel,
  .contacts__map {
    border-radius: 12px;
  }

  .contacts__col--side {
    margin-bottom: 12px;
  }
}

@media (min-width: 992px) {

  .contacts__panel,
  .contacts__map {
    border-radius: 16px;
  }

  .contacts__map,
  .contacts__iframe {
    min-height: 380px;
  }
}

/* ===== footer ===== */
.footer {
  padding: 12px 0 18px;
}

.footer__row {
  margin-left: -6px;
  margin-right: -6px;
}

.footer__col {
  padding-left: 6px;
  padding-right: 6px;
  margin-bottom: 12px;
}

/* left big plate */
.footer__main {
  background-image: url(/wp-content/themes/melanoma_new/image/footer-bg.png);
  background-size: cover;
  border-radius: 14px;
  padding: 18px 18px 16px;
  height: 100%;
}

/* brand */
.footer__brand {
  margin-bottom: 12px;
}

.footer__logo {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.footer__logo img{
  max-width: 190px;
}

.footer__logo-text {
  font-weight: 800;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: 0.4px;
  color: #111;
}

.footer__logo-dot {
  display: inline-block;
  width: 17px;
  height: 17px;
  background: rgba(244, 82, 81, 1);

  border-radius: 50%;
  transform: translateY(-1px);
  margin: 0 2px;
}

.footer__logo-sub {
  font-size: 11.5px;
  color: #8a8a8a;
}

/* nav layout */
.footer__nav-row {
  margin-left: -6px;
  margin-right: -6px;
}

.footer__nav-col {
  padding-left: 6px;
  padding-right: 6px;
  margin-bottom: 10px;
}

.footer__nav-title {
  font-size: 12px;
  color: #8a8a8a;
  margin-bottom: 6px;
}

/* services inner row */
.footer__services-row {
  margin-left: -6px;
  margin-right: -6px;
}

.footer__services-col {
  padding-left: 6px;
  padding-right: 6px;
}

/* list */
.footer__list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__item+.footer__item {
  margin-top: 6px;
}

.footer__list .page_item a{
  font-size: 13.5px;
  line-height: 1.3;
  color: #111;
  text-decoration: none;
}

.footer__list .page_item a:hover {
  text-decoration: underline;
}

/* right contacts plate */
.footer__contacts {
  background: #f2f3f5;
  border-radius: 14px;
  padding: 16px 16px 14px;
  height: 100%;
}

.footer__contacts-title {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  color: #6f6f6f;
  margin-bottom: 10px;
}

.footer__contacts-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #111;
  margin-bottom: 20px;
}

.footer__contacts-item {
  font-weight: 600;
  font-style: Medium;
  font-size: 12px;
  leading-trim: NONE;
  line-height: 12px;
  letter-spacing: 0%;
  color: rgba(0, 0, 0, 1);
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
}

.footer__contacts-item img {
  padding-right: 8px;
}

.footer__contacts-link {
  display: block;
  color: #111;
  text-decoration: none;
}

.footer__contacts-link:hover {
  text-decoration: underline;
}

/* socials circles */
.footer__socials {
  display: flex;
  gap: 6px;
  margin: 6px 0 10px;
}

.footer__social {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  /* background: rgba(244, 82, 81, 1); */

  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-transform: lowercase;
}

.footer__social img{
  width: 26px;
  height: 26px;
}

.footer__policy {
  font-weight: 500;
  font-style: Medium;
  font-size: 12px;
  leading-trim: NONE;
  line-height: 12px;
  letter-spacing: 0%;
  font-size: 12px;
  color: rgba(244, 82, 81, 1);
  display: inline-flex;
  text-decoration: none;
}

.footer__policy:hover {
  text-decoration: underline;
}

/* ===== responsive ===== */
@media (max-width: 767.98px) {

  .footer__main,
  .footer__contacts {
    border-radius: 12px;
  }

  .footer__link {
    font-size: 13px;
  }

  .footer__contacts-title {
    font-size: 20px;
  }
}

@media (min-width: 992px) {
  .footer__col {
    margin-bottom: 0;
  }

  .footer__main,
  .footer__contacts {
    border-radius: 16px;
  }

  .footer__main {
    padding: 20px 20px 18px;
  }

  .footer__nav-col {
    margin-bottom: 0;
  }
}

/* ===== faq ===== */
.faq {
  padding: 6px 0 24px;
}

.faq__title {
  margin: 0 0 14px 0;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0%;
  color: rgba(145, 145, 145, 1);
}

.faq__list {
  border-top: 1px solid #e6e7ea;
}

.faq__item {
  border-bottom: 1px solid #e6e7ea;
}

/* head row */
.faq__head {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  outline: none;
}

.faq__question {
  font-weight: 500;
  font-style: Medium;
  font-size: 14px;
  line-height: 12px;
  color: rgba(0, 0, 0, 1);
}

/* toggle arrow in circle */
.faq__toggle {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(244, 82, 81, 1);

  position: relative;
  transition: transform 0.2s ease;
}

.faq__toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid rgba(244, 82, 81, 1);

  border-bottom: 2px solid rgba(244, 82, 81, 1);

  transform: translate(-50%, -60%) rotate(45deg);
}

/* body collapsed by default */
.faq__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__answer {
  padding: 0 0 14px 0;
  font-weight: 400;
  font-style: Regular;
  font-size: 13px;
  leading-trim: NONE;
  line-height: 12px;
  letter-spacing: 0%;
  color: rgba(99, 99, 99, 1);
}

/* active state */
.faq__item.is-open .faq__toggle {
  transform: rotate(180deg);
}

/* responsive */
@media (max-width: 767.98px) {
  .faq__title {
    font-size: 20px;
  }

  .faq__question {
    font-size: 14px;
  }

  .faq__answer {
    font-size: 12.5px;
  }
}

/* ===== cta-form ===== */
.cta-form {
  padding: 6px 0 24px;
}

.cta-form__row {
  margin-left: -6px;
  margin-right: -6px;
}

.cta-form__col {
  padding-left: 6px;
  padding-right: 6px;
  margin-bottom: 12px;
}

/* red rounded plates */
.cta-form__box {
  background: #f25555;
  /* красный как на дизе */
  border-radius: 12px;
  padding: 12px 14px;
  height: 100%;
  display: flex;
  align-items: center;
  min-height: 70px;
}

.cta-form__label {
  font-weight: 500;
  font-style: Medium;
  font-size: 12px;
  leading-trim: NONE;
  line-height: 12px;
  letter-spacing: 0%;
  color: #fff;
  white-space: nowrap;
  margin-right: 20px;
}

/* controls line */
.cta-form__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

/* phone link (white input-like) */
.cta-form__phone {
  flex: 1 1 auto;
  height: 38px;
  background: #fff;
  border-radius: 6px;
  padding: 0 6px 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: #111;
  font-size: 14px;
  font-weight: 600;
  max-width: 209px;
}

.cta-form__phone:hover {
  text-decoration: none;
  color: #111;
}

.cta-form__phone-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #f25555;
  position: relative;
  flex: 0 0 auto;
}

.cta-form__phone-icon::after {
  content: "☎";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%);
  color: #fff;
  font-size: 13px;
  line-height: 1;
}

/* input */
.cta-form .cta-form__input {
  flex: 1 1 auto;
  height: 38px;
  border: 0;
  border-radius: 6px;
  font-size: 14px;
  padding: 0 12px;
  box-shadow: none;
}

.cta-form__input:focus {
  box-shadow: none;
  outline: none;
}

/* buttons */
.cta-form__btn {
  height: 38px;
  padding: 0 12px;
  padding-right: 6px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  white-space: nowrap;
}

.cta-form__btn--appoint {
  background: #fff;
  color: #111;
}

.cta-form__btn--appoint:hover {
  background: #f7f7f7;
  color: #111;
}

.cta-form__btn-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: #f25555;
  position: relative;
  flex: 0 0 auto;
}

.cta-form__btn-icon::after {
  content: "→";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%);
  color: #fff;
  font-size: 13px;
  line-height: 1;
}

.cta-form__btn--send {
  background: #fff;
  color: #111;
  padding: 0 18px;
}

.cta-form__btn--send:hover {
  background: #f7f7f7;
  color: #111;
}

/* ===== responsive ===== */
@media (max-width: 767.98px) {
  .cta-form__box {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .cta-form__label {
    margin-right: 0;
  }

  .cta-form__controls {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-form__phone,
  .cta-form__input,
  .cta-form__btn {
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
  }

  .cta-form__input {
    opacity: 0.96;
  }
}

@media (min-width: 992px) {
  .cta-form__col {
    margin-bottom: 0;
  }

  .cta-form__box {
    min-height: 74px;
    padding: 21px 20px;
  }
}

/* ===== doctors ===== */
.doctors {
  padding: 6px 0 24px;
}

.doctors__head {
  margin-bottom: 10px;
}

.doctors__title {
  margin: 0;
  font-size: 40px;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 40px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  color: #8f8f8f;
}

/* button "all doctors" */
.doctors__all {
  margin-left: auto;
  background: rgba(244, 82, 81, 1);
  padding: 8px 8px 8px 16px;
  color: #fff;
  border-radius: 5px;
  font-size: 14px;
  line-height: 1;
  padding: 6px 12px;
  padding-right: 6px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
}

.doctors__all:hover {
  background: #ff5454;
  color: #fff;
  text-decoration: none;
}

.doctors__all-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

/* slider area */
.doctors__slider {
  position: relative;
}

.doctors-swiper {
  padding-bottom: 22px;
  /* место под контролы */
}

.col-4.col-md-2.text-right {
  padding-left: 0;
}

/* ===== doctor-card ===== */
.doctor-card {
  display: block;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.doctor-card:hover {
  text-decoration: none;
  color: inherit;
}

.doctor-card__photo {
  width: 180px;
  height: 180px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #e9eaee;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doctor-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.doctor-card__name {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
}

.doctor-card__pos {
  font-size: 13px;
  line-height: 1.3;
  color: #444;
  max-width: 180px;
  margin: 0 auto;
}

/* controls bottom */
.doctors__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

/* nav arrows circles */
.doctors__nav-btn {
  /* width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(244, 82, 81, 1);

  position: relative;
  cursor: pointer;
  outline: none;
  transition: 0.2s ease; */
  border: none;
  background-color: #fff;
}

.doctors__nav-btn::after {
  /* content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid rgba(244, 82, 81, 1);

  border-bottom: 2px solid rgba(244, 82, 81, 1);

  transform: translate(-50%, -50%) rotate(-45deg); */
}

.doctors__nav-btn--prev::after {
  transform: translate(-50%, -50%) rotate(135deg);
}

/* .doctors__nav-btn:hover {
  background: rgba(255, 107, 107, 0.06);
} */

/* pagination dots */
.doctors__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 180px;
  max-width: 200px;
}

.doctors__pagination .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: #d7d9de;
  opacity: 1;
  margin: 0 !important;
}

.doctors__pagination .swiper-pagination-bullet-active {
  background: rgba(244, 82, 81, 1);
}

/* responsive */
@media (max-width: 767.98px) {
  .doctors__title {
    font-size: 20px;
    margin-bottom: 0px;
  }

  .services__title {
    margin-bottom: 10px;
    font-size: 24px;
  }

  .col-4.col-md-2.text-right {
    width: 44%;
  }

  .col-8.col-md-10 {
    width: 56%;
  }

  /* .col-4 {
    width: 50%;
  } */

  .doctor-card__photo {
    width: 140px;
    height: 140px;
  }

  .doctor-card__pos {
    font-size: 12.5px;
    max-width: 160px;
  }

  .doctors__all {
    font-size: 12.5px;
    padding: 8px 10px;
    gap: 6px;
  }

  .services__more {
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 1200px) {
  .doctor-card__photo {
    width: 190px;
    height: 190px;
  }
}

/* ===== reviews ===== */
.reviews {
  padding: 6px 0 24px;
}

.reviews__head {
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
}

.reviews__title {
  margin: 0;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 40px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  color: rgba(145, 145, 145, 1);
}

.reviews__actions {
  white-space: nowrap;
  display: flex;
  justify-content: right;
}

/* top buttons */
.reviews__btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-weight: 500;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  border-radius: 6px;
  padding: 10px 12px;
  text-decoration: none;
  border: 0;
}

.reviews__btn+.reviews__btn {
  margin-left: 6px;
}

.reviews__btn--primary {
  background: rgba(244, 82, 81, 1);

  color: #fff;
}

.reviews__btn--primary:hover {
  background: #ff5454;
  color: #fff;
  text-decoration: none;
}

.reviews__btn--secondary {
  background: #e6e7ea;
  color: #111;
}

.reviews__btn--secondary:hover {
  background: #dedfe3;
  color: #111;
  text-decoration: none;
}

.reviews__btn-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  padding-bottom: 3px;
}

.reviews__btn-icon--gray {
  background: rgba(0, 0, 0, 0.06);
}

/* slider */
.reviews-swiper {
  padding-bottom: 20px;
  /* место под контролы */
}

/* ===== review-card ===== */
.review-card {
  background: #f2f3f5;
  border-radius: 14px;
  padding: 14px 14px 16px;
  height: 100%;
  min-height: 190px;
}

.review-card {
  border-radius: 12px;
  padding: 12px;
  height: 217px;
}

.review-card__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
}

.review-card__date {
  font-weight: 500;
  font-style: Regular;
  font-size: 12px;
  leading-trim: NONE;
  line-height: 12px;
  letter-spacing: 0%;
  color: rgba(202, 202, 202, 1);
}

/* stars */
.review-card__rating {
  font-size: 12px;
  color: #d0d0d0;
  letter-spacing: 1px;
  margin-bottom: 28px;
}

.review-card__star.is-active {
  color: #f5b300;
  /* желтые звёзды */
}

/* source badge */
.review-card__source {
  font-size: 11.5px;
  color: rgba(244, 82, 81, 1);

  padding: 3px 8px;
  border-radius: 6px;
  line-height: 1;
  white-space: nowrap;
  display: flex;
  justify-content: end;
}

.review-card__source img {
    max-width: 110px;
}

.review-card__text {
  font-weight: 500;
  font-style: Regular;
  font-size: 13px;
  line-height: 15px;
  letter-spacing: 0%;
  color: rgba(0, 0, 0, 1);
  max-height: 170px;
  overflow: hidden;
}

/* bottom controls */
.reviews__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

/* arrows */
.reviews__nav-btn {
  /* width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(244, 82, 81, 1);

  position: relative;
  cursor: pointer;
  outline: none;
  transition: 0.2s ease; */
  border: none;
  background: white;
}

/* Стили для изменения оттенка стрелок слайдера при наведении */
.doctors__nav-btn img,
.reviews__nav-btn img {
  transition: filter 0.3s ease-in-out;
}

.doctors__nav-btn:hover img,
.reviews__nav-btn:hover img {
  filter: brightness(1.178);
  /* Делаем иконку на 70% светлее */
}

.reviews__nav-btn::after {
  /* content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid rgba(244, 82, 81, 1);

  border-bottom: 2px solid rgba(244, 82, 81, 1);

  transform: translate(-50%, -50%) rotate(-45deg); */
}

.reviews__nav-btn--prev::after {
  /* transform: translate(-50%, -50%) rotate(135deg); */
}

.reviews__nav-btn:hover {
  /* background: rgba(255, 107, 107, 0.06); */
}

/* pagination dots between arrows */
.reviews__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 200px;
}

.reviews__pagination .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: #d7d9de;
  opacity: 1;
  margin: 0 !important;
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-horizontal.swiper-pagination-bullets {
  max-width: 170px;
}

.reviews__pagination .swiper-pagination-bullet-active {
  background: rgba(244, 82, 81, 1);
}

/* responsive */
@media (max-width: 767.98px) {
  .reviews__title {
    font-size: 20px;
    margin-bottom: 00px;
  }

  .swiper-slide {
    width: 100% !important;
  }

  .reviews__actions {
    justify-content: end;
  }

  .reviews__btn {
    font-size: 12.5px;
    padding: 8px 10px;
  }

  .reviews__btn--secondary {
    display: none;
  }

  .review-card {
    border-radius: 12px;
    padding: 12px;
    height: 217px;
  }

  .review-card__text {
    font-size: 12.5px;
  }
}

@media (min-width: 992px) {
  .review-card {
    border-radius: 16px;
  }
}

/* ===== site-header ===== */
.site-header {
  background: #fff;
}

/* top bar */
.site-header__top {
  padding: 8px 0;
}

.site-header__top-row {
  gap: 10px;
}

/* logo */
.site-header__logo {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  line-height: 1.1;
}

.site-header__logo img {
    max-width: 190px;
}

.site-header__logo-text {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.4px;
  color: #111;
}

.site-header__info-item.time {
  gap: 0;
}

.site-header__logo-dot {
  display: inline-block;
  width: 17px;
  height: 17px;
  background: rgba(244, 82, 81, 1);

  border-radius: 50%;
  margin: 0 2px;
  transform: translateY(-1px);
  vertical-align: middle;
}

.site-header__logo-sub {
  font-size: 11.5px;
  color: #8a8a8a;
}

/* desktop info */
.site-header__info {
  gap: 16px;
  font-size: 12.5px;
  color: #444;
  padding-left: 14px;
}

.site-header__info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  line-height: 1;
}

.site-header__muted {
  color: rgba(95, 95, 95, 1);
  font-size: 11.5px;
}

.site-header__badge {
  font-size: 10px;
  line-height: 1;
  color: #fff;
  background: rgba(244, 82, 81, 1);
  border-radius: 6px;
  padding: 2px 5px;
  text-transform: uppercase;
}

.site-header__badge.active {
  background: rgba(217, 217, 217, 1);
}

.site-header__phone-link {
  color: rgba(95, 95, 95, 1);
  text-decoration: none;
  font-family: Open Sans;
  font-weight: 700;
  font-style: Medium;
  font-size: 12px;
  leading-trim: NONE;
  line-height: 11px;
  letter-spacing: 0%;
  vertical-align: middle;
}

.site-header__phone-link:hover {
  text-decoration: underline;
}

/* actions */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* search */
.site-header__search {
  position: relative;
  display: flex;
  align-items: center;
  background: #f0f1f3;
  border-radius: 999px;
  height: 30px;
  padding: 0 0px 0 44px;
  max-width: 94px;
  margin-right: 12px;
}

.icon__header {
  vertical-align: middle;
  display: flex;
  justify-content: center;
  padding-right: 8px;
  margin-bottom: 0px;
}

.site-header__search--compact {
  height: 30px;
  min-width: 120px;
}

.site-header__search-icon {
  position: absolute;
  left: 10px;
  width: 14px;
  height: 14px;
  border: 2px solid #9aa0a6;
  border-radius: 50%;
}

.site-header__search-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  background: #9aa0a6;
  right: -5px;
  bottom: -3px;
  transform: rotate(45deg);
}

.site-header__search-input {
  background: transparent;
  border: 0;
  outline: none;
  font-size: 13px;
  width: 100%;
  padding-top: 3px;
}

.site-header__icon-btn.white-bg {
  background: white;
}

.site-header__search-input::placeholder {
  color: #8a8a8a;
}

/* round icon buttons */
.site-header__icon-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  /* background: rgba(244, 82, 81, 1); */

  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 1;
}

.site-header__icon-btn img{
  width: 24px;
  height: 24px;
}

.site-header__icon-btn--globe {
  font-size: 12px;
}

.site-header__container-badges {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* CTA pill */
.site-header__cta {
  background: rgba(244, 82, 81, 1);
  color: #fff;
  text-decoration: none;
  font-family: Open Sans;
  font-weight: 400;
  font-style: Regular;
  font-size: 12px;
  leading-trim: NONE;
  line-height: 12px;
  letter-spacing: 0%;
  vertical-align: middle;
  line-height: 1.1;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
  margin-left: 12px;
}

.site-header__cta:hover {
  color: #fff;
  text-decoration: none;
  background: #ff5454;
}

.site-header__cta--compact {
  font-size: 11.5px;
  padding: 6px 9px;
}

/* burger */
.site-header__burger {
  width: 28px;
  height: 26px;
  background: transparent;
  border: 0;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.site-header__burger span {
  display: block;
  height: 2px;
  background: rgba(244, 82, 81, 1);

  border-radius: 2px;
}

/* nav bar (desktop) */
.site-header__nav {
  border-top: 1px solid #f0f1f3;
}

.site-header__menu {
  list-style: none;
  padding: 8px 0 10px;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 48px;
}

.site-header__menu-link {
  font-weight: 500;
  font-size: 12px;
  line-height: 100%;
  text-decoration: none;
  color: rgba(0, 0, 0, 1);
}

.site-header__menu-link:hover {
  color: #6f6f6f;
}


/* xl desktop (>=1200) */
@media (min-width: 1200px) {
  .site-header__logo-text {
    font-size: 19px;
  }

  .site-header__info {
    font-size: 12.8px;
    gap: 19px;
  }

  .site-header__menu {
    gap: 105px;
  }
}

/* lg desktop (992–1199) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-header__info {
    gap: 12px;
    font-size: 12px;
  }

  .site-header__cta {
    font-size: 11.5px;
  }

  .site-header__menu {
    gap: 38px;
  }
}

/* md tablet (768–991) */
@media (max-width: 991.98px) {
  .site-header__top {
    padding: 10px 0;
  }

  .site-header__logo-text {
    font-size: 18px;
  }

  .site-header__top-row {
    gap: 0;
  }

  .col-4.col-md-3.text-right {
    width: 47%;
  }

  .col-8.col-md-9 {
    width: 85%;
  }

  .col-4.about-clinic.text-right {
    width: 15%;
  }
}

/* sm (576–767) */
.site-header__menu-item.dropdown {
  position: relative;
}

.site-header__menu-item.dropdown>.site-header__menu-link::after {
  content: "▼";
  font-size: 10px;
  display: inline-block;
  margin-left: 4px;
  vertical-align: middle;
  transition: transform 0.2s ease-in-out;
  margin-bottom: 2px;
  font-size: 12px;
  color: rgba(222, 222, 222, 1);
}

.site-header__menu-item.dropdown:hover>.site-header__menu-link::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -10px;

  background-color: #F5F5F5;
  border-radius: 5px;
  display: none;
  min-width: 0;
  width: max-content;
  list-style-type: NONE;
  list-style-position: inside;
  z-index: 1000;
  padding: 4.5px 10px 9.5px;
  border: 0px;
}

.dropdown-menu_short {
  position: absolute;
  top: calc(100% + 10px);
  left: -10px;
  border: 0px;
  background-color: #F5F5F5;
  border-radius: 5px;
  display: none;
  min-width: 98px;
  list-style-type: NONE;
  list-style-position: inside;
  z-index: 1000;
  padding: 4.5px 10px 9.5px;


}

.dropdown-menu_short::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 10px;
  bottom: 100%;
  left: 0;
}

.dropdown-menu::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 10px;
  bottom: 100%;
  left: 0;
}

.dropdown-menu_short li,
.dropdown-menu li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
}

.dropdown-menu_short li::before,
.dropdown-menu li::before {
  content: '•';
  display: inline-block;
}

.mega-menu {
  position: absolute;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1300px;

  height: min-content;
  background-color: #F5F5F5;
  z-index: 1001;
  display: none;

  padding: 10px;
  border-radius: 5px;
}

.mega-menu.open {
  display: block;
}

.mega-menu__content {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

.mega-menu__close-btn {
  position: absolute;
  top: 0px;
  right: 0;
  background: #f45251;
  color: white;
  border: none;
  font-weight: 400;
  font-style: Regular;
  font-size: 11px;
  leading-trim: NONE;
  line-height: 6px;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  width: 80px;
  height: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(calc((100% - 150px) / 4), 1fr));
  gap: 50px;
}

.mega-menu__col {
  display: flex;
  flex-direction: column;
}

.mega-menu__title {
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  color: #000;
  text-decoration: none;
}
.mega-menu__title+.mega-menu__title{
  margin-top: 10px;
}

.mega-menu__title:hover {
  color: #f45251;
}

.mega-menu__list {
  line-height: 20px;
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}

.mega-menu__list li a {
  text-decoration: none;
  color: #5F5F5F;
  font-weight: 500;
  font-size: 12px;
  line-height: 20px;
  position: relative;
  padding-left: 10px;
}

.mega-menu__list li a::before {
  content: "•";
  color: #f45251;
  position: absolute;
  left: 0;
}

.mega-menu__list li a:hover {
  color: #f45251;
}

.site-header__menu-item.dropdown:hover .dropdown-menu_short,
.site-header__menu-item.dropdown:hover .dropdown-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.dropdown-menu_short li,
.dropdown-menu li {
  font-size: 12PX;

  color: #f45251;
}

.dropdown-menu_short li a,
.dropdown-menu li a {
  color: #5F5F5F;
  text-decoration: none;
  font-weight: 500;
  font-size: 12px;
  line-height: 20px;
  vertical-align: middle;
}

.dropdown-menu_short li a:hover,
.dropdown-menu li a:hover {
  color: #f45251;
}




@media (max-width: 767.98px) {
  .site-header__search {
    min-width: 90px;
    padding-left: 30px;
  }

  .site-header__top-row {
    justify-content: space-between;
  }

  .site-header__logo-text {
    font-size: 17px;
  }

  .doctors__head {
    justify-content: center;
  }
}

/* xs (<576) */
@media (max-width: 575.98px) {
  .site-header__search {
    min-width: 90px;
  }

  .site-header__logo-sub {
    font-size: 10.5px;
  }

  .swiper-pagination-bullets.swiper-pagination-horizontal {
    max-width: 90px;
  }

  .reviews__pagination {
    min-width: 85px;
  }

  .telemed__row {
    flex-direction: column-reverse;
  }
}



.mobile-nav {
  transform: translateX(-100%);
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-menu__item.has-submenu>.mobile-menu__link {
  position: relative;
}

.mobile-menu__item.has-submenu>.mobile-menu__link::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transition: transform 0.3s ease;
}

.submenu li a {
  font-size: 12px;
  font-weight: 500;
}

.submenu li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.submenu li::before {
  content: '•';
  display: inline-block;
  color: #f45251;
  ;
}

.mobile-menu__item.has-submenu.is-open>.mobile-menu__link::after {
  transform: rotate(225deg);
}

.submenu {
  display: none;
  padding-left: 20px;
  background-color: #f8f8f8;
}

.submenu.is-open {
  display: block;
}

.submenu__item {
  border-bottom: 1px solid #eee;
}

.submenu__link {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}

.submenu__link:hover {
  background-color: #e9e9e9;
}



.mobile-nav {
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-nav.is-open {
  transform: translateX(0);
  overflow: scroll;
}

body.mobile-nav-open {
  overflow: hidden;
}

.mobile-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu__item a {
  font-weight: 600;
  font-size: 14px;
  display: block;
  padding: 15px 15px 15px 0;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}

.mobile-menu__item .submenu {
  display: none;
  padding-left: 10px;
  background-color: #f8f8f8;
  list-style: none;
}

.mobile-menu__item.is-open>.submenu {
  display: block;
}

.mobile-menu__item.has-submenu>a {
  position: relative;
}

.mobile-menu__item.has-submenu>a::after {
  content: "";
  position: absolute;
  right: 25px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s ease;
}

.mobile-menu__item.has-submenu.is-open>a::after {
  transform: translateY(-30%) rotate(225deg);
}