/*--------------------------------------------------------------
# Reset
--------------------------------------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  line-height: 1.15;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
  border: 0;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: #dfe6e9;
}

a {
  background-color: transparent;
}

a:focus {
  outline: unset;
}

b,
strong {
  font-weight: 600;
}

small {
  font-size: 0.875em;
}

img {
  height: auto;
}

main img {
  border-style: none;
}

picture img {
  display: block;
}

button,
input {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button {
  text-transform: none;
  -webkit-appearance: button;
}

button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring {
  outline: 1px dotted #fff;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

.screen-reader-text,
.screen-reader-text span,
.screen-reader-shortcut {
  position: absolute !important;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  width: 1px;
  border: 0;
  overflow: hidden;
  color: #333;
  background: #fff;
}

input[type=number] {
  -moz-appearance: textfield;
}
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/*--------------------------------------------------------------
# Body
--------------------------------------------------------------*/
body {
  font-family: "Onest", sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #000;
  line-height: 1.76;
  background-color: #fff;
}

/*--------------------------------------------------------------
# Headings
--------------------------------------------------------------*/
h1 {
  margin-block: 0;
  font-weight: 500;
  line-height: 1.25;
  font-size: clamp(42px, 42px + (14) * (100vw - 360px) / 1080, 56px);
}
@media screen and (max-width: 1200px) {
  h1 {
    hyphens: auto;
  }
}

h2 {
  margin-block: 40px;
  font-weight: 300;
  line-height: 1.25;
  font-size: clamp(30px, 30px + (16) * (100vw - 360px) / 1080, 46px);
}
@media screen and (max-width: 1200px) {
  h2 {
    hyphens: auto;
  }
}

h3 {
  /* margin-block: 40px; */
  font-weight: 500;
  line-height: 1.25;
  font-size: clamp(24px, 24px + (6) * (100vw - 360px) / 1080, 30px);
}

h4 {
  margin-block: 30px;
  font-weight: 500;
  line-height: 1.25;
  font-size: clamp(20px, 20px + (4) * (100vw - 360px) / 1080, 24px);
}

h5 {
  margin-block: 20px;
  font-size: 22px;
  line-height: 1.3;
}

h6 {
  margin-block: 20px;
  font-size: 20px;
  line-height: 1.3;
}

/*--------------------------------------------------------------
# Paragraphs
--------------------------------------------------------------*/
p {
  margin-top: 0;
  margin-bottom: 25px;
}
p:empty {
  margin-block: 0;
}
p:last-child {
  margin-bottom: 0;
}
p:first-child {
  margin-top: 20px;
}

b,
strong {
  font-weight: 600;
}

/*--------------------------------------------------------------
# Links
--------------------------------------------------------------*/
:where(a) {
  transition: 0.3s;
}

:where(a:not([class])) {
  color: var(--accent_color_4, #2DC5A4);
}

:where(a[class]) {
  color: #000;
  text-decoration: none;
}

:where(a:not([class]):hover) {
  text-decoration: none;
}

/* Все ссылки без явного класса — зелёные */
a:not([class]) {
    color: #2DC5A4;
}

/* Ссылки с классом agreement-link — тоже зелёные */
a.agreement-link,
.hp2-form-agreement a,
.hp1-form-agreement a {
    color: #2DC5A4 !important;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
button {
  background-color: transparent;
  border: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  white-space: nowrap;
  fill: #000;
  stroke: #000;
  transition: 0.3s;
  cursor: pointer;
  font-size: clamp(14px, 14px + (2) * (100vw - 360px) / 1080, 16px);
}
@media screen and (max-width: 1280px) {
  .button {
    white-space: unset;
  }
}
.button:focus {
  outline: none;
}
.button:disabled {
  color: #a4aeb9;
  background-color: #e4e8ec;
  background-image: none;
  cursor: not-allowed;
}
.button__icon {
  flex-shrink: 0;
}
.button__label {
  position: relative;
  z-index: 1;
  white-space: nowrap;
  transition: 0.3s;
}
@media screen and (max-width: 1280px) {
  .button__label {
    white-space: unset;
  }
}
.button--default {
  padding: 20px 30px;
  font-weight: 500;
  line-height: 1.3;
  border-radius: 10px;
}
.button--gradient {
  color: #fff;
  background-image: linear-gradient(to right, var(--grad_2_start, #59b4ff) 0%, var(--grad_2_end, #8f83f3) 100%);
  background-size: 250% 100%;
}
.button--gradient:hover {
  background-position: 90% 0;
}
@media screen and (max-width: 1280px) {
  .button--nobg-mobile {
    padding: 0;
    background-color: transparent;
  }
  .button--nobg-mobile .button__label {
    display: none;
  }
}
@media screen and (min-width: 1281px) {
  .button--nobg-mobile .button__icon {
    display: none;
  }
}
.button--arrow {
  position: relative;
  padding-right: 20px;
}
.button--arrow:hover .button__label {
  color: #fff;
  background-color: var(--accent_color_4, #59b4ff);
}
.button--arrow .button__label {
  padding: 7px 35px 7px 20px;
  font-size: 15px;
  line-height: 1;
  color: var(--accent_color, #5d82d8);
  border-radius: 15px;
  border: 1px solid var(--accent_color_4, #59b4ff);
}
.button--arrow .button__icon {
  position: absolute;
  right: 0;
  fill: var(--accent_color_4, #59b4ff);
}
.button--bg-arrow {
  position: relative;
  justify-content: space-between;
  gap: 25px;
  padding: 15px 30px;
  min-height: 70px;
  font-size: 12px;
  color: #000;
  background-image: linear-gradient(to right, var(--grad_1_start, #ffce39) 0%, var(--grad_1_end, #ff90b0) 100%);
  background-size: 250% 100%;
  border-radius: 20px;
  transition: 0.6s cubic-bezier(0.615, 0, 0.07, 1);
}
.button--bg-arrow .button__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 110px;
}
.button--bg-arrow .button__icon:before {
  content: "";
  position: absolute;
  right: 30px;
  top: 15px;
  z-index: 0;
  height: 40px;
  width: 110px;
  background-color: #fff;
  border-radius: 10px;
  transition: 0.6s cubic-bezier(0.615, 0, 0.07, 1);
}
.button--bg-arrow .button__icon-svg {
  position: relative;
  fill: #7e2266;
}
.button--bg-arrow .button__label {
  font-weight: 500;
  line-height: 1;
  font-size: clamp(14px, 14px + (4) * (100vw - 360px) / 1080, 18px);
}
.button--bg-arrow:hover {
  background-position: 100% 0;
}
.button--bg-arrow:hover .button__icon:before {
  right: 15px;
  width: calc(100% - 30px);
}
.button--bg-arrow-small {
  padding: 15px 10px 15px 30px;
}
.button--bg-arrow-small .button__icon:before {
  right: 10px;
}
.button--link {
  font-size: 18px;
  font-weight: 500;
  color: var(--accent_color, #5d82d8);
  fill: var(--accent_color, #5d82d8);
  line-height: 1;
}
.button--link:hover {
  gap: 35px;
}

/* ## Cross */
.cross {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.cross:before, .cross:after {
  content: "";
  width: 1px;
}
.cross:before {
  transform: rotate(45deg);
}
.cross:after {
  transform: rotate(-45deg);
}

/*--------------------------------------------------------------
# Scroll button
--------------------------------------------------------------*/
.scroll-button {
  position: fixed;
  right: 25px;
  bottom: 40px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  width: 35px;
  text-align: center;
}
@media screen and (max-width: 1024px) {
  .scroll-button {
    display: none;
  }
}
.scroll-button-up, .scroll-button-down {
  margin-top: 5px;
  margin-bottom: 5px;
  opacity: 0.5;
  cursor: pointer;
  transition: 0.3s;
}
.scroll-button-up:hover, .scroll-button-down:hover {
  opacity: 1;
}
.scroll-button-up svg, .scroll-button-down svg {
  display: block;
  margin: auto;
  width: 14px;
  height: 16px;
}
.scroll-button-middle {
  font-size: 10px;
  font-weight: 700;
  opacity: 0.5;
}

/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/
/* ### Ripple button */
[animation=ripple] {
  position: relative;
  overflow: hidden;
  outline: none;
}
[animation=ripple]:before {
  content: "";
  position: absolute;
  display: block;
  background: var(--ripple-background, white);
  border-radius: 50%;
  pointer-events: none;
  top: calc(var(--y) * 1px);
  left: calc(var(--x) * 1px);
  width: calc(var(--d) * 1px);
  height: calc(var(--d) * 1px);
  opacity: calc(var(--o, 1) * var(--ripple-opacity, 0.4));
  transition: calc(var(--t, 0) * var(--ripple-duration, 600ms)) var(--ripple-easing, linear);
  transform: translate(-50%, -50%) scale(var(--s, 1));
  transform-origin: center;
}
[animation=ripple]:hover {
  opacity: 1;
}

/* ## Fade in */
[animation=fade-in] {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}
[animation=fade-in].in-view {
  opacity: 1;
  transform: translateY(0);
}

/*--------------------------------------------------------------
# Grid and Container
--------------------------------------------------------------*/
:root {
  --global_padding: 4vw;
  --border_raduis: 40px;
  --border_raduis_small: 30px;
  --border_raduis_big: 60px;
}
@media screen and (max-width: 1024px) {
  :root {
    --border_raduis: 30px;
    --border_raduis_big: 30px;
  }
}
@media screen and (max-width: 480px) {
  :root {
    --border_raduis: 20px;
    --border_raduis_big: 20px;
    --border_raduis_small: 20px;
  }
}

.body--menu-active {
  overflow: hidden;
}
.body--menu-active .site-header {
  background-color: rgba(255, 255, 255, 0.5);
}

.site-container {
  position: relative;
  overflow: hidden;
}
.site-container__wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-inline: auto;
  min-height: 100vh;
  width: 1300px;
  max-width: 100%;
}
@media screen and (max-width: 1380px) {
  .site-container__wrapper {
    padding-inline: var(--global_padding);
    width: 100%;
  }
}
@media screen and (max-width: 1024px) {
  .site-container__wrapper {
  /*  padding-top: 110px; */
  }
}

/* ## Main */
.site-main ::selection {
  color: #fff;
  background-color: var(--accent_color, #5d82d8);
  border-radius: 3px;
}
.site-main ::-moz-selection {
  color: #fff;
  background-color: var(--accent_color, #5d82d8);
  border-radius: 3px;
}
.site-main__inner {
  display: flex;
  flex-direction: column;
}
.site-main__inner:not(:last-child) {
  margin-bottom: 70px;
}
.site-main__inner--columns {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(300px, 350px);
  gap: 0 40px;
}
@media screen and (max-width: 1024px) {
  .site-main__inner--columns {
    grid-template-columns: minmax(250px, 1fr);
  }
}
.site-main__inner--no-side {
  margin-left: auto;
  margin-right: auto;
  width: 920px;
  max-width: 100%;
}
.site-main__header {
  display: flex;
  align-items: center;
  gap: 30px;
}
@media screen and (max-width: 768px) {
  .site-main__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}
.site-main__title {
  margin-bottom: 30px;
}
.site-main__title-accent {
  font-weight: 300;
}
.site-main__post {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: clamp(40px, 5vw, 70px);
}
.site-main__post-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* ## Section */
.section {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: clamp(40px, 5vw, 70px);
}
@media screen and (max-width: 1280px) {
  .section {
    gap: clamp(30px, 3vw, 40px);
  }
}
.section--single {
  margin-bottom: 40px;
}
.section--full {
  grid-column: span 2;
}
@media screen and (max-width: 1024px) {
  .section--full {
    grid-column: unset;
  }
}
.section--with-side {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(300px, 320px);
  gap: 80px;
}
@media screen and (max-width: 1024px) {
  .section--with-side {
    grid-template-columns: minmax(250px, 1fr);
  }
}
.section--no-side {
  margin-left: auto;
  margin-right: auto;
  width: 920px;
  max-width: 100%;
}
.section > *:first-child {
  margin-top: 0;
}
.section > *:last-child {
  margin-bottom: 0;
}
.section__title {
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
  font-size: clamp(30px, 30px + (16) * (100vw - 360px) / 1080, 46px);
}
@media screen and (max-width: 1280px) {
  .section__title {
    white-space: unset;
  }
}
.section__title--big {
  font-size: clamp(40px, 40px + (16) * (100vw - 360px) / 1080, 56px);
}
.section__title--centered {
  text-align: center;
}
.section__title-accent {
  position: relative;
  padding-top: 20px;
}
.section__title-badge {
  position: absolute;
  top: 15px;
  right: -65px;
  padding: 4px 15px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  background-color: var(--accent_color_2, #ff574f);
  border-radius: 9999px;
  transform: rotate(-15deg);
}
@media (max-width: 768px) {
  .section__title-badge {
    padding: 3px 8px;
    top: 15px;
    right: -20px;
    font-size: 12px;
  }
}
.section__subtitle {
  max-width: 780px;
  font-weight: 500;
  line-height: 1.46;
  font-size: clamp(20px, 20px + (5) * (100vw - 360px) / 1080, 25px);
}
.section__header {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/*--------------------------------------------------------------
# Overlay
--------------------------------------------------------------*/
.site-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -9;
  background-color: var(--dark_bg, #1e2027);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.site-overlay--active {
  z-index: 10;
  visibility: visible;
  opacity: 0.7;
  pointer-events: auto;
}

.body--menu-active .site-overlay--active {
  z-index: 9;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
/* ## Form general */
.form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* ## Group */
  /* ## Control */
  /* ## Info */
  /* ## Loader */
}
.form--bg {
  padding: 30px 20px;
  background-color: var(--light_bg, #eaf3fb);
  border-radius: 30px;
}
.form--bg .form__button,
.form--bg .form__control {
  height: 55px;
}
.form__bg {
  position: absolute;
  z-index: -1;
  right: 45px;
  bottom: -70px;
  pointer-events: none;
}
.form__row {
  display: flex;
  gap: 10px;
}
@media screen and (max-width: 1200px) {
  .form__row {
    flex-wrap: wrap;
  }
}
@media screen and (max-width: 768px) {
  .form__row {
    flex-direction: column;
  }
}
.form__row > * {
  flex-grow: 1;
}
.form__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 25px;
}
@media screen and (max-width: 768px) {
  .form__grid {
    grid-template-columns: minmax(250px, 1fr);
  }
}
.form__column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.form__silence {
  display: none;
}
.form__header {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.form__icon {
  fill: url(#gradient-main);
}
.form__title {
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
}
.form__text {
  font-size: 14px;
}
.form__button {
  flex-shrink: 0;
  height: 50px;
}
@media screen and (max-width: 640px) {
  .form__button {
    width: 100%;
  }
}
.form__inner {
  display: flex;
  gap: 10px;
  padding: 10px;
  background-color: var(--light_bg, #eaf3fb);
  border-radius: 20px;
}
@media screen and (max-width: 1200px) {
  .form__inner {
    flex-wrap: wrap;
  }
}
@media screen and (max-width: 768px) {
  .form__inner {
    flex-direction: column;
  }
}
.form__inner > * {
  flex-grow: 1;
}
.form__group {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 100%;
}
.form__group:focus-within {
  border-color: #e8ebed;
}
.form__group--centered .form__control {
  text-align: center;
}
.form__group--label-overlay {
  padding-top: 13px;
}
.form__group--label-overlay .form__control {
  height: 70px;
  font-weight: 400;
  border: 1px solid #e8ebed;
  border-radius: 15px;
  font-size: clamp(16px, 16px + (4) * (100vw - 360px) / 1080, 20px);
}
.form__group--label-overlay .form__control::placeholder {
  font-weight: 400;
  color: rgba(0, 0, 0, 0.3);
  font-size: clamp(16px, 16px + (4) * (100vw - 360px) / 1080, 20px);
}
.form__group--label-overlay .form__label {
  position: absolute;
  top: 0;
  left: 20px;
  z-index: 1;
  display: flex;
  padding: 3px 10px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
  background-image: linear-gradient(to right, var(--grad_2_start, #59b4ff) 0%, var(--grad_2_end, #8f83f3) 100%);
  border-radius: 11.5px;
}
.form__group--textarea .form__control {
  width: 100%;
}
.form__control {
  flex-grow: 1;
  padding: 15px 20px;
  font-size: 16px;
  color: #000;
  background-color: #fff;
  border: 0;
  border-radius: 15px;
}
@media screen and (max-width: 640px) {
  .form__control {
    font-size: 16px;
  }
}
.form__control::placeholder {
  font-family: "Onest", sans-serif;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.5);
  text-overflow: ellipsis;
  transition: 0.6s cubic-bezier(0.615, 0, 0.07, 1);
}
.form__control:focus {
  outline: none;
}
.form__control:focus::placeholder {
  opacity: 0;
}
.form__control:disabled {
  background-color: var(--light_bg, #eaf3fb);
  cursor: not-allowed;
}
.form__control.error {
  border-color: #eb3154;
}
.form__info {
  display: none;
  font-size: 12px;
}
.form__info--success, .form__info--error {
  display: block;
}
.form__info--success {
  color: #329847;
}
.form__info--error {
  color: #d90027;
}
.form__loader {
  --margin: -10px;
  --radius: 8px;
  left: 0;
  top: 0;
  border-radius: 20px;
}
.form__loader--small {
  --size: 2px;
  --width: 20px;
  right: 30px;
  left: unset;
  top: 20px;
}

/* ## Checkbox */
.checkbox {
  display: grid;
  grid-template-columns: 17px auto;
  gap: 10px;
  cursor: pointer;
}
.checkbox__control {
  display: grid;
  place-content: center;
  margin-top: 5px;
  width: 17px;
  height: 17px;
  background-color: #fff;
  border: 1px solid #e8ebed;
  border-radius: 3px;
  transform: translateY(-0.075em);
  transition: 0.3s;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.checkbox__control:before {
  content: "";
  width: 9px;
  height: 9px;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAxMSA5Ij48cGF0aCBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjUiIGQ9Ik0xMCAxIDMuNTcxIDggMSA1LjIiLz48L3N2Zz4=);
  background-repeat: no-repeat;
  background-position: center;
  transform: scale(0);
  transform-origin: bottom left;
  transition: 120ms transform ease-in-out;
}
.checkbox__control:checked {
  background-color: var(--accent_color, #5d82d8);
  border-color: var(--accent_color, #5d82d8);
}
.checkbox__control:checked:before {
  transform: scale(1);
}
.checkbox__label {
  align-self: center;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.5);
  line-height: 1.5;
  cursor: pointer;
}

/*--------------------------------------------------------------
# Modal forms
--------------------------------------------------------------*/
.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: 0.6s cubic-bezier(0.615, 0, 0.07, 1);
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transform: translateY(-20px);
  pointer-events: none;
}
.modal--visible {
  opacity: 1;
  visibility: visible;
  overflow: unset;
  transform: translateY(0);
  pointer-events: auto;
}
.modal__inner {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  padding: 24px;
  width: 640px;
  max-width: 95%;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0px 0px 24px 0px rgba(96, 121, 169, 0.35);
}
@media screen and (max-width: 768px) {
  .modal__inner {
    padding: 20px;
    max-width: 95%;
  }
}
.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #d9e7ed;
}
.modal__title {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}
.modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 30px;
  height: 30px;
  stroke: red;
  cursor: pointer;
}
.modal__form {
  position: relative;
  display: flex;
  align-items: stretch;
  flex-direction: column;
}

/*--------------------------------------------------------------
# Cookies
--------------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  width: 450px;
  max-width: calc(100% - 40px);
  background-color: #fff;
  box-shadow: 0px 0px 29px 0px rgba(101, 121, 165, 0.2);
  border-radius: 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.cookie-banner--visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.cookie-banner__icon {
  display: flex;
  align-self: flex-start;
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.2;
}
@media screen and (max-width: 480px) {
  .cookie-banner__icon {
    display: none;
  }
}
.cookie-banner__text {
  font-size: 14px;
  line-height: 1.43;
}
.cookie-banner__text a {
  text-decoration: none;
}
.cookie-banner__text a:hover {
  text-decoration: underline;
}
.cookie-banner__button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  background-color: var(--dark_bg, #1e2027);
  border-radius: 15px;
  cursor: pointer;
  transition: 0.3s ease;
}
.cookie-banner__button:hover {
  background-color: var(--accent_color, #5d82d8);
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
/* ## Loader */
.loader {
  display: none;
  position: absolute;
  z-index: 99;
}
.loader--bg {
  margin: var(--margin);
  width: calc(100% - var(--margin) * 2);
  height: calc(100% - var(--margin) * 2);
  background-color: rgba(240, 245, 249, 0.5);
  border-radius: var(--radius);
}
.loader:after {
  content: "";
  position: absolute;
  top: calc(50% - var(--width) / 1.5);
  left: calc(50% - var(--width) / 1.5);
  display: block;
  width: var(--width);
  height: var(--width);
  margin: 8px;
  border-radius: 50%;
  border: var(--size) solid var(--accent_color_4, #59b4ff);
  border-color: var(--accent_color_4, #59b4ff) transparent var(--accent_color_4, #59b4ff) transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}

:where(.loader) {
  --size: 6px;
  --width: 64px;
}

:where(.loader--bg) {
  --margin: 0px;
  --radius: 0;
}

@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* ## Search */
.search-form {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 10px;
  overflow: hidden;
}
.search-form__input {
  position: relative;
  flex-grow: 1;
}
.search-form__input-control {
  width: 100%;
  height: 100%;
  font-size: 16px;
  background-color: transparent;
  border: 0;
}
.search-form__input-control:focus {
  outline: none;
}
.search-form__input-control::placeholder {
  font-family: "Onest", sans-serif;
  font-size: 14px;
  color: #000;
  text-overflow: ellipsis;
  opacity: 0.4;
  transition: opacity ease 0.3s;
}
.search-form__input-control:focus::placeholder {
  opacity: 0;
}
.search-form__submit {
  align-self: stretch;
  width: 130px;
  height: 38px;
}
.search-form__submit-icon {
  fill: var(--accent_color_2, #ff574f);
  stroke: var(--accent_color_2, #ff574f);
}
.search-form__loader {
  --size: 2px;
  --width: 20px;
  right: 15px;
  top: 15px;
}

/* ### Search ajax */
.ajax-search {
  position: relative;
  border-radius: 15px;
}
.ajax-search--menu {
  margin: 0;
  padding: 8px 10px 8px 15px;
  border: 1px solid #e8ebed;
}
.ajax-search--menu .ajax-search__results {
  bottom: calc(100% + 5px);
}
.ajax-search--main {
  margin-top: 30px;
  margin-bottom: clamp(40px, 4vw, 70px);
  padding: 6px 6px 6px 30px;
  width: 100%;
  background-color: #fff;
  box-shadow: 0px 0px 29px 0px rgba(101, 121, 165, 0.2);
  border-radius: 15px;
}
@media screen and (max-width: 1024px) {
  .ajax-search--main {
    margin-top: 20px;
    padding: 10px 20px;
  }
}
@media screen and (max-width: 640px) {
  .ajax-search--main .search-form {
    flex-direction: column;
    align-items: stretch;
  }
  .ajax-search--main .search-form__input {
    height: 50px;
  }
}
.ajax-search--main .search-form__input-control::placeholder {
  font-size: 18px;
}
@media screen and (max-width: 640px) {
  .ajax-search--main .search-form__input-control::placeholder {
    font-size: 16px;
  }
}
.ajax-search--main .search-form__submit {
  width: 300px;
  max-width: 100%;
  height: 56px;
}
.ajax-search--main .ajax-search__results {
  top: calc(100% + 5px);
}
.ajax-search--footer {
  padding: 6px 6px 6px 20px;
  border: 1px solid rgba(230, 234, 237, 0.25);
}
.ajax-search--footer .search-form__input-control {
  color: #fff;
}
.ajax-search--footer .search-form__input-control::placeholder {
  color: #fff;
}
.ajax-search--footer .ajax-search__results {
  bottom: calc(100% + 5px);
}
.ajax-search__cross {
  display: flex;
  align-items: center;
  justify-content: center;
  stroke: var(--accent_color_2, #ff574f);
  cursor: pointer;
}
.ajax-search__results {
  position: absolute;
  left: 0;
  z-index: 1;
  padding: 10px;
  width: 100%;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 0px 29px 0px rgba(101, 121, 165, 0.2);
  transition: 0.6s cubic-bezier(0.615, 0, 0.07, 1);
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transform: translateY(-20px);
  pointer-events: none;
}
.ajax-search__results--visible {
  opacity: 1;
  visibility: visible;
  overflow: unset;
  transform: translateY(0);
  pointer-events: auto;
}
.ajax-search__results-inner {
  max-height: 300px;
  overflow-y: scroll;
}
.ajax-search__results-inner::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
.ajax-search__results-inner::-webkit-scrollbar-button {
  display: none;
}
.ajax-search__results-inner::-webkit-scrollbar-corner {
  background: transparent;
}
.ajax-search__results-inner::-webkit-scrollbar-track {
  background-color: var(--light_bg, #eaf3fb);
}
.ajax-search__results-inner::-webkit-scrollbar-thumb {
  background-color: var(--accent_color, #5d82d8);
  border-radius: 3px;
  transition: background-color 0.3s ease;
}
.ajax-search__results-inner::-webkit-scrollbar-thumb:hover {
  background-color: rgba(var(--light_bg, #eaf3fb), 0.7);
}
.ajax-search__results-inner::-webkit-resizer {
  display: none;
}
.ajax-search__results-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 5px;
  background-color: transparent;
  transition: background-color 0.3s;
}
.ajax-search__results-item:not(:last-child) {
  border-bottom: 1px solid #e8ebed;
}
.ajax-search__results-item:hover {
  background-color: var(--light_bg, #eaf3fb);
}
.ajax-search__results-image {
  display: flex;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 3px;
  overflow: hidden;
  transition: background-color 0.3s;
}
.ajax-search__results-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: darken;
}
.ajax-search__results-item:hover .ajax-search__results-image {
  background-color: var(--light_bg, #eaf3fb);
}
.ajax-search__results-title {
  font-size: 13px;
  color: #000;
  line-height: 1.3;
}
.ajax-search__results-highlight {
  color: var(--accent_color_2, #ff574f);
}
.ajax-search__results-none {
  padding: 5px;
  font-size: 14px;
  color: #000;
}

/* ## Splide */
.splide__track {
  height: 100%;
}
.splide__slide {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  position: relative;
  z-index: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.splide__slide--hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
  position: absolute !important;
  z-index: -1;
}
.splide__arrows {
  display: flex;
  align-items: center;
  gap: 40px;
}
.splide__arrows--top .splide__arrow {
  position: initial;
  width: 45px;
  height: 40px;
  background-color: transparent;
  border-radius: 0;
  transform: unset;
}
.splide__arrows--top .splide__arrow svg {
  width: 45px;
  height: 8px;
}
.splide__arrows--centered .splide__arrow--prev {
  left: -25px;
}
.splide__arrows--centered .splide__arrow--next {
  right: -25px;
}
.splide__arrows--centered .splide__arrow svg {
  width: 32px;
  height: 32px;
}
.splide__arrow {
  opacity: 1;
}
.splide__arrow:disabled {
  background-color: transparent;
}
.splide__arrow svg {
  fill: var(--accent_color_4, #59b4ff);
  transition: 0.3s;
}
.splide__pagination {
  bottom: -40px;
  justify-content: flex-start;
  margin: 0 !important;
  padding: 0;
}
.splide__pagination--line .splide__pagination__page {
  width: 35px;
  height: 3px;
  border-radius: 1.5px;
}
.splide__pagination--line .splide__pagination__page.is-active {
  transform: unset;
}
.splide__pagination__page.is-active {
  background: linear-gradient(to right, var(--grad_2_start, #59b4ff) 0%, var(--grad_2_end, #8f83f3) 100%);
}
.splide__pagination li {
  margin: 0 !important;
  padding: 0 !important;
}
.splide__pagination li:before {
  content: none !important;
}

/* ## FAQ */
.accordion {
  display: grid;
}
.accordion--columns-2 {
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  gap: 20px 40px;
}
@media screen and (max-width: 1024px) {
  .accordion--columns-2 {
    grid-template-columns: minmax(250px, 1fr);
  }
}
.accordion__column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.accordion__item {
  position: relative;
  background-color: #fff;
  border: 1px solid #c8daf0;
  border-radius: 10px;
  transition: 0.6s cubic-bezier(0.615, 0, 0.07, 1);
}
.accordion__item:not(.active) {
  cursor: pointer;
}
.accordion__item:hover, .accordion__item--active {
  border-color: var(--accent_color_4, #59b4ff);
}
.accordion__item--active .accordion__item-icon {
  transform: rotate(180deg);
}
.accordion__item-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 30px;
  font-weight: 500;
  line-height: 1.4;
  transition: 0.3s;
  cursor: pointer;
  font-size: clamp(16px, 16px + (2) * (100vw - 360px) / 1080, 18px);
}
@media screen and (max-width: 768px) {
  .accordion__item-title {
    padding: 15px 20px;
  }
}
.accordion__item-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  fill: var(--accent_color_4, #59b4ff);
  transition: 0.3s;
}
.accordion__item-content {
  display: none;
  padding: 0 30px 18px;
  line-height: 1.56;
  font-size: clamp(14px, 14px + (2) * (100vw - 360px) / 1080, 16px);
}
@media screen and (max-width: 768px) {
  .accordion__item-content {
    padding: 0 20px 15px;
  }
}

/* ## Articles */
.articles--grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}
@media screen and (max-width: 1024px) {
  .articles--grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
  }
}
.articles__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 30px;
  border: 1px solid #e8ebed;
  border-radius: 30px;
}
@media screen and (max-width: 768px) {
  .articles__item {
    padding: 25px 20px;
  }
}
.articles__item:hover {
  border-color: var(--accent_color_4, #59b4ff);
}
.articles__item:hover .button--arrow .button__label {
  color: #fff;
  background-color: var(--accent_color_4, #59b4ff);
}
.articles__image {
  margin: -20px -20px 0;
  width: calc(100% + 40px);
  height: 250px;
  border-radius: 30px;
  overflow: hidden;
}
.articles__image-src {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.articles__title {
  font-weight: 500;
  line-height: 1.5;
  font-size: clamp(20px, 20px + (0) * (100vw - 360px) / 1080, 20px);
}
.articles__excerpt {
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.7;
}
.articles__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
  width: 100%;
}
.articles__views {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  opacity: 0.3;
}
.articles__views-svg {
  flex-shrink: 0;
}

/* ## Tabs */
.tabs {
  position: relative;
  display: flex;
  align-items: flex-start;
}
.tabs:not(.has-gradient-left):before, .tabs:not(.has-gradient-right):after {
  opacity: 0;
}
.tabs__scroll {
  display: flex;
  align-items: center;
  border: 1px solid #e8ebed;
  border-radius: 15px;
}
@media screen and (max-width: 1024px) {
  .tabs__scroll {
    align-items: flex-start;
    overflow-x: auto;
  }
  .tabs__scroll::-webkit-scrollbar {
    display: none;
  }
}
.tabs__item {
  position: relative;
  padding: 16px 25px;
  overflow: hidden;
  cursor: pointer;
}
.tabs__item:first-child {
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}
.tabs__item:last-child {
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}
.tabs__item-label {
  position: relative;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: 0.3s;
  font-size: clamp(14px, 14px + (2) * (100vw - 360px) / 1080, 16px);
}
.tabs__item:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, var(--grad_2_start, #59b4ff) 0%, var(--grad_2_end, #8f83f3) 100%);
  opacity: 0;
  transition: 0.3s;
}
.tabs__item:hover:before, .tabs__item--active:before {
  opacity: 1;
}
.tabs__item:hover .tabs__item-label, .tabs__item--active .tabs__item-label {
  color: #fff;
}
.tabs-content__item {
  display: none;
}
.tabs-content__item--active {
  display: block;
}

/* ### Has gradient */
.has-gradient-left:before,
.has-gradient-right:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50px;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.has-gradient-left:before {
  left: -5px;
  background: linear-gradient(to right, rgb(255, 255, 255) 20%, rgba(255, 255, 255, 0));
  opacity: 1;
}

.has-gradient-right:after {
  right: -5px;
  background: linear-gradient(to left, rgb(255, 255, 255) 20%, rgba(255, 255, 255, 0));
  opacity: 1;
}

/* ## Destination */
.destinations {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.destinations__nav {
  position: relative;
  display: flex;
  align-items: flex-start;
}
.destinations__nav--has-scroll .destinations__arrow {
  opacity: 1;
  pointer-events: auto;
}
.destinations__scroll {
  display: flex;
  align-items: center;
  border: 1px solid #e8ebed;
  border-radius: 15px;
}
@media screen and (max-width: 1024px) {
  .destinations__scroll {
    align-items: flex-start;
    overflow-x: auto;
  }
  .destinations__scroll::-webkit-scrollbar {
    display: none;
  }
}
.destinations__arrow {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 0;
  width: 30px;
  height: 100%;
  fill: url(#gradient-main);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  cursor: pointer;
}
.destinations__arrow--left {
  left: -15px;
  justify-content: flex-start;
}
.destinations__arrow--left:after {
  left: 0;
  background: linear-gradient(to right, rgb(255, 255, 255), rgba(255, 255, 255, 0));
}
.destinations__arrow--left .destinations__arrow-icon {
  transform: scaleX(-1);
}
.destinations__arrow--right {
  right: -15px;
  justify-content: flex-end;
}
.destinations__arrow--right:after {
  right: 0;
  background: linear-gradient(to left, rgb(255, 255, 255), rgba(255, 255, 255, 0));
}
.destinations__arrow:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 30px;
  height: 100%;
  pointer-events: none;
}
.destinations__arrow:disabled {
  opacity: 0.3;
  pointer-events: none;
}
.destinations__arrow-icon {
  position: relative;
  z-index: 2;
}
.destinations__button {
  position: relative;
  padding: 16px 25px;
  cursor: pointer;
}
.destinations__button:first-child:before {
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}
.destinations__button:last-child:before {
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}
.destinations__button-label {
  position: relative;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: 0.3s;
  font-size: clamp(14px, 14px + (2) * (100vw - 360px) / 1080, 16px);
}
.destinations__button:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, var(--grad_2_start, #59b4ff) 0%, var(--grad_2_end, #8f83f3) 100%);
  opacity: 0;
  transition: 0.3s;
}
.destinations__button:hover:before, .destinations__button--active:before {
  opacity: 1;
}
.destinations__button:hover .destinations__button-label, .destinations__button--active .destinations__button-label {
  color: #fff;
}
.destinations__slider-wrapper {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) 305px;
  gap: 70px 25px;
  padding-bottom: 40px;
}
@media screen and (max-width: 1024px) {
  .destinations__slider-wrapper {
    grid-template-columns: minmax(250px, 1fr);
  }
}
.destinations__slider-wrapper--small {
  grid-template-columns: minmax(250px, 1fr);
}
.destinations__item {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 30px;
  height: 100%;
  border: 1px solid #e8ebed;
  border-radius: 30px;
  transition: 0.3s;
}
@media screen and (max-width: 1024px) {
  .destinations__item {
    width: 290px;
  }
}
.destinations__item:hover {
  border-color: var(--accent_color_4, #59b4ff);
}
.destinations__content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex-grow: 1;
}
.destinations__title {
  font-weight: 500;
  line-height: 1.33;
  font-size: clamp(18px, 18px + (2) * (100vw - 360px) / 1080, 20px);
}
.destinations__image {
  margin: -20px -20px 0;
  width: calc(100% + 40px);
  height: 200px;
  border-radius: 30px;
  overflow: hidden;
}
.destinations__image-src {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.destinations__excerpt {
  font-size: 14px;
}
.destinations__stats {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: auto;
}
.destinations__stat {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 20px;
}
.destinations__stat:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
}
.destinations__stat--hotels:before {
  width: 55px;
  background-color: var(--accent_color_4, #59b4ff);
}
.destinations__stat--price:before {
  width: 140px;
  background-color: var(--accent_color_2, #ff574f);
}
.destinations__stat-count {
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}
.destinations__stat-label {
  font-size: 12px;
  line-height: 1.33;
  opacity: 0.5;
}

/* ## Advantages */
.advantages--columns-1 {
  display: grid;
  grid-template-columns: repeat(1, minmax(200px, 1fr));
  gap: 30px;
}
@media screen and (max-width: 1024px) {
  .advantages--columns-1 {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}
.advantages--columns-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  gap: 30px;
}
@media screen and (max-width: 1024px) {
  .advantages--columns-2 {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}
.advantages--columns-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: 30px;
}
@media screen and (max-width: 1024px) {
  .advantages--columns-3 {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}
.advantages--columns-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(200px, 1fr));
  gap: 30px;
}
@media screen and (max-width: 1024px) {
  .advantages--columns-4 {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}
.advantages--columns-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(200px, 1fr));
  gap: 30px;
}
@media screen and (max-width: 1024px) {
  .advantages--columns-5 {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}
.advantages--columns-6 {
  display: grid;
  grid-template-columns: repeat(6, minmax(200px, 1fr));
  gap: 30px;
}
@media screen and (max-width: 1024px) {
  .advantages--columns-6 {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}
@media screen and (max-width: 1024px) {
  .advantages {
    gap: 15px;
  }
}
.advantages--cards .advantages__item {
  gap: 15px;
  padding: 30px;
  border-radius: var(--border_raduis_small);
  box-shadow: 0px 0px 29px 0px rgba(101, 121, 165, 0.2);
}
@media screen and (max-width: 768px) {
  .advantages--cards .advantages__item {
    padding: 25px 20px;
    border-radius: 20px;
  }
}
.advantages--cards .advantages__item:hover {
  box-shadow: 0px 0px 16px 0px rgba(96, 121, 169, 0.08);
}
.advantages--cards .advantages__item:hover .button--arrow {
  gap: 30px;
}
.advantages--numbers .advantages__item {
  gap: 20px;
}
.advantages--numbers .advantages__text {
  font-size: 16px;
  line-height: 1.5625;
}
.advantages__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: 0.3s;
}
.advantages__title {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
}
@media screen and (max-width: 1280px) {
  .advantages__title {
    font-size: clamp(18px, 2vw, 24px);
  }
}
.advantages__number {
  font-size: 60px;
  font-weight: 600;
  color: var(--accent_color_4, #59b4ff);
  line-height: 1;
}
@media screen and (max-width: 1280px) {
  .advantages__number {
    font-size: clamp(42px, 2vw, 60px);
  }
}
.advantages__text {
  font-size: 14px;
}
.advantages__button {
  margin-top: auto;
}

/* ## Clinics */
.teasers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 50px;
}
@media screen and (max-width: 1024px) {
  .teasers {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
  }
}
.teasers__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 30px;
  background-color: #fff;
  box-shadow: 0px 0px 29px 0px rgba(113, 174, 197, 0.2);
  border-radius: 30px;
}
@media screen and (max-width: 768px) {
  .teasers__item {
    padding: 25px 20px;
  }
}
.teasers__item:hover {
  box-shadow: 0px 0px 16px 0px rgba(96, 121, 169, 0.08);
}
.teasers__image {
  margin: -20px -20px 10px;
  width: calc(100% + 40px);
  height: 200px;
  border-radius: 30px;
  overflow: hidden;
}
.teasers__image-src {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.teasers__title {
  font-weight: 400;
  line-height: 1.25;
  font-size: clamp(20px, 20px + (4) * (100vw - 360px) / 1080, 24px);
}
.teasers__text {
  font-size: 14px;
}
.teasers__button {
  margin-top: auto;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.content > *:first-child {
  margin-top: 0;
}
.content > *:last-child {
  margin-bottom: 0;
}

/* ## Lists */
.content ul,
ul.wp-block-list {
  margin: 0 0 20px;
  padding: 0;
}
.content ul ul,
ul.wp-block-list ul {
  margin: 10px 0;
  padding-left: 30px;
}
.content ul ol,
ul.wp-block-list ol {
  margin: 10px 0;
}
.content ul li,
ul.wp-block-list li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 5px;
  min-height: 23px;
  overflow: hidden;
}
.content ul li:last-child,
ul.wp-block-list li:last-child {
  margin-bottom: 0;
}
.content ul li:before,
ul.wp-block-list li:before {
  content: "";
  position: absolute;
  top: 9px;
  left: 10px;
  width: 10px;
  height: 10px;
  border: 2px solid #2DC5A4;
  border-radius: 50%;
}

.content ol,
ol.wp-block-list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  counter-reset: listCounter;
}
.content ol[start],
ol.wp-block-list[start] {
  counter-reset: listCounter calc(var(--start) - 1);
}
.content ol > li,
ol.wp-block-list > li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 7px;
  overflow: hidden;
  counter-increment: listCounter;
}
.content ol > li:last-child,
ol.wp-block-list > li:last-child {
  margin-bottom: 0;
}
.content ol > li:before,
ol.wp-block-list > li:before {
  content: counter(listCounter);
  position: absolute;
  top: 2px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  font-size: 13px;
  font-weight: 400;
  color: #fff;
  line-height: 1;
  background-image: linear-gradient(to right, #2DC5A4 0%, #1a8f6e 100%);
  border-radius: 50%;
}
@media screen and (max-width: 640px) {
  .content ol > li:before,
  ol.wp-block-list > li:before {
    top: 1px;
  }
}
.content ol ul,
.content ol ol,
ol.wp-block-list ul,
ol.wp-block-list ol {
  margin: 10px 0 0;
}

/* ## Table */
.wp-block-table {
  max-width: 100%;
  border-radius: 10px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.wp-block-table .post__table {
  margin-block: 0;
}
.wp-block-table thead {
  border-bottom: 0;
}
.wp-block-table table {
  margin-block: 30px;
  width: 100%;
  font-size: 14px;
  border: unset;
  border-collapse: collapse;
  border-spacing: 0;
}
.wp-block-table table tbody tr:nth-child(odd) {
  background-color: #f9fbfc;
}
.wp-block-table table thead {
  border-bottom: 0;
}
.wp-block-table table thead tr,
.wp-block-table table thead + tbody tr:first-child {
  background-color: #eaf3fb;
}
.wp-block-table table thead + tbody tr:nth-child(even) {
  background-color: #f9fbfc;
}
.wp-block-table table thead + tbody tr:nth-child(odd) {
  background-color: #fff;
}
.wp-block-table table tbody tr:first-child {
  font-weight: 500;
  background-color: #eaf3fb;
}
.wp-block-table table thead + tbody tr:first-child {
  font-weight: 400;
}
.wp-block-table table th {
  font-weight: 500;
}
.wp-block-table table td,
.wp-block-table table th {
  padding: 10px 16px;
  text-align: center;
  border: unset;
}
.wp-block-table table td:first-of-type,
.wp-block-table table th:first-of-type {
  text-align: left;
}
.wp-block-table table tr:first-child td:first-child,
.wp-block-table table tr:first-child th:first-child {
  border-top-left-radius: 10px;
}
.wp-block-table table tr:first-child td:last-child,
.wp-block-table table tr:first-child th:last-child {
  border-top-right-radius: 10px;
}
.wp-block-table table tr:last-child td:first-child,
.wp-block-table table tr:last-child th:first-child {
  border-bottom-left-radius: 10px;
}
.wp-block-table table tr:last-child td:last-child,
.wp-block-table table tr:last-child th:last-child {
  border-bottom-right-radius: 10px;
}
.wp-block-table table thead tr:last-child td:first-child,
.wp-block-table table thead tr:last-child th:first-child {
  border-bottom-left-radius: 0;
}
.wp-block-table table thead tr:last-child td:last-child,
.wp-block-table table thead tr:last-child th:last-child {
  border-bottom-right-radius: 0;
}
.wp-block-table table thead + tbody tr:first-child td:first-child,
.wp-block-table table thead + tbody tr:first-child th:first-child {
  border-top-left-radius: 0;
}
.wp-block-table table thead + tbody tr:first-child td:last-child,
.wp-block-table table thead + tbody tr:first-child th:last-child {
  border-top-right-radius: 0;
}

/* ## Video */
.post__video iframe {
  margin-block: 20px;
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
}
@supports not (aspect-ratio: 1) {
  .post__video {
    position: relative;
    padding: 56.25% 0 0;
    height: 0;
    overflow: hidden;
  }
  .post__video iframe {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }
}

/* ## Images */
.content :where(img) {
  border-radius: 20px;
  content-visibility: auto;
}

:where(.aligncenter, .alignleft, .alignright) {
  display: block;
  padding: 0;
}

:where(.alignnone, .aligncenter) {
  margin: 0 auto;
}

/* ОБТЕКАНИЕ С ОТСТУПАМИ */
:where(.alignright) {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
}

:where(.alignleft) {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
}

/* Для изображений внутри контента */
.content .alignleft,
.content img.alignleft {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
}

.content .alignright,
.content img.alignright {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
}

.content .aligncenter,
.content img.aligncenter {
  display: block;
  margin: 0 auto 20px;
}

/* Чтобы текст не прилипал к картинке снизу */
.content .alignleft + p,
.content .alignright + p {
  margin-top: 0;
}

/* ## Standard gallery */
.gallery {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-block: 30px;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  margin: 0;
  margin-bottom: 5px;
  text-align: center;
}
.gallery-item a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}
.gallery-item a:hover {
  opacity: 0.8;
}

.gallery-icon.landscape {
  height: 100%;
}
.gallery-icon img {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-icon:not(:only-child) a {
  border-radius: 20px 20px 0 0;
}

@media screen and (min-width: 768px) {
  .gallery-columns-1 .gallery-item {
    flex-basis: calc(100% - 5px);
  }
  .gallery-columns-2 .gallery-item {
    flex-basis: calc(50% - 5px);
  }
  .gallery-columns-3 .gallery-item {
    flex-basis: calc(33.3333% - 5px);
  }
  .gallery-columns-4 .gallery-item {
    flex-basis: calc(25% - 5px);
  }
  .gallery-columns-5 .gallery-item {
    flex-basis: calc(20% - 5px);
  }
  .gallery-columns-6 .gallery-item {
    flex-basis: calc(16.6667% - 5px);
  }
  .gallery-columns-7 .gallery-item {
    flex-basis: calc(14.2857% - 5px);
  }
  .gallery-columns-8 .gallery-item {
    flex-basis: calc(12.5% - 5px);
  }
  .gallery-columns-9 .gallery-item {
    flex-basis: calc(11.1111% - 5px);
  }
}
@media screen and (max-width: 768px) {
  .gallery-item {
    flex-basis: calc(50% - 5px);
  }
}
@media screen and (max-width: 400px) {
  .gallery-item {
    flex-basis: calc(100% - 5px);
  }
}
/* ## Blockquote, blocks */
blockquote:not([class]) {
  margin: 30px 0;
  padding: 30px 40px;
  background-image: var(--light_bg, #eaf3fb);
  border: 1px solid #d9e7ed;
  border-radius: 20px;
}
@media screen and (max-width: 768px) {
  blockquote:not([class]) {
    padding: 20px;
  }
}

.custom-quote {
  position: relative;
}
.custom-quote--quote {
  margin: 40px 0 30px;
  padding: 40px 50px;
  width: 100%;
  font-size: 22px;
  line-height: 1.8;
  text-align: center;
  border-top: 1px solid #e8ebed;
  border-bottom: 1px solid #e8ebed;
}
@media screen and (max-width: 1280px) {
  .custom-quote--quote {
    font-size: clamp(16px, 2vw, 22px);
  }
}
@media screen and (max-width: 480px) {
  .custom-quote--quote {
    padding: 20px;
  }
}
.custom-quote--bg {
  margin: 30px 0;
  padding: 30px 40px;
  font-size: 17px;
  background-color: var(--light_bg, #eaf3fb);
  border-radius: 20px;
}
@media screen and (max-width: 1280px) {
  .custom-quote--bg {
    font-size: clamp(15px, 2vw, 17px);
  }
}
@media screen and (max-width: 480px) {
  .custom-quote--bg {
    padding: 20px;
  }
}
.custom-quote__icon {
  position: absolute;
  top: -25px;
  left: calc(50% - 40px);
  width: 80px;
  background-color: #fff;
  stroke: url(#gradient-main);
}

/* ## Accent bg */
.has-inline-color {
  padding: 1px 5px;
  color: #fff;
  border-radius: 11px;
}

[class*=has-accent-].has-inline-color {
  padding: 0;
  border-radius: 0;
}

.has-primary-color {
  color: #000;
}

.has-accent-blue-color {
  color: #315baa;
}
.has-accent-green-color {
  color: #74b713;
}
.has-accent-yellow-color {
  color: #ffc40f;
}
.has-accent-light-color {
  color: var(--light_bg, #eaf3fb);
}

.has-background {
  padding: 30px;
  border-radius: var(--border_raduis);
}
@media screen and (max-width: 1024px) {
  .has-background {
    padding: 15px 20px;
  }
}
.has-background-light-background-color {
  background-color: var(--light_bg, #eaf3fb);
}

/*--------------------------------------------------------------
# Header - Premium Modern Design
--------------------------------------------------------------*/

/* --- Base Header --- */
.site-header {
    position: relative;
    z-index: 100;
    margin-top: 20px;
    margin-bottom: 30px;
}

.site-header--front {
    margin-bottom: 50px;
}

.site-header__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 80px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(45, 197, 164, 0.15);
    transition: all 0.3s ease;
}

.site-header__main:hover {
    box-shadow: 0 12px 40px rgba(45, 197, 164, 0.12);
    border-color: rgba(45, 197, 164, 0.3);
}

@media screen and (max-width: 1280px) {
    .site-header__main {
        gap: 20px;
        padding: 10px 20px;
    }
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 0;
}

.site-header__bg {
    display: none;
}

/* --- Logo --- */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 12px;
    text-decoration: none;
}

.logo__image {
    flex-shrink: 0;
    width: auto;
    max-height: 48px;
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.logo:hover .logo__image {
    transform: scale(1.03);
}

@media screen and (max-width: 768px) {
    .logo__image {
        max-height: 38px;
    }
}

.logo__name {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, #1a2c3e 0%, #2DC5A4 80%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.3px;
}

.logo__name-light {
    font-weight: 500;
    background: none;
    -webkit-text-fill-color: #7a8e9c;
    color: #7a8e9c;
}

@media screen and (max-width: 768px) {
    .logo__name {
        font-size: 14px;
    }
}

/* --- Desktop Menu --- */
@media screen and (min-width: 1025px) {
    .primary-menu {
        display: flex;
        align-items: center;
        flex: 1;
        justify-content: center;
    }
    
    .primary-menu__inner {
        width: 100%;
    }
    
    .primary-menu__list {
        display: flex;
        justify-content: center;
        gap: 6px;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    
    .primary-menu__list > .menu-item {
        position: relative;
        display: flex;
        align-items: center;
        border-radius: 50px;
        transition: all 0.25s ease;
    }
    
    .primary-menu__list > .menu-item > a,
    .primary-menu__list > .menu-item > span {
        padding: 10px 20px;
        font-size: 15px;
        font-weight: 500;
        color: #1a2c3e;
        line-height: 1.4;
        text-decoration: none;
        border-radius: 50px;
        transition: all 0.25s ease;
        letter-spacing: -0.2px;
    }
    
    .primary-menu__list > .menu-item.current-menu-item,
    .primary-menu__list > .menu-item:hover {
        background: linear-gradient(135deg, #2DC5A4 0%, #1e8f76 100%);
    }
    
    .primary-menu__list > .menu-item.current-menu-item > a,
    .primary-menu__list > .menu-item.current-menu-item > span,
    .primary-menu__list > .menu-item:hover > a,
    .primary-menu__list > .menu-item:hover > span {
        color: #fff;
    }
    
    /* ===== СТРЕЛКИ (только CSS) ===== */
    .primary-menu__list .menu-item-has-children {
        position: relative;
    }
    
    .primary-menu__list .menu-item-has-children > a,
    .primary-menu__list .menu-item-has-children > span {
        position: relative;
        padding-right: 24px !important;
    }
    
    .primary-menu__list .menu-item-has-children > a:after,
    .primary-menu__list .menu-item-has-children > span:after {
        content: "";
        position: absolute;
        right: 4px;
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
        width: 6px;
        height: 6px;
        border-right: 2px solid #1a2c3e;
        border-bottom: 2px solid #1a2c3e;
        opacity: 0.5;
        transition: transform 0.25s ease, opacity 0.25s ease, border-color 0.25s ease;
        pointer-events: none;
    }
    
    .primary-menu__list .menu-item-has-children:hover > a:after,
    .primary-menu__list .menu-item-has-children:hover > span:after {
        transform: translateY(-50%) rotate(225deg);
        border-color: #fff;
        opacity: 1;
    }
    
    /* ===== СКРЫВАЕМ SVG-СТРЕЛКУ НА ДЕСКТОПЕ ===== */
    .primary-menu__list .menu-toggle {
        display: none !important;
    }
    
    /* ===== ПОДМЕНЮ ===== */
    .primary-menu__list .sub-menu {
        position: absolute;
        top: calc(100% + 5px);
        left: 50%;
        transform: translateX(-50%) translateY(-5px);
        z-index: 999;
        min-width: 220px;
        margin: 0;
        padding: 10px 0;
        list-style: none;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
        border: 1px solid rgba(45, 197, 164, 0.15);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.25s ease;
    }
    
    .primary-menu__list .menu-item-has-children:hover > .sub-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
    
    .primary-menu__list .sub-menu:before {
        content: "";
        position: absolute;
        top: -6px;
        left: 50%;
        transform: translateX(-50%) rotate(45deg);
        width: 12px;
        height: 12px;
        background: #fff;
        border-left: 1px solid rgba(45, 197, 164, 0.15);
        border-top: 1px solid rgba(45, 197, 164, 0.15);
    }
    
    .primary-menu__list .sub-menu .menu-item {
        display: block;
        margin: 0;
        padding: 0;
    }
    
    .primary-menu__list .sub-menu .menu-item a,
    .primary-menu__list .sub-menu .menu-item span {
        display: block;
        padding: 8px 20px;
        font-size: 14px;
        font-weight: 500;
        color: #1a2c3e;
        text-decoration: none;
        border-radius: 10px;
        transition: all 0.2s ease;
        white-space: nowrap;
    }
    
    .primary-menu__list .sub-menu .menu-item:hover > a,
    .primary-menu__list .sub-menu .menu-item:hover > span,
    .primary-menu__list .sub-menu .menu-item.current-menu-item > a,
    .primary-menu__list .sub-menu .menu-item.current-menu-item > span {
        background: linear-gradient(135deg, #2DC5A4 0%, #1e8f76 100%);
        color: #fff;
    }
}

/* --- Mobile Menu (ПРОСТОЙ БУРГЕР) --- */
.primary-menu__toggle,
.primary-menu__button,
.primary-menu__cross {
    display: none;
}

@media screen and (max-width: 1024px) {
    .primary-menu {
        order: 4;
    }
    
    /* Кнопка-бургер */
    .primary-menu__button {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        cursor: pointer;
    }
    
    .primary-menu__button span {
        display: block;
        width: 25px;
        height: 2px;
        background: #1a2c3e;
        border-radius: 2px;
    }
    
    /* Меню (выезжает слева) */
    .primary-menu__inner {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px;
        background: #fff;
        z-index: 1000;
        padding: 80px 20px 30px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        pointer-events: none;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }
    
    .primary-menu__toggle:checked ~ .primary-menu__inner {
        transform: translateX(0);
        pointer-events: auto;
    }
    
    /* Анимация бургера */
    .primary-menu__toggle:checked + .primary-menu__button span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .primary-menu__toggle:checked + .primary-menu__button span:nth-child(2) {
        opacity: 0;
    }
    
    .primary-menu__toggle:checked + .primary-menu__button span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    /* Стили списка */
    .primary-menu__list {
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    
    .primary-menu__list > .menu-item {
        border-bottom: 1px solid #eee;
    }
    
    .primary-menu__list > .menu-item > a,
    .primary-menu__list > .menu-item > span {
        display: block;
        padding: 15px 0;
        font-size: 18px;
        color: #1a2c3e;
        text-decoration: none;
    }
    
    /* Подменю */
    .primary-menu .sub-menu {
        display: none;
        padding-left: 20px;
        margin: 0;
        list-style: none;
    }
    
    .primary-menu .sub-menu a {
        display: block;
        padding: 10px 0;
        font-size: 15px;
        color: #666;
    }
    
    .primary-menu .menu-item-has-children.open > .sub-menu {
        display: block;
    }
}



/* --- Phone Block --- */
.phone {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.phone__address {
    font-size: 11px;
    color: #8ba0b5;
    line-height: 1.3;
    max-width: 160px;
}

@media screen and (max-width: 1024px) {
    .phone__address {
        display: none;
    }
}

.phone__number {
    font-size: 18px;
    font-weight: 700;
    color: #1a2c3e;
    text-decoration: none;
    white-space: nowrap;
}

.phone__number:hover {
    color: #2DC5A4;
}

.phone__code {
    font-weight: 400;
    color: #8ba0b5;
}

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

.phone__mobile {
    display: none;
}

.phone__wa {
    display: flex;
    transition: transform 0.2s ease;
}

.phone__wa:hover {
    transform: scale(1.08);
}

.phone__wa-icon {
    width: 28px;
    height: 28px;
}

@media screen and (max-width: 768px) {
    .phone__number {
        display: none;
    }
    
    .phone__mobile {
        display: flex;
        color: #2DC5A4;
    }
    
    .phone__mobile:hover {
        color: #1e8f76;
    }
    
    .phone__actions {
        gap: 10px;
    }
}

/* --- Callback Button --- */
.callback-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.callback-wrapper__label {
    font-size: 11px;
    font-weight: 600;
    color: #2DC5A4;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.callback-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #2DC5A4;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(45, 197, 164, 0.3);
}

.callback-btn:hover {
    background: #25a88b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 197, 164, 0.4);
}

.callback-btn:active {
    transform: translateY(1px);
}

/* --- Скрываем кнопку на мобильных --- */
@media screen and (max-width: 768px) {
    .callback-wrapper {
        display: none;
    }
    
    .callback-btn {
        display: none;
    }
}

/* --- Sticky Header --- */
.site-header.sticky .site-header__main {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1400px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    animation: slideDown 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.site-header.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

/* --- Accessibility --- */
.callback-btn:focus-visible,
.primary-menu__list > .menu-item a:focus-visible,
.phone__number:focus-visible {
    outline: 2px solid #2DC5A4;
    outline-offset: 3px;
    border-radius: 50px;
}


/*--------------------------------------------------------------
# Footer (старые)
--------------------------------------------------------------*/
/* .site-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(200px, 410px) repeat(3, minmax(150px, 1fr));
  gap: 40px;
  margin-top: auto;
  padding-block: 35px;
  color: #fff;
  background-image: linear-gradient(to right, var(--grad_2_start, #59b4ff) 0%, var(--grad_2_end, #8f83f3) 100%);
 */
  /* ## Menu */
/* }
@media screen and (max-width: 1024px) {
  .site-footer {
    display: flex;
    flex-wrap: wrap;
  }
}
.site-footer:before {
  content: "";
  background-color: var(--dark_bg, #1e2027);
  position: absolute;
  left: calc(-1 * var(--viewport-width) / 2 + 50%);
  top: 0;
  z-index: -1;
  width: 100vw;
  max-width: var(--viewport-width);
  height: 100%;
}
@media screen and (max-width: 1024px) {
  .site-footer:before {
    max-width: 100vw;
  }
}
.site-footer__info {
  display: grid;
  gap: 20px;
}
@media screen and (max-width: 1024px) {
  .site-footer__info {
    width: 100%;
  }
}
.site-footer__copyright {
  padding-left: 90px;
  font-size: 12px;
  line-height: 1.67;
  opacity: 0.5;
}
@media screen and (max-width: 768px) {
  .site-footer__copyright {
    padding-left: 0;
  }
}
.site-footer__actions {
  padding-left: 90px;
}
@media screen and (max-width: 768px) {
  .site-footer__actions {
    padding-left: 0;
  }
}
.site-footer__menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media screen and (max-width: 1024px) {
  .site-footer__menu {
    flex-grow: 1;
  }
}
.site-footer__menu-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}
.site-footer__menu-list {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  list-style: none;
}
.site-footer__menu .menu-item {
  position: relative;
  display: flex;
  padding-left: 20px;
}
.site-footer__menu .menu-item:before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 5px;
  height: 5px;
  background-color: var(--accent_color_3, #ffd85f);
  border-radius: 50%;
  transition: opacity 0.3s;
}
.site-footer__menu .menu-item a,
.site-footer__menu .menu-item span {
  padding-block: 8px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.2;
  text-decoration: none;
}
.site-footer__menu .menu-item span, .site-footer__menu .menu-item:hover a {
  color: #fff;
}
.site-footer__menu .sub-menu {
  display: none;
} */

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
    background: linear-gradient(135deg, #1a2c3e 0%, #0f1e2c 100%);
    padding: 40px 0;
    color: #fff;
    margin-top: auto;
    width: 100%;
}

.site-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
}

/* Левая часть */
.site-footer__left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.site-footer__copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.site-footer__address {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* Меню по центру */
.site-footer__menus {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.site-footer__menu-list {
    display: flex;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.site-footer__menu-list li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.site-footer__menu-list li a:hover {
    color: #2DC5A4;
}

/* Правая часть */
.site-footer__right {
    display: flex;
    align-items: center;
}

.phone--footer {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.phone--footer .phone__number {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.phone--footer .phone__number:hover {
    color: #2DC5A4;
}

/* Кнопка "Заказать звонок" в футере */
.footer-callback-btn {
    padding: 10px 28px;
    background: #2DC5A4;
    color: #fff;
    border: none;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.footer-callback-btn:hover {
    background: #25a88b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 197, 164, 0.3);
}

/* ============================================================
   АДАПТИВ
   ============================================================ */

@media (max-width: 1024px) {
    .site-footer__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }

    .site-footer__left {
        align-items: center;
    }

    .site-footer__menus {
        justify-content: center;
        gap: 20px;
    }

    .site-footer__menu-list {
        justify-content: center;
        gap: 12px;
    }

    .site-footer__right {
        width: 100%;
        justify-content: center;
    }

    .phone--footer {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 30px 0;
    }

    .site-footer__inner {
        padding: 0 16px;
        gap: 20px;
    }

    .site-footer__menu-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 12px;
    }

    .site-footer__menu-list li a {
        font-size: 13px;
    }

    .phone--footer .phone__number {
        font-size: 16px;
    }

    .site-footer__menus {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .footer-callback-btn {
        padding: 8px 20px;
        font-size: 13px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 20px 0;
    }

    .site-footer__inner {
        padding: 0 14px;
        gap: 15px;
    }

    .site-footer__menu-list li a {
        font-size: 12px;
    }

    .phone--footer .phone__number {
        font-size: 14px;
    }

    .footer-callback-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}

/*--------------------------------------------------------------
# Home
--------------------------------------------------------------*/
/* ## Tours front */
.tours {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 60px;
  min-height: 620px;
}
@media screen and (max-width: 1240px) {
  .tours {
    gap: 40px;
  }
}
.tours__top {
  display: grid;
  grid-template-columns: minmax(400px, 550px) minmax(250px, 1fr);
  gap: 20px;
}
@media screen and (max-width: 1240px) {
  .tours__top {
    grid-template-columns: minmax(400px, 450px) minmax(250px, 1fr);
  }
}
@media screen and (max-width: 768px) {
  .tours__top {
    display: flex;
  }
}
.tours__bottom {
  display: grid;
  grid-template-columns: minmax(400px, 550px) minmax(250px, 1fr);
}
@media screen and (max-width: 1240px) {
  .tours__bottom {
    grid-template-columns: minmax(250px, 1fr);
    gap: 30px;
  }
}
.tours__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  padding-top: 25px;
}
@media screen and (max-width: 1240px) {
  .tours__info {
    padding-top: 0;
  }
}
@media screen and (max-width: 768px) {
  .tours__info {
    gap: 30px;
  }
}
.tours__tg {
  display: flex;
  align-items: center;
  align-self: flex-end;
  gap: 20px;
  margin-bottom: -10px;
  padding: 15px 20px;
  max-width: 250px;
  font-size: 13px;
  color: #fff;
  fill: #fff;
  line-height: 1.38;
  background-image: linear-gradient(to right, var(--grad_2_start, #59b4ff) 0%, var(--grad_2_end, #8f83f3) 100%);
  border-radius: 20px;
}
@media screen and (max-width: 768px) {
  .tours__tg {
    align-self: flex-start;
  }
}
.tours__tg-svg {
  flex-shrink: 0;
}
.tours__title {
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-weight: 700;
  line-height: 1.2;
  font-size: clamp(42px, 42px + (38) * (100vw - 360px) / 1080, 80px);
}
.tours__title-small {
  font-weight: 500;
  font-size: clamp(24px, 24px + (6) * (100vw - 360px) / 1080, 30px);
}
.tours__text {
  font-size: 16px;
  line-height: 1.875;
}
.tours__image {
  position: absolute;
  right: calc(-1 * var(--viewport-width) / 2 + 50%);
  left: 0;
  z-index: -1;
  display: flex;
  align-items: center;
  max-height: 600px;
  border-radius: 10px 0 0 300px;
  overflow: hidden;
}
@media screen and (max-width: 1240px) {
  .tours__image {
    height: 100%;
  }
}
@media screen and (max-width: 768px) {
  .tours__image {
    display: none;
  }
}
.tours__image-wrapper {
  position: relative;
}
.tours__image-src {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.tours__country {
  position: relative;
  padding-left: 60px;
  max-width: 550px;
  font-size: 16px;
  line-height: 1.875;
}
@media screen and (max-width: 1024px) {
  .tours__country {
    max-width: unset;
  }
}
.tours__country:before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 40px;
  height: 2px;
  background-color: var(--accent_color_4, #59b4ff);
  border-radius: 1px;
}
.tours__features {
  display: flex;
  gap: 25px;
  padding: 25px 30px;
  font-size: 14px;
  color: #fff;
  line-height: 1.43;
  background-color: var(--dark_bg, #1e2027);
  border-radius: 15px;
}
@media screen and (max-width: 768px) {
  .tours__features {
    flex-wrap: wrap;
  }
}
.tours__features-item {
  display: flex;
  align-items: center;
  gap: 20px;
}
.tours__features-icon {
  flex-shrink: 0;
  height: 30px;
  stroke: var(--accent_color_3, #ffd85f);
  fill: var(--accent_color_3, #ffd85f);
}

/* ## Promo */
.promo {
  display: grid;
  grid-template-columns: minmax(350px, 560px) minmax(350px, 1fr);
  align-items: center;
  gap: 90px;
}
@media screen and (max-width: 1240px) {
  .promo {
    gap: 40px;
  }
}
@media screen and (max-width: 1024px) {
  .promo {
    display: flex;
    align-items: center;
  }
}
@media screen and (max-width: 768px) {
  .promo {
    flex-direction: column;
  }
}
.promo__image {
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
}
@media screen and (max-width: 1024px) {
  .promo__image-src {
    width: 300px;
  }
}
.promo__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 35px;
}
.promo__title {
  margin: 0;
  line-height: 1;
  font-size: clamp(36px, 36px + (40) * (100vw - 360px) / 1080, 76px);
}
.promo__subtitle {
  max-width: 550px;
  font-weight: 500;
  line-height: 1.33;
  font-size: clamp(22px, 22px + (8) * (100vw - 360px) / 1080, 30px);
}
.promo__text {
  max-width: 550px;
  font-size: 16px;
}

/* ## Bonus */
.bonus {
  display: flex;
  align-items: center;
  gap: 20px 35px;
  padding: 25px 80px;
  background-color: var(--dark_bg, #1e2027);
  border-radius: 20px;
}
@media screen and (max-width: 1024px) {
  .bonus {
    flex-wrap: wrap;
    padding: 25px 30px;
  }
}
.bonus__icon {
  display: flex;
  flex-shrink: 0;
}
.bonus__amount {
  font-weight: 700;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
  font-size: clamp(36px, 36px + (24) * (100vw - 360px) / 1080, 60px);
}
.bonus__text {
  font-weight: 500;
  color: #fff;
  line-height: 1.33;
  font-size: clamp(20px, 20px + (6) * (100vw - 360px) / 1080, 26px);
}

/* ## Guarantee */
.guarantee {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  min-height: 515px;
}
@media screen and (max-width: 1140px) {
  .guarantee {
    flex-direction: column;
    align-items: flex-start;
  }
}
.guarantee__left {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 520px;
}
@media screen and (max-width: 1140px) {
  .guarantee__left {
    width: 100%;
    max-width: unset;
  }
}
.guarantee__right {
  max-width: 400px;
}
@media screen and (max-width: 1140px) and (min-width: 769px) {
  .guarantee__right {
    margin-left: 350px;
    height: 400px;
  }
}
@media screen and (max-width: 768px) {
  .guarantee__right {
    max-width: unset;
  }
}
.guarantee__title {
  margin: 0;
  line-height: 1;
  font-size: clamp(42px, 42px + (34) * (100vw - 360px) / 1080, 76px);
}
.guarantee__subtitle {
  max-width: 450px;
  font-weight: 500;
  line-height: 1.33;
  font-size: clamp(24px, 24px + (6) * (100vw - 360px) / 1080, 30px);
}
@media screen and (max-width: 1140px) {
  .guarantee__subtitle {
    max-width: 100%;
  }
}
.guarantee__text {
  max-width: 420px;
  font-size: 16px;
}
@media screen and (max-width: 1140px) {
  .guarantee__text {
    max-width: 100%;
  }
}

/* ИСПРАВЛЕННЫЙ БЛОК ИЗОБРАЖЕНИЯ — фиксированные размеры, не уезжает */
.guarantee__image {
  position: absolute;
  right: 380px;
  z-index: -1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Фиксированные размеры изображения — главное изменение */
.guarantee__image-src {
  width: 500px;
  height: 500px;
  object-fit: contain;
  display: block;
}

/* Планшеты */
@media screen and (max-width: 1140px) {
  .guarantee__image {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    margin-top: 30px;
    justify-content: flex-start;
  }
  
  .guarantee__image-src {
    width: 350px;
    height: 350px;
  }
}

/* Мобильные */
@media screen and (max-width: 768px) {
  .guarantee__image {
    display: flex;
    justify-content: center;
  }
  
  .guarantee__image-src {
    width: 250px;
    height: 250px;
  }
}

/* Остальные стили без изменений */
.guarantee-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.guarantee-details__header {
  display: flex;
  flex-direction: column;
}
.guarantee-details__title {
  font-weight: 500;
  line-height: 1.33;
  font-size: clamp(28px, 28px + (8) * (100vw - 360px) / 1080, 36px);
}
.guarantee-details__subtitle {
  font-size: 36px;
  line-height: 1.33;
  font-size: clamp(28px, 28px + (8) * (100vw - 360px) / 1080, 36px);
}
.guarantee-details__text {
  font-size: 14px;
}
.guarantee-details__features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 1px solid var(--accent_color_4, #59b4ff);
}
.guarantee-details__feature {
  display: flex;
  align-items: center;
  gap: 20px;
}
.guarantee-details__feature-title {
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  font-size: clamp(24px, 24px + (6) * (100vw - 360px) / 1080, 30px);
}
.guarantee-details__feature-text {
  font-size: 16px;
  line-height: 1.33;
}

/*--------------------------------------------------------------
# Post
--------------------------------------------------------------*/
.post > *:last-child {
  margin-bottom: 0;
}
.post__header {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.post__subtitle {
  font-weight: 500;
  line-height: 1.33;
  font-size: clamp(24px, 24px + (6) * (100vw - 360px) / 1080, 30px);
}
.post__excerpt {
  font-size: 16px;
}

/* --- ЗАГОЛОВОК СТАТЬИ --- */
.post__title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1a2c3e;
  margin-bottom: 20px;
}

/* --- БЛОК: ФОТО + ОГЛАВЛЕНИЕ --- */
.post__top-block {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 30px;
}

/* Фото (слева, подстраивается по высоте под содержание) */
.post__thumbnail {
  flex: 0 0 280px;
  max-width: 280px;
  border-radius: 16px;
  overflow: hidden;
  background: #f8f9fc;
  align-self: stretch;
}

.post__thumbnail-src {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Оглавление (справа, задаёт высоту) */
.post-menu {
  flex: 1;
  padding: 16px 20px;
  background: #f8f9fc;
  border-radius: 16px;
  border-left: 4px solid #2DC5A4;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-menu__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a2c3e;
  margin-bottom: 10px;
}

.post-menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-menu__list li {
  margin-bottom: 4px;
  padding-left: 16px;
  position: relative;
}

.post-menu__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #2DC5A4;
  font-weight: 700;
}

.post-menu__list li:last-child {
  margin-bottom: 0;
}

.post-menu__link {
  display: inline-block;
  padding: 2px 0;
  color: #2DC5A4;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  line-height: 1.4;
}

.post-menu__link:hover {
  color: #1a8f6e;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .post__top-block {
    flex-direction: column;
    gap: 20px;
  }

  .post__thumbnail {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
    height: 250px;
  }

  .post-menu {
    flex: 0 1 auto;
    max-width: 100%;
    width: 100%;
    padding: 14px 18px;
  }
}

/* --- ТЕГИ --- */
.post__tags {
  margin: 30px 0 40px;
  padding-top: 20px;
  border-top: 1px solid #e2eaf5;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.post__tags-label {
  font-weight: 600;
  color: #1a2c3e;
}

.post__tags a {
  display: inline-block;
  padding: 4px 14px;
  background: #f0f5f8;
  color: #2DC5A4;
  border-radius: 20px;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.post__tags a:hover {
  background: #2DC5A4;
  color: #fff;
}

/* --- НАВИГАЦИЯ --- */
.post__navigation {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e2eaf5;
}

.post__nav-prev,
.post__nav-next {
  flex: 1;
  margin-bottom: 30px;
  text-align: center;
}

.post__nav-prev a,
.post__nav-next a {
  display: inline-block;
  padding: 10px 20px;
  background: #f8f9fc;
  border: 1px solid #2DC5A4;
  border-radius: 10px;
  color: #1a2c3e;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  width: 100%;
}

.post__nav-prev a:hover,
.post__nav-next a:hover {
  background: #2DC5A4;
  border-color: #2DC5A4;
  color: #fff;
}

/* --- АДАПТИВ --- */
@media (max-width: 768px) {
  .post__title {
    font-size: 1.8rem;
  }

  .post__top-block {
    flex-direction: column;
    gap: 20px;
  }

  .post__thumbnail {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }

  .post__thumbnail-src {
    aspect-ratio: 16/9;
  }

  .post-menu {
    padding: 14px 18px;
  }

  .post-menu__link {
    font-size: 0.85rem;
  }

  .post__navigation {
    flex-direction: column;
    gap: 12px;
  }

  .post__nav-prev a,
  .post__nav-next a {
    text-align: center;
  }

  .post__nav-next {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .post__title {
    font-size: 1.5rem;
  }

  .post-menu {
    padding: 12px 14px;
  }

  .post-menu__link {
    font-size: 0.8rem;
  }

  .post__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/*--------------------------------------------------------------
# Исправление отступов между заголовками и текстом
--------------------------------------------------------------*/

/* Убираем лишние отступы у заголовков */
.post .content h2,
.post .content h3,
.post .content h4,
.single-post .content h2,
.single-post .content h3,
.single-post .content h4 {
  margin-top: 30px;
  margin-bottom: 12px;
}

.post .content h2:first-child,
.post .content h3:first-child,
.post .content h4:first-child,
.single-post .content h2:first-child,
.single-post .content h3:first-child,
.single-post .content h4:first-child {
  margin-top: 0;
}

/* Параграфы после заголовка — прилипают к нему */
.post .content p,
.single-post .content p {
  margin-top: 0;
  margin-bottom: 0px;
}

/* Последний параграф перед следующим заголовком */
.post .content p:last-of-type,
.single-post .content p:last-of-type {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  grid-column: 1/-1;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}
@media screen and (max-width: 768px) {
  .breadcrumbs {
    display: none;
  }
}
.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  line-height: 19.6px;
}
.breadcrumbs__link {
  color: #2DC5A4;
  text-decoration: none;
  transition: color 0.3s ease;
}
.breadcrumbs__link:hover {
  color: #1a8f6e;
  text-decoration: underline;
}
.breadcrumbs__last {
  color: #1a2c3e;
  font-weight: 500;
  opacity: 0.85;
}
.breadcrumbs__icon {
  fill: #2DC5A4;
}
.breadcrumbs__icon--arrow {
  display: none;
}
.breadcrumbs__icon--home {
  width: 14px;
  height: 14px;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-bottom: clamp(40px, 5vw, 70px);
}
.sidebar__sticky {
  position: sticky;
  top: 30px;
  height: fit-content;
}

.widget {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.widget--appointment .form {
  gap: 20px;
}
.widget__header {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.widget__title {
  margin: 0;
  font-size: 30px;
  line-height: 1.33;
}
.widget__title-accent {
  position: relative;
  padding-top: 20px;
}
.widget__title-badge {
  position: absolute;
  top: -5px;
  right: -25px;
  padding: 4px 15px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  background-color: var(--accent_color_2, #ff574f);
  border-radius: 9999px;
  transform: rotate(-15deg);
}
@media (max-width: 768px) {
  .widget__title-badge {
    padding: 3px 8px;
    top: 5px;
    right: -20px;
    font-size: 12px;
  }
}
.widget__text {
  font-size: 14px;
  line-height: 1.43;
}

/*--------------------------------------------------------------
# Pagination
--------------------------------------------------------------*/
.pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}
@media screen and (max-width: 768px) {
  .pagination .nav-links {
    justify-content: center;
  }
}
.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  font-size: 16px;
  color: #000;
  fill: #000;
  background-color: #fff;
  border: 1px solid #d9e7ed;
  border-radius: 15px;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover {
  color: #fff;
  background-color: var(--accent_color_4, #59b4ff);
  border-color: var(--accent_color_4, #59b4ff);
}
.pagination .page-numbers.prev {
  transform: scale(-1, 1);
}

/*--------------------------------------------------------------
# 404
--------------------------------------------------------------*/
.error-info {
  padding-top: 40px;
}
.error-info:before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(-1 * var(--viewport-width) / 2 + 50%);
  width: var(--viewport-width);
  height: 1px;
  background-color: #e8ebed;
}
.error-info__content {
  margin: 30px auto 0;
}
.error-info__small {
  margin-bottom: 40px;
  width: 100%;
  font-size: 14px;
  opacity: 0.5;
}
.error-info__description {
  display: flex;
  align-items: center;
}
.error-info__description-num {
  font-size: 320px;
  font-weight: 700;
  color: var(--light_bg, #eaf3fb);
  line-height: 0.7;
}
@media screen and (max-width: 1024px) {
  .error-info__description-num {
    font-size: 28vw;
  }
}
@media screen and (max-width: 768px) {
  .error-info__description-num {
    margin-right: 20px;
  }
}
@media screen and (max-width: 480px) {
  .error-info__description-num {
    margin-right: 0;
  }
}

/* =====================================================
   ГЛАВНАЯ №1
   ===================================================== */

.hp1-hero {
    position: relative;
    padding: 50px 0;
    background: linear-gradient(180deg, #6aafd4 0%, #2a6a8a 100%);
    overflow: hidden;
    border-radius: 10px;
    margin: 20px 0;
}

.hp1-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 197, 164, 0.08) 0%, transparent 100%);
    pointer-events: none;
}

.hp1-hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hp1-hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.hp1-hero-content {
    flex: 1;
    max-width: 550px;
}

.hp1-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 18px;
}

.hp1-hero-title span {
    color: #2DC5A4;
    position: relative;
    display: inline-block;
}

.hp1-hero-title span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #2DC5A4;
    border-radius: 2px;
}

.hp1-hero-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

.hp1-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    color: #1a2c3e;
    background: #2DC5A4;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(45, 197, 164, 0.3);
    margin-bottom: 50px;
}

.hp1-hero-btn:hover {
    transform: translateY(-3px);
    background: #25a88b;
    box-shadow: 0 15px 35px rgba(45, 197, 164, 0.4);
    color: #ffffff;
}

.hp1-hero-stats {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.hp1-hero-stat {
    text-align: left;
}

.hp1-hero-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #2DC5A4;
    line-height: 1.2;
    margin-bottom: 5px;
}

.hp1-hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hp1-hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hp1-hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 50px -15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(45, 197, 164, 0.2);
    object-fit: cover;
}

@media (max-width: 1024px) {
    .hp1-hero {
        padding: 40px 0;
        border-radius: 25px;
        margin: 15px 0;
    }
    
    .hp1-hero-grid {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .hp1-hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hp1-hero-title {
        font-size: 2.5rem;
    }
    
    .hp1-hero-stats {
        justify-content: center;
    }
    
    .hp1-hero-stat {
        text-align: center;
    }
    
    .hp1-hero-image {
        order: -1;
    }
    
    .hp1-hero-image img {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .hp1-hero {
        padding: 30px 0;
        border-radius: 20px;
        margin: 10px 0;
    }
    
    .hp1-hero-title {
        font-size: 2rem;
    }
    
    .hp1-hero-description {
        font-size: 0.95rem;
    }
    
    .hp1-hero-btn {
        padding: 10px 24px;
        font-size: 0.9rem;
        margin-bottom: 35px;
    }
    
    .hp1-hero-stat-number {
        font-size: 1.6rem;
    }
    
    .hp1-hero-stats {
        gap: 30px;
    }
    
    .hp1-hero-image img {
        max-width: 95%;
    }
}

@media (max-width: 480px) {
    .hp1-hero {
        padding: 25px 0;
        border-radius: 16px;
        margin: 8px 0;
    }
    
    .hp1-hero-title {
        font-size: 1.6rem;
    }
    
    .hp1-hero-description {
        font-size: 0.85rem;
    }
    
    .hp1-hero-btn {
        padding: 8px 20px;
        font-size: 0.85rem;
        margin-bottom: 25px;
    }
    
    .hp1-hero-stat-number {
        font-size: 1.4rem;
    }
    
    .hp1-hero-stat-label {
        font-size: 0.75rem;
    }
    
    .hp1-hero-stats {
        gap: 20px;
    }
}

html, body {
    margin: 0;
    padding: 0;
    background: #fff;
}

.hp1-main * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hp1-main {
    --hp1-accent: #2DC5A4;
    --hp1-accent-dark: #239f84;
    --hp1-accent-light: #e0f5f0;
    --hp1-accent-gradient: linear-gradient(135deg, #2DC5A4 0%, #1a8f6e 100%);
    --hp1-text-dark: #1a2c3e;
    --hp1-text-gray: #5a6e7c;
    --hp1-text-light: #8ba0b5;
    --hp1-border: #e2eaf5;
    --hp1-card-bg: #ffffff;
    --hp1-bg-light: #f8f9fc;
    
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: #fff;
    display: block;
    width: 100%;
}

.hp1-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.hp1-section {
    padding: 60px 0;
}

.hp1-section-title {
    font-size: 2rem;
    font-weight: 700;
    background: var(--hp1-accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: left;
    letter-spacing: -0.3px;
    margin-bottom: 16px;
    display: inline-block;
    position: relative;
}


.hp1-section-title span {
    background: var(--hp1-accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hp1-advantages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.hp1-advantage-item {
    background: var(--hp1-card-bg);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--hp1-border);
    transition: all 0.3s ease;
}

.hp1-advantage-item:hover {
    transform: translateY(-5px);
    border-color: var(--hp1-accent);
    box-shadow: 0 20px 35px -12px rgba(45, 197, 164, 0.15);
}

.hp1-advantage-item i {
    font-size: 2.5rem;
    background: var(--hp1-accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}

.hp1-advantage-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--hp1-accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 12px;
}

.hp1-advantage-item p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--hp1-text-gray);
}

.hp1-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.hp1-service-card {
    background: var(--hp1-card-bg);
    border-radius: 20px;
    padding: 28px 24px;
    border: 1px solid var(--hp1-border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hp1-service-card:hover {
    transform: translateY(-5px);
    border-color: var(--hp1-accent);
    box-shadow: 0 20px 35px -12px rgba(45, 197, 164, 0.15);
}

.hp1-service-card i {
    font-size: 2rem;
    background: var(--hp1-accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}

.hp1-service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    background: var(--hp1-accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 12px;
}

.hp1-service-card p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--hp1-text-gray);
    margin-bottom: 20px;
    flex: 1;
}

.hp1-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 16px;
    border-top: 1px dashed var(--hp1-border);
    margin-top: auto;
}

.hp1-price-row span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--hp1-text-light);
}

.hp1-price-row strong {
    font-size: 1.25rem;
    font-weight: 800;
    background: var(--hp1-accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hp1-about-clinic {
    background: var(--hp1-bg-light);
    border-radius: 24px;
    padding: 48px;
}

.hp1-about-grid {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.hp1-about-text {
    flex: 2;
}

.hp1-about-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--hp1-text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.hp1-about-text .hp1-accent {
    background: var(--hp1-accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hp1-about-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--hp1-text-gray);
    margin-bottom: 30px;
}

.hp1-feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.hp1-feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--hp1-text-dark);
}

.hp1-feature-list li i {
    background: var(--hp1-accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.2rem;
    width: 24px;
}

.hp1-years-badge {
    display: inline-block;
    background: var(--hp1-accent-gradient);
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 40px;
    font-size: 1rem;
}

.hp1-about-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hp1-stat-circle {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--hp1-border);
}

.hp1-stat-circle span {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--hp1-accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

.hp1-stat-circle p {
    font-size: 0.9rem;
    color: var(--hp1-text-gray);
    margin-top: 8px;
}

.hp1-doctors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.hp1-doctor-card {
    background: var(--hp1-card-bg);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    border: 1px solid var(--hp1-border);
    transition: all 0.3s ease;
}

.hp1-doctor-card:hover {
    transform: translateY(-5px);
    border-color: var(--hp1-accent);
    box-shadow: 0 20px 35px -12px rgba(45, 197, 164, 0.15);
}

.hp1-doctor-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--hp1-accent-light);
}

.hp1-doctor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp1-doctor-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--hp1-text-dark);
    margin-bottom: 6px;
}

.hp1-doctor-spec {
    font-size: 0.8rem;
    background: var(--hp1-accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 500;
    margin-bottom: 4px;
}

.hp1-doctor-exp {
    font-size: 0.75rem;
    color: var(--hp1-text-gray);
}

.hp1-price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.hp1-price-category {
    background: var(--hp1-card-bg);
    border-radius: 20px;
    padding: 28px 24px;
    border: 1px solid var(--hp1-border);
}

.hp1-price-category h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--hp1-text-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--hp1-accent);
    display: inline-block;
}

.hp1-price-category h4 i {
    background: var(--hp1-accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-right: 10px;
}

.hp1-price-category ul {
    list-style: none;
}

.hp1-price-category li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px dashed var(--hp1-border);
}

.hp1-price-category li span:first-child {
    font-size: 0.85rem;
    color: var(--hp1-text-gray);
}

.hp1-price-category li span:last-child {
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--hp1-accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hp1-price-note {
    text-align: center;
    margin-top: 24px;
    font-size: 0.8rem;
    color: var(--hp1-text-light);
}

.hp1-reviews-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.hp1-review-card {
    background: var(--hp1-card-bg);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid var(--hp1-border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hp1-review-card:hover {
    transform: translateY(-5px);
    border-color: var(--hp1-accent);
}

.hp1-review-card i {
    font-size: 1.8rem;
    background: var(--hp1-accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.5;
    margin-bottom: 16px;
}

.hp1-review-card p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--hp1-text-gray);
    margin-bottom: 20px;
    font-style: italic;
    flex: 1;
}

.hp1-review-author {
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--hp1-accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-top: auto;
}

.hp1-callback-form-wrapper {
    background: linear-gradient(135deg, var(--hp1-accent-light) 0%, #fff 100%);
    border-radius: 24px;
    padding: 48px;
    text-align: center;
}

.hp1-callback-form__title {
    margin-bottom: 12px !important;
    text-align: center !important;
    border-bottom: none !important;
    display: block !important;
    font-size: 2rem;
    font-weight: 700;
    background: var(--hp1-accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hp1-callback-form__subtitle {
    font-size: 0.95rem;
    color: var(--hp1-text-gray);
    margin-bottom: 32px;
}

.hp1-callback-form {
    max-width: 500px;
    margin: 0 auto;
}

.hp1-form-group {
    margin-bottom: 20px;
    text-align: left;
}

.hp1-form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--hp1-text-dark);
    margin-bottom: 8px;
}

.hp1-required-star {
    color: #ff574f;
}

.hp1-form-input {
    width: 100%;
    padding: 14px 18px;
    font-size: 0.9rem;
    border: 1px solid var(--hp1-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.hp1-form-input:focus {
    outline: none;
    border-color: var(--hp1-accent);
    box-shadow: 0 0 0 3px rgba(45, 197, 164, 0.1);
}

.hp1-callback-submit-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: var(--hp1-accent-gradient);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hp1-callback-submit-btn:hover {
    background: var(--hp1-accent-dark);
    transform: translateY(-2px);
}

.hp1-form-agreement {
    font-size: 0.7rem;
    color: var(--hp1-text-light);
    margin-top: 16px;
}

.hp1-form-agreement a {
    color: var(--hp1-accent);
    text-decoration: none;
}

.hp1-form-agreement a:hover {
    text-decoration: underline;
}

.hp1-map-wrapper {
    background: var(--hp1-bg-light);
    border-radius: 20px;
    overflow: hidden;
}

.hp1-address-block {
    padding: 24px;
    background: var(--hp1-card-bg);
    border-bottom: 1px solid var(--hp1-border);
}

.hp1-address-block i {
    background: var(--hp1-accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hp1-work-time {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--hp1-text-gray);
}

@media (max-width: 1024px) {
    .hp1-advantages,
    .hp1-service-grid,
    .hp1-doctors-grid,
    .hp1-price-grid,
    .hp1-reviews-slider {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .hp1-about-grid {
        flex-direction: column;
    }
    
    .hp1-about-stats {
        flex-direction: row;
        width: 100%;
    }
    
    .hp1-stat-circle {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .hp1-container {
        padding: 0 16px;
    }
    
    .hp1-section {
        padding: 40px 0;
    }
    
    .hp1-section-title {
        font-size: 1.5rem;
        margin-bottom: 32px;
    }
    
    .hp1-advantages,
    .hp1-service-grid,
    .hp1-doctors-grid,
    .hp1-price-grid,
    .hp1-reviews-slider {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .hp1-about-clinic {
        padding: 24px;
    }
    
    .hp1-about-text h3 {
        font-size: 1.3rem;
    }
    
    .hp1-about-stats {
        flex-direction: column;
    }
    
    .hp1-callback-form-wrapper {
        padding: 28px 20px;
    }
}

/* =============================================
     СТИЛИ ДЛЯ БЛОКА ОТЗЫВЫ
============================================= */

/* Основные переменные */
:root {
    --hp1-accent: #2DC5A4;
    --hp1-accent-dark: #239f84;
    --hp1-accent-light: #e0f5f0;
    --hp1-accent-gradient: linear-gradient(135deg, #2DC5A4 0%, #1a8f6e 100%);
    --hp1-text-dark: #1a2c3e;
    --hp1-text-gray: #5a6e7c;
    --hp1-text-light: #8ba0b5;
    --hp1-border: #e2eaf5;
    --hp1-card-bg: #ffffff;
    --hp1-bg-light: #f8f9fc;
}

/* Контейнер */
.hp1-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Секция */
.hp1-section {
    padding: 60px 0;
}

/* Заголовок секции */
.hp1-section-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2DC5A4 0%, #1a8f6e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: left;
    letter-spacing: -0.3px;
    margin-bottom: 16px;
    display: inline-block;
    position: relative;
}

/* Сетка отзывов */
.hp1-reviews-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.hp1-review-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 20px;
    padding: 28px;
    border: 1px solid #e2eaf5;
    transition: all 0.3s ease;
}

.hp1-review-card:hover {
    transform: translateY(-5px);
    border-color: #2DC5A4;
    box-shadow: 0 20px 35px -12px rgba(45, 197, 164, 0.15);
}

.hp1-review-card i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #2DC5A4 0%, #1a8f6e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.5;
    margin-bottom: 16px;
}

.hp1-review-card p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #5a6e7c;
    margin-bottom: 20px;
    font-style: italic;
    flex: 1;
}

.hp1-review-author {
    font-size: 0.8rem;
    font-weight: 600;
    color: #2DC5A4;
    margin-top: auto;
}

/* Адаптив */
@media (max-width: 1024px) {
    .hp1-reviews-slider {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hp1-container {
        padding: 0 16px;
    }
    
    .hp1-reviews-slider {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .hp1-review-card {
        padding: 20px;
    }
    
    .hp1-section-title {
        font-size: 1.5rem;
        margin-bottom: 32px;
    }
}

/* ============================================================
   ГЛАВНАЯ №2
============================================================ */

/* ========== БАЗОВЫЕ СТИЛИ ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    background-color: #fff;
    color: #1a2c3e;
    line-height: 1.5;
}

.hp2-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== ЗАГОЛОВКИ ========== */
.hp2-section-title-left {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #2DC5A4;
    text-align: left;
}

.hp2-section-subtitle-left {
    font-size: 1rem;
    color: #5a7a9a;
    margin-bottom: 40px;
    text-align: left;
}

.hp2-section-header-left {
    margin-bottom: 40px;
}

.hp2-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #2DC5A4;
    text-align: left;
}

/* ========== HERO БЛОК ========== */
.hp2-hero {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.hp2-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(45, 197, 164, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hp2-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(45, 197, 164, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hp2-hero__grid {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.hp2-hero__content {
    flex: 1;
    min-width: 300px;
}

.hp2-hero__content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a2c3e;
}

.hp2-hero__content p {
    font-size: 16px;
    line-height: 1.6;
    color: #5a6e7c;
    margin-bottom: 32px;
    max-width: 500px;
}

.hp2-hero__buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hp2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 15px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
}

.hp2-btn-primary {
    background: #2DC5A4;
    color: #fff;
    box-shadow: 0 4px 15px rgba(45, 197, 164, 0.3);
}

.hp2-btn-primary:hover {
    background: #25a88b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 197, 164, 0.4);
}

.hp2-btn-outline {
    background: transparent;
    border: 2px solid #2DC5A4;
    color: #2DC5A4;
}

.hp2-btn-outline:hover {
    background: rgba(45, 197, 164, 0.1);
    transform: translateY(-2px);
}

.hp2-hero__stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    padding-top: 8px;
    border-top: 1px solid rgba(45, 197, 164, 0.15);
}

.hp2-stat-item {
    display: flex;
    flex-direction: column;
}

.hp2-stat-number {
    font-size: 34px;
    font-weight: 800;
    color: #2DC5A4;
    line-height: 1.2;
    margin-bottom: 4px;
}

.hp2-stat-label {
    font-size: 13px;
    color: #7a8e9c;
    letter-spacing: 0.3px;
}

.hp2-hero__image {
    flex: 1;
    min-width: 300px;
}

.hp2-hero__image img {
    width: 100%;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.hp2-hero__image img:hover {
    transform: scale(1.02);
}

/* ========== БЛОК: НАШИ ПРЕИМУЩЕСТВА ========== */
.hp2-features-row {
    padding: 60px 0;
    background: #fff;
}

.hp2-features-row__grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    align-items: stretch;
}

.hp2-feature-card {
    text-align: center;
    flex: 1;
    min-width: 250px;
    padding: 40px 30px;
    background: #f8fafd;
    border-radius: 24px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hp2-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(45, 197, 164, 0.1);
}

.hp2-feature-card i {
    font-size: 2.5rem;
    color: #2DC5A4;
    margin-bottom: 16px;
}

.hp2-feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #2c6e9e;
}

.hp2-feature-card p {
    margin: 0;
}

/* ========== БЛОК: ЭКОСИСТЕМА ========== */
.hp2-ecosystem {
    padding: 60px 0;
    background: #f5faff;
}

.hp2-ecosystem__grid {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.hp2-ecosystem__content {
    flex: 1;
}

.hp2-ecosystem__content p {
    margin-bottom: 20px;
    color: #3a5a7a;
}

.hp2-ecosystem__features {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hp2-eco-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.hp2-eco-feature i {
    color: #2DC5A4;
    font-size: 1.2rem;
}

.hp2-ecosystem__image {
    flex: 1;
}

.hp2-ecosystem__image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ========== АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ ========== */
@media (max-width: 768px) {
    .hp2-ecosystem__features {
        justify-content: center;
    }
    
    .hp2-eco-feature {
        justify-content: center;
        flex: 0 1 auto;
    }
    
    .hp2-ecosystem__grid {
        flex-direction: column;
        text-align: center;
    }
    
    .hp2-ecosystem__content {
        text-align: center;
    }
    
    .hp2-section-title-left {
        text-align: center;
    }
}

/* ========== БЛОК: МЕДИЦИНСКИЕ ЦЕНТРЫ ========== */
.hp2-directions {
    padding: 60px 0;
    background: #fff;
}

.hp2-directions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.hp2-direction-card {
    background: white;
    padding: 30px;
    padding-bottom: 80px;
    border-radius: 24px;
    border: 1px solid #e5effa;
    transition: 0.3s;
    position: relative;
    height: 100%;
}

.hp2-direction-card:hover {
    transform: translateY(-5px);
    border-color: #2DC5A4;
    box-shadow: 0 10px 30px rgba(45, 197, 164, 0.1);
}

.hp2-direction-card i {
    font-size: 2.5rem;
    color: #2DC5A4;
    margin-bottom: 20px;
}

.hp2-direction-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #2c6e9e;
}

.hp2-direction-card p {
    margin-bottom: 0;
}

.hp2-card-link {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: #2DC5A4;
    text-decoration: none;
    font-weight: 500;
}

/* ========== БЛОК: ВРАЧИ ========== */
.hp2-doctors {
    padding: 60px 0;
    background: #f5faff;
}

.hp2-doctors__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.hp2-doctor-card {
    background: white;
    text-align: center;
    padding: 30px 20px;
    padding-bottom: 80px;
    border-radius: 24px;
    transition: 0.3s;
    position: relative;
    height: 100%;
}

.hp2-doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hp2-doctor-avatar {
    width: 180px;
    height: 180px;
    margin: 0 auto 18px;
    border-radius: 20%;
    overflow: hidden;
    flex-shrink: 0;
}

.hp2-doctor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp2-doctor-card h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #2DC5A4;
}

.hp2-doctor-spec {
    color: #5f7d8f;
    font-size: 0.9rem;
}

.hp2-doctor-exp {
    font-size: 0.8rem;
    color: #8ba0b5;
    margin: 8px 0 16px;
}

.hp2-doctor-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    border: 1px solid #2DC5A4;
    padding: 10px 20px;
    border-radius: 30px;
    color: #2DC5A4;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
    width: fit-content;
    white-space: nowrap;
}

.hp2-doctor-btn:hover {
    background: #2DC5A4;
    color: white;
}

/* ========== БЛОК: ПОДБОР ВРАЧА ========== */
.hp2-doctor-select {
    padding: 60px 0;
    background: linear-gradient(135deg, #2DC5A4 0%, #1a3a55 100%);
    color: white;
    border-radius: 10px;
}

.hp2-doctor-select__wrapper {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.hp2-doctor-select__header {
    margin-bottom: 30px;
}

.hp2-doctor-select__title {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: white;
}

.hp2-doctor-select__desc {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.hp2-form-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
}

.hp2-form-submit {
    text-align: center;
    margin-top: 20px;
}

.hp2-input {
    padding: 14px 20px;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    min-width: 200px;
    background: white;
}

.hp2-select {
 padding: 14px 35px 14px 20px; /* Увеличиваем правый отступ для стрелки */
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    min-width: 200px;
    background: white;
    appearance: none; /* Убираем стандартную стрелку */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232DC5A4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    cursor: pointer;
}

.hp2-btn-submit {
    background: transparent;
    color: black;
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid #2DC5A4;
    cursor: pointer;
    transition: 0.3s;
    display: inline-block;
}

.hp2-btn-submit:hover {
    background: #25a88b;
    transform: translateY(-2px);
}

/* ========== БЛОК: ПРАЙС-ЛИСТ ========== */
.hp2-prices {
    padding: 60px 0;
    background: #fff;
}

.hp2-prices__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.hp2-price-card {
    background: white;
    border-radius: 24px;
    padding: 28px;
    border: 1px solid #e2effa;
}

.hp2-price-card h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    border-left: 4px solid #2DC5A4;
    padding-left: 15px;
    color: #2c6e9e;
}

.hp2-price-card ul {
    list-style: none;
}

.hp2-price-card li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #e0eaf5;
}

.hp2-price-card li span:last-child {
    color: #2DC5A4;
    font-weight: 600;
}

.hp2-price-note {
    text-align: center;
    margin-top: 30px;
    padding: 12px;
    background: #eef4fc;
    border-radius: 40px;
    color: #2c6e9e;
}

/* ========== БЛОК: ОТЗЫВЫ ========== */

.hp2-reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.hp2-review-card {
    background: white;
    padding: 28px;
    padding-bottom: 70px;
    border-radius: 24px;
    position: relative;
    height: 100%;
}

.hp2-review-date {
    font-size: 0.8rem;
    color: #8ba0b5;
    margin-bottom: 8px;
}

.hp2-review-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #2DC5A4;
}

.hp2-review-card p {
    margin-bottom: 16px;
}

.hp2-review-expand {
    position: absolute;
    bottom: 28px;
    left: 28px;
    background: none;
    border: none;
    color: #2DC5A4;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    padding: 0;
}

/* ========== БЛОК: ФАКТЫ ========== */
.hp2-facts {
    padding: 60px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f5faff 100%);
    overflow: hidden;
}

.hp2-facts__wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hp2-facts__image {
    flex: 1;
    min-width: 280px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hp2-facts__image:hover {
    transform: scale(1.02);
}

.hp2-facts__image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hp2-facts__content {
    flex: 1.2;
    min-width: 280px;
}

.hp2-facts__content .hp2-section-title-left {
    margin-bottom: 30px;
}

.hp2-facts__stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    background: white;
    padding: 25px 30px;
    border-radius: 24px;
    box-shadow: 0 10px 25px rgba(45, 197, 164, 0.08);
}

.hp2-fact-item {
    text-align: center;
    flex: 1;
}

.hp2-fact-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2DC5A4;
    display: block;
    line-height: 1.2;
}

.hp2-fact-label {
    font-size: 0.85rem;
    color: #6a8aaa;
    font-weight: 500;
}

.hp2-facts__details {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.hp2-fact-detail {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    background: white;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid #e5effa;
}

.hp2-fact-detail:hover {
    transform: translateY(-5px);
    border-color: #2DC5A4;
    box-shadow: 0 10px 25px rgba(45, 197, 164, 0.1);
}

.hp2-fact-detail__icon {
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 197, 164, 0.65);
    border-radius: 18px;
    flex-shrink: 0;
}

.hp2-fact-detail__icon i {
    font-size: 1.8rem;
    color: #2DC5A4;
}

.hp2-fact-detail__text strong {
    font-size: 1rem;
    color: #2c6e9e;
    display: block;
    margin-bottom: 4px;
}

.hp2-fact-detail__text p {
    font-size: 0.85rem;
    color: #6a8aaa;
    margin: 0;
}

/* ========== БЛОК: ФОРМА ОБРАТНОЙ СВЯЗИ ========== */
.hp2-callback-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5faff 0%, #e8f3fc 100%);
}

.hp2-callback__wrapper {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.hp2-callback__wrapper h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: #2DC5A4;
}

.hp2-callback__wrapper .hp2-form-group {
    margin-bottom: 16px;
}

.hp2-callback__wrapper input {
    width: 100%;
    padding: 16px 20px;
    border-radius: 50px;
    border: 1px solid #e2effa;
    font-size: 1rem;
}

.hp2-form-agreement {
    font-size: 0.7rem;
    color: #8ba0b5;
    margin-top: 16px;
}

/* ========== БЛОК: FAQ ========== */
.hp2-faq {
    padding: 60px 0;
    background: #fff;
}

.hp2-faq__grid {
    max-width: 900px;
    margin: 0 auto;
}

.hp2-faq-item {
    margin-bottom: 16px;
    border: 1px solid #e2effa;
    border-radius: 20px;
    overflow: hidden;
}

.hp2-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    background: white;
    color: #2c6e9e;
}

.hp2-faq-question i {
    transition: 0.3s;
    color: #2DC5A4;
}

.hp2-faq-item.active .hp2-faq-question i {
    transform: rotate(180deg);
}

.hp2-faq-answer {
    display: none;
    padding: 0 24px 20px;
    border-top: 1px solid #e2effa;
    color: #5a7a9a;
}

.hp2-faq-item.active .hp2-faq-answer {
    display: block;
}

/* ========== БЛОК: КАРТА ========== */
.hp2-map-section {
    padding: 60px 0;
    background: #f5faff;
}

.hp2-map__wrapper {
    background: #f2f6fc;
    border-radius: 24px;
    overflow: hidden;
}

.hp2-map__address {
    padding: 20px 24px;
    background: white;
    margin: 16px;
    border-radius: 16px;
}

.hp2-work-time {
    margin-top: 8px;
    color: #5a7a9a;
    font-size: 0.9rem;
}

/* ========== АДАПТИВ ========== */
@media (max-width: 992px) {
    .hp2-hero {
        padding: 60px 0;
    }
    
    .hp2-hero__content h1 {
        font-size: 38px;
    }
    
    .hp2-hero__stats {
        gap: 32px;
    }
    
    .hp2-stat-number {
        font-size: 28px;
    }
    
    .hp2-facts__wrapper {
        flex-direction: column;
    }
    
    .hp2-facts__image {
        max-width: 500px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hp2-container {
        padding: 0 16px;
    }
    
    .hp2-hero {
        padding: 40px 0;
    }
    
    .hp2-hero__grid {
        flex-direction: column;
        gap: 40px;
    }
    
    .hp2-hero__content {
        text-align: center;
    }
    
    .hp2-hero__content h1 {
        font-size: 32px;
    }
    
    .hp2-hero__content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hp2-hero__buttons {
        justify-content: center;
    }
    
    .hp2-hero__stats {
        justify-content: center;
    }
    
    .hp2-stat-item {
        align-items: center;
    }
    
    .hp2-features-row__grid {
        flex-direction: column;
    }
    
    .hp2-ecosystem__grid {
        flex-direction: column;
    }
    
    .hp2-facts__stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hp2-fact-item {
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 15px;
    }
    
    .hp2-fact-number {
        font-size: 1.8rem;
    }
    
    .hp2-facts__details {
        flex-direction: column;
        gap: 15px;
    }
    
    .hp2-fact-detail:hover {
        transform: translateX(5px);
    }
    
    .hp2-direction-card {
        padding-bottom: 70px;
    }
    
    .hp2-card-link {
        bottom: 25px;
        left: 25px;
    }
    
    .hp2-doctor-card {
        padding-bottom: 70px;
    }
    
    .hp2-review-card {
        padding-bottom: 60px;
    }
    
    .hp2-review-expand {
        bottom: 20px;
        left: 20px;
    }
}

@media (max-width: 480px) {
    .hp2-hero__content h1 {
        font-size: 28px;
    }
    
    .hp2-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .hp2-hero__buttons {
        gap: 12px;
        flex-direction: column;
    }
    
    .hp2-btn {
        width: 100%;
    }
    
    .hp2-stat-number {
        font-size: 24px;
    }
    
    .hp2-section-title-left,
    .hp2-section-title {
        font-size: 1.6rem;
    }
    
    .hp2-doctor-btn {
        white-space: normal;
        font-size: 14px;
        padding: 8px 16px;
    }
}

/* ============================================================
   ГЛАВНАЯ №3
============================================================ */

/* ----- ОСНОВНЫЕ КОНТЕЙНЕРЫ ----- */
.clinic-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ----- ЦВЕТА ----- */
:root {
    --primary: #2DC5A4;
    --primary-dark: #239f84;
    --primary-light: #e0f5f0;
    --dark: #1a2c3e;
    --gray: #5a6e7c;
    --gray-light: #8a9caa;
    --border: #e2eaf5;
    --bg-light: #f8f9fc;
}

/* ----- ЗАГОЛОВКИ (ОБЩИЕ) ----- */
.clinic-section__title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: var(--dark);
}
.clinic-section__title span {
    color: var(--primary);
}
.clinic-section__subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 48px;
    font-size: 1rem;
}

/* ----- КНОПКИ (ОБЩИЕ) ----- */
.clinic-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}


/* ============================================================
   БЛОК 1: HERO С ФОТО (clinic-hero)
   ============================================================ */

.clinic-hero {
    position: relative;
    padding: 100px 0;
    text-align: center;
    color: white;
    border-radius: 30px;
    margin-bottom: 40px;
    overflow: hidden;
}
.clinic-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.clinic-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.clinic-hero .clinic-container {
    position: relative;
    z-index: 1;
}
.clinic-hero__title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.clinic-hero__title span {
    color: var(--primary);
}
.clinic-hero__desc {
    font-size: 1rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.clinic-hero__buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}
.clinic-hero .clinic-btn--primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(45, 197, 164, 0.3);
}
.clinic-hero .clinic-btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}
.clinic-hero .clinic-btn--outline {
    background: transparent;
    border: 1px solid white;
    color: white;
}
.clinic-hero .clinic-btn--outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--primary);
    color: var(--primary);
}
.clinic-hero__stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.clinic-stat {
    text-align: center;
}
.clinic-stat__number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.clinic-stat__label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}


/* ============================================================
   БЛОК 2: МЕДИЦИНСКИЕ ЦЕНТРЫ (clinic-centers)
   ============================================================ */

.clinic-centers {
    --primary: #2DC5A4;
    --gray: #5a6e7c;
    --dark: #1a2c3e;
    --border: #e2eaf5;
    
    padding: 60px 0;
}

.clinic-centers__header {
    text-align: center;
    margin-bottom: 30px;
}

.clinic-centers__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    text-align: center;
}

.clinic-centers__title span {
    color: var(--primary);
}

.clinic-centers__subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 400;
    text-align: center;
}

.clinic-centers__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    margin-top: 20px;
}

.clinic-center__card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    background-size: cover;
    background-position: center;
    background-color: #f5f7fa;
}

.clinic-center__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--primary);
}

.clinic-center__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.clinic-center__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clinic-center__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
    transition: all 0.3s ease;
}

.clinic-center__card:hover .clinic-center__overlay {
    background: linear-gradient(135deg, rgba(45, 197, 164, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.clinic-center__title {
    position: absolute;
    bottom: 130px;
    left: 20px;
    right: 20px;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    z-index: 1;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.clinic-center__link {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: inline-block;
    padding: 8px 20px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    z-index: 1;
    border: 1px solid white;
    border-radius: 40px;
    background: transparent;
    transition: all 0.3s ease;
}

.clinic-center__link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.clinic-centers__footer {
    text-align: center;
}

.clinic-btn--all {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 10px 30px;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.clinic-btn--all:hover {
    background: var(--primary);
    color: white;
}


/* ============================================================
   БЛОК 3: ФОРМА ЗАПИСИ (clinic-form)
   ============================================================ */

.clinic-form {
    padding: 60px 0;
}
.clinic-form__inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.clinic-form__title {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--dark);
}
.clinic-form__desc {
    color: var(--gray);
    margin-bottom: 30px;
}
.clinic-form__fields {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}
.clinic-input {
    padding: 14px 20px;
    border: 1px solid var(--border);
    border-radius: 40px;
    font-size: 0.9rem;
    min-width: 240px;
    flex: 1;
    transition: all 0.3s ease;
}
.clinic-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 197, 164, 0.1);
}
.clinic-btn--form {
    background: var(--primary);
    color: white;
    border: none;
}
.clinic-btn--form:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}


/* ============================================================
   БЛОК 4: О МЕДИЦИНСКОМ ЦЕНТРЕ (clinic-about)
   ============================================================ */

.clinic-about {
    --primary: #2DC5A4;
    --gray: #5a6e7c;
    --dark: #1a2c3e;
    
    padding: 60px 0;
}

.clinic-about__grid {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.clinic-about__text {
    flex: 1;
    text-align: left;
}

.clinic-about__text-p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: left;
}

.clinic-about__image {
    flex: 1;
}

.clinic-about__image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    display: block;
}

.clinic-about__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    letter-spacing: -0.02em;
    text-align: left;
}

.clinic-about__title span {
    color: var(--primary);
}


/* ============================================================
   БЛОК 5: ПРЕИМУЩЕСТВА (clinic-advantages)
   ============================================================ */

.clinic-advantages {
    --primary: #2DC5A4;
    --border: #e2eaf5;
    --gray: #5a6e7c;
    
    padding: 60px 0;
}

.clinic-advantages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.clinic-advantage__card {
    background: white;
    padding: 28px 24px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    
    /* Добавляем flex для вертикального выравнивания */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.clinic-advantage__card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.clinic-advantage__number {
    font-size: 2rem;
    font-weight: 700;
    color: #e2eaf5;
    line-height: 1;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.clinic-advantage__card:hover .clinic-advantage__number {
    color: var(--primary);
}

.clinic-advantage__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
}

.clinic-advantage__desc {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.5;
    margin-top: auto; /* Прижимает текст к низу */
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .clinic-advantage__card {
        padding: 20px;
        text-align: center;
    }
}


/* ============================================================
   БЛОК 6: ВРАЧИ (clinic-doctors) - СЛАЙДЕР
   ============================================================ */

.clinic-doctors {
    padding: 60px 0;
    position: relative;
    background: white;
}

.clinic-doctors__header {
    text-align: center;
    margin-bottom: 48px;
}

.clinic-doctors__title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a2c3e;
    margin-bottom: 8px;
}

.clinic-doctors__title span {
    color: #2DC5A4;
}

.clinic-doctors__subtitle {
    font-size: 1rem;
    color: #5a6e7c;
}

/* Swiper контейнер */
.doctorSwiper {
    padding: 10px 40px 50px 40px;
    overflow: hidden;
    margin-bottom: 30px;
}

/* ВЫРАВНИВАЕМ ВЫСОТУ СЛАЙДОВ */
.doctorSwiper .swiper-wrapper {
    align-items: stretch;
}

.doctorSwiper .swiper-slide {
    height: auto;
    display: flex;
    flex-direction: column;
}

/* ============================================================
   КАРТОЧКА ВРАЧА С ФИКСОМ ВЫРАВНИВАНИЯ СТАЖА
   ============================================================ */

.clinic-doctor__card {
    text-align: center;
    padding: 28px 20px;
    background: white;
    border: 1px solid #e2eaf5;
    border-radius: 24px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.clinic-doctor__card:hover {
    transform: translateY(-6px);
    border-color: #2DC5A4;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* ----- ФИКС: все блоки не сжимаются, кроме стажа ----- */

.clinic-doctor__img {
    width: 180px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 10%;
    overflow: hidden;
    flex-shrink: 0; /* фото не сжимается */
}

.clinic-doctor__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.clinic-doctor__name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #1a2c3e;
    flex-shrink: 0; /* имя не сжимается */
}

.clinic-doctor__spec {
    font-size: 0.85rem;
    color: #2DC5A4;
    font-weight: 500;
    margin-bottom: 4px;
    flex-shrink: 0; /* должность не сжимается */
}

/* стаж растягивается и прижимается к низу */
.clinic-doctor__exp {
    font-size: 0.8rem;
    color: #5a6e7c;
    flex: 1; /* занимает всё свободное место */
    display: flex;
    align-items: flex-end; /* текст стажа прижат к нижнему краю */
    justify-content: center;
    margin-bottom: 16px;
}

/* Кнопки прижимаются к низу */
.clinic-doctor__buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    flex-shrink: 0; /* кнопки не сжимаются */
}

/* --------------------------------------------------------- */

.clinic-doctor__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.clinic-doctor__btn--primary {
    background: #2DC5A4;
    border: 1px solid #2DC5A4;
    color: white;
}

.clinic-doctor__btn--primary:hover {
    background: #239f84;
    transform: translateY(-2px);
}

.clinic-doctor__btn--outline {
    background: transparent;
    border: 1px solid #2DC5A4;
    color: #2DC5A4;
}

.clinic-doctor__btn--outline:hover {
    background: #2DC5A4;
    color: white;
    transform: translateY(-2px);
}

/* Стрелки Swiper */
.doctorSwiper .swiper-button-prev,
.doctorSwiper .swiper-button-next {
    width: 44px;
    height: 44px;
    background: white;
    border: 1px solid #e2eaf5;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.doctorSwiper .swiper-button-prev:after,
.doctorSwiper .swiper-button-next:after {
    font-family: swiper-icons;
    font-size: 18px;
    font-weight: bold;
    color: #1a2c3e;
}

.doctorSwiper .swiper-button-prev:hover,
.doctorSwiper .swiper-button-next:hover {
    background: #2DC5A4;
    border-color: #2DC5A4;
}

.doctorSwiper .swiper-button-prev:hover:after,
.doctorSwiper .swiper-button-next:hover:after {
    color: white;
}

.doctorSwiper .swiper-button-prev {
    left: 0;
}

.doctorSwiper .swiper-button-next {
    right: 0;
}

/* Пагинация (точки) */
.doctorSwiper .swiper-pagination {
    bottom: 0;
    position: relative;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.doctorSwiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #e2eaf5;
    opacity: 1;
    border-radius: 50%;
    margin: 0;
}

.doctorSwiper .swiper-pagination-bullet-active {
    background: #2DC5A4;
    width: 24px;
    border-radius: 5px;
}

/* Кнопка "Все врачи" */
.clinic-doctors__footer {
    text-align: center;
    margin-top: 20px;
}

.clinic-doctors__btn-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid #2DC5A4;
    color: #2DC5A4;
    padding: 10px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.clinic-doctors__btn-all:hover {
    background: #2DC5A4;
    color: white;
    transform: translateY(-2px);
}

/* ============================================================
   АДАПТИВ
   ============================================================ */

/* Мобильные устройства (до 768px) */
@media (max-width: 768px) {
    .clinic-doctor__img {
        width: 150px;
        height: 150px;
        margin: 0 auto 15px;
    }
}

/* Очень маленькие экраны (до 480px) */
@media (max-width: 480px) {
    .clinic-doctor__img {
        width: 120px;
        height: 120px;
        margin: 0 auto 12px;
    }
}

/* ============================================================
   БЛОК 7: ОТЗЫВЫ (clinic-reviews)
   ============================================================ */

.clinic-reviews {
    padding: 60px 0;
}

.clinic-reviews__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.clinic-review__card {
    background: white;
    padding: 28px;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
    height: 100%;
}

.clinic-review__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.clinic-review__avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.clinic-review__content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.clinic-review__text {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: normal;
    flex: 1;
}

.clinic-review__author-wrapper {
    margin-top: auto;
}

.clinic-review__author {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.clinic-review__info {
    font-size: 0.75rem;
    color: var(--gray-light);
}

.clinic-reviews__button {
    text-align: center;
}

.clinic-reviews__button .clinic-btn--outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 12px 32px;
}

.clinic-reviews__button .clinic-btn--outline:hover {
    background: var(--primary);
    color: white;
}


/* ============================================================
   БЛОК 8: КОНТАКТЫ (clinic-contacts)
   ============================================================ */

.clinic-contacts {
    padding: 60px 0;
}

.clinic-contacts__grid {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.clinic-contacts__info {
    flex: 1;
    background: var(--bg-light);
    padding: 32px;
    border-radius: 20px;
}

.clinic-contacts__item {
    margin: 16px 0;
    font-size: 1rem;
    color: var(--dark);
}

.clinic-contacts__item a {
    color: var(--dark);
    text-decoration: none;
}

.clinic-contacts__item a:hover {
    color: var(--primary);
}

.clinic-contacts__map {
    flex: 1;
    min-height: 350px;
    border-radius: 20px;
    overflow: hidden;
    background: #e2eaf5;
}

.clinic-contacts__map iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: 0;
    display: block;
}


/* ============================================================
   БЛОК 9: ПРАЙС-ЛИСТ (clinic-prices)
   ============================================================ */

.clinic-prices {
    padding: 30px 0;
}

.clinic-prices__header {
    text-align: center;
    margin-bottom: 48px;
}

.clinic-prices__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.clinic-price__card {
    background: white;
    border-radius: 24px;
    padding: 32px 24px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.clinic-price__card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.clinic-price__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.clinic-price__icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.clinic-price__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.clinic-price__item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border);
}

.clinic-price__item:last-child {
    border-bottom: none;
}

.clinic-price__item-name {
    font-size: 0.9rem;
    color: var(--dark);
}

.clinic-price__item-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

.clinic-prices__footer {
    text-align: center;
}

.clinic-prices__note {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 20px;
}

.clinic-prices__footer .clinic-btn--outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 12px 32px;
}

.clinic-prices__footer .clinic-btn--outline:hover {
    background: var(--primary);
    color: white;
}


/* ============================================================
   БЛОК 10: ФАКТЫ О КЛИНИКЕ (clinic-facts)
   ============================================================ */

.clinic-facts {
    position: relative;
    padding: 80px 0;
    color: white;
    overflow: hidden;
    text-align: center;
    border-radius: 30px;
    margin: 0 20px;
    width: calc(100% - 40px);
}

.clinic-facts__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    border-radius: 30px;
    overflow: hidden;
}

.clinic-facts__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clinic-facts__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.clinic-facts .clinic-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.clinic-facts__content {
    max-width: 900px;
    margin: 0 auto;
}

.clinic-facts__badge {
    display: inline-block;
    background: rgba(45, 197, 164, 0.2);
    backdrop-filter: blur(4px);
    color: var(--primary-light);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.clinic-facts__title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 48px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.clinic-facts__title span {
    color: var(--primary);
}

.clinic-facts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.clinic-facts__item {
    border-left: 3px solid var(--primary);
    padding-left: 20px;
    text-align: left;
}

.clinic-facts__number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 8px;
}

.clinic-facts__label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
}


/* ============================================================
   БЛОК 11: ВОПРОСЫ И ОТВЕТЫ (clinic-faq)
   ============================================================ */

.clinic-faq {
    padding: 60px 0;
    background: white;
}

.clinic-faq__header {
    text-align: center;
    margin-bottom: 48px;
}

.clinic-faq__grid {
    max-width: 800px;
    margin: 0 auto;
}

.clinic-faq__item {
    background: var(--bg-light);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.clinic-faq__item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.clinic-faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.clinic-faq__question span:first-child {
    flex: 1;
    padding-right: 20px;
}

.clinic-faq__icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.clinic-faq__answer {
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    max-height: 0;
    padding: 0 24px;
}

.clinic-faq__item.active .clinic-faq__answer {
    max-height: 300px;
    padding: 0 24px 24px 24px;
}

.clinic-faq__item.active .clinic-faq__icon {
    transform: rotate(45deg);
}

.clinic-faq__answer p {
    margin: 0;
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.9rem;
}


/* ============================================================
   БЛОК 12: ПОДБОР ВРАЧА (clinic-doctor-select)
   ============================================================ */

.clinic-doctor-select {
    padding: 60px 0;
}

.clinic-doctor-select__inner {
    background: linear-gradient(135deg, #fff 0%, var(--bg-light) 100%);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

.clinic-doctor-select__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.clinic-doctor-select__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.clinic-doctor-select__title span {
    color: var(--primary);
}

.clinic-doctor-select__desc {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 32px;
}

.clinic-doctor-select__fields {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.clinic-doctor-select__field {
    flex: 1;
    min-width: 200px;
}

.clinic-select {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--border);
    border-radius: 40px;
    font-size: 0.9rem;
    background: white;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232DC5A4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
}

.clinic-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 197, 164, 0.1);
}

.clinic-btn--select {
    background: var(--primary);
    color: white;
    width: auto;
    justify-content: center;
    padding: 10px 24px;
    font-size: 0.85rem;
}

.clinic-btn--select:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.clinic-doctor-select__agree {
    font-size: 0.7rem;
    color: var(--gray-light);
    text-align: center;
    margin-top: 16px;
}


/* ============================================================
   АДАПТИВ ДЛЯ ВСЕХ УСТРОЙСТВ
   ============================================================ */

/* ----- ПЛАНШЕТЫ (до 1024px) ----- */
@media (max-width: 1024px) {
    /* ОБЩИЕ */
    .clinic-section__title {
        font-size: 1.8rem;
    }
    .clinic-section__subtitle {
        font-size: 0.95rem;
        margin-bottom: 35px;
    }

    /* БЛОК 1: HERO */
    .clinic-hero {
        padding: 70px 0;
        border-radius: 25px;
    }
    .clinic-hero__title {
        font-size: 2.4rem;
    }
    .clinic-hero__stats {
        gap: 30px;
    }
    .clinic-stat__number {
        font-size: 1.5rem;
    }

    /* БЛОК 2: МЕДИЦИНСКИЕ ЦЕНТРЫ */
    .clinic-centers {
        padding: 50px 0;
    }
    .clinic-centers__title {
        font-size: 1.8rem;
    }
    .clinic-centers__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* БЛОК 3: ФОРМА ЗАПИСИ */
    .clinic-form__fields {
        flex-direction: column;
        align-items: center;
    }
    .clinic-input {
        min-width: 100%;
    }

    /* БЛОК 4: О НАС */
    .clinic-about__grid {
        flex-direction: column;
        text-align: center;
    }
    .clinic-about__text {
        text-align: center;
    }
    .clinic-about__text-p {
        text-align: center;
    }
    .clinic-about__title {
        text-align: center;
    }
    .clinic-about__image img {
        margin: 0 auto;
    }

    /* БЛОК 5: ПРЕИМУЩЕСТВА */
    .clinic-advantages__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* БЛОК 6: ВРАЧИ */
    .doctorSwiper {
        padding: 10px 30px 50px 30px;
    }
    .doctorSwiper .swiper-button-prev,
    .doctorSwiper .swiper-button-next {
        width: 36px;
        height: 36px;
    }
    .doctorSwiper .swiper-button-prev:after,
    .doctorSwiper .swiper-button-next:after {
        font-size: 14px;
    }
    .clinic-doctor__img {
        width: 150px;
        height: 150px;
    }

    /* БЛОК 7: ОТЗЫВЫ */
    .clinic-reviews__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* БЛОК 8: КОНТАКТЫ */
    .clinic-contacts__grid {
        flex-direction: column;
        gap: 30px;
    }
    .clinic-contacts__map {
        min-height: 300px;
    }
    .clinic-contacts__map iframe {
        min-height: 300px;
    }

    /* БЛОК 9: ПРАЙС-ЛИСТ */
    .clinic-prices__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* БЛОК 10: ФАКТЫ */
    .clinic-facts {
        padding: 60px 0;
        border-radius: 25px;
        margin: 0 15px;
        width: calc(100% - 30px);
    }
    .clinic-facts__bg {
        border-radius: 25px;
    }
    .clinic-facts__overlay {
        border-radius: 25px;
    }
    .clinic-facts__title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    .clinic-facts__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        max-width: 600px;
    }

    /* БЛОК 11: FAQ */
    .clinic-faq__question {
        padding: 16px 20px;
        font-size: 0.95rem;
    }

    /* БЛОК 12: ПОДБОР ВРАЧА */
    .clinic-doctor-select__inner {
        padding: 40px 30px;
    }
    .clinic-doctor-select__title {
        font-size: 1.8rem;
    }
    .clinic-doctor-select__fields {
        flex-direction: column;
        gap: 12px;
    }
    .clinic-doctor-select__field {
        min-width: 100%;
    }
}


/* ----- МОБИЛЬНЫЕ ТЕЛЕФОНЫ (до 768px) ----- */
@media (max-width: 768px) {
    /* ОБЩИЕ */
    .clinic-container {
        padding: 0 15px;
    }
    .clinic-section__title {
        font-size: 1.5rem;
    }
    .clinic-section__subtitle {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }
    .clinic-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }

    /* БЛОК 1: HERO */
    .clinic-hero {
        padding: 50px 0;
        border-radius: 20px;
        margin-bottom: 30px;
    }
    .clinic-hero__title {
        font-size: 1.8rem;
    }
    .clinic-hero__desc {
        font-size: 0.9rem;
    }
    .clinic-hero__buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .clinic-hero .clinic-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    .clinic-hero__stats {
        gap: 20px;
        flex-wrap: wrap;
    }
    .clinic-stat__number {
        font-size: 1.3rem;
    }
    .clinic-stat__label {
        font-size: 0.7rem;
    }

    /* БЛОК 2: МЕДИЦИНСКИЕ ЦЕНТРЫ */
    .clinic-centers {
        padding: 40px 0;
    }
    .clinic-centers__title {
        font-size: 1.5rem;
    }
    .clinic-centers__subtitle {
        font-size: 0.9rem;
    }
    .clinic-centers__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .clinic-center__card {
        aspect-ratio: 16 / 9;
    }
    .clinic-center__title {
        font-size: 1rem;
        bottom: 110px;
        left: 15px;
        right: 15px;
    }
    .clinic-center__link {
        font-size: 0.75rem;
        padding: 6px 16px;
        bottom: 15px;
        left: 15px;
    }

    /* БЛОК 3: ФОРМА ЗАПИСИ */
    .clinic-form {
        padding: 40px 0;
    }
    .clinic-form__title {
        font-size: 1.3rem;
    }
    .clinic-form__desc {
        font-size: 0.9rem;
    }
    .clinic-form__fields {
        flex-direction: column;
        gap: 12px;
    }
    .clinic-input {
        min-width: 100%;
        padding: 12px 16px;
        font-size: 0.85rem;
    }
    .clinic-btn--form {
        width: 100%;
        justify-content: center;
    }

    /* БЛОК 4: О НАС */
    .clinic-about {
        padding: 40px 0;
    }
    .clinic-about__title {
        font-size: 1.5rem;
        text-align: center;
    }
    .clinic-about__text-p {
        font-size: 0.9rem;
        text-align: center;
    }
    .clinic-about__grid {
        flex-direction: column;
        gap: 30px;
    }
    .clinic-about__image img {
        max-width: 100%;
    }

    /* БЛОК 5: ПРЕИМУЩЕСТВА */
    .clinic-advantages {
        padding: 40px 0;
    }
    .clinic-advantages__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .clinic-advantage__card {
        padding: 20px;
        text-align: center;
    }
    .clinic-advantage__number {
        font-size: 1.5rem;
    }
    .clinic-advantage__title {
        font-size: 1rem;
    }
    .clinic-advantage__desc {
        font-size: 0.8rem;
    }

    /* БЛОК 6: ВРАЧИ */
    .clinic-doctors {
        padding: 40px 0;
    }
    .clinic-doctors__title {
        font-size: 1.5rem;
    }
    .clinic-doctors__subtitle {
        font-size: 0.9rem;
    }
    .doctorSwiper {
        padding: 10px 15px 40px 15px;
    }
    .doctorSwiper .swiper-button-prev,
    .doctorSwiper .swiper-button-next {
        display: none;
    }
    .clinic-doctor__card {
        padding: 20px 15px;
    }
    .clinic-doctor__img {
        width: 120px;
        height: 120px;
    }
    .clinic-doctor__name {
        font-size: 1rem;
    }
    .clinic-doctor__spec {
        font-size: 0.8rem;
    }
    .clinic-doctor__exp {
        font-size: 0.75rem;
    }
    .clinic-doctor__buttons {
        flex-direction: column;
        gap: 8px;
    }
    .clinic-doctor__btn {
        width: 100%;
        justify-content: center;
    }
    .clinic-doctors__btn-all {
        width: 100%;
        justify-content: center;
    }

    /* БЛОК 7: ОТЗЫВЫ */
    .clinic-reviews {
        padding: 40px 0;
    }
    .clinic-review__card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 20px;
        gap: 15px;
    }
    .clinic-review__avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    .clinic-review__text {
        font-size: 0.85rem;
        text-align: center;
    }
    .clinic-review__author {
        font-size: 1rem;
    }
    .clinic-reviews__button .clinic-btn--outline {
        width: 100%;
        justify-content: center;
    }

    /* БЛОК 8: КОНТАКТЫ */
    .clinic-contacts {
        padding: 40px 0;
    }
    .clinic-contacts__info {
        padding: 20px;
    }
    .clinic-contacts__item {
        font-size: 0.9rem;
        word-break: break-word;
    }
    .clinic-contacts__map {
        min-height: 250px;
    }
    .clinic-contacts__map iframe {
        min-height: 250px;
    }

    /* БЛОК 9: ПРАЙС-ЛИСТ */
    .clinic-prices {
        padding: 40px 0;
    }
    .clinic-prices__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .clinic-price__card {
        padding: 24px 20px;
    }
    .clinic-price__title {
        font-size: 1.3rem;
    }
    .clinic-price__item {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }
    .clinic-price__item-name {
        font-size: 0.85rem;
    }
    .clinic-price__item-price {
        font-size: 0.85rem;
    }

    /* БЛОК 10: ФАКТЫ */
    .clinic-facts {
        padding: 40px 0;
        border-radius: 20px;
        margin: 0 12px;
        width: calc(100% - 24px);
    }
    .clinic-facts__bg {
        border-radius: 20px;
    }
    .clinic-facts__overlay {
        border-radius: 20px;
    }
    .clinic-facts__title {
        font-size: 1.5rem;
        margin-bottom: 32px;
    }
    .clinic-facts__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 280px;
    }
    .clinic-facts__number {
        font-size: 1.6rem;
    }
    .clinic-facts__item {
        padding-left: 15px;
        text-align: left;
    }
    .clinic-facts__label {
        font-size: 0.8rem;
    }

    /* БЛОК 11: FAQ */
    .clinic-faq {
        padding: 40px 0;
    }
    .clinic-faq__question {
        padding: 14px 16px;
        font-size: 0.9rem;
    }
    .clinic-faq__question span:first-child {
        padding-right: 12px;
    }
    .clinic-faq__icon {
        font-size: 1.2rem;
    }
    .clinic-faq__answer {
        padding: 0 16px;
    }
    .clinic-faq__item.active .clinic-faq__answer {
        padding: 0 16px 16px 16px;
    }
    .clinic-faq__answer p {
        font-size: 0.85rem;
    }

    /* БЛОК 12: ПОДБОР ВРАЧА */
    .clinic-doctor-select {
        padding: 40px 0;
    }
    .clinic-doctor-select__inner {
        padding: 24px 16px;
        border-radius: 20px;
    }
    .clinic-doctor-select__title {
        font-size: 1.4rem;
    }
    .clinic-doctor-select__desc {
        font-size: 0.9rem;
    }
    .clinic-select {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
    .clinic-btn--select {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }
}


/* ----- МАЛЕНЬКИЕ ТЕЛЕФОНЫ (до 480px) ----- */
@media (max-width: 480px) {
    /* ОБЩИЕ */
    .clinic-container {
        padding: 0 12px;
    }
    .clinic-section__title {
        font-size: 1.3rem;
    }
    .clinic-section__subtitle {
        font-size: 0.85rem;
        margin-bottom: 24px;
    }
    .clinic-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    /* БЛОК 1: HERO */
    .clinic-hero {
        padding: 40px 0;
        border-radius: 16px;
        margin-bottom: 20px;
    }
    .clinic-hero__title {
        font-size: 1.5rem;
    }
    .clinic-hero__desc {
        font-size: 0.85rem;
    }
    .clinic-hero .clinic-btn {
        max-width: 220px;
        font-size: 0.8rem;
        padding: 10px 16px;
    }
    .clinic-hero__stats {
        gap: 15px;
    }
    .clinic-stat__number {
        font-size: 1.1rem;
    }
    .clinic-stat__label {
        font-size: 0.65rem;
    }

    /* БЛОК 2: ЦЕНТРЫ */
    .clinic-center__title {
        font-size: 0.95rem;
        bottom: 90px;
        left: 12px;
        right: 12px;
    }
    .clinic-center__link {
        font-size: 0.7rem;
        padding: 5px 12px;
        bottom: 12px;
        left: 12px;
    }

    /* БЛОК 4: О НАС */
    .clinic-about__title {
        font-size: 1.3rem;
    }
    .clinic-about__text-p {
        font-size: 0.85rem;
    }

    /* БЛОК 5: ПРЕИМУЩЕСТВА */
    .clinic-advantage__card {
        padding: 16px;
    }
    .clinic-advantage__number {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    .clinic-advantage__title {
        font-size: 0.95rem;
    }
    .clinic-advantage__desc {
        font-size: 0.75rem;
    }

    /* БЛОК 6: ВРАЧИ */
    .clinic-doctor__img {
        width: 100px;
        height: 100px;
    }
    .clinic-doctor__name {
        font-size: 0.95rem;
    }
    .clinic-doctor__spec {
        font-size: 0.75rem;
    }
    .clinic-doctor__exp {
        font-size: 0.7rem;
    }
    .clinic-doctor__btn {
        font-size: 0.7rem;
        padding: 6px 12px;
    }

    /* БЛОК 7: ОТЗЫВЫ */
    .clinic-review__card {
        padding: 16px;
    }
    .clinic-review__text {
        font-size: 0.8rem;
    }
    .clinic-review__author {
        font-size: 0.95rem;
    }

    /* БЛОК 9: ПРАЙС-ЛИСТ */
    .clinic-price__card {
        padding: 20px 16px;
    }
    .clinic-price__title {
        font-size: 1.1rem;
    }
    .clinic-price__item-name {
        font-size: 0.8rem;
    }
    .clinic-price__item-price {
        font-size: 0.8rem;
    }

    /* БЛОК 10: ФАКТЫ */
    .clinic-facts {
        padding: 30px 0;
        border-radius: 16px;
        margin: 0 10px;
        width: calc(100% - 20px);
    }
    .clinic-facts__bg {
        border-radius: 16px;
    }
    .clinic-facts__overlay {
        border-radius: 16px;
    }
    .clinic-facts__title {
        font-size: 1.3rem;
        margin-bottom: 24px;
    }
    .clinic-facts__number {
        font-size: 1.4rem;
    }
    .clinic-facts__item {
        padding-left: 12px;
    }
    .clinic-facts__label {
        font-size: 0.75rem;
    }

    /* БЛОК 11: FAQ */
    .clinic-faq__question {
        padding: 12px 14px;
        font-size: 0.85rem;
    }
    .clinic-faq__answer {
        padding: 0 14px;
    }
    .clinic-faq__item.active .clinic-faq__answer {
        padding: 0 14px 14px 14px;
    }
    .clinic-faq__answer p {
        font-size: 0.8rem;
    }

    /* БЛОК 12: ПОДБОР ВРАЧА */
    .clinic-doctor-select__title {
        font-size: 1.2rem;
    }
    .clinic-doctor-select__desc {
        font-size: 0.85rem;
    }
    .clinic-select {
        padding: 10px 14px;
        font-size: 0.8rem;
    }
}

/* Фикс для полноэкранного меню */
@media screen and (max-width: 1024px) {
    .primary-menu__inner {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0 
        height: 100% !important;
        min-height: 100vh !important;
        width: 280px;
        background: #fff;
        z-index: 1000;
        padding: 80px 20px 30px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }
}

/* ПРИНУДИТЕЛЬНОЕ СКРЫТИЕ МЕНЮ - ПОЛНОСТЬЮ ЗА ЭКРАН */
@media screen and (max-width: 1024px) {
    .primary-menu__inner {
        transform: translateX(-100%) !important;
        left: 0 !important;
        right: auto !important;
    }
    
    .primary-menu__toggle:checked ~ .primary-menu__inner {
        transform: translateX(0) !important;
    }
    
    /* Убираем любую тень, которая может быть видна с краю */
    .primary-menu__inner {
        box-shadow: none !important;
    }
    
    /* Убираем border-radius у меню, если есть */
    .primary-menu__inner {
        border-radius: 0 !important;
    }
    
    /* Убираем outline и свечения */
    .primary-menu__inner:focus,
    .primary-menu__inner:active {
        outline: none !important;
    }
}

/* =============================================
СТИЛИ ДЛЯ СТРАНИЦЫ-МАКЕТА БЛОГА (№1)
============================================= */

.thumb-blog-v2 {
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
}

.thumb-blog-v2__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.thumb-blog-v2__item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2eaf5;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.thumb-blog-v2__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: #2DC5A4;
}

.thumb-blog-v2__image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
}

.thumb-blog-v2__image-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    display: inline-block;
    background: linear-gradient(90deg, #2DC5A4 0%, #1a8f6e 50%, #2DC5A4 100%);
    background-size: 200% auto;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background-position 0.3s ease;
}

.thumb-blog-v2__image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
}

.thumb-blog-v2__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.thumb-blog-v2__item:hover .thumb-blog-v2__image img {
    transform: scale(1.05);
}

.thumb-blog-v2__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.thumb-blog-v2__category {
    display: inline-block;
    background: #e0f5f0;
    color: #2DC5A4;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
    width: fit-content;
}

.thumb-blog-v2__post-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.35;
    height: 48px; 
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.thumb-blog-v2__post-title a {
    color: #1a2c3e;
    text-decoration: none;
    transition: color 0.3s;
}

.thumb-blog-v2__post-title a:hover {
    color: #2DC5A4;
}

/* Текст анонса - растягивается, занимая всё свободное место */
.thumb-blog-v2__excerpt {
    color: #5a6e7c;
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 15px;
    flex: 1;
}

.thumb-blog-v2__views {
    font-size: 12px;
    color: #8ba0b5;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.thumb-blog-v2__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2DC5A4;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: gap 0.3s;
}

.thumb-blog-v2__link:hover {
    gap: 12px;
    color: #239f84;
}

/* Адаптив */
@media (max-width: 1024px) {
    .thumb-blog-v2__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .thumb-blog-v2__list {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .thumb-blog-v2 {
        padding: 20px 15px !important;
    }
    
    .thumb-blog-v2__image {
        height: 200px !important;
    }
    
    .thumb-blog-v2__post-title {
        font-size: 18px;
    }
}


/* =============================================
     СТИЛИ ДЛЯ СТРАНИЦЫ-МАКЕТА БЛОГА (№2)
============================================= */

/* Основной контейнер */
.blog-page {
    max-width: 1400px;
    margin: 0 auto;
}

/* СЕТКА: левая колонка широкая, правая фиксированная */
.blog-grid {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

/* Левая колонка — занимает всё свободное место */
.blog-main {
    flex: 1;
    min-width: 0;
}

/* Правая колонка — фиксированная ширина */
.blog-sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* Заголовки */
.blog-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a2c3e;
}

.blog-subtitle {
    font-size: 18px;
    color: #5a6e7c;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2eaf5;
}

/* ПОИСК */
.blog-search-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.blog-search-input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid #e2eaf5;
    border-radius: 50px;
    font-size: 15px;
    background: white;
}

.blog-search-input:focus {
    outline: none;
    border-color: #2DC5A4;
    box-shadow: 0 0 0 3px rgba(45, 197, 164, 0.1);
}

.blog-search-btn {
    background: #2DC5A4;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.blog-search-btn:hover {
    background: #239f84;
    transform: translateY(-2px);
}

/* КАРТОЧКИ СТАТЕЙ С ФОНОМ И ЗАТЕМНЕНИЕМ */
.post-card {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 24px;
    padding: 40px 32px;
    margin-bottom: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #1a2c3e;
    border: 1px solid transparent;
}

/* Затемнение */
.post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.5) 100%);
    border-radius: 24px;
    z-index: 0;
    pointer-events: none;
}

/* Контент поверх затемнения */
.post-card > * {
    position: relative;
    z-index: 1;
}

/* ЗЕЛЁНАЯ ОБВОДКА ПРИ НАВЕДЕНИИ */
.post-card:hover {
    transform: translateY(-3px);
    border-color: #2DC5A4;
}

/* Категория */
.post-category {
    display: inline-block;
    background: rgba(45, 197, 164, 0.85);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 14px;
}

/* Заголовок */
.post-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.35;
}

.post-title a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #2DC5A4;
}

/* Текст анонса */
.post-excerpt {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 18px;
}

/* Нижняя часть карточки */
.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.post-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

/* КНОПКА "ЧИТАТЬ ДАЛЕЕ" */
.read-more {
    color: white;
    background: #2DC5A4;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border-radius: 30px;
    padding: 10px 20px;
    border: 1px solid #2DC5A4;  
    cursor: pointer;
}

.read-more:hover {
    background: transparent;
    color: #2DC5A4;
    gap: 12px;
}

/* ========== САЙДБАР ========== */
.widget {
    background: white;
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 30px;
    border: 1px solid #e2eaf5;
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #2DC5A4;
    display: inline-block;
}

.widget-text {
    color: #5a6e7c;
    font-size: 14px;
    line-height: 1.55;
}

.widget-image {
    width: 100%;
    border-radius: 18px;
    margin-bottom: 18px;
}

/* Популярные статьи */
.popular-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.popular-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #f0f2f5;
}

.popular-item:last-child {
    border-bottom: none;
}

.popular-icon {
    width: 40px;
    height: 40px;
    background: #e0f5f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.popular-link {
    font-size: 13px;
    font-weight: 500;
    color: #1a2c3e;
    text-decoration: none;
    line-height: 1.4;
}

.popular-link:hover {
    color: #2DC5A4;
}

/* Подписка */
.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.subscribe-input {
    padding: 12px 16px;
    border: 1px solid #e2eaf5;
    border-radius: 50px;
    font-size: 14px;
}

.subscribe-input:focus {
    outline: none;
    border-color: #2DC5A4;
}

.subscribe-btn {
    background: #2DC5A4;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
}

.subscribe-btn:hover {
    background: #239f84;
}

/* Контакты */
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    color: #5a6e7c;
}

/* Пагинация */
.blog-pagination {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: white;
    border: 1px solid #e2eaf5;
    border-radius: 12px;
    color: #1a2c3e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.page-link.active,
.page-link:hover {
    background: #2DC5A4;
    border-color: #2DC5A4;
    color: white;
}

/* ============================================================
   ПАГИНАЦИЯ ДЛЯ БЛОГА №2
   ============================================================ */

.blog-pagination ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0 0;
    padding: 0;
    list-style: none;
}

.blog-pagination ul li {
    margin: 0;
}

.blog-pagination ul li .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    background: #ffffff;
    border: 1px solid #e2eaf5;
    border-radius: 10px;
    color: #1a2c3e;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-pagination ul li .page-numbers:hover {
    background: #2DC5A4;
    border-color: #2DC5A4;
    color: #ffffff;
}

.blog-pagination ul li .page-numbers.current {
    background: #2DC5A4;
    border-color: #2DC5A4;
    color: #ffffff;
}

.blog-pagination ul li .page-numbers.dots {
    background: transparent;
    border: none;
    color: #5a6e7c;
}

/* =============================================
    СТИЛИ ДЛЯ СТРАНИЦЫ-МАКЕТА БЛОГА (№3)
============================================= */

/* Основной контейнер */
.calendar-blog {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* СЕТКА КАРТОЧЕК */
.calendar-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* КАРТОЧКА СТАТЬИ */
.calendar-card {
    background: white;
    border-radius: 20px;
    padding: 25px 30px;
    border: 1px solid #e2eaf5;
    transition: all 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    cursor: pointer;
}

.calendar-card:hover {
    transform: translateX(5px);
    border-color: #2DC5A4;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* Левая часть карточки */
.calendar-card-left {
    flex: 1;
}

.calendar-card-category {
    font-size: 12px;
    color: #2DC5A4;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calendar-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2c3e;
    margin-bottom: 8px;
}

.calendar-card-title a {
    color: #1a2c3e;
    text-decoration: none;
    transition: color 0.2s;
}

.calendar-card-title a:hover {
    color: #2DC5A4;
}

.calendar-card-description {
    font-size: 14px;
    color: #5a6e7c;
    line-height: 1.5;
}

/* Правая часть карточки (дата/число) */
.calendar-card-right {
    text-align: right;
    flex-shrink: 0;
    min-width: 100px;
}

.calendar-card-number {
    font-size: 28px;
    font-weight: 700;
    color: #2DC5A4;
    line-height: 1.2;
}


/* НИЖНЯЯ СЕКЦИЯ */
.calendar-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e2eaf5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.calendar-footer-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2c3e;
}

.calendar-footer-date {
    font-size: 14px;
    color: #2DC5A4;
}

.calendar-footer-author {
    font-size: 14px;
    color: #5a6e7c;
}

/* Адаптив */
@media (max-width: 768px) {
    .calendar-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .calendar-card-right {
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .calendar-card-views {
        justify-content: center;
    }
    
    .calendar-banner {
        padding: 40px 25px;
    }
    
    .calendar-banner-title {
        font-size: 28px;
    }
    
    .calendar-banner-number {
        font-size: 40px;
    }
    
    .calendar-footer {
        flex-direction: column;
        text-align: center;
    }
}

.calendar-card-views {
    font-size: 11px;
    color: #8ba0b5;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* На десктопе — справа */
@media (min-width: 769px) {
    .calendar-card-views {
        justify-content: flex-end;
    }
}

/* На мобилках — по центру */
@media (max-width: 768px) {
    .calendar-card-views {
        justify-content: center;
    }
}


/* =====================================================
   СТИЛИ ДЛЯ СТРАНИЦЫ "УСЛУГИ 1"
   ===================================================== */

html, body {
    margin: 0;
    padding: 0;
    background: #f4faf8;
}

.sp1-services-section * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.sp1-services-section {
    --sp1-accent: #2DC5A4;
    --sp1-accent-dark: #219a7f;
    --sp1-accent-light: #e8f8f4;
    --sp1-text-dark: #1a2e3f;
    --sp1-text-gray: #4a627a;
    --sp1-text-light: #7c93aa;
    --sp1-border: #e2edf2;
    --sp1-card-bg: #ffffff;
    --sp1-bg-section: #f4faf8;
    
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: var(--sp1-bg-section);
    display: block;
    width: 100%;
    padding: 60px 0;
}

.sp1-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.sp1-header {
    text-align: center;
    margin-bottom: 48px;
}

.sp1-badge {
    display: inline-block;
    background: var(--sp1-accent-light);
    color: var(--sp1-accent);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 40px;
    margin-bottom: 16px;
}

.sp1-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--sp1-text-dark);
    letter-spacing: -0.3px;
    margin-bottom: 10px;
}

.sp1-header p {
    font-size: 1rem;
    color: var(--sp1-text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.sp1-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}

.sp1-card {
    background: var(--sp1-card-bg);
    border-radius: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--sp1-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sp1-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px -12px rgba(45, 197, 164, 0.15), 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: var(--sp1-accent);
}

.sp1-card-inner {
    padding: 28px 24px 30px 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sp1-title {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--sp1-text-dark);
    line-height: 1.3;
    letter-spacing: -0.2px;
    border-left: 4px solid var(--sp1-accent);
    padding-left: 18px;
    margin-bottom: 20px;
    word-break: break-word;
    height: calc(1.65rem * 1.3 * 2);
    display: flex;
    align-items: center;
}

.sp1-description {
    font-size: 0.94rem;
    line-height: 1.55;
    color: var(--sp1-text-gray);
    margin-bottom: 20px;
    min-height: calc(0.94rem * 1.55 * 4);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sp1-price-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px dashed var(--sp1-border);
    padding-top: 20px;
    margin-top: 20px;
}

.sp1-price-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--sp1-text-light);
    background: #f7fafc;
    padding: 4px 12px;
    border-radius: 50px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.sp1-price-value {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--sp1-text-dark);
    line-height: 1;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.sp1-price-value span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--sp1-text-light);
    margin-left: 2px;
}

.sp1-card-footer {
    margin-top: 20px;
}

.sp1-link {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sp1-accent);
    text-decoration: none;
    transition: all 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px 24px;
    background-color: var(--sp1-accent-light);
    border-radius: 40px;
    width: 100%;
    text-align: center;
}

.sp1-link:hover {
    background-color: var(--sp1-accent);
    color: white;
    text-decoration: none;
}

@media (max-width: 900px) {
    .sp1-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .sp1-title {
        font-size: 1.45rem;
        height: calc(1.45rem * 1.3 * 2);
    }
    
    .sp1-price-value {
        font-size: 1.65rem;
    }
    
    .sp1-description {
        min-height: calc(0.9rem * 1.55 * 4);
    }
}

@media (max-width: 600px) {
    .sp1-services-section {
        padding: 40px 0;
    }
    
    .sp1-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sp1-card-inner {
        padding: 22px 20px 24px;
    }
    
    .sp1-title {
        font-size: 1.4rem;
        padding-left: 14px;
        height: auto;
        min-height: calc(1.4rem * 1.3 * 2);
    }
    
    .sp1-header h2 {
        font-size: 1.8rem;
    }
    
    .sp1-container {
        padding: 0 16px;
    }
    
    .sp1-price-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sp1-description {
        min-height: auto;
    }
    
    .sp1-link {
        padding: 10px 20px;
    }
}

.sp1-card:focus-within {
    outline: 2px solid var(--sp1-accent);
    outline-offset: 2px;
}

.sp1-link:focus-visible {
    outline: 2px solid var(--sp1-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

@keyframes sp1-fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sp1-card {
    animation: sp1-fade-up 0.4s ease backwards;
}

.sp1-card:nth-child(1) { animation-delay: 0.05s; }
.sp1-card:nth-child(2) { animation-delay: 0.1s; }
.sp1-card:nth-child(3) { animation-delay: 0.15s; }
.sp1-card:nth-child(4) { animation-delay: 0.2s; }
.sp1-card:nth-child(5) { animation-delay: 0.25s; }
.sp1-card:nth-child(6) { animation-delay: 0.3s; }


/* =====================================================
   СТИЛИ ДЛЯ СТРАНИЦЫ "УСЛУГИ 2"
   ===================================================== */

html, body {
    margin: 0;
    padding: 0;
    background: #f4faf8;
}

.sp2-services-section * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.sp2-services-section {
    --sp2-accent: #2DC5A4;
    --sp2-accent-dark: #219a7f;
    --sp2-accent-light: #e8f8f4;
    --sp2-text-dark: #1a2e3f;
    --sp2-text-gray: #4a627a;
    --sp2-text-light: #7c93aa;
    --sp2-border: #e2edf2;
    --sp2-card-bg: #ffffff;
    --sp2-bg-section: #f4faf8;
    
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: var(--sp2-bg-section);
    display: block;
    width: 100%;
    padding: 60px 0;
}

.sp2-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.sp2-header {
    text-align: center;
    margin-bottom: 48px;
}

.sp2-badge {
    display: inline-block;
    background: var(--sp2-accent-light);
    color: var(--sp2-accent);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 40px;
    margin-bottom: 16px;
}

.sp2-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--sp2-text-dark);
    letter-spacing: -0.3px;
    margin-bottom: 10px;
}

.sp2-header p {
    font-size: 1rem;
    color: var(--sp2-text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.sp2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.sp2-card {
    background: var(--sp2-card-bg);
    border-radius: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--sp2-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sp2-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px -12px rgba(45, 197, 164, 0.15), 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: var(--sp2-accent);
}

.sp2-card-inner {
    padding: 28px 24px 30px 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sp2-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--sp2-text-dark);
    line-height: 1.3;
    letter-spacing: -0.2px;
    margin-bottom: 20px;
    word-break: break-word;
    border-left: 4px solid var(--sp2-accent);
    padding-left: 18px;
    min-height: calc(1.4rem * 1.3 * 2);
}

.sp2-description {
    font-size: 0.94rem;
    line-height: 1.55;
    color: var(--sp2-text-gray);
    margin-bottom: 20px;
    flex: 1;
}

.sp2-card-footer {
    margin-top: auto;
}

.sp2-link {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sp2-accent);
    text-decoration: none;
    transition: all 0.2s ease;
}

.sp2-link:hover {
    color: var(--sp2-accent-dark);
    text-decoration: underline;
}

@media (max-width: 900px) {
    .sp2-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .sp2-title {
        font-size: 1.3rem;
        min-height: calc(1.3rem * 1.3 * 2);
    }
}

@media (max-width: 600px) {
    .sp2-services-section {
        padding: 40px 0;
    }
    
    .sp2-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sp2-card-inner {
        padding: 22px 20px 24px;
    }
    
    .sp2-title {
        font-size: 1.25rem;
        padding-left: 14px;
        min-height: auto;
    }
    
    .sp2-header h2 {
        font-size: 1.8rem;
    }
    
    .sp2-container {
        padding: 0 16px;
    }
}

.sp2-card:focus-within {
    outline: 2px solid var(--sp2-accent);
    outline-offset: 2px;
}

.sp2-link:focus-visible {
    outline: 2px solid var(--sp2-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

@keyframes sp2-fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sp2-card {
    animation: sp2-fade-up 0.4s ease backwards;
}

.sp2-card:nth-child(1) { animation-delay: 0.05s; }
.sp2-card:nth-child(2) { animation-delay: 0.1s; }
.sp2-card:nth-child(3) { animation-delay: 0.15s; }
.sp2-card:nth-child(4) { animation-delay: 0.2s; }
.sp2-card:nth-child(5) { animation-delay: 0.25s; }
.sp2-card:nth-child(6) { animation-delay: 0.3s; }

/* =====================================================
   СТИЛИ ДЛЯ БЛОКА ВРАЧЕЙ №1 "hp-services"
   ===================================================== */

/* Базовые переменные */
.hp-services-container {
    --services-accent: #2DC5A4;
    --services-accent-dark: #239f84;
    --services-accent-light: #e0f5f0;
    --services-accent-gradient: linear-gradient(135deg, #2DC5A4 0%, #1a8f6e 100%);
    --services-text-dark: #1a2c3e;
    --services-text-gray: #5a6e7c;
    --services-text-light: #8ba0b5;
    --services-border: #e2eaf5;
    --services-card-bg: #ffffff;
    --services-bg-light: #f8f9fc;
    
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* Секция */
.hp-services-section {
    padding: 60px 0;
}

.hp-services-section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    background: var(--services-accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Сетка врачей */
.hp-services-doctors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Карточка врача */
.hp-services-doctor-card {
    background: var(--services-card-bg);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    border: 1px solid var(--services-border);
    transition: all 0.3s ease;
}

.hp-services-doctor-card:hover {
    transform: translateY(-5px);
    border-color: var(--services-accent);
    box-shadow: 0 20px 35px -12px rgba(45, 197, 164, 0.15);
}

/* Аватар */
.hp-services-doctor-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--services-accent-light);
}

.hp-services-doctor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Имя врача */
.hp-services-doctor-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--services-text-dark);
    margin-bottom: 6px;
}

/* Специализация */
.hp-services-doctor-spec {
    font-size: 0.8rem;
    background: var(--services-accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 500;
    margin-bottom: 4px;
}

/* Стаж */
.hp-services-doctor-exp {
    font-size: 0.75rem;
    color: var(--services-text-gray);
}

/* ========== АДАПТИВ ========== */
@media (max-width: 1024px) {
    .hp-services-doctors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .hp-services-container {
        padding: 0 16px;
    }
}

@media (max-width: 768px) {
    .hp-services-section {
        padding: 40px 0;
    }
    
    .hp-services-section-title {
        font-size: 1.5rem;
        margin-bottom: 32px;
    }
    
    .hp-services-doctors-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .hp-services-doctor-avatar {
        width: 100px;
        height: 100px;
    }
}

/* =====================================================
   СТИЛИ ДЛЯ БЛОКА ВРАЧЕЙ №2 — ПРЕФИКС: hp-services-1
   ===================================================== */
.hp-services-1-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.hp-services-1-section {
    padding: 60px 0;
    background: #f5faff;
}

.hp-services-1-section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: #2DC5A4;
}

.hp-services-1-doctors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.hp-services-1-doctor-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    border: 1px solid #e2eaf5;
    transition: all 0.3s ease;
}

.hp-services-1-doctor-card:hover {
    transform: translateY(-5px);
    border-color: #2DC5A4;
    box-shadow: 0 10px 30px rgba(45, 197, 164, 0.1);
}

.hp-services-1-doctor-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 20px;
    overflow: hidden;
    background: #e0f5f0;
}

.hp-services-1-doctor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-services-1-doctor-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a2c3e;
    margin-bottom: 8px;
}

.hp-services-1-doctor-spec {
    font-size: 14px;
    color: #2DC5A4;
    font-weight: 500;
    margin-bottom: 6px;
}

.hp-services-1-doctor-exp {
    font-size: 12px;
    color: #8ba0b5;
}

@media (max-width: 1024px) {
    .hp-services-1-doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hp-services-1-doctors-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   СТИЛИ ДЛЯ БЛОКА ВРАЧЕЙ №3 (hp2)
   ===================================================== */

/* Базовый контейнер */
.hp2-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Секция врачей */
.hp2-doctors {
    padding: 60px 0;
    background: #f5faff;
}

/* Заголовки */
.hp2-section-header-left {
    margin-bottom: 48px;
}

.hp2-section-title-left {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #2DC5A4;
    text-align: left;
}

.hp2-section-subtitle-left {
    font-size: 16px;
    color: #5a6e7c;
    text-align: left;
}

/* Сетка врачей — 4 колонки */
.hp2-doctors__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: stretch;
}

/* Карточка врача */
.hp2-doctor-card {
    background: #ffffff;
    text-align: center;
    padding: 30px 20px;
    padding-bottom: 80px; /* Место для кнопки внизу */
    border-radius: 24px;
    transition: all 0.3s ease;
    position: relative; /* Для абсолютного позиционирования кнопки */
    height: 100%;
    border: 1px solid #e2eaf5;
}

.hp2-doctor-card:hover {
    transform: translateY(-5px);
    border-color: #2DC5A4;
    box-shadow: 0 15px 35px -12px rgba(45, 197, 164, 0.15);
}

/* Аватар */
.hp2-doctor-avatar {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background: #e0f5f0;
}

.hp2-doctor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Имя врача */
.hp2-doctor-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1a2c3e;
    margin-bottom: 8px;
}

/* Специализация */
.hp2-doctor-spec {
    font-size: 14px;
    color: #2DC5A4;
    font-weight: 500;
    margin-bottom: 6px;
}

/* Стаж */
.hp2-doctor-exp {
    font-size: 13px;
    color: #8ba0b5;
    margin-bottom: 16px;
}

/* Кнопка — прижата к низу карточки */
.hp2-doctor-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    border: 1px solid #2DC5A4;
    padding: 10px 24px;
    border-radius: 40px;
    color: #2DC5A4;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.hp2-doctor-btn:hover {
    background: #2DC5A4;
    color: #ffffff;
    transform: translateX(-50%) translateY(-2px);
}

/* ========== АДАПТИВ ========== */
@media (max-width: 1200px) {
    .hp2-doctors__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .hp2-container {
        padding: 0 16px;
    }
    
    .hp2-doctors {
        padding: 40px 0;
    }
    
    .hp2-section-title-left {
        font-size: 24px;
    }
    
    .hp2-section-subtitle-left {
        font-size: 14px;
    }
    
    .hp2-doctors__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hp2-doctor-card {
        padding-bottom: 70px;
    }
    
    .hp2-doctor-avatar {
        width: 120px;
        height: 120px;
    }
    
    .hp2-doctor-card h4 {
        font-size: 18px;
    }
    
    .hp2-doctor-btn {
        bottom: 25px;
        padding: 8px 20px;
        font-size: 13px;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .hp2-doctor-btn {
        white-space: normal;
        font-size: 12px;
        padding: 8px 16px;
    }
}

/* =====================================================
   СТИЛИ ДЛЯ СТРАНИЦЫ ВРАЧЕЙ №4
   СЕТКА 3 КОЛОНКИ
   ===================================================== */

/* Контейнер */
.hp3-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

/* Секция */
.hp3-doctors {
    padding: 40px 0;
}

/* Заголовки */
.hp3-doctors__header {
    text-align: center;
    margin-bottom: 48px;
}

.hp3-doctors__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #2DC5A4 0%, #1a8f6e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hp3-doctors__subtitle {
    font-size: 16px;
    color: #5a6e7c;
}

/* Сетка карточек — 3 колонки */
.hp3-doctors__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Карточка врача — вертикальная */
.hp3-doctor__card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 24px;
    padding: 24px;
    border: 1px solid #e2eaf5;
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.hp3-doctor__card:hover {
    transform: translateY(-5px);
    border-color: #2DC5A4;
    box-shadow: 0 15px 35px -12px rgba(45, 197, 164, 0.15);
}

/* Фото */
.hp3-doctor__left {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.hp3-doctor__img {
    width: 180px;
    height: 200px;       
    border-radius: 10%;
    overflow: hidden;
    background: linear-gradient(135deg, #e0f5f0 0%, #c5e8e0 100%);
    flex-shrink: 0;
}

.hp3-doctor__img img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* вместо cover */
    transition: transform 0.3s ease;
}

.hp3-doctor__card:hover .hp3-doctor__img img {
    transform: scale(1.05);
}

/* Контент */
.hp3-doctor__right {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hp3-doctor__name {
    font-size: 20px;
    font-weight: 700;
    color: #1a2c3e;
    margin-bottom: 4px;
}

.hp3-doctor__spec {
    font-size: 14px;
    color: #2DC5A4;
    font-weight: 500;
    margin-bottom: 4px;
}

.hp3-doctor__exp {
    font-size: 13px;
    color: #8ba0b5;
    margin-bottom: 12px;
}

.hp3-doctor__description {
    font-size: 14px;
    line-height: 1.55;
    color: #5a6e7c;
    margin-bottom: 16px;
    flex: 1;
}

/* Кнопка */
.hp3-doctor__action {
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding-top: 20px;
}

.hp3-doctor__btn {
    display: inline-block;
    padding: 10px 28px;
    background: linear-gradient(135deg, #2DC5A4 0%, #1a8f6e 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 40px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.hp3-doctor__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(45, 197, 164, 0.3);
}

/* Кнопка "Все врачи" внизу */
.hp3-doctors__footer {
    text-align: center;
    margin-top: 48px;
}

.hp3-doctors__btn-all {
    display: inline-block;
    padding: 12px 36px;
    background: transparent;
    border: 2px solid #2DC5A4;
    color: #2DC5A4;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hp3-doctors__btn-all:hover {
    background: #2DC5A4;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(45, 197, 164, 0.3);
}

/* ========== АДАПТИВ ========== */

/* Планшеты — 2 колонки */
@media (max-width: 992px) {
    .hp3-doctors__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .hp3-doctor__img {
        width: 110px;
        height: 110px;
    }
    
    .hp3-doctor__name {
        font-size: 18px;
    }
}

/* Телефоны — 1 колонка */
@media (max-width: 768px) {
    .hp3-container {
        padding: 0 16px;
    }
    
    .hp3-doctors {
        padding: 40px 0;
    }
    
    .hp3-doctors__title {
        font-size: 28px;
    }
    
    .hp3-doctors__subtitle {
        font-size: 14px;
    }
    
    .hp3-doctors__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hp3-doctor__card {
        padding: 20px;
    }
    
    .hp3-doctor__img {
        width: 120px;
        height: 120px;
    }
    
    .hp3-doctor__name {
        font-size: 18px;
    }
    
    .hp3-doctor__spec,
    .hp3-doctor__exp,
    .hp3-doctor__description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hp3-doctor__name {
        font-size: 17px;
    }
    
    .hp3-doctor__spec,
    .hp3-doctor__exp,
    .hp3-doctor__description {
        font-size: 13px;
    }
    
    .hp3-doctor__btn {
        padding: 8px 20px;
        font-size: 13px;
        width: 100%;
    }
}

/* Модальное окно */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal--visible {
    opacity: 1;
    visibility: visible;
}

.modal__inner {
    background: white;
    border-radius: 24px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.modal__title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1a2c3e;
}

.modal-form-group {
    margin-bottom: 20px;
}

.modal-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.modal-form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2eaf5;
    border-radius: 12px;
    font-size: 1rem;
}

.modal-form-group input:focus {
    outline: none;
    border-color: #2DC5A4;
    box-shadow: 0 0 0 3px rgba(45, 197, 164, 0.1);
}

.required-star {
    color: #ff574f;
}

.modal-submit-btn {
    width: 100%;
    padding: 14px;
    background: #2DC5A4;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-submit-btn:hover {
    background: #239f84;
    transform: translateY(-2px);
}

.modal-agreement {
    font-size: 0.7rem;
    color: #8ba0b5;
    margin-top: 16px;
    text-align: center;
}

.modal-agreement a {
    color: #2DC5A4;
    text-decoration: none;
}

/* Кастомный попап — по центру и на светлом фоне */
.custom-notification {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.custom-notification--visible {
    opacity: 1;
    visibility: visible;
}

.custom-notification__content {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 28px;
    max-width: 380px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.custom-notification--visible .custom-notification__content {
    transform: scale(1);
}

.custom-notification__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: #2DC5A4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-notification__message {
    font-size: 1rem;
    font-weight: 500;
    color: #1a2c3e;
    margin-bottom: 24px;
    line-height: 1.5;
}

.custom-notification__close {
    background: #2DC5A4;
    color: white;
    border: none;
    padding: 10px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-notification__close:hover {
    background: #239f84;
    transform: translateY(-2px);
}

/* =====================================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ КНОПОК
   ===================================================== */

.hp3-doctor__action {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;     
    margin-top: auto;
    padding-top: 20px;
}

.hp3-doctor__btn {
    display: inline-block;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 40px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-align: center;
    border: none;
    width: auto;            
    min-width: 160px;       
}

/* Кнопка 2 - outline (подробнее) */
.hp3-doctor__btn--outline {
    background: transparent;
    border: 2px solid #2DC5A4;
    color: #2DC5A4;
    padding: 6px 16px; 
    font-size: 0.9rem;  
    white-space: nowrap; 
}

.hp3-doctor__btn--outline:hover {
    background: #2DC5A4;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(45, 197, 164, 0.3);
}

/* Адаптив для кнопок */
@media (max-width: 480px) {
    .hp3-doctor__btn {
        padding: 8px 20px;
        font-size: 13px;
        width: 100%;         
        min-width: unset;
    }
}

//* ============================================================
   БЛОК: ЛЕЧЕНИЕ ДЕСЕН (ОБТЕКАНИЕ ТЕКСТА ВОКРУГ ФОТО)
   ============================================================ */

/* Контейнер */
.hp3-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

/* Секция */
.gum-treatment {
    padding: 20px 0;
}

/* Вступление */
.gum-treatment__intro {
    max-width: 100%;
    margin: 0 0 50px 0;
    color: #5a6e7c;
    line-height: 1.8;
    text-align: left;
    font-size: 16px;
}

/* Сетка карточек */
.gum-treatment__grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Карточка — с clearfix */
.gum-treatment__card {
    background: #ffffff;
    border-radius: 24px;
    padding: 30px;
    border: 1px solid #e2eaf5;
    transition: all 0.3s ease;
    overflow: hidden;
}

.gum-treatment__card:after {
    content: "";
    display: table;
    clear: both;
}

.gum-treatment__card:hover {
    transform: translateY(-3px);
    border-color: #2DC5A4;
    box-shadow: 0 15px 35px -12px rgba(45, 197, 164, 0.15);
}

/* Фото — float влево */
.gum-treatment__card-image {
    float: left !important;
    width: 200px !important;
    height: 200px !important;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 24px 16px 0 !important;
}

.gum-treatment__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Контент — обтекает */
.gum-treatment__card-content {
    display: block !important;
}

/* Заголовок */
.gum-treatment__card-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a2c3e;
    margin-top: 0;
    margin-bottom: 8px;
}

.gum-treatment__card-title span {
    color: #2DC5A4;
}

/* Текст */
.gum-treatment__card-text {
    font-size: 15px;
    line-height: 1.7;
    color: #5a6e7c;
    margin-bottom: 8px;
}

/* Список */
.gum-treatment__card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px 0;
}

.gum-treatment__card-list li {
    font-size: 15px;
    line-height: 1.6;
    color: #5a6e7c;
    padding-left: 18px;
    position: relative;
    margin-bottom: 4px;
}

.gum-treatment__card-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #2DC5A4;
}

/* ============================================================
   АДАПТИВ
   ============================================================ */

@media (max-width: 992px) {
    .gum-treatment__card-image {
        width: 180px;
        height: 180px;
        margin-right: 20px;
    }
    
    .gum-treatment__card-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .hp3-container {
        padding: 0 16px;
    }
    
    .gum-treatment {
        padding: 40px 0;
    }
    
    .gum-treatment__intro {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .gum-treatment__card {
        padding: 20px;
    }
    
    .gum-treatment__card-image {
        float: none;
        width: 160px;
        height: 160px;
        margin: 0 auto 16px auto;
        display: block;
    }
    
    .gum-treatment__card-title {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .gum-treatment__card {
        padding: 16px;
    }
    
    .gum-treatment__card-title {
        font-size: 19px;
    }
    
    .gum-treatment__card-text,
    .gum-treatment__card-list li {
        font-size: 14px;
    }

    .gum-treatment__card-image {
        width: 130px;
        height: 130px;
    }
}

/* ============================================================
   СВОДНАЯ ТАБЛИЦА — УНИКАЛЬНЫЕ КЛАССЫ
   ============================================================ */

.pr-table-wrap {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #e2eaf5;
}

.pr-table-header {
    text-align: center;
    margin-bottom: 30px;
}

.pr-table-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2c3e;
    margin-bottom: 8px;
}

.pr-table-subtitle {
    font-size: 16px;
    color: #5a6e7c;
    margin: 0;
}

.pr-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
    border: 1px solid #e2eaf5;
}

.pr-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    min-width: 400px;
}

.pr-table thead {
    background: #f8f9fc;
}

.pr-table th {
    padding: 14px 18px;
    text-align: left;
    font-weight: 700;
    color: #1a2c3e;
    border-bottom: 2px solid #2DC5A4;
    white-space: nowrap;
}

.pr-table td {
    padding: 12px 18px;
    color: #5a6e7c;
    border-bottom: 1px solid #e2eaf5;
}

.pr-table tbody tr:last-child td {
    border-bottom: none;
}

.pr-table tbody tr:hover {
    background: #f5faff;
}

.pr-table .pr-group td {
    background: #f0f7fa;
    font-weight: 700;
    color: #1a2c3e;
    padding: 10px 18px;
    border-bottom: 2px solid #2DC5A4;
}

.pr-table-note {
    margin-top: 16px;
    text-align: center;
    font-size: 14px;
    color: #8a9caa;
}

/* ============================================================
   АДАПТИВ
   ============================================================ */

@media (max-width: 1024px) {
    .pr-table {
        font-size: 14px;
        min-width: 300px;
    }
    .pr-table th,
    .pr-table td {
        padding: 10px 14px;
    }
}

@media (max-width: 768px) {
    .pr-table-wrap {
        margin-top: 40px;
        padding-top: 30px;
    }
    .pr-table-title {
        font-size: 22px;
    }
    .pr-table-subtitle {
        font-size: 14px;
    }
    .pr-table {
        font-size: 13px;
        min-width: 250px;
    }
    .pr-table th,
    .pr-table td {
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .pr-table-wrap {
        margin-top: 30px;
        padding-top: 20px;
    }
    .pr-table-title {
        font-size: 19px;
    }
    .pr-table-subtitle {
        font-size: 13px;
    }
    .pr-table {
        font-size: 12px;
        min-width: 200px;
    }
    .pr-table th,
    .pr-table td {
        padding: 6px 10px;
    }
    .pr-table-note {
        font-size: 12px;
    }
}

/* =============================================
   СТРАНИЦА: О КЛИНИКЕ
   ============================================= */

/* ----- ОСНОВНЫЕ ----- */
.about-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.about-page {
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    color: #1a2c3e;
    line-height: 1.6;
}

.about-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

/* ----- ЗАГОЛОВКИ ----- */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2DC5A4;
    margin-bottom: 12px;
    text-align: center;
}

.section-title .dark {
    color: #1a2c3e;
}

.section-title span {
    color: #2DC5A4;
}

.text-center {
    text-align: center;
}

/* ----- БЛОК "О НАС" ----- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text p {
    color: #5a6e7c;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-text strong {
    color: #1a2c3e;
}

.about-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    display: block;
}

/* ----- ГАЛЕРЕЯ ----- */
.gallery-section {
    margin-bottom: 60px;
}

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

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
}

.gallery-grid img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* ----- ПРЕИМУЩЕСТВА ----- */
.advantages-section {
    margin-bottom: 60px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.advantage-card {
    background: #f8f9fc;
    border-radius: 20px;
    padding: 28px 24px;
    border: 1px solid #e2eaf5;
    transition: all 0.3s ease;
    text-align: center;
}

.advantage-card:hover {
    transform: translateY(-4px);
    border-color: #2DC5A4;
    box-shadow: 0 12px 30px rgba(45, 197, 164, 0.08);
}

.advantage-card i {
    font-size: 36px;
    color: #2DC5A4;
    margin-bottom: 16px;
    display: block;
}

.advantage-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a2c3e;
    margin-bottom: 8px;
}

.advantage-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #5a6e7c;
    margin: 0;
}

/* ----- ЛОГИСТИКА ----- */
.logistics-section {
    margin-bottom: 60px;
}

.logistics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.logistics-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 24px;
    border: 1px solid #e2eaf5;
    transition: all 0.3s ease;
    text-align: center;
}

.logistics-card:hover {
    transform: translateY(-4px);
    border-color: #2DC5A4;
    box-shadow: 0 12px 30px rgba(45, 197, 164, 0.08);
}

.logistics-card i {
    font-size: 36px;
    color: #2DC5A4;
    margin-bottom: 16px;
    display: block;
}

.logistics-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a2c3e;
    margin-bottom: 8px;
}

.logistics-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #5a6e7c;
    margin: 0;
}

/* ----- ГАРАНТИИ ----- */
.guarantees-section {
    margin-bottom: 40px;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.guarantee-card {
    background: #f8f9fc;
    border-radius: 20px;
    padding: 28px 24px;
    border: 1px solid #e2eaf5;
    transition: all 0.3s ease;
    text-align: center;
}

.guarantee-card:hover {
    transform: translateY(-4px);
    border-color: #2DC5A4;
    box-shadow: 0 12px 30px rgba(45, 197, 164, 0.08);
}

.guarantee-card i {
    font-size: 36px;
    color: #2DC5A4;
    margin-bottom: 16px;
    display: block;
}

.guarantee-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a2c3e;
    margin-bottom: 8px;
}

.guarantee-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #5a6e7c;
    margin: 0;
}

/* =============================================
   БЛОК: КАЛЬКУЛЯТОР / ПЕРСОНАЛЬНЫЙ ПЛАН
   ============================================= */

.cta-calculator {
    margin-bottom: 60px;
}

.cta-calculator__inner {
    display: flex;
    align-items: center;
    gap: 50px;
    background: linear-gradient(135deg, #1a2c3e 0%, #2a3f54 100%);
    border-radius: 24px;
    padding: 40px 48px;
    overflow: hidden;
    position: relative;
}

.cta-calculator__inner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(45, 197, 164, 0.08);
    border-radius: 50%;
}

.cta-calculator__content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.cta-calculator__title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    line-height: 1.2;
}

.cta-calculator__title span {
    color: #2DC5A4;
}

.cta-calculator__subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.cta-calculator__bonus {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(45, 197, 164, 0.15);
    border: 1px solid rgba(45, 197, 164, 0.3);
    border-radius: 10px;
    padding: 12px 20px;
    margin-bottom: 24px;
}

.cta-calculator__bonus i {
    font-size: 18px;
    color: #2DC5A4;
    flex-shrink: 0;
}

.cta-calculator__bonus span {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.cta-calculator__bonus strong {
    color: #ffffff;
    font-weight: 700;
}

.cta-calculator__buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: inherit;
    border: none;
    cursor: pointer;
    min-width: 160px;
    text-align: center;
}

.cta-btn i {
    font-size: 1rem;
}

.cta-btn--telegram {
    background: #2DC5A4;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(45, 197, 164, 0.25);
}

.cta-btn--telegram:hover {
    background: #25a88b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 197, 164, 0.35);
}

.cta-btn--whatsapp {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.cta-btn--whatsapp:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #2DC5A4;
    transform: translateY(-2px);
}

.cta-calculator__image {
    flex-shrink: 0;
    width: 300px;
    position: relative;
    z-index: 1;
}

.cta-calculator__image img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.2));
}

/* =============================================
   БЛОК: ЗАДАЙТЕ ВОПРОС ДОКТОРУ
   ============================================= */

.ask-doctor-section {
    margin-bottom: 60px;
}

.ask-doctor-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: #f8fafc;
    border-radius: 24px;
    padding: 40px 48px;
    border: 1px solid #e2eaf5;
}

.ask-doctor__content {
    flex: 1;
}

.ask-doctor__title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a2c3e;
    margin-bottom: 12px;
}

.ask-doctor__title span {
    color: #2DC5A4;
}

.ask-doctor__text {
    font-size: 1rem;
    line-height: 1.7;
    color: #5a6e7c;
    margin-bottom: 24px;
    max-width: 600px;
}

.ask-doctor__phone {
    color: #2DC5A4;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.ask-doctor__phone:hover {
    text-decoration: underline;
}

.ask-doctor__buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ask-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: inherit;
    border: none;
    cursor: pointer;
    min-width: 180px;
    text-align: center;
}

.ask-btn i {
    font-size: 1rem;
}

.ask-btn--telegram {
    background: #2DC5A4;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(45, 197, 164, 0.25);
}

.ask-btn--telegram:hover {
    background: #25a88b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 197, 164, 0.35);
}

.ask-btn--whatsapp {
    background: transparent;
    color: #1a2c3e;
    border: 2px solid #e2eaf5;
}

.ask-btn--whatsapp:hover {
    background: #f8fafc;
    border-color: #2DC5A4;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 197, 164, 0.1);
}

.ask-doctor__doctor {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-align: center;
}

.ask-doctor__photo {
    width: 160px;
    height: 260px;
    border-radius: 10%;
    overflow: hidden;
    flex-shrink: 0;
    background: #e9edf2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.ask-doctor__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ask-doctor__info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ask-doctor__name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a2c3e;
    margin-bottom: 2px;
}

.ask-doctor__position {
    font-size: 0.95rem;
    color: #5a6e7c;
    margin: 0;
}

/* =============================================
   БЛОК: ЮРИДИЧЕСКИЕ ГАРАНТИИ
   ============================================= */

.legal-guarantees-section {
    margin-bottom: 60px;
}

.legal-guarantees-container {
    display: flex;
    align-items: center;
    gap: 60px;
    background: #ffffff;
    border-radius: 24px;
    padding: 48px 56px;
    border: 1px solid #e2eaf5;
}

.legal-guarantees__content {
    flex: 1;
}

.legal-guarantees__title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a2c3e;
    margin-bottom: 12px;
}

.legal-guarantees__title span {
    color: #2DC5A4;
}

.legal-guarantees__subtitle {
    font-size: 1rem;
    line-height: 1.7;
    color: #5a6e7c;
    margin-bottom: 24px;
    max-width: 600px;
}

.legal-guarantees__list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: legal-counter;
}

.legal-guarantees__list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    font-size: 1rem;
    color: #1a2c3e;
    border-bottom: 1px solid #f0f2f5;
    counter-increment: legal-counter;
}

.legal-guarantees__list li:last-child {
    border-bottom: none;
}

.legal-guarantees__list li::before {
    content: counter(legal-counter);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #2DC5A4;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.legal-guarantees__list i {
    display: none;
}

.legal-guarantees__image {
    flex-shrink: 0;
    width: 320px;
}

.legal-guarantees__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* =============================================
   БЛОК: 5 ПРОСТЫХ ШАГОВ (в стиле chengshi.ru)
   ============================================= */

.steps-section {
    padding: 60px 0;
    margin-bottom: 60px;
    background: #ffffff;
    border-radius: 24px;
}

.steps-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.steps-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a2c3e;
    text-align: center;
    margin-bottom: 8px;
}

.steps-title span {
    color: #2DC5A4;
}

.steps-subtitle {
    font-size: 1.1rem;
    color: #5a6e7c;
    text-align: center;
    margin-bottom: 48px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 32px 28px;
    border: 1px solid #e2eaf5;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.step-card:hover {
    transform: translateY(-6px);
    border-color: #2DC5A4;
    box-shadow: 0 15px 35px rgba(45, 197, 164, 0.1);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2DC5A4;
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
}

.step-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a2c3e;
    margin-bottom: 12px;
}

.step-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #5a6e7c;
    margin: 0;
}

.step-phone {
    color: #2DC5A4;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.step-phone:hover {
    text-decoration: underline;
}

/* =============================================
   БЛОК: ГЛАВНЫЙ ВРАЧ
   ============================================= */

.chief-doctor-section {
    margin-bottom: 60px;
}

.chief-doctor-container {
    background: #f8fafc;
    border-radius: 24px;
    padding: 48px 56px;
    border: 1px solid #e2eaf5;
}

.chief-doctor__header {
    text-align: center;
    margin-bottom: 40px;
}

.chief-doctor__title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a2c3e;
}

.chief-doctor__title span {
    color: #2DC5A4;
}

.chief-doctor__grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: start;
}

.chief-doctor__photo {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.chief-doctor__photo img {
    width: 100%;
    height: auto;
    display: block;
}

.chief-doctor__name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a2c3e;
    margin-bottom: 4px;
}

.chief-doctor__position {
    font-size: 1rem;
    color: #2DC5A4;
    font-weight: 500;
    margin-bottom: 24px;
}

.chief-doctor__details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 40px;
}

.chief-doctor__detail-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a2c3e;
    margin-bottom: 8px;
    position: relative;
    padding-bottom: 8px;
}

.chief-doctor__detail-item h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #2DC5A4;
    border-radius: 2px;
}

.chief-doctor__detail-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #5a6e7c;
    margin-bottom: 8px;
}

.chief-doctor__detail-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.chief-doctor__detail-item ul li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #5a6e7c;
    padding: 4px 0 4px 20px;
    position: relative;
}

.chief-doctor__detail-item ul li::before {
    content: '•';
    color: #2DC5A4;
    font-weight: 700;
    position: absolute;
    left: 0;
}

/* =============================================
   АДАПТИВ
   ============================================= */

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image img {
        max-height: 400px;
        object-fit: cover;
    }

    .advantages-grid,
    .logistics-grid,
    .guarantees-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .cta-calculator__inner {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        gap: 24px;
    }

    .cta-calculator__image {
        width: 220px;
        order: -1;
    }

    .cta-calculator__bonus {
        justify-content: center;
        text-align: left;
    }

    .cta-calculator__buttons {
        justify-content: center;
    }

    .ask-doctor-container {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

    .ask-doctor__text {
        max-width: 100%;
    }

    .ask-doctor__buttons {
        justify-content: center;
    }

    .ask-doctor__doctor {
        flex-direction: column;
        text-align: center;
        width: auto;
        padding: 24px 32px;
    }

    .legal-guarantees-container {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        gap: 30px;
    }

    .legal-guarantees__subtitle {
        max-width: 100%;
    }

    .legal-guarantees__list li {
        justify-content: center;
    }

    .legal-guarantees__image {
        width: 260px;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .chief-doctor-container {
        padding: 32px 24px;
    }

    .chief-doctor__grid {
        grid-template-columns: 200px 1fr;
        gap: 30px;
    }

    .chief-doctor__details {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .chief-doctor__name {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .about-container {
        padding: 24px 16px 60px;
    }

    .section-title {
        font-size: 26px;
    }

    .advantages-grid,
    .logistics-grid,
    .guarantees-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .gallery-grid img {
        height: 200px;
    }

    .advantage-card,
    .logistics-card,
    .guarantee-card {
        padding: 20px;
    }

    .advantage-card i,
    .logistics-card i,
    .guarantee-card i {
        font-size: 28px;
    }

    .advantage-card h4,
    .logistics-card h4,
    .guarantee-card h4 {
        font-size: 16px;
    }

    .about-image img {
        max-height: 250px;
    }

    .cta-calculator__inner {
        padding: 24px 16px;
        gap: 20px;
    }

    .cta-calculator__title {
        font-size: 1.5rem;
    }

    .cta-calculator__subtitle {
        font-size: 0.95rem;
    }

    .cta-calculator__bonus {
        flex-direction: column;
        text-align: center;
        padding: 14px 16px;
    }

    .cta-calculator__buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-btn {
        justify-content: center;
        width: 100%;
        padding: 10px 20px;
        min-width: unset;
    }

    .cta-calculator__image {
        width: 180px;
    }

    .ask-doctor-container {
        padding: 24px 16px;
    }

    .ask-doctor__title {
        font-size: 1.5rem;
    }

    .ask-doctor__text {
        font-size: 0.95rem;
    }

    .ask-doctor__buttons {
        flex-direction: column;
        width: 100%;
    }

    .ask-btn {
        justify-content: center;
        width: 100%;
        min-width: unset;
        padding: 10px 20px;
    }

    .ask-doctor__doctor {
        padding: 20px 16px;
        width: 100%;
    }

    .ask-doctor__photo {
        width: 100px;
        height: 100px;
    }

    .ask-doctor__name {
        font-size: 1rem;
    }

    .ask-doctor__position {
        font-size: 0.85rem;
    }

    .legal-guarantees-container {
        padding: 24px 16px;
    }

    .legal-guarantees__title {
        font-size: 1.5rem;
    }

    .legal-guarantees__subtitle {
        font-size: 0.95rem;
    }

    .legal-guarantees__list li {
        font-size: 0.9rem;
        padding: 8px 0;
        text-align: left;
        justify-content: flex-start;
    }

    .legal-guarantees__image {
        width: 200px;
    }

    .steps-section {
        padding: 40px 0;
    }

    .steps-title {
        font-size: 1.7rem;
    }

    .steps-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .step-card {
        padding: 24px 20px;
    }

    .step-number {
        font-size: 2rem;
    }

    .step-heading {
        font-size: 1.05rem;
    }

    .step-text {
        font-size: 0.9rem;
    }

    .chief-doctor-container {
        padding: 24px 16px;
    }

    .chief-doctor__grid {
        grid-template-columns: 1fr;
        gap: 24px;
        justify-items: center;
        text-align: center;
    }

    .chief-doctor__photo {
        max-width: 220px;
    }

    .chief-doctor__title {
        font-size: 1.5rem;
    }

    .chief-doctor__name {
        font-size: 1.3rem;
    }

    .chief-doctor__detail-item h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .chief-doctor__detail-item ul li {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 22px;
    }

    .about-text p {
        font-size: 14px;
    }

    .advantage-card p,
    .logistics-card p,
    .guarantee-card p {
        font-size: 13px;
    }

    .gallery-grid img {
        height: 160px;
    }

    .cta-calculator__title {
        font-size: 1.3rem;
    }

    .cta-calculator__bonus span {
        font-size: 0.85rem;
    }

    .cta-btn {
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    .cta-calculator__image {
        width: 140px;
    }

    .ask-doctor__title {
        font-size: 1.3rem;
    }

    .ask-btn {
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    .ask-doctor__photo {
        width: 150px;
        height: 250px;
    }

    .ask-doctor__name {
        font-size: 0.95rem;
    }

    .ask-doctor__position {
        font-size: 0.8rem;
    }

    .legal-guarantees__title {
        font-size: 1.3rem;
    }

    .legal-guarantees__list li {
        font-size: 0.85rem;
        gap: 10px;
        padding: 6px 0;
    }

    .legal-guarantees__list li::before {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
    }

    .legal-guarantees__image {
        width: 160px;
    }

    .steps-title {
        font-size: 1.4rem;
    }

    .step-card {
        padding: 18px 16px;
    }

    .step-number {
        font-size: 1.7rem;
    }

    .step-heading {
        font-size: 0.95rem;
    }

    .step-text {
        font-size: 0.85rem;
    }

    .chief-doctor__title {
        font-size: 1.3rem;
    }

    .chief-doctor__photo {
        max-width: 180px;
    }

    .chief-doctor__name {
        font-size: 1.1rem;
    }

    .chief-doctor__position {
        font-size: 0.9rem;
    }

    .chief-doctor__detail-item p,
    .chief-doctor__detail-item ul li {
        font-size: 0.85rem;
    }
}

/* =============================================
   БЛОК: ОТЗЫВЫ ПАЦИЕНТОВ (СЛАЙДЕР С ФОТО)
   ============================================= */

.reviews-slider-section {
    margin-bottom: 60px;
}

.reviews-slider-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.reviews-slider__title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a2c3e;
    text-align: center;
    margin-bottom: 4px;
}

.reviews-slider__title span {
    color: #2DC5A4;
}

.reviews-slider__subtitle {
    font-size: 1.1rem;
    color: #5a6e7c;
    text-align: center;
    margin-bottom: 40px;
}

/* Обертка слайдера */
.reviews-slider {
    overflow: visible;
    padding: 10px 0;
    cursor: grab;
}

.reviews-slider:active {
    cursor: grabbing;
}

/* Карточка отзыва - только фото */
.review-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2eaf5;
    overflow: hidden;
    height: 100%;
    transition: box-shadow 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.review-card__image {
    width: 100%;
    height: auto;
    overflow: hidden;
    background: #f0f4f9;
    aspect-ratio: 3 / 4;
}

.review-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* =============================================
   АДАПТИВ
   ============================================= */

@media (max-width: 992px) {
    .review-card__image {
        aspect-ratio: 3 / 4;
    }
}

@media (max-width: 768px) {
    .reviews-slider-container {
        padding: 0 16px;
    }

    .reviews-slider__title {
        font-size: 1.6rem;
    }

    .reviews-slider__subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .review-card__image {
        aspect-ratio: 3 / 4;
    }
}

@media (max-width: 480px) {
    .reviews-slider__title {
        font-size: 1.3rem;
    }

    .review-card__image {
        aspect-ratio: 3 / 4;
    }
}

/* =============================================
   УБИРАЕМ ЛИШНИЕ BR, КОТОРЫЕ ДОБАВЛЯЕТ WORDPRESS
   ============================================= */

.about-page br {
    display: none !important;
}

.about-grid br,
.about-text br,
.about-image br,
.advantages-section br,
.advantages-grid br,
.advantage-card br,
.logistics-section br,
.logistics-grid br,
.logistics-card br,
.guarantees-section br,
.guarantees-grid br,
.guarantee-card br,
.gallery-section br,
.gallery-grid br,
.gallery-item br,
.cta-calculator br,
.cta-calculator__inner br,
.cta-calculator__content br,
.cta-calculator__bonus br,
.cta-calculator__buttons br,
.cta-btn br,
.steps-section br,
.steps-container br,
.steps-grid br,
.step-card br,
.ask-doctor-section br,
.ask-doctor-container br,
.ask-doctor__content br,
.ask-doctor__text br,
.ask-doctor__buttons br,
.ask-doctor__doctor br,
.ask-doctor__info br,
.legal-guarantees-section br,
.legal-guarantees-container br,
.legal-guarantees__content br,
.legal-guarantees__list br,
.legal-guarantees__image br,
.chief-doctor-section br,
.chief-doctor-container br,
.chief-doctor__header br,
.chief-doctor__grid br,
.chief-doctor__details br,
.chief-doctor__detail-item br {
    display: none !important;
}

/* Также убираем пустые абзацы, которые могут появляться */
.about-page p:empty {
    display: none !important;
}

/* ===== ЗАГОЛОВКИ: ПЕРВОЕ СЛОВО ЧЕРНОЕ, ОСТАЛЬНЫЕ ЗЕЛЕНЫЕ ===== */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2DC5A4;
    margin-bottom: 12px;
    text-align: center;
}

.section-title .dark {
    color: #1a2c3e;
}

/* ============================================================
   БЛОК: ВИДЕООТЗЫВЫ
   ============================================================ */

.video-reviews-section {
    padding: 40px 0;
    margin-top: 20px;
    background: #fff;
    border-radius: 20px;
}

.video-reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.video-reviews__item {
    background: #f8f9fc;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2eaf5;
    transition: all 0.3s ease;
}

.video-reviews__item:hover {
    transform: translateY(-4px);
    border-color: #2DC5A4;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.video-reviews__video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #1a2c3e;
}

.video-reviews__video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-reviews__info {
    padding: 20px;
}

.video-reviews__rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #ffc107;
    margin-bottom: 6px;
}

.video-reviews__rating span {
    color: #5a6e7c;
    font-weight: 600;
    font-size: 13px;
}

.video-reviews__name {
    font-size: 18px;
    font-weight: 700;
    color: #1a2c3e;
    margin-bottom: 6px;
}

.video-reviews__text {
    font-size: 14px;
    color: #5a6e7c;
    line-height: 1.6;
    margin-bottom: 8px;
}

.video-reviews__date {
    font-size: 12px;
    color: #8a9caa;
}

.video-reviews__footer {
    text-align: center;
}

.video-reviews__footer .clinic-btn--outline {
    background: transparent;
    border: 1px solid #2DC5A4;
    color: #2DC5A4;
    padding: 12px 32px;
}

.video-reviews__footer .clinic-btn--outline:hover {
    background: #2DC5A4;
    color: #fff;
}


/* ============================================================
   ФОРМА ОТЗЫВА
   ============================================================ */

.review-form-section {
    padding: 60px 0;
    background: #f8f9fc;
}

.review-form__wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 40px 48px;
    border-radius: 24px;
    border: 1px solid #e2eaf5;
}

.review-form__title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2c3e;
    text-align: center;
    margin-bottom: 8px;
}

.review-form__title span {
    color: #2DC5A4;
}

.review-form__subtitle {
    text-align: center;
    color: #5a6e7c;
    font-size: 15px;
    margin-bottom: 30px;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.review-form__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.review-form__group label {
    font-size: 14px;
    font-weight: 500;
    color: #1a2c3e;
}

.review-form__group .required {
    color: #ff574f;
}

.review-form__group input,
.review-form__group select,
.review-form__group textarea {
    padding: 12px 16px;
    border: 1px solid #e2eaf5;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
    color: #1a2c3e;
    width: 100%;
}

.review-form__group input:focus,
.review-form__group select:focus,
.review-form__group textarea:focus {
    outline: none;
    border-color: #2DC5A4;
    box-shadow: 0 0 0 3px rgba(45, 197, 164, 0.1);
}

.review-form__group textarea {
    resize: vertical;
}

/* Звёзды */
.review-form__stars {
    display: flex;
    flex-direction: row-reverse;
    gap: 6px;
    justify-content: flex-end;
}

.review-form__stars input {
    display: none;
}

.review-form__stars label {
    font-size: 30px;
    color: #e2eaf5;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.review-form__stars label:hover,
.review-form__stars label:hover ~ label,
.review-form__stars input:checked ~ label {
    color: #ffc107;
}

/* Согласие */
.review-form__agree {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: #5a6e7c;
}

.review-form__agree input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: #2DC5A4;
}

.review-form__agree a {
    color: #2DC5A4;
    text-decoration: none;
}

.review-form__agree a:hover {
    text-decoration: underline;
}

.review-form__agree .required {
    color: #ff574f;
}

/* Кнопка отправки */
.review-form__submit {
    padding: 14px 32px;
    background: #2DC5A4;
    color: #fff;
    border: none;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 4px;
}

.review-form__submit:hover {
    background: #239f84;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(45, 197, 164, 0.3);
}


/* ============================================================
   АДАПТИВ
   ============================================================ */

@media (max-width: 1024px) {
    .video-reviews__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .video-reviews__grid {
        grid-template-columns: 1fr;
    }
    
    .video-reviews-section {
        padding: 40px 0;
    }
    
    .review-form-section {
        padding: 40px 0;
    }
    
    .review-form__wrapper {
        padding: 24px 20px;
    }
    
    .review-form__row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .review-form__title {
        font-size: 22px;
    }
    
    .review-form__stars label {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .video-reviews__info {
        padding: 16px;
    }
    
    .review-form__wrapper {
        padding: 20px 16px;
    }
    
    .review-form__stars label {
        font-size: 22px;
    }
}

/* ===== ПОЛНОЕ СКРЫТИЕ МЕНЮ СЛЕВА ===== */
@media screen and (max-width: 1024px) {
    .primary-menu__inner {
        display: none !important;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px;
        background: #ffffff;
        z-index: 1000;
        padding: 80px 20px 30px;
        overflow-y: auto;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
        border-radius: 0;
        margin: 0;
    }
    
    .primary-menu__toggle:checked ~ .primary-menu__inner {
        display: block !important;
    }
}

/* Стили о конкретном враче */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
    padding: 15px;
}

.doctor-page {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 30px 25px;
}

/* === Шапка с фото и информацией === */
.doctor-header {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eef2f6;
}

.doctor-photo {
    flex-shrink: 0;
    width: 280px;
    height: auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background-color: #e9edf2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.doctor-photo img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: top;
    display: block;
}

.doctor-info {
    flex: 1;
}

.doctor-name {
    font-size: 2.8rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 5px;
    letter-spacing: -0.02em;
}

.doctor-specialty {
    font-size: 1.4rem;
    font-weight: 500;
    color: #2DC5A4;
    margin-bottom: 25px;
    display: block;
}

/* Сетка статистики */
.doctor-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px 30px;
    margin-bottom: 10px;
    margin-top: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    font-weight: 600;
}

.stat-value {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin-top: 2px;
}

/* Кнопки под фото */
.doctor-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    padding: 12px 0;
    width: 100%;
}

.btn {
    display: inline-block;
    padding: 10px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    width: 100%;
    max-width: 250px;
}

.btn-primary {
    background-color: #2DC5A4;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(45, 197, 164, 0.3);
}

.btn-primary:hover {
    background-color: #25a88b;
    box-shadow: 0 6px 18px rgba(45, 197, 164, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #2DC5A4;
    border: 2px solid #2DC5A4;
}

.btn-secondary:hover {
    background-color: #2DC5A4;
    color: #ffffff;
    transform: translateY(-2px);
}

/* === Блоки с деталями === */
.doctor-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 50px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eef2f6;
}

.detail-section h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.detail-section p {
    color: #475569;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.detail-section ul {
    margin: 0 0 8px 0;
    padding-left: 20px;
}

.detail-section ul li {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 4px;
}

/* === Сертификаты === */
.doctor-certificates {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eef2f6;
}

.doctor-certificates h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
}

.certificates-grid {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.certificates-grid a {
    display: block;
    width: 180px;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #eef2f6;
}

.certificates-grid a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.certificates-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* === Отзывы === */
.doctor-reviews {
    margin-bottom: 20px;
}

.doctor-reviews h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 25px;
}

.review-item {
    background-color: #f8fafc;
    border-radius: 16px;
    padding: 20px 25px;
    margin-bottom: 16px;
    border-left: 4px solid #2DC5A4;
}

.review-author {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.review-text {
    color: #475569;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.7;
}

.doctor-page br {
    display: none;
}

.doctor-header br,
.doctor-info br,
.doctor-stats br {
    display: none;
}

/* ======================================== */
/* ========== АДАПТИВНОСТЬ ================ */
/* ======================================== */

/* Планшеты и маленькие ноутбуки */
@media (max-width: 1024px) {
    .doctor-page {
        padding: 25px 20px;
    }
    
    .doctor-header {
        gap: 30px;
    }
    
    .doctor-photo {
        width: 220px;
    }
    
    .doctor-photo img {
        height: 220px;
        object-position: top;
    }
    
    .doctor-name {
        font-size: 2.2rem;
    }
}

/* Планшеты вертикальные */
@media (max-width: 768px) {
    .doctor-page {
        padding: 20px 15px;
        border-radius: 16px;
    }
    
    .doctor-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }
    
    .doctor-photo {
        width: 240px; 
    }
    
    .doctor-photo img {
        height: 260px; 
        object-position: top;
    }
    
    .doctor-name {
        font-size: 2rem;
    }
    
    .doctor-specialty {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .doctor-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 20px;
        text-align: left;
    }
    
    .doctor-details {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* Мобильные телефоны */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .doctor-page {
        padding: 15px 12px;
        border-radius: 12px;
    }
    
    .doctor-header {
        gap: 20px;
        margin-bottom: 25px;
        padding-bottom: 20px;
    }
    
    .doctor-photo {
        width: 200px; 
    }
    
    .doctor-photo img {
        height: 220px; 
        object-position: top;
    }
    
    .doctor-name {
        font-size: 1.8rem; 
    }
    
    .doctor-specialty {
        font-size: 1.1rem; 
        margin-bottom: 15px;
    }
    
    .doctor-stats {
        grid-template-columns: 1fr 1fr;
        gap: 8px 12px;
        margin-bottom: 20px;
    }
    
    .stat-label {
        font-size: 0.7rem; 
    }
    
    .stat-value {
        font-size: 0.9rem; 
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem; 
        max-width: 100%;
    }
    
    .doctor-details {
        gap: 20px;
        margin-bottom: 25px;
        padding-bottom: 20px;
    }
    
    .detail-section h2 {
        font-size: 1.05rem; 
        margin-bottom: 8px;
    }
    
    .detail-section p {
        font-size: 0.95rem; 
    }
    
    .detail-section ul {
        padding-left: 16px;
    }
    
    .detail-section ul li {
        font-size: 0.95rem; 
        line-height: 1.6;
        margin-bottom: 3px;
    }
    
    .doctor-certificates {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }
    
    .doctor-certificates h2 {
        font-size: 1.15rem; 
        margin-bottom: 15px;
    }
    
    .certificates-grid {
        gap: 15px; 
    }
    
    .certificates-grid a {
        width: 120px; 
        height: 160px; 
        border-radius: 8px;
    }
    
    .doctor-reviews h2 {
        font-size: 1.15rem; 
        margin-bottom: 18px;
    }
    
    .review-item {
        padding: 16px 18px; 
        margin-bottom: 12px;
        border-left-width: 3px;
        border-radius: 12px;
    }
    
    .review-author {
        font-size: 0.9rem; 
        margin-bottom: 4px;
    }
    
    .review-text {
        font-size: 0.9rem; 
        line-height: 1.6;
    }
}

/* Очень маленькие экраны (до 360px) */
@media (max-width: 360px) {
    .doctor-page {
        padding: 10px 8px;
    }
    
    .doctor-photo {
        width: 160px; 
    }
    
    .doctor-photo img {
        height: 180px; 
        object-position: top;
    }
    
    .doctor-name {
        font-size: 1.5rem; 
    }
    
    .doctor-stats {
        grid-template-columns: 1fr 1fr;
        gap: 5px 10px;
    }
    
    .stat-value {
        font-size: 0.85rem; 
    }
    
    .certificates-grid a {
        width: 100px; 
        height: 130px; 
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* =============================================
     ПОЛНОСТЬЮ УБИРАЕМ САЙДБАР И РАСТЯГИВАЕМ КОНТЕНТ
============================================= */

/* Убираем сетку с двумя колонками */
.site-main__inner--columns {
    display: block !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
}

/* Скрываем сайдбар полностью */
.sidebar,
.sidebar__sticky,
aside.sidebar,
.widget-area {
    display: none !important;
}

/* Растягиваем контент на всю ширину */
.site-main__inner,
.site-main__post,
.site-main {
    width: 100% !important;
    max-width: 100% !important;
}

/* Контентная часть занимает всё пространство */
.content-area {
    width: 100% !important;
    float: none !important;
}

/* Убираем отступы, которые могли остаться от сетки */
.site-main__inner--columns .content-area {
    margin-right: 0 !important;
    padding-right: 0 !important;
}

/* ============================================================
   БЛОК TEXT EDITOR (te-block) — изолированные стили
   ============================================================ */

.te-block {
    padding: 60px 0;
    background: #fff;
    border-radius: 30px;
    font-family: 'Onest', 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #1a2c3e;
    line-height: 1.76;
}

.te-block__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.te-block__content {
    position: relative;
}

/* Clearfix — контейнер не падает после обтекаемого фото */
.te-block__content::after {
    content: "";
    display: table;
    clear: both;
}

/* ============================================================
   ЗАГОЛОВКИ
   ============================================================ */

.te-block__content h1,
.te-block__content h2,
.te-block__content h3,
.te-block__content h4,
.te-block__content h5,
.te-block__content h6 {
    color: #1a2c3e;
    text-align: left;
    line-height: 1.25;
}

.te-block__content h1 { font-size: 2.4rem; font-weight: 700; margin: 0 0 20px; }
.te-block__content h2 { font-size: 2rem;   font-weight: 700; margin: 40px 0 16px; }
.te-block__content h3 { font-size: 1.5rem; font-weight: 600; margin: 32px 0 12px; line-height: 1.3; }
.te-block__content h4 { font-size: 1.2rem; font-weight: 600; margin: 24px 0 10px; line-height: 1.3; }
.te-block__content h5 { font-size: 1.05rem; font-weight: 600; margin: 20px 0 8px; }
.te-block__content h6 { font-size: 1rem;   font-weight: 600; margin: 18px 0 8px; }

.te-block__content h1:first-child,
.te-block__content h2:first-child,
.te-block__content h3:first-child,
.te-block__content h4:first-child {
    margin-top: 0;
}

/* ============================================================
   ТЕКСТ
   ============================================================ */

.te-block__content p {
    margin: 0 0 20px;
    color: #5a6e7c;
    font-size: 16px;
    line-height: 1.76;
}

.te-block__content p:last-child {
    margin-bottom: 0;
}

.te-block__content strong,
.te-block__content b {
    font-weight: 600;
    color: #1a2c3e;
}

.te-block__content em,
.te-block__content i {
    font-style: italic;
}

/* ============================================================
   ССЫЛКИ
   ============================================================ */

.te-block__content a {
    color: #2DC5A4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.te-block__content a:hover {
    color: #239f84;
    text-decoration: underline;
}

/* ============================================================
   ФОТО + ОБТЕКАНИЕ
   Все картинки по умолчанию обтекают слева.
   alignright → справа. aligncenter → по центру без обтекания.
   ============================================================ */

/* Базовая картинка */
.te-block__content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

/* ФОТО СЛЕВА (обтекание справа) — по умолчанию для alignnone и alignleft */
.te-block__content img.alignnone,
.te-block__content img.alignleft,
.te-block__content figure.alignnone,
.te-block__content figure.alignleft,
.te-block__content .wp-block-image.alignnone,
.te-block__content .wp-block-image.alignleft {
    float: left;
    display: block;
    margin: 5px 30px 20px 0;
    max-width: 45%;
    width: auto;
    height: auto;
}

/* ФОТО СПРАВА (обтекание слева) */
.te-block__content img.alignright,
.te-block__content figure.alignright,
.te-block__content .wp-block-image.alignright {
    float: right;
    display: block;
    margin: 5px 0 20px 30px;
    max-width: 45%;
    width: auto;
    height: auto;
}

/* ФОТО ПО ЦЕНТРУ (без обтекания) */
.te-block__content img.aligncenter,
.te-block__content figure.aligncenter,
.te-block__content .wp-block-image.aligncenter {
    float: none;
    display: block;
    margin: 20px auto;
    max-width: 100%;
    width: auto;
}

/* Картинка внутри figure — не float, ширину задаёт figure */
.te-block__content figure img,
.te-block__content .wp-block-image img {
    float: none;
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
}

/* Подпись под фото */
.te-block__content figcaption,
.te-block__content .wp-block-image figcaption {
    margin-top: 8px;
    font-size: 13px;
    color: #8a9caa;
    text-align: center;
    line-height: 1.4;
}

/* Первый параграф после обтекаемого фото — без верхнего отступа */
.te-block__content img.alignleft + p,
.te-block__content img.alignnone + p,
.te-block__content figure.alignleft + p,
.te-block__content figure.alignnone + p {
    margin-top: 0;
}

/* ============================================================
   СПИСКИ
   ============================================================ */

.te-block__content ul,
.te-block__content ol {
    margin: 0 0 20px;
    color: #5a6e7c;
    list-style: none;
    padding-left: 0;
}

.te-block__content ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.7;
}

.te-block__content ul li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 11px;
    width: 8px;
    height: 8px;
    background: #2DC5A4;
    border-radius: 50%;
}

.te-block__content ol {
    counter-reset: te-counter;
}

.te-block__content ol li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 8px;
    counter-increment: te-counter;
    font-size: 16px;
    line-height: 1.7;
}

.te-block__content ol li::before {
    content: counter(te-counter);
    position: absolute;
    left: 0;
    top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: #2DC5A4;
    border-radius: 50%;
}

.te-block__content ul ul,
.te-block__content ol ol,
.te-block__content ul ol,
.te-block__content ol ul {
    margin: 8px 0 0;
}

/* ============================================================
   ЦИТАТА
   ============================================================ */

.te-block__content blockquote {
    margin: 30px 0;
    padding: 24px 30px;
    background: #f8f9fc;
    border-left: 4px solid #2DC5A4;
    border-radius: 12px;
    color: #1a2c3e;
    font-size: 17px;
    line-height: 1.7;
    font-style: italic;
}

.te-block__content blockquote p {
    margin: 0;
    color: inherit;
}

.te-block__content blockquote p + p {
    margin-top: 12px;
}

/* ============================================================
   ТАБЛИЦА
   ============================================================ */

.te-block__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
    border-radius: 12px;
    overflow: hidden;
}

.te-block__content table th,
.te-block__content table td {
    padding: 12px 16px;
    border: 1px solid #e2eaf5;
    text-align: left;
    color: #5a6e7c;
}

.te-block__content table th {
    background: #f8f9fc;
    font-weight: 600;
    color: #1a2c3e;
}

.te-block__content table tr:nth-child(even) td {
    background: #fafbfd;
}

/* ============================================================
   ВИДЕО / IFRAME
   ============================================================ */

.te-block__content iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
    border-radius: 16px;
    margin: 24px 0;
}

/* ============================================================
   РАЗДЕЛИТЕЛЬ
   ============================================================ */

.te-block__content hr {
    border: none;
    border-top: 1px solid #e2eaf5;
    margin: 32px 0;
}

/* ============================================================
   КОД
   ============================================================ */

.te-block__content code {
    padding: 2px 8px;
    background: #f0f4f9;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #d63384;
}

.te-block__content pre {
    padding: 20px;
    background: #1a2c3e;
    color: #fff;
    border-radius: 12px;
    overflow-x: auto;
    margin: 24px 0;
    font-size: 14px;
    line-height: 1.6;
}

.te-block__content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

/* ============================================================
   ГАЛЕРЕЯ WORDPRESS
   ============================================================ */

.te-block__content .wp-block-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.te-block__content .wp-block-gallery figure {
    margin: 0;
    float: none;
    max-width: 100%;
    width: 100%;
}

.te-block__content .wp-block-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* ============================================================
   АДАПТИВ — ПЛАНШЕТЫ
   ============================================================ */

@media (max-width: 1024px) {
    .te-block {
        padding: 50px 0;
    }

    .te-block__content h1 { font-size: 2rem; }
    .te-block__content h2 { font-size: 1.7rem; }
    .te-block__content h3 { font-size: 1.35rem; }
    .te-block__content h4 { font-size: 1.15rem; }

    .te-block__content img.alignnone,
    .te-block__content img.alignleft,
    .te-block__content img.alignright,
    .te-block__content figure.alignnone,
    .te-block__content figure.alignleft,
    .te-block__content figure.alignright,
    .te-block__content .wp-block-image.alignnone,
    .te-block__content .wp-block-image.alignleft,
    .te-block__content .wp-block-image.alignright {
        max-width: 50%;
    }

    .te-block__content img.alignnone,
    .te-block__content img.alignleft,
    .te-block__content figure.alignnone,
    .te-block__content figure.alignleft,
    .te-block__content .wp-block-image.alignnone,
    .te-block__content .wp-block-image.alignleft {
        margin: 5px 20px 15px 0;
    }

    .te-block__content img.alignright,
    .te-block__content figure.alignright,
    .te-block__content .wp-block-image.alignright {
        margin: 5px 0 15px 20px;
    }
}

/* ============================================================
   АДАПТИВ — МОБИЛЬНЫЕ (фото сверху, текст снизу)
   ============================================================ */

@media (max-width: 768px) {
    .te-block {
        padding: 40px 0;
        font-size: 15px;
    }

    .te-block__container {
        padding: 0 16px;
    }

    /* Отменяем обтекание — фото идёт сверху отдельным блоком */
    .te-block__content img.alignnone,
    .te-block__content img.alignleft,
    .te-block__content img.alignright,
    .te-block__content figure.alignnone,
    .te-block__content figure.alignleft,
    .te-block__content figure.alignright,
    .te-block__content .wp-block-image.alignnone,
    .te-block__content .wp-block-image.alignleft,
    .te-block__content .wp-block-image.alignright {
        float: none;
        display: block;
        max-width: 100%;
        width: 100%;
        margin: 20px 0;
    }

    .te-block__content h1 { font-size: 1.6rem; margin-bottom: 14px; }
    .te-block__content h2 { font-size: 1.4rem; margin: 28px 0 12px; }
    .te-block__content h3 { font-size: 1.2rem; margin: 24px 0 10px; }
    .te-block__content h4 { font-size: 1.05rem; }

    .te-block__content p,
    .te-block__content ul li,
    .te-block__content ol li {
        font-size: 15px;
        line-height: 1.7;
    }

    .te-block__content blockquote {
        padding: 18px 20px;
        font-size: 15px;
        margin: 24px 0;
    }

    .te-block__content .wp-block-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .te-block__content .wp-block-gallery img {
        height: 160px;
    }
}

/* ============================================================
   АДАПТИВ — МАЛЕНЬКИЕ ТЕЛЕФОНЫ
   ============================================================ */

@media (max-width: 480px) {
    .te-block {
        padding: 30px 0;
        font-size: 14px;
    }

    .te-block__container {
        padding: 0 12px;
    }

    .te-block__content h1 { font-size: 1.4rem; }
    .te-block__content h2 { font-size: 1.25rem; }
    .te-block__content h3 { font-size: 1.1rem; }

    .te-block__content p,
    .te-block__content ul li,
    .te-block__content ol li {
        font-size: 14px;
    }

    .te-block__content blockquote {
        padding: 16px;
        font-size: 14px;
    }

    .te-block__content .wp-block-gallery {
        grid-template-columns: 1fr;
    }

    .te-block__content .wp-block-gallery img {
        height: 200px;
    }
}

/* ============================================================
   ТАБЛИЦА СРАВНЕНИЯ ЦЕН — Ачинск vs Хэйхэ
   ============================================================ */

.price-compare {
    margin: 40px 0;
}

.price-compare__title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a2c3e;
    line-height: 1.3;
    margin: 0 0 16px;
}

.price-compare__intro {
    font-size: 16px;
    line-height: 1.76;
    color: #5a6e7c;
    margin: 0 0 32px;
}

.price-compare__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
    border: 1px solid #e2eaf5;
}

.price-compare__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    min-width: 620px;
    background: #fff;
}

/* ----- Заголовок таблицы ----- */
.price-compare__table thead {
    background: #f8f9fc;
}

.price-compare__table thead th {
    padding: 18px 20px;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #1a2c3e;
    border-bottom: 2px solid #2DC5A4;
    white-space: nowrap;
}

.price-compare__table thead th:not(:first-child) {
    text-align: center;
    min-width: 150px;
}

/* ----- Ячейки ----- */
.price-compare__table tbody td {
    padding: 18px 20px;
    color: #5a6e7c;
    border-bottom: 1px solid #e2eaf5;
    vertical-align: middle;
    line-height: 1.5;
}

.price-compare__table tbody tr:last-child td {
    border-bottom: none;
}

.price-compare__table tbody tr:hover {
    background: #f5faff;
}

/* Первая колонка — с описанием */
.price-compare__table tbody td:first-child {
    padding-right: 30px;
}

.price-compare__table tbody td:first-child strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1a2c3e;
    margin-bottom: 4px;
    line-height: 1.4;
}

.price-compare__table tbody td:first-child span {
    display: block;
    font-size: 13px;
    color: #8a9caa;
    line-height: 1.5;
}

/* Цены — центрируем и выделяем */
.price-compare__table tbody td:not(:first-child) {
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    color: #1a2c3e;
    white-space: nowrap;
}

/* Китай — выделяем зелёным */
.price-compare__table tbody td:last-child {
    color: #2DC5A4;
}

/* ============================================================
   АДАПТИВ
   ============================================================ */

@media (max-width: 768px) {
    .price-compare__title {
        font-size: 1.5rem;
    }

    .price-compare__intro {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .price-compare__table {
        font-size: 14px;
        min-width: 500px;
    }

    .price-compare__table thead th,
    .price-compare__table tbody td {
        padding: 14px 16px;
    }

    .price-compare__table tbody td:first-child strong {
        font-size: 14px;
    }

    .price-compare__table tbody td:first-child span {
        font-size: 12px;
    }

    .price-compare__table tbody td:not(:first-child) {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .price-compare__title {
        font-size: 1.3rem;
    }

    .price-compare__table {
        font-size: 13px;
        min-width: 420px;
    }

    .price-compare__table thead th,
    .price-compare__table tbody td {
        padding: 12px 12px;
    }

    .price-compare__table thead th:not(:first-child) {
        min-width: 110px;
    }

    .price-compare__table tbody td:first-child strong {
        font-size: 13px;
    }

    .price-compare__table tbody td:first-child span {
        font-size: 11px;
    }

    .price-compare__table tbody td:not(:first-child) {
        font-size: 13px;
    }
}

/* ============================================================
   ТАБЛИЦА ЦЕН — "ЗЕБРА + БЕЙДЖИ + ЗЕЛЁНАЯ ШАПКА"
   ============================================================ */

.price-table {
    margin: 40px 0;
}

.price-table__title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a2c3e;
    line-height: 1.3;
    margin: 0 0 16px;
}

.price-table__intro {
    font-size: 16px;
    line-height: 1.76;
    color: #5a6e7c;
    margin: 0 0 32px;
}

.price-table__wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
    border: 1px solid #e2eaf5;
    background: #ffffff;
}

.price-table__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    min-width: 720px;
}

/* ----- Заголовок (светлый, текст зелёный) ----- */
.price-table__table thead {
    background: #f0f9f6;
    border-bottom: 2px solid #2DC5A4;
}

.price-table__table thead th {
    padding: 16px 20px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #2DC5A4;
    white-space: nowrap;
    border: none;
}

.price-table__table thead th:nth-child(2),
.price-table__table thead th:nth-child(3),
.price-table__table thead th:nth-child(4) {
    text-align: center;
}

/* ----- Тело — зебра ----- */
.price-table__table tbody tr:nth-child(odd) {
    background: #ffffff;
}

.price-table__table tbody tr:nth-child(even) {
    background: #f8f9fc;
}

.price-table__table tbody tr {
    transition: transform 0.3s ease;
}

.price-table__table tbody tr:hover {
    transform: translateX(4px);
}

.price-table__table tbody td {
    padding: 18px 20px;
    color: #5a6e7c;
    border: none;
    border-bottom: 1px solid #e2eaf5;
    vertical-align: middle;
    line-height: 1.5;
}

.price-table__table tbody tr:last-child td {
    border-bottom: none;
}

/* ----- Первая колонка ----- */
.price-table__table tbody td:first-child {
    padding-right: 30px;
}

.price-table__table tbody td:first-child strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1a2c3e;
    margin-bottom: 4px;
    line-height: 1.4;
}

.price-table__table tbody td:first-child span {
    display: block;
    font-size: 13px;
    color: #8a9caa;
    line-height: 1.5;
}

/* ----- Колонки с ценами ----- */
.price-table__table tbody td:nth-child(2),
.price-table__table tbody td:nth-child(3),
.price-table__table tbody td:nth-child(4) {
    text-align: center;
    white-space: nowrap;
    width: 1%;
}

.price-table__table tbody td:nth-child(2) {
    font-weight: 600;
    color: #1a2c3e;
}

/* ----- Китай — зелёный бейдж ----- */
.price-table__china {
    display: inline-block;
    padding: 6px 14px;
    font-weight: 700;
    color: #2DC5A4;
    background: #e8f8f4;
    border-radius: 50px;
}

/* ----- Экономия — зелёный бейдж ----- */
.price-table__save {
    display: inline-block;
    padding: 6px 14px;
    font-weight: 700;
    font-size: 13px;
    color: #ffffff;
    background: #2DC5A4;
    border-radius: 50px;
}

/* ============================================================
   АДАПТИВ — ПЛАНШЕТЫ
   ============================================================ */

@media (max-width: 1024px) {
    .price-table__title {
        font-size: 1.6rem;
    }

    .price-table__table {
        font-size: 14px;
        min-width: 640px;
    }

    .price-table__table thead th,
    .price-table__table tbody td {
        padding: 14px 16px;
    }

    .price-table__table tbody td:first-child strong {
        font-size: 14px;
    }

    .price-table__table tbody td:first-child span {
        font-size: 12px;
    }
}

/* ============================================================
   АДАПТИВ — МОБИЛЬНЫЕ
   ============================================================ */

@media (max-width: 768px) {
    .price-table__title {
        font-size: 1.4rem;
    }

    .price-table__intro {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .price-table__table {
        font-size: 13px;
        min-width: 560px;
    }

    .price-table__table thead th {
        padding: 12px 14px;
        font-size: 11px;
    }

    .price-table__table tbody td {
        padding: 12px 14px;
    }

    .price-table__table tbody td:first-child strong {
        font-size: 13px;
    }

    .price-table__table tbody td:first-child span {
        font-size: 11px;
    }

    .price-table__china,
    .price-table__save {
        padding: 4px 10px;
        font-size: 12px;
    }
}

/* ============================================================
   АДАПТИВ — МАЛЕНЬКИЕ ТЕЛЕФОНЫ
   ============================================================ */

@media (max-width: 480px) {
    .price-table__title {
        font-size: 1.25rem;
    }

    .price-table__table {
        font-size: 12px;
        min-width: 480px;
    }

    .price-table__table thead th,
    .price-table__table tbody td {
        padding: 10px 12px;
    }

    .price-table__table tbody td:first-child strong {
        font-size: 12px;
    }

    .price-table__table tbody td:first-child span {
        font-size: 10px;
    }

    .price-table__china,
    .price-table__save {
        padding: 3px 8px;
        font-size: 11px;
    }
}

/* ============================================================
   ТАБЛИЦА ЦЕН — ВАРИАНТ 3 "MINIMAL" (всё по центру)
   ============================================================ */

.price-minimal {
    margin: 48px 0;
}

.price-minimal__header {
    margin-bottom: 40px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.price-minimal__title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #1a2c3e;
    line-height: 1.25;
    margin: 0 0 14px;
    letter-spacing: -0.02em;
}

.price-minimal__intro {
    font-size: 16px;
    line-height: 1.7;
    color: #5a6e7c;
    margin: 0;
}

.price-minimal__wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.price-minimal__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    min-width: 680px;
    table-layout: fixed;
}

/* ----- Заголовок: всё по центру, выровнено по вертикали ----- */
.price-minimal__table thead th {
    padding: 0 12px 18px;
    text-align: center;
    vertical-align: middle;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1a2c3e;
    border-bottom: 2px solid #1a2c3e;
    height: 50px;
    white-space: nowrap;
}

.price-minimal__th-service {
    width: 40%;
}

.price-minimal__th-price {
    width: 20%;
}

.price-minimal__th-price--china {
    color: #2DC5A4;
    border-bottom-color: #2DC5A4;
}

.price-minimal__th-save {
    width: 20%;
    color: #2DC5A4;
    border-bottom-color: #2DC5A4;
}

/* ----- Тело ----- */
.price-minimal__table tbody tr {
    border-bottom: 1px solid #eef2f6;
    transition: background 0.25s ease;
}

.price-minimal__table tbody tr:hover {
    background: #fafcfb;
}

.price-minimal__table tbody tr:last-child {
    border-bottom: 2px solid #1a2c3e;
}

.price-minimal__table tbody td {
    padding: 24px 12px;
    vertical-align: middle;
    text-align: center;
}

/* ----- Колонка "Услуга" — текст слева ----- */
.price-minimal__service {
    text-align: left;
    padding-right: 24px !important;
}

.price-minimal__service strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1a2c3e;
    margin-bottom: 6px;
    line-height: 1.45;
    letter-spacing: -0.01em;
}

.price-minimal__service span {
    display: block;
    font-size: 13px;
    color: #8a9caa;
    line-height: 1.55;
}

/* ----- Колонки с ценами — по центру ----- */
.price-minimal__price {
    font-size: 17px;
    font-weight: 600;
    color: #1a2c3e;
    white-space: nowrap;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.price-minimal__price--china {
    color: #2DC5A4;
}

/* ----- Колонка "Выгода" ----- */
.price-minimal__save {
    white-space: nowrap;
}

.price-minimal__save-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #2DC5A4;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.price-minimal__save-label {
    display: block;
    font-size: 12px;
    color: #8a9caa;
    margin-top: 2px;
    font-variant-numeric: tabular-nums;
}

/* ============================================================
   АДАПТИВ — ПЛАНШЕТЫ
   ============================================================ */

@media (max-width: 1024px) {
    .price-minimal {
        margin: 40px 0;
    }

    .price-minimal__title {
        font-size: 1.6rem;
    }

    .price-minimal__table {
        font-size: 14px;
        min-width: 600px;
    }

    .price-minimal__table tbody td {
        padding: 20px 10px;
    }

    .price-minimal__price {
        font-size: 16px;
    }

    .price-minimal__service strong {
        font-size: 14px;
    }

    .price-minimal__service span {
        font-size: 12px;
    }
}

/* ============================================================
   АДАПТИВ — МОБИЛЬНЫЕ
   ============================================================ */

@media (max-width: 768px) {
    .price-minimal__title {
        font-size: 1.4rem;
    }

    .price-minimal__intro {
        font-size: 15px;
    }

    .price-minimal__header {
        margin-bottom: 28px;
    }

    .price-minimal__table {
        font-size: 13px;
        min-width: 520px;
    }

    .price-minimal__table thead th {
        padding: 0 8px 14px;
        font-size: 12px;
        height: 44px;
    }

    .price-minimal__table tbody td {
        padding: 16px 8px;
    }

    .price-minimal__service strong {
        font-size: 13px;
    }

    .price-minimal__service span {
        font-size: 11px;
    }

    .price-minimal__price {
        font-size: 15px;
    }

    .price-minimal__save-value {
        font-size: 14px;
    }

    .price-minimal__save-label {
        font-size: 11px;
    }
}

/* ============================================================
   АДАПТИВ — МАЛЕНЬКИЕ ТЕЛЕФОНЫ
   ============================================================ */

@media (max-width: 480px) {
    .price-minimal {
        margin: 32px 0;
    }

    .price-minimal__title {
        font-size: 1.2rem;
    }

    .price-minimal__table {
        font-size: 12px;
        min-width: 440px;
    }

    .price-minimal__table thead th {
        font-size: 11px;
        height: 40px;
        padding: 0 6px 12px;
    }

    .price-minimal__table tbody td {
        padding: 14px 6px;
    }

    .price-minimal__service strong {
        font-size: 12px;
    }

    .price-minimal__service span {
        font-size: 10px;
    }

    .price-minimal__price {
        font-size: 14px;
    }

    .price-minimal__save-value {
        font-size: 13px;
    }

    .price-minimal__save-label {
        font-size: 10px;
    }
}

/* ============================================================
   ФИКС: боковые отступы 6px на мобильных и планшетах (≤1024px)
   ============================================================ */
@media screen and (max-width: 1024px) {

  /* 1. Обнуляем глобальную переменную отступа */
  :root {
    --global_padding: 0px;
  }

  /* 2. Обёртка сайта — без боковых отступов */
  .site-container__wrapper {
    padding-inline: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }

  /* 3. body — убираем padding, который задан в блоке врача и др. */
  body {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  /* 4. Все контейнеры контента — ровно 6px по бокам */
  .hp1-container,
  .hp2-container,
  .hp3-container,
  .hp1-hero-container,
  .hp-services-container,
  .hp-services-1-container,
  .sp1-container,
  .sp2-container,
  .clinic-container,
  .about-container,
  .steps-container,
  .blog-page,
  .calendar-blog,
  .reviews-slider-container,
  .te-block__container,
  .site-container__wrapper > * {
    padding-left: 6px !important;
    padding-right: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* 5. Страница конкретного врача — она внутри body с padding,
        поэтому ей боковой padding не нужен */
  .doctor-page {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
  }

  /* 6. Убираем горизонтальный скролл */
  html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
  }
}

/*# sourceMappingURL=main.css.map */
